@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@-webkit-keyframes shake-vertical {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  80% {
    -webkit-transform: translateY(6.4px);
    transform: translateY(6.4px);
  }
  90% {
    -webkit-transform: translateY(-6.4px);
    transform: translateY(-6.4px);
  }
}

@keyframes jump {
  0% {
    top: 0;
  }
  50% {
    top: 12px;
  }
  100% {
    top: 0;
  }
}

@keyframes shake-vertical {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  80% {
    -webkit-transform: translateY(6.4px);
    transform: translateY(6.4px);
  }
  90% {
    -webkit-transform: translateY(-6.4px);
    transform: translateY(-6.4px);
  }
}

@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@-webkit-keyframes jello-vertical {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes jello-vertical {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cabecalho {
  display: none !important;
}

.toggle {
  display: flex !important;
}

.toggle:hover {
  background-color: #22271C !important;
}

.toggle:hover span {
  background-color: #3BAD4C !important;
}

.toggle:hover span:before, .toggle:hover span:after {
  background-color: #3BAD4C !important;
}

.simulacao {
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
}

.etapa {
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
  width: 100%;
  grid-template-columns: 360px 3fr;
  column-gap: 2.5rem;
  align-items: center;
  display: none;
}

.etapa.ativo {
  display: grid;
}

.etapa .label-titulo {
  color: #848484;
  display: block;
  margin-bottom: .75rem;
  font-size: 16px;
  font-size: 1rem;
}

.etapa .btn svg {
  width: 32px;
  height: 32px;
  fill: #FFF;
}

.etapa-conteudo {
  max-width: 360px;
}

.etapa-conteudo-cabecalho {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.etapa-conteudo-cabecalho .back-home {
  margin-right: 1.5rem;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}

.etapa-conteudo-cabecalho .back-home-icone {
  width: 28px;
  height: 16px;
  fill: #3BAD4C;
}

.etapa-conteudo-cabecalho .logo {
  max-width: 200px;
}

.etapa-conteudo-cabecalho .logo img {
  width: 100%;
  height: auto;
}

.etapa-conteudo .titulo {
  color: #22271C;
  line-height: 1.3;
  font-weight: normal;
  margin-bottom: 2.5rem;
  font-size: 24px;
  font-size: 1.5rem;
}

.etapa-conteudo .titulo strong {
  font-weight: bold;
}

.etapa-conteudo .btn {
  max-width: 100%;
  justify-content: center;
  min-width: 147.69px;
  max-height: 51px;
  outline: 0;
}

.etapa-conteudo .controle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}

.etapa-0 .etapa-imagem {
  position: relative;
  height: 100%;
}

.etapa-0 .etapa-imagem::before {
  content: "";
  position: absolute;
  background: url("../../images/site/otimizada/home.png") center no-repeat;
  background-size: 60%;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
}

.etapa-1 .etapa-imagem {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.etapa-1 .etapa-imagem img {
  z-index: 2;
  width: 100%;
}

.etapa-1 .etapa-imagem .carro {
  max-width: 1000px;
}

.etapa-1 .etapa-imagem .moto {
  max-width: 960px;
}

.etapa-1 .etapa-imagem .imovel {
  max-width: 900px;
}

.etapa-1 .etapa-imagem .servico {
  max-width: 478px;
  margin-right: 25%;
}

.etapa-2 {
  max-width: 100%;
  background: #3BAD4C;
  background-size: cover;
  background-position-x: 10rem;
  background-position-y: -16rem;
  grid-template-columns: 1fr;
  justify-items: center;
}

.etapa-2 .etapa-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.etapa-2 .etapa-conteudo > svg {
  max-width: 70px;
  height: 70px;
  fill: #FFF;
  width: auto;
  margin-bottom: 2rem;
}

.etapa-2 .etapa-conteudo .titulo {
  color: #FFF;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-size: 40px;
  font-size: 2.5rem;
}

.etapa-2 .etapa-conteudo .subtitulo {
  font-weight: normal;
  margin-bottom: 6rem;
  line-height: 1.5;
  font-size: 24px;
  font-size: 1.5rem;
}

.etapa-2 .etapa-conteudo .subtitulo strong {
  font-weight: bold;
}

.etapa-2 .etapa-conteudo .btn {
  width: 100%;
  border: 1px solid #FFF;
  margin-bottom: 1rem;
}

.etapa-2 .etapa-conteudo .btn:last-child {
  margin-bottom: 0;
}

.etapa-2 .etapa-conteudo .btn:hover {
  color: #3BAD4C;
  background: #FFF;
}

.etapa-2.ativo ~ #pos1 {
  right: initial;
  left: 12%;
}

.etapa-2.ativo ~ #pos3 {
  bottom: 10%;
  right: initial;
  left: 15%;
}

.etapa-2.ativo ~ #pos4 {
  bottom: 25%;
  right: 10%;
}

.objetivo {
  width: 100%;
  margin-bottom: 2rem;
}

.objetivo-conteudo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 1rem;
}

