/* ============================================================
   "Como Funciona" — componente de passos (escalável).
   Renderizado por js/how-it-works.js. Estilo "jornada 1→2→3".
   Classes próprias (ft-hiw-*) p/ não conflitar com .step-number global.
   ============================================================ */

/* leve fundo quente p/ destacar os cards brancos */
.section-3 {
  background: #fffaf5;
}

/* Moldura da seção */
.ft-hiw-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6d00;
  background: #fff1e6;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Grid + linha de jornada */
.ft-hiw-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px 22px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ft-hiw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.ft-hiw-card {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 32px 24px 30px;
  box-shadow: 0 6px 24px rgba(20, 20, 40, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ft-hiw-card:hover {
  transform: translateY(-4px);
  border-color: #ffd9bf;
  box-shadow: 0 16px 38px rgba(255, 109, 0, 0.14);
}

/* número fantasma (watermark editorial) */
.ft-hiw-ghost {
  position: absolute;
  top: -16px;
  right: 8px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: #ff6d00;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

/* Ícone recolorido de forma uniforme (mask) — todos em laranja, igual ao de segurança. */
.ft-hiw-icon {
  width: 50px;
  height: 50px;
  margin: 8px auto 14px;
  display: block;
  background-color: #ff8a04;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ft-hiw-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #23242a;
  line-height: 1.3;
  margin: 0 0 8px;
}

.ft-hiw-desc {
  font-size: 0.95rem;
  color: #626369;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 30ch;
}

.ft-hiw-desc a {
  color: #ff6d00;
  font-weight: 600;
}

.ft-hiw-desc a:hover {
  text-decoration: underline;
}

/* faixa "tudo já incluído" */
.ft-hiw-included {
  list-style: none;
  padding: 0;
  margin: 34px auto 0;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.ft-hiw-included li {
  position: relative;
  padding: 8px 16px 8px 36px;
  background: #fff;
  border: 1px solid #f0e3d6;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a4b52;
}

.ft-hiw-included li::before {
  content: "\2713";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: #fff1e6;
  color: #ff6d00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 767px) {
  .ft-hiw-card {
    padding: 42px 20px 26px;
  }
  .ft-hiw-ghost {
    font-size: 5.5rem;
  }
}
