/*
Theme Name: WDO Imóveis
Author: VC Digital / WDO Imóveis
Description: Tema WordPress personalizado para WDO Imóveis. WordPress + Elementor Free, catálogo imobiliário, captação de leads e experiência responsiva.
Version: 2.2.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wdo
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, full-width-template

WDO Imóveis — Tema WordPress personalizado.
*/

/* Inter and Open Sans are self-hosted under the SIL Open Font License 1.1. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/open-sans-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* WDO Palette — identidade visual oficial */
  --wdo-petrol-blue: #01253c;
  --wdo-burnt-terracotta: #c34811;
  --wdo-stone-linen: #efebea;
  --wdo-white: #ffffff;
  --wdo-ink: #10212c;
  --wdo-muted: #65717a;
  --wdo-gray-light: #d9d4d2;
  --wdo-gray-medium: #a8afb3;
  --wdo-gray-text: var(--wdo-muted);

  /* Semantic aliases */
  --color-primary: var(--wdo-burnt-terracotta);
  --color-brand: var(--wdo-petrol-blue);
  --color-background: var(--wdo-white);
  --color-ink: var(--wdo-ink);
  --color-text: var(--wdo-ink);
  --color-text-muted: var(--wdo-muted);
  --color-surface: var(--wdo-white);
  --color-surface-alt: var(--wdo-stone-linen);
  --color-border: rgba(1, 37, 60, 0.14);
  --color-border-strong: rgba(1, 37, 60, 0.28);

  /* Typography — web stack aligned with the clean institutional identity */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body-home: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.125rem;
  --font-size-2xl: 1.25rem;
  --font-size-3xl: 1.375rem;
  --font-size-4xl: clamp(1.125rem, 1.3vw, 1.35rem);
  --font-size-5xl: clamp(2.5rem, 5vw, 4.75rem);
  --font-size-6xl: clamp(2.75rem, 6vw, 5.5rem);

  /* Shared heading scale — Home is the visual source of truth */
  --type-heading-1: clamp(2rem, 3vw, 3.4rem);
  --type-heading-2: clamp(1.75rem, 2.4vw, 2.8rem);
  --type-heading-3: clamp(1.4rem, 1.8vw, 2rem);
  --type-heading-1-mobile: clamp(2rem, 8vw, 3rem);
  --type-heading-2-mobile: clamp(1.75rem, 7vw, 2.5rem);
  --type-heading-3-mobile: clamp(1.35rem, 5.5vw, 1.85rem);
  --page-h1-size: var(--type-heading-1);
  --page-h2-size: var(--type-heading-2);
  --page-h1-size-mobile: var(--type-heading-1-mobile);
  --page-h2-size-mobile: var(--type-heading-2-mobile);

  /* Line heights */
  --line-height-tight: 1.08;
  --line-height-snug: 1.15;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.7;

  /* Letter spacing */
  --letter-spacing-tight: -0.03em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.12em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(21, 21, 21, 0.04);
  --shadow-md: 0 4px 12px rgba(21, 21, 21, 0.06);
  --shadow-lg: 0 12px 24px rgba(21, 21, 21, 0.08);

  /* Motion foundation: feedback, state, continuity, reveal and focal moments. */
  --motion-duration-feedback: 150ms;
  --motion-duration-state: 300ms;
  --motion-duration-continuity: 500ms;
  --motion-duration-reveal: 680ms;
  --motion-duration-focal: 800ms;
  --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-ease-enter: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: var(--motion-duration-feedback) var(--motion-ease-standard);
  --transition-base: var(--motion-duration-state) var(--motion-ease-standard);
  --transition-slow: var(--motion-duration-continuity) var(--motion-ease-standard);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;

  /* Container */
  --container-max: 1180px;
  --container-padding: var(--space-6);

  /* Header height used for page header offset calculations */
  --header-height: 80px;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-5);
  }
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 clamp(var(--space-6), 2vw, var(--space-8));
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-ink);
  text-wrap: balance;
}

h1 + p,
h2 + p,
h3 + p {
  margin-top: var(--space-2);
}

h1 {
  font-size: var(--type-heading-1);
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: var(--type-heading-2);
  line-height: var(--line-height-snug);
}

h3 {
  font-size: var(--type-heading-3);
  line-height: var(--line-height-snug);
}

h4 {
  font-size: var(--font-size-3xl);
  line-height: 1.2;
}

h5 {
  font-size: var(--font-size-lg);
  line-height: 1.25;
}

h6 {
  font-size: var(--font-size-base);
  line-height: 1.3;
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--type-heading-1-mobile);
  }

  h2 {
    font-size: var(--type-heading-2-mobile);
  }

  h3 {
    font-size: var(--type-heading-3-mobile);
  }
}

p {
  margin: 0 0 var(--space-6);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--wdo-petrol-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   Home typography — WDO web stack
   ============================================ */
.home {
  --font-body-home: var(--font-body);
}

.home,
.home .btn {
  font-size: calc(var(--font-size-base) * 0.85);
}

.site-header--home-style .main-nav__list a {
  font-size: calc(var(--font-size-base) * 0.85);
}

.home h4 { font-size: clamp(1rem, 1.1vw, 1.15rem); }
.home h5 { font-size: 1rem; }
.home h6 { font-size: 1rem; }

@media (min-width: 769px) {
  .site-header--home-style .main-nav__list {
    gap: var(--space-5);
  }

  .site-header--home-style .main-nav__list a {
    font-size: calc(var(--font-size-sm) * 1.05);
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .home {
    font-size: calc(var(--font-size-base) * 0.90);
  }
}

/* ============================================
   Utilities
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.text-right {
  text-align: right;
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.w-full {
  width: 100%;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--z-modal) + 10);
  padding: var(--space-3) var(--space-6);
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--wdo-white);
  border-radius: 0 0 6px 0;
  transform: translateY(-120%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  color: var(--wdo-white);
  transform: translateY(0);
}

.skip-link:focus-visible {
  color: var(--wdo-white);
  transform: translateY(0);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--compact {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.bg-light {
  background-color: var(--color-surface-alt);
}

.bg-dark {
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: var(--wdo-white);
}

.bg-dark p {
  color: var(--wdo-gray-medium);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid,
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-header__title {
  font-size: var(--type-heading-2);
  margin-bottom: var(--space-5);
}

.section-header__description {
  max-width: 680px;
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center .section-header__description {
  margin-left: auto;
  margin-right: auto;
}

/* BEM section header used in theme templates */
.section__header {
  margin-bottom: var(--space-10);
}

.section__header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: var(--type-heading-2);
  margin-bottom: var(--space-3);
}

.section__subtitle {
  max-width: 680px;
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

.section__header.text-center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section__header {
    margin-bottom: var(--space-8);
  }

  .section__title {
    margin-bottom: var(--space-2);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

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

.btn--primary {
  background-color: var(--color-primary);
  color: var(--wdo-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--wdo-petrol-blue);
  border-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--color-ink);
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background-color: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.btn--icon:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-surface);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

.btn--arrow .btn__arrow,
.btn .btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  block-size: var(--header-height);
  padding: 0;
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.scrolled,
.site-header--light {
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.site-header__shell {
  display: grid;
  grid-template-columns: minmax(250px, calc((100vw - var(--container-max)) / 2 + 250px)) minmax(0, 1fr);
  min-block-size: 100%;
}

.site-header__brand-panel,
.site-header__nav-panel {
  display: flex;
  min-width: 0;
  align-items: center;
}

.site-header__brand-panel {
  justify-content: flex-end;
  padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2));
  padding-right: clamp(var(--space-5), 2.4vw, var(--space-10));
  background-color: var(--wdo-white);
}

.site-header__nav-panel {
  padding-right: max(var(--container-padding), calc((100vw - var(--container-max)) / 2));
  background-color: var(--wdo-petrol-blue);
}

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

.site-logo:hover {
  color: inherit;
}

.site-logo__image {
  width: auto;
  max-height: 54px;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-ink);
}

/* Main navigation */
.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(var(--space-4), 1.8vw, var(--space-8));
  min-width: 0;
  min-height: 100%;
}

.main-nav__drawer-header {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 1.5vw, var(--space-6));
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list a {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--wdo-white);
  text-decoration: none;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  white-space: nowrap;
  padding: var(--space-2) 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item a,
.main-nav__list a[aria-current="page"] {
  color: var(--wdo-white);
  border-bottom-color: currentColor;
}

.site-header.scrolled .main-nav__list a:hover,
.site-header--light .main-nav__list a:hover,
.site-header.scrolled .main-nav__list .current-menu-item a,
.site-header--light .main-nav__list .current-menu-item a,
.site-header.scrolled .main-nav__list a[aria-current="page"],
.site-header--light .main-nav__list a[aria-current="page"] {
  border-bottom-color: var(--wdo-white);
  color: var(--wdo-white);
}

.site-header.site-header--home-style .site-header__cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--font-body-home);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid var(--wdo-burnt-terracotta);
  border-radius: 6px;
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
  white-space: nowrap;
}

.site-header.site-header--home-style .site-header__cta:hover,
.site-header.site-header--home-style .site-header__cta:focus-visible {
  border-color: var(--wdo-white);
  background-color: var(--wdo-white);
  color: var(--wdo-petrol-blue);
  box-shadow: none;
  transform: none;
}

@media (min-width: 1025px) {
  .site-header--home-style .site-header__brand-panel {
    justify-content: flex-start;
  }

  .site-header--home-style .main-nav {
    gap: clamp(var(--space-3), 1.2vw, var(--space-5));
  }

  .site-header--home-style .main-nav__list {
    gap: clamp(0.625rem, 1vw, var(--space-4));
  }

  .site-header--home-style .main-nav__list a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: var(--font-size-xs);
  }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  color: var(--wdo-white);
  cursor: pointer;
}

.menu-toggle__icon {
  width: 24px;
  height: 24px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: rgba(1, 18, 30, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

@media (max-width: 1024px) {
  .site-header__shell {
    grid-template-columns: minmax(0, 1fr) var(--header-height);
  }

  .site-header__brand-panel {
    justify-content: flex-start;
    padding-left: var(--container-padding);
    padding-right: var(--space-4);
  }

  .site-header__nav-panel {
    justify-content: center;
    padding-right: 0;
  }

  .site-logo__image {
    max-height: 46px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-overlay) + 1);
    width: min(400px, 92vw);
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 max(var(--space-6), env(safe-area-inset-bottom));
    overflow-y: auto;
    background-color: var(--wdo-petrol-blue);
    color: var(--wdo-white);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav__drawer-header {
    display: flex;
    width: 100%;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    padding: max(var(--space-3), env(safe-area-inset-top)) var(--space-5) var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .main-nav__drawer-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
  }

  .main-nav__close {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 6px;
    background: transparent;
    color: var(--wdo-white);
    cursor: pointer;
  }

  .main-nav__close svg {
    width: 22px;
    height: 22px;
  }

  .main-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5);
  }

  .main-nav__list > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .main-nav__list a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: var(--space-3) 0;
    color: var(--wdo-white);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    border-bottom: 0;
  }

  .site-header.site-header--home-style .site-header__cta {
    width: calc(100% - (2 * var(--space-5)));
    min-height: 48px;
    margin: var(--space-5);
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav {
    transition: none;
  }

  .nav-overlay {
    transition: none;
  }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-gray-light);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

