:root {
  --wf-blue: #0D62FE;
  --wf-blue2: #347BFF;
  --wf-navy: #051B3E;
  --wf-text: #4F4F4F;
  --wf-bg: #F6FAFF;
  --wf-border: #000F40;
  --wf-card-shadow: 0 2px 6px rgba(18, 134, 191, .20);
}

* {
  font-family: 'Inter', 'Arial', 'sans-serif';
}

.wf-quiz * {
  box-sizing: border-box;
}

.wf-quiz__wrap {
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.wf-quiz__progress {
  display: flex;
  justify-content: center;
  margin: 10px 0 40px;
}

.wf-progress {
  width: 280px;
  position: relative;
}

.wf-mini__img {
  flex-shrink: 0;
}

.wf-mini img {
  transform: scale(1);
  transition: transform 400ms ease-out;
  will-change: transform;
}

.wf-mini:hover img {
  transform: scale(1.05);
}

.wf-result__main img {
  transform: scale(1);
  transition: transform 400ms ease-out;
  will-change: transform;
}

.wf-result__main:hover img {
  transform: scale(1.05);
}

.wf-progress__track {
  position: absolute;
  inset: 5px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(9, 53, 122, 0.10);
  box-shadow: 0 1px 6px 0 rgba(18, 134, 191, 0.05);
  height: 12px;
}

.wf-progress__fill {
  position: absolute;
  left: 6px;
  top: 5px;
  height: 12px;
  width: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wf-blue), var(--wf-blue2));
  box-shadow: 2px 0 4px rgba(13, 98, 254, .15);
  transition: width .35s ease;
}

.wf-quiz__title {
  color: var(--wf-navy);
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.32px;
  margin: 0 0 40px;
}

.wf-quiz__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-items: center;
}

.wf-btn.is-disabled {
  display: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .wf-quiz__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .wf-quiz__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wf-card {
  width: 100%;
  max-width: 290px;
  display: flex;
  height: 174px;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.wf-card:hover {
  cursor: pointer;
}

.wf-card:focus-visible {
  outline: 3px solid rgba(13, 98, 254, .25);
  outline-offset: 2px;
}

.wf-card.is-active {
  border: 1px solid var(--wf-blue);
  box-shadow: 0 2px 6px 0 rgba(18, 134, 191, 0.20);
}

/* Após a 1ª página: ícones com stroke (ex.: bear) ficam azuis quando ativo */
.wf-quiz.is-after-first .wf-card.is-active svg path,
.wf-quiz.is-after-first .wf-card.is-active svg circle,
.wf-quiz.is-after-first .wf-card.is-active svg rect,
.wf-quiz.is-after-first .wf-card.is-active svg line,
.wf-quiz.is-after-first .wf-card.is-active svg polyline {
  stroke: var(--wf-blue);
}

.wf-card__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-text);
}

.wf-card__icon svg {
  width: 24px;
  height: 24px;
}

