/* Shared reading rhythm. Existing palette and font families are preserved. */
:root{--ux-section-space:80px;--ux-card-gap:24px;--ux-copy-gap:16px}
main h1,main h2,main h3{text-wrap:balance;overflow-wrap:break-word}
main p{text-wrap:pretty}
.skip-to-content{position:fixed;top:12px;left:16px;z-index:200;transform:translateY(-160%);padding:12px 20px;background:var(--semantic-color-background-default,white);color:var(--semantic-color-text-primary);border:2px solid var(--primitive-color-coral-500);border-radius:12px}
.skip-to-content:focus{transform:none}
.brand-page>.brand-page-section{margin-top:var(--ux-section-space)}
.brand-page .brand-section-heading{margin-bottom:32px;gap:24px}
.brand-page .brand-section-heading h2{font-size:clamp(28px,2.7vw,40px);line-height:1.2;letter-spacing:-.025em}
.brand-page .brand-section-heading p{font-size:16px;line-height:1.65;max-width:65ch}
.brand-page .institutional-info-card h3{line-height:1.3;margin-bottom:12px}
.brand-page .institutional-info-card p{font-size:14px;line-height:1.65}
.brand-page .institutional-card-grid{gap:var(--ux-card-gap)}
.brand-page .kv-hero-copy h1{font-size:clamp(36px,4vw,56px);line-height:1.12;letter-spacing:-.025em}
.brand-page .kv-hero-copy>p:last-of-type{font-size:17px;line-height:1.65;max-width:42ch;margin-top:24px}
.brand-page .institutional-steps p{font-size:14px;line-height:1.6}
.brand-page .institutional-steps h3{line-height:1.35}
.financial-guidance-page .guidance-process+.brand-page-section{margin-top:var(--ux-section-space)}
.featured-properties,.benefits,.journey,.support-cards,.blog-section,.contact-invitation{margin-top:var(--ux-section-space)}
.featured-properties,.blog-section{padding-block:0}
.brand-page .kv-hero-copy{gap:0}
.brand-page .kv-hero-copy>.overline{margin-bottom:16px}
.featured-heading,.blog-heading{gap:24px;margin-bottom:32px}
.section-title{line-height:1.15;letter-spacing:-.025em}
.journey-description{max-width:55ch;line-height:1.65}
.journey-step>p:last-child{font-size:15px;line-height:1.65}
.editorial-card__body>p,.editorial-feature__side .editorial-card__body>p{font-size:14px;line-height:1.65}
.editorial-card__body h3{line-height:1.35}
.detail-main .detail-section{margin-top:64px}
.detail-main .detail-section-heading{margin-bottom:28px}
.detail-main .detail-section-heading p{max-width:65ch;font-size:16px;line-height:1.6}
.detail-interest input,.detail-interest select,.guidance-field-grid input,.guidance-field-grid select{font-size:16px}
.detail-interest .interest-consent,.detail-interest .interest-note{font-size:12px;line-height:1.6}
.catalog{scroll-margin-top:calc(var(--sticky-header-height,88px) + 24px)}
.catalog-results-heading{gap:24px;margin-bottom:32px}
.catalog-results-heading h2{font-size:clamp(26px,2.7vw,38px);line-height:1.2}
.catalog-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:28px;font-size:14px}
.catalog-active-filters[hidden],[data-catalog-pagination][hidden]{display:none}
.catalog-active-filters>span{font-weight:600}
.catalog-active-filters ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.catalog-active-filters li{padding:7px 12px;border:1px solid var(--semantic-color-border-default);border-radius:999px;font-size:13px;line-height:1.5}
.catalog-active-filters>a{padding:10px 0;color:var(--primitive-color-coral-700);text-decoration:underline;text-underline-offset:4px;min-height:44px}
.catalog-request-feedback{align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--semantic-color-border-subtle);border-radius:16px;margin-bottom:28px}
.catalog-request-feedback>p{flex:1;min-width:180px;margin:0;font-size:14px;line-height:1.6}
.catalog-request-feedback[data-state=success]{border:0;padding:0}
.catalog-request-feedback button{min-height:44px;font:600 14px/1.5 var(--font-body)}
.catalog-empty{padding:0!important;background:transparent!important}
.recovery-page{padding-block:48px 80px}
.recovery-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:56px 32px;min-height:460px;border-radius:24px;background:var(--primitive-color-coral-50)}
.recovery-state-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;color:var(--primitive-color-coral-500);background:var(--semantic-color-background-default,white)}
.recovery-state-icon .morah-icon{font-size:32px}
.recovery-state-code{font:700 clamp(56px,7vw,88px)/1 var(--font-heading);letter-spacing:-.03em;color:var(--primitive-color-coral-500)}
.recovery-state h1,.recovery-state h3{margin:0;max-width:22ch;letter-spacing:-.025em;line-height:1.15}
.recovery-state h1{font-size:clamp(32px,3.8vw,48px)}
.recovery-state h3{font-size:clamp(24px,2.5vw,32px)}
.recovery-state>p{max-width:58ch;font-size:16px;line-height:1.65;color:var(--semantic-color-text-secondary);margin:0}
.recovery-state-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:8px}
.recovery-state-actions .morah-button{white-space:normal;min-height:48px}
.recovery-state .recovery-state-support{font-size:14px;margin-top:8px}
.recovery-state-support a{display:inline-flex;align-items:center;gap:6px;padding-block:10px;color:var(--primitive-color-coral-700);text-decoration:underline;text-underline-offset:4px}
.recovery-state--compact{min-height:340px;padding:40px 24px}
.catalog-clear-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 24px;border-radius:999px;background:var(--primitive-color-coral-500);color:white;font:600 15px/1.5 var(--font-body)}
.has-unavailable-image{position:relative}
.has-unavailable-image>img.image-unavailable{visibility:hidden}
.image-recovery-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;background:var(--primitive-color-neutral-100);color:var(--semantic-color-text-secondary);font:400 14px/1.6 var(--font-body);pointer-events:none}
.section-load-error{padding:24px;border:1px solid var(--semantic-color-border-default);border-radius:16px;margin-top:16px}
.section-load-error[hidden]{display:none}
.section-load-error p{margin:0 0 12px;font-size:15px;line-height:1.6}
.section-load-error button{min-height:44px;padding:10px 18px;background:transparent;border:1px solid var(--primitive-color-coral-500);border-radius:999px;color:var(--primitive-color-coral-700);font:600 14px/1.5 var(--font-body)}
@media(max-width:1000px){
    :root{--ux-section-space:64px}
    .brand-page .brand-section-heading--split{align-items:flex-start;gap:20px}
    .brand-page .brand-section-heading--split>p{max-width:46ch}
}
@media(max-width:700px){
    :root{--ux-section-space:48px;--ux-card-gap:16px}
    .brand-page .kv-hero{display:flex;flex-direction:column;gap:16px}
    .brand-page .kv-hero-copy{order:-1;width:100%;min-height:0;padding:28px 24px}
    .brand-page .kv-hero-copy h1{font-size:clamp(32px,8.5vw,40px);line-height:1.15}
    .brand-page .kv-hero-copy>p:last-of-type{font-size:16px;line-height:1.65;margin-top:20px}
    .brand-page .kv-hero-image{width:100%;height:220px;min-height:220px;max-height:260px}
    .brand-page .kv-hero-photo img{height:100%;object-fit:cover}
    .morah-about .intro-copy{order:-1;min-height:0;padding:28px 24px}
    .morah-about .intro-copy h1{font-size:36px;line-height:1.15}
    .morah-about .intro-copy p{font-size:16px;line-height:1.65;margin-top:20px}
    .morah-about .base,.morah-about .team,.morah-about .impact{margin-top:48px}
    .morah-about .hero-image{min-height:220px}
    .brand-page .brand-section-heading,.brand-page .brand-section-heading--split{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
    .brand-page .brand-section-heading h2{font-size:28px;line-height:1.2}
    .brand-page .brand-section-heading p{font-size:15px;line-height:1.65}
    .brand-page .institutional-info-card{padding:24px 20px;min-height:0}
    .brand-page .institutional-info-card h3{font-size:18px}
    .brand-page .guidance-field-grid{grid-template-columns:1fr;gap:20px}
    .brand-page .guidance-intake{gap:32px}
    .brand-page .guidance-field-grid label{font-size:14px}
    .brand-page .guidance-field-grid input,.brand-page .guidance-field-grid select{min-height:48px}
    .brand-page .guidance-benefits{gap:24px}
    .brand-page .guidance-benefits p{font-size:15px;line-height:1.6}
    .section-title{font-size:32px;line-height:1.2}
    .featured-heading,.blog-heading{margin-bottom:24px;align-items:flex-start;flex-wrap:wrap}
    .featured-controls{flex-wrap:wrap;gap:12px}
    .journey-step>p:last-child{font-size:15px}
    .detail-main .detail-section{margin-top:48px}
    .detail-overview h1{font-size:32px;line-height:1.2}
    .detail-description,.detail-address{font-size:16px;line-height:1.65}
    .detail-section-navigation{gap:2px;scrollbar-width:thin;overscroll-behavior-inline:contain}
    .detail-section-navigation>a{font-size:12px;min-height:44px;padding:12px 10px}
    .detail-interest .interest-two-fields{grid-template-columns:1fr}
    .detail-interest .interest-consent{font-size:13px}
    .catalog-results-heading{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
    .catalog-results-heading h2{font-size:28px}
    .catalog-toolbar{align-items:flex-start;flex-wrap:wrap;gap:16px}
    .catalog-toolbar form{flex-wrap:wrap;gap:12px}
    .catalog-active-filters{gap:8px 12px;margin-bottom:24px}
    .catalog-request-feedback{padding:16px;gap:12px}
    .catalog-request-feedback>p{min-width:0;flex-basis:100%}
    .recovery-page{padding-block:24px 48px}
    .recovery-state{padding:32px 20px;gap:20px;min-height:0}
    .recovery-state h1{font-size:32px}
    .recovery-state h3{font-size:26px}
    .recovery-state>p{font-size:15px}
    .recovery-state-actions{flex-direction:column;width:100%;gap:12px}
    .recovery-state-actions>a{width:100%}
}
@media(prefers-reduced-motion:reduce){.skip-to-content{transition:none}}

/* The property identity precedes the gallery and lead form at every viewport. */
.detail-summary{padding-block:24px 32px;scroll-margin-top:calc(var(--sticky-header-height,88px) + 24px)}
.detail-summary h1{font-size:clamp(32px,3.5vw,44px);line-height:1.15;letter-spacing:-.025em;margin:16px 0}
.detail-summary .detail-address{justify-content:flex-start;flex-wrap:wrap;gap:12px 24px}
@media(max-width:700px){.detail-summary{padding-block:20px 24px}.detail-summary h1{font-size:32px}.detail-summary .detail-identity{font-size:12px;gap:12px}.detail-summary .detail-address{font-size:14px;line-height:1.6}.detail-summary .detail-address a{min-height:44px}}

.catalog-empty .catalog-clear-action{color:var(--semantic-color-text-inverse,white)}
.catalog-toolbar[hidden]{display:none}
.recovery-state-support a{white-space:nowrap}

/* Preserve editorial image slots when their final artwork arrives. */
.editorial-image-placeholder > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.navbar-contact { align-items: center; gap: 12px; }
/* Desktop actions share the same breakpoint as the desktop navigation. */
@media (min-width: 1440px) { .navbar-contact { display: flex; } }
#busca { scroll-margin-top: 100px; }
@media (max-width: 380px) {
  .navbar { gap: 8px; padding-inline: 12px; }
  .navbar-logo img { width: 116px; height: auto; }
  .mobile-navigation { gap: 4px; }
}
@media (max-width: 340px) {
  .navbar-logo img { width: 100px; }
}
@media (max-width: 700px) {
  .brand-page .kv-hero-image, .morah-about .hero-image {
    aspect-ratio: 3 / 2; height: auto; min-height: 0; max-height: 320px;
  }
  .morah-about .hero-image img { object-position: center 58%; }
}

@media (max-width: 380px) {
  .footer-logo { max-width: 100%; min-width: 0; }
  .footer-logo img { max-width: 100%; height: auto; }
}

/* Customizable selects need a flex row to keep their picker icon inside. */
@supports (appearance: base-select) {
  select, .guidance-field-grid select, .search-field select {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  select::picker-icon { margin-inline-start: auto; flex: 0 0 auto; }
}

@media (max-width: 700px) {
  .properties-track[data-drag-scroll] { touch-action: pan-x pan-y; overscroll-behavior-x: contain; cursor: grab; -webkit-overflow-scrolling: touch; }
  .properties-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
  .properties-track img { -webkit-user-drag: none; }
}

.program-logo { position: relative; width: 100%; max-width: 220px; height: 80px; margin-bottom: 16px; overflow: hidden; }
.program-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.program-logo--mcmv, .program-logo--fgts { background: white; border-radius: 12px; }
.program-logo--mcmv img, .program-logo--fgts img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); }
.program-logo--morah img { width: 56px; height: 56px; margin-top: 12px; }

@media (max-width: 700px) {
  .properties-track[data-drag-scroll] { touch-action: auto; scroll-snap-type: x proximity; overscroll-behavior-y: auto; }
  .properties-track > * { scroll-snap-stop: normal; }
}

/* Rodada 2026-10-21: banners por dispositivo e cards da home. */
@media (max-width: 700px) {
  .banner-slide--mobile-artwork .hero-artwork { aspect-ratio: 5 / 4; width: 100%; height: auto; object-fit: contain; }
}
.property-card--editorial { height: auto; }
.property-card--editorial .property-content { flex: none; gap: 12px; }
.property-card--editorial .property-content h3 { margin: 0; }
.property-card--editorial .property-bullets { margin-top: 0; }
.property-card-labels .property-status { text-transform: uppercase; }
.property-city { gap: 4px; }
.property-city > .morah-icon { flex: none; font-size: 16px; line-height: 1; }
.benefit-link { color: inherit; text-decoration: none; }
.benefit-link:focus-visible { outline: 3px solid var(--primitive-color-pink-700); outline-offset: 4px; }
.benefit-cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; font-size: 14px; font-weight: 600; line-height: 20px; color: white; }
.benefit-cta .morah-icon { font-size: 18px; transition: transform 160ms ease-out; }
.benefit-link:hover .benefit-cta { text-decoration: underline; text-underline-offset: 4px; }
.benefit-link:hover .benefit-cta .morah-icon { transform: translateX(3px); }
.benefit-link .benefit-copy { gap: 14px; }
.benefit-link .benefit-story-copy .benefit-cta { margin-top: 12px; }
.benefit-link.benefit { height: auto; min-height: 244px; }
@media (prefers-reduced-motion: reduce) { .benefit-cta .morah-icon { transition: none; } }

