/* =========================
   RESET GLOBAL
========================= */
:root {
  --bg-black: #040506;
  --bg-black-soft: #0a0c10;
  --bg-charcoal: #10141b;
  --bg-panel: #131922;
  --bg-panel-soft: #182130;
  --bg-glass: rgba(255, 255, 255, 0.04);

  --text: #f7f2e8;
  --text-soft: #ddd5c7;
  --text-muted: #9fa8b8;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(244, 194, 73, 0.22);

  --gold: #f4c249;
  --gold-strong: #ffd76a;
  --gold-dark: #c8961e;

  --blue: #0f2747;
  --blue-soft: #173966;
  --blue-strong: #204d86;
  --blue-glow: rgba(43, 98, 176, 0.28);

  --green: #1fc96b;
  --green-strong: #28df78;
  --green-dark: #159557;

  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.18);
  --shadow-medium: 0 28px 60px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 42px 90px rgba(0, 0, 0, 0.46);

  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1280px;
  --header-height: 88px;
  --transition: all 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
button,
input,
textarea,
select {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(244, 194, 73, 0.09), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(32, 77, 134, 0.16), transparent 24%),
    linear-gradient(180deg, #040506 0%, #0a0d12 38%, #06080b 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open,
body.tag-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* =========================
   UTILITÁRIOS
========================= */
.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  color: var(--text);
  margin-bottom: 12px;
}

.portfolio-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portfolio-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: inline-block;
}

.hidden {
  display: none !important;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(5, 7, 10, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 194, 73, 0.22), rgba(32, 77, 134, 0.28), transparent);
}

.site-header.scrolled {
  background: rgba(5, 7, 10, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(244, 194, 73, 0.24);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-text {
  color: #fff;
  font-size: 1.82rem;
  line-height: 1;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtext {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  font-weight: 500;
  transition: var(--transition);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue-strong));
  border-radius: 999px;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta,
.header-secondary-cta,
.hero-primary-cta,
.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-cta {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #0f1217;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 12px 24px rgba(244, 194, 73, 0.24);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(244, 194, 73, 0.3);
}

.header-secondary-cta {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.header-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(244, 194, 73, 0.2);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px 18px;
  background: rgba(7, 9, 13, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a {
  color: #fff;
  padding: 14px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  display: flex;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.82) 0%, rgba(6, 10, 16, 0.68) 38%, rgba(10, 20, 36, 0.44) 100%),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 194, 73, 0.12), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(32, 77, 134, 0.24), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 34%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 44px;
  align-items: center;
}

.hero-content-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-text {
  max-width: 720px;
}

.hero-text-centered {
  max-width: 1020px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 980px;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.38);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-text h1 span {
  color: var(--gold-strong);
}

.hero-text p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.82;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
}

.hero-primary-cta {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111827;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(244, 194, 73, 0.24);
}

.hero-secondary-cta {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.86), rgba(11, 22, 38, 0.92));
  border: 1px solid rgba(88, 130, 189, 0.28);
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(9, 18, 30, 0.32);
}

.hero-primary-cta:hover,
.hero-secondary-cta:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 34px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 170px;
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 2.45rem;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
}

.hero-highlight-card {
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(17, 23, 31, 0.96), rgba(15, 22, 34, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.hero-highlight-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(244, 194, 73, 0.14);
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.05;
  margin-top: 18px;
  color: #fff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-highlight-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  color: #f4f0ea;
  font-size: 0.95rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.6rem;
  transition: var(--transition);
  animation: floatArrow 1.8s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--gold);
}

@keyframes floatArrow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* =========================
   STRIP
========================= */
.luxury-strip {
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.98), rgba(17, 24, 36, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.luxury-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  color: rgba(244, 240, 234, 0.84);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   PORTFÓLIO / IMÓVEIS
========================= */
.portfolio-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #06080b 0%, #0c1119 35%, #07090c 100%);
  color: var(--text);
  padding: 104px 0 116px;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(244, 194, 73, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(32, 77, 134, 0.12), transparent 26%);
  pointer-events: none;
}

.portfolio-section .container,
.services-section .container,
.about-section .container,
.testimonials-section .container,
.contact-section .container {
  position: relative;
  z-index: 1;
}

.portfolio-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.portfolio-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 34px;
}

.portfolio-top-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portfolio-heading {
  max-width: 760px;
}

.portfolio-heading-centered {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.portfolio-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #f7f3eb;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.portfolio-subtitle {
  max-width: 760px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.74;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 100%;
}

.portfolio-actions-centered {
  justify-content: center;
  width: 100%;
  max-width: 1000px;
}

