/* ==========================================================================
   LAURA CASTIGLIONI - LANDING PAGE INSTITUCIONAL
   Paleta: #434130, #8b936e, #c2caa4, #e9d4bd, #f6e2cc, #c4a56b, #a37c63
   Tipografia: Cormorant Garamond (display) & Garet (sans)
   ========================================================================== */

/* 1. ANIMAÇÕES DA FAIXA DO TOPO */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

@keyframes gradient-x {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-gradient-x {
  animation: gradient-x 5s ease infinite;
}

/* 2. MESH GRADIENT INTERATIVO (Dourado & Verde Oliva) */
.mesh-gradient {
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(196, 165, 107, 0.40) 0%, rgba(139, 147, 110, 0.20) 35%, transparent 65%);
  transition: background 0.1s ease-out;
}

/* 3. REVEALS INICIAIS GSAP (Prevenção de FOUC / piscamento) */
.hero-reveal, 
.sec2-reveal, 
.sec3-reveal, 
.sec4-reveal, 
.sec5-reveal, 
.sec6-reveal, 
.sec7-reveal-photo, 
.sec7-reveal-text, 
.sec8-reveal, 
.sec9-reveal, 
.sec10-reveal, 
.sec11-reveal, 
.sec12-reveal { 
  opacity: 0; 
  will-change: transform, opacity;
  transform: translateZ(0); /* Aceleração de hardware na GPU */
}

/* 4. EFEITO SWEEP NO CTA */
.btn-sweep {
  position: relative;
  overflow: hidden;
}
.btn-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: sweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes sweep {
  0% { left: -120%; }
  40% { left: 160%; }
  100% { left: 160%; }
}

/* 5. ACCORDION FAQ SUAVE */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* 6. ESTILOS DE MÁSCARA DE IMAGEM */
.mask-hero-fade {
  mask-image: linear-gradient(to top, transparent 1%, black 22%);
  -webkit-mask-image: linear-gradient(to top, transparent 1%, black 22%);
}

/* 7. OTIMIZAÇÕES MOBILE (Elimina lags e economiza bateria) */
@media (max-width: 768px) {
  .mix-blend-luminosity,
  .mix-blend-screen,
  .mix-blend-overlay,
  .mix-blend-multiply {
    mix-blend-mode: normal !important;
  }

  .blur-\[100px\], .blur-\[120px\], .blur-\[150px\], .blur-\[180px\] {
    filter: blur(40px) !important;
    transform: translateZ(0); 
  }

  .backdrop-blur-md, 
  .backdrop-blur-sm {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #434130 !important;
  }

  video {
    transform: translateZ(0);
    will-change: opacity;
  }
}
