:root {
  --red: #d81920;
  --red-dark: #a90f15;
  --wine: #4a120f;
  --charcoal: #313b42;
  --orange: #d97a35;
  --sun-coral: #e56d3a;
  --orange-soft: #ffe0bd;
  --sun-cream: #ffffff;
  --ink: #171313;
  --canvas: #ffffff;
  --paper: #ffffff;
  --line: #e7ded3;
  --line-strong: #d7cabb;
  --muted: #746b65;
  --sea: #313b42;
  --sea-soft: #ffffff;
  --sand: #ead8b8;
  --sand-soft: #f6ead3;
  --gold: #d6a13b;
  --sun-yellow: #ffcd26;
  --sun-burnt: #f4b227;
  --gold-soft: #ffffff;
  --whatsapp: #1faf59;
  --font-display: "Nunito", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 8px;
  --shadow-soft: 0 10px 28px rgba(23, 19, 19, 0.08);
  --shadow-card: 0 18px 42px rgba(23, 19, 19, 0.13);
  --ease-header: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
}

main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

main::before {
  content: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

:focus-visible {
  outline: 3px solid rgba(216, 25, 32, 0.24);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  border-bottom: 1px solid rgba(231, 222, 211, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(23, 19, 19, 0.06);
  transition: background 260ms var(--ease-header), box-shadow 260ms var(--ease-header), border-color 260ms var(--ease-header);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  z-index: 2;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 205, 38, 0.96) 24%, transparent 40%, rgba(244, 178, 39, 0.62) 58%, transparent 80%),
    linear-gradient(90deg, transparent, rgba(255, 205, 38, 0.3), transparent);
  background-size: 215% 100%, 100% 100%;
  clip-path: polygon(0 58%, 8% 46%, 18% 58%, 30% 44%, 43% 58%, 56% 47%, 70% 58%, 84% 46%, 100% 58%, 100% 100%, 0 100%);
  opacity: 0.92;
  pointer-events: none;
  animation: header-tide-highlight 14s ease-in-out infinite alternate;
  transition: height 260ms var(--ease-header), opacity 260ms var(--ease-header);
}

.site-header::after {
  content: "";
  display: block;
  height: 5px;
  background:
    linear-gradient(90deg, rgba(244, 178, 39, 0.56), var(--sun-yellow) 22%, var(--sun-burnt) 48%, var(--orange) 74%, rgba(255, 205, 38, 0.52)),
    linear-gradient(90deg, rgba(255, 205, 38, 0.12), rgba(255, 205, 38, 0.28), rgba(244, 178, 39, 0.12));
  background-size: 190% 100%, 100% 100%;
  animation: header-tide-line 12s ease-in-out infinite alternate;
  transition: height 260ms var(--ease-header), opacity 260ms var(--ease-header);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(244, 178, 39, 0.26);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(34, 0, 0, 0.12);
}

.site-header.is-scrolled::after {
  height: 3px;
  opacity: 0.96;
}

.site-header.is-scrolled::before {
  height: 6px;
  opacity: 0.76;
}

@keyframes header-tide-line {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 100% 0, 0 0;
  }
}

@keyframes header-tide-highlight {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 100% 0, 0 0;
  }
}

.header-ribbon {
  min-height: 34px;
  max-height: 46px;
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(255, 205, 38, 0.28), rgba(255, 205, 39, 0.6) 32%, rgba(244, 178, 39, 0.5) 58%, rgba(223, 127, 53, 0.24)),
    linear-gradient(120deg, #ffcd26 0%, #ffc34f 30%, #f0a04b 68%, #df7f35 100%);
  background-size: 210% 100%, 100% 100%;
  color: #fffaf0;
  font-size: 0.76rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(74, 18, 15, 0.54), 0 0 10px rgba(74, 18, 15, 0.16);
  animation: header-tide-line 14s ease-in-out infinite alternate;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28), 0 6px 18px rgba(244, 178, 39, 0.12);
  padding: 7px var(--gutter);
  transition: min-height 260ms var(--ease-header), max-height 260ms var(--ease-header), opacity 200ms var(--ease-header), padding 260ms var(--ease-header);
}

.site-header.is-scrolled .header-ribbon {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  padding-block: 0;
}

.header-ribbon a {
  color: #fffaf0;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.header-ribbon a:hover {
  color: #7b1010;
  text-shadow: none;
}

.brand-header {
  width: min(100% - (var(--gutter) * 2), var(--container));
  min-height: 102px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  margin-inline: auto;
  transition: min-height 260ms var(--ease-header), gap 260ms var(--ease-header);
}

.site-header.is-scrolled .brand-header {
  min-height: 76px;
  gap: 22px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  width: 200px;
  display: block;
  transition: width 260ms var(--ease-header), transform 260ms var(--ease-header);
}

.site-header.is-scrolled .logo-link img {
  width: 154px;
  transform: translateY(0);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.main-nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.mobile-nav a:hover,
.main-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(214, 161, 59, 0.42);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #6e4b08;
  font-size: 0.84rem;
  font-weight: 900;
  padding-inline: 12px;
  white-space: nowrap;
  transition: min-height 260ms var(--ease-header), padding 260ms var(--ease-header), opacity 200ms var(--ease-header);
}

.site-header.is-scrolled .header-badge {
  min-height: 38px;
  padding-inline: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled .header-actions .button {
  min-height: 40px;
  padding-block: 0.62rem;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  padding: 0.78rem 1rem;
  box-shadow: 0 12px 24px rgba(216, 25, 32, 0.14);
}

.button-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.button-ghost {
  border: 1px solid rgba(223, 127, 53, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--charcoal);
  padding: 0.78rem 1rem;
}

.button-ghost:hover {
  border-color: rgba(223, 127, 53, 0.48);
  background: #ffffff;
}

.button-whatsapp {
  border: 1px solid var(--whatsapp);
  background: var(--whatsapp);
  color: #fff;
  padding: 0.78rem 1rem;
  box-shadow: 0 12px 24px rgba(31, 175, 89, 0.2);
}

.button-whatsapp:hover,
.button[href*="api.whatsapp.com/send"]:hover {
  border-color: #168c47;
  background: #168c47;
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 175, 89, 0.24);
}

.button[href*="api.whatsapp.com/send"] {
  border-color: var(--whatsapp);
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 175, 89, 0.2);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.mobile-nav {
  width: min(100% - (var(--gutter) * 2), var(--container));
  display: grid;
  gap: 12px;
  margin-inline: auto;
  padding: 0 0 18px;
}

.mobile-nav[hidden] {
  display: none;
}

