/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Efeito Parallax Otimizado */
.parallax-section {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    z-index: -1;
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

.parallax-content {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* ===== ANIMAÇÕES MODERNAS 2025 ===== */

/* 1. Morphing Shapes Otimizado */
.morphing-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 50%;
    filter: blur(1px);
    animation: morphShape 8s ease-in-out infinite;
    opacity: 0.1;
    z-index: -1;
    will-change: transform, border-radius;
    transform: translateZ(0); /* Force hardware acceleration */
}

@keyframes morphShape {
    0%, 100% { border-radius: 50%; transform: rotate(0deg) scale(1); }
    25% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(90deg) scale(1.1); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(180deg) scale(0.9); }
    75% { border-radius: 67% 33% 58% 42% / 21% 79% 21% 79%; transform: rotate(270deg) scale(1.05); }
}

/* 2. Glassmorphism Moderno Otimizado */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, backdrop-filter;
    transform: translateZ(0); /* Force hardware acceleration */
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    transform: translateY(-10px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 3. Gradient Animations */
.animated-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

/* 4. Floating Elements */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 5. Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-100%);
    animation: textReveal 2s ease-in-out infinite;
}

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

/* 6. 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(20px);
}



/* 8. Smooth Scroll Animations */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 9. Magnetic Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 10. Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor; }
    to { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor; }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Home Section com Vídeo */
.home-section {
    height: 100vh;
    position: relative;
    background-color: #000000;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-overlay h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.video-overlay p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Fallback para quando o vídeo não carrega */
.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 0;
    opacity: 0.5;
}

/* Ícone de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 20;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid white;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: arrowBounce 2s infinite;
}

.scroll-indicator p {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: translateX(-50%) translateY(3px);
        opacity: 1;
    }
    60% {
        transform: translateX(-50%) translateY(1px);
        opacity: 0.9;
    }
}

/* Segunda Seção - Layout Duas Colunas */
.about-section {
    min-height: 100vh;
    padding: 100px 0;
    background: #f6ad31;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-items: center;
    min-height: 100vh;
}

.column-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    gap: 40px;
}

.about-header {
    text-align: left;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
    max-width: 500px;
    margin: 20px 0 0 0;
}

.hom-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.column-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.column-left p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #000000;
    line-height: 1.8;
}

.services h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000000;
}

.services ul {
    list-style: none;
}

.services li {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.services li:hover {
    transform: translateX(10px);
    color: #ffffff;
    font-weight: 600;
}

/* Grid de Imagens */
.image-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    background: #ffffff;
    flex: 1;
    max-width: 200px;
}

.grid-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.grid-item:hover img {
    transform: scale(1.15);
}

