:root {
  --container-max-width: 1900px;
  --container-padding-inline: 20px;
  --container-padding-inline-desktop: 63px;
  --section-padding-block: 40px;
  --section-padding-block-desktop: 60px;
  --grid-gap: 24px;
  --grid-gap-tablet: 32px;
  --grid-gap-desktop: 45px;
  --card-radius: 25px;
  --card-min-height: 420px;
  --card-min-height-desktop: 40vw;
  --avatar-size: 56px;
  --avatar-size-desktop: 5vw;
  --nav-size: clamp(40px, 5vw, 60px);
  --nav-size-desktop: 2.5vw;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Hanken Grotesk', sans-serif;
}

body {
  color: #000;
  background-color: #fff;
  margin-top: 0;
  padding-top: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 2.04vw;
  font-weight: 400;
  line-height: 140%;
}

a {
  text-decoration: none;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: auto;
  padding: var(--section-padding-block) var(--container-padding-inline);
}

/* HERO */
.hero {
  height: 56vh;
  background: url(https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=1600) center / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 20px;
  gap: 4.4em;
}

/* CARD CORRETOR */
.hero-agent {
  position: relative;
  top: 30%;
  width: clamp(280px, 60%, 550px);
  padding: clamp(16px, 2vw, 28px);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

/* FOTO */
.hero-agent img {
  width: clamp(60px, 6vw, 90px);
  height: clamp(60px, 6vw, 90px);
  border-radius: 16px;
  object-fit: cover;
}

/* TEXTO */
.hero-agent-info {
  flex: 1;
  color: #fff;
}

.hero-agent-info h2 {
  font-size: clamp(16px, 2vw, 22px);
  margin: 0 0 6px;
}

/* BOTÕES */
.hero-agent-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: .8em;
}

.btn-whatsapp .nav-btn-icon,
.btn-outline .nav-btn-icon {
  font-size: 1em;
}

/* WHATS */
.btn-whatsapp {
  color: #fff;
  background: #768B37;
  border-radius: 1.38em;
  border: none;
  justify-content: center;
  align-items: center;
  width: 11.5em;
  height: 2.5em;
  font-size: 0.5em;
  font-weight: 500;
  transition: background-color .2s;
  display: flex;
  gap: 5px;
}

/* MENSAGEM */
.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  border-radius: 1.38em;
  justify-content: center;
  align-items: center;
  width: 11.5em;
  height: 2.5em;
  font-size: 0.5em;
  font-weight: 500;
  transition: background-color .2s;
  display: flex;
  gap: 5px;
}

.btn-outline i {
  transform: rotate(-45deg);
}

.btn-outline:hover i {
  transform: rotate(1.5deg);
  transition: 0.3s;
}

.btn-outline:hover,
.btn-whatsapp:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.hero h1 {
  font-size: 5em;
  /* margin-bottom: 20px; */
  top: 43%;
  position: relative;
}

/* FILTER BAR */
.hero-filters {
  display: flex;
  gap: 10px;
}

.hero-filters .nav {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}

/* BOTÕES (pill) */
.dropdown-toggle {
  background: #fff;
  color: #000;
  padding: 1em 1em;
  border-radius: 30px;
  font-size: .5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  line-height: 140%;
}

/* DROPDOWN */
.button-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  display: none;
  min-width: 250px;
  color: #383434;
  box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.button-dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-toggle .icon-filters.active i {
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(180deg) skew(0deg, 0deg);
  transition: 0.3s;
}

/* ITENS */
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: .4em;
  line-height: 2;
}

/* CHECK CUSTOM */
.check-item input {
  display: none;
}

.check-item span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.25);
}

.filter-group-title {
  font-size: .5em;
  margin: 10px 0 6px;
  color: #383434;
  font-weight: 600;
}

.check-item input:checked+span {
  background: #dedeaa;
}

/* PRICE RANGE */
.price-range {
  padding: 15px 0;
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.range-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.range-slider .slider-track {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #555;
  border-radius: 2px;
  z-index: 0;
}

.range-slider input[type="range"] {
  position: relative;
  width: 100%;
  height: 6px;
  z-index: 5;
  appearance: none;
  background: none;
  pointer-events: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dedeaa;
  cursor: pointer;
  pointer-events: auto;
  border: none;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dedeaa;
  cursor: pointer;
  pointer-events: auto;
  border: none;
}

/* INPUT */
.filter-options input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.25);

}

