:root {
  --color-bg: #f1eee7;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-surface-strong: #fffaf0;
  --color-primary: #d89b34;
  --color-primary-deep: #a46e18;
  --color-accent: #f2c979;
  --color-ink: #111820;
  --color-steel: #27313a;
  --color-text: #182029;
  --color-text-muted: #5f6871;
  --color-border: rgba(17, 24, 32, 0.12);
  --shadow-soft: 0 26px 70px rgba(17, 24, 32, 0.12);
  --shadow-card: 0 18px 42px rgba(17, 24, 32, 0.1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 76px;
  --hero-height: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --hero-height: 100dvh;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 155, 52, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8f3e9 0%, var(--color-bg) 38%, #ebe6dc 100%);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  overflow-x: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(164, 110, 24, 0.2), transparent);
  pointer-events: none;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.hero h1,
.site-footer h2,
.mobile-sidebar h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-heading h2,
.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-heading h2 {
  color: var(--color-ink);
}

.section-heading p:last-child,
.site-footer p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 62ch;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  color: #fffdf9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(17, 24, 32, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 155, 52, 0.22);
  box-shadow: 0 16px 40px rgba(17, 24, 32, 0.18);
  color: #fffaf0;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #fff2c9);
  color: var(--color-text);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.brand-logo {
  overflow: hidden;
  background: #fff;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand-copy small {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.74rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  position: relative;
  color: currentColor;
  opacity: 0.86;
  font-weight: 500;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.sidebar-close {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.menu-toggle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 32, 0.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 35;
}

.mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100vh;
  max-height: 100vh;
  padding: clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 1.5rem);
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(216, 155, 52, 0.18);
  box-shadow: -24px 0 54px rgba(17, 24, 32, 0.22);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 40;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .mobile-sidebar {
    height: 100dvh;
    max-height: 100dvh;
  }
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
}

.sidebar-top h2 {
  font-size: 2rem;
}

.sidebar-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.mobile-nav {
  display: grid;
  gap: clamp(0.55rem, 1.4vh, 0.9rem);
}

.mobile-nav a {
  padding-bottom: clamp(0.55rem, 1.5vh, 0.78rem);
  border-bottom: 1px solid rgba(44, 51, 56, 0.08);
  font-size: clamp(0.98rem, 2.7vw, 1.05rem);
}

.sidebar-card {
  margin-top: auto;
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 201, 121, 0.2));
  border: 1px solid rgba(164, 110, 24, 0.14);
  box-shadow: var(--shadow-card);
}

.sidebar-card p {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero {
  position: relative;
  height: var(--hero-height);
  min-height: var(--hero-height);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(0.9rem, 2.8dvh, 2.3rem)) 0 clamp(1.6rem, 3.6dvh, 3rem);
  isolation: isolate;
  background: var(--color-ink);
  color: #fffdf9;
}

.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero::after {
  inset: auto 0 -8svh;
  height: 36%;
  background: linear-gradient(
    180deg,
    rgba(22, 27, 25, 0) 0%,
    rgba(22, 27, 25, 0.18) 34%,
    rgba(22, 27, 25, 0.42) 56%,
    rgba(247, 245, 240, 0.22) 78%,
    rgba(247, 245, 240, 0.78) 100%
  );
  z-index: 0;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(10, 15, 16, 0.08), rgba(10, 15, 16, 0.08)),
    url('./mídia/seo/hero-serralheria.jpg') 58% center/cover;
  transform: scale(1.015);
}

