:root {
  --tmh-black: #111111;
  --tmh-ink: #202020;
  --tmh-muted: #73706b;
  --tmh-line: #e7e3de;
  --tmh-soft: #f6f3ef;
  --tmh-paper: #fcfbf9;
  --tmh-white: #ffffff;
  --tmh-accent: #9c7867;
  --tmh-green: #237a52;
  --tmh-green-bg: #e9f5ee;
  --tmh-amber: #9a6b16;
  --tmh-amber-bg: #fff4d8;
  --tmh-red: #a24343;
  --tmh-red-bg: #fae9e9;
  --tmh-gray: #676767;
  --tmh-gray-bg: #eeeeee;
  --tmh-radius: 18px;
  --tmh-shadow: 0 18px 55px rgba(17, 17, 17, .08);
}

.tmh-page, .tmh-page * { box-sizing: border-box; }
.tmh-page { background: var(--tmh-paper); color: var(--tmh-ink); min-height: 100vh; }
.tmh-wrap { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.tmh-kicker { display: inline-block; color: var(--tmh-muted); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }

.tmh-hero { background: var(--tmh-black); color: var(--tmh-white); padding: 30px 0 34px; overflow: hidden; position: relative; }
.tmh-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -220px; top: -260px; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); pointer-events: none; }
.tmh-topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-bottom: 38px; padding-bottom: 23px; border-bottom: 1px solid rgba(255,255,255,.16); position: relative; z-index: 2; }
.tmh-brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; line-height: 1; }
.tmh-brand-logo { display: block; width: clamp(170px, 15vw, 230px); height: auto; max-height: 68px; object-fit: contain; object-position: left center; }
.tmh-topnav { display: inline-flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.045); }
.tmh-topnav a { padding: 9px 17px; border-radius: 999px; color: rgba(255,255,255,.65); text-decoration: none; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.tmh-topnav a:hover, .tmh-topnav a.is-current { background: rgba(255,255,255,.15); color: #fff; }
.tmh-account { justify-self: end; }
.tmh-user-pill { display: inline-flex; align-items: center; gap: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 8px 14px 8px 8px; border-radius: 999px; }
.tmh-user-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; font-size: 12px; font-weight: 900; }
.tmh-user-copy { display: flex; flex-direction: column; line-height: 1.2; }
.tmh-user-copy strong { font-size: 12px; }
.tmh-user-copy small { color: rgba(255,255,255,.55); font-size: 10px; margin-top: 3px; }
.tmh-login-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; transition: background .2s; }
.tmh-login-link:hover { background: rgba(255,255,255,.12); }