.location-options-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 8px;
}

.location-options-list::-webkit-scrollbar {
  width: 8px;
}

.location-options-list::-webkit-scrollbar-track {
  background: #211f1f;
  border-color: #2f3400 solid 1px;
  border-radius: 4px;
}

.location-options-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.25);

}

.location-options-list::-webkit-scrollbar-thumb:hover {
  background: #dedeaa;
}

.location-options-list::-webkit-scrollbar {
  width: 8px;
}

.location-options-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.location-group {
  margin-bottom: 10px;
}

.location-group:last-child {
  margin-bottom: 0;
}

/* GRID RESPONSIVO */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

/* CARD */
.card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  width: 100%;
  min-height: clamp(var(--card-min-height), 120vw, 620px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* IMAGEM */
.card-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* BADGE */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: .8em .8em;
  width: auto;
  border-radius: 30px;
  font-size: .5em;
  line-height: 140%;
}

/* AVATAR */
.avatar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0px 0px 10.1px rgba(0, 0, 0, 0.49);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BOTÕES SLIDER */
button.nav {
  position: absolute;
  top: 27%;
  width: var(--nav-size);
  height: var(--nav-size);
  border-radius: 50%;
  border: clamp(1.5px, 0.3vw, 3px) solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

button.nav i {
  font-size: calc(var(--nav-size) * 0.30);
  line-height: 1;
  transform: translateX(1px);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* CONTEÚDO */
.content {
  position: relative;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(30px);
  line-height: 1.5;
}

.title {
  font-size: .8em;
  font-weight: 500;
}

.subtitle {
  font-size: .45em;
  opacity: 0.8;
  margin: 5px 0 10px;
  font-style: normal;
  font-weight: 400;
}

/* INFOS */
.info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px 10px;
  padding: 0px 0px .3em;
}

.item-info {
  display: flex;
  gap: 1em;
  font-size: .45em;
  align-items: center;
}

.item-info .icon-svg {
  width: 1.45em;
  height: 1.45em;
  color: #fff;
  flex: 0 0 auto;
}

.item-info span {
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  line-height: 24px;
  color: #FFFFFF;
}

/* DIVISOR */
.divider {
  margin: 15px 0;
  height: 2px;
  background: #ffffff4d;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  padding: .5em 0px 0px;
  border-top: solid 2px #ffffff4d;
}

.price {
  font-size: 1.2em;
  font-style: normal;
  font-weight: 800;
}

.btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn .icon-svg {
  width: 32px;
  height: 32px;
  color: #000;
  transition: 0.3s;
}

.btn:hover .icon-svg {
  transform: rotate(45deg);
}

.btn:hover {
  background-color: #F8FBCB;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-agent {
    position: relative;
    top: 10%;
    width: clamp(280px, 60%, 550px);
    padding: clamp(16px, 2vw, 28px);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
  }

  .hero-agent-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* flex-direction: row; */
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: .8em;
  }

  .btn-whatsapp {
    color: #fff;
    background: #768B37;
    border-radius: 1.38em;
    border: none;
    justify-content: center;
    align-items: center;
    width: 14.5em;
    height: 2.5em;
    font-size: .8em;
    font-weight: 500;
    transition: background-color .2s;
    display: flex;
    gap: 5px;
  }

  .btn-outline {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 1.38em;
    justify-content: center;
    align-items: center;
    width: 12.5em;
    height: 2.5em;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color .2s;
    display: flex;
    gap: 5px;
  }

  .hero-filters .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  button.nav {
    position: absolute;
    top: 27%;
    width: var(--nav-size);
    height: var(--nav-size);
    border-radius: 50%;
    border: clamp(3px, 0.3vw, 3px) solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  button.nav i {
    font-size: calc(var(--nav-size) * 0.60);
    line-height: 1;
    transform: translateX(1px);
  }

  .item-info span {
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 400;
    font-size: 2em;
    line-height: 24px;
    color: #FFFFFF;
  }

  .hero-filters {
    display: none !important;
  }

  .info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0px 10px;
  }

  .item-info .icon-svg {
    width: 20px;
    height: 20px;
    color: #fff;
    flex: 0 0 auto;
  }

  .price {
    font-size: 20px;
    font-weight: bold;
  }
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap-tablet);
  }

  .card {
    min-height: min(40vw, 560px);
  }

  .info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {

  .container {
    padding: var(--section-padding-block-desktop) var(--container-padding-inline-desktop);
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap-desktop);
  }

  .card {
    min-height: var(--card-min-height-desktop);
  }

  .avatar {
    width: var(--avatar-size-desktop);
    height: var(--avatar-size-desktop);
  }

  button.nav {
    top: 25%;
    width: var(--nav-size-desktop);
    height: var(--nav-size-desktop);
  }

  .info {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
}

