.ti-app {
	/* Marca Trivali: navy como cor de ação, dourado como acento. */
	--ti-ink:         #161616;
	--ti-ink-soft:    #4b4e5c;
	--ti-muted:       #6a6c72;

	--ti-brand:       #061f5c;
	--ti-brand-dark:  #04163f;
	--ti-brand-press: #030f2c;
	--ti-brand-soft:  #e9ecf5;
	--ti-brand-ring:  rgba(6, 31, 92, .45);

	--ti-navy:        #061f5c;
	--ti-navy-dark:   #04163f;
	--ti-navy-soft:   #edf0f7;
	--ti-tint-cool:   #edf0f7; /* fundo alternado das dobras (frio) */
	--ti-tint-warm:   #f8f4ea; /* fundo alternado das dobras (quente) */
	--ti-accent:      #d4b06e; /* dourado da marca */
	--ti-gold:        #d4b06e;

	--ti-paper:       #f5f6fa;
	--ti-surface:     #ffffff;
	--ti-line:        #dedfe4;
	--ti-line-soft:   #e6e7f0;
	--ti-danger:      #f56a50;
	--ti-success:     #00aa4f;

	--ti-radius:      8px;
	--ti-radius-sm:   8px;
	--ti-radius-lg:   16px;
	--ti-radius-pill: 9999px;

	--ti-shadow:       0 2px 8px hsla(0, 0%, 9%, .08);
	--ti-shadow-hover: 0 4px 16px hsla(0, 0%, 9%, .12);
	--ti-shadow-lg:    0 4px 16px hsla(0, 0%, 9%, .12);

	--ti-display: "Sora", "Inter", system-ui, -apple-system, sans-serif;
	--ti-sans:    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	font-family: var(--ti-sans);
	color: var(--ti-ink);
	background: var(--ti-paper);
	line-height: 1.55;
	font-size: 16px;
	box-sizing: border-box;
	padding-block: 8px 56px;
	padding-inline: 20px;
	max-width: 1240px;
	margin-inline: auto;
}

.ti-app *,
.ti-app *::before,
.ti-app *::after { box-sizing: inherit; }

/* Regras abaixo usam display:flex/grid; sem isto o atributo hidden seria ignorado. */
.ti-app[hidden],
.ti-app [hidden] { display: none !important; }

.ti-app h1, .ti-app h2, .ti-app h3 {
	font-family: var(--ti-display);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ti-ink);
	margin: 0;
	line-height: 1.15;
}

.ti-app p { margin: 0; }
.ti-app ul { margin: 0; padding: 0; list-style: none; }

.ti-sr {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ti-dot { color: var(--ti-line); margin-inline: 2px; }

/* ---------- Hero ---------- */

/* ---------- Barra de filtros ---------- */

/* O formulário fica sobre a foto do topo; só o cartão interno é branco. */
.ti-filters { width: 100%; }

.ti-filters__card {
	background: var(--ti-surface);
	border-radius: var(--ti-radius);
	box-shadow: var(--ti-shadow-hover);
	padding: 16px;
	text-align: left;
}

.ti-filters__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	align-items: end;
}

.ti-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ti-field--grow { grid-column: span 2; }

.ti-field label,
.ti-field .ti-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ti-muted);
}

.ti-field input,
.ti-field select,
.ti-field textarea {
	font-family: inherit;
	font-size: 15px;
	color: var(--ti-ink);
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: var(--ti-radius-sm);
	padding: 10px 12px;
	width: 100%;
	min-height: 44px;
	transition: border-color .15s ease, box-shadow .15s ease;
	appearance: none;
}

.ti-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236a6c72' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 34px;
}

.ti-field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }

.ti-field input:focus,
.ti-field select:focus,
.ti-field textarea:focus {
	outline: none;
	border-color: var(--ti-brand);
	box-shadow: 0 0 0 .2rem var(--ti-brand-ring);
}

.ti-field small {
	font-size: 12px;
	color: var(--ti-muted);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	line-height: 1.45;
}

.ti-field--inline {
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.ti-field--inline label { white-space: nowrap; }
.ti-field--inline select { min-height: 38px; padding-block: 6px; font-size: 14px; }

.ti-filters__submit { min-height: 44px; }

.ti-more-toggle {
	margin-top: 14px;
	background: none;
	border: none;
	padding: 4px 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ti-brand);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ti-more-toggle::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
}

.ti-more-toggle[aria-expanded="true"]::after {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.ti-filters__extra {
	margin-top: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--ti-line-soft);
	display: grid;
	gap: 18px;
}

