@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --clr-primary: #1B1464;
  --clr-secondary: #F0F1FC;
  --clr-terciary: #004DFD;
  --orange-gradient: linear-gradient(62deg, #ED1C24 17.56%, #FBB03B 82.44%);
  --ff-primary: "Work Sans", serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ff-primary);
  color: var(--clr-primary);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}

a {
    color: var(--clr-terciary);
}

a:hover {
  color: var(--clr-primary);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.custom-container {
  --max-width: 1190px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - (2 * (var(--padding))));
  margin: 0 auto;
}

#section-ads img {
  margin-inline: auto;
  margin-block: 30px;
  filter: brightness(0) saturate(100%) invert(5%) sepia(58%) saturate(6073%) hue-rotate(242deg) brightness(125%) contrast(96%);
}

.title {
  color: var(--clr-primary);
  font-size: 50px;
  line-height: 1.2;
}

.title span {
  font-weight: 700;
}

.de-DE .title {
  font-size: 40px;
}

.cta {
  border-radius: 10px;
  background: var(--clr-terciary);
  color: #fff;
  border: none;
  transition: all ease .3s;
}

.cta:hover {
  background: var(--clr-primary);
  transform: scale(1.05);
}

/* body {
  background-image: url("/img/hero-pos.png");
  background-repeat: no-repeat;
  background-position: top right;
} */

/* nav bar */
nav {
  margin-top: 80px;
}

.nav_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-bottom: 0;
}

.link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links li:not(:last-child)::after {
  content: ">";
  font-weight: 500;
}

/* hero section */
.hero__wrapper {
  margin-block: 135px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 525px);
  gap: 40px;
}

.hero__wrapper .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 70px;
}

.right {
  position: relative;
  z-index: 1;
}

.hero__wrapper .left-ty {
  gap: 35px;
}

.subtitle {
  font-size: 20px;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-cta {
  text-decoration: none !important;
}

.hero-art {
  width: clamp(280px, 45vw, 650px);
  height: auto;
  object-fit: contain;
  max-width: none;
  position: absolute;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 20px;
  height: 60px;
  border: none;
}

.hero-cta span {
  font-size: 20px;
}

/* section formulario */
#section-form {
  position: relative;
  background: var(--clr-secondary);
  padding-block: 100px;
}

#section-form .custom-container {
  position: relative;
  display: grid;
  grid-template-columns: 365px 1fr;
  align-items: center;
  gap: 40px;
}

.de-DE #formModal .modal-content {
  min-height: 675px;
}

#formModal .modal-dialog {
  max-width: 1100px !important;
  width: calc(100% - 2rem);
  margin: 1rem auto !important;
  height: auto !important;
}

#formModal .modal-content {
  display: flex;
  flex-direction: row !important;
  width: 100% !important;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  border-radius: 20px;
}

.simulacao {
  padding: 34px 90px 30px 60px;
  margin-right: -30px;
  min-height: 595px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 20px;
  z-index: 0;
  pointer-events: none;
  width: 30%;
}

.simulacao-resume p {
  font-size: 24px;
  font-weight: 700;
}

.simulacao-list {
  margin-top: 25px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.simulacao-list li {
  gap: 8px;
  font-size: 14px;
}

.simulacao-list .value {
  font-weight: 500;
  color: #fff;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  display: inline-block;
}

.simulacao-list li.is-empty {
  display: none;
}

.simulacao-list span {
  font-size: 16px;
}

#simulacao-list .label {
  font-weight: 600;
  display: block;
  color: #d0d0d0;
}

#simulacao-list .emoji-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* FORM EM CIMA */
.form__wrapper {
  grid-column: 2;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background: #fff;
  padding: 30px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: auto !important;
  height: auto !important;
  max-height: calc(100vh - 2rem);
  overflow: visible;
}

.form-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: visible;
  padding-right: 8px;
}

.de-DE .form__wrapper {
  min-height: 635px;
}

