/*
 * Skin dark premium das CTNs.
 *
 * Identidade: preto, grafite, turquesa e fotografia premium.
 * Carregado apenas em contexto CTN (ver inc/assets.php).
 */

.ctn-page,
.contorno-page--ctn {
	background: var(--dark-bg);
	color: var(--dark-foreground);
}

/*
 * Links da pele CTN em turquesa — mas NUNCA os botões.
 *
 * Sem o :not(), esta regra (0,2,0) vencia .contorno-btn--primary (0,1,0) e o
 * CTA principal ficava com texto turquesa sobre fundo turquesa: ilegível.
 */
.ctn-page a:not(.contorno-btn),
.contorno-page--ctn a:not(.contorno-btn) {
	color: var(--brand);
}

.ctn-page h1,
.ctn-page h2,
.ctn-page h3,
.contorno-page--ctn h1,
.contorno-page--ctn h2,
.contorno-page--ctn h3 {
	color: #fff;
}

/* ====================================================================
 * Hero CTN — comeca a pagina, com o logo sobre a propria imagem
 * ================================================================== */

.ctn-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: 100svh;
	overflow: hidden;
	background: #000;
	color: #fff;
}

/*
 * Dois gradientes sobrepostos, como no React: um lateral (mais forte à
 * esquerda, onde fica o texto) e um vertical suave. Um único gradiente
 * escuro apagava a fotografia premium.
 */
.ctn-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgb(0 0 0), rgb(0 0 0 / 0.82) 50%, rgb(0 0 0 / 0.35));
}

.ctn-hero__scrim-v {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0), transparent 50%, rgb(0 0 0 / 0.45));
}

.ctn-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding-block: 1.75rem var(--space-14);
	width: 100%;
	min-height: 100svh;
}

@media (min-width: 768px) {
	.ctn-hero__inner {
		padding-block: 2.25rem var(--space-20);
	}
}

/* No computador o veu fica so no lado esquerdo, onde esta o texto; o lado direito da foto fica sem nenhum overlay. */
@media (min-width: 768px) {
	.ctn-hero__scrim {
		background: linear-gradient(to right, rgb(0 0 0 / 0.96), rgb(0 0 0 / 0.9) 50%, rgb(0 0 0 / 0.55) 62%, transparent 78%);
	}

	.ctn-hero__scrim-v {
		-webkit-mask-image: linear-gradient(to right, #000, #000 50%, transparent 78%);
		mask-image: linear-gradient(to right, #000, #000 50%, transparent 78%);
	}

	.ctn-hero--light .ctn-hero__scrim-v {
		background: linear-gradient(to top, rgb(0 0 0 / 0.9), transparent 40%, rgb(0 0 0 / 0.35));
	}
}

/*
 * Hero "foto inteira no topo" (campo "Estilo do hero no celular" da CTN): no celular a
 * foto aparece sem cortes e sem o veu pesado no alto da tela, e o texto fica logo abaixo.
 * No desktop o hero e o mesmo de sempre.
 */
@media (max-width: 767px) {
	.ctn-hero--banner .ctn-hero__media {
		inset: 0 0 auto 0;
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.ctn-hero--banner .ctn-hero__scrim {
		display: none;
	}

	.ctn-hero--banner .ctn-hero__scrim-v {
		inset: 0 0 auto 0;
		aspect-ratio: 3 / 2;
		background: linear-gradient(to bottom, rgb(0 0 0 / 0.3), transparent 25%, transparent 60%, #000);
	}

	.ctn-hero--banner .ctn-hero__body {
		padding-top: calc(100vw * 2 / 3 - 3rem);
	}
}

.ctn-hero__logo-img {
	width: auto;
	height: 3.25rem;
}

@media (min-width: 768px) {
	.ctn-hero__logo-img {
		height: 4rem;
	}
}

/* Conteúdo ancorado embaixo no mobile e centralizado no desktop. */
.ctn-hero__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: var(--space-10);
}

@media (min-width: 768px) {
	.ctn-hero__body {
		justify-content: center;
		padding-top: var(--space-16);
	}
}

.ctn-hero__copy {
	max-width: 48rem;
}

.ctn-hero__kicker {
	margin: var(--space-4) 0 0;
	font-size: var(--text-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgb(255 255 255 / 0.8);
}

.ctn-hero__title {
	margin-top: var(--space-4);
	font-size: var(--text-4xl);
	line-height: 1.05;
}

@media (min-width: 640px) {
	.ctn-hero__title {
		font-size: var(--text-5xl);
	}
}

@media (min-width: 768px) {
	.ctn-hero__title {
		font-size: var(--text-6xl);
	}
}

@media (min-width: 1024px) {
	.ctn-hero__title {
		font-size: 4.5rem;
	}
}

.ctn-hero__subtitle {
	margin-top: var(--space-5);
	font-size: var(--text-base);
	color: rgb(255 255 255 / 0.8);
	max-width: 36rem;
}

@media (min-width: 768px) {
	.ctn-hero__subtitle {
		font-size: var(--text-lg);
	}
}

.ctn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-8);
}

/* Faixa de informações: bairro • cidade • número principal. */
.ctn-hero__facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem var(--space-6);
	margin: var(--space-10) 0 0;
	padding: 0;
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.7);
}