.site-footer a {
  color: var(--wdo-gray-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: var(--wdo-white);
}

.site-footer .site-logo__text {
  color: var(--wdo-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.site-footer .site-logo__image {
  max-height: 72px;
}

@media (max-width: 768px) {
  .site-footer .site-logo__image {
    max-height: 60px;
  }
}

/* Home hero fullscreen */
.home .site-main {
  overflow-x: clip;
}

.home .hero {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + var(--space-12));
}

.home .hero__content {
  width: 40%;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 768px) {
  .home .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + var(--space-8));
  }

  .home .hero__content {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero__subtitle-break {
    display: none;
  }
}

/* Progressive reveal: visible by default and armed per target before observation. */
[data-reveal] {
  --wdo-reveal-duration: var(--motion-duration-reveal);
  --wdo-reveal-easing: var(--motion-ease-enter);
  --wdo-reveal-distance: 20px;
  opacity: 1;
  translate: none;
  scale: 1;
  rotate: 0deg;
  transition:
    opacity var(--wdo-reveal-duration) ease-out var(--wdo-reveal-delay, 0ms),
    translate var(--wdo-reveal-duration) var(--wdo-reveal-easing) var(--wdo-reveal-delay, 0ms),
    scale var(--wdo-reveal-duration) var(--wdo-reveal-easing) var(--wdo-reveal-delay, 0ms),
    rotate var(--wdo-reveal-duration) var(--wdo-reveal-easing) var(--wdo-reveal-delay, 0ms);
}

[data-reveal].is-reveal-pending:not(.is-visible) {
  opacity: 0;
  translate: 0 var(--wdo-reveal-distance);
}

[data-reveal="copy"] {
  --wdo-reveal-duration: var(--motion-duration-focal);
  --wdo-reveal-distance: 24px;
}

[data-reveal="quiet"] {
  --wdo-reveal-duration: var(--motion-duration-state);
  --wdo-reveal-distance: 10px;
}

[data-reveal="step"] {
  --wdo-reveal-distance: 18px;
}

[data-reveal="left"].is-reveal-pending:not(.is-visible) {
  --wdo-reveal-duration: var(--motion-duration-focal);
  translate: -34px 0;
}

[data-reveal="right"].is-reveal-pending:not(.is-visible) {
  --wdo-reveal-duration: var(--motion-duration-focal);
  translate: 34px 0;
}

[data-reveal="media"].is-reveal-pending:not(.is-visible) {
  --wdo-reveal-duration: var(--motion-duration-focal);
  translate: 0 18px;
  scale: .985;
}

[data-reveal="cta"] {
  --wdo-reveal-distance: 16px;
}

@media (max-width: 1024px) {
  .wdo-trust__card[data-reveal="right"].is-reveal-pending:not(.is-visible) {
    translate: 0 20px;
  }

  .wdo-trust__card[data-reveal="right"].is-visible {
    translate: none;
  }
}

@media (max-width: 640px) {
  [data-reveal="left"].is-reveal-pending:not(.is-visible) {
    translate: -16px 0;
  }

  [data-reveal="right"].is-reveal-pending:not(.is-visible) {
    translate: 16px 0;
  }
}

.is-reveal-pending:not(.is-visible)[data-reveal="zoom"] {
  --wdo-reveal-duration: var(--motion-duration-focal);
  opacity: 0;
  translate: 0 14px;
  scale: .985;
}

.is-reveal-pending:not(.is-visible)[data-reveal="spin"] {
  --wdo-reveal-duration: var(--motion-duration-focal);
  translate: 0 14px;
  scale: .99;
  rotate: -1deg;
}

[data-reveal].is-visible {
  opacity: 1;
  translate: none;
  scale: 1;
  rotate: 0deg;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-reveal-pending,
  [data-reveal].is-visible {
    opacity: 1 !important;
    translate: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    transition: none !important;
  }

  html body a,
  html body button,
  html body input,
  html body select,
  html body textarea,
  html body .wdo-widget a,
  html body .wdo-widget button,
  html body .wdo-widget input,
  html body .wdo-widget select,
  html body .wdo-widget textarea {
    transition-property: color, background-color, border-color, box-shadow, opacity !important;
    transition-duration: var(--motion-duration-feedback) !important;
    transition-timing-function: var(--motion-ease-standard) !important;
  }
}

/* Home incorporações */
.home [aria-labelledby="home-developments-title"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home [aria-labelledby="home-developments-title"] .bento-grid {
  align-items: stretch;
}

/* Cards de incorporações da home: formato horizontal (padrão 16/10 das incorporações) */
.home [aria-labelledby="home-developments-title"] .bento-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .home [aria-labelledby="home-developments-title"] .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.home [aria-labelledby="home-developments-title"] .media-card {
  height: auto;
  aspect-ratio: 16 / 10;
}

.home [aria-labelledby="home-developments-title"] .media-card__image {
  object-fit: fill;
}

@media (max-width: 768px) {
  .home [aria-labelledby="home-developments-title"] .media-card {
    aspect-ratio: 4 / 3;
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }

  .home [aria-labelledby="home-developments-title"] .media-card__content {
    padding: var(--space-5);
  }
}

.home [aria-labelledby="home-developments-title"] .media-card__content h3 small {
  display: block;
  font-family: var(--font-body-home);
  font-size: 0.45em;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-2);
}

.wdo-reveal-enabled [data-reveal="spin"] {
  translate: 0 14px;
  rotate: y -3deg;
}

/* Home sections */
.home [aria-labelledby="home-properties-title"],
.home [aria-labelledby="home-about-title"],
.home [aria-labelledby="home-features-title"],
.home [aria-labelledby="home-esg-title"] {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tablet: reduzir espaçamentos verticais para manter alinhamento */
@media (min-width: 768px) and (max-width: 1024px) {
  .home [aria-labelledby="home-properties-title"],
  .home [aria-labelledby="home-developments-title"],
  .home [aria-labelledby="home-about-title"],
  .home [aria-labelledby="home-features-title"],
  .home [aria-labelledby="home-esg-title"] {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .home [aria-labelledby="home-properties-title"] .section-header,
  .home [aria-labelledby="home-developments-title"] .section-header,
  .home [aria-labelledby="home-about-title"] .section-header,
  .home [aria-labelledby="home-features-title"] .section-header,
  .home [aria-labelledby="home-esg-title"] .section-header {
    margin-bottom: var(--space-8);
  }

  .property-highlights {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

/* Tablet: ajuste extra para seções com pouco conteúdo (sobre, especialidades) */
@media (min-width: 768px) and (max-width: 1024px) {
  .home [aria-labelledby="home-about-title"],
  .home [aria-labelledby="home-features-title"] {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .home [aria-labelledby="home-about-title"] .section-header,
  .home [aria-labelledby="home-features-title"] .section-header {
    margin-bottom: var(--space-3);
  }

  .home [aria-labelledby="home-esg-title"] {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .home-about__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  /* Home sections: uma viewport por dobra */
  .home [aria-labelledby="home-properties-title"],
  .home [aria-labelledby="home-developments-title"],
  .home [aria-labelledby="home-about-title"],
  .home [aria-labelledby="home-features-title"],
  .home [aria-labelledby="home-esg-title"] {
    block-size: 100svh;
    min-block-size: 0;
    max-block-size: 100svh;
  }
}

/* Home imóveis: 2 colunas em tablets menores para não estourar a altura */
@media (min-width: 600px) and (max-width: 768px) {
  .home [aria-labelledby="home-properties-title"] .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Home responsabilidade: less opaque box */
.home .section--image::before {
  background: rgba(255, 255, 255, 0.55);
}

.home .section--image .text-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
  padding: var(--space-8);
}

.footer__nav {
  display: flex;
  flex-direction: column;
}

.footer__address {
  font-style: normal;
}

.footer__links--horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__links--horizontal li {
  margin-bottom: 0;
}

.site-footer {
  font-size: 0.9375rem;
}

.footer__brand-description {
  max-width: 320px;
  color: var(--wdo-gray-medium);
  line-height: var(--line-height-relaxed);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--type-heading-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--wdo-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links li:last-child {
  margin-bottom: 0;
}

.footer__link,
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--wdo-gray-medium);
}

@media (max-width: 768px) {
  .site-footer {
    font-size: 0.875rem;
  }

  .footer__heading {
    font-size: var(--type-heading-3-mobile);
  }
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--wdo-white);
}

.footer__social a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  font-size: var(--font-size-sm);
  color: var(--wdo-gray-medium);
  margin: 0;
}

.footer__legal ul {
  display: flex;
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

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

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-top: calc(80px + var(--space-12));
  padding-bottom: var(--space-16);
  overflow: hidden;
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 21, 21, 0.35) 0%,
    rgba(21, 21, 21, 0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero__title {
  font-size: var(--type-heading-1);
  color: var(--wdo-white);
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__actions .btn {
  flex: 0 0 auto;
}

.hero__actions .btn--secondary {
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__actions .btn--secondary:hover {
  background-color: var(--wdo-white);
  color: var(--color-ink);
  border-color: var(--wdo-white);
}

@media (max-width: 768px) {
  .hero {
    min-height: 55vh;
    padding-top: calc(72px + var(--space-8));
    padding-bottom: var(--space-12);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
  overflow: hidden;
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.page-header__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 21, 21, 0.45) 0%,
    rgba(21, 21, 21, 0.75) 100%
  );
  z-index: 1;
}

.page-header__content {
  position: relative;
  z-index: 2;
}

.page-header__title {
  font-size: var(--type-heading-1);
  color: var(--wdo-white);
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

@media (max-width: 768px) {
  .page-header {
    min-height: 320px;
    padding-bottom: var(--space-12);
  }
}

/* ============================================
   404 Page
   ============================================ */
.error-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding-top: calc(var(--header-height, 80px) + var(--space-16));
  padding-bottom: var(--space-16);
  background: linear-gradient(
    180deg,
    #01253c 0%,
    #0a2440 100%
  );
  color: var(--wdo-white);
  text-align: center;
}

.error-hero__container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-hero__content {
  max-width: 720px;
  margin: 0 auto;
}

.error-hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: rgba(255, 255, 255, 0.8);
}

.error-hero__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-1);
  font-weight: 500;
  color: var(--wdo-white);
  margin-bottom: var(--space-4);
}

.error-hero__text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

.error-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
}

.error-body .section__title {
  margin-bottom: 0;
}

.error-helpful-links {
  text-align: center;
}

.error-helpful-links__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  color: var(--color-ink);
  margin-bottom: var(--space-6);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .error-hero {
    min-height: 320px;
    padding-top: calc(var(--header-height, 72px) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  .error-links {
    flex-direction: column;
    align-items: stretch;
  }

  .error-links .btn {
    width: 100%;
  }
}

/* ============================================
   Search Form
   ============================================ */
.search-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.search-form__inner {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--wdo-white);
  transition: box-shadow var(--transition-base);
}

.search-form__inner:focus-within {
  box-shadow: 0 0 0 3px rgba(14, 49, 84, 0.15);
  border-color: var(--color-primary);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-4) var(--space-5);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-ink);
}

.search-form__input::placeholder {
  color: var(--color-text-muted);
}

.search-form__input:focus {
  outline: none;
}

.search-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5);
  border: none;
  background-color: var(--color-primary);
  color: var(--wdo-white);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.search-form__button:hover {
  background-color: var(--wdo-burnt-terracotta);
}

.search-form__button .material-symbols-outlined {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .search-form__input {
    padding: var(--space-3) var(--space-4);
  }

  .search-form__button {
    padding: 0 var(--space-4);
  }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: var(--space-6);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-2);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

/* Feature card */
.feature-card {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-3);
}

