:root {
  --clr-navy: #001743;
  --clr-teal: #2292a4;
  --clr-teal-soft: #c1e4e8;
  --clr-teal-ring: #bddee4;
  --clr-teal-tint: rgba(34, 146, 164, 0.1);
  --clr-orange: #ff4a1c;
  --clr-orange-hover: #e83d10;
  --clr-border: #e1e5ed;
  --clr-border-strong: #dcdcdc;
  --clr-bg-soft: #f6f7f9;
  --clr-muted: #a4a4a4;
  --clr-white: #ffffff;

  --shadow-soft: 0 0 15px var(--clr-border);

  --ff-primary: "Raleway", sans-serif;
}

/* ==========================================================
   Base
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 !important;
  font-family: var(--ff-primary);
  font-size: 16px;
  color: var(--clr-navy);
  background: var(--clr-white);
  overflow-x: hidden !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

a:hover {
  color: inherit;
}

.custom-container {
  --max-width: 1240px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - (2 * var(--padding)));
  margin: 0 auto;
}

#section-ads {
  display: flex;
  justify-content: center;
  width: 100%;
}

#section-ads a {
  width: unset;
  padding: 20px;
}

/* ==========================================================
   Shared components
   ========================================================== */
.badge-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--clr-teal-soft);
  color: var(--clr-teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

.section-title {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}

.section-lead {
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 20px;
}

.section-lead--loose {
  line-height: 24px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--clr-orange);
  color: var(--clr-white);
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-cta:hover {
  background: var(--clr-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 74, 28, 0.3);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--clr-teal-soft);
  outline-offset: 2px;
}

.btn-cta--sm {
  gap: 10px;
  height: 40px;
  padding: 0 30px;
  border-radius: 12px;
  font-size: 16px;
}

.btn-cta--lg {
  gap: 20px;
  height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: clamp(17px, 1.4vw, 20px);
  min-width: 216px;
}

.btn-cta--wide {
  min-width: 390px;
}

.btn-cta__arrow {
  transform: rotate(180deg);
  transition: transform 0.2s;
}

.btn-cta:hover .btn-cta__arrow {
  transform: rotate(180deg) translateX(-4px);
}

.btn-cta--sm img {
  transition: transform 0.2s;
}

.btn-cta--sm:hover img {
  transform: translateX(3px);
}

/* ==========================================================
   Navbar
   ========================================================== */
.navbar-lp {
  display: flex;
  align-items: center;
  height: 100px;
  background: var(--clr-white);
}

.navbar-lp .custom-container {
  display: flex;
  justify-content: center;
}

.navbar-lp__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: url("/nova-lp-assets/img/hero-bg.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 250, 252, 0.89);
}

.hero__couple {
  position: absolute;
  bottom: 0;
  left: calc(50% - 498px);
  width: 791px;
  height: 511px;
  object-fit: cover;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 630px;
  padding: 60px 0;
}

.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 463px;
  padding-top: 20px;
}

.hero__headlines {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  font-size: clamp(32px, 3.5vw, 50px);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.1;
}

.hero__title-accent {
  color: var(--clr-teal);
}

.hero__lead {
  max-width: 330px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 22px;
}

.hero__lead strong {
  font-weight: 700;
}

.hero__checkpoints {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__checkpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.hero__check {
  display: inline-flex;
  padding: 4px;
  border-radius: 100px;
  background: var(--clr-teal);
}

.hero__form {
  flex-shrink: 0;
  width: 450px;
}

/* Hero entrance */
html.has-js .hero__anim {
  opacity: 0;
  transform: translateY(20px);
}

html.has-js .hero.is-loaded .hero__anim {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero.is-loaded .hero__anim:nth-child(2) {
  transition-delay: 0.1s;
}
.hero.is-loaded .hero__anim:nth-child(3) {
  transition-delay: 0.2s;
}
.hero.is-loaded .hero__form {
  transition-delay: 0.3s;
}

/* ==========================================================
   Simulation form
   ========================================================== */
.sim-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 40px 30px;
  border: 1px solid var(--clr-border-strong);
  border-radius: 24px;
  background: var(--clr-white);
  box-shadow: var(--shadow-soft);
}

.sim-form.is-highlight {
  animation: form-pulse 1s ease;
}

@keyframes form-pulse {
  0%,
  100% {
    box-shadow: var(--shadow-soft);
  }
  40% {
    box-shadow:
      0 0 0 6px var(--clr-teal-soft),
      var(--shadow-soft);
  }
}

.sim-form__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.sim-form__progress-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-form__back {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--clr-teal-tint);
  color: var(--clr-teal);
  cursor: pointer;
  animation: step-in-back .3s ease;
  transition: background-color .2s, color .2s;
}

