.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #000;
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 184, 0, 0);
  }
}

.float-wiggle {
  animation: float-wiggle 10s infinite;
}

@keyframes float-wiggle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(5deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
  75% {
    transform: translate(4px, -4px) rotate(2.5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.invert-float-wiggle {
  animation: invert-float-wiggle 10s infinite;
}
@keyframes invert-float-wiggle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
  50% {
    transform: translate(20px, -20px) rotate(5deg);
  }
  75% {
    transform: translate(-4px, 4px) rotate(-2.5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* FAQ Styling */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #000;
  background: #f0f0f0;
  background: linear-gradient(
    90deg,
    rgba(240, 240, 240, 1) 0%,
    rgba(192, 192, 192, 1) 25%,
    rgba(209, 209, 209, 1) 75%,
    rgba(240, 240, 240, 1) 100%
  );
}

.faq-answer {
  transition: all 0.3s ease;
}

.faq-answer.show {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slider 9:16 aspect ratio */
.slide img.aspect-\[9\/16\] {
  aspect-ratio: 9/16;
  max-height: 640px;
  width: auto;
  margin: 0 auto;
}

/* Before After Layout - Fotos coladas */
.before-after-container .before-photo,
.before-after-container .after-photo {
  position: relative;
}

.before-after-container .before-photo img {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 0;
}

.before-after-container .after-photo img {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
}

/* Transformação text overlay */
.before-after-container .absolute {
  z-index: 20;
}

/* Story Frame - Instagram Style */
.story-frame {
  background: linear-gradient(45deg, #c0c0c0, #f0f0f0, #e1e1e1);
  padding: 3px;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px #c0c0c06a;
  transition: all 0.3s ease;
}

.story-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px #777777;
}

.story-frame img {
  width: 18rem;
  height: 30rem;
  border-radius: 1.5rem;
}

/* Testimonials slider background */
.testimonials-slider {
  background: linear-gradient(135deg, #c0c0c020, #e1e1e116);
  border: 1px solid #c0c0c077;
}

.testimonial-video {
  width: 100%;
  max-width: 56rem;
}

.testimonial-video video {
  min-height: 20rem;
}

/* Hero video cover */
#videoCover {
  transition: opacity 0.3s ease;
}

#videoCover.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Section BG */
.section-bg::after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  content: "";
  z-index: -1;
  background-image: url("/assets/images/bg-section.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(20%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .slide img.aspect-\[9\/16\] {
    max-height: 700px;
  }

  .before-after-container .before-photo img,
  .before-after-container .after-photo img {
    height: 20rem;
  }

  .before-after-container .absolute div {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .story-frame img {
    width: 20rem;
    height: 35rem;
  }

  .testimonial-video video {
    height: 25rem !important;
    min-height: 16rem;
  }

  .testimonials-slider {
    padding: 1rem;
  }

  /* Section BG */
  .section-bg::after {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    content: "";
    z-index: -1;
    background-image: url("/assets/images/bg-section-mobile.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: unset;
    filter: brightness(20%);
  }
}

@media (max-width: 640px) {
  .slide img.aspect-\[9\/16\] {
    max-height: 1000px;
  }

  .story-frame img {
    width: 12rem;
    height: 30rem;
  }

  .testimonial-video video {
    height: 20rem !important;
    min-height: 14rem;
  }
}

@media (min-width: 1024px) {
  .story-frame img {
    width: 20rem;
    height: 26rem;
  }

  .testimonial-video video {
    height: 28rem;
  }
}
