/* Blocos da home que antes eram imagens com texto em português.
   Agora o texto vem dos arquivos de idioma e segue o idioma do site. */

.wifs-block-text {
  color: var(--cor2);
  text-align: start;
}

.wifs-block-text p {
  color: inherit;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  margin-bottom: 1.1em;
}

.wifs-block-text strong {
  font-family: 'Kanit-Bold', sans-serif;
  font-weight: normal;
}

.wifs-block-text--dark {
  color: var(--cor4);
}

.wifs-block-title {
  font-family: 'Kanit-Bold', sans-serif;
  font-weight: normal;
  color: inherit;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1em;
}

.wifs-block-title--xl {
  text-transform: none;
  font-size: clamp(40px, 5.2vw, 80px);
  margin-bottom: 0.8em;
}

/* "INVISTA nas MELHORES e…": pesos alternados como na arte original */
.wifs-block-title--light {
  font-family: 'Kanit-Regular', sans-serif;
}

.wifs-block-title--light strong {
  font-family: 'Kanit-Bold', sans-serif;
}

/* Faixa vermelha inclinada atrás das palavras em destaque */
.wifs-hl {
  display: inline-block;
  position: relative;
  z-index: 0;
  color: var(--cor4);
  padding: 0 0.18em;
  margin: 0.04em 0;
}

.wifs-hl::before {
  content: "";
  position: absolute;
  inset: 0.06em 0;
  z-index: -1;
  background: var(--cor3);
  border-radius: 0.12em;
  transform: skewX(-8deg);
}

.wifs-block-lead {
  font-size: clamp(18px, 1.6vw, 24px) !important;
}

.wifs-block-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-bottom: 2.5rem;
}

.wifs-block-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75em 2em;
  border-radius: 999px;
  background: var(--cor2);
  color: var(--cor4);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(43, 27, 64, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wifs-block-btn strong {
  font-family: 'Kanit-Bold', sans-serif;
  font-weight: normal;
}

.wifs-block-btn:hover,
.wifs-block-btn:focus-visible {
  color: var(--cor4);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(43, 27, 64, 0.4);
}

.wifs-block-btn--light {
  margin-top: 0;
  background: var(--cor4);
  color: var(--cor2);
  font-family: 'Kanit-Bold', sans-serif;
  letter-spacing: 0.02em;
}

.wifs-block-btn--light:hover,
.wifs-block-btn--light:focus-visible {
  color: var(--cor2);
}

/* Cards numerados "para:" (1 a 4) */
.wifs-goals {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: grid;
  gap: 18px;
}

.wifs-goal {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 150px;
}

.wifs-goal__num {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 96px;
  height: 104px;
  margin-top: -52px;
  display: grid;
  place-items: center;
  background: var(--cor3);
  border-radius: 10px;
  transform: skewX(-10deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.wifs-goal__num span {
  transform: skewX(10deg);
  font-family: 'Kanit-Bold', sans-serif;
  font-size: 68px;
  line-height: 1;
  color: var(--cor4);
}

.wifs-goal__card {
  position: relative;
  flex: 1;
  margin-left: 52px;
  min-height: 150px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(90deg, #1f1330 0%, #2b1b40 55%, #3a2358 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.wifs-goal__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 42%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.wifs-goal__text {
  position: relative;
  z-index: 1;
  padding: 18px 20px 18px 72px;
  max-width: 68%;
  font-family: 'Kanit-Bold', sans-serif;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  color: var(--cor4);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 575.98px) {
  .wifs-goal,
  .wifs-goal__card {
    min-height: 116px;
  }

  .wifs-goal__num {
    width: 70px;
    height: 78px;
    margin-top: -39px;
  }

  .wifs-goal__num span {
    font-size: 48px;
  }

  .wifs-goal__card {
    margin-left: 38px;
  }

  .wifs-goal__text {
    padding-left: 48px;
    max-width: 72%;
  }
}