.tmh-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; position: relative; z-index: 2; }
.tmh-hero .tmh-kicker { color: rgba(255,255,255,.55); }
.tmh-hero-copy h1 { margin: 14px 0 18px; color: #fff; font-size: clamp(42px, 5vw, 78px); line-height: .96; letter-spacing: -.055em; font-weight: 700; max-width: 900px; }
.tmh-hero-copy h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.tmh-hero-copy p { margin: 0; max-width: 620px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.7; }
.tmh-hero-count { text-align: right; min-width: 170px; padding-bottom: 8px; }
.tmh-hero-count span { display: block; font-size: clamp(48px, 4.5vw, 78px); line-height: .85; font-weight: 800; letter-spacing: -.06em; }
.tmh-hero-count small { display: block; margin-top: 10px; color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.tmh-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); position: relative; z-index: 2; }
.tmh-stats-public { grid-template-columns: repeat(3, 1fr); }
.tmh-stats article { display: flex; align-items: center; gap: 14px; min-height: 90px; padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.tmh-stats article:first-child { padding-left: 0; }
.tmh-stats article:last-child { border-right: 0; }
.tmh-stat-icon { display: grid; place-items: center; min-width: 36px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; }
.tmh-stats strong { display: block; color: #fff; font-size: 19px; letter-spacing: -.02em; }
.tmh-stats small { display: block; color: rgba(255,255,255,.45); margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.tmh-catalog-section { padding: 28px 0 70px; }
.tmh-unit-strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 22px; scrollbar-width: none; scroll-margin-top: 20px; }
.tmh-unit-strip::-webkit-scrollbar { display: none; }
.tmh-unit-chip { white-space: nowrap; text-decoration: none; color: #5f5c58; background: #fff; border: 1px solid var(--tmh-line); border-radius: 999px; padding: 10px 15px; font-size: 12px; font-weight: 700; transition: .2s ease; }
.tmh-unit-chip:hover, .tmh-unit-chip.is-active { background: var(--tmh-black); border-color: var(--tmh-black); color: #fff; }

.tmh-catalog-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 34px; align-items: start; }
.tmh-filter-panel { position: sticky; top: 24px; background: #fff; border: 1px solid var(--tmh-line); border-radius: var(--tmh-radius); padding: 22px; }
.tmh-filter-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--tmh-line); }
.tmh-filter-head span { display: block; font-size: 15px; font-weight: 800; }
.tmh-filter-head small { display: block; font-size: 10px; margin-top: 3px; color: var(--tmh-muted); }
.tmh-filter-close { display: none; border: 0; background: transparent; color: #111; font-size: 26px; cursor: pointer; }
.tmh-filter-form { display: grid; gap: 16px; }
.tmh-field { display: grid; gap: 7px; }
.tmh-field > span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #55524e; }
.tmh-field input, .tmh-field select { width: 100%; min-height: 44px; background: var(--tmh-soft); border: 1px solid transparent; border-radius: 10px; color: #222; padding: 0 12px; outline: none; font: inherit; font-size: 12px; }
.tmh-field input:focus, .tmh-field select:focus { background: #fff; border-color: #bbb3aa; }
.tmh-filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tmh-search-box { position: relative; }
.tmh-search-box svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: #77736e; stroke-width: 1.7; }
.tmh-search-box input { padding-left: 36px; }
.tmh-clear-link { text-align: center; color: #6b6762; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.tmh-results { min-width: 0; scroll-margin-top: 20px; }
.tmh-results-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.tmh-results-head h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.04em; }
.tmh-mobile-filter { display: none; align-items: center; gap: 8px; border: 1px solid var(--tmh-line); background: #fff; border-radius: 10px; padding: 10px 13px; font-size: 12px; font-weight: 800; }
.tmh-mobile-filter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.tmh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tmh-card { overflow: hidden; background: #fff; border: 1px solid var(--tmh-line); border-radius: var(--tmh-radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tmh-card:hover { transform: translateY(-4px); box-shadow: var(--tmh-shadow); border-color: #d8d1c9; }
.tmh-card.is-inactive { opacity: .72; }
.tmh-card-media { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; background: #eee9e2; }
.tmh-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.tmh-card:hover .tmh-card-media img { transform: scale(1.035); }
.tmh-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-content: center; text-align: center; background: linear-gradient(135deg, #eee8e0, #faf8f5); color: #292622; }
.tmh-placeholder span { font-size: 18px; font-weight: 900; letter-spacing: .22em; }
.tmh-placeholder small { margin-top: 6px; font-size: 8px; letter-spacing: .32em; color: #8c847c; }
.tmh-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.tmh-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tmh-card-media > .tmh-status { position: absolute; left: 12px; top: 12px; backdrop-filter: blur(10px); }
.tmh-card.is-reserved .tmh-card-media > .tmh-status { display: none; }
.tmh-reserved-ribbon { position: absolute; z-index: 2; top: 50%; left: 50%; width: 155%; padding: 15px 0; transform: translate(-50%, -50%) rotate(-23deg); border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.8); color: #211d1a; box-shadow: 0 12px 32px rgba(24,20,17,.14), inset 0 1px 0 rgba(255,255,255,.52); -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25); font-size: 19px; font-weight: 800; letter-spacing: .2em; line-height: 1.2; text-align: center; white-space: nowrap; pointer-events: none; }
.tmh-status-disponivel { color: var(--tmh-green); background: rgba(233,245,238,.95); }
.tmh-status-reservado { color: var(--tmh-amber); background: rgba(255,244,216,.95); }
.tmh-status-vendido { color: var(--tmh-red); background: rgba(250,233,233,.95); }
.tmh-status-indisponivel { color: var(--tmh-gray); background: rgba(238,238,238,.95); }
.tmh-unit-label { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; background: rgba(17,17,17,.74); backdrop-filter: blur(9px); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.tmh-card-body { padding: 17px; }
.tmh-card-code { color: #918a82; font-size: 9px; letter-spacing: .11em; font-weight: 800; }
.tmh-card h3 { margin: 7px 0 2px; font-size: 18px; line-height: 1.22; letter-spacing: -.03em; }
.tmh-card-color { margin: 0; color: #77716b; font-size: 12px; }
.tmh-spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.tmh-spec-row span { background: var(--tmh-soft); border-radius: 10px; padding: 10px 11px; }
.tmh-spec-row small, .tmh-price-row small, .tmh-modal-specs small, .tmh-modal-prices small, .tmh-modal-note small { display: block; color: #8b857e; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tmh-spec-row strong { display: block; margin-top: 3px; font-size: 13px; }
.tmh-price-row { display: flex; justify-content: space-between; gap: 12px; align-items: end; padding: 15px 0; border-bottom: 1px solid var(--tmh-line); }
.tmh-price-row strong { display: block; margin-top: 4px; font-size: 15px; letter-spacing: -.02em; }
.tmh-suggested { text-align: right; }
.tmh-suggested strong { color: var(--tmh-accent); }
.tmh-card-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; margin-top: 14px; }
.tmh-contact-btn { width: 100%; text-align: center; }
.tmh-contact-missing { display: block; color: var(--tmh-muted); font-size: 10px; text-align: center; line-height: 1.4; }
.tmh-contact-missing[hidden] { display: none; }

.tmh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; border: 1px solid transparent; padding: 0 16px; text-decoration: none; font-size: 11px; font-weight: 850; letter-spacing: .02em; cursor: pointer; transition: .2s ease; }
.tmh-btn-dark { background: var(--tmh-black); color: #fff; }
.tmh-btn-dark:hover { background: #2a2a2a; color: #fff; }
.tmh-btn-light { background: #fff; color: #1b1b1b; border-color: var(--tmh-line); }
.tmh-btn-light:hover { background: var(--tmh-soft); }
.tmh-btn-lg { min-height: 48px; padding: 0 22px; }
.tmh-btn-full { width: 100%; }
.tmh-icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--tmh-black); color: #fff; }
.tmh-icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.tmh-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.tmh-pagination .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--tmh-line); border-radius: 9px; background: #fff; color: #333; text-decoration: none; font-size: 11px; font-weight: 800; }
.tmh-pagination .page-numbers.current { background: #111; border-color: #111; color: #fff; }
.tmh-empty { display: grid; place-items: center; text-align: center; min-height: 430px; background: #fff; border: 1px dashed #d8d2cb; border-radius: var(--tmh-radius); padding: 36px; }
.tmh-empty-icon { font-size: 44px; color: #9a938c; }
.tmh-empty h3 { margin: 10px 0 6px; font-size: 24px; }
.tmh-empty p { max-width: 390px; color: var(--tmh-muted); margin: 0 0 18px; font-size: 13px; }

.tmh-modal { width: min(920px, calc(100% - 28px)); height: min(660px, calc(100vh - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 110px rgba(0,0,0,.35); }
.tmh-modal::backdrop { background: rgba(11,11,11,.68); backdrop-filter: blur(3px); }
.tmh-modal-close { position: absolute; right: 14px; top: 14px; z-index: 4; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(17,17,17,.72); color: #fff; font-size: 24px; cursor: pointer; }
.tmh-modal-grid { display: grid; grid-template-columns: 1.05fr .95fr; height: 100%; min-height: 0; }
.tmh-modal-gallery { position: relative; min-width: 0; min-height: 0; height: 100%; background: #eee9e2; touch-action: pan-y; }
.tmh-modal-media { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #29231f; }
.tmh-modal-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.tmh-modal-media img.tmh-modal-photo-backdrop { position: absolute; inset: 0; object-fit: cover; filter: blur(24px) brightness(.72); transform: scale(1.16); pointer-events: none; }
.tmh-modal-media img.tmh-modal-photo { position: relative; z-index: 1; object-fit: contain; }
.tmh-carousel-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 38px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(20,20,20,.63); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tmh-carousel-arrow:hover { background: rgba(20,20,20,.9); }
.tmh-carousel-arrow:focus { outline: none; }
.tmh-carousel-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tmh-carousel-arrow:disabled { opacity: .3; cursor: default; }
.tmh-carousel-prev { left: 12px; }
.tmh-carousel-next { right: 12px; }
.tmh-carousel-position { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); padding: 6px 11px; border-radius: 999px; background: rgba(20,20,20,.68); color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tmh-photo-expand { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 84px); padding: 10px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(20,20,20,.72); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tmh-photo-expand:hover { background: rgba(20,20,20,.9); }
.tmh-photo-expand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tmh-photo-expand[hidden] { display: none; }
.tmh-photo-expand span[aria-hidden] { font-size: 19px; line-height: .7; }
.tmh-modal-content { min-height: 0; padding: 34px; overflow-y: auto; }
.tmh-modal-topline { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding-right: 34px; }
.tmh-modal-code { color: #817a73; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.tmh-modal-content h2 { margin: 24px 0 4px; font-size: 33px; line-height: 1.06; letter-spacing: -.045em; }
.tmh-modal-unit { margin: 0; color: var(--tmh-muted); font-size: 12px; }
.tmh-modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.tmh-modal-specs span { background: var(--tmh-soft); border-radius: 11px; padding: 12px; }
.tmh-modal-specs strong, .tmh-modal-prices strong { display: block; margin-top: 5px; font-size: 14px; }
.tmh-modal-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 0; margin-top: 10px; border-top: 1px solid var(--tmh-line); border-bottom: 1px solid var(--tmh-line); }
.tmh-modal-prices strong { font-size: 19px; }
.tmh-modal-note { margin-top: 18px; }
.tmh-modal-note p { margin: 6px 0 0; color: #544f4a; font-size: 12px; line-height: 1.6; }
.tmh-modal-wa { margin-top: 24px; }
.tmh-modal-wa[hidden] { display: none; }

.tmh-shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 70px 0; }
.tmh-login-shell { min-height: 75vh; display: grid; place-items: center; }
.tmh-login-card { width: min(520px, 100%); text-align: center; background: #fff; border: 1px solid var(--tmh-line); border-radius: 24px; padding: 46px; box-shadow: var(--tmh-shadow); }
.tmh-login-mark { display: grid; place-items: center; width: 66px; height: 66px; margin: 24px auto; border-radius: 50%; background: #111; color: #fff; font-size: 28px; font-family: Georgia, serif; }
.tmh-login-card h1 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.tmh-login-card p { margin: 12px auto 24px; max-width: 390px; color: var(--tmh-muted); line-height: 1.6; }
.tmh-system-alert { background: #fff; border: 1px solid #e6d9c9; border-radius: 16px; padding: 24px; }
.tmh-system-alert strong { display: block; font-size: 18px; }
.tmh-system-alert p { margin: 7px 0 0; color: var(--tmh-muted); }

.tmh-filter-backdrop { display: none; }
body.tmh-no-scroll { overflow: hidden; }

@media (max-width: 1180px) {
  .tmh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmh-stats { grid-template-columns: repeat(2, 1fr); }
  .tmh-stats article:nth-child(2) { border-right: 0; }
  .tmh-stats article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .tmh-stats article:nth-child(3) { padding-left: 0; }
}

@media (max-width: 860px) {
  .tmh-wrap { width: min(100% - 28px, 720px); }
  .tmh-topbar { grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 32px; padding-bottom: 18px; }
  .tmh-topnav { grid-column: 1 / -1; justify-self: start; }
  .tmh-account { grid-column: 2; grid-row: 1; }
  .tmh-hero-copy { grid-template-columns: 1fr; gap: 26px; }
  .tmh-hero-count { text-align: left; display: none; }
  .tmh-hero-copy h1 { font-size: clamp(42px, 11vw, 66px); }
  .tmh-catalog-layout { display: block; }
  .tmh-filter-panel { position: fixed; inset: 0 auto 0 0; z-index: 1002; width: min(340px, calc(100% - 38px)); border-radius: 0 18px 18px 0; overflow-y: auto; transform: translateX(-105%); transition: transform .28s ease; }
  .tmh-filter-panel.is-open { transform: translateX(0); }
  .tmh-filter-close { display: block; }
  .tmh-filter-backdrop { position: fixed; inset: 0; z-index: 1001; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); }
  .tmh-filter-backdrop.is-open { display: block; }
  .tmh-mobile-filter { display: inline-flex; }
  .tmh-modal-grid { grid-template-columns: 1fr; }
  .tmh-modal { height: auto; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .tmh-modal-grid { height: auto; min-height: 0; }
  .tmh-modal-gallery { min-height: 0; height: min(58dvh, 510px); }
  .tmh-modal-media { min-height: 0; height: 100%; }
  .tmh-modal-content { padding: 26px; overflow: visible; }
  .tmh-stats-public { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .tmh-hero { padding-top: 14px; }
  .tmh-brand-logo { width: 155px; max-height: 54px; }
  .tmh-topbar { margin-bottom: 27px; }
  .tmh-topnav a { padding: 7px 15px; font-size: 10px; }
  .tmh-user-copy { display: none; }
  .tmh-user-pill { padding: 5px; border: 0; background: transparent; }
  .tmh-hero-copy p { font-size: 13px; }
  .tmh-stats { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .tmh-stats article { min-height: 74px; padding: 12px 10px; gap: 9px; }
  .tmh-stats article:first-child, .tmh-stats article:nth-child(3) { padding-left: 0; }
  .tmh-stat-icon { width: 30px; min-width: 30px; height: 30px; font-size: 9px; }
  .tmh-stats strong { font-size: 14px; }
  .tmh-stats small { font-size: 8px; }
  .tmh-catalog-section { padding-top: 18px; }
  .tmh-unit-strip { margin-right: -14px; padding-right: 14px; }
  .tmh-results-head h2 { font-size: 20px; }
  .tmh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tmh-card { min-width: 0; border-radius: 12px; }
  .tmh-card-media { aspect-ratio: 1 / 1; }
  .tmh-card-media > .tmh-status { top: 6px; left: 6px; padding: 5px 6px; font-size: 7px; }
  .tmh-reserved-ribbon { padding: 11px 0; font-size: 16px; letter-spacing: .13em; }
  .tmh-unit-label { right: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 5px 7px; font-size: 8px; }
  .tmh-card-body { padding: 10px; }
  .tmh-card h3 { font-size: 14px; }
  .tmh-card-color { font-size: 10px; }
  .tmh-spec-row { gap: 4px; margin-top: 10px; }
  .tmh-spec-row span { padding: 7px 5px; }
  .tmh-spec-row small { font-size: 7px; letter-spacing: 0; }
  .tmh-spec-row strong { font-size: 11px; }
  .tmh-price-row { gap: 4px; padding: 10px 0; }
  .tmh-price-row strong { font-size: 11px; }
  .tmh-card-actions { gap: 4px; margin-top: 10px; }
  .tmh-card-actions .tmh-btn { min-height: 36px; padding: 0 5px; font-size: 10px; }
  .tmh-card-actions .tmh-contact-btn { min-height: 38px; white-space: normal; line-height: 1.2; }
  .tmh-modal { width: 100%; max-height: 100vh; max-height: 100dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .tmh-modal-gallery { height: clamp(260px, 57dvh, 520px); }
  .tmh-carousel-arrow { width: 34px; height: 40px; font-size: 28px; }
  .tmh-modal-content h2 { font-size: 28px; }
  .tmh-modal-content { padding: 23px 18px calc(28px + env(safe-area-inset-bottom)); }
  .tmh-modal-specs { grid-template-columns: 1fr 1fr; }
  .tmh-login-card { padding: 34px 22px; }
}

/* A foto ocupa a área visível sem alterar sua proporção. */
.tmh-modal.is-photo-fullscreen {
  position: fixed; inset: 0; width: 100vw; max-width: none;
  height: 100vh; height: 100dvh; max-height: none;
  margin: 0; border-radius: 0; overflow: hidden;
}
.tmh-modal.is-photo-fullscreen .tmh-modal-grid { display: block; width: 100%; height: 100%; }
.tmh-modal.is-photo-fullscreen .tmh-modal-gallery { width: 100%; height: 100%; max-height: none; }
.tmh-modal.is-photo-fullscreen .tmh-modal-media { width: 100%; height: 100%; }
.tmh-modal.is-photo-fullscreen .tmh-modal-content { display: none; }
.tmh-modal.is-photo-fullscreen .tmh-photo-expand { top: calc(14px + env(safe-area-inset-top)); left: calc(14px + env(safe-area-inset-left)); }
.tmh-modal.is-photo-fullscreen .tmh-modal-close { top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); }
.tmh-modal.is-photo-fullscreen .tmh-carousel-position { bottom: calc(14px + env(safe-area-inset-bottom)); }