.sim-form__back[hidden] {
  display: none;
}

/* seta pintada com currentColor → muda de cor no hover */
.sim-form__back::before {
  content: "";
  width: 14px;
  height: 10px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("/nova-lp-assets/img/icons/arrow-left-alt.svg") center / contain no-repeat;
  mask: url("/nova-lp-assets/img/icons/arrow-left-alt.svg") center / contain no-repeat;
  transition: transform .2s;
}

.sim-form__back:hover {
  background: var(--clr-teal);
  color: var(--clr-white);
}

.sim-form__back:hover::before {
  transform: translateX(-2px);
}

.sim-form__back:focus-visible {
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
}

.sim-form__progress-label {
  font-size: 16px;
  font-weight: 800;
}

.sim-form__progress-bar {
  height: 4px;
  background: var(--clr-bg-soft);
}

.sim-form__progress-fill {
  display: block;
  width: 9%;
  height: 100%;
  border-radius: 2px;
  background: var(--clr-teal);
  transition: width 0.5s ease;
}

.sim-form__step {
  display: none;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.sim-form__step.is-active {
  display: flex;
  animation: step-in 0.4s ease;
}

.sim-form__step.is-back {
  animation-name: step-in-back;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes step-in-back {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sim-form__title {
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 700;
  text-align: center;
  text-wrap: balance;
}

.sim-form__questions,
.sim-form__reveal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-form__reveal {
  gap: 30px;
  animation: step-in 0.4s ease;
}

/* condições data-show-if (form.js) */
.sim-form .is-hidden {
  display: none !important;
}

.sim-form__question {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.sim-form__label {
  display: block;
  float: none;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.sim-form__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.sim-form__options--stack {
  grid-template-columns: minmax(0, 1fr);
}

.sim-form__question.has-error .sim-option__box,
.sim-field.has-error .sim-field__input,
.sim-field.has-error .sim-check__box {
  border-color: var(--clr-orange);
}

.sim-form__question.has-error,
.sim-field.has-error {
  animation: shake 0.35s ease;
}

@keyframes shake {
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-3px);
  }
}

.sim-form .error {
  display: block;
  margin-top: 8px;
  color: var(--clr-orange);
  font-size: 12px;
  font-weight: 600;
}

.sim-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.sim-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sim-option__box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    color 0.2s;
}

.sim-option:hover .sim-option__box {
  border-color: var(--clr-teal);
}

.sim-option__input:focus-visible + .sim-option__box {
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
}

.sim-option__input:checked + .sim-option__box {
  border-color: var(--clr-teal);
  background: var(--clr-teal-tint);
  color: var(--clr-teal);
  font-weight: 700;
}

/* Opção em card com ícone (vivienda) */
.sim-option__box--card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 13px;
  height: auto;
  min-height: 106px;
  padding: 15px;
  text-align: left;
  line-height: normal;
}

/* ícone mono-cor pintado com a cor do texto → fica teal quando selecionado */
.sim-option__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* Slider de valor */
.sim-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.sim-slider__value {
  font-size: clamp(32px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.sim-slider__input {
  --fill: 0%;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sim-slider__input:focus {
  outline: none;
}

.sim-slider__input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background:
    linear-gradient(var(--clr-teal), var(--clr-teal)) 0 / var(--fill) 100%
      no-repeat,
    var(--clr-border);
}

.sim-slider__input::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--clr-border);
}

.sim-slider__input::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--clr-teal);
}

/* o SVG do handle tem 30×30 com a sombra incluída; o círculo está centrado em (15, 13) */
.sim-slider__input::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border: 0;
  background: url("/nova-lp-assets/img/form/slider-handle.svg") center / 30px 30px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.15s;
}

.sim-slider__input::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url("/nova-lp-assets/img/form/slider-handle.svg") center 2px / 30px 30px
    no-repeat;
  transition: transform 0.15s;
}

.sim-slider__input:active::-webkit-slider-thumb {
  transform: scale(1.1);
}
.sim-slider__input:active::-moz-range-thumb {
  transform: scale(1.1);
}

.sim-slider__input:focus-visible::-webkit-slider-thumb {
  border-radius: 50%;
  box-shadow: 0 -2px 0 3px var(--clr-teal-soft);
}