.objetivo-conteudo-item {
  padding: 1rem .5rem;
  border: 1px solid #848484;
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.objetivo-conteudo-item > svg {
  max-width: 50px;
  height: 36px;
  fill: #848484;
  width: auto;
  margin-bottom: .75rem;
}

.objetivo-conteudo-item .texto {
  color: #848484;
  font-size: 11px;
  font-size: 0.6875rem;
}

.objetivo-conteudo-item.ativo, .objetivo-conteudo-item:hover {
  cursor: pointer;
  background: #3BAD4C;
  border-color: #3BAD4C;
  box-shadow: 2px 2px 5px rgba(119, 119, 199, 0.4);
}

.objetivo-conteudo-item.ativo > svg, .objetivo-conteudo-item:hover > svg {
  fill: #FFF;
}

.objetivo-conteudo-item.ativo .texto, .objetivo-conteudo-item:hover .texto {
  color: #FFF;
}

.valor {
  width: 100%;
  margin-bottom: 2rem;
}

.valor-desejado {
  color: #22271C;
  display: block;
  margin-bottom: .5rem;
  font-size: 24px;
  font-size: 1.5rem;
}

.valor .range {
  position: relative;
}

.valor .range-input {
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  margin: 0;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  outline: none;
  background-color: transparent;
}

.valor .range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background-color: #22772e;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  transform: rotate(-45deg) translate(0%, 0%);
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.parcela {
  width: 100%;
  margin-bottom: 6rem;
}

.parcela-desejada {
  color: #22271C;
  display: block;
  margin-bottom: .5rem;
  font-size: 24px;
  font-size: 1.5rem;
}

.parcela .range-input {
  position: relative;
}

.parcela .range-input-parcela {
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  margin: 0;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  outline: none;
  background-color: transparent;
}

.parcela .range-input-parcela::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background-color: #22772e;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  transform: rotate(-45deg) translate(0%, 0%);
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.slider {
  width: 100%;
  height: auto;
}

.slider input[type=range] {
  margin: auto;
  outline: none;
  padding: 0;
  width: 100%;
  height: 6px;
  background-color: #E5E5E5;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3BAD4C), color-stop(100%, #3BAD4C));
  background-size: 50% 100%;
  background-repeat: no-repeat;
  border-radius: 10px;
  cursor: pointer;
  -webkit-appearance: none;
}

.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 300ms;
}

#pos1 {
  right: 51%;
}

#object-before-simulator {
  z-index: 0;
  top: -30%;
  right: -20%;
  opacity: .24;
  position: absolute;
}

@media (max-width: 1681px) {
  .toggle {
    padding: .5rem 2.5rem !important;
    font-size: 1.375rem !important;
    font-size: 22px !important;
  }
  .etapa {
    max-width: 1272px;
  }
  .etapa-2 {
    max-width: 100%;
  }
  .etapa-1 .etapa-imagem .imovel,
  .etapa-1 .etapa-imagem .carro {
    max-width: 720px;
  }
  .etapa-1 .etapa-imagem .moto {
    max-width: 760px;
  }
  .etapa-1 .etapa-imagem .servico {
    max-width: 400px;
  }
  #object-before-simulator {
    width: 100%;
  }
}

@media (max-width: 1441px) {
  .toggle {
    padding: .5rem 1.5rem;
    font-size: 18px;
    font-size: 1.125rem;
  }
  #pos1 {
    right: 46.5%;
  }
  .etapa .label-titulo {
    margin-bottom: .5rem;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .etapa-conteudo-cabecalho {
    margin-bottom: 2.5rem;
  }
  .etapa-conteudo-cabecalho .logo {
    max-width: 150px;
  }
  .etapa-conteudo .titulo {
    margin-bottom: 2rem;
    font-size: 22px;
    font-size: 1.375rem;
  }
  .etapa-conteudo .btn {
    min-width: 130.95px;
  }
  .etapa-imagem::before {
    width: 50%;
    right: -2rem;
  }
  .etapa-0 .etapa-imagem::before {
    background-size: 50%;
  }
  .etapa-1 .etapa-imagem .carro {
    max-width: 720px;
  }
  .etapa-1 .etapa-imagem .imovel {
    max-width: 660px;
  }
  .etapa-1 .etapa-imagem .moto {
    max-width: 660px;
  }
  .etapa-1 .etapa-imagem .servico {
    max-width: 340px;
  }
  .etapa-2 .etapa-conteudo .titulo {
    font-size: 32px;
    font-size: 2rem;
  }
  .etapa-2 .etapa-conteudo .subtitulo {
    margin-bottom: 4.5rem;
    font-size: 18px;
    font-size: 1.125rem;
  }
  .etapa-2 .etapa-conteudo .btn {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .objetivo-conteudo-item > svg {
    max-width: 36px;
    height: 26px;
  }
  .valor-desejado {
    font-size: 22px;
    font-size: 1.375rem;
  }
  .valor .range-bar {
    top: 7px;
    height: 7px;
  }
  .valor .range-input {
    height: 7px;
  }
  .valor .range-input::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }
  .parcela {
    margin-bottom: 4rem;
  }
  .parcela-desejada {
    font-size: 22px;
    font-size: 1.375rem;
  }
  .parcela .range-input-bar {
    top: 7px;
    height: 7px;
  }
  .parcela .range-input-parcela {
    height: 7px;
  }
  .parcela .range-input-parcela::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }
  #object-before-simulator {
    top: -28%;
    right: -16%;
  }
}