.ctn-hero__facts-sep {
	color: rgb(255 255 255 / 0.35);
}

.ctn-hero__tagline {
	margin-top: var(--space-6);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.55);
}

.ctn-prime-btn {
	box-shadow: 0 0 0 0 rgb(16 184 177 / 0);
	transition:
		transform 200ms var(--motion-ease),
		box-shadow 280ms var(--motion-ease),
		background-color 200ms var(--motion-ease);
}

.ctn-prime-btn:hover {
	box-shadow: 0 10px 24px -14px rgb(16 184 177 / 0.7);
}

/* ====================================================================
 * Secoes CTN
 * ================================================================== */

.ctn-puv,
.ctn-about,
.ctn-brands,
.ctn-equipment,
.ctn-videos,
.ctn-list {
	padding-block: var(--space-20);
	color: #fff;
}

@media (min-width: 768px) {
	.ctn-puv,
	.ctn-about,
	.ctn-brands,
	.ctn-equipment,
	.ctn-videos,
	.ctn-list {
		padding-block: var(--space-28);
	}
}

/* "Sobre": espaco vertical proporcional ao texto (antes herdava o padding das secoes grandes). */
.ctn-about {
	padding-block: var(--space-12);
}

@media (min-width: 768px) {
	.ctn-about {
		padding-block: var(--space-16);
	}
}

.ctn-puv { background: #0a0a0a; }
.ctn-about { background: var(--dark-bg-alt); }
.ctn-brands { background: var(--dark-bg-soft); border-block: 1px solid var(--dark-border); padding-block: var(--space-16); }
.ctn-equipment { background: var(--dark-bg-alt); }
.ctn-videos { background: var(--dark-bg-alt); }
.ctn-list { background: #0a0a0a; }

.ctn-puv__grid,
.ctn-about__grid {
	display: grid;
	gap: var(--space-10);
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 1024px) {
	.ctn-puv__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ctn-about__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
		align-items: start;
	}
}

.ctn-puv__title,
.ctn-about__title {
	font-size: var(--text-3xl);
}

@media (min-width: 768px) {
	.ctn-puv__title,
	.ctn-about__title {
		font-size: var(--text-4xl);
	}
}

.ctn-puv__paragraph,
.ctn-about__paragraph {
	color: rgb(255 255 255 / 0.75);
}

.ctn-puv__extra {
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.55);
}

/* PUV: o equipamento e o protagonista — moldura escura, sem recorte agressivo. */
.ctn-puv__media {
	position: relative;
	margin: 0;
	border: 1px solid var(--dark-border);
	border-radius: var(--radius-2xl);
	overflow: hidden;
	background: #000;
}

.ctn-puv__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.motion-ctn-media img {
	transition:
		transform 500ms var(--motion-ease),
		filter 500ms var(--motion-ease);
}

.motion-ctn:hover .motion-ctn-media img,
.motion-ctn-media:hover img {
	transform: scale(1.03);
	filter: brightness(1.05);
}

/* ---- Numeros ---- */

/* Boxes de destaque centralizados na secao (3 ou 4 boxes), do mesmo tamanho. */
.ctn-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4);
	margin-top: var(--space-14);
}

.ctn-stats__item {
	flex: 1 1 calc(50% - var(--space-2));
	min-width: 0;
	max-width: 20rem;
}

@media (min-width: 768px) {
	.ctn-stats {
		gap: var(--space-6);
	}

	.ctn-stats__item {
		flex: 1 1 0;
		min-width: 11rem;
	}
}

.ctn-stats__item {
	container-type: inline-size;
	padding: var(--space-5);
	border: 1px solid var(--dark-border);
	border-radius: var(--radius-xl);
	background: rgb(255 255 255 / 0.02);
}