.hero-overlay {
  background:
    radial-gradient(circle at 82% 34%, rgba(216, 155, 52, 0.18), transparent 22rem),
    linear-gradient(90deg, rgba(10, 14, 18, 0.86) 0%, rgba(17, 24, 32, 0.68) 36%, rgba(17, 24, 32, 0.28) 68%, rgba(17, 24, 32, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 14, 18, 0.46) 0%, rgba(10, 14, 18, 0.18) 46%, rgba(10, 11, 9, 0.66) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 740px;
  padding-left: clamp(0rem, 2vw, 1.4rem);
  border-left: 3px solid rgba(216, 155, 52, 0.9);
}

.hero h1 {
  max-width: 18.8ch;
  color: #fffdf9;
  font-size: clamp(3rem, 4.6vw, 5.25rem);
  line-height: 0.94;
  margin-bottom: clamp(0.62rem, 1.4dvh, 1rem);
  text-shadow: 0 5px 26px rgba(0, 0, 0, 0.38);
}

.hero .eyebrow {
  position: relative;
  display: inline-block;
  color: #fffdf9;
  margin-bottom: clamp(0.86rem, 1.9dvh, 1.18rem);
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.78rem, 0.9vw, 0.98rem);
  letter-spacing: 0.12em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.hero .eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.62rem;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
}

.hero-text {
  max-width: 54ch;
  color: rgba(255, 253, 249, 0.94);
  font-size: clamp(0.92rem, 0.98vw, 1.04rem);
  font-weight: 500;
  line-height: 1.38;
  margin: 0 0 clamp(0.76rem, 1.8dvh, 1.12rem);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 510px);
  margin-bottom: clamp(0.78rem, 1.8dvh, 1.12rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 32, 0.64);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.hero-stat {
  padding: clamp(0.56rem, 1.35dvh, 0.78rem) 1rem clamp(0.62rem, 1.45dvh, 0.84rem);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  color: #fffdf9;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.38rem, 2vw, 1.72rem);
  line-height: 0.95;
}

.hero-stat span {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 253, 249, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.35dvh, 0.9rem);
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #2f383d, #8f7b67);
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(44, 51, 56, 0.2);
}

.button-secondary {
  border-color: rgba(44, 51, 56, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-text);
  backdrop-filter: blur(12px);
}

.hero-actions .button {
  min-height: clamp(42px, 5.4dvh, 50px);
  padding: clamp(0.64rem, 1.45dvh, 0.82rem) 1.35rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-actions .button-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(17, 24, 32, 0.36);
  color: #fffdf9;
  backdrop-filter: blur(10px);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  transform: translateX(-50%);
  color: rgba(255, 253, 249, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 900;
}

.hero-scroll-cue span {
  display: inline-block;
  margin-left: 0.35rem;
  color: #fffdf9;
  animation: cue-bounce 1.4s ease-in-out infinite;
}

.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 9999;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26), 0 0 0 8px rgba(37, 211, 102, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0.18);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  display: block;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.region-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 250, 240, 0.58);
  isolation: isolate;
}

.region-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s ease;
  z-index: -2;
}

.region-card:hover::before {
  transform: scale(1.06);
}

.region-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.04), rgba(17, 24, 32, 0.74)),
    linear-gradient(45deg, rgba(216, 155, 52, 0.32), transparent 44%);
  z-index: -1;
}

.region-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #f8f5f0;
}

.region-content p,
.region-content span {
  margin: 0;
}

.region-content h3,
.stay-body h3,
.site-footer h3 {
  margin: 0;
}

.region-content h3,
.stay-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0.3rem 0 0.5rem;
}

.region-content span {
  max-width: 28ch;
}

.region-trancoso {
  background-image: url('./mídia/seo/hero-serralheria.jpg');
}

.region-coroa {
  background-image: url('./mídia/seo/servico-estruturas.jpg');
}

.region-arraial {
  background-image: url('./mídia/imagens/img_60.jpeg');
}

.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82%, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.featured-rail::-webkit-scrollbar {
  height: 8px;
}

.featured-rail::-webkit-scrollbar-thumb {
  background: rgba(168, 159, 145, 0.4);
  border-radius: 999px;
}

.stay-card {
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-surface-strong), rgba(255, 250, 240, 0.82));
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(17, 24, 32, 0.1);
}

.stay-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.stay-image-1 {
  background-image: url('./mídia/seo/processo-diagnostico.jpg');
}