@media (max-width: 1281px) {
  #pos1 {
    right: 51%;
  }
  .etapa {
    max-width: 1170px;
  }
  .etapa-2 {
    max-width: 100%;
  }
  .etapa-imagem::before {
    width: 55%;
    right: -2rem;
  }
  .etapa-1 .etapa-imagem .imovel,
  .etapa-1 .etapa-imagem .carro {
    max-width: 640px;
  }
}

@media (max-width: 1025px) {
  .etapa {
    max-width: 900px;
  }
  .etapa-2 {
    max-width: 100%;
  }
  .etapa-1 .etapa-imagem .moto {
    max-width: 640px;
  }
  .etapa-1 .etapa-imagem .servico {
    max-width: 300px;
  }
  .etapa .label-titulo {
    font-size: 12px;
    font-size: 0.75rem;
  }
  .etapa-conteudo-cabecalho {
    margin-bottom: 2rem;
  }
  .etapa-conteudo-cabecalho .logo {
    max-width: 120px;
  }
  .etapa-conteudo .titulo {
    margin-bottom: 1.125rem;
    font-size: 18px;
    font-size: 1.125rem;
  }
  .etapa-imagem::before {
    width: 55%;
    right: -1.5rem;
  }
  .etapa-2 {
    background-position-x: 6rem;
    background-position-y: -10rem;
  }
}

@media (max-width: 978px) {
  .toggle {
    padding: 16px 4px !important;
    color: #FFF;
    cursor: pointer;
    outline: none;
    position: fixed;
    z-index: 8;
    top: 1.5rem !important;
    right: 1.5rem !important;
    display: flex;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    -webkit-flex-direction: row;
    display: none;
    background: transparent;
  }
  .toggle .texto-menu {
    display: none !important;
  }
  .toggle span {
    width: 1.75rem;
    height: 2px;
    background-color: #333333 !important;
    position: relative;
  }
  .toggle span:before, .toggle span:after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #333333 !important;
    display: block;
    position: absolute;
  }
  .toggle span:before {
    top: 8px;
  }
  .toggle span:after {
    top: -8px;
  }
  .toggle:hover {
    color: #3BAD4C;
    background: transparent !important;
  }
  .toggle:hover span {
    background-color: #3BAD4C;
  }
  .toggle:hover span:before, .toggle:hover span:after {
    background-color: #3BAD4C;
  }
  .toggle--second span {
    background-color: #FFF !important;
  }
  .toggle--second span:before, .toggle--second span:after {
    background-color: #FFF !important;
  }
  .toggle--second:hover span {
    background-color: #22271C !important;
  }
  .toggle--second:hover span:before, .toggle--second:hover span:after {
    background-color: #22271C !important;
  }
  .simulacao {
    overflow: auto;
  }
  .etapa {
    grid-template-columns: 1fr;
    column-gap: 0;
    max-width: 768px;
  }
  .etapa-2 {
    background: #3BAD4C;
  }
  .etapa-2 .etapa-conteudo {
    align-items: flex-start;
  }
  .etapa-2 .etapa-conteudo .titulo {
    text-align: left;
    line-height: 1.2;
    font-size: 28px;
    font-size: 1.75rem;
  }
  .etapa-2 .etapa-conteudo .subtitulo {
    line-height: 1.5;
    font-size: 16px;
    font-size: 1rem;
  }
  .etapa-2 .etapa-conteudo .btn {
    max-width: 100%;
    margin: .375rem 0;
  }
  .etapa .label-titulo {
    font-size: 12px;
    font-size: 0.75rem;
  }
  .etapa-conteudo {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  .etapa-conteudo-cabecalho {
    margin-bottom: 2.5rem;
  }
  .etapa-conteudo-cabecalho .logo {
    max-width: 120px;
  }
  .etapa-conteudo .titulo {
    margin-bottom: 2rem;
    font-size: 18px;
    font-size: 1.125rem;
  }
  .etapa-conteudo .btn {
    margin-top: 2rem;
  }
  .etapa .etapa-imagem {
    display: none;
  }
  .objetivo-conteudo {
    column-gap: .625rem;
  }
  .objetivo-conteudo-item {
    padding: .75rem .25rem;
  }
  .objetivo-conteudo-item > svg {
    margin-bottom: .25rem;
  }
  .objetivo-conteudo-item .texto {
    font-size: 9px;
    font-size: 0.5625rem;
  }
  .valor-desejado {
    font-size: 20px;
    font-size: 1.25rem;
  }
  #pos1,
  #pos2,
  #pos3,
  #pos4,
  #object-before-simulator {
    display: none;
  }
}