@media (max-width: 767px) {
	.ctn-stats__item {
		padding: var(--space-4);
	}
}

/*
 * O destaque pode ser palavra ("Climatizado", "Recovery"), nao so numero: no
 * celular (2 boxes por linha, ~118px uteis) ela nao cabia no tamanho cheio e
 * empurrava a pagina para o lado. O tamanho acompanha a largura do box
 * (15cqi) e nunca passa do original; quebra so como ultimo recurso.
 */
.ctn-stats__item strong {
	display: block;
	font-size: min(var(--text-3xl), 15cqi);
	overflow-wrap: anywhere;
	color: var(--brand);
	line-height: 1.1;
}

.ctn-stats__item span {
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.7);
}

/* ---- Sobre: video vertical 9:16 ---- */

.ctn-about__video {
	margin: 0;
	/*
	 * Largura explicita: com margin-inline:auto o item do grid encolhe ao conteudo e,
	 * sem legenda (ex.: CTN Divinopolis), a caixa 9:16 colapsava para 0x0 e a
	 * miniatura (lazy) nunca carregava.
	 */
	width: 100%;
	max-width: 22rem;
	margin-inline: auto;
}

@media (min-width: 1024px) {
	.ctn-about__video {
		margin-inline: 0;
		justify-self: end;
	}
}

.ctn-about__video .contorno-video {
	--contorno-video-ratio: 9 / 16;
}

.ctn-about__video-el {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	border-radius: var(--radius-xl);
	background: #000;
}

.ctn-about__caption {
	margin-top: var(--space-3);
	font-size: var(--text-xs);
	color: rgb(255 255 255 / 0.55);
	text-align: center;
}

.ctn-about__features {
	/* Distribuicao em grade: .contorno-attr-grid (components.css). Aqui so o respiro e o tamanho do item. */
	--attr-item-max: 8.5rem;
	margin-top: var(--space-6);
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.ctn-about__features {
		--attr-item-max: 9.5rem;
	}
}

@media (min-width: 1024px) {
	.ctn-about__features {
		--attr-item-max: 10rem;
	}
}

.ctn-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	text-align: center;
	cursor: default;
	transition: transform var(--motion-hover) var(--motion-ease);
}

.ctn-feature-icon {
	display: inline-flex;
	/* Folga em volta do icone sem mexer no alinhamento: o fundo turquesa do hover cresce dentro dela. */
	padding: 0.3rem;
	margin: -0.3rem;
	border-radius: 999px;
	color: var(--brand);
	transition:
		transform var(--motion-hover) var(--motion-ease),
		color var(--motion-hover) var(--motion-ease),
		background-color var(--motion-hover) var(--motion-ease);
}

.ctn-feature-icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.ctn-feature-label {
	text-wrap: balance;
	line-height: 1.3;
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.8);
	transition: color var(--motion-hover) var(--motion-ease);
}

/* Hover: o item sobe um pouco, o icone vira um selo turquesa e o texto clareia (sem rosa). */
.ctn-feature:hover {
	transform: translateY(-2px);
}

.ctn-feature:hover .ctn-feature-icon {
	transform: scale(1.08);
	background-color: var(--brand);
	color: #04201f;
}

.ctn-feature:hover .ctn-feature-label {
	color: #fff;
}

/* ---- Marcas ---- */

.ctn-brands__head {
	margin-bottom: var(--space-10);
}

.ctn-brands__title {
	font-size: var(--text-2xl);
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.ctn-brands__title {
		font-size: var(--text-4xl);
	}
}

.ctn-brands__subtitle {
	margin: 0.75rem 0 0;
	font-size: var(--text-sm);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgb(255 255 255 / 0.55);
}

.ctn-brands__grid {
	display: grid;
	gap: var(--space-8);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
}

@media (min-width: 640px) {
	.ctn-brands__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.ctn-brands__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--space-10);
	}
}

.ctn-brands__item img {
	width: 100%;
	max-height: 3rem;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.75;
	transition: opacity var(--motion-hover) var(--motion-ease);
}

.ctn-brands__item:hover img {
	opacity: 1;
}

/* ---- Equipamentos ---- */

.ctn-equipment__item {
	display: grid;
	gap: var(--space-8);
	grid-template-columns: 1fr;
	align-items: center;
	padding-block: var(--space-10);
	border-bottom: 1px solid var(--dark-border);
}

.ctn-equipment__item:last-child {
	border-bottom: 0;
}

