:root {
  --ink: #142e36;
  --ink2: #0e252d;
  --sand: #f3eee6;
  --warm: #c69a5a;
  --line: #ded7cb;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background: #fff;
}
.header {
  height: 86px;
  background: #102b33;
  color: #fff;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 38px;
  position: absolute;
  z-index: 2;
  width: 100%;
}
.logo {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 31px auto;
  grid-template-rows: 22px 11px;
  column-gap: 8px;
  line-height: 1;
  letter-spacing: 2.1px;
}
.logo span {
  grid-row: 1/3;
  font-family: 'Playfair Display';
  font-size: 43px;
  font-style: italic;
  color: #d5a464;
}
.logo i {
  height: 1px;
  background: #d5a464;
  width: 25px;
  margin-top: 5px;
}
.logo b {
  font-size: 15px;
  align-self: end;
}
.logo small {
  grid-column: 2;
  font-size: 8px;
  letter-spacing: 4px;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 25px;
  margin: auto;
}
.nav a {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  opacity: 0.87;
}
.nav a:hover {
  color: #d5a464;
}
.phone {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.phone .whatsapp-icon {
  border: 1px solid #d5a464;
  color: #d5a464;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.phone .whatsapp-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.phone small,
.phone strong {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.phone strong {
  font-size: 12px;
  margin-top: 2px;
}
.menu-button {
  display: none;
}
.hero {
  min-height: 780px;
  background:
    linear-gradient(90deg, rgba(10, 36, 42, 0.73), rgba(10, 36, 42, 0.28)),
    url('assets/hero-praia-litoral.jpg') center/cover;
  position: relative;
  color: #fff;
  padding: 188px clamp(24px, 10vw, 160px) 60px;
}
.hero-content {
  max-width: 625px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.3px;
  font-weight: 700;
  color: var(--warm);
  margin: 0 0 17px;
}
h1,
h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -1.4px;
  font-weight: 600;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.08;
}
h1 em,
h2 em {
  font-weight: 500;
  color: var(--warm);
}
.hero-copy {
  font-size: 17px;
  line-height: 1.6;
  max-width: 450px;
  margin: 21px 0;
}
.search-box {
  position: absolute;
  bottom: -82px;
  left: clamp(24px, 10vw, 160px);
  right: clamp(24px, 10vw, 160px);
  background: #fff;
  padding: 0 30px 21px;
  color: var(--ink);
  box-shadow: 0 16px 38px #1d25242b;
}
.search-tabs {
  height: 53px;
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--line);
}
.search-tabs .active {
  padding: 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--warm);
}
.search-fields {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr auto;
  gap: 19px;
  align-items: end;
  padding-top: 19px;
}
.search-fields label {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #788287;
}
.search-fields select {
  display: block;
  background: none;
  border: 0;
  border-bottom: 1px solid #b5babe;
  width: 100%;
  color: var(--ink);
  font: 500 13px 'DM Sans';
  padding: 8px 0;
  outline: none;
}
.search-submit,
.button-light {
  border: 0;
  background: var(--warm);
  color: white;
  font: 600 13px 'DM Sans';
  padding: 15px 20px;
  cursor: pointer;
  white-space: nowrap;
}
.search-submit span,
.text-link span,
.button-outline span,
.button-light span {
  font-size: 19px;
  vertical-align: -1px;
  margin-left: 9px;
}
.advanced {
  position: absolute;
  right: 30px;
  bottom: -25px;
  border: 0;
  background: none;
  color: #fff;
  font: 500 12px 'DM Sans';
  cursor: pointer;
}
.scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 7vw, 100px);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #fff;
  text-decoration: none;
  writing-mode: vertical-rl;
  display: flex;
  gap: 12px;
  align-items: center;
}
.scroll span {
  font-size: 18px;
}
.section {
  padding: 155px clamp(24px, 10vw, 160px) 105px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}