.filter-chip {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23, 34, 49, 0.9), rgba(15, 23, 35, 0.95));
  color: #f5f1e8;
  border: 1px solid rgba(94, 133, 187, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.96rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-chip:hover {
  background: linear-gradient(180deg, rgba(28, 44, 66, 0.95), rgba(17, 29, 45, 0.98));
  border-color: rgba(244, 194, 73, 0.38);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(244, 194, 73, 0.28);
}

.portfolio-description {
  max-width: 980px;
  margin-bottom: 26px;
}

.portfolio-description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.03rem;
  line-height: 1.74;
}

.portfolio-description p + p {
  margin-top: 6px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.56);
}

.portfolio-description strong {
  color: #f4f1ea;
}

.portfolio-count {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* =========================
   GRID DE CARDS
========================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 350px));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.property-grid > * {
  width: 100%;
}

.property-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 19, 27, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 0;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.property-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(244,194,73,0.12),
    rgba(32,77,134,0.12)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.42);
}

.property-slider {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #0e1420;
}

.property-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.24), transparent 48%);
  pointer-events: none;
}

.property-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.property-slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 3s linear;
  background: linear-gradient(135deg, #132037 0%, #1a3154 100%);
}

.property-slides .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.property-tag,
.property-type {
  position: absolute;
  top: 16px;
  z-index: 3;
  min-height: 36px;
  max-width: calc(50% - 22px);
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-tag {
  left: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
  box-shadow: 0 8px 18px rgba(244, 194, 73, 0.22);
}

.property-type {
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.property-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  border: none;
  padding: 0;
}

.property-dots .dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold);
}

.property-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.property-body h3 {
  color: #f7f3eb;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-location {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
  min-height: 48px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.property-meta span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-button {
  margin-top: auto;
  min-height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--blue-strong) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 16px 28px rgba(23, 57, 102, 0.24);
  width: 100%;
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 0 14px;
}

.property-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.skeleton-card .slide.active {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}

/* =========================
   SERVIÇOS / SOBRE / CONTATO
========================= */
.services-section,
.about-section,
.testimonials-section,
.contact-section {
  color: #fff;
}

