@import "./reset.css";
@import "./header.css";
@import "./hero.css";
@import "./about.css";
@import "./process.css";
@import "./galery.css";
@import "./testimonials.css";
@import "./budgetForm.css";
@import "./faqSection.css";
@import "./ctaFinal.css";
@import "./footer.css";

:root {
  --primary-blue: #011349;
  --text-gray: #333;
}

html,
body {
  overflow-x: hidden;
}

.tear-effect,
.tear-effect-reverse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-20%);
  pointer-events: none;

  img {
    width: 100%;
    display: block;
  }
}

.tear-effect-reverse {
  transform: translateY(-80%) rotate(180deg);
}

@media (max-width: 768px) {
  .tear-effect,
  .tear-effect-reverse {
    overflow: hidden; /* corta o excesso */
  }

  .tear-effect img,
  .tear-effect-reverse img {
    width: 160%;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .tear-effect {
    transform: translateY(-25%);
  }

  .tear-effect-reverse {
    transform: translateY(-80%) rotate(180deg);
  }
}

/*WHATS BTN*/
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  z-index: 2;
}

/* Pulso mágico */
.whatsapp-float .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: pulse 2s infinite;
  z-index: 1;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para o efeito cascata (Stagger) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Mobile ajuste */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 15px;
    bottom: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}