.question {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.de-DE .question {
  font-size: 22px;
}

/* steps */
.form-steps {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: -28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.form-step {
  display: none;
  width: 100%;
}

.form-step.active {
  display: block;
}

.step-circle {
  width: 55px;
  height: 55px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 5px solid white;
}

.step-circle span {
  color: #F0F1FC;
  font-size: 30px;
  font-weight: 700;
}

.step-circle.active {
  border: 5px solid var(--clr-terciary);
}

.step-circle:not(.active) {
  filter: drop-shadow(0 0 13px rgba(27, 20, 100, 0.25));
}

.step-circle.active span {
  color: var(--clr-terciary);
}

/* answers */
.answers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block: 20px;
}

.de-DE .answers {
  gap: 10px;
}

.radio-button input[type="radio"],
input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button label,
.checkbox-label {
  position: relative;

  transition: background-color 0.3s, border-color 0.3s;
  width: 100%;
  max-width: 500px;
  padding: 18px 24px;
  border-radius: 10px;
  background: var(--clr-secondary);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.de-DE .radio-button label,
.de-DE .checkbox-label {
  padding: 10px 24px;
}

.radio-button label:hover,
.checkbox-label:hover,
input[type="checkbox"]:checked+label {
  background: var(--clr-terciary);
  color: #fff;
}

.radio-label:hover img {
  filter: brightness(0) invert(1);
}

.radio-button input[type="radio"]:checked+label {
  background: var(--clr-terciary);
  color: white;
}

.radio-button input[type="radio"]:checked+label img {
  filter: brightness(0) invert(1);
}

.form-input {
  display: flex;
  flex-direction: column;
}

.form-input label {
  font-size: 20px;
  margin-bottom: 10px;
}

.form-input-empresa {
  margin-top: 25px;
}

input {
  width: 100%;
  max-width: 500px;
  padding: 18px 24px;
  border-radius: 10px;
  background: var(--clr-secondary);
  border: none;
}

.city-selector {
  position: relative;
}

.city-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  max-height: 220px;
  max-width: 500px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(20, 24, 82, .06);
  margin-top: 6px;
  display: none;
}

.city-option {
  padding: 10px 12px;
  cursor: pointer;
}

.city-option:hover,
.city-option[aria-selected="true"] {
  background: var(--clr-terciary, #3b82f6);
  color: #fff;
}

/* error messages */
label.error,
#termos-error,
#terms-error {
  font-size: 11px;
  font-weight: 400;
  color: red;
  margin: 5px auto -10px auto;
  width: 100%;
  padding: 0;
}

.termos-cookies {
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
    margin-top: 16px;
}

.terms2 {
  font-size: 10px;
  line-height: 1.2;
  margin: 0;
}

.form-check {
  text-align: left;
  padding: 0;
}

.form-check label {
  position: relative;
  padding-left: 18px;
  cursor: pointer;
  line-height: 1;
  color: var(--blue);
  font-size: 13px;
  font-weight: 400;
}

.form-check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 12px;
  width: 12px;
  background-color: transparent;
  border: 1px solid var(--clr-terciary);
  border-radius: 2px;
  padding-right: 5px;
  color: var(--clr-terciary);
}

.form-check input[type=checkbox]:checked+.checkmark::after {
  content: "\2713";
  display: block;
  text-align: center;
  line-height: 12px;
  margin-left: 0.5px;
  margin-top: -0.1px;
  font-size: 13px;
}

#politica-link {
  color: var(--clr-primary);
  text-decoration: none;
}

#politica-link:hover {
  color: var(--clr-terciary);
  text-decoration: underline;
}

/* progression bar */
.form-progress {
  --progress: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 500px;
}

.form-progress .track {
  position: relative;
  flex: 1;
  height: 12px;
  background: var(--clr-secondary);
  border-radius: 20px;
  overflow: hidden;
}

.form-progress .bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% * var(--progress));
  background: linear-gradient(276deg, #B7F22E 3.98%, #009412 95.29%);
  border-radius: inherit;
  transition: width 300ms ease;
}

.form-progress .label {
  font-weight: 700;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.form-footer button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 12px;
}

.form-footer .cta {
  flex: 0 0 auto;
  min-width: 0;
}

.form-footer .prev {
  background: none;
  color: var(--clr-primary);
  font-weight: 500;
  padding: 0;
}

/* Parceiros */
#parceiros {
  padding-block: 80px;
  text-align: center;
  background: linear-gradient(180deg, #FFF 0%, #F0F1FC 101.42%);
}