.services-section {
  padding: 94px 0;
  background: linear-gradient(180deg, #080b10 0%, #0d1320 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.services-intro h2,
.about-text h2,
.contact-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.services-intro p,
.about-text p,
.contact-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.04rem;
  line-height: 1.75;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.about-metric,
.testimonial-card,
.contact-box {
  background: linear-gradient(180deg, rgba(15, 20, 29, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-medium);
}

.service-card {
  padding: 24px;
  border-radius: 22px;
}

.service-card h3 {
  color: #f7f3eb;
  font-size: 1.16rem;
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.service-card p {
  color: rgba(255,255,255,0.74);
  line-height: 1.72;
  font-size: 0.96rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-section {
  background: linear-gradient(180deg, #0d1320 0%, #080b10 100%);
  padding: 92px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 28px;
}

.about-metrics {
  display: grid;
  gap: 16px;
}

.about-metric {
  padding: 22px 24px;
  border-radius: 20px;
}

.about-metric strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gold-strong);
  margin-bottom: 6px;
}

.about-metric span {
  color: rgba(255,255,255,0.74);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.testimonials-section {
  background: linear-gradient(180deg, #080b10 0%, #101827 100%);
  padding: 88px 0 98px;
}

.testimonials-section .section-title {
  color: #fff;
  margin-bottom: 28px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  border-radius: 22px;
  padding: 24px;
}

.testimonial-card p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.testimonial-card strong {
  color: var(--gold-strong);
  font-size: 0.96rem;
}

.contact-section {
  padding: 0 0 110px;
  background: linear-gradient(180deg, #101827 0%, #070a0f 100%);
}

.contact-box {
  border-radius: 30px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   MODAL DO IMÓVEL
========================= */
.property-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.property-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.property-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at top, rgba(244,194,73,0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(32,77,134,0.18), transparent 28%);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}

.property-modal-box {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1160px);
  max-height: calc(100vh - 42px);
  overflow: hidden;
  margin: 21px auto;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #141b26 0%, #0e131c 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(244, 194, 73, 0.06),
    0 0 40px rgba(32, 77, 134, 0.16);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.property-modal.active .property-modal-box {
  transform: translateY(0) scale(1);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(244, 194, 73, 0.08),
    0 0 52px rgba(32, 77, 134, 0.18);
}

.property-modal-close,
.tag-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.property-modal-close:hover,
.tag-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg);
}

.property-modal-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
}

.property-modal-image-wrap {
  position: relative;
  background: #0d1420;
  min-height: 100%;
  overflow: hidden;
}

.property-modal-image {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,0.48);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.modal-arrow:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #111;
}

.modal-arrow.prev {
  left: 18px;
}

.modal-arrow.next {
  right: 18px;
}

.property-modal-content {
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.property-modal-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.property-modal-tag,
.property-modal-type {
  min-height: 40px;
  max-width: 100%;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 800;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-tag {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
}

.property-modal-type {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

.property-modal-content h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.96;
  color: #f7f3eb;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-location {
  color: rgba(255,255,255,0.76);
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-price {
  color: var(--gold-strong);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-description,
#modalDescription {
  color: rgba(255,255,255,0.78);
  line-height: 1.82;
  margin-bottom: 26px;
  font-size: 1.01rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow-y: auto;
  max-height: 220px;
  padding-right: 4px;
}

.property-modal-description::-webkit-scrollbar,
#modalDescription::-webkit-scrollbar {
  width: 8px;
}

.property-modal-description::-webkit-scrollbar-thumb,
#modalDescription::-webkit-scrollbar-thumb {
  background: rgba(244, 194, 73, 0.28);
  border-radius: 999px;
}

.property-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
  min-width: 0;
}

.property-modal-meta-item {
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.06);
  min-width: 0;
}

.property-modal-meta-item strong {
  display: block;
  color: #fff;
  font-size: 0.93rem;
  margin-bottom: 8px;
}

.property-modal-meta-item span {
  color: rgba(255,255,255,0.74);
  font-size: 1.02rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.property-modal-whatsapp,
.property-modal-secondary {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.property-modal-whatsapp {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  color: #fff;
}

.property-modal-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   MODAL DAS TAGS / CATEGORIAS
========================= */
.tag-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.tag-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tag-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at top, rgba(244, 194, 73, 0.14), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(32, 77, 134, 0.16), transparent 32%);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
}

.tag-modal-box {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1180px);
  max-height: calc(100vh - 42px);
  overflow: auto;
  margin: 21px auto;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #141b26 0%, #0e131c 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(244, 194, 73, 0.05),
    0 0 34px rgba(32, 77, 134, 0.12);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.tag-modal.active .tag-modal-box {
  transform: translateY(0) scale(1);
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(244, 194, 73, 0.07),
    0 0 44px rgba(32, 77, 134, 0.14);
}

.tag-modal-header {
  padding-right: 64px;
  margin-bottom: 24px;
}

.tag-modal-header h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
  color: #f7f3eb;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tag-modal-header p {
  color: rgba(255,255,255,0.76);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tag-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tag-tab-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 35, 54, 0.9), rgba(14, 24, 38, 0.96));
  color: #f5f1e8;
  border: 1px solid rgba(94, 133, 187, 0.24);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.tag-tab-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
  border-color: transparent;
}

.tag-category-panel {
  display: none;
}

.tag-category-panel.active {
  display: block;
}