.ti-checkgroup { border: none; margin: 0; padding: 0; }

.ti-checkgroup legend {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ti-muted);
	padding: 0;
	margin-bottom: 10px;
}

.ti-checkgroup__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ti-check { position: relative; cursor: pointer; }

.ti-check input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}

.ti-check span {
	display: block;
	padding: 7px 14px;
	border: 1px solid var(--ti-line);
	border-radius: 999px;
	font-size: 13.5px;
	color: var(--ti-ink-soft);
	background: var(--ti-surface);
	transition: all .15s ease;
	user-select: none;
}

.ti-check input:checked + span {
	border-color: var(--ti-brand);
	background: var(--ti-brand-soft);
	color: var(--ti-brand-dark);
	font-weight: 500;
}

.ti-check input:focus-visible + span {
	outline: 2px solid var(--ti-accent);
	outline-offset: 2px;
}

/* ---------- Botões ---------- */

.ti-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	padding: 13px 22px;
	border-radius: var(--ti-radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
	white-space: nowrap;
}

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

.ti-btn--primary {
	background: var(--ti-brand);
	color: #fff;
}

.ti-btn--primary:hover { background: var(--ti-brand-dark); color: #fff; }
.ti-btn--primary:active { background: var(--ti-brand-press); }

.ti-btn--ghost {
	background: var(--ti-surface);
	border-color: var(--ti-line);
	color: var(--ti-ink);
}

.ti-btn--ghost:hover { border-color: var(--ti-brand); color: var(--ti-brand-dark); }

.ti-btn:focus-visible {
	outline: 2px solid var(--ti-brand);
	outline-offset: 2px;
	box-shadow: 0 0 0 .2rem var(--ti-brand-ring);
}

.ti-btn[disabled] { opacity: .55; cursor: not-allowed; }

.ti-link {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ti-brand);
	cursor: pointer;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .15s ease;
}

.ti-link:hover { border-bottom-color: currentColor; color: var(--ti-brand-dark); }
.ti-link--danger { color: var(--ti-danger); }
.ti-link--reset { justify-self: start; }

/* ---------- Resultados ---------- */

.ti-results { margin-top: 32px; }

.ti-results__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ti-line);
	margin-bottom: 24px;
}

.ti-results__count {
	font-size: 14px;
	font-weight: 600;
	color: var(--ti-ink-soft);
}

.ti-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}

/* ---------- Cartão ---------- */

.ti-card {
	display: flex;
	flex-direction: column;
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: var(--ti-radius);
	overflow: hidden;
	box-shadow: var(--ti-shadow);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ti-card:hover {
	border-color: var(--ti-line);
	box-shadow: var(--ti-shadow-hover);
	transform: translateY(-2px);
}

.ti-card:active { transform: translateY(0); }

a.ti-card__media { text-decoration: none; }

.ti-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	padding: 0;
	border: none;
	background: var(--ti-brand-soft);
	cursor: pointer;
	overflow: hidden;
}

.ti-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}

.ti-card:hover .ti-card__media img { transform: scale(1.04); }

.ti-card__noimg {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 13px;
	color: var(--ti-muted);
	letter-spacing: .04em;
}

.ti-tags {
	position: absolute;
	top: 12px; left: 12px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.ti-tag {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--ti-brand-dark);
	backdrop-filter: blur(4px);
}

.ti-tag--locacao   { background: var(--ti-navy); color: #fff; }
.ti-tag--ambos     { background: var(--ti-brand); color: #fff; }
.ti-tag--reservado { background: #3c3331; color: #fff; }

.ti-card__fotos {
	position: absolute;
	bottom: 12px; right: 12px;
	font-size: 11.5px;
	font-weight: 500;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(22, 22, 22, .72);
	color: #fff;
}

.ti-card__body {
	padding: 18px 18px 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ti-card__eyebrow {
	font-size: 12.5px;
	color: var(--ti-muted);
	letter-spacing: .02em;
}

.ti-card__title {
	font-size: 19px;
	line-height: 1.28;
}

.ti-card__title button,
.ti-card__title a {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.ti-card__title button:hover,
.ti-card__title a:hover { color: var(--ti-brand); }

.ti-card__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-top: 2px;
}

.ti-price { display: flex; align-items: baseline; gap: 6px; }

.ti-price__label {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ti-muted);
	font-weight: 600;
}

.ti-price__value {
	font-family: var(--ti-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--ti-ink);
	letter-spacing: -0.01em;
}

.ti-price__suffix { font-size: 13px; color: var(--ti-muted); }

.ti-card__encargos { font-size: 12.5px; color: var(--ti-muted); }

.ti-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: auto;
	padding-top: 12px;
	font-size: 13.5px;
	color: var(--ti-ink-soft);
}

.ti-specs li { display: flex; gap: 4px; }
.ti-specs strong { font-weight: 600; }

.ti-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 18px;
	border-top: 1px solid var(--ti-line-soft);
	background: var(--ti-paper);
}

.ti-ref {
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--ti-muted);
	text-transform: uppercase;
}

