/* Animações personalizadas para TETO ENGENHARIA E CONSTRUÇÕES */

/* Logo pulsando na página em construção */
@keyframes logoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(40, 118, 122, 0));
  }

  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 18px rgba(40, 118, 122, 0.25));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(40, 118, 122, 0));
  }
}

.construction-logo {
  animation: logoPulse 3.6s ease-in-out infinite;
}

/* Pontos pulsando "EM BREVE" */
@keyframes dotPulse {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

.construction-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #28767a;
  display: inline-block;
  animation: dotPulse 2.4s ease-in-out infinite;
}

.construction-dot:nth-child(2) {
  animation-delay: 0.4s;
}

.construction-dot:nth-child(4) {
  animation-delay: 0.8s;
}

/* Animações para elementos ao rolar */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].is-visible {
  opacity: 1;
}

[data-animate="slide-right"] {
  transform: translateX(-24px);
}

[data-animate="slide-right"].is-visible {
  transform: translateX(0);
}

[data-animate="slide-left"] {
  transform: translateX(24px);
}

[data-animate="slide-left"].is-visible {
  transform: translateX(0);
}

/* Carrossel */
.carousel-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-overlay {
  background: radial-gradient(circle at top, rgba(15, 15, 15, 0.4) 0%, rgba(15, 15, 15, 0.9) 100%);
}

/* Botão com brilho sutil */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(40, 118, 122, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0F0F0F;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(40, 118, 122, 0.9) 0%, rgba(145, 145, 145, 0.4) 100%);
  border-radius: 9999px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* Evita rolagem horizontal acidental (barra inferior / faixa branca à direita) */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {

  html,
  body {
    overflow-x: clip;
  }
}