.parceiros__inner {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.parceiros-title {
  font-size: 40px;
  font-weight: 700;
}

.parceiros-slider img {
  margin-inline: auto;
  max-height: 60px;
  object-fit: contain;
}

.de-DE .parceiros-slider img {
  width: 90%;
}

.parceiros-slider::before {
  left: 0;
  background: linear-gradient(to right, rgb(240, 241, 252), rgb(240, 241, 252, 0));
}

.parceiros-slider::after {
  right: 0;
  background: linear-gradient(to left, rgb(240, 241, 252), rgb(240, 241, 252, 0));
}

.parceiros-slider::before,
.parceiros-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 4;
}

/* pos section */
.pos-features {
  --pos-max: 420px;
  --gap: 40px;
  --col-gap-A: 400px;
  --space-AB: 30px;
  background: var(--clr-secondary);
  padding-block: 48px;
  position: relative;
}

.pos-features .view {
  position: relative;
  transition: opacity .45s ease, transform .45s ease;
}

.pos-features .view--B {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;

  transform: translateY(0);
  display: grid;
  place-items: center;
}


.pos-features.is-compact .view--A {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.pos-features.is-compact .view--B {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* .pos-features .view--A {
  display: none !important;
}

.pos-features .view--B {
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
}
 */

.feature-card {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 6px 16px rgba(20, 24, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* layout A */
.view--A .stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  justify-content: center;
}

.view--A .pos {
  height: 445px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .15));
  pointer-events: none;
  z-index: 0;
}

.view--A .posfixo {
  height: 280px;
}

.view--A .cards {
  z-index: 1;
  width: 100%;
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(2, minmax(240px, 400px));
  gap: var(--gap) var(--col-gap-A);
}

.view--A .feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  box-shadow: 0 6px 16px rgba(20, 24, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.view--A .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(20, 24, 82, .10);
}

.card-back {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: absolute;
  inset: 0;
  padding: 2rem;
}

.card-front {
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.card-front img {
  height: 100px;
}

.de-DE .card-front h3 {
  font-size: 18px;
  text-wrap: balance;
}

.view--A .feature-card:hover .card-front {
  opacity: 0;
  transform: translateY(-20px);
}

.view--A .feature-card:hover .card-back {
  opacity: 1;
  transform: translateY(0);
  max-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/* layout B */
.view--B .stage {
  min-height: 560px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-AB);
}

.view--B .pos {
  width: 315px;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .15));
  pointer-events: none;
}

.view--B .cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  gap: var(--gap);
}

.view--B .feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 6px 16px rgba(20, 24, 82, .06);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cards .blue-card {
  background-color: var(--clr-primary);
  color: white;
}

.view--B .feature-card h3 {
  font-size: 25px;
  font-weight: 700;
  min-height: 40px;
}

.de-DE .view--B .feature-card h3 {
  font-size: 22px;
}

.de-DE .view--B .feature-card h3 span,
.de-DE .feature-card span {
  color: #FBB03B;
  font-size: 22px;
  font-style: normal;
}

.feature-card p {
  line-height: 1.2;
  font-weight: 400;
  min-height: 85px;
}

.feature-card span {
  color: #FBB03B;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

.cards-mobile {
  display: none;
}

.cta.prev.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.how-card {
  padding-block: 65px;
  background: #fff;
}

.how-card__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.how-card__title {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  padding-bottom: 10px;
}

.how-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: #2f66ff;
}

/* Steps */
.how-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how-steps li {
  position: relative;
  padding-left: 100px;
  margin-top: 50px;
  line-height: 1.25;
  font-weight: 500;
  font-size: 22px;
}

.how-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -13px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: none;
  background: #FFF;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 32px;
}

.how-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 47px;
  bottom: -40px;
  width: 5px;
  background: var(--clr-terciary);
}

.how-blob__img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* CTA */
.how-card__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.how-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 20px;
  background: var(--clr-terciary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  border: none;
}

.how-btn:hover {
  filter: brightness(0.96);
}

@media (max-width: 1200px) {
  .hero-art {
    min-width: 545px;
    object-fit: contain;
    width: 100%;
    content: "";
    position: absolute;
    top: -22%;
  }

}

