body.page-address-validation {
  margin: 0;
  overflow: hidden;
  font-family: sans-serif;
}

#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #5c1a1b;
  z-index: 2000;
}

.bg-image {
  position: absolute;
  right: -100%;
  top: 0;
  height: 100%;
  width: 50%;
  background-size: cover;
  opacity: 0;
  animation: bgIn 1s ease-out 0.5s forwards;
}

.bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(89, 12, 10, 0.4) 60%, rgba(89, 12, 10, 0.7) 75%, rgba(89, 12, 10, 0.9) 100%);
}

.bg-image.fixo {
  animation: none;
  right: 0;
  opacity: 1;
}

@keyframes bgIn {
  to {
    right: 0;
    opacity: 1;
  }
}

.logo-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  top: 50%;
  right: 50%;
  z-index: 2;
  width: 360px;
  flex-wrap: wrap;
  transform: translate(-80px, -50%);
  animation: logoIn 0.5s ease-out 2s forwards;
}

@keyframes logoIn {
  to {
    top: 25%;
  }
}

.logo-part {
  opacity: 0;
  transform: translateX(-100px);
}

.logo-icon {
  animation: iconIn 1s ease-out 0.5s forwards;
}

@keyframes iconIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.logo-name {
  animation: nameIn 0.5s ease-out 1s forwards;
}

@keyframes nameIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.logo-tagline {
  margin-left: 20px;
  animation: taglineIn 0.5s ease-out 1.5s forwards;
}

@keyframes taglineIn {
  to {
    transform: translateY(0); 
    opacity: 1;
  }
}

.seal {
  position: absolute;
  top: calc(50% - 61px);
  right: calc(50% - 60px);
  transform: scale(0.8);
  opacity: 0;
  animation: sealIn 0.5s ease-out 2s forwards;
  z-index: 2;
  display: none;
}

.seal-horizontal {
  position: absolute;
  top: 40%;
  right: calc(50% + 52px);
  transform: scale(0.8);
  opacity: 0;
  animation: sealIn 0.5s ease-out 2s forwards;
  z-index: 2;
}

.seal-horizontal.mobile {
  display: block;
  top: 70%;
  right: calc(50% + 72px);
}

.seal.fixo,
.seal-horizontal.fixo {
  animation: none;
  transform: scale(1);
  opacity: 1;
  bottom: 48px;
  right: calc(50% - 452px);
  top: unset;
}

@keyframes sealIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#main-content {
  display: none;
  background: white;
  z-index: 1;
  height: 100vh;
  padding: 0;
}

#main-content.visible {
  display: flex;
}

.hidden {
  display: none;
}

body.page-address-validation .form.content-wrapper,
.modal-change-address .form.content-wrapper {
  display: flex;
  height: 100vh;
  width: 50%;
  justify-content: center;
  align-items: center;
  position: relative;
}

.address {
  max-width: 360px;
  width: 100%;
}

.logo {
  margin-bottom: 2rem;
  min-width: 100%;
}

body.page-address-validation .control.cep,
.modal-change-address .control.cep {
  width: 75%;
  margin-right: 5%;
  margin-bottom: 1rem;
  flex-direction: column;
}

body.page-address-validation .control.cep a,
.modal-change-address .control.cep a {
  margin-left: auto;
  width: fit-content;
  color: #AE2E2A;
  text-decoration: underline;
  font-size: 14px;
}

body.page-address-validation .control.numero,
.modal-change-address .control.numero {
  width: 20%;
}

body.page-address-validation form label.tipo-moradia,
.modal-change-address form label.tipo-moradia {
  width: 47.5%;
  margin-right: 2.5%;
  margin-bottom: 1rem;
}

body.page-address-validation form label.address2,
.modal-change-address form label.address2 {
  width: 47.5%;
  margin-left: 2.5%;
}

body.page-address-validation form select,
.modal-change-address form select {
  height: 41px;
}

body.page-address-validation .address-form.form h1 {
  font-family: 'Klavika Medium';
  font-size: 22px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.5px;
  margin: 0 0 24px;
  padding: 0 50px 0 0;
}

body.page-address-validation .address-form.form h2 {
  font-family: 'Klavika Medium';
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.5px;
  margin: 0;
}

body.page-address-validation .address-form.form h2 b {
  font-family: "Klavika Bold";
}

.house-pin {
  display: flex;
  gap: 1rem;
  margin: 0 0 24px;
  align-items: center;
}

body.page-address-validation .control.triple label,
body.page-address-validation .control label,
body.page-address-validation form label.name,
.modal-change-address .control.triple label,
.modal-change-address .control label,
.modal-change-address form label.name {
  width: 100%;
}

body.page-address-validation .control label.telephone,
body.page-address-validation .control label.mail,
.modal-change-address .control label.telephone,
.modal-change-address .control label.mail  {
  width: 48%;
}

body.page-address-validation form,
.modal-change-address form {
  flex-flow: row wrap;
}

body.page-address-validation .terms-text a,
.modal-change-address .terms-text a {
  color: #867F6C;
}

body.page-address-validation form label.name,
body.page-address-validation .control.tel-email,
.modal-change-address form label.name,
.modal-change-address .control.tel-email {
  margin-bottom: 1rem;
}

/* Responsivo */
@media screen and (max-width: 991px) {
  .logo-wrapper {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    right: unset;
    width: 252px;
    animation: none;
  }

  .logo-icon {
    width: 56px;
  }

  .logo-name {
    width: 180px;
  }

  .logo-tagline {
    top: 60%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 217px;
  }

  .address {
    z-index: 3;
  }

  .seal {
    right: calc(50% - 60px);
    display: block;
  }

  .seal-horizontal {
    top: calc(50vh - 210px);
    z-index: 3;
    right: unset;
    width: 90%;
    left: 5%;
  }

  .seal-horizontal.mobile {
    display: block;
    top: calc(50vh - 50px);
  }

  .seal-horizontal.fixo {
    display: block;
  }

  .seal-horizontal.fixo {
    top: calc(50vh - 155px);
    width: 90%;
  }

  .seal.fixo {
    display: none;
  }

  header.header-intro {
    width: 100%;
    position: fixed;
    left: 0;
    background: #fff;
    top: 0;
    height: auto;
  }

  .logo {
    max-width: 192px;
    margin: 16px 24px;
    min-width: auto;
  }

  .teste {
    margin-top: calc(50vh + 32px);
    margin-bottom: 32px;
  }

  .bg-image {
    height: 50%;
    width: 100%;
    object-fit: cover;
    bottom: 0;
    top: unset;
  }

  .bg-image.fixo {
    top: 0;
    bottom: unset;
    height: 50vh;
  }

  body.page-address-validation .form.content-wrapper,
  .modal-change-address .form.content-wrapper {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    margin: calc(50vh + 2rem) 0 2rem;
    height: auto;
    padding: 0 24px;
  }

  #main-content {
    height: auto;
  }
}