/* ---------- Estado vazio / carregar mais / spinner ---------- */

.ti-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 56px 24px;
	background: var(--ti-surface);
	border: 1px dashed var(--ti-line);
	border-radius: var(--ti-radius);
}

.ti-empty h3 { font-size: 22px; margin-bottom: 10px; }

.ti-empty p {
	color: var(--ti-muted);
	max-width: 46ch;
	margin-inline: auto;
	margin-bottom: 20px;
	font-size: 15px;
}

.ti-empty--small { padding: 40px 20px; }

.ti-loadmore { display: flex; justify-content: center; margin-top: 32px; }

.ti-spinner { display: flex; justify-content: center; padding: 28px 0; }

.ti-spinner span {
	width: 26px; height: 26px;
	border: 2px solid var(--ti-line);
	border-top-color: var(--ti-brand);
	border-radius: 50%;
	animation: ti-spin .7s linear infinite;
}

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

.ti-grid.is-loading { opacity: .45; transition: opacity .2s ease; }

/* ---------- Chamada final ---------- */

.ti-cta {
	margin-top: 56px;
	padding: 36px;
	border-radius: var(--ti-radius);
	background: var(--ti-navy);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: center;
	justify-content: space-between;
}

.ti-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.ti-cta p { color: rgba(255, 255, 255, .84); margin-top: 8px; max-width: 46ch; }
.ti-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ti-cta .ti-btn--primary { background: var(--ti-brand); color: #fff; }
.ti-cta .ti-btn--primary:hover { background: var(--ti-brand-dark); color: #fff; }
.ti-cta .ti-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.ti-cta .ti-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Painel lateral de detalhes ---------- */

.ti-drawer { position: fixed; inset: 0; z-index: 99990; }

.ti-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 22, 22, .5);
	backdrop-filter: blur(2px);
	animation: ti-fade .25s ease;
}

@keyframes ti-fade { from { opacity: 0; } }

.ti-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(620px, 100%);
	background: var(--ti-paper);
	box-shadow: var(--ti-shadow-lg);
	overflow-y: auto;
	overscroll-behavior: contain;
	animation: ti-slide .3s cubic-bezier(.2, .7, .2, 1);
	font-family: var(--ti-sans);
	color: var(--ti-ink);
}

@keyframes ti-slide { from { transform: translateX(24px); opacity: 0; } }

.ti-drawer__close {
	/* Sticky sem float: a margem negativa devolve a altura do botão, então o
	   conteúdo começa no topo e o botão fica alinhado à borda da galeria. */
	position: sticky;
	top: 16px;
	display: grid;
	place-items: center;
	margin: 20px 24px -58px auto;
	padding: 0;
	z-index: 3;
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid var(--ti-line);
	background: var(--ti-surface);
	font-size: 22px;
	line-height: 1;
	color: var(--ti-ink);
	cursor: pointer;
	transition: background .15s ease;
}

.ti-drawer__close:hover { background: var(--ti-brand-soft); }

.ti-drawer__content { padding: 24px; }

.ti-drawer__content .ti-detail__head { padding-right: 56px; }

/* ---------- Ficha do imóvel ---------- */

.ti-detail { display: grid; gap: 26px; }

/* No painel lateral os dois grupos (preço+botões / specs+textos) somem e os
   filhos entram direto na grade, com os botões por último. Na página do
   imóvel (ti-home.css) os grupos viram as duas colunas. */
.ti-detail__aside,
.ti-detail__main { display: contents; }

.ti-detail__eyebrow {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ti-muted);
	font-weight: 600;
	margin-bottom: 10px;
}

.ti-detail__title { font-size: clamp(24px, 4vw, 32px); }

.ti-detail__address { margin-top: 8px; color: var(--ti-ink-soft); font-size: 15px; }

.ti-gallery { display: grid; gap: 10px; }

.ti-gallery__stage {
	position: relative;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	border-radius: var(--ti-radius);
	overflow: hidden;
	background: var(--ti-brand-soft);
}

.ti-gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity .28s ease;
	pointer-events: none;
}

