/* ============================================
   CARD DE IMÓVEL - DESIGN PREMIUM MODERNO
   ============================================ */

:root {
  --primary: #ff0090;
  --primary-dark: #ca0073;
  --secondary: #00a699;
  --text-primary: #222222;
  --text-secondary: #717171;
  --text-muted: #b0b0b0;
  --border: #ebebeb;
  --bg-light: #f7f7f7;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.16);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.padding-card {
  padding: 7px;
}

/* ============================================
   CARD PRINCIPAL
   ============================================ */
.property-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e1e1;
  position: relative;
}

.property-card:hover {
  box-shadow: 0 0 20px rgba(0,0,0,0.12);
  border-color: transparent;
}

/* ============================================
   IMAGEM E MEDIA
   ============================================ */
.property-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.property-card__link {
  display: block;
  text-decoration: none;
}

.property-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* Proporção 3:2 */
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.property-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.02) 50%,
    rgba(0,0,0,0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card:hover .property-card__overlay {
  opacity: 1;
}

/* ============================================
   BADGE MOBILIADO
   ============================================ */
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
  transition: var(--transition);
}

.property-badge--furnished {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.property-badge--semi {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.property-badge svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   AÇÕES RÁPIDAS (HOVER)
   ============================================ */
.property-card__actions {
  position: absolute;
  z-index: 1;
  bottom: 208px;
  right: 12px;
}

.property-code {
  font-size: 12px;
  font-weight: 500;
  position: relative;
  top: 21px;
  color: var(--cor-site-5);
  padding: 0px 5px;
  border: 1px solid #dedede;
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
}

.tags__type-cod {
  position: absolute;
  z-index: 1;
  width: max-content;
}

.fab.fa-whatsapp.whats-card {
  font-size: 22px;
}

.property-action {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cor-site-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cor-site-1);
  border-radius: 50%;
  color: var(--cor-site-3);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.property-action:hover, .property-action:focus {
  background: white;
  border: 1px solid var(--cor-site-2);
  color: var(--cor-site-1);
}

.property-action--whatsapp:hover {
  color: var(--cor-site-1);
}
/* ============================================
   CONTEÚDO DO CARD
   ============================================ */
.property-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 222px;
  flex-grow: 1;
}

.cta-option-icon img {
  width: 80px;
  height: 80px;
}

.property-card__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.property-type {
  font-size: 11px;
  position: absolute;
  top: 6px;
  background: var(--cor-site-1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cor-site-3);
  align-items: start;
  border-radius: 0 8px 8px 0;
  padding: 0px 6px;
  width: max-content;
}

.property-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.property-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-title a:hover {
  color: var(--cor-site-0);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  color: var(--cor-site-5);
  line-height: 1.4;
}

.property-location svg {
  flex-shrink: 0;
  color: var(--cor-site-5);
}

/* ============================================
   FEATURES (CARACTERÍSTICAS)
   ============================================ */
.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 14px;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cor-site-5);
  transition: var(--transition);
}

.property-feature svg {
  flex-shrink: 0;
  fill: var(--text-primary);
}

/* ============================================
   FOOTER (PREÇO E CÓDIGO)
   ============================================ */
.property-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0px;
  border-top: 1px solid var(--border);
}

.property-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 13px;
  margin-top: auto;
}

.property-price__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cor-site-5);
}

.property-price__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--cor-site-1);
  line-height: 1;
  letter-spacing: -0.5px;
}

.property-price__extra {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
  .padding-card {
    padding: 8px;
  }

  .property-card__content {
    padding: 14px;
  }

  .property-title {
    font-size: 16px;
  }

  .property-price__value {
    font-size: 20px;
  }

  .property-card__actions {
    opacity: 1;
    transform: translateY(0);
  }

  .property-action {
    width: 38px;
    height: 38px;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card {
  animation: fadeInUp 0.5s ease-out;
}

/*ESTILIZAÇÃO PARA OS NOVOS ICONES VIA FONT AWESOME*/

.feature-icon {
  font-size: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.feature-area {
  color: var(--cor-site-7);
}
.feature-bedroom,
.feature-bathroom,
.feature-parking {
  color: var(--cor-site-7);
}

.property-card__footer.no-features {
  display: none;
}


/*ADICIONADO ESTILIZAÇÃO PARA O RODAPÉ DO CARD*/
.rodape__card-imovel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

