/* Proposta reversível: só aparece com ?cta-photo-proposal=1. */
.final-cta__mantra-proposal { display: none; }

.cta-photo-proposal .final-cta__visual {
  z-index: 0;
  right: 0;
  left: auto;
  width: 62%;
  height: 700px;
  overflow: visible;
  background: url("assets/fabiana-cta-proposta-original.png") center top / cover no-repeat;
}

.cta-photo-proposal .final-cta::before,
.cta-photo-proposal .final-cta::after {
  content: "";
  position: absolute;
  top: 0;
  height: 700px;
  pointer-events: none;
}

.cta-photo-proposal .final-cta::before {
  z-index: 1;
  left: 0;
  width: 70%;
  background: url("assets/08_fundo_luz_janela_sem_planta.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0 55%, rgba(0, 0, 0, .62) 70%, transparent 90%);
  mask-image: linear-gradient(90deg, #000 0 55%, rgba(0, 0, 0, .62) 70%, transparent 90%);
}

.cta-photo-proposal .final-cta::after {
  z-index: 2;
  left: -25px;
  width: 420px;
  background-image: url("assets/08_folhagem_lateral_transparente.png"), url("assets/08_folhagem_lateral_transparente.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 660px 350px, 660px 350px;
  background-position: left top, left bottom;
  opacity: .78;
  -webkit-mask-image: linear-gradient(90deg, #000 0 12%, rgba(0, 0, 0, .75) 18%, transparent 34%);
  mask-image: linear-gradient(90deg, #000 0 12%, rgba(0, 0, 0, .75) 18%, transparent 34%);
}

.cta-photo-proposal .final-cta__environment {
  visibility: hidden;
}

.cta-photo-proposal .final-cta::after {
  display: none;
}

.cta-photo-proposal .final-cta__visual::after {
  z-index: 2;
  background: linear-gradient(90deg, #faf7f1 0 12%, transparent 32% 100%);
}

.cta-photo-proposal .final-cta__content,
.cta-photo-proposal .final-cta__attributes {
  position: relative;
  z-index: 3;
  width: min(590px, calc(47% - 70px));
  margin-right: auto;
  margin-left: max(110px, calc((100% - 1220px) / 2));
}

.cta-photo-proposal .final-cta__attributes {
  margin-top: -118px;
  margin-bottom: 18px;
}

.cta-photo-proposal .final-cta__visual .final-cta__mantra {
  display: none;
}

.cta-photo-proposal .final-cta__mantra-proposal {
  display: block;
  position: relative;
  z-index: 3;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 280px;
  margin: 0 0 30px max(110px, calc((100% - 1220px) / 2));
}

@media (min-width: 761px) {
  .cta-photo-proposal .final-cta__mantra-proposal {
    transform: translateX(calc(min(590px, calc(47vw - 70px)) - 280px));
  }
}

.cta-photo-proposal .site-footer__inner {
  padding-top: 44px;
  padding-bottom: 40px;
}

.cta-photo-proposal .site-footer {
  position: relative;
  z-index: 3;
}

@media (max-width: 760px) {
  .cta-photo-proposal .final-cta::before {
    z-index: 0;
    width: 100%;
    height: 340px;
    -webkit-mask-image: linear-gradient(180deg, #000 0 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0 62%, transparent 100%);
  }

  .cta-photo-proposal .final-cta::after {
    width: 200px;
    height: 340px;
    background-size: 320px 170px, 320px 170px;
    opacity: .42;
  }

  .cta-photo-proposal .final-cta__visual {
    z-index: 1;
    right: auto;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background-size: auto 132%;
    background-position: center 12%;
  }

  .cta-photo-proposal .final-cta__visual::after {
    background: linear-gradient(180deg, transparent 74%, #faf7f1 100%);
  }

  .cta-photo-proposal .final-cta__content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .cta-photo-proposal .final-cta__attributes {
    width: calc(100% - 32px);
    margin: 44px auto 54px;
  }

  .cta-photo-proposal .final-cta__mantra-proposal {
    width: calc(100% - 64px);
    margin: 0 auto 38px;
  }

  .cta-photo-proposal .site-footer__inner {
    padding-top: 58px;
    padding-bottom: 54px;
  }
}
