/*
Theme Name: Hello Elementor Child
Description: Tema filho do Hello Elementor.
Author: GreenFlow
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


/* Cursor nave GreenFlow */
body {
  cursor: none !important;
}

a,
button,
[role="button"],
input,
select,
label {
  cursor: none !important;
}

#gf-cursor-wrap {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#gf-beam {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 0 solid rgba(255, 210, 50, 0.85);
  opacity: 0;
  transform-origin: top center;
  transition: none;
}

#gf-beam.active {
  animation: gf-beam-pulse 0.55s ease-out forwards;
}

@keyframes gf-beam-pulse {
  0% {
    opacity: 0;
    border-top-width: 0;
    border-left-width: 18px;
    border-right-width: 18px;
  }

  15% {
    opacity: 1;
    border-top-width: 90px;
    border-left-width: 22px;
    border-right-width: 22px;
  }

  50% {
    opacity: 0.85;
    border-top-width: 120px;
  }

  100% {
    opacity: 0;
    border-top-width: 130px;
  }
}

.gf-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 210, 50, 0.9);
  box-shadow: 0 0 8px rgba(255, 210, 50, 0.7);
  animation: gf-particle-up 0.7s ease-out forwards;
}

@keyframes gf-particle-up {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(0.3);
  }
}



/* GreenFlow, efeito glitch */
.gf-glitch {
  position: relative;
  display: inline-block;
}

.gf-glitch::before,
.gf-glitch::after {
  content: attr(data-gf-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(50% 0 50% 0);
  color: inherit;
  pointer-events: none;
}

.gf-glitch::before {
  text-shadow: -2px 0 #ff003c;
  animation: gf-glitch-r 5s infinite;
}

.gf-glitch::after {
  text-shadow: 2px 0 #00e5ff;
  animation: gf-glitch-c 5s infinite;
}

@keyframes gf-glitch-r {
  0%,
  88%,
  100% {
    clip-path: inset(50% 0 50% 0);
    opacity: 0;
  }

  89% {
    clip-path: inset(15% 0 65% 0);
    opacity: 0.85;
    transform: translate(-3px, 1px);
  }

  91% {
    clip-path: inset(60% 0 15% 0);
    opacity: 0.85;
    transform: translate(3px, -1px);
  }

  93% {
    clip-path: inset(35% 0 40% 0);
    opacity: 0.85;
    transform: translate(-2px, 0);
  }

  95% {
    clip-path: inset(80% 0 5% 0);
    opacity: 0.7;
    transform: translate(1px, 2px);
  }

  97% {
    opacity: 0;
  }
}

@keyframes gf-glitch-c {
  0%,
  89%,
  100% {
    clip-path: inset(50% 0 50% 0);
    opacity: 0;
  }

  90% {
    clip-path: inset(70% 0 10% 0);
    opacity: 0.75;
    transform: translate(4px, -2px);
  }

  92% {
    clip-path: inset(5% 0 75% 0);
    opacity: 0.75;
    transform: translate(-4px, 2px);
  }

  94% {
    clip-path: inset(45% 0 30% 0);
    opacity: 0.75;
    transform: translate(2px, -1px);
  }

  96% {
    clip-path: inset(20% 0 60% 0);
    opacity: 0.6;
    transform: translate(-1px, 1px);
  }

  98% {
    opacity: 0;
  }
}


/* GreenFlow, efeito typewriter */
#gf-typewriter-alvo {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  display: block;

  font-family: 'Proxima Nova', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: #ffffff;
}

#gf-typewriter-alvo .gf-typed-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#gf-typewriter-alvo .gf-typed-visible {
  display: inline-block;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin: 0;
}

#gf-typewriter-alvo .gf-typed-text {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

#gf-typewriter-alvo .gf-typed-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background: #ffffff;
  margin-left: 6px;
  vertical-align: middle;
  animation: gf-blink 0.65s step-end infinite;
}

@keyframes gf-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}


/* Correção global, remove scroll lateral do site */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  margin: 0;
}

/* Garante que o botão de WhatsApp não ocupe espaço no layout */
#gf-whatsapp-simple {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 999999 !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
  clear: none !important;
  transform: none !important;
  pointer-events: none !important;
}

#gf-whatsapp-simple a {
  width: auto !important;
  max-width: max-content !important;
  display: inline-flex !important;
  pointer-events: auto !important;
}