/* Cartao de sugestao de casa (js/sugestao.js): "Selecao HomeLovers", editorial, uma foto grande */
.hl-sug {
  --hl-display: "freightdispcmp-pro", "Playfair Display", serif;
  position: fixed;
  z-index: 9500; /* acima do conteudo do site (main_content 9002), abaixo do aviso de cookies */
  right: 24px;
  bottom: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 18px 20px 20px;
  background: #fff;
  color: #212121;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .06);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.hl-sug.is-on { opacity: 1; transform: none; }
.hl-sug *, .hl-sug *:before, .hl-sug *:after { box-sizing: border-box; }

.hl-sug__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hl-sug__selo { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #707070; }
.hl-sug__motivo { color: #212121; }
.hl-sug--nova .hl-sug__motivo, .hl-sug--baixou .hl-sug__motivo { color: #CD545B; }
.hl-sug__fechar {
  flex: 0 0 auto; width: 30px; height: 30px; margin: -6px -8px -6px 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: #212121; cursor: pointer;
}
.hl-sug__fechar:hover { color: #CD545B; }

.hl-sug__link { display: block; color: inherit; text-decoration: none; }
.hl-sug__titulo {
  display: block;
  margin: 10px 0 14px;
  font-family: var(--hl-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.08;
  color: #212121;
}
.hl-sug__foto { position: relative; display: block; height: 210px; background: #EDEBE6; overflow: hidden; }
.hl-sug__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.hl-sug.is-on .hl-sug__foto img { transform: scale(1); }
.hl-sug__link:hover .hl-sug__foto img { transform: scale(1.04); transition-duration: .8s; }
.hl-sug__tag {
  position: absolute; left: 10px; top: 10px; padding: 4px 8px;
  background: #CD545B; color: #fff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.hl-sug__info { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hl-sug__onde { display: flex; flex-direction: column; min-width: 0; }
.hl-sug__local { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-sug__det { font-size: 12px; color: #707070; }
.hl-sug__preco { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; font-size: 16px; font-weight: 500; white-space: nowrap; }
.hl-sug__antes { font-size: 12px; font-weight: 400; color: #9A948C; }
.hl-sug__ver {
  display: inline-block; margin-top: 14px; padding-bottom: 2px;
  font-size: 13px; border-bottom: 1px solid #212121;
}
.hl-sug__ver span { display: inline-block; transition: transform .3s ease; }
.hl-sug__link:hover .hl-sug__ver span { transform: translateX(4px); }

/* telemovel: sobe de baixo, largura toda */
@media (max-width: 767px) {
  .hl-sug { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px 16px 16px; }
  .hl-sug__titulo { font-size: 21px; margin: 8px 0 10px; }
  .hl-sug__foto { height: 150px; }
  .hl-sug__ver { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-sug, .hl-sug__foto img { transition: none; transform: none; }
}