.footer-address { margin-top: 16px; font-style: normal; font-size: 13px; line-height: 1.6; }
.footer-address a { display: flex; align-items: flex-start; gap: 6px; }
.footer-address .morah-icon { flex: none; font-size: 18px; }
body:has(.property-detail) .help-center-trigger { display: none; }
@keyframes interest-attention { 0%, 78%, 100% { transform: scale(1); box-shadow: 0 3px 8px rgb(255 255 255 / 0); } 86% { transform: scale(1.035); box-shadow: 0 4px 16px rgb(255 255 255 / .26); } 94% { transform: scale(1); } }
.mobile-interest-button { animation: interest-attention 9s ease-in-out 2s infinite; }
.mobile-interest-button:is(:hover,:focus-visible) { animation: none; }
@media (prefers-reduced-motion: reduce) { .mobile-interest-button { animation: none; } }
.brand-book-access { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 28px; border-radius: 24px; background: var(--primitive-color-coral-50); }
.brand-book-access p { margin-top: 12px; }
.brand-book-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-quick-downloads { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 700px) { .brand-book-access { grid-template-columns: minmax(0,1fr); padding: 24px; } .brand-book-actions { flex-direction: column; } .brand-quick-downloads { grid-template-columns: minmax(0,1fr); } }

.journey-mobile-icon { display: none; }
@media (max-width: 767px) {
 .journey { min-height: 0; } .journey-steps { gap: 0; }
 .journey-step { position:relative; padding: 0 0 30px 62px; border: 0; border-radius: 0; background: transparent; }
 .journey-step:not(:last-child):before { content:""; position:absolute; left:21px; top:44px; bottom:0; width:2px; background:var(--primitive-color-coral-200); }
 .journey-step:last-child { padding-bottom: 0; }
 .journey-mobile-icon { display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--primitive-color-orange-500); }
 .journey-mobile-icon img { width: 28px; height: 28px; object-fit: contain; }
 .journey-step:nth-of-type(even) .journey-mobile-icon { background: var(--primitive-color-coral-500); }
 .journey-step .journey-mobile-icon.journey-mobile-icon--brand { background: white; border-radius: 11px; overflow: hidden; }
 .journey-mobile-icon--brand img { width: 44px; height: 44px; }
 .journey-step .overline { font-size: 11px; line-height: 16px; letter-spacing: .1em; }
 .journey-step h3 { font-size: 19px; line-height: 25px; margin-top: 5px; }
 .journey-step > p:last-child { font-size: 15px; line-height: 1.6; }
}

.home-faq { margin-top: var(--ux-section-space); }

@media (min-width: 701px) and (max-width: 767px) { .property-search:not(:has(.advanced-filter-details)) .property-search-content { flex-direction: column; gap: 12px; align-items: stretch; } .property-search:not(:has(.advanced-filter-details)) .search-fields { grid-template-columns: minmax(0,1fr); min-width: 0; width: 100%; } .property-search:not(:has(.advanced-filter-details)) .search-actions { width: 100%; justify-content: flex-end; } }

.catalog-grid { align-items: start; }
.catalog-grid .property-card--editorial { min-height: 0; }