.feature-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================
   Property Card
   ============================================ */
.property-card {
  display: flex;
  flex-direction: column;
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.property-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card__image img {
  transform: scale(1.03);
}

.property-card__status {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  background-color: var(--color-primary);
  color: var(--wdo-white);
  border-radius: var(--radius-sm);
}

.property-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.property-card__price {
  font-family: var(--font-body);
  font-size: calc(var(--font-size-sm) * 1.2);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.property-card__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-2);
}

.property-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

.property-card__title a:hover {
  color: var(--color-primary);
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.property-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  margin-top: auto;
}

.property-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.property-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-group__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.form-group__label--required::after {
  content: ' *';
  color: var(--color-primary);
}

.form-group__input,
.form-group__select,
.form-group__textarea,
.filter-bar__input,
.filter-bar__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-ink);
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group__input:focus,
.form-group__select:focus,
.form-group__textarea:focus,
.filter-bar__input:focus,
.filter-bar__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 49, 85, 0.08);
}

.form-group__textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-success {
  padding: var(--space-4);
  background-color: #eef7f1;
  color: #1e5833;
  border-radius: var(--radius-sm);
}

.form-error {
  padding: var(--space-4);
  background-color: #fdf0f0;
  color: #8a1c1c;
  border-radius: var(--radius-sm);
}

/* ============================================
   Filter Bar
   ============================================ */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.filter-bar__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  align-items: end;
}

.filter-bar__row--search {
  grid-template-columns: 1fr;
}

.filter-bar__row--actions {
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.filter-bar__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.filter-bar__group--wide {
  grid-column: 1 / -1;
}

.filter-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
}

.filter-bar__actions {
  display: flex;
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .filter-bar__row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-bar__row,
  .filter-bar__row--actions {
    grid-template-columns: 1fr;
  }

  .filter-bar__actions {
    flex-direction: column;
  }

  .filter-bar__actions .btn {
    width: 100%;
  }
}

/* ============================================
   Filter Bar — Clean variant
   ============================================ */
.filter-bar--clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "search search search search"
    "operation category location code"
    "price-min price-max orderby actions";
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.filter-bar--clean .filter-bar__row {
  display: contents;
}

.filter-bar--clean .filter-bar__row > .filter-bar__group {
  min-width: 0;
}

.filter-bar__group--search { grid-area: search; }
.filter-bar__group--operation { grid-area: operation; }
.filter-bar__group--category { grid-area: category; }
.filter-bar__group--location { grid-area: location; }
.filter-bar__group--code { grid-area: code; }
.filter-bar__group--price-min { grid-area: price-min; }
.filter-bar__group--price-max { grid-area: price-max; }
.filter-bar__group--orderby { grid-area: orderby; }
.filter-bar__group--actions { grid-area: actions; }

.filter-bar--clean .filter-bar__group--actions .filter-bar__actions {
  display: flex;
  gap: var(--space-3);
}

.filter-bar--clean .filter-bar__group--actions .btn {
  width: auto;
  min-height: 48px;
  white-space: nowrap;
}

.filter-bar--clean .filter-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.filter-bar--clean .filter-bar__input,
.filter-bar--clean .filter-bar__select {
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-surface);
  border: 1px solid transparent;
  border-bottom-color: var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.filter-bar--clean .filter-bar__input:focus,
.filter-bar--clean .filter-bar__select:focus {
  outline: none;
  background-color: var(--wdo-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 49, 85, 0.06);
}

.filter-bar--clean .filter-bar__actions {
  align-items: flex-end;
  gap: var(--space-2);
}

@media (max-width: 1024px) {
  .filter-bar--clean {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "search search search"
      "operation category location"
      "code price-min price-max"
      "orderby actions actions";
  }
}

@media (max-width: 640px) {
  .filter-bar--clean {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .filter-bar--clean .filter-bar__row > .filter-bar__group {
    grid-area: auto;
  }

  .filter-bar--clean {
    padding: var(--space-4);
  }

  .filter-bar--clean .filter-bar__group--actions .filter-bar__actions {
    flex-direction: column;
  }

  .filter-bar--clean .filter-bar__group--actions .btn {
    width: 100%;
  }
}

/* ============================================
   Property Results
   ============================================ */
.property-results {
  min-height: 200px;
}

.property-results[aria-busy="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   Property Highlights
   ============================================ */
.property-highlights {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  background-color: var(--color-surface-alt);
}

.property-highlights__inner {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.property-highlights .section-header {
  margin-bottom: var(--space-10);
}

.property-highlights .property-card {
  background-color: var(--wdo-white);
}

@media (max-width: 768px) {
  .property-highlights {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

/* ============================================
   Property results transitions
   ============================================ */
.property-results {
  transition: opacity var(--transition-base);
}

.property-results[aria-busy="true"] {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner,
  .property-results,
  .property-results .grid,
  .property-card,
  .property-card__image img,
  .filter-bar--clean .filter-bar__input,
  .filter-bar--clean .filter-bar__select {
    transition: none;
    animation: none;
  }

  .property-results[aria-busy="true"] {
    opacity: 1;
  }
}

/* ============================================
   Horizontal rule
   ============================================ */
hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

/* ============================================
   Reveal-on-scroll animations
   ============================================ */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Ajustes em paginas de politica LGPD */
.privacy-policy .reveal,
.privacy-policy .reveal *,
.cookie-policy .reveal,
.cookie-policy .reveal *,
.page-id-115 .reveal,
.page-id-115 .reveal * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.privacy-policy .section,
.cookie-policy .section,
.page-id-115 .section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.privacy-policy .section:first-child,
.cookie-policy .section:first-child,
.page-id-115 .section:first-child {
  padding-top: var(--space-10);
}

.privacy-policy .section:last-child,
.cookie-policy .section:last-child,
.page-id-115 .section:last-child {
  padding-bottom: var(--space-10);
}

.privacy-policy main,
.cookie-policy main,
.page-id-114 main,
.page-id-115 main {
  padding-top: calc(var(--header-height) + var(--space-4));
}

.privacy-policy h1.section__title,
.cookie-policy h1.section__title {
  margin-top: 0;
}

.privacy-policy h3,
.cookie-policy h3 {
  font-size: var(--type-heading-3);
}

.privacy-policy h4,
.cookie-policy h4 {
  font-size: var(--font-size-lg);
}

.privacy-policy .section__subtitle,
.cookie-policy .section__subtitle {
  font-size: var(--font-size-base);
}

.privacy-policy p,
.cookie-policy p,
.privacy-policy li,
.cookie-policy li {
  font-size: var(--font-size-base);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .privacy-policy .section,
  .cookie-policy .section,
  .page-id-115 .section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .privacy-policy .section:first-child,
  .cookie-policy .section:first-child,
  .page-id-115 .section:first-child {
    padding-top: var(--space-8);
  }

  .privacy-policy .section:last-child,
  .cookie-policy .section:last-child,
  .page-id-115 .section:last-child {
    padding-bottom: var(--space-8);
  }

}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-results {
  padding: var(--space-16) var(--space-8);
  text-align: center;
}

.no-results h3 {
  margin-bottom: var(--space-3);
}

.results-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* ============================================
   Property Single
   ============================================ */
.property-hero {
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.property-hero__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2);
  max-height: 70vh;
  overflow: hidden;
}

.property-hero__main-image {
  grid-row: span 2;
}

.property-hero__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero__thumbs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-2);
}

.property-hero__thumb {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.property-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-hero__thumb:hover img {
  transform: scale(1.05);
}

.property-hero__info {
  padding: var(--space-12) 0 var(--space-8);
}

.property-hero__title {
  font-size: var(--type-heading-1);
  color: var(--wdo-white);
  margin-bottom: var(--space-4);
}

.property-hero__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--wdo-gray-medium);
  margin-bottom: var(--space-4);
}

.property-hero__price {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  color: var(--wdo-white);
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.property-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.property-feature__icon {
  color: var(--color-primary);
}

.property-feature__value {
  display: block;
  font-weight: 600;
  color: var(--color-ink);
}

.property-feature__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.property-description,
.property-additional-info,
.property-contact-card,
.property-share {
  margin-bottom: var(--space-10);
}

.property-description__title,
.property-additional-info__title,
.property-contact-card__title,
.property-share__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-5);
}

.property-info-table {
  width: 100%;
  border-collapse: collapse;
}

.property-info-table th,
.property-info-table td {
  padding: var(--space-3) 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.property-info-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  width: 45%;
}

.property-contact-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.property-contact-card__description {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-5);
}

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

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

@media (max-width: 768px) {
  .property-hero__gallery {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .property-hero__main-image {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .property-hero__thumbs {
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ============================================
   Development / Incorporações
   ============================================ */
.development-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.development-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.development-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.development-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.development-card:hover .development-card__image img {
  transform: scale(1.03);
}

.development-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8);
}

.development-card__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-3);
}

.development-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

@media (max-width: 1024px) {
  .development-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-form-title,
.contact-info__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-6);
}

.contact-info__card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
}

.contact-info__card--social .contact-info__value {
  display: none;
}

.contact-info__icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-info__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  display: block;
  color: var(--color-ink);
  text-decoration: none;
}

.contact-info__value:hover {
  color: var(--color-primary);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.contact-social a {
  display: inline-flex;
  color: var(--wdo-burnt-terracotta);
  transition: opacity var(--transition-fast);
}

.contact-social a:hover {
  opacity: 0.7;
}

.contact-social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Contato: hero sem banner + secao em fundo escuro azul institucional */
.page-header.page-header--contact {
  min-height: 0;
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-8);
  background-color: var(--wdo-burnt-terracotta);
}

.page-header--contact .page-header__subtitle {
  margin-bottom: 0;
}

.section--contact--dark {
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
  padding-top: 0;
  padding-bottom: var(--space-8);
}

.section--contact--dark .contact-info__title {
  color: var(--wdo-white);
}

.section--contact--dark .contact-info__icon.material-symbols-outlined {
  color: var(--wdo-white);
}

.section--contact--dark .contact-info__label {
  color: var(--wdo-gray-medium);
}

.section--contact--dark .contact-info__value {
  color: var(--wdo-white);
}

.section--contact--dark .contact-info__value:hover {
  color: var(--wdo-gray-light);
}

.section--contact--dark .contact-social a {
  color: var(--wdo-white);
}

/* Contato: espacamentos verticais reduzidos pela metade para caber na viewport */
.section--contact--dark .contact-info__title,
.section--contact--dark .contact-form-title {
  margin-bottom: var(--space-3);
}

.section--contact--dark .contact-info__card {
  padding: calc(var(--space-5) / 4) 0;
}

.section--contact--dark .contact-form {
  margin-top: var(--space-3);
}

.section--contact--dark .card--padded {
  padding: calc(var(--space-4) / 2);
}

.section--contact--dark .form-group {
  margin-bottom: calc(var(--space-5) / 2);
}

.section--contact--dark .form-row {
  gap: calc(var(--space-5) / 2);
}

.section--contact--dark .form-group__textarea {
  min-height: 70px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-ink);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.pagination a:hover,
.pagination .current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--wdo-white);
}

/* ============================================
   Back to top
   ============================================ */
.site-utilities {
  position: fixed;
  right: max(var(--space-6), env(safe-area-inset-right));
  bottom: max(var(--space-6), env(safe-area-inset-bottom));
  z-index: var(--z-sticky);
  display: grid;
  gap: var(--space-3);
}