.sim-slider__limits {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: -20px;
  font-size: 12px;
  font-weight: 500;
}

/* Campos de texto / select */
.sim-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 8px;
}

.sim-field__input {
  width: 100%;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  background: var(--clr-white);
  color: var(--clr-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s;
}

.sim-field__input::placeholder {
  color: var(--clr-muted);
}

.sim-field__input:hover {
  border-color: var(--clr-teal);
}

.sim-field__input:focus {
  border-color: var(--clr-teal);
  outline: none;
  box-shadow: 0 0 0 3px var(--clr-teal-tint);
}

.sim-field__select {
  padding-right: 45px;
  background: var(--clr-white) url("/nova-lp-assets/img/form/select-arrow.svg") right 20px
    center / 11.15px 6.55px no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sim-field__select:invalid {
  color: var(--clr-muted);
}

.sim-field__select option {
  color: var(--clr-navy);
}

/* Checkbox (política de privacidade) */
.sim-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.sim-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sim-check__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--clr-navy);
  border-radius: 5px;
  background: var(--clr-white) url("/nova-lp-assets/img/icons/check.svg") center / 10px
    no-repeat;
  background-size: 0;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    background-size 0.2s;
}

.sim-check__input:checked + .sim-check__box {
  border-color: var(--clr-teal);
  background-color: var(--clr-teal);
  background-size: 10px;
}

.sim-check__input:focus-visible + .sim-check__box {
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
}

.sim-check__link {
  color: inherit;
  text-decoration: underline;
}

.sim-check__link:hover {
  color: var(--clr-teal);
}

.sim-form__next--wide {
  min-width: min(327px, 100%);
  white-space: nowrap;
}

/* Step de verificação por SMS — o form perde a barra de progresso e o CTA partilhado */
.sim-form.is-verifying {
  gap: 20px;
  padding: 30px;
  border-color: var(--clr-border);
  box-shadow: none;
}

.sim-form.is-verifying .sim-form__progress,
.sim-form.is-verifying .sim-form__cta {
  display: none;
}

.sim-verify {
  gap: 20px;
}

.sim-verify__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 20px;
  background: var(--clr-bg-soft);
  text-align: center;
}

.sim-verify__txt {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sim-verify__title {
  font-size: clamp(21px, 1.7vw, 25px);
  font-weight: 700;
  text-wrap: balance;
}

.sim-verify__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
}

.sim-verify__phone {
  color: var(--clr-teal);
  font-weight: 700;
  white-space: nowrap;
}

.sim-verify__code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.sim-verify__label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.sim-verify__input,
.sim-verify__submit {
  width: 327px;
  max-width: 100%;
}

.sim-verify__submit {
  white-space: nowrap;
}

.sim-verify__input {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-align: center;
}

.sim-verify__help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sim-verify__resend {
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

.sim-verify__link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.sim-verify__link:disabled {
  color: var(--clr-muted);
  text-decoration: none;
  cursor: default;
}

.sim-verify__change {
  width: 250px;
  max-width: 100%;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  background: var(--clr-white);
  color: var(--clr-navy);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sim-verify__change:hover {
  border-color: var(--clr-teal);
}

.sim-form__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.sim-form__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--clr-muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* ==========================================================
   How it works
   ========================================================== */
.how {
  padding: 80px 0;
  background: var(--clr-white);
}

.how__steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}

.how__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 280px;
  min-height: 290px;
  padding: 40px 30px 30px;
  border: 1px solid var(--clr-border);
  border-radius: 30px;
  background: var(--clr-white);
}

.how__card.visible {
  transition:
    opacity 0.6s var(--reveal-delay, 0ms),
    transform 0.6s var(--reveal-delay, 0ms),
    box-shadow 0.4s;
}

.how__card.is-active {
  box-shadow: 0 0 10px var(--clr-border);
}

.how__number {
  position: absolute;
  top: -28px;
  left: 50%;
  display: block;
  width: 56px;
  height: 56px;
  transform: translateX(-50%);
  transition: transform 0.3s;
}

.how__card.is-active .how__number {
  transform: translateX(-50%) scale(1.1);
}

.how__icon {
  transition: transform 0.4s;
}

.how__card.is-active .how__icon {
  transform: translateY(-4px);
}

.how__dots {
  display: none;
}