.hero,
.section,
.page-hero,
.page-section,
.trust-strip,
.search-panel,
.cta-section,
.site-footer {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.hero {
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding-block: 44px 80px;
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.hero-copy::before {
  content: none;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 25, 32, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.42rem 0.72rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(2.65rem, 5.4vw, 4.65rem);
  font-weight: 900;
  line-height: 0.98;
}

.hero-copy h1 {
  margin-block: 18px;
  font-size: clamp(2.25rem, 3.5vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.hero .hero-copy p {
  font-size: 1rem;
  line-height: 1.6;
}

.hero-copy p,
.section-heading p,
.split-section p,
.about-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-gallery {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 56 / 45;
  margin-inline: auto;
  isolation: isolate;
  min-width: 0;
  overflow: visible;
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.hero-gallery-heading {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 1%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  line-height: 1.3;
}

.hero-gallery-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-gallery-location svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--red);
}

.hero-gallery-yellow-tile {
  position: absolute;
  top: 0;
  right: 1%;
  z-index: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--sun-yellow);
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero-gallery-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-summer-photo {
  position: absolute;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(95, 66, 25, 0.08), 0 10px 22px rgba(68, 48, 25, 0.12);
}

.hero-summer-photo img {
  position: absolute;
  inset: 0;
}

.hero-summer-house {
  z-index: 2;
  top: 7%;
  left: 0;
  width: 54%;
  aspect-ratio: 3 / 2;
  transform: rotate(-2deg);
}

.hero-summer-apartment {
  z-index: 1;
  top: 4%;
  right: 2%;
  width: 36%;
  aspect-ratio: 3 / 4;
  transform: rotate(2deg);
}

.hero-summer-house img {
  object-position: center 22%;
}

.hero-summer-beach {
  z-index: 3;
  top: 62%;
  left: 5%;
  width: 51%;
  aspect-ratio: 2 / 1;
  transform: rotate(1.5deg);
}

.hero-summer-beach img {
  object-position: center bottom;
}

.hero-summer-waves {
  z-index: 2;
  right: 0;
  bottom: 1%;
  width: 38%;
  aspect-ratio: 3 / 2;
  transform: rotate(-2.5deg);
}

.hero-summer-waves img {
  object-position: center 35%;
}

.experience-card {
  position: absolute;
  z-index: 4;
  left: 1%;
  top: 54%;
  width: 55%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.experience-card strong {
  flex-shrink: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.experience-card span {
  min-width: 0;
  padding-left: 9px;
  border-left: 1px solid #d9c6a0;
  color: #64533c;
  font-size: 0.67rem;
  line-height: 1.3;
}

.search-panel {
  transform: translateY(-34px);
}

.search-panel form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84)),
    #ffffff;
  box-shadow: 0 18px 38px rgba(74, 18, 15, 0.1);
  padding: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

select {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(215, 202, 187, 0.86);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding-inline: 12px;
}

.search-panel .button {
  align-self: end;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 80px;
}

.trust-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  align-items: center;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.trust-strip svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.trust-strip strong {
  color: var(--wine);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: 68px;
}

.page-main {
  padding-bottom: 68px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding-block: 64px 44px;
}

.page-hero p,
.page-section-header p,
.about-copy p,
.contact-intro p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-intro h1 {
  font-size: clamp(2.45rem, 4.1vw, 3.65rem);
  line-height: 1.05;
}

.page-hero-casas h1 {
  font-size: clamp(2.45rem, 4.1vw, 3.65rem);
  line-height: 1.05;
}

.page-hero-visual {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.page-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.page-hero-photo-pair {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 6 / 5;
}

.page-hero-visual .page-hero-photo-pair img {
  position: absolute;
  min-width: 0;
  min-height: 0;
  height: 90%;
  aspect-ratio: auto;
}

.page-hero-visual .page-hero-photo-pair img:first-child {
  top: 0;
  left: 0;
  width: 61%;
}

.page-hero-visual .page-hero-photo-pair img:last-child {
  right: 0;
  bottom: 0;
  width: 53%;
  border: 5px solid #fff;
}

.page-hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-deco span {
  position: absolute;
  display: block;
}

.page-deco-panel {
  width: 78%;
  height: 110px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 205, 38, 0.88);
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%);
}

.page-deco-frame {
  width: 74%;
  height: 82%;
  border: 2px solid rgba(255, 205, 38, 0.58);
  border-radius: 3px;
  box-shadow: none;
}

.page-hero-casas .page-hero-visual {
  width: min(100%, 420px);
  justify-self: center;
}

.page-hero-casas .page-hero-visual img {
  aspect-ratio: 3 / 4;
  border: 5px solid #fff;
  border-radius: 10px;
  object-position: center;
  transform: rotate(-1.5deg);
}

.page-hero-deco-casas {
  bottom: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.page-hero-deco-casas .page-deco-panel {
  top: -18px;
  right: auto;
  left: -22px;
  bottom: auto;
  width: 100%;
  height: 96%;
  background: var(--sun-yellow);
  clip-path: none;
  transform: rotate(-6deg);
  transform-origin: center;
}

.page-hero-deco-casas .page-deco-frame {
  display: none;
}

.page-hero-deco-apartments .page-deco-panel {
  top: -25px;
  left: -24px;
  bottom: auto;
  width: 65%;
  height: 102%;
  background: var(--sun-yellow);
  clip-path: none;
  transform: rotate(-7deg);
  transform-origin: center;
}

.page-hero-deco-apartments .page-deco-frame {
  display: block;
  top: 14%;
  right: clamp(-48px, calc((var(--container) - 100vw) / 2 + 34px), -14px);
  width: 50%;
  height: 88%;
  border: 0;
  background: var(--sun-yellow);
  transform: rotate(10deg);
  transform-origin: center;
}

.page-hero-deco-apartments + .page-hero-photo-pair img:first-child {
  border: 5px solid #fff;
}

.contact-hero-visual {
  width: min(100%, 520px);
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(168px, 0.45fr);
  gap: 14px;
  align-items: end;
}

.contact-hero-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
}

.contact-hero-yellow-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.contact-hero-visual img {
  aspect-ratio: 3 / 4;
  border: 5px solid #fff;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  transform: rotate(-2deg);
}

.contact-hero-info {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  border-top: 3px solid var(--sun-yellow);
  padding-block: 18px 8px;
}

.contact-hero-info span {
  color: var(--brand-red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hero-info strong {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.page-hero-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(231, 222, 211, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}

.page-hero-badge strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
}

.page-hero-badge span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat-tile,
.value-panel,
.contact-card,
.contact-form {
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 42%),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.stat-tile {
  display: grid;
  gap: 2px;
  padding: 16px;
}

.stat-tile strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.stat-tile span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.page-section {
  padding-block: 54px;
}

.page-section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-section-header span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-section-header h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.05;
}

.privacy-hero {
  align-items: stretch;
}

.privacy-hero-note {
  position: relative;
  isolation: isolate;
  align-self: center;
  display: grid;
  gap: 8px;
  overflow: visible;
  border-left: 4px solid var(--sun-burnt);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.privacy-hero-note span,
.privacy-section > span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.privacy-hero-note strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.privacy-hero-note p {
  margin: 0;
  color: var(--muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 66px);
}

.privacy-aside {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 14px;
  border-left: 3px solid var(--red);
  padding-left: 18px;
}

.privacy-aside strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.privacy-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-aside nav {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}

.privacy-aside a {
  width: fit-content;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.privacy-aside a:hover {
  color: var(--red-dark);
}

.privacy-content {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.privacy-section {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid rgba(215, 202, 187, 0.72);
  padding-bottom: 28px;
}

.privacy-section h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.privacy-section p {
  margin: 0;
  color: var(--muted);
}

.privacy-section a {
  color: var(--red);
  font-weight: 850;
  text-decoration: none;
}

.privacy-section a:hover {
  color: var(--red-dark);
}

.privacy-section ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.privacy-section li::marker {
  color: var(--red);
}

.privacy-contact-box {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(216, 25, 32, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 223, 0.56);
  padding: 18px;
}

.privacy-contact-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.privacy-contact-box svg {
  width: 17px;
  height: 17px;
}

.inventory-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.inventory-note {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.property-description {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 46px;
  display: -webkit-box;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: -2px 0 14px;
}

.property-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  min-height: 138px;
  margin: 0 0 18px;
  padding: 0;
}

.property-list li {
  display: flex;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.property-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  margin-top: 0.55rem;
}

.property-card .property-list li {
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  min-width: 0;
}

.property-card .property-list li::before {
  content: none;
}

.property-card .property-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--red);
  stroke-width: 2.5;
}

.property-card .property-list .photo-count-tag {
  width: fit-content;
}

.property-detail-list {
  min-height: 0;
}

.property-detail-hero {
  width: min(100% - (var(--gutter) * 2), var(--container));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 64px) 0 clamp(24px, 4vw, 42px);
}

.property-detail-copy {
  max-width: 700px;
}

.property-detail-copy h1 {
  max-width: 680px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  margin: 12px 0 18px;
}

.property-detail-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  margin: 0;
}

.property-detail-feature-block {
  max-width: 640px;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(223, 127, 53, 0.18);
  margin-top: 22px;
  padding-top: 18px;
}

.property-detail-feature-label {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-detail-cover {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(216, 25, 32, 0.04)),
    #ffffff;
  box-shadow: 0 22px 54px rgba(74, 18, 15, 0.14);
}

.property-detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
}

.property-detail-cover span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.42rem 0.72rem;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(74, 18, 15, 0.12);
}