.back-to-top {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--wdo-burnt-terracotta);
  border: 1px solid var(--wdo-burnt-terracotta);
  border-radius: 6px;
  color: var(--wdo-white);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-float:hover {
  background-color: var(--wdo-petrol-blue);
  border-color: var(--wdo-white);
  color: var(--wdo-white);
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  background-color: var(--wdo-petrol-blue);
  border-color: var(--wdo-white);
  color: var(--wdo-white);
  outline: 2px solid var(--wdo-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--wdo-petrol-blue);
}

@media (max-width: 768px) {
  .site-utilities {
    right: max(var(--space-4), env(safe-area-inset-right));
    bottom: max(var(--space-4), env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .whatsapp-float {
    transition: none;
  }
}

/* ============================================
   Elementor compatibility
   ============================================ */
.elementor-page .site-header + #main-content,
.elementor-page #main-content {
  padding-top: 0;
}



/* ============================================
   Página Imóveis — classes usadas no conteúdo
   ============================================ */
.section--dark {
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--wdo-white);
}

.section--dark p {
  color: var(--wdo-gray-medium);
}

.page-header--archive {
  min-height: 320px;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-12);
}

.page-header--properties {
  min-height: 480px;
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
}

.page-header--properties .page-header__content {
  padding-top: calc(var(--header-height) + var(--space-8));
}

.page-header--properties .page-header__image {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .page-header--properties {
    min-height: 360px;
    padding-top: var(--space-16);
    padding-bottom: var(--space-10);
  }

  .page-header--properties .page-header__content {
    padding-top: calc(var(--header-height) + var(--space-6));
  }
}

.page-header--light {
  background-color: var(--wdo-white);
  color: var(--color-ink);
}

.page-header--light .page-header__title {
  color: var(--color-ink);
}

.page-header--light .page-header__subtitle {
  color: var(--color-text-muted);
}



.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (max-width: 768px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .cta-group .btn {
    width: 100%;
  }
}

/* Button variants for dark backgrounds */
.section--dark .btn--secondary {
  background-color: transparent;
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section--dark .btn--secondary:hover {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--color-ink);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

.btn--outline:hover {
  background-color: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--wdo-white);
}

.section--dark .btn--outline {
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section--dark .btn--outline:hover {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--color-ink);
}

/* ============================================
   Primary section (solid institutional blue)
   ============================================ */
.section--primary {
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
}

.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary h4,
.section--primary h5,
.section--primary h6 {
  color: var(--wdo-white);
}

.section--primary p {
  color: rgba(255, 255, 255, 0.85);
}

.btn--on-primary {
  background-color: var(--wdo-white);
  color: var(--wdo-burnt-terracotta);
  border-color: var(--wdo-white);
}

.btn--on-primary:hover {
  background-color: var(--wdo-gray-light);
  border-color: var(--wdo-gray-light);
  color: var(--wdo-ink);
}

.btn--on-primary-outline {
  background-color: transparent;
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--on-primary-outline:hover {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--wdo-burnt-terracotta);
}

/* ============================================
   Filter panel variant (Stitch inspired)
   ============================================ */
.filter-bar--panel {
  background-color: #e9eef8;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.filter-bar--panel .filter-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wdo-ink);
}

.filter-bar--panel .filter-bar__input,
.filter-bar--panel .filter-bar__select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--wdo-gray-medium);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.filter-bar--panel .filter-bar__input:focus,
.filter-bar--panel .filter-bar__select:focus {
  outline: none;
  border-color: var(--wdo-burnt-terracotta);
  box-shadow: none;
}

.filter-bar--panel .filter-bar__actions {
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  padding-top: var(--space-5);
  margin-top: var(--space-2);
}

/* ============================================
   Home section enhancements (Stitch variant A)
   ============================================ */
.section__eyebrow {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wdo-burnt-terracotta);
}

.hero .section__eyebrow {
  color: var(--wdo-white);
}

.section-header--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.section-header--split .section__title {
  max-width: 680px;
  margin-bottom: 0;
}

.section-header--split .section__subtitle {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section--surface {
  background-color: #f7f9ff;
}

/* Bento grid for developments */
.bento-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-6);
}

.media-card {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-md);
}

.media-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-card:hover .media-card__image {
  transform: scale(1.03);
}

.media-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 49, 84, 0.9) 0%,
    rgba(14, 49, 84, 0.3) 55%,
    transparent 100%
  );
}

.media-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-8);
  color: var(--wdo-white);
}

.media-card__content h3 {
  color: var(--wdo-white);
  margin-bottom: var(--space-2);
}

.media-card__content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .media-card {
    height: 420px;
  }
}

/* About media with blue overlay */
.about-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media__overlay {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 16rem;
  height: 16rem;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
}

.about-media__overlay {
  font-size: calc(var(--font-size-xs) * 1.2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section--conceito .about-media {
  overflow: visible;
}

.about-media__overlay--delivery {
  right: -2rem;
  bottom: -2rem;
  width: 14rem;
  height: 14rem;
  padding: var(--space-6);
  justify-content: flex-end;
  text-align: left;
}

.about-media__overlay--delivery span.about-media__overlay-label {
  margin-top: 0;
  margin-bottom: var(--space-2);
  order: -1;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  line-height: var(--line-height-normal);
}

.about-media__overlay--delivery span.about-media__overlay-number {
  font-family: var(--font-body-home);
  font-size: var(--font-size-5xl);
  line-height: 1;
  padding-bottom: 0.5rem;
}

.home-about__grid {
  gap: var(--space-12);
}

.home-about__grid .about-media {
  overflow: visible;
}

.about-media__overlay--home {
  right: -22px;
  bottom: -22px;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.about-media__overlay--home .about-media__overlay-number {
  display: block;
  font-family: var(--font-body-home);
  font-size: var(--font-size-6xl);
  font-weight: 400;
  line-height: var(--line-height-tight);
  text-transform: none;
  letter-spacing: normal;
  padding-bottom: 0.5rem;
}

.about-media__overlay--home .about-media__overlay-label {
  display: block;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .about-media__overlay {
    right: 0;
    bottom: 0;
    width: 12rem;
    height: 12rem;
    padding: var(--space-5);
  }

  .home-about__grid {
    gap: var(--space-8);
  }

  .about-media__overlay--home {
    right: 0;
    bottom: 0;
    justify-content: center;
    text-align: center;
  }
}

/* Feature cards bordered */
.feature-card--bordered {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base);
}

.feature-card--bordered:hover {
  border-color: var(--wdo-burnt-terracotta);
}

.feature-card__icon {
  display: block;
  margin-bottom: var(--space-6);
  font-size: 2.25rem;
  color: var(--wdo-burnt-terracotta);
  line-height: 1;
}

/* Image section with text card (ESG style) */
.section--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  overflow: hidden;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}

.text-card {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: var(--space-10);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
}

.text-card .section__title {
  margin-bottom: var(--space-4);
}

.text-card p {
  color: var(--color-text-muted);
}

.btn--link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wdo-burnt-terracotta);
  text-decoration: none;
  border-bottom: 2px solid var(--wdo-burnt-terracotta);
  transition: opacity var(--transition-fast);
}

.btn--link:hover {
  opacity: 0.75;
}

/* ============================================
   Generic page header (used by inner pages)
   ============================================ */
.page-header--generic {
  min-height: 380px;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-12);
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.page-header--generic .page-header__title {
  color: var(--wdo-white);
}

.page-header--generic .page-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.page-header--generic .section__eyebrow {
  display: block;
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
}

.legal-page-header {
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-8);
  background-color: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.legal-page-header__title {
  max-width: 18ch;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-header--generic {
    min-height: 300px;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-10);
  }

  .legal-page-header {
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-6);
  }
}

/* ============================================
   Lead paragraph
   ============================================ */
.lead {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

/* ============================================
   Card image variant (gallery)
   ============================================ */
.card--image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform var(--transition-slow);
}

.card--image:hover img {
  transform: scale(1.03);
}

/* ============================================
   Contact info block
   ============================================ */
.contact-info {
  font-style: normal;
}

.contact-info p {
  margin-bottom: var(--space-5);
  color: var(--color-text-muted);
}

.contact-info strong {
  color: var(--color-ink);
  font-weight: 600;
}

.contact-info a {
  color: var(--wdo-burnt-terracotta);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info__card:first-child {
  padding-top: 0;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--wdo-burnt-terracotta);
}

.contact-info__label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  color: var(--color-ink);
}

.contact-map {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-md);
  display: block;
}

/* Header variants used by server header.php */
.site-header--light {
  background-color: var(--wdo-petrol-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-logo__image--dark {
  display: block;
}


/* ============================================
   Utility classes for converted inner pages
   ============================================ */

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.stat__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Value cards */
.value-card__number {
  font-family: var(--font-heading);
  font-size: var(--font-size-6xl);
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.15;
  margin-bottom: var(--space-4);
}

/* Specification list */
.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-item {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.spec-item:first-child {
  padding-top: 0;
}

.spec-item__label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.spec-item__value {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-ink);
}

/* Check list */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.check-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}

.gallery-grid__item--8 {
  grid-column: span 8;
}

.gallery-grid__item--4 {
  grid-column: span 4;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

@media (max-width: 1024px) {
  .gallery-grid__item--8,
  .gallery-grid__item--4 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .gallery-grid__item--8,
  .gallery-grid__item--4 {
    grid-column: span 12;
  }
}

/* Location block */
.location-block {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.location-block__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.location-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-block__card {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: var(--space-8);
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
}

.location-block__card h3 {
  color: var(--wdo-white);
  margin-bottom: var(--space-4);
}

.location-block__card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .location-block {
    min-height: 500px;
    align-items: flex-end;
  }

  .location-block__card {
    max-width: none;
    width: 100%;
  }
}

/* Compact page header */
.page-header--compact {
  min-height: 360px;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .page-header--compact {
    min-height: 280px;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-10);
  }
}

/* Contact page header (Stitch final layout) */
.page-header--contact {
  min-height: 60vh;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
}

@media (max-width: 768px) {
  .page-header--contact {
    min-height: 50vh;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }
}

/* Two column asymmetric layout */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: center;
}

.asymmetric-grid--reversed {
  grid-template-columns: 7fr 5fr;
}

@media (max-width: 1024px) {
  .asymmetric-grid,
  .asymmetric-grid--reversed {
    grid-template-columns: 1fr;
  }
}

/* Helper utilities for converted inner pages */

.hero__content--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__actions--center {
  justify-content: center;
}

.cta-group--start {
  justify-content: flex-start;
}

.gap-sm {
  gap: var(--space-6);
}

.card--alt {
  background-color: var(--color-surface-alt);
}

.media-card--sm {
  height: auto;
  min-height: 260px;
}

.section--primary .lead {
  color: rgba(255, 255, 255, 0.95);
}

/* Inner page utility classes */
.align-center {
  align-items: center;
}

.gap-xl {
  gap: var(--space-12);
}

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

.bento-grid__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.card--padded {
  padding: var(--space-8);
}

.contact-form {
  margin-top: var(--space-6);
}

.form-status {
  margin-bottom: var(--space-5);
}

/* Gallery masonry */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.gallery-masonry__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery-masonry__item--wide {
  grid-column: span 2;
}

.gallery-masonry__item img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-masonry__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-masonry__item--wide {
    grid-column: auto;
  }

  .gallery-masonry__item img {
    min-height: 240px;
  }
}

/* Map section */
.map-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--wdo-petrol-blue);
  color: var(--wdo-white);
  overflow: hidden;
}