.project-name {
    padding: 15px 20px;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.grid-item:hover .project-name {
    background: #f6ad31;
    color: #ffffff;
    font-weight: 700;
}

/* Rodapé como Página Completa */
.footer-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.footer-header {
    text-align: center;
    margin-bottom: 80px;
}

.footer-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-header p {
    font-size: 1.3rem;
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.contact-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.image-container {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Seção de Clientes */
.clients-section {
    min-height: 100vh;
    padding: 100px 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.clients-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.clients-header p {
    font-size: 1.8rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-logo::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;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
    opacity: 0.8;
}

.client-logo:hover img {
    filter: brightness(1) invert(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Seção de Eventos */
.events-section {
    min-height: 100vh;
    padding: 100px 0;
    background: #f6ad31;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-header {
    text-align: center;
    margin-bottom: 60px;
}

.events-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.events-header p {
    font-size: 1.4rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
    font-style: italic;
}

.events-carousel {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    width: 20%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

/* Botões específicos para seção de ativações (fundo preto) */
.ativacoes-section .carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.ativacoes-section .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Dots específicos para seção de ativações (fundo preto) */
.ativacoes-section .dot {
    background: rgba(255, 255, 255, 0.3);
}

.ativacoes-section .dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.ativacoes-section .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Seção de Ativações */
.ativacoes-section {
    min-height: 100vh;
    padding: 100px 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ativacoes-header {
    text-align: center;
    margin-bottom: 60px;
}

.ativacoes-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: textGlowAtivacoes 2s ease-in-out infinite alternate;
}

.ativacoes-header p {
    font-size: 1.4rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: textGlowAtivacoes 2s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

@keyframes textGlowAtivacoes {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

.ativacoes-carousel {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Responsividade */
@media (max-width: 1024px) {
    .two-column-layout {
        gap: 60px;
    }
    
    .footer-content {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .video-overlay h1 {
        font-size: 3.5rem;
    }
    
    .video-overlay p {
        font-size: 1.2rem;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .column-left h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-header h2 {
        font-size: 2.5rem;
    }
    
    .footer-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .client-logo {
        padding: 20px;
    }
    
    .clients-header h2 {
        font-size: 2.5rem;
    }
    
    .clients-header p {
        font-size: 1.4rem;
    }
    
    .events-header h2 {
        font-size: 2.5rem;
    }
    
    .events-header p {
        font-size: 1.2rem;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .slide-overlay h3 {
        font-size: 1.5rem;
    }
    
    .ativacoes-header h2 {
        font-size: 2.5rem;
    }
    
    .ativacoes-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .video-overlay h1 {
        font-size: 2.5rem;
    }
    
    .video-overlay p {
        font-size: 1rem;
    }
    
    .column-left h2 {
        font-size: 2rem;
    }
    
    .column-left p {
        font-size: 1.1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-header h2 {
        font-size: 2rem;
    }
    
    .footer-images {
        grid-template-columns: 1fr;
    }
    
    .about-section,
    .footer-page,
    .clients-section {
        padding: 60px 0;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
    }
    
    .client-logo {
        padding: 15px;
    }
    
    .clients-header h2 {
        font-size: 2rem;
    }
    
    .clients-header p {
        font-size: 1.2rem;
    }
    
    .events-header h2 {
        font-size: 2rem;
    }
    
    .events-header p {
        font-size: 1rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-controls {
        gap: 20px;
        margin-top: 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .slide-overlay {
        padding: 20px 15px 15px;
    }
    
    .slide-overlay h3 {
        font-size: 1.2rem;
    }
    
    .slide-overlay p {
        font-size: 0.9rem;
    }
    
    .ativacoes-header h2 {
        font-size: 2rem;
    }
    
    .ativacoes-header p {
        font-size: 1rem;
    }
}

/* Compatibilidade com navegadores antigos */
@supports not (grid-template-columns: 1fr 1fr) {
    .two-column-layout {
        display: flex;
        flex-wrap: wrap;
    }
    
    .column-left,
    .column-right {
        flex: 1;
        min-width: 300px;
    }
    
    .image-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .grid-item {
        flex: 1;
        min-width: 45%;
        margin: 2.5%;
    }
}

/* Melhorias para performance */
.grid-item img,
.image-container img {
    will-change: transform;
}

.scroll-indicator {
    will-change: transform;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator,
    .scroll-wheel,
    .grid-item,
    .image-container {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== OTIMIZAÇÕES DE PERFORMANCE ===== */

/* Hardware Acceleration para elementos animados */
.grid-item,
.image-container,
.client-logo,
.carousel-slide,
.morphing-shape,
.glass-card,
.scroll-indicator {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Otimizações para vídeos */
video {
    will-change: auto;
    transform: translateZ(0);
}

/* Reduzir repaints durante scroll */
.home-section,
.about-section,
.clients-section,
.events-section,
.ativacoes-section,
.footer-page {
    contain: layout;
}

/* Otimizações para carrosséis */
.carousel-track {
    will-change: transform;
    transform: translateZ(0);
}

.carousel-slide {
    contain: layout;
}

/* Otimizações para imagens */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduzir complexidade de animações em dispositivos móveis */
@media (max-width: 768px) {
    .morphing-shape {
        animation-duration: 12s;
    }
    
    .glass-card {
        backdrop-filter: blur(10px);
    }
    
    .glass-card:hover {
        backdrop-filter: blur(15px);
    }
}

/* Otimizações para dispositivos de baixa performance */
@media (prefers-reduced-motion: reduce) {
    .morphing-shape {
        animation: none;
    }
    
    .glass-card {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .parallax-bg {
        transform: none !important;
    }
    
    .parallax-content {
        transform: none !important;
    }
}

/* Garantir visibilidade do conteúdo */
.about-section .parallax-content,
.clients-section .parallax-content,
.events-section .parallax-content,
.ativacoes-section .parallax-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.about-section .container,
.clients-section .container,
.events-section .container,
.ativacoes-section .container {
    opacity: 1 !important;
    visibility: visible !important;
}
