@media (max-width: 768px) {
  #video-player-element {
    width: 80vw !important;
    max-width: 220px !important;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Advanced Keyframes */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.98);
        filter: blur(3px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(40px) rotateX(10deg);
        filter: blur(2px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes slideLeft {
    from { 
        opacity: 0; 
        transform: translateX(-40px) rotateY(10deg);
        filter: blur(2px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) rotateY(0deg);
        filter: blur(0px);
    }
}

@keyframes slideRight {
    from { 
        opacity: 0; 
        transform: translateX(40px) rotateY(-10deg);
        filter: blur(2px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) rotateY(0deg);
        filter: blur(0px);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
    75% { transform: translateY(-18px) rotate(-2deg); }
}

@keyframes pulseSoft {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.03);
        filter: brightness(1.1);
    }
}

@keyframes glow {
    from { 
        box-shadow: 0 0 20px rgba(185, 28, 60, 0.3),
                   0 0 40px rgba(185, 28, 60, 0.1);
    }
    to { 
        box-shadow: 0 0 40px rgba(185, 28, 60, 0.6), 
                   0 0 60px rgba(185, 28, 60, 0.3),
                   0 0 80px rgba(185, 28, 60, 0.1);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textGlow {
    from { 
        text-shadow: 0 0 20px rgba(185, 28, 60, 0.4);
        filter: brightness(1);
    }
    to { 
        text-shadow: 0 0 30px rgba(185, 28, 60, 0.7), 
                   0 0 40px rgba(185, 28, 60, 0.3);
        filter: brightness(1.1);
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9) rotate(-3deg);
        filter: blur(3px);
    }
    to { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

@keyframes bounceSoft {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 70% 40% 60% / 50% 60% 40% 50%; }
    50% { border-radius: 50% 50% 60% 40% / 40% 70% 30% 60%; }
    75% { border-radius: 70% 30% 50% 50% / 60% 40% 60% 40%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.08);
        filter: brightness(1.2);
    }
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes float-gentle {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(0.8) rotate(180deg); }
}

@keyframes particle-float {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-80px) rotate(360deg); opacity: 0; }
}

/* WhatsApp Button Pulse */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ========== ANIMAÇÃO AVANÇADA DA LOGO ESPIRAL ========== */

/* Container principal com efeitos de iluminação */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 8px;
}

/* Efeito de aura/glow em torno da logo */
.logo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(232, 38, 92, 0.1),
        rgba(14, 165, 233, 0.1),
        transparent,
        rgba(232, 38, 92, 0.05)
    );
    border-radius: 50%;
    animation: auroraSpin 8s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(8px);
}

.logo-container:hover::before {
    opacity: 1;
}

/* Partículas flutuantes em torno da logo */
.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle at 20% 30%, rgba(232, 38, 92, 0.3) 2px, transparent 2px),
        radial-gradient(
        circle at 80% 70%, rgba(14, 165, 233, 0.2) 1px, transparent 1px),
        radial-gradient(
        circle at 40% 80%, rgba(232, 38, 92, 0.2) 1px, transparent 1px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.logo-container:hover::after {
    opacity: 1;
}

/* Logo principal com múltiplas animações simultâneas */
.logo-spiral {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    filter: 
        drop-shadow(0 4px 12px rgba(232, 38, 92, 0.2))
        drop-shadow(0 0 20px rgba(232, 38, 92, 0.1));
    animation: 
        spiralBreath 4s ease-in-out infinite,
        spiralGlow 6s ease-in-out infinite alternate,
        microFloat 3s ease-in-out infinite;
    will-change: transform, filter;
}

/* ========== KEYFRAMES DAS ANIMAÇÕES ========== */

/* Respiração da espiral com transformações complexas */
@keyframes spiralBreath {
    0%, 100% {
        transform: 
            translateY(0px) 
            rotate(0deg) 
            scale(1)
            perspective(100px) 
            rotateX(0deg);
    }
    25% {
        transform: 
            translateY(-2px) 
            rotate(90deg) 
            scale(1.02)
            perspective(100px) 
            rotateX(5deg);
    }
    50% {
        transform: 
            translateY(-4px) 
            rotate(180deg) 
            scale(1.04)
            perspective(100px) 
            rotateX(0deg);
    }
    75% {
        transform: 
            translateY(-2px) 
            rotate(270deg) 
            scale(1.02)
            perspective(100px) 
            rotateX(-5deg);
    }
}

/* Micro movimentos para naturalidade */
@keyframes microFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(0.5px, -0.8px) rotate(1deg);
    }
    66% {
        transform: translate(-0.8px, 0.3px) rotate(-0.5deg);
    }
}