.map-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.map-section__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.map-section__card {
  max-width: 420px;
  padding: var(--space-10);
  background-color: var(--color-primary);
  color: var(--wdo-white);
  box-shadow: var(--shadow-lg);
}

.map-section__card .section__eyebrow,
.map-section__card .section__title,
.map-section__card h2 {
  color: var(--wdo-white);
}

.map-section__card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
}

.map-section__card .btn--outline {
  color: var(--wdo-white);
  border-color: var(--wdo-white);
}

.map-section__card .btn--outline:hover {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--color-ink);
}

@media (max-width: 768px) {
  .map-section {
    min-height: auto;
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .map-section__container {
    justify-content: stretch;
  }

  .map-section__card {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .gap-xl {
    gap: var(--space-8);
  }

  .card--padded {
    padding: var(--space-6);
  }
}

/* ============================================
   Material Symbols Outlined
   ============================================ */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.feature-card__icon.material-symbols-outlined {
  font-size: 2.25rem;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--wdo-burnt-terracotta);
  background-color: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
}

.feature-card--bordered .feature-card__icon.material-symbols-outlined,
.card .feature-card__icon.material-symbols-outlined {
  background-color: rgba(255, 255, 255, 0.92);
}

.contact-info__icon.material-symbols-outlined {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.75rem;
  color: var(--wdo-burnt-terracotta);
  line-height: 1;
}

/* Form label for subject - prevent clipping */
.form-group__label {
  display: block;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

/* Ensure subject input has enough room */
#contact-subject {
  min-width: 0;
}

/* ============================================
   Quem Somos — Bento grid and values
   ============================================ */
.about-media__overlay--branded {
  position: absolute;
  left: -2rem;
  bottom: -2rem;
  width: 14rem;
  height: 14rem;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
}

.about-media__overlay-number {
  font-family: var(--font-body-home);
  font-size: var(--font-size-4xl);
  line-height: 1;
  display: block;
  padding-bottom: 0.5rem;
}

.about-media__overlay-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  display: block;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .about-media__overlay--branded {
    left: 0;
    bottom: 0;
    width: 11rem;
    height: 11rem;
    padding: var(--space-5);
  }
}

.bento-grid--services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  background-color: var(--wdo-white);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.bento-card:hover {
  border-color: var(--wdo-burnt-terracotta);
  transform: translateY(-2px);
}

.bento-card--wide {
  grid-column: span 8;
}

.bento-card--media {
  padding: 0;
  overflow: hidden;
}

.bento-card--media .bento-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.bento-card--media .bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bento-card--media:hover .bento-card__media img {
  transform: scale(1.03);
}

.bento-card--media .bento-card__body {
  padding: var(--space-8);
}

.bento-card--primary {
  grid-column: span 4;
  min-height: 240px;
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
  border-color: var(--wdo-burnt-terracotta);
}

.bento-card--primary .bento-card__title,
.bento-card--primary .bento-card__text {
  color: var(--wdo-white);
}

.bento-card--primary .bento-card__icon {
  color: rgba(255, 255, 255, 0.7);
}

.bento-card--muted {
  grid-column: span 4;
  min-height: 240px;
  background-color: var(--color-surface-alt);
}

.bento-card--media-right {
  flex-direction: row-reverse;
}

.bento-card--media-right .bento-card__media {
  aspect-ratio: auto;
  flex: 1 1 50%;
  min-height: 100%;
}

.bento-card--media-right .bento-card__body {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-6);
  color: var(--wdo-burnt-terracotta);
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-ink);
}

.bento-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.bento-card__text--bold {
  font-weight: 500;
  color: var(--color-text);
}

.values-grid {
  gap: var(--space-8);
}

.value-card {
  position: relative;
  padding-top: 3.5rem;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: calc(var(--font-size-5xl) * 1.1 + 4px);
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.value-card__number {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  line-height: 1;
  color: rgba(255, 255, 255, 10);
}

.value-card__title {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wdo-white);
  margin-bottom: var(--space-3);
}

.value-card__text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 1024px) {
  .bento-card--wide,
  .bento-card--primary,
  .bento-card--muted {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .bento-grid--services {
    grid-template-columns: 1fr;
  }

  .bento-card--wide,
  .bento-card--primary,
  .bento-card--muted {
    grid-column: span 1;
  }

  .bento-card--media .bento-card__media {
    aspect-ratio: 4 / 3;
  }

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

  .value-card {
    padding-top: var(--space-10);
  }

  .value-card__number {
    font-size: var(--font-size-4xl);
  }

  .value-card::before {
    left: calc(var(--font-size-4xl) * 1.1 + 4px);
  }
}

/* ============================================
   Incorporações — layout final Stitch
   ============================================ */
.hero--incorporacoes {
  min-height: 80vh;
  text-align: center;
}

.hero--incorporacoes .hero__overlay--incorporacoes {
  background: linear-gradient(
    180deg,
    rgba(0, 28, 56, 0.4) 0%,
    rgba(0, 28, 56, 0.75) 100%
  );
}

.hero__eyebrow {
  display: block;
  margin-bottom: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(170, 200, 245, 0.92);
}

.hero__title--incorporacoes {
  font-family: var(--font-heading);
  font-size: var(--type-heading-1);
  font-weight: 500;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn--white {
  background-color: var(--wdo-white);
  color: var(--wdo-burnt-terracotta);
  border-color: var(--wdo-white);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: var(--space-4) var(--space-8);
}

.btn--white:hover {
  background-color: rgba(211, 228, 255, 1);
  border-color: rgba(211, 228, 255, 1);
  color: var(--wdo-burnt-terracotta);
}

.btn--white-outline {
  background-color: transparent;
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: var(--space-4) var(--space-8);
}

.btn--white-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--wdo-white);
  color: var(--wdo-white);
}

.section__title--small {
  font-weight: 500;
  line-height: 1.2;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-12);
}

.portfolio-intro__text {
  max-width: 720px;
}

.portfolio-intro__label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.portfolio-intro__line {
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--color-text-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.portfolio-grid__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.portfolio-card--tall {
  aspect-ratio: 4 / 5;
}

.portfolio-card--square {
  flex: 1;
  min-height: 260px;
}

.portfolio-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 28, 56, 0.85) 0%,
    rgba(0, 28, 56, 0.4) 55%,
    transparent 100%
  );
}

.portfolio-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
  color: var(--wdo-white);
}

.portfolio-card__eyebrow {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(170, 200, 245, 0.9);
}

.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: 500;
  color: var(--wdo-white);
  margin-bottom: var(--space-2);
}

.portfolio-card__text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-5);
  max-width: 420px;
}

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wdo-white);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.portfolio-card__link:hover {
  gap: var(--space-3);
}

.portfolio-card__arrow {
  font-size: 1rem;
}

.portfolio-card--solid {
  background-color: #01253c;
  color: var(--wdo-white);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

.portfolio-card--solid .portfolio-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-6);
  color: rgba(124, 154, 195, 0.7);
}

.portfolio-card__title--solid {
  color: var(--wdo-white);
  font-size: var(--type-heading-3);
}

.portfolio-card__text--solid {
  color: rgba(124, 154, 195, 0.85);
  margin-bottom: 0;
}

/* Reveal text on hover while keeping the image visible by default */
.portfolio-card__body {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.portfolio-card:hover .portfolio-card__body,
.portfolio-card:focus-within .portfolio-card__body {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__content {
  padding-bottom: var(--space-6);
}

@media (max-width: 1024px) {
  .portfolio-card__body {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card__body,
  .portfolio-card__image {
    transition: none;
  }

  .portfolio-card__body {
    opacity: 1;
    transform: none;
  }

  .portfolio-card:hover .portfolio-card__image,
  .portfolio-card:focus-within .portfolio-card__image {
    transform: none;
  }
}

/* Incorporações — final CTA section with large image */
.incorporacoes-cta {
  padding-top: 0;
}

.incorporacoes-cta .container {
  display: grid;
  gap: var(--space-12);
}

.incorporacoes-cta__media {
  margin: 0;
  overflow: hidden;
}

.incorporacoes-cta__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.incorporacoes-cta__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.incorporacoes-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.incorporacoes-cta__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.incorporacoes-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .incorporacoes-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .incorporacoes-cta__actions .btn {
    width: 100%;
  }
}

.vision-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(14, 49, 84, 0.18);
}

.vision-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-content {
  padding-left: var(--space-8);
}

.vision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.section-header--compact {
  margin-bottom: var(--space-8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-12);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.stat-item__number {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--wdo-burnt-terracotta);
}

.stat-item__label {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .portfolio-intro {
    grid-template-columns: 1fr;
  }

  .portfolio-intro__label {
    justify-content: flex-start;
  }

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

  .portfolio-card--tall {
    aspect-ratio: 16 / 10;
  }

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

  .vision-content {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .hero--incorporacoes {
    min-height: 70vh;
  }

  .hero__actions--center {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions--center .btn {
    width: 100%;
  }

  .portfolio-card__content {
    padding: var(--space-8);
  }

  .portfolio-card--tall {
    aspect-ratio: 1 / 1;
  }

  .vision-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .vision-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}


/* ============================================
   Quem Somos — ajustes mínimos
   ============================================ */

/* Wrapper da imagem para posicionar overlay no canto sem cortar */
.about-media-wrapper {
  position: relative;
  padding: 0 0 var(--space-6) var(--space-6);
}

.about-media-wrapper .about-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.about-media-wrapper .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-wrapper .about-media__overlay--branded {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10rem;
  height: 10rem;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--wdo-burnt-terracotta);
  color: var(--wdo-white);
}

/* Linha decorativa curta abaixo do título centralizado */
.section-header--accent {
  text-align: center;
}

.section-header--accent .section__title {
  margin-bottom: var(--space-5);
}

.section-header__accent {
  display: block;
  width: 5rem;
  height: 1px;
  background-color: var(--wdo-burnt-terracotta);
  margin: 0 auto;
}

.section-header--light .section-header__accent {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Card azul: ícone no canto superior esquerdo, texto na base */
.bento-card--icon-top {
  justify-content: space-between;
}

.bento-card--icon-top .bento-card__icon {
  align-self: flex-start;
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .about-media-wrapper {
    padding: 0 0 var(--space-4) var(--space-4);
  }

  .about-media-wrapper .about-media__overlay--branded {
    width: 8rem;
    height: 8rem;
    padding: var(--space-4);
  }
}


/* ============================================
   Quem Somos — layout final Stitch
   ============================================ */

.hero--quem-somos {
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero--quem-somos .hero__overlay--quem-somos {
  background: linear-gradient(
    90deg,
    rgba(0, 28, 56, 0.82) 0%,
    rgba(0, 28, 56, 0.5) 50%,
    rgba(0, 28, 56, 0.2) 100%
  );
}

.hero--quem-somos .hero__box {
  max-width: 780px;
  padding: var(--space-8) var(--space-10);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(1, 37, 60, 0.3);
}

.hero--responsabilidade {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + var(--space-12));
}

.hero--responsabilidade .hero__eyebrow {
  color: var(--wdo-white);
}

.hero--responsabilidade p:last-child {
  text-align: center;
  margin-bottom: 0;
  margin-inline: auto;
}

.hero__divider {
  width: 4rem;
  height: 1px;
  background-color: var(--wdo-white);
  border: 0;
  margin: var(--space-6) auto;
  opacity: 0.6;
}

.card--primary-light {
  background-color: #d3e4ff;
  border: 1px solid rgba(14, 49, 84, 0.08);
  border-radius: var(--radius-md);
}

.card--primary-light .card__title,
.card--primary-light .card__text {
  color: var(--wdo-burnt-terracotta);
}

.card--primary-light .feature-card__icon {
  color: var(--wdo-burnt-terracotta);
}

.hero__label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero__label-line {
  display: block;
  width: 3rem;
  height: 1px;
  background-color: #01253c;
}

.hero__label-text {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #01253c;
}

@media (max-width: 768px) {
  .hero--quem-somos .hero__box {
    margin: 0 auto;
    border-left: none;
    border-top: 4px solid #01253c;
  }
}

.section--final {
  background-color: var(--wdo-white);
  text-align: center;
}

/* ============================================
   Contato hero
   ============================================ */

/* ============================================
   Quem Somos
   ============================================ */

/* Hero sem box: texto diretamente sobre a imagem */
.hero--quem-somos .hero__text {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero--quem-somos .hero__title {
  font-size: var(--page-h1-size);
  color: var(--wdo-white);
  margin-bottom: var(--space-6);
}

.hero--quem-somos .hero__label-text {
  color: var(--wdo-white);
}

.hero--quem-somos .hero__label-line {
  background-color: var(--wdo-white);
}

/* Hero Quem Somos — alinhada à home/incorporações */
.hero--quem-somos .hero__content-wrapper {
  position: relative;
  z-index: 2;
}

.hero--quem-somos .hero__content--quem-somos {
  width: 45%;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  color: var(--wdo-white);
}

.hero--quem-somos .hero__content--quem-somos .section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: var(--space-6);
  color: var(--wdo-white);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

.hero--quem-somos .hero__content--quem-somos .section__eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.58;
}

.hero--quem-somos .hero__content--quem-somos .hero__title {
  margin-bottom: var(--space-6);
}

.hero--quem-somos .hero__content--quem-somos .hero__divider {
  margin: var(--space-6) 0;
  background-color: var(--wdo-white);
}

.hero--quem-somos .hero__content--quem-somos .hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--wdo-white) !important;
}

.hero--quem-somos .hero__content--quem-somos .hero__body p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--wdo-white);
}