.section-head h2,
.about h2,
.condo-copy h2,
.cta h2 {
  font-size: clamp(36px, 4.2vw, 55px);
  line-height: 1.15;
}
.text-link {
  font-size: 13px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--warm);
  padding-bottom: 4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.property-card {
  background: #fff;
  box-shadow: 0 7px 28px #18313913;
}
.property-image {
  height: 272px;
  background-position: center;
  background-size: cover;
  position: relative;
}
.image-1 {
  background-image: url('assets/imovel-1.jpg');
}
.image-2 {
  background-image: url('assets/imovel-2.jpg');
}
.image-3 {
  background-image: url('assets/imovel-3.jpg');
}
.tag {
  position: absolute;
  left: 15px;
  top: 15px;
  background: #fff;
  padding: 7px 9px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.heart {
  position: absolute;
  right: 13px;
  top: 11px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 33px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}
.property-info {
  padding: 22px;
}
.location {
  font-weight: 700;
  color: #9a7442;
  font-size: 10px;
  letter-spacing: 1.1px;
  margin: 0 0 9px;
}
.property-info h3 {
  font: 600 20px 'Playfair Display';
  margin: 0 0 16px;
  line-height: 1.25;
}
.details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  font-size: 11px;
  color: #69757a;
  padding-top: 12px;
  border-top: 1px solid #eee9e1;
}
.details span:not(:last-child):after {
  content: '·';
  margin-left: 13px;
  color: #b9a27d;
}
.property-info strong {
  font-size: 17px;
  display: block;
  margin-top: 17px;
}
.condos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sand);
}
.condo-picture {
  min-height: 595px;
  background: url('assets/condominio.jpg') center/cover;
}
.condo-copy {
  padding: 90px clamp(24px, 8vw, 128px);
  align-self: center;
}
.condo-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.7;
  color: #53656a;
  max-width: 420px;
  margin: 22px 0 31px;
}
.button-outline {
  border: 1px solid var(--ink);
  padding: 13px 17px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}