.how__text {
  max-width: 220px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* ==========================================================
   Reviews
   ========================================================== */
.reviews {
  padding: 20px 0;
  background: var(--clr-bg-soft);
}

.reviews__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 40px;
}

.reviews__wall {
  position: relative;
  display: flex;
  gap: 15px;
  flex-shrink: 0;
  width: 635px;
  height: 692px;
  overflow: hidden;
}

.reviews__wall::before,
.reviews__wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 150px;
  pointer-events: none;
}

.reviews__wall::before {
  top: 0;
  background: linear-gradient(
    to top,
    rgba(246, 247, 249, 0),
    var(--clr-bg-soft) 70%
  );
}

.reviews__wall::after {
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(246, 247, 249, 0),
    var(--clr-bg-soft) 40%
  );
}

.reviews__col {
  width: 310px;
}

.reviews__col--2 {
  padding-top: 70px;
}

.reviews__track {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reviews__track.is-looping {
  animation: reviews-up var(--loop-duration, 40s) linear infinite;
}

.reviews__col--2 .reviews__track.is-looping {
  animation-direction: reverse;
}

.reviews__wall:hover .reviews__track {
  animation-play-state: paused;
}

@keyframes reviews-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--loop-distance, 50%)));
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  background: var(--clr-white);
}

.review-card__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.review-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 16px;
}

.review-card__source {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.reviews__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 432px;
}

.google-rating {
  display: grid;
  grid-template-columns: 61px auto;
  column-gap: 20px;
  row-gap: 7px;
  align-items: center;
}

.google-rating__score {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.google-rating__label {
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.google-rating__stars {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.google-rating__note {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 500;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  padding: 80px 0;
  background: var(--clr-white);
}

.faq__inner {
  --max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: var(--clr-white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.faq-item.is-open {
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 1px var(--clr-teal);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  padding: 15px 24px;
  border: 0;
  background: none;
  color: var(--clr-navy);
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-item.is-open .faq-item__question {
  padding-bottom: 0;
  min-height: 44px;
  align-items: flex-end;
}

.faq-item__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 100px;
  transition:
    background-color 0.2s,
    transform 0.3s;
}

.faq-item__minus,
.faq-item.is-open .faq-item__plus {
  display: none;
}

.faq-item.is-open .faq-item__minus {
  display: block;
}

.faq-item.is-open .faq-item__icon {
  background: var(--clr-teal-soft);
  transform: rotate(180deg);
}

.faq-item__question:hover .faq-item__icon {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__question:hover .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: none;
  padding: 10px 24px 20px;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p {
  max-width: 801px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
  padding: 70px 2rem;
  background: var(--clr-navy);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.final-cta__txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--clr-white);
}

.final-cta__title {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 800;
}

.final-cta__lead {
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 20px;
}

/* ==========================================================
   Reveal on scroll
   ========================================================== */
.reveal {
  transition:
    opacity 0.6s var(--reveal-delay, 0ms),
    transform 0.6s var(--reveal-delay, 0ms);
}

html.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.has-js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   Privacy policy modal
   (o modal-box.css carrega depois — daí os seletores com .policy-modal)
   ========================================================== */
.modal-backdrop.show {
  opacity: 1;
  background: rgba(0, 23, 67, 0.55);
  backdrop-filter: blur(4px);
}

.policy-modal .modal-dialog {
  max-width: 720px;
  padding: 0 16px;
  margin-inline: auto;
}

.policy-modal .modal-content.policy-modal__content {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--clr-white);
  color: var(--clr-navy);
  box-shadow: 0 20px 60px rgba(0, 23, 67, 0.25);
}

.policy-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease;
}

.policy-modal.show .modal-dialog {
  transform: none;
}

.policy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--clr-border);
}

.policy-modal__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.policy-modal__title {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 800;
}

.policy-modal__close {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--clr-teal-tint);
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.policy-modal__close::before,
.policy-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-teal);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: background-color 0.2s;
}

.policy-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.policy-modal__close:hover {
  background: var(--clr-teal);
  transform: rotate(90deg);
}

.policy-modal__close:hover::before,
.policy-modal__close:hover::after {
  background: var(--clr-white);
}

.policy-modal__close:focus-visible {
  outline: 3px solid var(--clr-teal-soft);
  outline-offset: 2px;
}

.policy-modal__body {
  max-height: min(60vh, 520px);
  overflow-y: auto;
  padding: 24px 30px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-teal-soft) transparent;
}

.policy-modal__body::-webkit-scrollbar {
  width: 6px;
}