/* Remove o box branco legado */
.hero--quem-somos .hero__box {
  display: none;
}

/* Segunda seção: texto lateral e imagem predominante sem box */
.section--about .about-grid {
  align-items: center;
}

.section--about .about-text {
  max-width: 560px;
}

.about-media-wrapper--large {
  position: relative;
}

.about-media-wrapper--large .about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.about-media-wrapper--large .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove qualquer overlay/box sobre a imagem da segunda seção */
.about-media-wrapper--large .about-media__overlay {
  display: none;
}

/* Efeito JHSF de movimento leve ao passar o mouse */
.jhsf-motion {
  overflow: hidden;
}

.jhsf-motion__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.5);
  transition: transform 0.4s ease-out;
}

.jhsf-motion:hover .jhsf-motion__image,
.jhsf-motion:focus-within .jhsf-motion__image {
  transform: scale(1.24);
}

/* Movimento sutil via JS adiciona --jhsf-x e --jhsf-y */
.jhsf-motion__image[data-jhsf-active="true"] {
  transition: transform 0.2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .jhsf-motion__image {
    transform: scale(1);
    transition: none;
  }

  .jhsf-motion:hover .jhsf-motion__image,
  .jhsf-motion:focus-within .jhsf-motion__image {
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .hero--quem-somos .hero__content--quem-somos {
    width: 100%;
  }

  .hero--quem-somos .hero__content-wrapper {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

@media (max-width: 768px) {
  .hero--quem-somos .hero__title {
    font-size: var(--page-h1-size-mobile);
  }

  .hero--quem-somos .hero__content--quem-somos {
    width: 100%;
  }

  .hero--quem-somos .hero__content-wrapper {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .about-media-wrapper--large .about-media {
    aspect-ratio: 3 / 4;
  }
}

/* ============================================
   Quem Somos — Áreas de Atuação (estilo JHSF)
   ============================================ */
.section--business {
  background-color: var(--color-background);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: var(--space-6);
  color: var(--wdo-white);
  text-decoration: none;
  overflow: hidden;
  background-color: var(--wdo-burnt-terracotta);
  transform: translateZ(0);
}

.business-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.business-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 28, 56, 0.12) 0%,
    rgba(0, 28, 56, 0.55) 60%,
    rgba(0, 28, 56, 0.78) 100%
  );
  transition: background 0.4s ease;
}

.business-card:hover .business-card__overlay,
.business-card:focus-visible .business-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 28, 56, 0.22) 0%,
    rgba(0, 28, 56, 0.65) 60%,
    rgba(0, 28, 56, 0.86) 100%
  );
}

.business-card__content {
  position: relative;
  z-index: 2;
}

.business-card__title {
  font-family: var(--font-heading);
  font-size: var(--type-heading-3);
  font-weight: 400;
  line-height: var(--line-height-tight);
  color: var(--wdo-white);
  margin-bottom: var(--space-3);
}

.business-card__text {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 260px;
}

/* Zoom da imagem ao passar o mouse/dedo no card */
.business-card:hover .jhsf-motion__image,
.business-card:focus-visible .jhsf-motion__image,
.business-card:active .jhsf-motion__image {
  transform: scale(1.12);
}

@media (max-width: 1024px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-card {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: 340px;
  }
}

/* O shell global compartilha a mesma escala em todas as paginas. */

/* Cards de imóveis na Home usam a fonte de corpo nos detalhes */
.home .property-card__price,
.home .property-card__location,
.home .property-card__features {
  font-family: var(--font-body-home);
}

#page-imoveis h3:not(.footer__heading):not(.property-card__title) {
  font-size: var(--type-heading-3);
}

#page-imoveis h4 {
  font-size: calc(var(--font-size-3xl) * 0.80);
}

#page-imoveis h5 {
  font-size: calc(var(--font-size-2xl) * 0.85);
}

#page-imoveis h6 {
  font-size: calc(var(--font-size-xl) * 0.85);
}

@media (max-width: 768px) {
  #page-imoveis h3:not(.footer__heading):not(.property-card__title) {
    font-size: var(--type-heading-3-mobile);
  }
}

/* ============================================
   Redesign Imóveis — listagem, cards e single
   ============================================ */

/* ---------- Archive hero ---------- */
.property-archive-hero {
  position: relative;
  min-block-size: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--wdo-white);
  overflow: hidden;
}

.property-archive-hero__media,
.property-archive-hero__overlay {
  position: absolute;
  inset: 0;
}

.property-archive-hero__media {
  z-index: 0;
  overflow: hidden;
}

.property-archive-hero__track {
  display: flex;
  block-size: 100%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.property-archive-hero__slide {
  min-inline-size: 100%;
  block-size: 100%;
}

.property-archive-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-archive-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.72) 0%, rgba(21, 21, 21, 0.52) 48%, rgba(21, 21, 21, 0.22) 100%),
    linear-gradient(180deg, rgba(21, 21, 21, 0.12), rgba(21, 21, 21, 0.42));
}

.property-archive-hero__controls {
  position: absolute;
  z-index: 3;
  inset-inline-end: var(--space-6);
  inset-block-end: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 2rem;
}

.property-archive-hero__ctrl {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--wdo-white);
  background: rgba(21, 21, 21, 0.62);
  cursor: pointer;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.property-archive-hero__ctrl:hover,
.property-archive-hero__ctrl:focus-visible {
  border-color: var(--wdo-white);
  background-color: rgba(21, 21, 21, 0.88);
}

.property-archive-hero__count {
  min-inline-size: 3.5rem;
  font-size: var(--font-size-xs);
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--wdo-white);
}

.property-archive-hero .container {
  position: relative;
  z-index: 2;
}

.property-archive-hero__content {
  max-inline-size: 45rem;
}

.property-archive-hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.85);
}

.property-archive-hero__title {
  font-size: var(--type-heading-1);
  max-inline-size: 17ch;
  margin-bottom: var(--space-4);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--wdo-white);
}

.property-archive-hero__subtitle {
  font-size: clamp(0.975rem, 1.25vw, 1.125rem);
  max-inline-size: 56ch;
  line-height: 1.65;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.property-archive-hero__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--wdo-white);
  max-inline-size: 43rem;
  padding: 0.35rem;
  gap: 0.35rem;
}

.property-archive-hero__search-input {
  min-inline-size: 0;
  border: 0;
  padding: 0.7rem 0.9rem;
  font-size: var(--font-size-sm);
  color: var(--color-ink);
  background: transparent;
}

.property-archive-hero__search-input::placeholder {
  color: var(--color-text-muted);
}

.property-archive-hero__search .btn {
  min-block-size: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.property-archive-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: var(--space-4);
}

.property-archive-hero__chips .chip {
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
}

.property-archive-hero__chips .chip,
.property-archive-hero .quick-filter__select {
  min-block-size: 2.625rem;
}

.property-archive-hero__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.property-archive-hero__filter-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.property-archive-hero__filter-label {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.property-archive-hero__filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.property-archive-hero__filter-actions {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3);
}

.property-archive-hero__quick-filter {
  position: relative;
}

