@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --black: #10100f;
  --panel: #191917;
  --gold: #c8a96a;
  --gold-light: #e6d2a3;
  --cream: #f5f1e8;
  --muted: #a7a39a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: #f8f6f1;
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   FAIXA SUPERIOR DE CONTATO
========================================== */

.contact-bar {
  background: #080807;
  color: #d5d0c5;
  border-bottom: 1px solid #29261f;
  padding: 10px 7.5%;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
  font-size: 10px;
  letter-spacing: .3px;
}

.contact-bar a {
  transition: color .2s;
}

.contact-bar a:hover {
  color: var(--gold-light);
}

.contact-bar a span {
  color: var(--gold);
  margin-right: 5px;
  font-weight: 700;
}

.top-creci {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================
   CABEÇALHO
========================================== */

.topbar {
  min-height: 92px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 7.5%;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #29261f;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid var(--gold);
  padding: 6px 10px;
  font-family: 'Playfair Display', serif;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--gold);
}

.brand-mark span:first-child {
  color: #fff;
}

.brand-mark span:last-child {
  color: var(--gold);
}

.brand-name {
  display: block;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 700;
}

.brand-name > span {
  display: block;
  font-size: 9px;
  letter-spacing: 2.1px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  color: #dedbd3;
}

.nav a {
  transition: color .2s;
}

.nav a:hover {
  color: var(--gold-light);
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 12px 15px;
  color: var(--gold-light);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 25px;
  cursor: pointer;
}

/* ==========================================
   BANNER PRINCIPAL
========================================== */

.hero {
  min-height: 570px;
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(10,10,9,.93),
      rgba(10,10,9,.57) 55%,
      rgba(10,10,9,.16)
    ),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85')
    center/cover;
  display: flex;
  align-items: center;
  color: white;
  padding: 75px 10%;
}

.hero-content {
  position: relative;
  max-width: 650px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 18px;
}

.hero h1,
.section h2,
.about h2,
.contact h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
  margin: 0;
}

.hero h1 em,
.section h2 em,
.about h2 em,
.contact h2 em {
  font-weight: 500;
  color: var(--gold);
}

.hero-copy {
  font-size: 14px;
  line-height: 1.9;
  color: #dedbd4;
  max-width: 470px;
  margin: 25px 0 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gold-button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #171510;
  padding: 16px 21px;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.gold-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.hero-note {
  position: absolute;
  bottom: 28px;
  right: 8%;
  font-size: 10px;
  letter-spacing: 1px;
  color: #e4dfd4;
}

.hero-note span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

/* ==========================================
   BUSCA DE IMÓVEIS
========================================== */

.search-strip {
  display: flex;
  align-items: center;
  gap: 25px;
  background: white;
  padding: 25px 7.5%;
  box-shadow: 0 12px 35px #0000000a;
}

.search-intro {
  margin-right: auto;
}

.search-intro strong,
.search-intro span {
  display: block;
}

.search-intro strong {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.search-intro span {
  font-size: 10px;
  color: #777;
  margin-top: 5px;
}

.search-strip label {
  font-size: 10px;
  color: #777;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
}

.search-strip select {
  border: 0;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  background: white;
  color: #25231f;
  font: 12px 'DM Sans', sans-serif;
}

.search-button {
  background: var(--black);
  color: var(--gold-light);
  padding: 15px 22px;
  font-size: 12px;
}

.search-button span {
  margin-left: 12px;
}

/* ==========================================
   SEÇÃO DE IMÓVEIS
========================================== */

.section {
  padding: 90px 8%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}

.section h2,
.about h2,
.contact h2 {
  font-size: 43px;
}

.text-link {
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 9px;
}

.text-link span {
  color: #a17c37;
  margin-left: 12px;
}

/* ==========================================
   GRADE DOS IMÓVEIS
========================================== */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  align-items: stretch;
}

.property-card {
  background: white;
  box-shadow: 0 10px 35px #17140c0b;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px #17140c16;
}

.property-photo {
  width: 100%;
  height: 235px;
  min-height: 235px;
  max-height: 235px;
  position: relative;
  overflow: hidden;
  background-color: #e8e5df;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.property-photo .property-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.tag {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  background: var(--gold);
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
}

.photo-label {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  right: 10px;
  color: white;
  font-size: 9px;
  text-shadow: 0 1px 4px #000;
  background: rgba(0,0,0,.55);
  padding: 5px 8px;
  border-radius: 3px;
}

/* INFORMAÇÕES DOS IMÓVEIS */

.property-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: #8a857b;
}

.property-meta span {
  min-width: 0;
}

.property-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 500;
  margin: 13px 0;
  overflow-wrap: anywhere;
}

.features {
  font-size: 11px;
  color: #777;
  line-height: 1.7;
}

.features i {
  font-style: normal;
  color: var(--gold);
  padding: 0 5px;
}

