:root {
  --yellow: #ffba04;
  --yellow-dark: #f1ad00;
  --green: #34cf5b;
  --ink: #252527;
  --muted: #969696;
  --line: #1f1f1f;
  --page: #ececec;
  --panel: #e1e1e1;
  --white-soft: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Sora", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.promo-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #030303;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  padding: 8px 18px;
  text-align: center;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  min-height: 103px;
  margin-inline: auto;
}

.brand img {
  display: block;
  width: 88px;
  height: auto;
}

.header-whatsapp {
  display: inline-flex;
  min-width: 167px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.whatsapp-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 540px;
  align-items: center;
  justify-content: space-between;
  min-height: 560px;
  gap: 72px;
  padding-top: 0;
}

.hero-copy {
  width: 100%;
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-width: 355px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 34px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.eyebrow span {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
}

.hero h1 {
  margin: 40px 0 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
}

.hero p {
  max-width: 660px;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.hero-copy > p {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover,
.header-whatsapp:hover,
.learn-more:hover {
  filter: brightness(0.96);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  min-width: 338px;
  background: var(--yellow);
  color: #0e0e0e;
  padding-inline: 34px;
  font-size: 20px;
  font-weight: 500;
}

.button-primary span {
  font-size: 24px;
  line-height: 1;
}

.button-arrow {
  display: block;
  width: 8px;
  height: 13px;
}

.button-arrow.is-large {
  width: 28px;
  height: 28px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 20px;
  font-weight: 500;
  line-height: 105.37%;
}

.learn-more img {
  display: block;
  width: 13px;
  height: 13px;
  transform-origin: center;
}

.hero-art {
  position: relative;
  width: 540px;
  min-height: 562px;
}

.proof-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 20px;
  background: #242424;
  color: #f5f5f5;
  padding: 28px 34px;
  margin-bottom: 32px;
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proof-items p {
  margin: 0;
}

.proof-items strong {
  display: block;
  color: var(--yellow);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
}

.proof-items span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.35;
}

.proof-strip small {
  max-width: 230px;
  color: #d6d6d6;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.35;
}

.hero-person {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 539px;
  height: 562px;
  object-fit: contain;
}

.floating-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
}

.floating-icon img {
  display: block;
  width: 33px;
  height: 33px;
}

.icon-a {
  top: 134px;
  left: 139px;
  width: 43px;
  height: 43px;
  border-radius: 7px;
  transform: rotate(17.12deg);
}

.icon-a img {
  width: 22px;
  height: 22px;
}

.icon-b {
  top: 224px;
  right: 10px;
  transform: rotate(15.17deg);
}

.icon-c {
  top: 277px;
  left: 56px;
  transform: rotate(-28.55deg);
}

.icon-d {
  left: 191px;
  bottom: 52px;
  transform: rotate(17.84deg);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  min-height: 417px;
  border-radius: 30px;
  background: var(--panel);
  padding: 70px 75px;
}

.benefits article {
  min-height: 277px;
  border-radius: 25px;
  background: var(--page);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.card-icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  margin-bottom: 15px;
}

.card-icon img {
  display: block;
  width: 30px;
  height: 30px;
}

.benefits h2 {
  margin: 0 0 5px;
  font-size: 30px;
  font-weight: 500;
  line-height: 105.37%;
}

.benefits p {
  max-width: 267px;
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 132%;
}

.site-footer {
  padding: 99px 0 50px;
}

.footer-top,
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-logo {
  width: 124px;
  height: auto;
}

.footer-top p {
  max-width: 670px;
  margin: 27px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 140%;
}

.footer-top .trust-note {
  max-width: 800px;
  margin-top: 24px;
}

.trust-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.social {
  min-width: 260px;
  padding-top: 6px;
}

.social strong {
  font-size: 16px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
}

.social-icons img {
  display: block;
  max-width: 25px;
  height: 25px;
  object-fit: contain;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-line {
  height: 1px;
  background: #d7d7d7;
  margin: 35px 0 48px;
}

.footer-legal {
  align-items: center;
}

.footer-legal p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 105.37%;
}

.footer-legal nav {
  display: flex;
  gap: 92px;
  color: #4c4c4c;
  font-size: 12px;
  font-weight: 300;
  line-height: 105.37%;
}

.fine-print {
  margin: 48px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 124%;
  text-align: justify;
}

.simulator .shell {
  padding: 50px 0 74px;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 25px;
  padding: 10px 0;
  margin-bottom: 40px;
}

.progress span {
  height: 5px;
  border-radius: 99px;
  background: #c7c7c7;
}

.progress span.is-filled {
  background: var(--yellow);
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.step-kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 23px;
  margin-bottom: 29px;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 0;
  background: transparent;
  color: #999;
  cursor: pointer;
  padding: 5px 8px;
  margin: 0;
}

.back-top img {
  display: block;
  width: 8px;
  height: 13px;
}

.step-label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
}

.step h2 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
}

