/* Astro overrides — never leave Elementor content hidden without JS */
.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hero: "Transforme..." = título; "Emagreça..." = subtítulo */
.elementor-2 .elementor-element-1cffbcd .elementor-heading-title {
  font-family: "Raleway", Sans-serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  color: #ffffff !important;
}

.elementor-2 .elementor-element-9ebd676 .elementor-heading-title {
  font-family: "Lato", Sans-serif !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .elementor-2 .elementor-element-1cffbcd .elementor-heading-title {
    font-size: 24px !important;
  }
  .elementor-2 .elementor-element-9ebd676 .elementor-heading-title {
    font-size: 42px !important;
    line-height: 48px !important;
  }
}

@media (max-width: 767px) {
  .elementor-2 .elementor-element-1cffbcd .elementor-heading-title {
    font-size: 20px !important;
  }
  .elementor-2 .elementor-element-9ebd676 .elementor-heading-title {
    font-size: 32px !important;
    line-height: 36px !important;
  }
}

/* CTAs: verde (#007231) — Elementor usa background-image em gradiente */
.elementor-kit-3 .elementor-button,
.elementor-kit-3 button,
.elementor-kit-3 input[type="button"],
.elementor-kit-3 input[type="submit"] {
  background-color: #007231 !important;
  background-image: none !important;
}

.elementor-kit-3 .elementor-button:hover,
.elementor-kit-3 .elementor-button:focus,
.elementor-kit-3 button:hover,
.elementor-kit-3 button:focus,
.elementor-kit-3 input[type="button"]:hover,
.elementor-kit-3 input[type="submit"]:hover {
  background-color: #005a27 !important;
  background-image: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes burn-btn-pulse {
    0%,
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 114, 49, 0.55);
    }
    50% {
      transform: scale(1.04);
      box-shadow: 0 0 0 14px rgba(0, 114, 49, 0);
    }
  }

  /* Hero + Adquirir Agora (ofertas) */
  .elementor-element-bb933b3 .elementor-button,
  .elementor-element-1f18a49 .elementor-button,
  .elementor-element-518acb9 .elementor-button,
  .elementor-element-167ec32 .elementor-button,
  .elementor-element-6e80d58 .elementor-button,
  .elementor-element-50f14cb .elementor-button,
  .elementor-element-304531b .elementor-button {
    animation: burn-btn-pulse 1.4s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-element-bb933b3 .elementor-button,
  .elementor-element-1f18a49 .elementor-button,
  .elementor-element-518acb9 .elementor-button,
  .elementor-element-167ec32 .elementor-button,
  .elementor-element-6e80d58 .elementor-button,
  .elementor-element-50f14cb .elementor-button,
  .elementor-element-304531b .elementor-button {
    animation: none;
  }
}

/* Lite carousel: keep Elementor/Swiper class names, scroll-snap behavior */
.elementor-widget-image-carousel .swiper {
  overflow: hidden;
}
.elementor-widget-image-carousel .swiper-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.elementor-widget-image-carousel .swiper-wrapper::-webkit-scrollbar {
  display: none;
}
.elementor-widget-image-carousel .swiper-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .elementor-invisible,
  .animated-slow {
    animation: none !important;
    transition: none !important;
  }
}

/* Home: fade-in de imagens a partir da 2ª seção (só com JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .elementor-2 > .e-parent:nth-child(n + 2) img.img-fade {
    opacity: 0;
    transition: opacity 0.75s ease-out;
  }
  .js .elementor-2 > .e-parent:nth-child(n + 2) img.img-fade.is-faded-in {
    opacity: 1;
  }
}