/* Efeito de brilho dinâmico */
@keyframes spiralGlow {
    0% {
        filter: 
            drop-shadow(0 4px 12px rgba(232, 38, 92, 0.2))
            drop-shadow(0 0 20px rgba(232, 38, 92, 0.1))
            hue-rotate(0deg)
            brightness(1);
    }
    50% {
        filter: 
            drop-shadow(0 6px 20px rgba(232, 38, 92, 0.35))
            drop-shadow(0 0 30px rgba(14, 165, 233, 0.2))
            hue-rotate(15deg)
            brightness(1.1);
    }
    100% {
        filter: 
            drop-shadow(0 8px 25px rgba(14, 165, 233, 0.3))
            drop-shadow(0 0 35px rgba(232, 38, 92, 0.15))
            hue-rotate(30deg)
            brightness(1.05);
    }
}

/* Rotação da aura */
@keyframes auroraSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Flutuação das partículas */
@keyframes particleFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 1;
    }
    75% {
        opacity: 0.6;
    }
}

/* ========== ESTADOS DE INTERAÇÃO AVANÇADOS ========== */

/* Hover - Pausa animações e aplica efeito magnético */
.logo-spiral:hover {
    animation-play-state: paused;
    transform: 
        scale(1.15) 
        rotate(720deg)
        perspective(200px)
        rotateX(15deg)
        rotateY(10deg);
    filter: 
        drop-shadow(0 12px 40px rgba(232, 38, 92, 0.4))
        drop-shadow(0 0 60px rgba(14, 165, 233, 0.3))
        hue-rotate(45deg)
        brightness(1.2)
        saturate(1.3);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efeito de clique/ativo */
.logo-spiral:active {
    transform: 
        scale(0.95) 
        rotate(360deg);
    filter: 
        drop-shadow(0 2px 8px rgba(232, 38, 92, 0.6))
        brightness(1.4);
    transition: all 0.1s ease;
}

/* Animação de entrada quando a página carrega */
.logo-spiral.page-loaded {
    animation: 
        logoEntrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both,
        spiralBreath 4s ease-in-out 2.5s infinite,
        spiralGlow 6s ease-in-out 2.5s infinite alternate,
        microFloat 3s ease-in-out 2.5s infinite;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: 
            scale(0.3) 
            rotate(-180deg)
            perspective(300px)
            rotateX(90deg);
        filter: blur(10px) brightness(0.5);
    }
    30% {
        opacity: 0.7;
        transform: 
            scale(1.1) 
            rotate(0deg)
            perspective(200px)
            rotateX(0deg);
        filter: blur(2px) brightness(1.2);
    }
    60% {
        transform: 
            scale(0.95) 
            rotate(10deg);
        filter: blur(0px) brightness(1.1);
    }
    100% {
        opacity: 1;
        transform: 
            scale(1) 
            rotate(0deg);
        filter: blur(0px) brightness(1);
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .logo-container::before,
    .logo-container::after {
        display: none; /* Remove partículas em mobile para performance */
    }
    
    .logo-spiral {
        animation: 
            spiralBreath 6s ease-in-out infinite,
            microFloat 4s ease-in-out infinite;
    }
}

/* Redução de movimento para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    .logo-spiral {
        animation: none !important;
    }
    
    .logo-container::before,
    .logo-container::after {
        display: none;
    }
    
    .logo-spiral:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }
}

/* Advanced Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, 
        #FAFAFA 0%, 
        #F5F5F5 25%, 
        #FEF2F4 50%, 
        #F5F5F5 75%, 
        #FAFAFA 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

.gradient-bg-primary {
    background: linear-gradient(135deg, 
        #B91C3C, 
        #A01837, 
        #831532, 
        #E8265C, 
        #B91C3C);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.gradient-bg-accent {
    background: linear-gradient(135deg, 
        #0EA5E9, 
        #0284C7, 
        #0369A1, 
        #38BDF8, 
        #0EA5E9);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

/* Advanced Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #B91C3C, #E8265C, #F25082, #0EA5E9);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease infinite;
}

.text-glow {
    color: #B91C3C;
    animation: textGlow 4s ease-in-out infinite alternate;
}

/* Enhanced Glassmorphism Effects - REMOVIDO BACKDROP-FILTER */
.glass {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
               inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glass-primary {
    background: rgba(185, 28, 60, 0.1);
    border: 1px solid rgba(185, 28, 60, 0.2);
    box-shadow: 0 8px 32px rgba(185, 28, 60, 0.15),
               inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-accent {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15),
               inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Advanced Card Effects - REMOVIDO OVERFLOW HIDDEN */
.card-hover {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* REMOVIDO: overflow: hidden; */
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(185, 28, 60, 0.2), 
               0 15px 30px rgba(185, 28, 60, 0.15),
               0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Effects - CORRIGIDO para conter animação dentro do botão */
.btn-primary {
    background: linear-gradient(135deg, #B91C3C, #A01837, #831532);
    background-size: 300% 300%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(185, 28, 60, 0.3);
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

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

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(185, 28, 60, 0.4),
               0 4px 12px rgba(185, 28, 60, 0.3);
}

/* Efeito glow apenas para botões fora do header - CONTAINED */
.btn-primary:not(header .btn-primary):hover {
    animation: glow-contained 1s ease-in-out infinite alternate;
}

/* Glow effect contido dentro do botão */
@keyframes glow-contained {
    from { 
        box-shadow: 0 8px 25px rgba(185, 28, 60, 0.4),
                   0 4px 12px rgba(185, 28, 60, 0.3);
    }
    to { 
        box-shadow: 0 8px 25px rgba(185, 28, 60, 0.6), 
                   0 4px 12px rgba(185, 28, 60, 0.4);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    /* REMOVIDO: backdrop-filter: blur(20px); */
    border: 2px solid rgba(185, 28, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-secondary:hover {
    background: rgba(185, 28, 60, 0.1);
    border-color: rgba(185, 28, 60, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(185, 28, 60, 0.3);
}

/* Image Effects - REMOVIDO OVERFLOW HIDDEN */
.image-hover {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* REMOVIDO: overflow: hidden; */
}

.image-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(185, 28, 60, 0.1), 
        rgba(14, 165, 233, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-hover:hover::after {
    opacity: 1;
}

.image-hover:hover {
    transform: scale(1.05) rotate(1deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

/* Floating Elements */
.floating-element {
    animation: float 10s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-element:nth-child(3) {
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-element:nth-child(4) {
    animation-delay: 6s;
    animation-duration: 11s;
}

.floating-element:nth-child(5) {
    animation-delay: 8s;
    animation-duration: 13s;
}

/* Morphing Shapes */
.morph-shape {
    animation: morph 20s ease-in-out infinite;
}

/* Section Dividers */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #B91C3C, 
        #F25082, 
        #0EA5E9, 
        #B91C3C, 
        transparent);
    margin: 6rem 0;
    animation: gradientShift 15s ease infinite;
    background-size: 300% 300%;
    border-radius: 2px;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #FAFAFA, #F5F5F5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B91C3C, #A01837);
    border-radius: 10px;
    border: 2px solid #FAFAFA;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #A01837, #831532);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Animação específica para a seção de eventos */
.eventos-section {
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.eventos-section.revealed {
    animation: eventosEntrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes eventosEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(3px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.02);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Animação para elementos internos da seção de eventos */
.eventos-section .reveal {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.eventos-section .reveal.revealed {
    animation: eventosElementEntrance 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes eventosElementEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* Professional Image Spectacular Effects */
.professional-image-container {
    animation: scaleIn 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.professional-image {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

.professional-image:hover {
    transform: scale(1.03);
    filter: brightness(1.15) contrast(1.15) saturate(1.2);
}

.border-gradient {
    background: linear-gradient(45deg, 
        #B91C3C, 
        #F25082, 
        #0EA5E9, 
        #38BDF8, 
        #B91C3C);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

.animate-bounce-gentle {
    animation: bounce-gentle 4s ease-in-out infinite;
}

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

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

.animate-gradient-shift {
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

.animate-breathe {
    animation: breathe 5s ease-in-out infinite;
}

.animate-wave {
    animation: wave 4s ease-in-out infinite;
}

/* Enhanced Floating Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #F25082, #B91C3C);
    border-radius: 50%;
    animation: particle-float 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(185, 28, 60, 0.5);
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation-delay: 0.8s;
    animation-duration: 5s;
}

.particle-3 {
    bottom: 40%;
    left: 20%;
    animation-delay: 1.6s;
    animation-duration: 4.5s;
}

.particle-4 {
    top: 60%;
    right: 25%;
    animation-delay: 2.4s;
    animation-duration: 5.5s;
}

.particle-5 {
    bottom: 20%;
    left: 70%;
    animation-delay: 3.2s;
    animation-duration: 4s;
}

.particle-6 {
    top: 80%;
    right: 60%;
    animation-delay: 4s;
    animation-duration: 5s;
}

.success-badge {
    box-shadow: 0 0 30px rgba(185, 28, 60, 0.6),
               0 0 50px rgba(185, 28, 60, 0.4);
}

/* Loading state - COMENTADO PARA NÃO INTERFERIR NO WHATSAPP */
/*
.loading {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
}

.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
*/

/* Shimmer Effect - REMOVIDO OVERFLOW HIDDEN */
.shimmer {
    position: relative;
    /* REMOVIDO: overflow: hidden; */
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    animation: shimmer 3s infinite;
}

/* Ripple Effect - REMOVIDO OVERFLOW HIDDEN */
.ripple-effect {
    position: relative;
    /* REMOVIDO: overflow: hidden; */
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
}

/* Enhanced Typography */
.enhanced-text {
    background: linear-gradient(135deg, #A01837, #B91C3C, #F25082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* WhatsApp Chat Styles - MELHORADO PARA POSICIONAMENTO FIXO */
.whatsapp-chat {
    position: fixed !important;
    bottom: 100px !important;
    right: 25px !important;
    width: 320px !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 9998 !important;
    /* REMOVIDO: overflow: hidden; */
    opacity: 0 !important;
    transform: translateY(20px) scale(0.9) translateZ(0) !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    will-change: transform, opacity !important;
    isolation: isolate !important;
}

.whatsapp-chat.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.whatsapp-chat-header {
    background: #25D366;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.whatsapp-chat-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-chat-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.whatsapp-chat-info p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.status.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
}

.whatsapp-chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.whatsapp-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.whatsapp-chat-body {
    padding: 20px;
    min-height: 150px;
    background: #f0f0f0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4d4d4' fill-opacity='0.1'%3E%3Cpath d='m0 40l40-40h-40v40z'/%3E%3C/g%3E%3C/svg%3E");
}

.whatsapp-chat-message {
    margin-bottom: 15px;
}

.whatsapp-chat-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 8px 8px 8px 2px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-chat-bubble p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.whatsapp-chat-time {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-chat-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.whatsapp-start-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
    text-decoration: none;
}

.whatsapp-start-chat:hover {
    background: #1ea952;
    color: white;
}

/* WhatsApp Button - MELHORADO PARA POSICIONAMENTO FIXO */
.whatsapp-button {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    min-width: 60px !important;
    height: 60px !important;
    background: #25D366 !important;
    color: white !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    isolation: isolate !important;
    padding: 0 20px 0 16px !important;
    font-size: 1rem;
    gap: 8px;
}

.whatsapp-button span {
    display: inline;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px !important;
        min-width: 0 !important;
        height: 55px !important;
        bottom: 20px !important;
        right: 20px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
    }
    .whatsapp-button span {
        display: none !important;
    }
    .whatsapp-button i {
        font-size: 24px;
    }
}

.whatsapp-button:hover {
    background: #1ea952;
    transform: scale(1.1);
    color: white;
}

.whatsapp-button i {
    font-size: 28px;
}

.whatsapp-button-pulse {
    display: none !important;
}

/* NOVA CLASSE PARA GARANTIR QUE O WHATSAPP FUNCIONE */
.whatsapp-fixed {
    position: fixed !important;
    z-index: 10000 !important;
    will-change: auto !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .professional-image-container {
        width: 280px;
        height: 280px;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
    
    .success-badge {
        width: 18px;
        height: 18px;
        bottom: -2px;
        right: -2px;
    }
    
    .success-badge span {
        font-size: 7px;
    }
    
    .success-badge i {
        font-size: 5px;
    }
    
    /* Reduce animation intensity on mobile */
    .floating-element {
        animation-duration: 12s;
    }
    
    .card-hover:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .btn-primary:hover {
        transform: translateY(-1px) scale(1.02);
    }

    .whatsapp-chat {
        width: calc(100% - 50px);
        right: 25px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button i {
        font-size: 24px;
    }

    .whatsapp-chat {
        bottom: 85px;
        right: 20px;
        width: calc(100% - 40px);
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states for accessibility */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #B91C3C;
    outline-offset: 2px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #B91C3C;
    outline-offset: 2px;
}

/* Additional animations for ripple effect */
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .morph-shape,
    .animate-spin-slow,
    .animate-pulse-glow {
        animation: none !important;
    }
}

/* ========== PLAYER DE VÍDEO E GALERIA DE IMAGENS ========== */

/* Player de Vídeo */
.video-player-container {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-player-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-player-container:hover .video-player-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.play-button i {
    color: #B91C3C;
    font-size: 24px;
    margin-left: 4px;
}

/* Galeria de Imagens */
.gallery-trigger {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-trigger:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-trigger:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.gallery-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.gallery-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-icon i {
    color: #B91C3C;
    font-size: 20px;
}

/* Modal de Vídeo */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.video-modal video {
    margin: 0 !important;
    display: block;
    max-width: 70vw;
    max-height: 70vh;
    object-fit: contain;
    box-shadow: none;
    border-radius: 18px;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal da Galeria */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10001;
}

.gallery-slide {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gallery-slide img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    z-index: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

/* Indicadores da galeria */
.gallery-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10001;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.gallery-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .gallery-icon {
        width: 50px;
        height: 50px;
    }
    
    .gallery-icon i {
        font-size: 16px;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .gallery-close,
    .video-modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
    
    .gallery-counter {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .gallery-indicators {
        bottom: 60px;
    }
    
    .gallery-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Melhorias para mobile */
    .video-modal-content {
        padding: 10px;
    }
    
    .gallery-modal-content {
        padding: 10px;
    }
    
    .gallery-slide img {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .video-modal video {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* Animações específicas */
@keyframes gallery-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-slide {
    animation: gallery-fade-in 0.3s ease;
}

/* Loading para vídeo */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    z-index: 10001;
}

.video-loading i {
    animation: spin-slow 1s linear infinite;
    margin-right: 10px;
}

/* Remover o espaçamento vertical de .space-y-8 na seção de publicações */
.publicacoes-section .space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0 !important;
}

/* Remover sombras de elementos com backdrop-blur-sm */
.backdrop-blur-sm {
    box-shadow: none !important;
}

/* Remover sombras de ícones específicos */
.w-10.h-10.flex.items-center.justify-center {
    box-shadow: none !important;
}

/* Remover sombras de elementos com bg-white */
.bg-white {
    box-shadow: none !important;
}

/* Suavizar sombras de ícones com animate-glow */
.w-12.h-12.flex.items-center.justify-center.mr-4.animate-glow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}