.step-subtitle {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.debt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.debt-grid button {
  display: flex;
  min-height: 144px;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 40px 30px;
  text-align: left;
  font-size: 25px;
  font-weight: 500;
  line-height: 105.37%;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.debt-grid button:hover,
.debt-grid button.is-selected {
  background: rgba(255, 186, 4, 0.15);
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.debt-icon {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
}

.debt-icon img {
  display: block;
  width: 33px;
  height: 33px;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}

.button-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.button-text img {
  display: block;
  width: 20px;
  height: 20px;
}

.step-nav .button-primary {
  min-width: 241px;
  min-height: 78px;
  border-radius: 50px;
  padding: 25px 50px;
  font-size: 20px;
  line-height: 25px;
}

.amount-box {
  display: flex;
  min-height: 173px;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #dcdcdc;
  padding: 50px;
}

.amount-box span {
  display: block;
  color: #4f4f4f;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.amount-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 45px;
  font-weight: 600;
  line-height: 57px;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.suggestions span {
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.suggestions button {
  min-height: 45px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  cursor: pointer;
  padding: 10px 25px;
  color: #121212;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.step-two .step-nav {
  margin-top: 39px;
}

.step-two .step-nav .button-primary {
  min-width: 281px;
}

.installments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.installment-option {
  position: relative;
  min-height: 214px;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  padding: 50px 25px 30px;
  text-align: left;
  color: var(--ink);
}

.installment-option.is-selected {
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
}

.installment-option .term {
  display: block;
  color: var(--muted);
  font-size: 30px;
  line-height: 1;
}

.installment-option.is-selected .term {
  color: #111;
}

.installment-option .payment {
  display: block;
  margin-top: 15px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.installment-option .per-month {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 20px;
}

.installment-option.is-selected .per-month {
  color: rgba(0, 0, 0, 0.62);
}

.installment-option.is-selected::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image: url("assets/page-3-icon-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 40px;
  border-radius: 22px;
  background: var(--yellow);
  padding: 30px 40px 35px;
}

.result-card p {
  margin: 0;
  font-size: 23px;
  line-height: 1.75;
}

.result-card strong {
  display: block;
  font-size: 64px;
  line-height: 1.05;
}

.result-card div:last-child {
  min-width: 286px;
  color: rgba(0, 0, 0, 0.63);
}

.whatsapp-cta {
  width: 100%;
  min-height: 78px;
  margin-top: 40px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 28px;
}

.whatsapp-help {
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 16px;
}

.only-back {
  margin-top: 31px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip small {
    max-width: none;
  }

  .hero-art {
    min-height: 500px;
    margin-top: 20px;
    justify-self: center;
    transform: scale(0.9);
    transform-origin: top center;
  }

  .benefits,
  .debt-grid,
  .installments-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top,
  .footer-legal,
  .result-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal nav {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .promo-bar {
    font-size: 14px;
    line-height: 1.35;
    padding: 12px 18px;
  }

  .shell,
  .site-header {
    width: min(100% - 32px, 1200px);
  }

  .site-header {
    min-height: 82px;
  }

  .brand img {
    width: 76px;
  }

  .header-whatsapp {
    min-width: 126px;
    min-height: 39px;
    font-size: 17px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 10px;
  }

  .eyebrow {
    min-width: 0;
    min-height: 40px;
    padding-inline: 16px;
    font-size: 15px;
  }

  .hero h1 {
    margin-top: 36px;
    font-size: 34px;
    line-height: 1.12;
  }

  .hero p {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.34;
  }

  .step-subtitle {
    font-size: 20px;
    line-height: 1.28;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .button-primary {
    width: 100%;
    min-width: 0;
    padding-inline: 22px;
  }

  .proof-strip {
    padding: 24px;
    margin-top: 28px;
  }

  .proof-items {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .proof-items strong {
    font-size: 25px;
  }

  .hero-art {
    width: 100%;
    aspect-ratio: 540 / 562;
    overflow: hidden;
    min-height: 0;
    transform: none;
    margin-top: 26px;
    margin-bottom: 0;
  }

  .hero-person {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .floating-icon {
    width: 12%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 9px;
  }

  .floating-icon img {
    width: 54%;
    height: 54%;
  }

  .icon-a {
    top: 24%;
    left: 26%;
  }

  .icon-b {
    top: 40%;
    right: 2%;
  }

  .icon-c {
    top: 50%;
    left: 10%;
  }

  .icon-d {
    left: 36%;
    right: auto;
    bottom: 10%;
  }

  .benefits,
  .installments-grid {
    grid-template-columns: 1fr;
  }

  .debt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .benefits {
    padding: 28px;
  }

  .benefits article {
    min-height: 220px;
    padding: 38px 28px;
  }

  .site-footer {
    padding-top: 76px;
  }

  .footer-legal nav {
    flex-direction: column;
    gap: 14px;
  }

  .simulator .shell {
    padding-top: 40px;
  }

  .step h2 {
    font-size: 34px;
    line-height: 1.18;
  }

  .debt-grid button {
    min-height: 148px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 18px;
    font-size: 17px;
    line-height: 1.17;
  }

  .debt-icon {
    width: 54px;
    height: 54px;
    border-radius: 9px;
  }

  .debt-icon img {
    width: 30px;
    height: 30px;
  }

  .step-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .button-text {
    text-align: left;
  }

  .amount-box {
    padding: 34px 24px;
  }

  .amount-box input {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.2;
  }

  .suggestions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .suggestions span {
    grid-column: 1 / -1;
  }

  .suggestions button {
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .installment-option {
    min-height: 155px;
    padding-top: 32px;
  }

  .result-card {
    gap: 18px;
    padding: 26px;
  }

  .result-card strong {
    font-size: 48px;
  }

  .whatsapp-cta {
    min-height: 68px;
    padding-inline: 18px;
    font-size: 22px;
    text-align: center;
  }
}