/* BOTÕES LATERAIS */
.btn-page {
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

/* NUMEROS */
.page {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

/* ATIVO (verde igual imagem) */
.page.active {
  background: #b4b48f;
  border: none;
  color: #000;
}

/* DOTS */
.page.dots {
  border-radius: 50%;
  pointer-events: none;
}

/* HOVER */
.page:hover,
.btn-page:hover {
  background: #000;
  color: #fff;
}

/* SEÇÃO CTA */
.cta-section {
  width: 100%;
  padding: clamp(10px, 2vw, 20px);
  height: clamp(300px, 45vw, 497px);
  border-radius: 60px;
  background: url(https://images.unsplash.com/photo-1615874959474-d609969a20ed?q=80&w=1600) center / cover no-repeat;
  display: flex;
  align-items: center;
}

.cta-section svg:not(:root) {
  overflow: hidden;
  height: 2em;
  width: 2em;
}

/* CARD COM BLUR */
.cta-card {
  width: clamp(280px, 25em, 940px);
  height: clamp(220px, 35vw, 381px);
  padding: clamp(59px, 2vw, 4px);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(35px);
  border-radius: 24px;
  aspect-ratio: 963 / 478;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TÍTULO */
.cta-card h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 1.8em;
  line-height: 140%;
  color: #fff;
}

/* TEXTO */
.cta-card p {
  font-size: .8em;
  opacity: 0.9;
  margin-bottom: 25px;
  color: #fff;
}

/* LINHA */
.cta-card .divider {
  height: 2px;
  width: 100%;
  max-width: 85%;
  margin: 0px 0px 25px 0px;
  height: 2px;
  background: #ffffff4d;
}

/* BOTÃO */
.cta-btn {
  width: 100%;
  max-width: 85%;
  padding: .4em 1em;
  border-radius: 50px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

/* BOLINHA DA SETA */
.cta-btn .arrow {
  width: 45px;
  height: 45px;
  background: #e6e6b0;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* HOVER */
.cta-btn:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .cta-section {
    height: auto;
    padding: 20px;
    border-radius: 30px;
  }

  .cta-section svg:not(:root) {
    overflow: hidden;
    height: 2em;
    width: 3em;
  }

  .cta-card {
    width: 100%;
    height: auto;
    padding: clamp(25px, 2vw, 30px);
  }

  .cta-btn,
  .cta-card .divider {
    width: 100%;
    max-width: none;
  }
}


/* WHATSAPP */
.whatsapp {
  margin-left: 8px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 40px 40px 40px 0;
  }

  .cta-card {
    border-radius: 0 44.5px 44.5px 0;
  }

}

@media (min-width: 1200px) {
  .btn-page {
    padding: 16px 43px;
  }

  .page {
    width: 55px;
    height: 55px;
  }
}

/* Global responsive overrides for listing cards */
@media (max-width: 768px) {

  .listing-slider-wrapper-landing .collection-list-wrapper,
  .listings-wrapper,
  .listing-hero-box-all-listing {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
    gap: 1.5rem;
    min-height: 18rem;
  }

  body {
    font-size: 14px;
  }

  .listing-hero-box-all-listing {
    font-size: 0.9em;
  }

  .listing-box-title {
    font-size: 1.1em;
  }

  .listing-box-price {
    font-size: 1.2em;
  }
}