@media (max-width: 991px) {
  .nav_wrapper {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .form__wrapper {
    width: 90%;
  }

  .simulacao {
    width: 50%;
  }

  .hero-art {
    min-width: 0;
    object-fit: contain;
    width: 70vw;
    content: "";
    position: static;
    /* top: -22%; */
  }

  .hero__wrapper {
    grid-template-columns: 1fr;
    place-items: center;
    margin-block: 80px;
  }

  .hero__wrapper .left {
    align-items: center;
    gap: 40px;
  }

  .right {
    min-height: 0;
  }

  .title {
    font-size: 40px;
    text-wrap: balance;
    text-align: center;
  }

  .view--A .stage {
    display: flex;
  }

  .view--A .cards {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
  }

  .cards-mobile {
    display: flex;
  }

  .feature-card {
    max-width: 500px;
    height: 300px;
    margin-inline: auto;
  }

  .feature-card p {
    min-height: unset;
    text-wrap: balance;
  }

  .pos-features .view--B {
    display: none;
  }

  .pos-features .view--A .pos {
    display: none;
  }

  .subtitle {
    text-align: center;
  }

  .form-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "progress progress"
      "back next";
    gap: 12px;
  }

  .form-footer .form-progress {
    grid-area: progress;
    width: 100%;
    max-width: none;
  }

  .form-footer .back {
    grid-area: back;
    width: 100%;
    justify-content: center;
  }

  .form-footer .next {
    grid-area: next;
    width: 100%;
    justify-content: center;
  }

  .how-steps li {
    font-size: 18px;
  }

  .how-steps li::before {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .how-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 37px;
    bottom: -40px;
    width: 4px;
  }

  .how-steps li {
    position: relative;
    padding-left: 75px;
    margin-top: 40px;
  }

}

@media (max-width: 900px) {
  #section-form .custom-container {
    grid-template-columns: 1fr;
  }

  .simulacao-resume {
    position: static;
  }

  .simulacao-resume p {
    font-size: 22px;
  }

  .simulacao-list span {
    font-size: 16px;
  }

  .form__wrapper {
    grid-column: 1;
  }

}

@media (max-width: 860px) {

  .how-card__title {
    margin-bottom: 16px;
    font-size: 28px;
    text-align: center;
  }

  .how-card__inner {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .how-steps li {
    font-size: 16px;
  }

  .how-steps li::before {
    width: 40px;
    height: 40px;
  }

  .how-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 27px;
  }

  .how-steps li {
    position: relative;
    padding-left: 75px;
    margin-top: 34px;
  }
}

@media (max-width: 768px) {
  nav {
    margin-top: 50px;
  }

  .hero__wrapper {
    margin-block: 55px;
  }

  .radio-button label,
  .checkbox-label {
    font-size: 18px;
    padding: 15px 20px;
  }

  .form__wrapper {
    padding: 30px 50px;
    flex: none;
  }

  .question {
    font-size: 25px;
  }

  .form-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .simulacao {
    display: none;
  }

  .de-DE .hero-cta span {
    font-size: 15px;
  }

  .how-steps li {
    position: relative;
    padding-left: 58px;
  }

  .how-card__cta {
    margin: 0;
  }

  .how-btn {
    font-size: 16px;
  }
}

@media (max-width: 500px) {

  .de-DE .title,
  .title {
    font-size: 28px;
  }

  .parceiros-slider img {
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .custom-container {
    --padding: 20px;
  }

  .hero-cta span {
    font-size: 16px;
  }

  .form-steps {
    display: none;
  }

  .form-step {
    margin-block: 0 35px;
  }

  .form__wrapper {
    padding: 30px;
    min-height: 360px;
    width: 100%;
  }

  .question {
    text-align: center;
  }

  .radio-button label {
    font-size: 16px;
  }

  .simulacao {
    padding: 40px;
  }

  .radio-button label,
  .checkbox-label {
    padding: 10px 15px;
  }

  .answers {
    gap: 15px;
  }

  input {
    padding: 12px;
  }

  .card-front img {
    height: 60px;
  }

  .parceiros-title {
    font-size: 33px;
  }

  .parceiros__inner {
    gap: 55px;
  }
}

@media (max-width: 400px) {
  .question {
    font-size: 22px;
  }

  .de-DE .hero-cta span {
    font-size: 13px;
  }
}