.property-detail-section {
  padding-top: 24px;
}

.property-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
  margin: 0;
}

.property-detail-list li {
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 850;
}

.property-detail-list li::before {
  content: none;
}

.property-detail-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--red);
  stroke-width: 2.5;
}

.property-detail-contact {
  display: grid;
  align-content: center;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 48%),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3vw, 30px);
}

.property-detail-contact strong {
  display: block;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.property-detail-contact p {
  color: var(--muted);
  margin: 0 0 18px;
}

.property-detail-contact .button {
  width: fit-content;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.property-gallery-cta {
  min-height: 0;
  align-self: center;
  justify-self: stretch;
}

.property-gallery-cta .button {
  white-space: nowrap;
}

.property-gallery-empty {
  min-height: 280px;
}

.property-gallery-item {
  overflow: hidden;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(216, 25, 32, 0.03)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(74, 18, 15, 0.08);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.property-gallery-item:hover {
  border-color: rgba(216, 25, 32, 0.28);
  box-shadow: 0 18px 36px rgba(74, 18, 15, 0.12);
  transform: translateY(-2px);
}

.property-gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-instagram {
  background: linear-gradient(135deg, #e28a32 0%, #d81920 52%, #9b285f 100%);
  border: 1px solid #c93e36;
  box-shadow: 0 14px 30px rgba(196, 48, 55, 0.2);
  color: #fff;
  padding: 0.78rem 1rem;
}

.button-instagram:hover,
.button-instagram:focus-visible {
  background: linear-gradient(135deg, #d97a35 0%, #c5141b 52%, #84214f 100%);
  border-color: #b92d2d;
  box-shadow: 0 16px 34px rgba(196, 48, 55, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.button-instagram .instagram-mark {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: start;
  padding: 18px;
}

.value-panel svg {
  width: 22px;
  height: 22px;
  color: var(--sea);
}

.value-panel strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.16rem;
}

.value-panel p {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-page {
  background: #ffffff;
}

.about-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-block: 44px 56px;
}

.about-hero-copy {
  min-width: 0;
}

.about-hero-copy h1 {
  color: var(--charcoal);
  max-width: 760px;
  font-size: clamp(2.25rem, 3.5vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.about-proof-row span {
  border-left: 3px solid var(--sun-yellow);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 5px 0 5px 12px;
}

.about-proof-row strong {
  color: var(--red);
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.1;
}

.about-hero-gallery {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  aspect-ratio: 56 / 45;
  margin-inline: auto;
  isolation: isolate;
}

.about-hero-yellow-band {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 1%;
  width: 53%;
  height: 49%;
  background: var(--sun-yellow);
  clip-path: polygon(6% 0, 100% 12%, 94% 100%, 0 88%);
  transform: rotate(8deg);
  pointer-events: none;
}

.about-hero-yellow-main {
  position: absolute;
  z-index: 0;
  top: 6%;
  left: -1%;
  width: 46%;
  height: 72%;
  border-radius: 3px;
  background: var(--sun-yellow);
  transform: rotate(-7deg);
  pointer-events: none;
}

.about-hero-yellow-bottom {
  position: absolute;
  z-index: 0;
  right: -2%;
  bottom: 1%;
  width: 52%;
  height: 36%;
  border-radius: 3px;
  background: var(--sun-yellow);
  transform: rotate(6deg);
  pointer-events: none;
}

.about-hero-photo {
  position: absolute;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(95, 66, 25, 0.08), 0 10px 22px rgba(68, 48, 25, 0.12);
}

.about-hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.about-hero-main {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 2%;
  width: 44%;
  margin: 0;
  transform: rotate(-2deg);
}

.about-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.about-hero-frame img {
  object-fit: contain;
}

.about-hero-main figcaption {
  position: relative;
  width: 92%;
  margin: 14px 0 0 8px;
  color: var(--charcoal);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.about-hero-side-top {
  z-index: 1;
  top: 5%;
  right: 0;
  width: 49%;
  aspect-ratio: 3 / 2;
  transform: rotate(2deg);
}

.about-hero-side-top img {
  object-position: center 82%;
}

.about-hero-side-bottom {
  z-index: 3;
  right: 1%;
  bottom: 3%;
  width: 49%;
  aspect-ratio: 7 / 4;
  transform: rotate(-1.5deg);
}

.about-hero-side-bottom img {
  object-position: center 63%;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.about-story-media {
  position: relative;
  isolation: isolate;
  width: min(100%, 470px);
}

.about-story-sand {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: visible;
  pointer-events: none;
}

.about-story-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 470px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  object-position: center top;
}

.about-story-card {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 26px;
  display: grid;
  gap: 2px;
  max-width: 220px;
  border: 1px solid rgba(231, 222, 211, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(49, 59, 66, 0.12);
  padding: 16px;
}

.about-story-card strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.04;
}

.about-story-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-values .value-panel {
  min-height: 154px;
}

.about-coast-section {
  position: relative;
}

.about-coast {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 38%),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 42px);
}

.about-coast-copy h2 {
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.28rem);
  line-height: 1.04;
  margin: 12px 0 18px;
}

.about-coast-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 14px;
}

.about-coast-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.about-facts article {
  border: 1px solid rgba(216, 25, 32, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.about-facts strong {
  color: var(--red);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.about-facts span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  margin-top: 7px;
  text-transform: uppercase;
}

.about-cta {
  margin-top: 18px;
}

.contact-layout {
  align-items: stretch;
}

.contact-stack {
  display: grid;
  grid-template-rows: auto auto minmax(320px, 1fr);
  gap: 16px;
  height: 100%;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  padding: 18px;
}

.contact-card svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--red);
}

.contact-card strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.contact-card a,
.contact-card span {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 30px);
}

.contact-form .page-section-header {
  margin-bottom: 4px;
}

.contact-form .page-section-header h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.form-feedback {
  border: 1px solid rgba(216, 25, 32, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.82rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 850;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback.is-success {
  border-color: rgba(31, 126, 66, 0.28);
  background: rgba(31, 126, 66, 0.09);
  color: #1f6f3d;
}

.form-feedback.is-error {
  border-color: rgba(216, 25, 32, 0.26);
  background: rgba(216, 25, 32, 0.08);
  color: var(--red);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-map {
  min-height: 0;
  display: flex;
}

.contact-map iframe {
  width: 100%;
  min-height: 100%;
  display: block;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  padding: 0.76rem 0.86rem;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form .form-privacy-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
}

.form-privacy-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
}

.form-privacy-consent a {
  color: var(--red-dark);
  font-weight: 800;
  text-underline-offset: 2px;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.split-section h2,
.about-card h2,
.cta-section h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

/* Mantém a largura necessária para três cards sem desmontar a busca lateral. */
.property-catalog-section {
  width: min(100% - (var(--gutter) * 2), var(--container));
}

.filter-card,
.property-card,
.about-card {
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-card {
  position: sticky;
  top: 154px;
  display: grid;
  gap: 10px;
  background: #ffffff;
  padding: 16px;
}

.filter-card strong {
  color: var(--wine);
  margin-bottom: 4px;
}

.filter-chip,
.filter-refresh {
  min-height: 38px;
  border: 1px solid rgba(223, 127, 53, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--charcoal);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding-inline: 13px;
}

.filter-chip.active {
  border-color: rgba(216, 25, 32, 0.28);
  background: var(--red);
  color: #ffffff;
}

.filter-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.filter-refresh svg {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.filter-refresh:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

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

/*
 * Nas listagens completas, todos os cards compartilham a altura do maior
 * conteúdo. Isso mantém Casas e Apartamentos rigorosamente alinhados mesmo
 * quando descrições e quantidades de comodidades são diferentes.
 */
.property-grid-wide {
  grid-auto-rows: 1fr;
}

.property-grid-wide .property-card,
.property-grid-wide .property-card.has-wide-cover {
  grid-template-areas:
    "photo body"
    "map map";
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  grid-template-rows: minmax(0, 1fr) 112px;
  align-self: stretch;
  height: 100%;
  cursor: pointer;
}

.property-grid-wide .photo-wrap,
.property-grid-wide .property-card.has-wide-cover .photo-wrap {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-right: 1px solid rgba(74, 46, 35, 0.08);
  border-bottom: 0;
  background: #ffffff;
}

.property-grid-wide .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cover-position, 50% 50%);
}

/*
 * Replica nas listagens o mesmo ritmo visual aprovado na home. O padding
 * horizontal é apenas proporcional à coluna mais estreita destes cards.
 */
.property-grid-wide .property-body {
  padding: 18px 12px 12px;
}

.property-grid-wide .card-actions {
  gap: 8px;
}

.property-grid-wide .card-actions .button,
.property-grid-wide .card-actions .text-link {
  min-height: 44px;
  padding: 0.65rem 0.45rem;
  font-size: 0.76rem;
}

.property-grid-wide .card-actions .button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 2.25;
}

.home-property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.home-property-grid .property-card {
  grid-template-areas: "photo body";
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  grid-template-rows: 1fr;
  position: relative;
  align-self: stretch;
  height: 100%;
  cursor: pointer;
}

.home-property-grid .property-map-footer {
  display: none;
}

.filter-empty-state {
  grid-column: 1 / -1;
  min-height: 176px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(216, 25, 32, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
    #ffffff;
  color: var(--wine);
  font-weight: 850;
  line-height: 1.45;
  padding: 24px;
  text-align: center;
}

.filter-empty-state[hidden] {
  display: none;
}

.catalog-link-card {
  grid-column: 2;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(216, 25, 32, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(120deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
  padding: 18px 20px;
}

.catalog-link-card[hidden] {
  display: none;
}

.catalog-link-card small {
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-link-card h3 {
  color: var(--charcoal);
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.08;
  margin: 4px 0 0;
}

.catalog-link-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.catalog-link-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-link-actions .button {
  justify-content: center;
  min-width: 180px;
}

.property-card {
  display: grid;
  grid-template-areas:
    "photo body"
    "map map";
  grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  grid-template-rows: auto 112px;
  align-self: start;
  height: auto;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.property-card:hover {
  border-color: rgba(223, 127, 53, 0.44);
  box-shadow: 0 20px 42px rgba(74, 18, 15, 0.13);
  transform: translateY(-2px);
}

.property-card.is-hidden {
  display: none;
}

.photo-wrap {
  grid-area: photo;
  position: relative;
  align-self: start;
  width: 100%;
  overflow: hidden;
  aspect-ratio: var(--cover-aspect, 3 / 4);
  background: #ffffff;
  border-right: 1px solid rgba(74, 46, 35, 0.08);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: filter 180ms ease;
}

/*
 * Cada capa mantém o ponto mais importante da fotografia dentro do recorte
 * horizontal dos cards. Nos apartamentos, a posição preserva também a faixa
 * vermelha com o número da unidade.
 */
.property-card[data-property-slug="apto-25"] { --cover-position: 50% 50%; }
.property-card[data-property-slug="apto-26"] { --cover-position: 50% 50%; }
.property-card[data-property-slug="apto-27"] { --cover-position: 50% 55%; }
.property-card[data-property-slug="apto-28"] { --cover-position: 50% 50%; }
.property-card[data-property-slug="apto-29"] { --cover-position: 50% 55%; }
.property-card[data-property-slug="apto-30"] { --cover-position: 50% 50%; }
.property-card[data-property-slug="apto-31"],
.property-card[data-property-slug="apto-32"] { --cover-position: 50% 90%; }
.property-card[data-property-slug="apto-33"],
.property-card[data-property-slug="apto-34"] { --cover-position: 50% 68%; }
.property-card[data-property-slug="apto-35"],
.property-card[data-property-slug="apto-36"] { --cover-position: 50% 48%; }
.property-card[data-property-slug="apto-37"],
.property-card[data-property-slug="apto-38"] { --cover-position: 50% 24%; }
.property-card[data-property-slug="apto-39"],
.property-card[data-property-slug="apto-40"],
.property-card[data-property-slug="apto-41"],
.property-card[data-property-slug="apto-42"] { --cover-position: 50% 4%; }

.property-card[data-property-slug="casa-21"] { --cover-position: 50% 45%; }
.property-card[data-property-slug="casa-22"] { --cover-position: 50% 55%; }
.property-card[data-property-slug="casa-23"],
.property-card[data-property-slug="casa-24"] { --cover-position: 50% 50%; }
.property-card[data-property-slug="casa-43"] { --cover-position: 50% 68%; }
.property-card[data-property-slug="casa-44"] { --cover-position: 50% 63%; }
.property-card[data-property-slug="casa-45"] { --cover-position: 50% 55%; }
.property-card[data-property-slug="casa-46"] { --cover-position: 50% 58%; }
.property-card[data-property-slug="casa-agostinho"] { --cover-position: 50% 55%; }
.property-card[data-property-slug="casa-benelli"] { --cover-position: 50% 35%; }
.property-card[data-property-slug="casa-verde"] { --cover-position: 50% 62%; }
.property-card[data-property-slug="casa-vermelha"] { --cover-position: 50% 55%; }

.property-card:hover .photo-wrap img {
  filter: saturate(1.04) contrast(1.02);
}

.photo-wrap span {
  position: absolute;
  top: 12px;
  left: 12px;
  border: 1px solid rgba(215, 202, 187, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.34rem 0.6rem;
  text-transform: uppercase;
}

.property-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 10px 10px;
}

.property-body small {
  color: var(--orange);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-body h3 {
  margin: 4px 0 6px;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.12;
}

.property-card .property-description {
  min-height: 0;
  margin: 0 0 8px;
  font-size: 0.69rem;
  line-height: 1.3;
}

.property-card .property-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  min-height: 0;
  gap: 6px 8px;
  margin: 0 0 7px;
}

.property-card .property-list li {
  flex: 0 0 auto;
  max-width: 100%;
  gap: 4px;
  font-size: 0.64rem;
  line-height: 1.12;
  white-space: nowrap;
}

.property-card .property-list svg {
  width: 14px;
  height: 14px;
}

.facts,
.amenities,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facts {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 58px;
  margin-bottom: 14px;
}

.facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.facts svg {
  color: var(--red);
}

.amenities {
  align-content: flex-start;
  min-height: 42px;
  margin-bottom: 20px;
}

.amenities span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.amenities svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--red);
  stroke-width: 2.5;
}

.property-card .photo-count-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--sun-cream);
  color: rgba(34, 0, 0, 0.68);
  padding: 0.34rem 0.55rem;
}

.card-actions {
  display: grid;
  align-items: center;
  justify-items: stretch;
  gap: 6px;
  min-height: 0;
  margin-top: auto;
}

.property-card .card-actions .button,
.property-card .card-actions .text-link {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
  padding: 0.58rem 0.42rem;
  font-size: 0.7rem;
  line-height: 1.1;
  white-space: nowrap;
}

.property-card .card-actions .button svg {
  width: 16px;
  height: 16px;
}

.property-card .card-actions .text-link {
  justify-self: stretch;
  border: 1px solid rgba(216, 25, 32, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(216, 25, 32, 0.08);
}

.property-card .card-actions .text-link:hover,
.property-card .card-actions .text-link:focus-visible {
  border-color: var(--red);
  background: rgba(216, 25, 32, 0.07);
  color: var(--red);
}

.property-card .card-actions .text-link svg {
  width: 16px;
  height: 16px;
}

.property-map-footer {
  grid-area: map;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(244, 178, 39, 0.22);
  background: #eaf2e9;
}

.property-map-footer iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: none;
}

.property-map-link {
  align-items: flex-end;
  display: flex;
  inset: 0;
  justify-content: flex-end;
  padding: 10px;
  position: absolute;
  text-decoration: none;
  z-index: 2;
}

.property-map-link span {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 25, 32, 0.22);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(59, 7, 4, 0.14);
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0.52rem 0.72rem;
}

.property-map-link:hover span,
.property-map-link:focus-visible span {
  background: var(--red);
  color: #fff;
}

.property-map-footer::after {
  content: none;
}

/*
 * Capas horizontais futuras mudam para o fluxo empilhado. Assim nenhuma foto
 * precisa ser cortada ou deformada para caber na coluna vertical do card.
 */
.property-card.has-wide-cover {
  grid-template-areas:
    "photo"
    "body"
    "map";
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 112px;
}

.home-property-grid .property-card.has-wide-cover {
  grid-template-areas: "photo body";
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  grid-template-rows: 1fr;
  align-self: stretch;
  height: 100%;
}

.property-card.has-wide-cover .photo-wrap {
  border-right: 0;
  border-bottom: 1px solid rgba(74, 46, 35, 0.08);
}

/*
 * Na home, todas as capas seguem a mesma composição horizontal. A classe
 * has-wide-cover continua disponível nas páginas internas, mas não muda o
 * formato do card desta vitrine.
 */
.home-property-grid .photo-wrap,
.home-property-grid .property-card.has-wide-cover .photo-wrap {
  height: 100%;
  min-height: 320px;
  align-self: stretch;
  aspect-ratio: auto;
  border-right: 1px solid rgba(74, 46, 35, 0.08);
  border-bottom: 0;
}

.home-property-grid .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cover-position, 50% 50%);
}

.home-property-grid .property-body {
  min-height: 320px;
  padding: 18px 16px;
}

.home-property-grid .property-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-property-grid .card-actions {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.home-property-grid .card-actions .button,
.home-property-grid .card-actions .text-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font-size: 0.76rem;
  line-height: 1.1;
}

.home-property-grid .card-actions .text-link {
  border: 1px solid rgba(216, 25, 32, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(216, 25, 32, 0.08);
}

.home-property-grid .card-actions .text-link:hover,
.home-property-grid .card-actions .text-link:focus-visible {
  border-color: var(--red);
  background: rgba(216, 25, 32, 0.07);
  color: var(--red);
}

.home-property-grid .card-actions .text-link svg {
  width: 16px;
  height: 16px;
}

.text-link {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.split-section > div {
  position: static;
  padding-left: 0;
}

.split-section > div::before {
  content: none;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-section img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(50, 60, 70, 0.12);
  object-fit: cover;
}

.split-section img.home-house-feature-image {
  object-position: center 80%;
}

.split-section img.home-apartment-feature-image {
  object-position: center 50%;
}

.about-section {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
  padding-inline: var(--gutter);
}

.about-card {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(215, 202, 187, 0.72);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  color: var(--charcoal);
  margin-block: 72px;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 18px 38px rgba(74, 18, 15, 0.1);
}

.cta-section::before {
  content: none;
}

.cta-section h2 {
  max-width: 780px;
  color: var(--charcoal);
}

.cta-section .eyebrow {
  border-color: rgba(216, 25, 32, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 0;
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(216, 25, 32, 0.16), transparent 38%),
    linear-gradient(120deg, #6c1a12 0%, #7f2016 36%, #90291b 70%, #a24424 100%);
  color: rgba(250, 247, 240, 0.8);
  margin-top: 24px;
  padding: 0 var(--gutter);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 4px;
  background:
    linear-gradient(90deg, rgba(216, 25, 32, 0.28), rgba(255, 205, 39, 0.66) 46%, rgba(216, 25, 32, 0.34)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 34%, rgba(255, 255, 255, 0.06));
  background-size: 190% 100%, 100% 100%;
  animation: header-tide-line 12s ease-in-out infinite alternate;
  box-shadow: 0 10px 28px rgba(255, 205, 39, 0.08);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 150px;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(255, 255, 255, 0.1), transparent 44%),
    radial-gradient(ellipse at 54% 0%, rgba(216, 25, 32, 0.16), transparent 38%),
    radial-gradient(ellipse at 88% 0%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.site-footer-main {
  width: min(100%, var(--container));
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(160px, 0.78fr)) minmax(210px, 0.86fr);
  align-items: start;
  gap: clamp(26px, 2.8vw, 38px);
  margin-inline: auto;
  padding-block: clamp(66px, 7.5vw, 92px) 56px;
}

.site-footer-brand {
  display: grid;
  gap: 18px;
  justify-items: start;
  min-width: 0;
}

.site-footer-logo {
  display: inline-flex;
  width: fit-content;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.site-footer-logo img {
  width: 208px;
  max-width: 72vw;
  height: auto;
  max-height: 60px;
  display: block;
  object-fit: contain;
  opacity: 0.96;
}

.site-footer-main p {
  max-width: 460px;
  margin: 0;
  color: rgba(250, 247, 240, 0.76);
  font-size: 0.98rem;
}

.site-footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
}

.site-footer-column strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.site-footer-column strong svg {
  width: 17px;
  height: 17px;
  color: var(--sun-burnt);
  stroke-width: 2.45;
  flex-shrink: 0;
}

.site-footer-column a,
.site-footer-column span {
  max-width: 100%;
  color: rgba(250, 247, 240, 0.8);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer-column a:not(.site-footer-whatsapp) {
  display: inline-block;
}

.site-footer-column a:not(.site-footer-whatsapp):hover {
  color: #fff;
  transform: translateX(2px);
}

.site-footer-whatsapp {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(31, 175, 89, 0.92);
  border-radius: var(--radius);
  background: var(--whatsapp);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(31, 175, 89, 0.2);
  margin-top: 12px;
  padding: 0.72rem 0.96rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-footer-whatsapp:hover {
  border-color: #168c47;
  background: #168c47;
  color: #fff;
  box-shadow: 0 18px 34px rgba(31, 175, 89, 0.26);
  transform: translateY(-1px);
}

.site-footer-whatsapp svg {
  width: 18px;
  height: 18px;
}

.site-footer-bottom {
  width: min(100%, var(--container));
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(250, 247, 240, 0.14);
  color: rgba(250, 247, 240, 0.62);
  font-size: 0.82rem;
  margin-inline: auto;
  padding: 26px 0 38px;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-width: 0;
}

.site-footer-legal span {
  min-width: 0;
}

.site-footer-legal-link {
  color: rgba(250, 247, 240, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer-legal-link:hover {
  color: #fff;
}

.site-footer-credits {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: rgba(250, 247, 240, 0.68);
  font-size: 0.82rem;
  margin-left: auto;
}

.site-footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(250, 247, 240, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  padding: 0;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
  transform-origin: center left;
}

.site-footer-credit-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-footer-credit-icon {
  width: 18px;
  height: 23px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  opacity: 0.9;
}

.site-footer-credit-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 180ms ease;
}

.site-footer-credit-icon-yellow {
  opacity: 0;
}

.site-footer-credit-link:hover .site-footer-credit-icon-red {
  opacity: 1;
}

.site-footer-credit-link:hover .site-footer-credit-icon-yellow {
  opacity: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 175, 89, 0.28);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1300px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-card {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .catalog-link-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .brand-header {
    grid-template-columns: auto 1fr;
  }

  .site-header.is-scrolled .brand-header {
    min-height: 74px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-badge {
    display: none;
  }

  .hero,
  .page-hero,
  .property-detail-hero,
  .split-section,
  .about-grid,
  .about-story,
  .about-coast,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero-deco-casas .page-deco-panel {
    top: -12px;
    left: -5px;
    transform: rotate(-3deg);
  }

  .page-hero-deco-apartments .page-deco-panel {
    top: -12px;
    left: -8px;
    transform: rotate(-3deg);
  }

  .page-hero-deco-apartments .page-deco-frame {
    right: -8px;
    transform: rotate(4deg);
  }

  .about-story-media {
    width: min(100%, 520px);
  }

  .about-story-sand {
    transform: translateX(8px);
  }

  .about-story-card {
    right: -16px;
  }

  .about-story-media img {
    width: min(100%, 520px);
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 820px) {
  .header-ribbon {
    display: none;
  }

  .brand-header {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .site-header.is-scrolled .brand-header {
    min-height: 68px;
  }

  .logo-link img {
    width: 158px;
  }

  .site-header.is-scrolled .logo-link img {
    width: 136px;
  }

  .header-actions .button-ghost,
  .header-actions .button-whatsapp {
    display: none;
  }

  .hero {
    padding-block: 32px 44px;
  }

  .search-panel {
    transform: none;
  }

  .about-hero-yellow-main {
    left: 0;
  }

  .about-story-sand {
    transform: translateX(14px);
  }

  .search-panel form,
  .trust-strip,
  .catalog-layout,
  .inventory-head,
  .page-stats,
  .about-proof-row,
  .about-values,
  .about-facts {
    grid-template-columns: 1fr;
  }

  .inventory-head {
    display: grid;
    align-items: start;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-aside {
    position: static;
  }

  .property-detail-hero {
    padding-block: 42px 30px;
  }

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

  .filter-card {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .contact-hero-visual {
    width: min(100%, 460px);
    grid-template-columns: 1fr;
    gap: 32px;
    justify-self: start;
  }

  .contact-hero-photo {
    width: 77%;
  }

  .contact-hero-yellow-panel {
    transform: translate(45px, 30px);
    transform-origin: left top;
  }

  .page-deco-panel {
    width: 78%;
    height: 82px;
  }

  .page-deco-frame {
    width: 82%;
    height: 58%;
  }

  .contact-hero-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .contact-hero-info span,
  .contact-hero-info strong {
    grid-column: 1 / -1;
  }

  .catalog-link-card {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-link-actions {
    display: grid;
  }

  .filter-card strong {
    min-width: max-content;
    align-self: center;
  }

  .cta-section {
    display: grid;
  }
}

@media (max-width: 1180px) {
  .property-grid,
  .property-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .home-property-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .filter-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .filter-card strong,
  .filter-chip[data-filter="apartamento"],
  .filter-refresh {
    grid-column: 1 / -1;
  }

  .filter-chip {
    text-align: center;
  }

  .filter-refresh {
    justify-content: center;
  }

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

  .property-card,
  .home-property-grid .property-card,
  .home-property-grid .property-card.has-wide-cover {
    grid-template-areas:
      "photo"
      "body"
      "map";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 112px;
  }

  .property-grid-wide .property-card,
  .property-grid-wide .property-card.has-wide-cover {
    grid-template-areas:
      "photo"
      "body"
      "map";
    grid-template-columns: 1fr;
    grid-template-rows: clamp(250px, 70vw, 360px) minmax(0, 1fr) 112px;
  }

  .home-property-grid .property-card,
  .home-property-grid .property-card.has-wide-cover {
    grid-template-areas:
      "photo"
      "body";
    grid-template-rows: auto auto;
  }

  .property-card .photo-wrap {
    border-right: 0;
    border-bottom: 1px solid rgba(74, 46, 35, 0.08);
  }

  .property-grid-wide .photo-wrap,
  .property-grid-wide .property-card.has-wide-cover .photo-wrap {
    border-right: 0;
    border-bottom: 1px solid rgba(74, 46, 35, 0.08);
  }

  .property-card .property-body {
    padding: 18px;
  }

  .property-card .property-description {
    font-size: 0.86rem;
  }

  .property-card .property-list li {
    font-size: 0.82rem;
  }

  .property-card .card-actions .button,
  .property-card .card-actions .text-link {
    font-size: 0.86rem;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding-block: 42px 30px;
  }

  .property-detail-copy h1 {
    font-size: clamp(2.55rem, 17vw, 3.6rem);
  }

  .property-detail-list,
  .property-gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-badge {
    position: static;
    margin-top: 12px;
  }

  .about-story-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(220px, calc(100% - 24px));
    margin: -32px 0 0 auto;
    transform: translateX(12px);
  }

  .about-story-sand {
    aspect-ratio: 4 / 3;
  }

  .about-hero-gallery {
    aspect-ratio: 7 / 6;
  }

  .about-hero-photo {
    border-width: 3px;
    border-radius: 9px;
  }

  .about-story-media img {
    aspect-ratio: 4 / 3;
  }

  .contact-hero-info {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    aspect-ratio: 7 / 6;
  }

  .hero-gallery-heading {
    font-size: 0.57rem;
    gap: 8px;
  }

  .hero-gallery-location {
    gap: 5px;
    letter-spacing: 0.04em;
  }

  .hero-gallery-location svg {
    width: 14px;
    height: 14px;
  }

  .hero-summer-photo {
    border-width: 3px;
    border-radius: 9px;
  }

  .experience-card {
    top: 52%;
    width: auto;
  }

  .experience-card strong {
    font-size: 1.2rem;
  }

  .experience-card span {
    display: none;
  }

  .card-actions .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .site-footer-main,
  .site-footer-bottom,
  .site-footer-legal,
  .site-footer-credits {
    justify-content: center;
    text-align: center;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
    padding-block: 54px 36px;
  }

  .site-footer-brand {
    justify-items: center;
  }

  .site-footer-column {
    justify-items: center;
  }

  .site-footer-column strong {
    justify-content: center;
  }

  .site-footer-whatsapp {
    width: min(100%, 360px);
    white-space: normal;
  }

  .site-footer-bottom,
  .site-footer-legal,
  .site-footer-credits {
    flex-direction: column;
  }

  .site-footer-bottom {
    padding: 24px 0 38px;
  }

  .site-footer-credit-link {
    transform-origin: center;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::before,
  .site-header::after,
  .site-footer::before,
  .header-ribbon,
  .brand-header,
  .logo-link,
  .logo-link img,
  .header-badge {
    transition: none;
  }

  .site-header::before,
  .site-header::after,
  .site-footer::before,
  .header-ribbon {
    animation: none;
  }
}

/* Consentimento de cookies e privacidade */
.cookie-consent,
.cookie-settings {
  font-family: var(--font-body);
}

.cookie-consent[hidden],
.cookie-settings[hidden],
.cookie-map-placeholder[hidden],
.cookie-external-frame[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 12000;
  width: min(590px, calc(100vw - 32px));
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(74, 18, 15, 0.22);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.cookie-consent__accent {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--sun-yellow), var(--orange), var(--red));
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-consent__title,
.cookie-settings__title {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
}

.cookie-consent__title {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
}

.cookie-consent__text,
.cookie-settings__intro {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.cookie-consent__text {
  margin: 12px 0 0;
}

.cookie-consent__text a,
.cookie-settings__intro a,
.cookie-settings__policy-link a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 0.74rem 1rem;
  border: 1px solid rgba(216, 25, 32, 0.34);
  border-radius: var(--radius);
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font: 850 0.82rem/1.2 var(--font-body);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cookie-consent__button:hover {
  border-color: var(--red);
  background: #fff7f5;
  transform: translateY(-1px);
}

.cookie-consent__button--primary {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(216, 25, 32, 0.18);
  color: #fff;
}

.cookie-consent__button--primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.cookie-consent__button--quiet {
  border-color: transparent;
  background: transparent;
  color: var(--charcoal);
}

.cookie-consent__button:focus-visible,
.cookie-settings__close:focus-visible,
.cookie-toggle input:focus-visible + .cookie-toggle__track,
.cookie-preferences-link:focus-visible,
.cookie-map-placeholder button:focus-visible {
  outline: 3px solid rgba(255, 205, 38, 0.62);
  outline-offset: 3px;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 19, 19, 0.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.cookie-settings__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(23, 19, 19, 0.3);
  overflow-wrap: anywhere;
}

.cookie-settings__header {
  padding-right: 50px;
}

.cookie-settings__title {
  font-size: clamp(1.8rem, 5vw, 2.65rem);
}

.cookie-settings__intro {
  margin: 12px 0 20px;
}

.cookie-settings__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.cookie-settings__categories {
  border-top: 1px solid var(--line);
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-category__name {
  display: block;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.cookie-category__description,
.cookie-category__status {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-category__status {
  color: var(--whatsapp);
  font-weight: 850;
}

.cookie-toggle {
  position: relative;
  align-self: start;
  width: 50px;
  height: 30px;
  margin-top: 2px;
}

.cookie-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-toggle__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.cookie-toggle__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(23, 19, 19, 0.2);
  transition: transform 180ms ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--red);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__track {
  cursor: not-allowed;
  opacity: 0.68;
}

.cookie-data-notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--sun-yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff9e8;
}

.cookie-data-notice strong {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 900;
}

.cookie-data-notice p,
.cookie-settings__policy-link {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.cookie-settings__policy-link {
  margin-top: 16px;
}

.cookie-settings__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.cookie-preferences-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.cookie-map-placeholder {
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 205, 38, 0.2), transparent 42%),
    linear-gradient(145deg, #fffaf2, #fff);
  color: var(--charcoal);
  text-align: center;
}

.cookie-map-placeholder svg {
  width: 30px;
  height: 30px;
  color: var(--red);
}

.cookie-map-placeholder strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.cookie-map-placeholder span {
  max-width: 380px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.cookie-map-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 7px;
}

.cookie-map-placeholder button {
  min-height: 38px;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(216, 25, 32, 0.28);
  border-radius: var(--radius);
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font: 800 0.75rem/1.2 var(--font-body);
}

.cookie-map-placeholder button:first-child {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.property-map-footer.is-cookie-blocked-map .property-map-link {
  display: none;
}

.property-map-footer .cookie-map-placeholder {
  height: 100%;
  min-height: 112px;
  gap: 3px;
  padding: 8px 10px;
}

.property-map-footer .cookie-map-placeholder > svg,
.property-map-footer .cookie-map-placeholder > i {
  width: 18px;
  height: 18px;
}

.property-map-footer .cookie-map-placeholder > span {
  display: none;
}

.property-map-footer .cookie-map-placeholder__actions {
  margin-top: 3px;
}

.property-map-footer .cookie-map-placeholder button {
  min-height: 30px;
  padding: 0.38rem 0.58rem;
  font-size: 0.69rem;
}

.contact-map .cookie-map-placeholder {
  height: 100%;
  min-height: 320px;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 22px 18px 18px;
  }

  .cookie-consent__actions,
  .cookie-settings__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .cookie-settings {
    align-items: end;
    padding: 0;
  }

  .cookie-settings__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .cookie-map-placeholder__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-map-placeholder button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button,
  .cookie-toggle__track,
  .cookie-toggle__track::after {
    transition: none;
  }
}

/* Movimento público: entrada real no carregamento; JS não liga/desliga o efeito. */
@keyframes fochesato-page-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fochesato-art-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes fochesato-layer-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: calc(var(--art-x, 0px) * var(--art-intensity, 1)) calc(var(--art-y, -8px) * var(--art-intensity, 1));
  }
}

@keyframes fochesato-reveal-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fochesato-reveal-left {
  from { opacity: 0; transform: translate3d(-28px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fochesato-reveal-right {
  from { opacity: 0; transform: translate3d(28px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fochesato-reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fochesato-reveal-scale {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.975); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* A shared key means the photograph, its graphic and its label stay paired. */
[data-art-motion="home-house"] { --art-period: 6.8s; --art-phase: -0.8s; --art-x: 2px; --art-y: -8px; }
[data-art-motion="home-apartment"] { --art-period: 8s; --art-phase: -3.2s; --art-x: -2px; --art-y: -10px; }
[data-art-motion="home-beach"] { --art-period: 7.2s; --art-phase: -4.2s; --art-x: 1px; --art-y: 6px; }
[data-art-motion="home-waves"] { --art-period: 8.6s; --art-phase: -1.6s; --art-x: -2px; --art-y: -7px; }
[data-art-motion="about-heart"] { --art-period: 7.4s; --art-phase: -1s; --art-x: 1px; --art-y: -8px; }
[data-art-motion="about-sign"] { --art-period: 8.7s; --art-phase: -3.6s; --art-x: -2px; --art-y: -10px; }
[data-art-motion="about-sea"] { --art-period: 7.8s; --art-phase: -5.1s; --art-x: 2px; --art-y: 5px; }
[data-art-motion="about-story"] { --art-period: 8.3s; --art-phase: -1.4s; --art-x: 1px; --art-y: -7px; }
[data-art-motion="about-coast"] { --art-period: 9s; --art-phase: -4.7s; --art-x: -1px; --art-y: -6px; }
[data-art-motion="contact-photo"] { --art-period: 7.6s; --art-phase: -1.8s; --art-x: 2px; --art-y: -9px; }
[data-art-motion="houses-main"] { --art-period: 8.1s; --art-phase: -1.1s; --art-x: 1px; --art-y: -9px; }
[data-art-motion="apartments-main"] { --art-period: 7.7s; --art-phase: -0.9s; --art-x: -1px; --art-y: -9px; }
[data-art-motion="apartments-side"] { --art-period: 8.9s; --art-phase: -4s; --art-x: 1px; --art-y: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .page-hero > :first-child,
  .property-detail-copy {
    animation: fochesato-page-enter 950ms cubic-bezier(0.25, 0.65, 0.35, 1) 50ms backwards;
  }

  .page-hero-visual,
  .about-hero-gallery,
  .property-detail-cover {
    animation: fochesato-art-enter 850ms cubic-bezier(0.22, 1, 0.36, 1) 130ms backwards;
  }

  /* Preserve the approved entrance; continuous motion belongs to each pair. */
  .hero-gallery {
    animation: fochesato-art-enter 850ms cubic-bezier(0.22, 1, 0.36, 1) 100ms backwards;
  }

  [data-art-motion] {
    /* Independent translate leaves the approved transform: rotate(...) intact. */
    animation: fochesato-layer-drift var(--art-period, 8s) ease-in-out var(--art-phase, 0s) infinite;
  }

  .is-art-paused [data-art-motion] {
    animation-play-state: paused;
  }

  .motion-reveal-pending { opacity: 0; }

  .motion-reveal-in {
    animation: fochesato-reveal-rise var(--reveal-duration, 1100ms) cubic-bezier(0.25, 0.65, 0.35, 1) var(--reveal-delay, 0ms) backwards;
  }

  .motion-reveal-in[data-motion-reveal="left"] { animation-name: fochesato-reveal-left; }
  .motion-reveal-in[data-motion-reveal="right"] { animation-name: fochesato-reveal-right; }
  .motion-reveal-in[data-motion-reveal="fade"] { animation-name: fochesato-reveal-fade; }
  .motion-reveal-in[data-motion-reveal="scale"] { animation-name: fochesato-reveal-scale; }

  .hero-copy:focus-within,
  .page-hero > :first-child:focus-within,
  .property-detail-copy:focus-within,
  .motion-reveal-in:focus-within {
    animation: none;
  }

  .button {
    transition: transform 220ms ease, scale 180ms ease, background-color 220ms ease,
      border-color 220ms ease, box-shadow 220ms ease;
  }

  .button:active {
    transform: translateY(0);
    scale: 0.985;
  }

  .filter-chip,
  .filter-refresh,
  input,
  select,
  textarea {
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }
}

/* Mar e areia da abertura da home: o mesmo ritmo em camadas aprovado no login.
   Os SVGs mantêm o vínculo com as fotos; só seus traçados ganham movimento próprio.
   Eixos à direita preservam as terminações e não ampliam a arte para fora da página. */
.hero-gallery .home-landscape-dunes > path {
  transform-box: view-box;
  transform-origin: 330px 304px;
}

.hero-gallery .home-landscape-sea > path {
  transform-box: view-box;
  transform-origin: 580px 455px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-gallery .home-landscape-dunes > path:first-child {
    animation: fochesato-home-dune-back 9.8s ease-in-out -2s infinite;
  }

  .hero-gallery .home-landscape-dunes > path:last-child {
    animation: fochesato-home-dune-front 7.8s ease-in-out -5s infinite;
  }

  .hero-gallery .home-landscape-sea > path:first-child {
    animation: fochesato-home-sea-back 8s ease-in-out -3s infinite;
  }

  .hero-gallery .home-landscape-sea > path:last-child {
    animation: fochesato-home-sea-front 6.2s ease-in-out -1s infinite;
  }

  .hero-gallery.is-art-paused .home-landscape-dunes > path,
  .hero-gallery.is-art-paused .home-landscape-sea > path {
    animation-play-state: paused;
  }

  @keyframes fochesato-home-dune-back {
    0%, 100% { transform: translate(7px, 1px) scale(.99, .98); }
    50% { transform: translate(0, -3px) scale(1, 1.055); }
  }

  @keyframes fochesato-home-dune-front {
    0%, 100% { transform: translate(0, 2px) scale(1, .98); }
    50% { transform: translate(12px, -3px) scale(.985, 1.08); }
  }

  @keyframes fochesato-home-sea-back {
    0%, 100% { transform: translate(0, 2px) scale(.99, .98); }
    50% { transform: translate(-14px, -4px) scale(1.025, 1.06); }
  }

  @keyframes fochesato-home-sea-front {
    0%, 100% { transform: translate(0, 3px) scale(1, .96); }
    50% { transform: translate(-22px, -5px) scale(.97, 1.1); }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:hover {
    transform: translateY(-3px);
  }

  .hero-summer-photo,
  .about-hero-frame,
  .about-hero-side-top,
  .about-hero-side-bottom,
  .page-hero-photo-pair img,
  .page-hero-casas .page-hero-visual > img,
  .contact-hero-photo > img,
  .about-story-media > img,
  .about-coast-visual > img,
  .split-section > img {
    transition: box-shadow 300ms ease;
  }

  .hero-summer-photo:hover,
  .about-hero-frame:hover,
  .about-hero-side-top:hover,
  .about-hero-side-bottom:hover,
  .page-hero-photo-pair img:hover,
  .page-hero-casas .page-hero-visual > img:hover,
  .contact-hero-photo > img:hover,
  .about-story-media > img:hover,
  .about-coast-visual > img:hover,
  .split-section > img:hover {
    box-shadow: 0 22px 42px rgba(49, 59, 66, 0.15);
  }

  .floating-whatsapp {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 19px 38px rgba(31, 175, 89, 0.34);
  }
}

.property-card:focus-within,
.property-gallery-item:focus-visible {
  border-color: rgba(223, 127, 53, 0.44);
  box-shadow: 0 20px 42px rgba(74, 18, 15, 0.13);
}

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  [data-art-motion] {
    --art-intensity: 0.75;
  }
}

@media print {
  .hero-copy,
  .page-hero > :first-child,
  .property-detail-copy,
  .page-hero-visual,
  .about-hero-gallery,
  .property-detail-cover,
  .hero-gallery,
  [data-art-motion],
  .hero-gallery .home-landscape-dunes > path,
  .hero-gallery .home-landscape-sea > path,
  .motion-reveal-in {
    animation: none !important;
  }

  .motion-reveal-pending { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html,
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  :is(.button, .property-card, .property-gallery-item, .filter-refresh):is(:hover, :active, :focus-visible) {
    transform: none;
    translate: none;
    scale: none;
  }
}