@media (min-width: 1024px) {
	.ctn-equipment__item {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ctn-equipment__item:nth-child(even) .ctn-equipment__media {
		order: -1;
	}
}

.ctn-equipment__copy h3 {
	font-size: var(--text-2xl);
}

.ctn-equipment__copy p {
	color: rgb(255 255 255 / 0.72);
}

.ctn-equipment__media {
	margin: 0;
	border: 1px solid var(--dark-border);
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.ctn-equipment__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ---- Videos: 1 principal + box vertical "Ver mais" ---- */

.ctn-videos__grid {
	display: grid;
	gap: var(--space-5);
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 1024px) {
	.ctn-videos__grid {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	}
}

/* Box "VER MAIS" como CTNFeaturedVideo.tsx: gradiente escuro, borda turquesa, link no rodape. */
.ctn-videos__more {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	gap: var(--space-2);
	padding: var(--space-6);
	border: 1px solid rgb(16 184 177 / 0.4);
	border-radius: var(--radius-2xl);
	background: linear-gradient(180deg, #0d2a28 0%, #0a0a0a 100%);
	color: #fff;
	text-align: left;
	overflow: hidden;
	transition: border-color 300ms var(--motion-ease), transform 300ms var(--motion-ease);
}

.ctn-videos__more:hover {
	border-color: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.ctn-videos__more::after {
	content: "";
	position: absolute;
	top: -2rem;
	right: -2rem;
	width: 8rem;
	height: 8rem;
	border-radius: 999px;
	background: rgb(16 184 177 / 0.15);
	filter: blur(24px);
	pointer-events: none;
}

.ctn-videos__more-eyebrow {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--brand);
}

.ctn-videos__more h3 {
	margin: 0.25rem 0 0;
	font-size: var(--text-2xl);
	font-weight: 700;
	color: #fff;
}

.ctn-videos__more p {
	margin: 0;
	font-size: var(--text-sm);
	line-height: 1.6;
	color: rgb(255 255 255 / 0.65);
}

.ctn-videos__more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	align-self: stretch;
	margin-top: auto;
	padding: 1rem 1.25rem;
	border: 1px solid var(--brand);
	border-radius: var(--radius-xl);
	font-size: var(--text-base);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--brand);
	transition: background-color 300ms var(--motion-ease), color 300ms var(--motion-ease);
}

.ctn-videos__more:hover .ctn-videos__more-link {
	background: var(--brand);
	color: #04201f;
}

.ctn-videos__more-icon {
	width: 1.25rem;
	height: 1.25rem;
	transition: transform 300ms var(--motion-ease);
}

.ctn-videos__more:hover .ctn-videos__more-icon {
	transform: translateX(4px);
}

/* ---- Hub: cards de CTN ---- */

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

@media (min-width: 768px) {
	.ctn-list__grid.is-columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ctn-list__grid.is-columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ctn-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--dark-border);
	border-radius: var(--radius-2xl);
	overflow: hidden;
	background: var(--dark-surface);
}

.ctn-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ctn-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.ctn-card__body h3 {
	margin: 0;
	font-size: var(--text-2xl);
}

.ctn-card__highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.72);
}

.ctn-card__highlights li {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
}

.ctn-card__check {
	width: 1rem;
	height: 1rem;
	flex: none;
	margin-top: 0.2rem;
	color: var(--brand);
}

.ctn-card .contorno-btn {
	margin-top: auto;
}

/* ====================================================================
 * Ajustes dos componentes genericos na pele dark
 * ================================================================== */

.ctn-page .contorno-section.is-tone-ctn,
.contorno-page--ctn .contorno-section.is-tone-ctn {
	background: var(--dark-bg);
}

.ctn-page .contorno-plan,
.contorno-page--ctn .contorno-plan {
	background: var(--dark-surface);
	/* Moldura turquesa discreta tambem no escuro; o destaque segue com 2px. */
	border-color: rgb(16 184 177 / 0.42);
}

.ctn-page .contorno-plan__price,
.contorno-page--ctn .contorno-plan__price {
	color: #fff;
}