.stay-image-2 {
  background-image: url('./mídia/seo/processo-medidas.jpg');
}

.stay-image-3 {
  background-image: url('./mídia/seo/processo-fabricacao.jpg');
}

.stay-image-4 {
  background-image: url('./mídia/seo/processo-instalacao.jpg');
}

.stay-body {
  padding: 1.1rem 1.2rem;
}

.stay-tag {
  margin: 0 0 0.35rem;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
}

.stay-body h3 {
  margin: 0.15rem 0 0.45rem;
  line-height: 1.08;
}

.stay-body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.42;
}

.stay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--color-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(17, 24, 32, 0.1);
  box-shadow: var(--shadow-card);
}

.quote-mark {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 0.8;
}

.faq-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(216, 155, 52, 0.15);
  color: var(--color-primary-deep);
}

.faq-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.testimonial-card p {
  margin: 0 0 1.4rem;
  color: var(--color-text-muted);
}

.testimonial-card footer {
  display: grid;
  gap: 0.15rem;
}

.testimonial-card footer span {
  color: var(--color-text-muted);
}

.site-footer {
  padding: 2.6rem 0 1.4rem;
  border-top: 1px solid rgba(216, 155, 52, 0.2);
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 155, 52, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(79, 82, 78, 0.76), rgba(17, 24, 32, 0.97));
  color: #fffaf0;
}

.site-footer h2 {
  max-width: 12.6ch;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.04;
  margin-bottom: 0.65rem;
}

.site-footer .eyebrow {
  margin-bottom: 0.45rem;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.42;
}

.site-footer .eyebrow,
.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fffaf0;
}

.site-footer p,
.site-footer ul,
.site-footer .footer-credit p {
  color: rgba(255, 250, 240, 0.74);
}

.region-showcase {
  padding-top: 1rem;
}

.region-showcase--alternate {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.region-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: end;
  padding: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 250, 240, 0.52);
}

.region-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.74)),
    linear-gradient(90deg, rgba(216, 155, 52, 0.22), transparent 54%);
}

.region-banner__content {
  position: relative;
  z-index: 1;
  color: #f8f5f0;
  max-width: 62ch;
}

.region-banner__content .eyebrow--light {
  color: rgba(255, 253, 249, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}

.region-banner__content h2 {
  margin: 0 0 0.85rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.region-banner__content p:last-child {
  margin: 0;
  color: rgba(248, 245, 240, 0.88);
}

.banner-trancoso {
  background-image: url('./mídia/seo/hero-serralheria.jpg');
}

.banner-coroa {
  background-image: url('./mídia/imagens/img_46.jpeg');
}

.banner-arraial {
  background-image: url('./mídia/imagens/img_46.jpeg');
}

.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.listing-grid--compact {
  gap: 1rem;
}

.property-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 24px 56px rgba(17, 24, 32, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 66px rgba(17, 24, 32, 0.16);
}

.property-media {
  position: relative;
  min-height: 320px;
  background: #241d16;
  touch-action: pan-y;
}

.property-track {
  position: relative;
  height: 100%;
}

.property-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.property-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.property-slide img,
.property-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 240, 0.86);
  color: var(--color-text);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 2;
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.38);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.carousel-dots button.is-active {
  transform: scale(1.25);
  background: #fff;
}

.property-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.property-kicker,
.property-price-label {
  margin: 0;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.property-heading h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.property-rating {
  flex-shrink: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 196, 183, 0.22);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.property-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.property-amenities span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 155, 52, 0.12);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.property-amenities svg,
.button-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.property-description {
  margin: 0;
  color: var(--color-text-muted);
}

.property-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(44, 51, 56, 0.07);
}

.property-footer strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
}

.property-footer strong span {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--color-text-muted);
}

.button-whatsapp {
  width: 100%;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-primary), #80510e);
  color: #fffdf9;
  box-shadow: var(--shadow-soft);
}

.button-whatsapp:hover {
  opacity: 0.94;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: start;
}