.tag-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tag-property-card {
  background: linear-gradient(180deg, rgba(15, 20, 29, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
  position: relative;
}

.tag-property-card:hover {
  transform: translateY(-6px);
}

.tag-property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tag-property-card-content {
  padding: 18px 18px 20px;
  min-width: 0;
}

.tag-property-card-content h4 {
  color: #f7f3eb;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tag-property-card-content p {
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tag-property-card-content span {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================
   WHATSAPP FLUTUANTE
========================= */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  z-index: 998;
  box-shadow: 0 16px 32px rgba(31, 201, 107, 0.28);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  background: var(--green-dark);
}

/* =========================
   TABLET
========================= */
@media (max-width: 1180px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group,
  .hero-stats {
    justify-content: center;
  }

  .hero-highlight-card {
    max-width: 760px;
    margin: 0 auto;
  }

  .portfolio-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .portfolio-heading,
  .portfolio-description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .portfolio-actions {
    justify-content: center;
    max-width: none;
  }

  .services-grid,
  .about-inner,
  .contact-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .services-intro,
  .about-text,
  .contact-text {
    text-align: center;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 350px));
  }
}

@media (max-width: 1024px) {
  .services-cards,
  .testimonials-grid,
  .tag-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-text h1 {
    font-size: clamp(3rem, 7vw, 5.2rem);
  }

  .hero-stats {
    gap: 24px;
  }

  .property-modal-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .property-modal-image {
    min-height: 360px;
    height: 360px;
  }

  .property-modal-box {
    width: min(100% - 24px, 760px);
    overflow: auto;
  }

  .property-modal-content {
    overflow: visible;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .brand-text {
    font-size: 1.34rem;
  }

  .brand-subtext {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 34px 0 60px;
    gap: 22px;
  }

  .hero-content-centered {
    justify-items: center;
  }

  .hero-text,
  .hero-text-centered {
    width: 100%;
    max-width: 100%;
  }

  .hero-badge {
    margin-bottom: 18px;
    font-size: 0.76rem;
    line-height: 1.25;
    min-height: 38px;
    padding: 10px 14px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .hero-text h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3.9rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-text p {
    max-width: 100%;
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.7;
    padding-inline: 2px;
  }

  .hero-cta-group {
    width: 100%;
    gap: 10px;
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-primary-cta,
  .hero-secondary-cta {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .hero-stats {
    width: 100%;
    margin-top: 26px;
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .hero-stat {
    min-width: 0;
  }

  .hero-stat strong {
    font-size: 1.45rem;
    margin-bottom: 4px;
  }

  .hero-stat span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-scroll {
    bottom: 14px;
  }

  .hero-highlight-card {
    padding: 22px;
  }

  .luxury-strip {
    padding: 14px 0;
  }

  .luxury-strip-inner {
    gap: 10px 18px;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  .portfolio-section,
  .services-section,
  .about-section,
  .testimonials-section {
    padding: 70px 0 84px;
  }

  .portfolio-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .property-grid,
  .services-cards,
  .testimonials-grid,
  .tag-modal-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .property-grid {
    justify-content: stretch;
  }

  .property-slider {
    height: 250px;
  }

  .property-card {
    border-radius: 22px;
  }

  .property-body {
    padding: 18px 18px 20px;
  }

  .property-body h3 {
    font-size: 1.35rem;
  }

  .property-meta {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .property-meta span {
    font-size: 0.9rem;
  }

  .property-modal-box,
  .tag-modal-box {
    margin: 14px auto;
    max-height: calc(100vh - 28px);
    border-radius: 22px;
  }

  .property-modal-content,
  .tag-modal-box {
    padding: 22px 18px 18px;
  }

  .property-modal-content h3 {
    font-size: 2rem;
  }

  .property-modal-price {
    font-size: 1.75rem;
  }

  .property-modal-meta {
    grid-template-columns: 1fr;
  }

  .property-modal-actions,
  .contact-actions {
    flex-direction: column;
  }

  .property-modal-whatsapp,
  .property-modal-secondary,
  .header-cta,
  .header-secondary-cta {
    width: 100%;
  }

  .modal-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .modal-arrow.prev {
    left: 12px;
  }

  .modal-arrow.next {
    right: 12px;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    max-width: calc(100% - 54px);
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .brand-subtext {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 28px 0 56px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 9px 12px;
    margin-bottom: 16px;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 12.4vw, 3.2rem);
    line-height: 0.99;
  }

  .hero-text p,
  .portfolio-description p {
    font-size: 0.92rem;
  }

  .hero-cta-group {
    margin-top: 20px;
  }

  .hero-primary-cta,
  .hero-secondary-cta {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
  }

  .hero-stat:last-child {
    grid-column: 1 / -1;
  }

  .hero-stat strong {
    font-size: 1.34rem;
    margin-bottom: 4px;
  }

  .hero-stat span {
    font-size: 0.78rem;
  }

  .portfolio-count {
    font-size: 0.94rem;
    text-align: center;
  }

  .property-slider {
    height: 220px;
  }

  .property-tag,
  .property-type {
    top: 12px;
    min-height: 32px;
    max-width: calc(50% - 16px);
    font-size: 0.77rem;
    padding: 0 12px;
  }

  .property-tag {
    left: 12px;
  }

  .property-type {
    right: 12px;
  }

  .property-dots {
    bottom: 12px;
  }

  .property-dots .dot {
    width: 9px;
    height: 9px;
  }

  .property-dots .dot.active {
    width: 22px;
  }

  .property-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .property-meta span {
    white-space: normal;
  }

  .property-button {
    min-height: 50px;
    font-size: 0.97rem;
  }

  .mobile-menu {
    padding: 12px 12px 16px;
  }

  .mobile-menu a {
    padding: 12px 10px;
  }

  .tag-modal-tabs {
    flex-direction: column;
  }

  .tag-tab-btn {
    width: 100%;
    justify-content: center;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 12px);
    justify-content: center;
    padding-inline: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 1.86rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 8px 12px;
  }

  .hero-text p {
    font-size: 0.88rem;
  }

  .portfolio-heading h2 {
    font-size: 2rem;
  }

  .filter-chip {
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
  }

  .modal-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
}

.mobile-menu {
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

/* =========================
   AJUSTES PREMIUM DE SOBREPOSIÇÃO
========================= */
.tag-modal.active + .property-modal,
.property-modal.active {
  animation: modalFadePremium 0.32s ease;
}

@keyframes modalFadePremium {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