.policy-modal__body::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: var(--clr-teal-soft);
}

.policy-modal__body p + p {
  margin-top: 12px;
}

.policy-modal__body ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.policy-modal__body li::marker {
  color: var(--clr-teal);
}

.policy-modal__body a {
  color: var(--clr-teal);
  font-weight: 700;
}

.policy-modal__body strong,
.policy-modal__body b {
  font-weight: 700;
}

.policy-modal__footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 30px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg-soft);
}

.policy-modal__cta {
  min-width: 160px;
}

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (max-width: 1240px) {
  .hero__couple {
    left: calc(50% - 440px);
    width: 700px;
    height: 452px;
  }

  .how__steps {
    gap: 24px;
  }

  .reviews__inner {
    padding: 0;
  }
}

@media (max-width: 1200px) {
  .how__steps {
    flex-wrap: wrap;
    row-gap: 50px;
  }

  .reviews__wall {
    width: 560px;
  }

  .reviews__col {
    width: 272px;
  }
}

@media (max-width: 1100px) {
  .hero__couple {
    height: 345px;
  }
}

@media (max-width: 992px) {
  .hero__couple {
    display: none;
  }

  .hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    min-height: 0;
    padding: 40px 0 60px;
  }

  .hero__left {
    align-items: center;
    width: 100%;
    max-width: 560px;
    gap: 24px;
    padding-top: 0;
    text-align: center;
  }

  .hero__lead {
    max-width: none;
  }

  .hero__checkpoints {
    align-items: center;
  }

  .hero__title {
    white-space: normal;
  }

  .hero__form {
    width: 100%;
    max-width: 450px;
  }

  .reviews {
    padding: 60px 0;
  }

  .reviews__inner {
    flex-direction: column-reverse;
  }

  .reviews__txt {
    width: 100%;
    align-items: center;
  }

  .reviews__txt .section-head {
    align-items: center;
    text-align: center;
  }

  .final-cta__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar-lp {
    height: 80px;
  }

  .navbar-lp__logo img:first-child {
    width: 48px;
    height: auto;
  }

  .navbar-lp__logo img:last-child {
    width: 110px;
    height: auto;
  }

  .how,
  .faq {
    padding: 60px 0;
  }

  .how__steps {
    margin-top: 50px;
  }

  /* Carousel (slick) — só ativo em mobile, ver initHowItWorksSlider() */
  .how__steps.slick-initialized {
    display: block;
  }

  .how__steps .slick-list {
    padding: 30px 0 10px;
    margin-top: -30px;
  }

  .how__steps .slick-track {
    display: flex;
  }

  /* margem em vw (não %) — o slick desconta-a ao calcular a largura do slide,
     e assim sobra espaço para a sombra do card ativo */
  .how__steps .slick-slide {
    display: flex;
    height: auto;
    margin: 0 5vw;
  }

  .how__number {
    top: -20px;
    width: 40px;
    height: 40px;
  }

  .how__dots {
    display: block;
    margin-top: 24px;
  }

  .how__dots .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .how__dots .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--clr-teal-soft);
    font-size: 0;
    transition:
      width 0.3s,
      background-color 0.3s;
  }

  .how__dots .slick-dots .slick-active button {
    width: 24px;
    background: var(--clr-teal);
  }

  .faq__inner {
    gap: 40px;
  }

  .reviews__wall {
    width: 100%;
    height: 560px;
  }

  .reviews__col {
    width: auto;
    flex: 1;
  }

  .btn-cta--wide {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .custom-container {
    --padding: 1rem;
  }

  .hero__checkpoint {
    font-size: 15px;
  }

  .sim-form {
    padding: 30px 20px;
  }

  .sim-form__options,
  .sim-form__fields {
    gap: 10px;
  }

  .sim-form__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .sim-form.is-verifying {
    padding: 20px;
  }

  .sim-verify__box {
    padding: 24px 16px;
  }

  .policy-modal__header,
  .policy-modal__body,
  .policy-modal__footer {
    padding-inline: 20px;
  }

  .policy-modal__cta {
    width: 100%;
  }

  .how__card {
    width: 100%;
  }

  .reviews__col--2 {
    display: none;
  }

  .reviews__wall {
    height: 480px;
  }

  .final-cta {
    padding: 50px 1rem;
  }

  .btn-cta--lg {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html.has-js .reveal,
  html.has-js .hero__anim {
    opacity: 1;
    transform: none;
  }
}
