:root {
  --primary-color: #050f41;
  --dark-color: #00a4d5;
  --white-color: #ffffff;
}

::placeholder {
  font-family: "Barlow Semi Condensed", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 400;
  font-size: 20px;
  background: linear-gradient(to right, var(--primary-color), #050f41);
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
  color: var(--white-color);
  overflow-x: hidden;
}

b,
form label {
  font-family: "Barlow Semi Condensed", serif;
}

small {
  display: block;
  font-size: 14px;
}

header {
  display: flex;
  position: relative;
  width: 100dvw;
  min-height: 100dvh;
}

.header-hero-img {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
}

.coluna {
  width: 50vw;
  min-height: 100vh;
  position: relative;
}

.esquerda {
  position: fixed;
  overflow: hidden;
  max-height: 100vh;
}

.slider-mobile {
  display: none;
  position: relative;
  width: 100%;
  height: 100dvh;
}

.slider-desktop {
  position: absolute;
  inset: 0;
}

.slide-desktop,
.slide-mobile {
  position: absolute;
  inset: 0;
  object-position: top;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-desktop.active,
.slide-mobile.active {
  opacity: 1;
}

.pronto-para-morar {
  display: none;
}

.marquee {
  display: none;
  position: relative;
  overflow: hidden;
  height: 200px;
  width: 100vw;
}

.marqueeImages {
  background: url("../assets/img/opcoes.webp");
  background-repeat: repeat-x;
  position: absolute;
  height: 200px;
  width: 12530px;
  animation: smoothslide 60s linear infinite;
  transform: translate3d(0, 0, 0);
  z-index: -1;
}

.direita {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 12vw 36px 120px;
  overflow-y: auto;
  min-height: 100vh;
  margin-left: 50vw;
}

.direita h1 {
  color: #fff;
  font-family: "Barlow Semi Condensed", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.direita h1 span {
  display: block;
  font-family: "Barlow Semi Condensed";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.logo {
  margin: 24px auto 10px;
}

form {
  width: 100%;
  margin: 36px auto 24px;
  text-align: left;
}

form label {
  color: var(--dark-color);
  font-size: 14px;
  line-height: 16px;
}

form label span {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

form input:not([type="checkbox"]),
form select {
  width: 100%;
  border: 1px solid #e4e4e4;
  padding: 0 16px;
  height: 50px;
  outline: none;
  margin-bottom: 18px;
  border-radius: 4px;
}

form label.optin {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-family: "Barlow Semi Condensed", serif;
}

form label.optin a {
  color: var(--dark-color);
  font-family: "Barlow Semi Condensed", serif;
}

form input[type="checkbox"] {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 0;
  accent-color: var(--primary-color);
  margin-right: 4px;
}

form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 14px 32px;
  background: var(--dark-color);
  height: 56px;
  color: var(--white-color);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  margin-top: 36px;
  border-radius: 4px;
}
.disabled {
  background: gray;
  cursor: not-allowed;
}

.response {
  padding: 16px 48px;
  color: var(--white-color);
  font-weight: 400;
  width: 100%;
  max-width: 605px;
  margin: 24px auto;
  text-align: center;
  border-radius: 4px;
}

.wrapper {
  width: 100%;
  border-top: solid 1px #ffffff52;
  margin: 48px 0 0;
  padding-top: 56px;
  text-align: left;
}
.wrapper img {
  margin-bottom: 16px;
}
.wrapper h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.wrapper address {
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
}

@keyframes smoothslide {
  100% {
    transform: translateX(-50%);
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media screen and (max-width: 520px) {
  header {
    animation: none;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .header-hero-img {
    display: none !important;
  }
  .coluna {
    width: 100vw;
  }
  .coluna.esquerda {
    display: none;
  }
  .coluna.direita {
    margin: 0;
    padding: 0;
  }
  .coluna.direita h1 {
    font-size: 24px;
    line-height: 28px;
  }
  .coluna.direita h1 span {
    display: unset;
  }
  .coluna.direita h1,
  .coluna.direita form,
  .coluna.direita small,
  .coluna.direita .wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
  .coluna.direita .wrapper {
    padding-bottom: 48px;
    text-align: center;
  }
  .coluna.direita .wrapper p {
    font-size: 16px;
  }
  .coluna.direita .wrapper address {
    font-size: 22px;
  }
  .coluna.direita form {
    width: 100%;
    margin: 24px auto;
  }
  .coluna.direita form button {
    width: 100%;
  }
  .slider-mobile {
    height: 700px;
  }
  .pronto-para-morar {
    display: block;
    width: 100%;
  }
  .bg-mobile {
    padding-top: 80px;
    background-image: url("../assets/img/shapes-header-desktop.jpg");
    background-size: cover;
    background-repeat: no-repeat;
  }
  .marquee {
    display: block;
  }
  .slider-mobile {
    display: block;
  }
}