.condo-count {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
  border-top: 1px solid #d4cabd;
  padding-top: 25px;
}
.condo-count b {
  font: 40px 'Playfair Display';
}
.condo-count span {
  font-size: 12px;
  line-height: 1.5;
}
.about {
  text-align: center;
}
.about h2 {
  margin-bottom: 65px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  gap: 55px;
}
.benefits article {
  border-top: 1px solid #cfc7ba;
  padding-top: 17px;
}
.benefits span {
  font: 500 14px 'Playfair Display';
  color: var(--warm);
}
.benefits h3 {
  font: 600 23px 'Playfair Display';
  margin: 21px 0 11px;
}
.benefits p {
  color: #657277;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}
.cta {
  padding: 93px 24px 99px;
  text-align: center;
  background: var(--ink2);
  color: #fff;
}
.cta h2 {
  margin-bottom: 29px;
}
.cta .eyebrow {
  color: #dfb77b;
}
.button-light {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  padding: 15px 20px;
}
footer {
  background: #0b2026;
  color: #ced6d4;
  padding: 38px clamp(24px, 10vw, 160px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
footer p {
  margin: 0;
}
.footer-logo {
  color: #fff;
  transform: scale(0.8);
  transform-origin: left;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 100px);
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  font-size: 13px;
  box-shadow: 0 5px 22px #0004;
  transition: transform 0.3s;
  z-index: 5;
}
.toast.show {
  transform: translate(-50%, 0);
}
@media (max-width: 850px) {
  .header {
    height: 72px;
    padding: 0 24px;
  }
  .nav,
  .phone {
    display: none;
  }
  .menu-button {
    display: block;
    margin-left: auto;
    background: transparent;
    border: 0;
    width: 38px;
  }
  .menu-button span {
    display: block;
    width: 25px;
    height: 1px;
    background: #fff;
    margin: 6px 0;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 23px 24px;
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    min-height: 770px;
    padding: 145px 24px;
  }
  .search-box {
    left: 24px;
    right: 24px;
    bottom: -133px;
    padding: 0 18px 18px;
  }
  .search-fields {
    grid-template-columns: 1fr 1fr;
  }
  .search-submit {
    grid-column: span 2;
  }
  .advanced {
    color: var(--ink);
    bottom: -36px;
    right: 18px;
  }
  .section {
    padding: 185px 24px 70px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .property-image {
    height: 330px;
  }
  .section-head {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .condos {
    grid-template-columns: 1fr;
  }
  .condo-picture {
    min-height: 330px;
  }
  .condo-copy {
    padding: 64px 24px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about {
    padding-top: 80px;
  }
  .about h2 {
    margin-bottom: 45px;
  }
  footer {
    gap: 20px;
    flex-wrap: wrap;
  }
  .scroll {
    display: none;
  }
}
@media (max-width: 460px) {
  h1 {
    font-size: 47px;
  }
  .search-fields {
    grid-template-columns: 1fr;
  }
  .search-submit {
    grid-column: auto;
  }
  .property-image {
    height: 250px;
  }
  .section-head h2,
  .about h2,
  .condo-copy h2,
  .cta h2 {
    font-size: 37px;
  }
  footer {
    display: block;
  }
  .footer-logo {
    margin-bottom: 15px;
  }
  footer p {
    margin-top: 10px;
  }
}

/* Identidade Mônica Machado Tassinari */
:root {
  --ink: #2d2b2b;
  --ink2: #1e1b1b;
  --sand: #f9f4ed;
  --warm: #bc9155;
  --line: #e5d9cb;
}
.header {
  background: #282525;
  gap: 25px;
}
.logo.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  letter-spacing: 0;
  min-width: 180px;
}
.logo.logo-text span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: #f8efe5;
  line-height: 1;
  white-space: nowrap;
}
.logo.logo-text small {
  font-size: 7px;
  letter-spacing: 1.45px;
  color: #d5b577;
  margin: 0;
}
.hero {
  background-image:
    linear-gradient(90deg, rgba(28, 25, 24, 0.8), rgba(28, 25, 24, 0.3)),
    url('assets/hero-praia-litoral.jpg');
}
.eyebrow {
  color: #b68b52;
}
.search-submit {
  background: #a77c46;
}
.cta {
  background: #292525;
}
.footer-logo {
  transform: none;
}
.footer-logo span {
  font-size: 20px !important;
}
.footer-logo small {
  font-size: 6px !important;
}
@media (max-width: 850px) {
  .header .phone {
    display: none;
  }
  .logo.logo-text {
    min-width: 0;
  }
  .logo.logo-text span {
    font-size: 18px;
  }
  .menu-button {
    margin-left: 0;
  }
}

/* Imóveis carregados pela API */
.text-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--warm);
  cursor: pointer;
  padding: 0 0 4px;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -20px 0 25px;
}
.property-status {
  font-size: 13px;
  color: #657277;
  margin: 0;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #657277;
  font-size: 12px;
}
.sort-control select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 28px 8px 10px;
  font: 600 12px 'DM Sans';
  cursor: pointer;
}
.property-card {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.property-card:hover,
.property-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #18313929;
  outline: 2px solid var(--warm);
  outline-offset: 3px;
}
.property-image.without-photo {
  background: linear-gradient(135deg, #d6c1a4, #80664f);
}
.property-modal {
  border: 0;
  padding: 0;
  max-width: min(880px, calc(100% - 32px));
  width: 100%;
  box-shadow: 0 18px 50px #0005;
}
.property-modal::backdrop {
  background: #142e36b8;
}
.modal-close {
  position: absolute;
  z-index: 1;
  right: 13px;
  top: 13px;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.modal-image {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.modal-copy {
  padding: 30px;
}
.modal-copy h2 {
  font-size: 36px;
  line-height: 1.2;
}
.modal-price {
  display: block;
  color: var(--warm);
  font-size: 19px;
  margin: 16px 0;
}
.modal-copy > p:not(.location) {
  line-height: 1.65;
  color: #53656a;
}
.modal-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.modal-details span,
.amenities {
  background: var(--sand);
  padding: 8px 10px;
  font-size: 12px;
}
.amenities {
  width: 100%;
  margin: 0;
}
@media (max-width: 600px) {
  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .modal-image {
    height: 240px;
  }
  .modal-copy {
    padding: 24px;
  }
  .modal-copy h2 {
    font-size: 29px;
  }
}