.quick-filter__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  color: var(--wdo-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 36px 10px 18px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.quick-filter__select option {
  color: var(--color-ink);
  background-color: var(--wdo-white);
}

.quick-filter__select:hover,
.quick-filter__select:focus {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e3155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Inverte botão 'Todos os filtros' para melhor contraste */
.property-archive-hero__filter-bar .btn--primary {
  background-color: var(--wdo-white);
  border-color: var(--wdo-white);
  color: var(--color-primary);
}

.property-archive-hero__filter-bar .btn--primary:hover,
.property-archive-hero__filter-bar .btn--primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--wdo-white);
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.chip--ghost {
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.chip--ghost:hover,
.chip--ghost.is-active {
  background: var(--wdo-white);
  color: var(--color-primary);
  border-color: var(--wdo-white);
}

.chip--toggle {
  position: relative;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.chip--toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.chip--toggle:has(input:checked),
.chip--toggle.is-active {
  background: var(--color-primary);
  color: var(--wdo-white);
  border-color: var(--color-primary);
}

.chip--light {
  color: var(--wdo-white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Results section ---------- */
.property-archive-results {
  background-color: var(--color-surface-alt);
}

.property-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.property-archive-toolbar__count {
  font-size: var(--font-size-3xl);
  margin: 0;
}

.property-archive-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  min-height: 0;
}

.property-archive-active-filters:empty {
  display: none;
}

.chip.is-active,
.chip--active {
  background: var(--color-primary);
  color: var(--wdo-white);
  border-color: var(--color-primary);
}

.property-archive-sort {
  position: relative;
  padding-bottom: var(--space-8);
}

.property-archive-sort__menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 220px;
  background: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 20;
}

.property-archive-sort__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.property-archive-sort__menu li {
  margin: 0;
}

.property-archive-sort__menu button {
  width: 100%;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-size: var(--font-size-base);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.property-archive-sort__menu button:hover,
.property-archive-sort__menu button.is-active {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.property-filters-dialog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip--selectable.is-active {
  background: var(--color-primary);
  color: var(--wdo-white);
  border-color: var(--color-primary);
}

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

/* ---------- Modern property card ---------- */
.property-card--modern {
  background: var(--wdo-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.property-card--modern:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.property-card__carousel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.property-card__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.property-card__slide {
  min-width: 100%;
  height: 100%;
}

.property-card__slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.property-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__badges {
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  z-index: 2;
}

.property-card__badge {
  background: var(--color-primary);
  color: var(--wdo-white);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  border-radius: var(--radius-sm);
}

.property-card__badge--code {
  background: var(--color-primary);
  color: var(--wdo-white);
}

.property-card__ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(21, 21, 21, 0.72);
  color: var(--wdo-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.property-card__ctrl:hover {
  background: rgba(21, 21, 21, 0.9);
}

.property-card__ctrl--prev {
  left: var(--space-3);
}

.property-card__ctrl--next {
  right: var(--space-3);
}

.property-card__count {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  background: rgba(21, 21, 21, 0.72);
  color: var(--wdo-white);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  border-radius: 999px;
}

.property-card--modern .property-card__body {
  padding: var(--space-5);
}

.property-card--modern .property-card__price {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.property-card--modern .property-card__title {
  font-size: var(--type-heading-3);
  margin: 0 0 var(--space-3);
  line-height: var(--line-height-snug);
}

.property-card--modern .property-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

.property-card--modern .property-card__title a:hover {
  color: var(--color-primary);
}

.property-card__meta {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-sm);
}

.property-card__meta span {
  display: block;
}

/* ---------- Filters dialog ---------- */
.property-filters-dialog {
  width: min(900px, 94vw);
  max-height: 90vh;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
}

.property-filters-dialog::backdrop {
  background: rgba(21, 21, 21, 0.7);
}

.property-filters-dialog__inner {
  padding: var(--space-8);
}

.property-filters-dialog__head,
.property-filters-dialog__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.property-filters-dialog__head {
  margin-bottom: var(--space-6);
}

.property-filters-dialog__head h2 {
  font-size: var(--type-heading-2);
  margin: 0;
}

.property-filters-dialog__group {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
}

.property-filters-dialog__group h3 {
  font-size: var(--type-heading-3);
  margin-bottom: var(--space-4);
}

.property-filters-dialog__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

.property-filters-dialog__fields input,
.property-filters-dialog__fields select {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  color: var(--color-ink);
  background: var(--wdo-white);
}

.property-filters-dialog__actions {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

/* ---------- Single property ---------- */
.property-detail-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--wdo-white);
  overflow: hidden;
}

.property-detail-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.property-detail-hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.property-detail-hero__slide {
  min-width: 100%;
  height: 100%;
}

.property-detail-hero__slide img,
.property-detail-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-hero__ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(21, 21, 21, 0.72);
  color: var(--wdo-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
  z-index: 3;
}

.property-detail-hero__ctrl:hover {
  background: rgba(21, 21, 21, 0.9);
}

.property-detail-hero__ctrl--prev {
  left: var(--space-5);
}

.property-detail-hero__ctrl--next {
  right: var(--space-5);
}

.property-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 21, 21, 0.72), rgba(21, 21, 21, 0.2));
}

.property-detail-hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 88vw);
  margin-left: 5vw;
  margin-bottom: 6vh;
  padding: var(--space-8);
  background: rgba(21, 21, 21, 0.82);
  border-radius: var(--radius-md);
}

.property-detail-hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.85);
}

.property-detail-hero__title {
  font-size: var(--type-heading-1);
  margin-bottom: var(--space-3);
  color: var(--wdo-white);
}

.property-detail-hero__location {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.9);
}

.property-detail-hero__price {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.property-detail-hero__meta {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.85);
}

.property-detail-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.property-detail-copy__text {
  max-width: 720px;
}

.property-detail-copy__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.property-detail-copy__text h2 {
  margin-bottom: var(--space-5);
}

.property-detail-copy__text .entry-content {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.property-detail-facts {
  background: var(--color-surface-alt);
  padding: var(--space-6);
  border-radius: var(--radius-md);
}

.property-detail-fact {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.property-detail-fact:first-child {
  padding-top: 0;
}

.property-detail-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.property-detail-fact span {
  color: var(--color-text-muted);
}

.property-detail-fact b {
  font-weight: 600;
  color: var(--color-ink);
}

.property-detail-features {
  background: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.property-detail-features h2 {
  margin-bottom: var(--space-6);
}

.property-detail-features__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.property-detail-features__chips .chip {
  cursor: default;
}

.property-detail-cta {
  background: var(--color-primary);
  color: var(--wdo-white);
  text-align: center;
  min-height: 65svh;
  display: grid;
  align-items: center;
}

.property-detail-cta h2 {
  margin-bottom: var(--space-4);
  color: var(--wdo-white);
}

.property-detail-cta p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
}

.property-detail-cta .btn {
  background: var(--wdo-white);
  color: var(--color-primary);
  border-color: var(--wdo-white);
}

.property-detail-cta .btn:hover {
  background: transparent;
  color: var(--wdo-white);
}

/* ============================================
   Incorporações — layout editorial widescreen
   ============================================ */

.page-id-19 .incorporations-main {
  --inc-content: min(86vw, 1460px);
  --inc-ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --inc-off-white: #f7f7f5;
  --inc-blue-dark: #09243f;
  --inc-body-lg: clamp(1rem, 1.15vw, 1.3rem);
}

.page-id-19 .screen-section {
  position: relative;
  min-block-size: calc(100svh - var(--header-height));
  overflow: clip;
}

.page-id-19 .inc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

.page-id-19 .inc-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.58;
}

/* Hero */
.page-id-19 .inc-hero {
  block-size: 100svh;
  min-height: 100svh;
  max-block-size: 100svh;
  padding-top: var(--header-height);
  background: var(--inc-off-white);
  overflow: hidden;
}

.page-id-19 .inc-hero__grid {
  position: relative;
  z-index: 2;
  block-size: calc(100svh - var(--header-height));
  min-block-size: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.page-id-19 .inc-hero__content {
  width: 45%;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.page-id-19 .inc-hero__content::after {
  content: none;
}

.page-id-19 .inc-hero .section__eyebrow {
  color: var(--wdo-white);
}

.page-id-19 .inc-scroll-cue {
  left: auto;
  right: var(--container-padding);
  transform: translateY(-50%);
}

.page-id-19 .inc-hero {
  position: relative;
}

.page-id-19 .inc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-id-19 .inc-hero__media .inc-hero__video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-id-19 .inc-hero__media .inc-hero__video-wrapper iframe,
.page-id-19 .inc-hero__media .inc-hero__video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.82) contrast(1.04);
  transition: transform 1.4s var(--inc-ease-editorial);
  pointer-events: none;
}

.page-id-19 .inc-hero.is-visible .inc-hero__media .inc-hero__video-wrapper iframe,
.page-id-19 .inc-hero.is-visible .inc-hero__media .inc-hero__video-wrapper video {
  transform: scale(1);
}

.page-id-19 .inc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 55%, rgba(9, 36, 63, 0.46));
  z-index: 1;
  pointer-events: none;
}

.page-id-19 .inc-hero__grid {
  position: relative;
  z-index: 2;
}

.page-id-19 .inc-hero__visual {
  position: relative;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  margin: 0;
}

.page-id-19 .inc-hero__visual img {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.82) contrast(1.04);
  transition: transform 1.4s var(--inc-ease-editorial);
}

.page-id-19 .inc-hero.is-visible .inc-hero__visual img {
  transform: scale(1);
}

.page-id-19 .inc-hero.is-visible .inc-hero__visual:hover img,
.page-id-19 .inc-hero.is-visible .inc-hero__visual img:active {
  transform: scale(1.045);
}

.page-id-19 .inc-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 55%, rgba(9, 36, 63, 0.46));
  pointer-events: none;
}

.page-id-19 .inc-hero__caption {
  position: absolute;
  right: 3rem;
  bottom: 2.5rem;
  z-index: 2;
  color: var(--wdo-white);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.page-id-19 .inc-scroll-cue {
  position: absolute;
  z-index: 4;
  left: auto;
  right: var(--container-padding);
  top: 50%;
  bottom: auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 72px;
  color: var(--wdo-ink);
  background: var(--wdo-white);
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(15, 25, 35, 0.12);
  transform: translateY(-50%);
}

/* Buttons */
.page-id-19 .inc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  color: var(--wdo-white);
  background: var(--color-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wide);
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.35s var(--inc-ease-editorial),
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.page-id-19 .inc-button:hover {
  transform: translateY(-3px);
  background: var(--inc-blue-dark);
}

.page-id-19 .inc-button--outline {
  color: var(--wdo-ink);
  background: transparent;
  border-color: rgba(21, 21, 21, 0.26);
}

.page-id-19 .inc-button--outline:hover {
  color: var(--wdo-white);
  background: var(--wdo-ink);
  border-color: var(--wdo-ink);
}

.page-id-19 .inc-button--light {
  color: var(--wdo-ink);
  background: var(--wdo-white);
}

.page-id-19 .inc-button--light:hover {
  color: var(--wdo-white);
  background: var(--color-primary);
}

/* Projects */
.page-id-19 .inc-projects {
  padding-inline: var(--space-24);
  padding-block: var(--space-8);
  color: var(--wdo-white);
  background: var(--wdo-petrol-blue);
}

.page-id-19 .inc-projects__inner {
  width: var(--inc-content);
  margin-inline: auto;
}

.page-id-19 .inc-projects__header {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1fr);
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-8);
}

.page-id-19 .inc-projects__title {
  width: 100%;
}

.page-id-19 .inc-projects__title .inc-eyebrow {
  margin-bottom: var(--space-4);
}

.page-id-19 .inc-projects h2 {
  max-width: 20ch;
  margin-bottom: 0;
  color: var(--wdo-white);
  line-height: var(--line-height-snug);
}

.page-id-19 .inc-projects__intro {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--inc-body-lg);
  line-height: var(--line-height-normal);
}

.page-id-19 .inc-projects__rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.2rem);
}

.page-id-19 .inc-project {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--wdo-white);
  background: #151a20;
  isolation: isolate;
}

.page-id-19 .inc-project__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transform-origin: var(--pointer-x) var(--pointer-y);
  filter: grayscale(0.12) saturate(0.78);
  transition:
    transform 1.1s var(--inc-ease-editorial),
    filter 0.8s var(--inc-ease-editorial);
}



.page-id-19 .inc-project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 15, 21, 0.06) 22%, rgba(9, 15, 21, 0.88) 100%);
  opacity: 0.48;
  transition: opacity 0.7s var(--inc-ease-editorial);
}

.page-id-19 .inc-project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.page-id-19 .inc-project__number {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 3;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
}

.page-id-19 .inc-project__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: clamp(2rem, 4vw, 4.5rem);
  transform: translateY(calc(100% - 11.6rem));
  transition: transform 0.75s var(--inc-ease-editorial);
}

.page-id-19 .inc-project__location {
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
}

.page-id-19 .inc-project h3 {
  margin-bottom: var(--space-5);
  color: var(--wdo-white);
  font-size: var(--type-heading-3);
  line-height: var(--line-height-snug);
}

.page-id-19 .inc-project__description {
  max-width: 44ch;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--inc-body-lg);
  line-height: var(--line-height-normal);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease 0.08s,
    transform 0.65s var(--inc-ease-editorial) 0.08s;
}

.page-id-19 .inc-project .inc-button {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease 0.16s,
    transform 0.6s var(--inc-ease-editorial) 0.16s,
    background 0.3s ease,
    color 0.3s ease;
}

.page-id-19 .inc-project:hover .inc-project__image,
.page-id-19 .inc-project:focus-within .inc-project__image {
  transform: scale(1.095);
  filter: grayscale(0) saturate(1);
}

.page-id-19 .inc-project:hover::before,
.page-id-19 .inc-project:focus-within::before {
  opacity: 0.92;
}