.wf-card__label {
  color: var(--wf-text);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.wf-card.is-active .wf-card__label {
  color: var(--wf-blue);
}

.wf-quiz__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.wf-btn {
  display: flex;
  min-width: 120px;
  min-height: 40px;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.wf-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wf-btn:hover:not(:disabled) {
  filter: brightness(0.98);
}

.wf-btn--primary {
  background: var(--wf-blue);
  color: #fff;
}

.wf-btn--ghost {
  background: transparent;
  border-color: var(--wf-border);
  color: var(--wf-border);
  fill: currentColor;
}

.wf-result {
  width: 100%;
  max-width: 1120px;
  margin: 10px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.wf-result__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  max-width: 650px;
}

.wf-result__introTitle {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--wf-navy);
}

.wf-result__introDesc {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #4F4F4F;
}

.wf-result__main {
  width: 736px;
  max-width: 100%;
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.area_result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 313px;
  width: 100%;
}

/* Título H2 */
.wf-result__intro-title {
  color: var(--wf-navy);
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.32px;
  margin: 0;
}

/* Subtítulo P */
.wf-result__intro-sub {
  color: var(--wf-navy);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* Ajuste do Header de Interesses para o Botão Refazer */
.wf-interest__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.wf-result__h3 {
  color: var(--wf-navy);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.24px;
  margin: 0px;
}

.wf-result__p {
  color: var(--wf-navy);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.wf-result__meta {
  color: var(--wf-navy);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.wf-result__img {
  width: 380px;
  max-width: 100%;
}

.wf-result__img img {
  width: 380px;
  height: 294px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.wf-result__text {
  width: 313px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wf-result__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--wf-navy);
}

.wf-result__desc {
  margin: 0;
  color: var(--wf-navy);
  line-height: 1.4;
}

.wf-result__qty {
  margin: 0;
  color: var(--wf-navy);
  font-weight: 600;
}

.wf-interest {
  max-width: 1120px;
  width: 100%;
  display: flex;
  padding: 40px;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
  background: #fff;
  border-radius: 16px;
}

.wf-interest__title {
  color: var(--wf-navy);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.2px;
  max-width: 288px;
}

/* --- SWIPER PARA INTERESSES --- */
.swiper.wf-interest-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Muito importante para as setas ficarem sobre os cards */
  padding: 10px 0;
}

/* Força a estrutura em linha do Swiper */
.swiper-wrapper.wf-interest__list {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 0px !important;
}

.wf-interest-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.wf-interest-swiper .swiper-slide>a,
.wf-interest-swiper .swiper-slide>.wf-mini {
  width: 100%;
  height: 100%;
}

/* --- ESTILOS DE POSICIONAMENTO E DESIGN DAS SETAS --- */
.wf-interest-swiper .elementor-swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: #FFFFFFE6;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

/* Posição lateral das setas */
.wf-interest-swiper .elementor-swiper-button-prev {
  left: 10px;
}

.wf-interest-swiper .elementor-swiper-button-next {
  right: 10px;
}

/* Tamanho e Cor dos ícones SVG */
.wf-interest-swiper .elementor-swiper-button svg {
  fill: #0360A6;
  height: 1em;
  width: 1em;
}

/* Oculta as setas caso existam menos itens do que o necessário para ativar o slider */
.swiper-watch-overflow .elementor-swiper-button {
  display: none !important;
}

/* Efeito semitransparente quando chega no último/primeiro slide */
.wf-interest-swiper .swiper-button-disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* Classe aplicada apenas quando NÃO houver interesses */
.wf-quiz__actions.has-top-margin {
  margin-top: 100px;
  justify-content: center;
}

.wf-interest__list .wf-mini {
  display: flex;
  max-width: 282px;
  width: 100%;
  padding: 20px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  border-radius: 8px;
  background: #F2F7FB;
  height: 333px;
}

/* --- Novas Classes de Flexbox para Scroll Interno --- */
.area_int_wf-mini_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.area_int_wf-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.wf-mini__h4 {
  color: var(--wf-navy);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  margin: 0px;
}

.wf-mini__p {
  color: var(--wf-navy);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  overflow-y: auto;
  flex: 1;
  width: 100%;
  padding-right: 6px;
}

/* Estilização da barra de scroll */
.wf-mini__p::-webkit-scrollbar {
  width: 4px;
}
.wf-mini__p::-webkit-scrollbar-track {
  background: transparent;
}
.wf-mini__p::-webkit-scrollbar-thumb {
  background: #c2d6eb;
  border-radius: 4px;
}
.wf-mini__p::-webkit-scrollbar-thumb:hover {
  background: var(--wf-blue);
}

.wf-mini__meta {
  color: var(--wf-navy);
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.wf-swiper {
  width: 100%;
}

.wf-swiper__wrapper {
  display: flex;
  gap: 20px;
  overflow: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.wf-swiper__slide {
  flex: 0 0 auto;
  width: 282px;
  scroll-snap-align: start;
}

.wf-swiper__pagination {
  margin-top: 12px;
}

.wf-interestCard {
  display: flex;
  width: 282px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  border-radius: 8px;
  background: #F2F7FB;
}

.wf-interestCard__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.wf-interestCard__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.wf-interestCard__h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--wf-navy);
}

.wf-interestCard__p {
  margin: 0;
  font-size: 13px;
  color: #4F4F4F;
  line-height: 1.4;
}

.wf-interestCard__meta {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-navy);
}

.wf-restart {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

@media (max-width: 820px) {
  .wf-result__main {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .wf-result__img {
    width: 100%;
  }

  .wf-result__img img {
    width: 100%;
    height: auto;
    max-height: 320px;
  }

  .wf-result__text {
    width: 100%;
  }

  .wf-interest {
    padding: 20px;
    gap: 32px;
    flex-direction: column;
    background-color: transparent;
  }

  .wf-swiper__wrapper {
    gap: 16px;
  }

  .wf-swiper__slide {
    width: 78vw;
    max-width: 320px;
  }
}

/* Ocultar o botão "Seguinte" no mobile para não confundir, já que o clique avança */
@media (max-width: 768px) {
  .wf-quiz__actions .wf-btn--next {
    display: none !important;
  }

  .wf-quiz__actions.has-top-margin {
    margin-top: 60px;
  }
}

@media(max-width: 480px) {
  .wf-interest__list .wf-mini {
    height: auto;
    padding: 0px;
  }

  .swiper.wf-interest-swiper {
    overflow: visible;
  }

  /* Força a estrutura em linha do Swiper */
  .swiper-wrapper.wf-interest__list {
    gap: 0px !important;
  }

  .wf-result__main {
    padding: 23px 23px 0px 23px;
  }

  .wf-quiz__grid {
    margin-bottom: 40px;
  }

  .wf-quiz__wrap {
    padding: 0px;
  }

  /* Subtítulo P */
  .wf-result__intro-sub {
    color: var(--wf-navy);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
  }

  .wf-result__intro {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  .wf-result__intro-title {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.24px;
    text-align: left;
    max-width: 180px;
  }

  .wf-result__img img {
    width: 100%;
    height: auto;
    max-height: 176px;
  }

  .wf-result__p {
    font-size: 14px;
    line-height: normal;
  }

  .area_result {
    gap: 5px;
  }

  .wf-quiz__title {
    font-size: 28px;
  }
}

.wf-result__main-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wf-result__main-link .wf-result__main,
.wf-mini {
  cursor: pointer;
}