@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');



/* BOTÃO PRINCIPAL */
.btn-guincho {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 11px;
  color: #ff0000 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.4s;
  letter-spacing: 3px;
  overflow: hidden;
  border-radius: 20px;
  font-size: 18px;
  border: none;
  font-weight: 800;
  background: rgba(230, 230, 230, 1);
  margin-top: 50px;
}

/* ÍCONE */
.btn-guincho img {
  width: 70px;
  height: 70px;
  transition: filter 0.3s ease;
}

/* HOVER */
.btn-guincho:hover {
  background: #ff0000;
  color: #fff !important;
  box-shadow: none; /* remove sombra inferior */
}

.btn-guincho:hover img {
  filter: brightness(0) invert(1); /* ícone branco */
}

/* --- ANIMAÇÃO DE BORDA --- */
.btn-guincho span {
  position: absolute;
  display: block;
}

/* linha de cima */
.btn-guincho span:nth-of-type(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000);
  animation: animate1 1.5s linear infinite;
}
@keyframes animate1 {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* linha direita */
.btn-guincho span:nth-of-type(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #ff0000);
  animation: animate2 1.5s linear infinite;
  animation-delay: 0.25s;
}
@keyframes animate2 {
  0% { top: -100%; }
  50%, 100% { top: 100%; }
}

/* linha de baixo */
.btn-guincho span:nth-of-type(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #ff0000);
  animation: animate3 1.5s linear infinite;
  animation-delay: 0.5s;
}
@keyframes animate3 {
  0% { right: -100%; }
  50%, 100% { right: 100%; }
}

/* linha esquerda */
.btn-guincho span:nth-of-type(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #ff0000);
  animation: animate4 1.5s linear infinite;
  animation-delay: 0.75s;
}
@keyframes animate4 {
  0% { bottom: -100%; }
  50%, 100% { bottom: 100%; }
}
