/* 2.92: phone presentation only. No rule in this file applies to desktop. */
@media (max-width:767px) {
  html {scroll-padding-top:20px}
  body {--mobile-contact-space:0px}
  body.property-page {--mobile-contact-space:64px}
  .home .header,.property-page .header {padding:18px 6%;gap:14px;height:104px;align-items:flex-start}
  :is(.home,.property-page) .header .brand,:is(.home,.property-page) .header .brand img {width:116px}
  :is(.home,.property-page) .header-actions {padding-top:6px;margin-left:auto;gap:16px}
  :is(.home,.property-page) .saved-button {font-size:12px;min-height:44px}
  :is(.home,.property-page) .saved-button .favorites-label,:is(.home,.property-page) .saved-button #saved-count {font-size:12px}
  :is(.home,.property-page) .menu-button {min-height:44px}
  .home .hero {height:clamp(460px,72svh,600px);min-height:460px;max-height:600px}
  .home .hero-image img {object-position:center;animation:none;transform:none}
  .home .hero-content {top:auto;bottom:142px;left:6%;width:88%;max-width:none;transform:none}
  .home .hero .hero-slogan {font-size:clamp(26px,7vw,32px);line-height:1.2}
  .home .hero .hero-slogan>span {font-size:1em}
  .home .hero .hero-slogan em {font-size:1em}
  .home .hero .eyebrow {font-size:12px;margin-bottom:12px;letter-spacing:.1em;color:#fff}
  .home .hero .hero-search-heading {font-size:10px;line-height:1.5;margin-bottom:10px;letter-spacing:.1em}
  .home .hero-bottom {left:6%;right:6%;bottom:18px}
  .home .hero-showcase {display:flex;flex-wrap:wrap;gap:10px;width:100%;align-items:center}
  .home .hero-caption {width:100%;font-size:13px;line-height:1.45}
  .home .hero-caption small {font-size:12px;opacity:1}
  .home .hero-controls {gap:5px;margin-left:auto}
  .home .hero-controls>button {min-width:44px;min-height:44px}
  .home #hero-slide-count {font-size:12px;padding:0 6px}
  .home .hero-controls #motion-toggle {height:44px;padding:0 12px}
  .home .hero-controls .motion-label {display:inline;font-size:12px}
  .hapen-mobile-search {padding:20px 6% 26px;background:var(--hapen-cream);color:var(--hapen-ink);border-bottom:1px solid var(--hapen-line)}
  .hapen-mobile-search .hero-search {width:100%;max-width:none;margin:0}
  .hapen-mobile-search .search-bar {grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:8px;border:1px solid var(--hapen-line);box-shadow:none}
  .hapen-mobile-search .search-field {min-width:0;padding:10px 8px}
  .hapen-mobile-search .search-field>span {font-size:12px;color:var(--hapen-muted);line-height:1.4}
  .hapen-mobile-search .search-field :is(input,select),.hapen-mobile-search .picker-trigger {font-size:16px;min-height:40px;height:auto;line-height:1.4;color:var(--hapen-ink)}
  .hapen-mobile-search .picker-trigger>span:first-child {overflow:hidden;text-overflow:ellipsis}
  .hapen-mobile-search .search-submit {min-height:48px;font-size:16px;margin:8px 0 0}
  .hapen-mobile-search .search-secondary {display:flex;gap:8px 18px;flex-wrap:wrap;margin-top:10px;color:var(--hapen-green)}
  .hapen-mobile-search .search-secondary button {font-size:13px;min-height:44px;border-color:var(--hapen-line);color:var(--hapen-green)}
  .hapen-mobile-search :is(#catalog-feedback,#search-error) {background:#fff;border:1px solid var(--hapen-line);padding:14px;margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--hapen-ink)}
  .hapen-mobile-search #catalog-feedback a {display:block;width:fit-content;font-size:14px;min-height:44px;color:var(--hapen-green);margin-top:6px}
  .home .section {padding-top:42px;padding-bottom:42px}
  .home .intro {margin-bottom:32px}
  .home .home-introduction-copy {font-size:16px;line-height:1.65}
  .home .category-grid {gap:30px}
  .home .photo-tile {display:flex;flex-direction:column;height:auto;background:transparent;padding:0 0 22px;border-bottom:1px solid var(--hapen-line)}
  .home .photo-tile>div {position:static;order:-1;padding:0 40px 16px 0}
  .home .photo-tile h3 {margin:6px 0 0;font-size:28px}
  .home .photo-tile img {position:static;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;transform:none}
  .home .photo-tile .tile-arrow {top:32px;right:0;bottom:auto}
  .home .photo-tile:after {display:none}
  .home #selecao {background:var(--hapen-cream);border-block:1px solid var(--hapen-line)}
  .home .section-heading {margin-bottom:20px;gap:16px}
  .home .selection .selection-controls {margin-top:16px;gap:12px}
  .home .selection-controls select {font-size:16px;max-width:52%;min-height:44px;background:transparent}
  .home .selection-controls .text-link {font-size:13px;min-height:44px}
  .home .selection-nav {justify-content:flex-start;gap:12px;flex-basis:100%}
  .home .selection-nav-label {display:none}
  .home .selection-nav button {width:44px;height:44px;background:#fff;border-color:#bcc9bf}
  .home #properties-position {font-size:14px;color:var(--hapen-green);min-width:104px;text-align:center}
  .home .selection .property-track {gap:16px;grid-auto-columns:100%;align-items:start;padding-bottom:0;scroll-snap-stop:always}
  .home .property-track .property {background:transparent}
  .home .property-track .card-gallery {aspect-ratio:3/2}
  .home .property-track .property-info {padding:14px 0 0;flex:none}
  .home .property-track .property h3 {font-size:26px}
  .home .property-track .property-kind {margin-bottom:6px}
  .home .property-track .property-code {font-size:13px;margin-top:6px}
  .home .property-track .property-specs {margin:16px 0;gap:0;justify-content:space-between}
  .home .property-track .property-specs>span {padding:0 8px;min-width:0}
  .home .property-track .property-specs .property-fact>span {font-size:12px;line-height:1.35}
  .home .property-track .property-bottom {margin-top:0;gap:12px}
  .home .property-track .property-price strong {font-size:25px}
  .home .property-track .gallery-prev,.home .property-track .gallery-next {width:44px;height:44px}
  .home .property-track .gallery-count {font-size:12px}
  .home .featured-developments {background:#fff}
  .home .featured-stage {display:grid;grid-auto-flow:column;grid-auto-columns:100%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;margin:0 6%;align-items:start}
  .home .featured-stage::-webkit-scrollbar {display:none}
  .home .featured-stage .featured-development.editorial {margin:0;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
  .home .featured-controls button:disabled {opacity:.35;cursor:default}
  .home .featured-development.editorial {margin:0 6%;padding:0;min-height:0}
  .home .featured-development .editorial-photo {height:auto;min-height:0;aspect-ratio:3/2}
  .home .featured-development .editorial-photo img {object-position:center}
  .home .featured-development .editorial-photo small {font-size:10px;left:12px;bottom:10px;background:#173b3099;padding:3px 6px;max-width:calc(100% - 24px)}
  .home .featured-development .editorial-text {padding:18px 0 0}
  .home .featured-development .editorial-text:before {display:none}
  .home .featured-development .editorial-text .eyebrow {margin-bottom:8px}
  .home .featured-development .editorial-text h3 {font-size:32px;line-height:1.15}
  .home .featured-development .development-name {font-size:17px!important;margin:8px 0!important}
  .home .featured-development .development-location {font-size:14px!important;margin:0 0 10px!important}
  .home .development-facts {font-size:13px;gap:5px 12px;margin-bottom:12px;line-height:1.5}
  .home .development-facts li+li:before {margin-right:12px}
  .home .featured-development .development-description {display:none}
  .home .featured-development .development-link {font-size:14px;min-height:44px}
  .home .featured-footer {padding-top:18px}
  .hapen-mobile-featured-nav {margin:0 6% 16px}
  .hapen-mobile-featured-nav .featured-controls {width:auto;justify-content:flex-start;gap:12px;margin:0}
  .hapen-mobile-featured-nav .featured-count {font-size:14px;min-width:110px;color:var(--hapen-green)}
  .hapen-mobile-featured-nav .featured-count:before {content:'Projeto '}
  .hapen-mobile-featured-nav .featured-controls button {background:var(--hapen-cream);border-color:#bcc9bf}
  .hapen-mobile-swipe {font-size:12px;line-height:1.4;color:var(--hapen-green);margin:8px 0 0;letter-spacing:0;display:flex;align-items:center;gap:8px}
  .hapen-mobile-swipe:before {content:'↔';font-size:19px;line-height:1}
  #selecao>.hapen-mobile-swipe {margin:-8px 0 14px}
  .home .neighborhoods {margin-top:0}
  .home .eyebrow,.home .photo-tile small,.home .editorial-text .eyebrow,.property-page .property-kind,.property-page .eyebrow {font-size:12px;font-weight:500;letter-spacing:.09em;color:var(--hapen-green);line-height:1.5}
  .home .eyebrow {margin-bottom:12px}
  .home .hero .eyebrow {color:white}
  .home .journal-card .eyebrow {font-size:12px}
  .whatsapp-floating.ha-launcher {width:auto!important;min-width:104px!important;height:44px!important;min-height:44px;padding:0 14px!important;border-radius:24px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom) + var(--mobile-contact-space))!important;gap:7px!important;flex-direction:row!important;box-shadow:0 3px 10px #173d3526}
  .ha-launcher .ha-launcher-brand,.ha-launcher .ha-launcher-label {display:none!important}
  .ha-launcher:before {content:'✦';font-size:19px;color:var(--hapen-gold-light)}
  .ha-launcher:after {content:'Hapen IA';font-size:14px;font-weight:500;line-height:1}
  .hapen-assistant,.hapen-assistant.ha-expanded {top:calc(var(--hapen-view-top,0px) + 8px);bottom:auto;height:calc(var(--hapen-view-height,100dvh) - 16px);max-height:calc(var(--hapen-view-height,100dvh) - 16px)}
  .property-page>.header {position:relative;background:var(--hapen-green);height:100px;color:white}
  .property-page .property-hero {height:auto;min-height:0;max-height:none;padding-top:44px;background:var(--hapen-cream)}
  .property-page .back-link {top:0;left:6%;bottom:auto;color:var(--hapen-green);background:transparent;padding:10px 0;font-size:13px;min-height:44px}
  .property-page .detail-gallery {height:auto;padding-bottom:0;background:var(--hapen-paper);overflow:visible}
  .property-page .detail-gallery .photo-open {height:clamp(230px,70vw,440px);background-size:contain!important;background-repeat:no-repeat;background-position:center!important;background-color:var(--hapen-paper);touch-action:pan-y pinch-zoom}
  .property-page .detail-gallery .photo-open img {object-fit:contain;object-position:center;width:100%;height:100%}
  .property-page .detail-gallery-controls {position:relative;left:auto;right:auto;bottom:auto;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px 6% 4px;color:var(--hapen-green)}
  .property-page .detail-gallery .detail-gallery-controls>button {background:var(--hapen-green);color:white;backdrop-filter:none;text-shadow:none;border-color:var(--hapen-green)}
  .property-page .detail-gallery .detail-gallery-controls .gallery-count {color:var(--hapen-green);font-size:13px;text-shadow:none;letter-spacing:0;min-width:85px;text-align:center}
  .property-page .detail-gallery .detail-gallery-controls .motion-label {font-size:12px}
  .property-page .detail-gallery .gallery-count:not([data-video]):before {content:'Foto '}
  .property-page .detail-gallery.gallery-is-video .gallery-count:before {content:none}
  .property-page .detail-gallery>.hapen-mobile-swipe {justify-content:center;padding:0 12px 12px;margin:4px 0 0}
  .property-page .detail-gallery .expand-gallery,.property-page .detail-gallery .property-video-link {position:relative;inset:auto;transform:none;margin:8px auto;width:fit-content;font-size:13px}
  .property-page .detail-gallery.gallery-is-video .photo-open {display:none}
  .property-page .detail-gallery .gallery-video {position:relative;inset:auto;min-height:260px;padding:10px;gap:8px}
  .property-page .gallery-video-stage {height:auto;aspect-ratio:16/9;min-height:180px}
  .property-page .detail-intro .property-kind {font-size:13px}
  .property-page .breadcrumb {font-size:13px;line-height:1.6}
  .property-page .detail-heading h1 {font-size:clamp(22px,6vw,26px);line-height:1.28;letter-spacing:-.025em;overflow-wrap:break-word}
  .property-page .facts.property-overview .property-fact span {font-size:12px}
  .property-page .facts.property-overview .property-fact:first-child strong {font-size:14px}
  .property-page .detail-photo-caption {display:none}
  .property-page .hapen-mobile-price {padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--hapen-line);min-width:0}
  .property-page .hapen-mobile-price .eyebrow {font-size:11px;line-height:1.4;letter-spacing:.08em;margin-bottom:8px}
  .property-page .hapen-mobile-price .detail-price {font-size:clamp(26px,7.4vw,32px);font-weight:500;line-height:1.2;color:var(--hapen-green);margin:0}
  .property-page .hapen-mobile-price .detail-price>span {font-size:inherit;font-weight:inherit;color:inherit}
  .property-page .hapen-mobile-price .costs {display:flex;flex-wrap:wrap;gap:12px 28px;margin:14px 0 0;font-size:13px;line-height:1.5}
  .property-page .hapen-mobile-price .costs>div {display:block;padding:0;border:0;min-width:0}
  .property-page .hapen-mobile-price .costs dt {color:var(--hapen-muted)}
  .property-page .hapen-mobile-price .costs dd {margin:2px 0 0;font-size:14px;font-weight:400;color:var(--hapen-green)}
  .property-page .hapen-mobile-price .rent-offer {flex-basis:100%}
  .property-page .property-location {margin-top:32px}
  .property-page .hapen-mobile-address-map iframe {display:block;width:100%;height:clamp(300px,86vw,400px);border:0;margin-top:20px}
  .property-page .hapen-mobile-address-map p {font-size:13px;line-height:1.5;margin:10px 0}
  .property-page .hapen-mobile-address-map a {display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--hapen-green)}
  .property-page .nearby-heading {margin-top:24px;margin-bottom:16px}
  .property-page .nearby-categories {gap:8px;margin-bottom:16px}
  .property-page .nearby-categories button {font-size:13px;padding:9px 12px;min-height:44px;border-radius:4px}
  .property-page .property-map {height:clamp(300px,86vw,400px)}
  .property-page .map-caption {gap:4px 12px}
  .property-page .map-caption .map-feedback {flex-basis:100%;font-size:13px;color:var(--hapen-green)}
  .property-page .map-reset,.property-page .map-external {font-size:13px}
  .property-page .nearby-count {font-size:13px;margin-bottom:10px}
  .property-page .nearby-list {max-height:260px;border:1px solid var(--hapen-line);padding:0 12px;border-radius:6px}
  .property-page .nearby-list li,.property-page .nearby-list li:first-child {padding:12px 0}
  .property-page .nearby-list strong {font-size:15px}
  .property-page .nearby-list li>div>span,.property-page .nearby-focus {font-size:13px}
  .property-page .map-place-popup strong {font-size:15px}
  .property-page .map-place-popup strong {padding-right:14px}
  .property-page .property-map .leaflet-popup-close-button {width:36px;height:36px;font-size:25px}
  .property-page .mobile-contact {min-height:60px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));font-size:14px}
  .hapen-mobile-picker-shade {position:fixed;inset:0;z-index:1600;background:#102a2380}
  .picker-popover.hapen-mobile-picker {z-index:1601!important;left:50%!important;top:calc(var(--hapen-view-top,0px) + var(--hapen-view-height,100dvh)/2)!important;bottom:auto!important;transform:translate(-50%,-50%);width:calc(100% - 32px)!important;max-width:480px;max-height:calc(var(--hapen-view-height,100dvh) - 32px)!important;border-radius:16px;box-shadow:0 18px 60px #102a2330}
  .hapen-mobile-picker-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 0;font-size:18px;color:var(--hapen-green)}
  .hapen-mobile-picker-heading button {width:44px;height:44px;font-size:27px;padding:0}
  .hapen-mobile-picker .picker-find {padding:8px 16px}
  .hapen-mobile-picker .picker-find input {font-size:16px;min-height:44px}
  .hapen-mobile-picker .picker-options {min-height:60px;max-height:300px;padding:0 16px}
  .hapen-mobile-picker .picker-option {font-size:16px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--hapen-line);gap:12px}
  .hapen-mobile-picker .picker-option input {position:static;opacity:1;width:22px;height:22px;flex:none;accent-color:var(--hapen-green)}
  .hapen-mobile-picker .picker-group {font-size:12px;font-weight:500;color:var(--hapen-green)}
  .hapen-mobile-picker .picker-footer {padding:10px 16px;gap:16px}
  .hapen-mobile-picker .picker-footer button {min-height:44px;font-size:15px}
  #quick-code-dialog,#search-dialog {position:fixed;top:calc(var(--hapen-view-top,0px) + var(--hapen-view-height,100dvh)/2);bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);margin:0;width:calc(100% - 28px);max-height:calc(var(--hapen-view-height,100dvh) - 24px);padding:24px 20px;border-radius:12px;overscroll-behavior:contain;scroll-padding:16px}
  #quick-code-dialog h2,#search-dialog h2 {font-size:27px;margin-right:32px}
  #quick-code-dialog .eyebrow {font-size:11px;margin-bottom:8px}
  #quick-code-intro {font-size:14px;line-height:1.5;margin:10px 0 16px}
  #quick-code-form label {font-size:14px}
  #quick-code-dialog .quick-code-fields {flex-direction:column;gap:10px}
  #quick-search-code,#search-dialog input,#search-dialog select {font-size:16px;min-height:44px}
  #quick-code-dialog .button {width:100%;min-height:48px;font-size:15px}
  #quick-code-dialog .quick-code-close {top:8px;right:8px}
  #quick-code-feedback {font-size:14px;line-height:1.5;margin-top:12px}
  .home .lightbox,.property-page .lightbox {padding:60px 38px 32px;height:var(--hapen-view-height,100dvh);top:var(--hapen-view-top,0px);bottom:auto;margin:0;max-height:var(--hapen-view-height,100dvh)}
  .lightbox-stage .gallery-prev {left:-32px}
  .lightbox-stage .gallery-next {right:-32px}
}

/* 2.93: readable phone filters; native pickers stay available under a wrapping caption. */
@media (max-width:767px) {
 .has-native-filter>.choice-toggle,.has-native-filter>.choice-panel,.has-native-filter>.picker-trigger,.has-native-filter>.hapen-native-source {display:none!important}
 .hapen-native-field {position:relative;display:block;width:100%;min-width:0;min-height:48px;margin:0;border:1px solid var(--hapen-line);border-radius:3px;background:#fff;color:var(--hapen-green)}
 .hapen-native-value {display:block;padding:12px 38px 12px 12px;font:400 16px/1.5 var(--hapen-font);white-space:normal;overflow-wrap:anywhere;letter-spacing:normal}
 .hapen-native-field:after {content:'';position:absolute;right:16px;top:20px;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);pointer-events:none}
 .hapen-native-field>.hapen-native-filter {position:absolute;inset:0;display:block;width:100%;height:100%;min-height:48px;margin:0;padding:0;border:0;opacity:0;font:400 16px/1.5 var(--hapen-font);cursor:pointer;appearance:auto}
 .hapen-native-field:focus-within {outline:2px solid var(--hapen-gold);outline-offset:2px}
 .hapen-native-field:has(select:disabled) {color:var(--hapen-muted);background:var(--hapen-canvas)}
 .hapen-native-filter-summary {display:block;color:var(--hapen-muted);font:400 14px/1.5 var(--hapen-font);margin-top:6px;overflow-wrap:anywhere}
 .home .search-picker.has-native-filter>.hapen-native-field {margin-top:4px}
 .catalog-page .main-fields,.catalog-page .extra-fields {grid-template-columns:minmax(0,1fr);gap:16px}
 .catalog-page .main-fields>.catalog-choice {grid-column:1/-1;min-width:0}
 .catalog-page :is(.search-panel,.catalog-toolbar) :is(input,select),.home .hapen-mobile-search :is(input,select),.home .selection-controls select,#search-dialog :is(input,select),#quick-search-code,.d-plan-filters select {font-family:var(--hapen-font);font-weight:400;font-size:16px;line-height:1.5;letter-spacing:normal;font-synthesis:none}
 .catalog-page :is(.search-panel,.catalog-toolbar) :is(input,select):not(.hapen-native-filter) {min-height:48px;border-radius:3px;padding:10px 12px;width:100%;min-width:0}
 .catalog-page :is(.search-panel,.catalog-toolbar) input::placeholder,.home .hapen-mobile-search input::placeholder,#search-dialog input::placeholder {font:400 16px/1.5 var(--hapen-font);opacity:1}
 .catalog-page .search-panel :is(label,.choice-label),.catalog-page .order-label {font:500 14px/1.5 var(--hapen-font);letter-spacing:normal}
 .catalog-page .catalog-toolbar {display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .catalog-page .catalog-toolbar .order-label {margin:0;max-width:none;min-width:0}
 .catalog-page .catalog-toolbar .filter-toggle {min-height:48px;font-weight:500;font-size:16px}
 .catalog-page .search-panel summary {font-weight:400;font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .home .hapen-mobile-search .search-bar {grid-template-columns:minmax(0,1fr)}
 .home .hapen-mobile-search .search-field {border-right:0;grid-column:1/-1}
 .home .selection .selection-controls {flex-wrap:wrap}
 .home .selection-controls select {max-width:100%;width:100%}
 #search-dialog .range-fields {grid-template-columns:minmax(0,1fr)}
 .lightbox-stage,.d-lightbox-scroll {touch-action:pan-y pinch-zoom}
}