/* Plano em destaque na pele dark: mesma faixa e borda, tom turquesa sobre o escuro. */
.ctn-page .contorno-plan.is-highlight,
.contorno-page--ctn .contorno-plan.is-highlight {
	border-color: var(--brand, #10b8b1);
	background:
		linear-gradient(180deg, rgb(16 184 177 / 0.2) 0, rgb(16 184 177 / 0) 11rem),
		var(--dark-surface);
}

.ctn-page .contorno-plan.is-highlight .contorno-plan__price,
.contorno-page--ctn .contorno-plan.is-highlight .contorno-plan__price {
	color: #fff;
}

.ctn-page .contorno-gallery__item,
.contorno-page--ctn .contorno-gallery__item {
	background: #000;
}

.ctn-page .contorno-location__map,
.contorno-page--ctn .contorno-location__map {
	border-color: var(--dark-border);
}

.ctn-page .contorno-location__hours li,
.contorno-page--ctn .contorno-location__hours li {
	border-bottom-color: var(--dark-border);
}

@media (prefers-reduced-motion: reduce) {
	.ctn-feature,
	.ctn-feature-icon,
	.ctn-prime-btn,
	.motion-ctn-media img {
		transform: none !important;
		transition: none !important;
	}
}
/* CTA das CTNs ("Pronto para treinar em outro nivel?" e o final): botao maior e mais evidente. */
.ctn-page .contorno-final-cta.is-tone-ctn .contorno-final-cta__inner .contorno-btn {
	min-width: min(100%, 24rem);
	min-height: 4rem;
	padding: 1.2rem 2.75rem;
	font-size: var(--text-base);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

/* Planos na CTN: sem o brilho rosa no hover (o rosa e assinatura das unidades). */
.ctn-page .contorno-plan.motion-card:hover {
	box-shadow: var(--shadow-card, 0 18px 40px -20px rgb(0 0 0 / 0.18));
}

.ctn-page .contorno-plan.is-featured.motion-card:hover {
	box-shadow: 0 0 0 1px var(--brand, #10b8b1), var(--shadow-card, 0 18px 40px -20px rgb(0 0 0 / 0.18));
}

/* Hub /ctn — porte fiel do template HTML. */
.ctn-hub {
	background: #000;
	color: #fff;
}

.ctn-hub__eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--brand);
}

.ctn-hub-hero {
	position: relative;
	isolation: isolate;
	min-height: 72svh;
	overflow: hidden;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.ctn-hub-hero__media,
.ctn-hub-hero__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ctn-hub-hero__media {
	object-fit: cover;
	opacity: 0.45;
}

.ctn-hub-hero__scrim {
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.8) 48%, #000);
	z-index: -1;
}

.ctn-hub-hero__inner {
	position: relative;
	display: flex;
	min-height: 72svh;
	flex-direction: column;
	padding-top: 1.75rem;
	padding-bottom: 4rem;
}

.ctn-hub-hero__logo {
	position: relative;
	z-index: 1;
	flex: none;
}

.ctn-hub-hero__logo-img {
	width: 140px;
	height: auto;
	object-fit: contain;
	object-position: left;
}

.ctn-hub-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	max-width: 48rem;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	padding-top: 3rem;
}

.ctn-hub-hero__title {
	margin: 1.25rem 0 0;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: 0;
	color: #fff;
}

.ctn-hub-hero__subtitle {
	max-width: 42rem;
	margin: 1.25rem 0 0;
	font-size: 1rem;
	line-height: 1.65;
	color: rgb(255 255 255 / 0.75);
}

.ctn-hub-hero__button {
	width: max-content;
	height: 3rem;
	margin-top: 2rem;
	padding-inline: 1.75rem;
	border-radius: var(--radius-md);
}

.ctn-hub-puv {
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
	background: #0a0a0a;
	padding-block: 4rem;
}

.ctn-hub-puv__grid {
	display: grid;
	align-items: center;
	gap: 2.5rem;
}

.ctn-hub-puv__title {
	margin: 1rem 0 0;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	color: #fff;
}

.ctn-hub-puv__text {
	max-width: 36rem;
	margin: 1.25rem 0 0;
	font-size: 1rem;
	line-height: 1.75;
	color: rgb(255 255 255 / 0.7);
}

.ctn-hub-puv__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: var(--radius-2xl);
	background: #000;
}

.ctn-hub-puv__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.ctn-hub-search {
	padding-block: 3.5rem 5rem;
}

.ctn-hub-search__field {
	max-width: 36rem;
	margin-inline: auto;
}

.ctn-hub-search__field label {
	display: block;
	font-size: var(--text-sm);
	font-weight: 500;
	color: #fff;
}

.ctn-hub-search__control {
	position: relative;
	margin-top: 0.75rem;
}

.ctn-hub-search__icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 1rem;
	height: 1rem;
	transform: translateY(-50%);
	color: rgb(255 255 255 / 0.5);
	pointer-events: none;
}