.site-footer h3 {
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.48rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.18);
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.8rem;
  line-height: 1.2;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-social {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 82, 78, 0.54);
  border: 1px solid rgba(255, 250, 240, 0.18);
  color: #e8e1d3;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-social:hover {
  transform: translateY(-1px);
  background: rgba(216, 155, 52, 0.24);
  color: #fffaf0;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.footer-logo {
  width: min(140px, 100%);
  margin: 0 0 0.7rem;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 250, 240, 0.2);
}

.footer-credit {
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  text-align: center;
}

.footer-credit p {
  max-width: none;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.footer-credit a {
  color: #fffaf0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(216, 155, 52, 0.7);
  text-underline-offset: 0.22em;
}

.footer-credit a:hover {
  color: var(--color-accent);
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(6, 9, 12, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__content {
  width: min(100%, 1180px);
  max-height: min(86vh, 900px);
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.gallery-lightbox__image {
  max-width: 100%;
  max-height: calc(86vh - 3.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: clamp(12px, 2vw, 22px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.gallery-lightbox__caption {
  max-width: min(100%, 780px);
  margin: 0;
  color: rgba(255, 250, 240, 0.86);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.4;
}

.gallery-lightbox__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.property-slide img {
  cursor: zoom-in;
}

.property-card.has-video-active .property-media {
  min-height: 0;
  aspect-ratio: var(--active-media-ratio, 16 / 9);
}

.property-card.has-video-active .property-slide video {
  object-fit: contain;
  background: #090d11;
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --container: min(100% - 1.25rem, 1180px);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    height: var(--hero-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: var(--hero-height);
    align-items: stretch;
    padding: calc(var(--header-height) + clamp(1.05rem, 3.2dvh, 2.15rem)) 0 clamp(0.9rem, 2.5dvh, 1.35rem);
  }

  .hero-media {
    background:
      linear-gradient(rgba(10, 15, 16, 0.08), rgba(10, 15, 16, 0.08)),
      url('./mídia/seo/hero-serralheria.jpg') 50% center/cover;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 72% 22%, rgba(216, 155, 52, 0.22), transparent 16rem),
      linear-gradient(180deg, rgba(10, 14, 18, 0.78) 0%, rgba(10, 14, 18, 0.5) 42%, rgba(12, 13, 11, 0.76) 100%),
      linear-gradient(90deg, rgba(5, 6, 5, 0.68) 0%, rgba(8, 9, 8, 0.34) 100%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    gap: clamp(0.58rem, 1.7dvh, 1.05rem);
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: clamp(2.4rem, 6.4dvh, 4rem);
    padding-left: 1rem;
  }

  .hero h1 {
    max-width: 12.6ch;
    color: #fffdf9;
    font-size: clamp(2.18rem, 9.4vw, 3.15rem);
    line-height: 0.96;
    margin-bottom: 0;
  }

  .hero .eyebrow {
    margin-bottom: 0.12rem;
    font-size: clamp(0.72rem, 3.15vw, 0.88rem);
    letter-spacing: 0.11em;
  }

  .hero .eyebrow::after {
    bottom: -0.52rem;
    width: 32px;
  }

  .hero-text {
    max-width: 40ch;
    color: rgba(255, 253, 249, 0.96);
    margin: 0;
    font-size: clamp(0.86rem, 3.28vw, 0.98rem);
    line-height: 1.36;
  }

  .hero-stats {
    width: 100%;
    margin: 0;
  }

  .hero-stat {
    padding: clamp(0.56rem, 1.9dvh, 0.8rem) 0.64rem clamp(0.62rem, 2dvh, 0.84rem);
    text-align: center;
  }

  .hero-stat strong {
    font-size: clamp(1.42rem, 6vw, 1.72rem);
  }

  .hero-stat span {
    font-size: clamp(0.46rem, 1.9vw, 0.58rem);
    letter-spacing: 0.07em;
  }

  .hero-actions {
    flex-direction: column;
    gap: clamp(0.48rem, 1.45dvh, 0.66rem);
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-actions .button {
    width: 100%;
    min-height: clamp(40px, 6.1dvh, 44px);
    padding: clamp(0.58rem, 1.7dvh, 0.74rem) 0.95rem;
    font-size: clamp(0.68rem, 2.6vw, 0.76rem);
    white-space: normal;
  }

  .hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    align-self: auto;
    margin-top: 0;
    font-size: 0.58rem;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 1.05rem;
    bottom: 1.35rem;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .gallery-lightbox {
    padding: 0.85rem;
  }

  .gallery-lightbox__content {
    max-height: 88vh;
  }

  .gallery-lightbox__image {
    max-height: calc(88vh - 3.5rem);
    border-radius: 14px;
  }

  .gallery-lightbox__close {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

}

@media (max-width: 374px) {
  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .hero-text {
    font-size: 0.84rem;
  }

  .hero-stat {
    padding-inline: 0.55rem;
  }

  .hero-stat strong {
    font-size: 1.18rem;
  }

  .hero-stat span {
    font-size: 0.45rem;
  }

  .hero-actions .button {
    min-height: 40px;
    padding-inline: 0.75rem;
    font-size: 0.66rem;
  }
}

@media (max-height: 760px) and (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + 0.75rem) 0 1.25rem;
  }

  .hero h1 {
    max-width: 21ch;
    font-size: clamp(2.55rem, 3.5vw, 3.65rem);
    margin-bottom: 0.55rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.82rem;
  }

  .hero-text {
    max-width: 58ch;
    margin-bottom: 0.72rem;
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .hero-stats {
    margin-bottom: 0.72rem;
  }

  .hero-actions .button {
    min-height: 40px;
    padding-block: 0.56rem;
  }
}

@media (max-height: 920px) and (min-width: 1024px) {
  .hero h1 {
    max-width: 20.5ch;
    font-size: clamp(3rem, 3.85vw, 4.25rem);
  }

  .hero-text {
    max-width: 58ch;
    line-height: 1.34;
  }
}

@media (max-height: 700px) and (max-width: 767px) {
  .hero {
    padding: calc(var(--header-height) + 0.72rem) 0 0.85rem;
  }

  .hero h1 {
    max-width: 14.4ch;
    font-size: clamp(1.9rem, 8vw, 2.56rem);
  }

  .hero-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .hero-actions {
    gap: 0.58rem;
  }

  .hero-actions .button {
    min-height: 38px;
  }

  .hero-scroll-cue {
    display: none;
  }
}

@media (max-height: 620px) and (max-width: 767px) {
  .hero-copy {
    gap: 0.48rem;
    padding-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.72rem, 7.1vw, 2.26rem);
  }

  .hero-text {
    -webkit-line-clamp: 2;
    font-size: 0.8rem;
  }

  .hero-stat {
    padding-block: 0.48rem;
  }

  .hero-actions .button {
    min-height: 36px;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .regions-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-rail {
    grid-auto-columns: minmax(360px, 420px);
  }

  .region-banner {
    min-height: 360px;
    margin-bottom: 2rem;
  }

  .property-body {
    padding: 1.75rem;
  }

  .property-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .button-whatsapp {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    min-height: var(--hero-height);
    padding: calc(var(--header-height) + clamp(0.9rem, 2.8dvh, 2.3rem)) 0 clamp(1.6rem, 3.6dvh, 3rem);
  }

  .hero-content {
    grid-template-columns: minmax(620px, 0.72fr) minmax(260px, 1fr);
  }

  .hero-copy {
    align-self: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.05vw, 4.5rem);
  }

  .regions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }

  .listing-grid {
    gap: 1.5rem;
  }

  .property-card {
    grid-template-columns: minmax(420px, 1.05fr) minmax(0, 1fr);
  }

  .property-card--compact {
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  }

  .property-media {
    min-height: 100%;
  }

  .property-card.has-video-active {
    align-items: start;
  }
}