.page-id-19 .inc-project:hover .inc-project__content,
.page-id-19 .inc-project:focus-within .inc-project__content {
  transform: translateY(0);
}

.page-id-19 .inc-project:hover .inc-project__description,
.page-id-19 .inc-project:hover .inc-button,
.page-id-19 .inc-project:focus-within .inc-project__description,
.page-id-19 .inc-project:focus-within .inc-button {
  opacity: 1;
  transform: translateY(0);
}

.page-id-19 .inc-project--portrait {
  /* margin-top removed — it clipped the absolute image via overflow:clip on the section */
}

/* Manifesto */
.page-id-19 .inc-manifesto {
  display: grid;
  align-items: center;
  padding: var(--space-24) 0;
  background: var(--wdo-white);
}

.page-id-19 .inc-manifesto__grid {
  width: var(--inc-content);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(4rem, 9vw, 12rem);
  align-items: center;
}

.page-id-19 .inc-manifesto__index {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  padding-right: 3rem;
  border-right: 1px solid rgba(21, 21, 21, 0.14);
}

.page-id-19 .inc-manifesto__index strong {
  display: block;
  font-family: var(--font-body-home);
  font-size: var(--page-h1-size);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--color-primary);
}

.page-id-19 .inc-manifesto__index span {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 50%;
}

.page-id-19 .inc-manifesto h2 {
  margin-bottom: var(--space-6);
  line-height: var(--line-height-snug);
}

.page-id-19 .inc-manifesto p {
  color: var(--color-text-muted);
  font-size: var(--inc-body-lg);
  line-height: var(--line-height-normal);
}

.page-id-19 .inc-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-16);
  border-top: 1px solid rgba(21, 21, 21, 0.14);
}

.page-id-19 .inc-principle {
  min-height: 180px;
  padding: 1.8rem 1.8rem 1.8rem 0;
  border-right: 1px solid rgba(21, 21, 21, 0.14);
}

.page-id-19 .inc-principle + .inc-principle {
  padding-left: 1.8rem;
}

.page-id-19 .inc-principle:last-child {
  border-right: 0;
}

.page-id-19 .inc-principle__label {
  display: block;
  margin-bottom: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.page-id-19 .inc-principle strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.04;
}

/* Closing */
.page-id-19 .inc-closing {
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--wdo-white);
  background: var(--wdo-ink);
}

.page-id-19 .inc-closing__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.page-id-19 .inc-closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
  transform: scale(1.06);
  transition: transform 1.5s var(--inc-ease-editorial);
}

.page-id-19 .inc-closing.is-visible .inc-closing__media img {
  transform: scale(1);
}

.page-id-19 .inc-closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 21, 32, 0.92) 0%, rgba(9, 21, 32, 0.7) 48%, rgba(9, 21, 32, 0.24) 100%),
    linear-gradient(180deg, transparent 58%, rgba(9, 21, 32, 0.62));
}

.page-id-19 .inc-closing__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  padding-block: var(--space-24);
}

.page-id-19 .inc-closing__content > .inc-eyebrow,
.page-id-19 .inc-closing__content > h2,
.page-id-19 .inc-closing__content > p,
.page-id-19 .inc-closing__content > .inc-closing__actions {
  width: 100%;
  max-width: 45%;
}

.page-id-19 .inc-closing h2 {
  max-width: 13ch;
  margin-bottom: var(--space-6);
  color: var(--wdo-white);
  line-height: var(--line-height-snug);
}

.page-id-19 .inc-closing p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--inc-body-lg);
  line-height: var(--line-height-normal);
}

.page-id-19 .inc-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Suppress empty paragraphs WordPress injects after the custom main block */
.page-id-19 .site-main ~ p:empty,
.page-id-19 .entry-content > p:empty,
.page-id-19 main ~ br {
  display: none;
}

/* Reveal helpers scoped to incorporations */
/* Legacy section helper remains visible without relying on JavaScript. */
.page-id-19 section.reveal {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1180px) {
  .page-id-19 .inc-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-id-19 .inc-hero__content {
    width: 100%;
    min-height: auto;
  }

  .page-id-19 .inc-hero__visual {
    min-height: 76svh;
  }

  .page-id-19 .inc-projects__header {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .page-id-19 .inc-projects__title {
    width: 100%;
  }

  .page-id-19 .inc-projects h2 {
    max-width: none;
  }

  .page-id-19 .inc-projects__rail {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    max-height: none;
  }

  .page-id-19 .inc-project {
    min-height: 0;
  }

  .page-id-19 .inc-closing__content > .inc-eyebrow,
  .page-id-19 .inc-closing__content > h2,
  .page-id-19 .inc-closing__content > p,
  .page-id-19 .inc-closing__content > .inc-closing__actions {
    max-width: 100%;
  }

  .page-id-19 .inc-closing__actions a {
    width: 100%;
  }

  .page-id-19 .inc-closing__actions {
    gap: var(--space-2);
  }

  .page-id-19 .inc-manifesto__grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .page-id-19 .inc-manifesto__index {
    min-height: auto;
    padding: 0 0 var(--space-10);
    border-right: 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.14);
  }

  .page-id-19 .inc-manifesto__index strong {
    font-size: clamp(6rem, 20vw, 11rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-id-19 .inc-hero__visual {
    min-height: 68svh;
  }

  .page-id-19 .inc-hero__caption {
    right: 1rem;
    bottom: 1.2rem;
  }

  .page-id-19 .inc-scroll-cue {
    display: none;
  }

  .page-id-19 .inc-projects {
    padding-inline: var(--container-padding);
    padding-block: var(--space-8);
  }

  .page-id-19 .inc-projects__rail {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-id-19 .inc-project,
  .page-id-19 .inc-project--portrait {
    aspect-ratio: 4 / 3;
    min-height: 20rem;
    max-width: none;
    margin-top: 0;
  }

  .page-id-19 .inc-project__content {
    transform: none;
    padding: var(--space-6);
    background: linear-gradient(180deg, transparent, rgba(9, 15, 21, 0.9));
  }

  .page-id-19 .inc-project::before {
    opacity: 0.78;
  }

  .page-id-19 .inc-project__description,
  .page-id-19 .inc-project .inc-button {
    opacity: 1;
    transform: none;
  }

  .page-id-19 .inc-principles {
    grid-template-columns: 1fr;
  }

  .page-id-19 .inc-principle,
  .page-id-19 .inc-principle + .inc-principle {
    min-height: auto;
    padding: var(--space-6) 0;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.14);
  }

  .page-id-19 .inc-closing__content {
    max-width: none;
  }

  .page-id-19 .inc-closing__content > .inc-eyebrow,
  .page-id-19 .inc-closing__content > h2,
  .page-id-19 .inc-closing__content > p,
  .page-id-19 .inc-closing__content > .inc-closing__actions {
    max-width: 100%;
  }

  .page-id-19 .inc-closing__actions a {
    width: 100%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .property-archive-toolbar__count {
    font-size: var(--font-size-2xl);
  }

  .property-detail-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .property-archive-hero {
    min-block-size: 100svh;
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .property-archive-hero__content {
    max-inline-size: 40rem;
  }

  .property-archive-hero__controls {
    top: 0;
  }

  .property-archive-hero__title {
    max-inline-size: 17ch;
  }

  .property-archive-hero__search {
    max-inline-size: 39rem;
  }

  .property-archive-hero__filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .property-archive-hero__filters {
    width: 100%;
    justify-content: flex-start;
  }

  .property-archive-hero__filter-actions {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .property-archive-hero {
    min-block-size: 100svh;
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-8);
  }

  .property-archive-hero__content {
    max-inline-size: none;
  }

  .property-archive-hero__controls {
    inset-inline-end: var(--space-4);
    inset-block-end: var(--space-4);
    margin-bottom: 0;
    top: 0;
  }

  .property-archive-hero__title {
    max-inline-size: 17ch;
  }

  .property-archive-hero__subtitle {
    max-inline-size: 38ch;
    margin-bottom: var(--space-5);
  }

  .property-archive-hero__search {
    grid-template-columns: minmax(0, 1fr) auto;
    max-inline-size: none;
  }

  .property-archive-hero__search .btn {
    padding-inline: 0.8rem;
  }

  .property-archive-hero__chips {
    margin-top: var(--space-3);
  }

  .property-archive-hero__filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .property-archive-hero__filters {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-4);
  }

  .property-archive-hero__filter-group {
    align-items: flex-start;
    width: 100%;
  }

  .property-archive-hero__filter-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-4);
  }

  .property-archive-hero__quick-filter,
  .property-archive-hero__filter-bar .btn--primary {
    width: 100%;
  }

  .quick-filter__select {
    width: 100%;
  }

  .property-archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .property-detail-hero__content {
    margin-left: var(--container-padding);
    margin-right: var(--container-padding);
    width: auto;
    padding: var(--space-5);
  }

}

@media (prefers-reduced-motion: reduce) {
  .property-archive-hero__track {
    transition: none;
  }
}

/* ============================================
   Visibility guard for property pages
   Prevents content from staying invisible
   if reveal animation fails to trigger.
   ============================================ */
.property-archive-results,
.property-archive-results .property-card,
.single-wdo_property .property-detail-hero,
.single-wdo_property .property-detail-copy,
.single-wdo_property .property-detail-features,
.single-wdo_property .property-detail-cta {
  opacity: 1 !important;
  transform: none !important;
}

/* WDO - tags de programas no card de imovel */
.property-card__programs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.property-card__programs .chip {
  min-block-size: auto;
  padding: .35rem .6rem;
  border: 1px solid rgba(1, 37, 60, .16);
  background: var(--wdo-stone-linen);
  color: var(--wdo-petrol-blue);
  font-size: var(--font-size-xs);
}

/* ============================================
   WDO Elementor UI scaffolding
   ============================================ */
.wdo-section > .elementor-container,
.wdo-hero > .elementor-container{max-width:1200px;margin-inline:auto;padding-inline:clamp(1rem,3vw,2rem)}
.wdo-section{padding-block:clamp(4rem,7vw,7rem)}
.wdo-hero{min-height:min(760px,92svh);display:flex;align-items:center;padding-block:clamp(6rem,10vw,10rem);background:linear-gradient(135deg,#01253c 0%,#173d52 100%);color:#fff}
.wdo-hero h1.elementor-heading-title{color:#fff;font-size:var(--type-heading-1)}
.wdo-hero h2.elementor-heading-title{color:#fff;font-size:var(--type-heading-2)}
.wdo-hero .elementor-widget-text-editor{color:#fff}
.wdo-section--linen{background:#efebea}
.wdo-section--petrol{background:#01253c;color:#fff}
.wdo-section--petrol .elementor-heading-title,.wdo-section--petrol .elementor-widget-text-editor{color:#fff}
.wdo-section--terracotta{background:#c34811;color:#fff}
.wdo-section--terracotta .elementor-heading-title,.wdo-section--terracotta .elementor-widget-text-editor{color:#fff}
.wdo-card-grid{margin-top:2rem}
.wdo-card{padding:1.4rem;border:1px solid rgba(1,37,60,.12);border-radius:.75rem;background:#fff}
.wdo-card .elementor-heading-title{color:#01253c}
@media(max-width:767px){.wdo-section{padding-block:3.5rem}.wdo-hero{min-height:auto;padding-block:7rem 4rem}.wdo-card-grid>.elementor-container{display:grid!important;grid-template-columns:1fr}.wdo-card-grid .elementor-column{width:100%!important}}