.ctn-hub-search__field input {
	width: 100%;
	height: 3rem;
	margin-top: 0;
	padding: 0 1rem 0 2.75rem;
	border: 1px solid rgb(255 255 255 / 0.15);
	border-radius: var(--radius-xl);
	background: rgb(255 255 255 / 0.04);
	color: #fff;
	font: inherit;
}

.ctn-hub-search__field input::placeholder {
	color: rgb(255 255 255 / 0.4);
}

.ctn-hub-search__field input:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

.ctn-hub-grid {
	display: grid;
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.ctn-hub-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: var(--radius-xl);
	background: #141414;
	transition: transform 300ms var(--motion-ease), border-color 300ms var(--motion-ease), box-shadow 300ms var(--motion-ease);
}

/* display:flex acima venceria o atributo hidden da busca. */
.ctn-hub-card[hidden] {
	display: none;
}

.ctn-hub-card:hover {
	transform: translateY(-2px);
	border-color: rgb(16 184 177 / 0.7);
	box-shadow: 0 20px 50px -28px rgb(16 184 177 / 0.55);
}

.ctn-hub-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #0a0a0a;
}

.ctn-hub-card__media img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	transition: transform 300ms var(--motion-ease);
}

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

.ctn-hub-card__media span {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	border-radius: var(--radius-sm);
	background: var(--brand);
	padding: 0.25rem 0.625rem;
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #fff;
}

.ctn-hub-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.25rem;
}

.ctn-hub-card h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.ctn-hub-card__location {
	display: flex;
	align-items: flex-start;
	gap: 0.375rem;
	margin: 0.5rem 0 0;
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.65);
}

.ctn-hub-card__location svg {
	width: 1rem;
	height: 1rem;
	flex: none;
	margin-top: 0.125rem;
	color: var(--brand);
}

.ctn-hub-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.ctn-hub-card li {
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: var(--radius-sm);
	background: rgb(255 255 255 / 0.03);
	padding: 0.25rem 0.625rem;
	font-size: var(--text-xs);
	color: rgb(255 255 255 / 0.75);
}

.ctn-hub-card__button {
	width: 100%;
	height: 2.75rem;
	margin-top: auto;
	border-radius: var(--radius-md);
}

/* Respiro entre os atributos (ou a localizacao) e o CTA; o margin-top:auto
   do botao continua alinhando os CTAs na base dos cards. */
.ctn-hub-card__body > :nth-last-child(2) {
	margin-bottom: 1.75rem;
}

.ctn-hub-search__notice {
	margin: 2rem 0 0;
	padding: 0.875rem 1rem;
	border-left: 3px solid var(--brand);
	border-radius: var(--radius-md);
	background: rgb(255 255 255 / 0.05);
	font-size: var(--text-sm);
	color: rgb(255 255 255 / 0.8);
}

.ctn-hub-search__empty {
	padding-block: 4rem;
	text-align: center;
	color: rgb(255 255 255 / 0.65);
}

@media (min-width: 640px) {
	.ctn-hub-hero__logo-img {
		width: 168px;
	}

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

@media (min-width: 768px) {
	.ctn-hub-hero,
	.ctn-hub-hero__inner {
		min-height: 78svh;
	}

	.ctn-hub-hero__inner {
		padding-top: 2.25rem;
		padding-bottom: 6rem;
	}

	.ctn-hub-hero__logo-img {
		width: 196px;
	}

	.ctn-hub-hero__title {
		font-size: 3.75rem;
	}

	.ctn-hub-hero__subtitle {
		font-size: 1.125rem;
	}

	.ctn-hub-puv {
		padding-block: 6rem;
	}

	.ctn-hub-puv__title {
		font-size: 3rem;
	}

	.ctn-hub-puv__media img {
		aspect-ratio: 5 / 4;
	}
}

@media (min-width: 1024px) {
	.ctn-hub-puv__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3.5rem;
	}
}

@media (min-width: 1280px) {
	.ctn-hub-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ctn-hub-hero__title {
		font-size: 4.5rem;
	}
}

/* Onde estamos (CTN): texto na esquerda e mapa na direita, com o bloco de texto centralizado na altura do mapa. */
@media (min-width: 1024px) {
	.ctn-page .contorno-location,
	.contorno-page--ctn .contorno-location {
		align-items: center;
	}
}

/* Onde estamos (CTN): o titulo fica na coluna do texto, acima do endereco. */
.ctn-page .contorno-location--split .contorno-section-header {
	margin-bottom: var(--space-6, 1.5rem);
}
