footer {
  padding-top: 96px;
  padding-bottom: 99px;
}

.footer-head {
  display: flex;
  gap: 113px;

  @media (width <= 1124px) {
    flex-direction: column;
    gap: 64px;
  }
}

.link-contact-new {
  display: block;
  width: max-content;
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: 10px;
  border: 0.0625rem solid #fff;
  transition: 0.2s ease-in-out;

  @media (width <= 1024px) {
    line-height: 23px;
  }
}

.link-contact-new::after {
  display: none !important;
}

.link-contact-new:hover {
  color: #0058ff;
  border-color: #fff;
  opacity: 1 !important;
  background-color: #fff;
}

.footer-contact {
  & > p {
    font-family: "Poppins";
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    max-width: 330px;
    line-height: 1.1;
    margin-bottom: 24px;

    @media (width <= 1024px) {
      font-size: 29px;
      max-width: unset;
      max-width: 306px;
      line-height: 33px;
    }
  }
}

.footer-form {
  & > p {
    color: #fff !important;
    font-size: 32px;
    font-weight: 700 !important;
    font-family: "Poppins";
    max-width: 460px;
    margin-bottom: 35px !important;
    line-height: 1.1 !important;

    @media (width <= 1024px) {
      font-size: 29px;
      max-width: unset;
      line-height: 33px;
    }
  }

  & > form {
    width: 20.4375rem;
    position: relative;
    margin: 0 !important;
    max-width: unset !important;

    @media (width <= 1024px) {
      width: 100%;
    }

    & > input {
      width: 100%;
      border: none;
      background-color: transparent;
      padding-bottom: 1rem !important;
      border-bottom: 0.0625rem solid #fff;
      padding: 0 1.5rem 1rem 0 !important;
      color: #fff;
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 0 !important;
      height: auto !important;
      border-bottom-color: #fff !important;
      transition: border-bottom-color 0.2s ease-in-out;

      &:focus {
        outline: none;
      }

      &::placeholder {
        color: #fff;
        font-size: 16px;
        font-weight: 400;
      }
    }

    & > button:hover {
      transform: translateX(0.1rem);
    }

    & > button {
      background-color: transparent;
      border: none !important;
      position: absolute !important;
      top: 0 !important;
      right: 0 !important;
      width: 24px !important;
      height: 24px !important;
      cursor: pointer;
      transition: 0.2s ease-in-out;
      max-width: unset !important;
      width: 100%;
      padding: unset !important;
      background: transparent !important;
      font-size: unset !important;

      & svg path {
        transition: stroke 0.2s ease-in-out;
      }

      &::after {
        display: none !important;
      }
    }
  }
}

.footer-bottom {
  & > div {
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media (width <= 1124px) {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  & > img {
    margin-bottom: 39px;
  }

  & > div {
    & > ul {
      display: flex;
      gap: 45px;
      position: relative;

      @media (width <= 1124px) {
        gap: 16px;
        justify-content: space-between;
        margin-bottom: 24px;
      }

      & > li {
        & a {
          transition: color 0.2s ease-in-out;

          & span,
          & div > p {
            transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
          }
        }

        &:hover {
          & a {
            color: #00d0f8;

            & span,
            & div > p {
              color: #00d0f8;
              opacity: 1 !important;
            }
          }
        }

        &:last-of-type {
          & a {
            text-decoration: underline;

            @media (width <= 1124px) {
              position: absolute;
              top: 100%;
              left: 0;
            }
          }
        }
        & > a {
          & > span {
            font-size: 16px;
            color: #fff;
            font-weight: 700;
            margin-bottom: 6px;
          }

          & > div {
            & > p {
              color: #fff;
              font-size: 12px;
              font-weight: 400;
              line-height: 18px;
            }
          }
        }
      }
    }
  }

  & ul {
    margin: 0 !important;
  }
}

.redes-sociais {
  display: flex !important;
  flex-direction: column;
  padding-bottom: 0 !important;

  @media (width <= 1124px) {
    align-self: start !important;
    margin-top: 65px;
  }

  & .list {
    margin-bottom: 18px !important;
  }
}

.footer-mid {
  & > nav {
    & > ul {
      padding: 102px 0 76px;
      gap: 80px;

      @media (width <= 1124px) {
        flex-direction: column;
        padding: 40px 0;
        gap: 32px;
      }

      & > li {
        & > a {
          font-size: 20px;
          color: #fff;
          font-weight: 700;
          padding-bottom: 28px;
          pointer-events: none;
        }

        &:first-of-type {
          & ul {
            display: block;
            column-count: 2;
          }
        }

        &:nth-child(2) {
          & ul {
            display: block;
            column-count: 2;
          }
        }

        & ul {
          display: flex;
          flex-direction: column;
          gap: 0;

          & li {
            padding: 14px;
            padding-left: 0;
            padding-top: 0;

            & a {
              color: #ffffffce;
              font-size: 14px;
              font-weight: 400;
              transition: 0.2s ease-in-out;

              &:hover {
                color: #00d0f8;
              }
            }
          }
        }
      }
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}

.newsletter-success-message,
.newsletter-error-message {
  color: #fff;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  opacity: 0.9 !important;
  animation: fadeIn 0.3s ease-in-out !important;
  display: block;
}
