/* ==========================================================================
   Hebrom Empreendimentos — Design System
   Cores e tipografia conforme Manual de Marca (Imperial Blue / Pecan Brown)
   Fontes: Fraunces (substituta livre de "Ogg", fonte paga) + Montserrat
   ========================================================================== */

:root {
  --navy: #001d51;
  --navy-700: #0a2a63;
  --navy-600: #163a7a;
  --navy-100: #e7ebf3;
  --copper: #a36e51;
  --copper-600: #8a5a40;
  --copper-100: #f2e6dc;
  --cream: #f7f2ec;
  --white: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --line: #e2ddd4;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  /* Fonte dedicada para números de telefone — leitura limpa e corporativa */
  --font-phone: "Inter", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --shadow-card: 0 12px 30px rgba(0, 29, 81, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 14px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--copper);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--copper-600);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--whatsapp {
  background: #ffffff;
  color: var(--navy);
}
.btn--whatsapp:hover {
  background: var(--copper-100);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* Top utility bar ---------------------------------------------------------*/

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topbar__links {
  display: flex;
  gap: 24px;
}

.topbar__links a:hover {
  color: var(--copper-100);
}

.topbar__contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Main header ---------------------------------------------------------- */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 88px;
  gap: 32px;
}

.header__logo {
  justify-self: center;
}

.header__logo img {
  height: 46px;
  width: auto;
  transition: opacity 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-end;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  border-color: var(--copper);
}

.header__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header__phone {
  text-align: right;
  line-height: 1.3;
}

.header__phone small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.header__phone strong {
  font-family: var(--font-phone);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}

/* Números de telefone — tipografia profissional e algarismos alinhados */
.phone-number {
  font-family: var(--font-phone);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 140px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 29, 81, 0.78), rgba(0, 29, 81, 0.55) 55%, rgba(0, 29, 81, 0.88));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow {
  color: var(--copper-100);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__placeholder-note {
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--copper);
  padding-left: 12px;
  max-width: 420px;
}

/* Brand emblem motion: header logo <-> hero night sky ---------------------*/

.hero__emblem-target {
  position: absolute;
  left: 72%;
  top: 34%;
  width: clamp(60px, 6.5vw, 108px);
  height: 1px;
  pointer-events: none;
}

.brand-fly {
  position: fixed;
  top: 0;
  left: 0;
  width: 46px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  z-index: 500;
  filter: drop-shadow(0 0 14px rgba(163, 110, 81, 0.55)) drop-shadow(0 0 34px rgba(163, 110, 81, 0.32));
}

@media (prefers-reduced-motion: reduce) {
  .brand-fly {
    display: none;
  }
}

/* Search / filter card ---------------------------------------------------- */

.finder {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin: -64px auto 0;
  position: relative;
  z-index: 10;
  max-width: calc(var(--container) - 48px);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: end;
}

.finder__label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--copper);
  font-size: 18px;
}

.finder__field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.finder__field select {
  width: 100%;
  padding: 12px 10px;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  appearance: none;
}

.finder .btn {
  height: 48px;
}

/* Property cards ----------------------------------------------------------*/

.band {
  background: var(--navy);
  padding: 120px 0 80px;
  color: var(--white);
}

.band .section-head h2 {
  color: var(--white);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-100);
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--copper);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.badge--outline {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border: 1px solid var(--navy);
}

.property-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card__body h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.property-card__loc {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

.property-card__specs {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.9;
}

.property-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}

.property-card__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.property-card__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.property-card--soon {
  border: 1px dashed var(--copper);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  color: var(--ink-soft);
  min-height: 100%;
}

.property-card--soon .monogram {
  width: 40px;
  margin: 0 auto 16px;
  opacity: 0.6;
}

/* Split content section --------------------------------------------------*/

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.split__media {
  height: 100%;
  min-height: 420px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content {
  padding: 64px 72px;
  background: var(--cream);
}

.split__content h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}

/* Values / pillars ---------------------------------------------------------*/

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  text-align: center;
  padding: 0 16px;
}

.pillar__num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  color: var(--copper);
}

.pillar h3 {
  font-size: 22px;
  color: var(--copper);
  margin-bottom: 12px;
}

/* CTA band ------------------------------------------------------------- */

.cta-band {
  background: var(--copper);
  color: var(--white);
  padding: 56px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 6px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Footer ------------------------------------------------------------------*/

.footer {
  background: #05132e;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo img {
  height: 38px;
  margin-bottom: 20px;
}

.footer address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 12px;
  font-size: 13px;
}

.footer ul a:hover {
  color: var(--copper-100);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 8px;
}

/* Forms ---------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Page header (interior pages) ------------------------------------------ */

.page-hero {
  background: var(--navy) center/cover no-repeat;
  background-blend-mode: multiply;
  padding: 72px 0;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a:hover {
  color: var(--copper-100);
}

/* Property detail ---------------------------------------------------------*/

.detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.detail-specs__item {
  min-width: 140px;
}

.detail-specs__item small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery__main {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
}

.lead-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
  align-self: start;
  position: sticky;
  top: 110px;
}

.lead-card h3 {
  font-size: 20px;
}

.lead-card__price {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 4px;
}

.lead-card__price-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

/* Utility ------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.placeholder-block {
  background: repeating-linear-gradient(135deg, var(--navy-100), var(--navy-100) 10px, #f0f3f8 10px, #f0f3f8 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* Responsive -------------------------------------------------------------*/

@media (max-width: 960px) {
  .topbar__links { display: none; }
  .topbar .container { height: 36px; justify-content: center; }
  .topbar__contact { gap: 16px; white-space: nowrap; }
  .header .container {
    display: flex;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
  }
  .header__logo { flex-shrink: 0; }
  .header__logo img { height: 40px; max-width: none; }
  .header__cta { gap: 10px; flex-shrink: 0; }
  .header__cta .btn { padding: 12px 18px; font-size: 12px; }
  .nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin-right: -8px; }
  .header__phone { display: none; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder__label { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__content { padding: 48px 28px; }
  .split__media { min-height: 280px; }
  .pillars { grid-template-columns: 1fr; gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .detail-columns { grid-template-columns: 1fr; }
  .lead-card { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__main { grid-column: span 2; }
}

@media (max-width: 640px) {
  .topbar__contact a:not(.phone-number) { display: none; }
  .header .container { height: 64px; }
  .header__logo img { height: 34px; }
  .header__cta .btn { padding: 10px 14px; font-size: 11px; letter-spacing: 0.08em; }
  .section { padding: 56px 0; }
  .band { padding: 72px 0 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .finder { grid-template-columns: 1fr; padding: 24px; margin-top: -40px; }
  .hero { padding: 120px 0 90px; min-height: auto; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
}

/* Mobile nav drawer ------------------------------------------------------ */

.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 8px 24px 16px;
  border-bottom: 1px solid var(--line);
  gap: 0;
  box-shadow: var(--shadow-card);
}

.nav.is-open a {
  padding: 16px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.nav.is-open a:last-child {
  border-bottom: 0;
}