.property-bottom {
  border-top: 1px solid #eee;
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-bottom strong {
  font-size: 12px;
}

.property-bottom a {
  background: var(--black);
  color: var(--gold);
  padding: 8px 11px;
  flex-shrink: 0;
}

.property-bottom a:hover {
  background: var(--gold);
  color: var(--black);
}

.property-status {
  grid-column: 1 / -1;
  text-align: center;
  color: #777;
  font-size: 14px;
  padding: 35px 15px;
}

/* ==========================================
   SOBRE HUGO MOREIRA
========================================== */

.about {
  background: var(--black);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8%;
  align-items: center;
  padding: 90px 12%;
}

.about-mark {
  border: 1px solid #5a4c30;
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-initials {
  font-family: 'Playfair Display', serif;
  font-size: 115px;
  line-height: 1;
  letter-spacing: -10px;
  color: white;
}

.about-initials span {
  color: var(--gold);
}

.about-mark-name {
  font-size: 15px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 25px;
  font-weight: 600;
}

.about-mark-role {
  font-size: 9px;
  letter-spacing: 4px;
  color: #aaa;
  margin-top: 10px;
}

.about-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #b9b6ae;
  max-width: 520px;
  margin: 22px 0;
}

.about-copy .text-link {
  display: inline-block;
  color: white;
  margin-top: 10px;
}

/* ==========================================
   CONTATO
========================================== */

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-action {
  max-width: 400px;
}

.contact-action > p {
  font-size: 13px;
  line-height: 1.8;
  color: #6d6961;
}

.contact-details {
  margin-top: 25px;
}

.contact-details p {
  font-size: 12px;
  line-height: 1.8;
  color: #6d6961;
  margin: 15px 0;
  overflow-wrap: anywhere;
}

.contact-details strong {
  color: var(--black);
}

.contact-details a {
  transition: color .2s;
}

.contact-details a:hover {
  color: #a17c37;
}

/* ==========================================
   RODAPÉ INSTITUCIONAL
========================================== */

footer {
  background: #0b0b0a;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 7.5%;
  font-size: 10px;
  gap: 25px;
  border-top: 1px solid #29261f;
}

footer .brand-name {
  color: white;
}

.footer-info {
  text-align: center;
  line-height: 1.7;
}

.footer-info p {
  margin: 4px 0;
}

.footer-top {
  color: var(--gold);
  white-space: nowrap;
}

.footer-top:hover {
  color: var(--gold-light);
}

/* ==========================================
   BOTÃO FLUTUANTE WHATSAPP
========================================== */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0,0,0,.25);
  transition: transform .2s, background .2s;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

/* ==========================================
   TABLETS
========================================== */

@media (max-width: 1100px) {

  .topbar {
    padding-left: 5%;
    padding-right: 5%;
  }

  .nav {
    gap: 15px;
    font-size: 11px;
  }

  .brand-name {
    font-size: 13px;
  }

  .nav-cta {
    padding: 10px 11px;
  }
}

@media (max-width: 850px) {

  .contact-bar {
    padding: 10px 5%;
  }

  .contact-bar-inner {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .topbar {
    padding: 0 5%;
    min-height: 74px;
  }

  .brand-mark {
    font-size: 27px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5% 20px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
  }

  .nav-cta {
    padding: 12px 15px !important;
    margin-top: 5px;
  }

  .hero {
    padding: 70px 7%;
    min-height: 520px;
  }

  .search-strip {
    padding: 25px 7%;
    flex-wrap: wrap;
  }

  .search-intro {
    width: 100%;
  }

  .search-strip label {
    flex: 1;
    min-width: 130px;
  }

  .section {
    padding: 65px 6%;
  }

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

  .about {
    padding: 65px 7%;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-mark {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-action {
    max-width: 500px;
  }

  footer {
    padding: 25px 5%;
    flex-wrap: wrap;
  }
}

/* ==========================================
   CELULARES
========================================== */

@media (max-width: 560px) {

  .contact-bar-inner {
    gap: 7px 15px;
  }

  .contact-bar-inner a:nth-child(2) {
    display: none;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    font-size: 25px;
    padding: 6px 8px;
  }

  .brand-name {
    font-size: 12px;
    letter-spacing: 1.4px;
  }

  .brand-name > span {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .hero {
    min-height: 550px;
    padding: 65px 7%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .gold-button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-note {
    left: 7%;
    right: 7%;
    font-size: 9px;
  }

  .search-strip {
    gap: 18px;
  }

  .search-strip label {
    width: 100%;
  }

  .search-button {
    width: 100%;
    text-align: center;
  }

  .section-heading {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .section h2,
  .about h2,
  .contact h2 {
    font-size: 36px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-photo {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
  }

  .about {
    padding: 60px 7%;
  }

  .about-mark {
    padding: 40px 12px;
  }

  .about-initials {
    font-size: 85px;
  }

  .about-mark-name {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .about-mark-role {
    font-size: 8px;
    letter-spacing: 2.5px;
  }

  .contact {
    padding: 60px 7%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 7%;
  }

  .footer-info {
    text-align: left;
  }

  .footer-top {
    margin-top: 5px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    padding: 13px;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* ACESSIBILIDADE */

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* REFERÊNCIA DO IMÓVEL */

.property-reference {
    color: #9b793d;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
    font-size: 9px;
}