.ti-gallery__slide.is-active { opacity: 1; pointer-events: auto; }

.ti-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ti-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px; height: 40px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, .92);
	color: var(--ti-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .15s ease;
}

.ti-gallery__nav:hover { background: #fff; }
.ti-gallery__nav--prev { left: 12px; }
.ti-gallery__nav--next { right: 12px; }

.ti-gallery__counter {
	position: absolute;
	bottom: 12px; right: 12px;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(22, 22, 22, .72);
	color: #fff;
}

.ti-gallery__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--ti-line) transparent;
}

.ti-gallery__thumb {
	flex: 0 0 74px;
	width: 74px; height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	opacity: .65;
	transition: opacity .15s ease, border-color .15s ease;
}

.ti-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ti-gallery__thumb.is-active { opacity: 1; border-color: var(--ti-brand); }
.ti-gallery__thumb:hover { opacity: 1; }

.ti-detail__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	align-items: baseline;
	padding: 20px;
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: var(--ti-radius);
}

.ti-detail__price { display: flex; flex-direction: column; gap: 2px; }

.ti-detail__price strong {
	font-family: var(--ti-display);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.ti-detail__price small { font-size: 14px; color: var(--ti-muted); font-weight: 400; }

.ti-detail__encargos {
	flex-basis: 100%;
	font-size: 13.5px;
	color: var(--ti-muted);
	padding-top: 4px;
	border-top: 1px solid var(--ti-line-soft);
}

.ti-app .ti-detail__specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
	gap: 14px 12px;
	padding: 18px 20px;
	background: var(--ti-surface);
	border: 1px solid var(--ti-line);
	border-radius: var(--ti-radius);
}

.ti-detail__specs li { display: flex; flex-direction: column; gap: 2px; }

.ti-detail__specs strong {
	font-family: var(--ti-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.ti-detail__specs span { font-size: 12.5px; color: var(--ti-muted); }

.ti-detail__text h3 {
	font-size: 18px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ti-line);
}

.ti-detail__text p { color: var(--ti-ink-soft); margin-bottom: 12px; font-size: 15.5px; }

.ti-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ti-chips li {
	font-size: 13.5px;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--ti-brand-soft);
	color: var(--ti-brand-dark);
}

.ti-detail__actions {
	order: 10;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	position: sticky;
	bottom: 0;
	z-index: 2;
	/* Barra fixa de ponta a ponta no rodapé do painel (anula o padding do
	   conteúdo), com fundo sólido para não sobrepor os cards ao rolar. */
	margin: 0 -24px -24px;
	padding: 14px 24px;
	background: var(--ti-paper);
	border-top: 1px solid var(--ti-line);
}

.ti-detail__actions .ti-btn { flex: 1 1 auto; }

/* ---------- Página individual do imóvel ---------- */
/* Segue o padrão da home (topo, dobras e rodapé): regras em ti-home.css. */

/* ---------- Responsivo ---------- */

@media (max-width: 860px) {
	.ti-field--grow { grid-column: span 1; }
	.ti-cta { padding: 28px 22px; }
}

@media (max-width: 560px) {
	.ti-app { padding-inline: 16px; padding-block: 4px 40px; }
	.ti-filters__card { padding: 14px; }
	.ti-filters__row { grid-template-columns: 1fr; gap: 12px; }
	.ti-grid { grid-template-columns: 1fr; gap: 18px; }
	.ti-results__bar { flex-direction: column; align-items: flex-start; }
	.ti-drawer__content { padding: 18px 16px 24px; }
	.ti-drawer__close { margin: 14px 16px -52px auto; }
	.ti-detail__actions { margin: 0 -16px -24px; padding: 12px 16px; }
	.ti-detail__prices { padding: 16px; }
	.ti-app .ti-detail__specs { padding: 16px; grid-template-columns: repeat(3, 1fr); }
	.ti-detail__actions .ti-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ti-app *,
	.ti-drawer__panel,
	.ti-card__media img { animation: none !important; transition: none !important; }
}


/* ==========================================================================
   Blindagem contra o tema
   Temas costumam declarar "img { height: auto }", o que anula o height:100%
   e estraga o recorte das fotos. Posicionar a imagem absolutamente dentro do
   contêiner com proporção fixa não depende do height.
   ========================================================================== */

.ti-app .ti-card__media img,
.ti-app .ti-gallery__slide img,
.ti-app .ti-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.ti-app .ti-table__thumb img,
.ti-app .ti-gallery__thumb img,
.ti-app .ti-sobre__foto img {
	width: 100%;
	object-fit: cover;
	display: block;
}
