/* NRB Homepage Premium — Hero
 * Renderizado antes de #main pelo hook ignavo_after_main_header.
 */

body.nrb-premium-homepage-active .nrb-home-hero,
body.nrb-premium-homepage-active .nrb-home-hero *,
body.nrb-premium-homepage-active .nrb-home-hero *::before,
body.nrb-premium-homepage-active .nrb-home-hero *::after {
	box-sizing: border-box;
}

body.nrb-premium-homepage-active .nrb-home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 520px;
	padding: 58px 0 62px;
	background:
		linear-gradient(110deg, rgba(4, 12, 25, .98) 0%, rgba(7, 18, 36, .96) 51%, rgba(11, 30, 66, .96) 100%);
	color: #ffffff;
}

body.nrb-premium-homepage-active .nrb-home-hero__visual,
body.nrb-premium-homepage-active .nrb-home-hero__grid,
body.nrb-premium-homepage-active .nrb-home-hero__orb {
	position: absolute;
	pointer-events: none;
}

body.nrb-premium-homepage-active .nrb-home-hero__visual {
	inset: 0;
	z-index: -1;
}

body.nrb-premium-homepage-active .nrb-home-hero__grid {
	inset: 0;
	opacity: .25;
	background-image:
		linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to right, transparent, #000 42%, #000);
}

body.nrb-premium-homepage-active .nrb-home-hero__orb {
	border-radius: 999px;
	filter: blur(16px);
}

body.nrb-premium-homepage-active .nrb-home-hero__orb--one {
	top: -140px;
	right: 3%;
	width: 480px;
	height: 480px;
	background: rgba(37, 99, 235, .18);
}

body.nrb-premium-homepage-active .nrb-home-hero__orb--two {
	bottom: -230px;
	left: -80px;
	width: 470px;
	height: 470px;
	background: rgba(109, 40, 217, .18);
}

body.nrb-premium-homepage-active .nrb-home-hero__shell {
	width: min(1440px, calc(100% - 56px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(330px, .72fr) minmax(650px, 1.28fr);
	align-items: center;
	gap: 60px;
}

body.nrb-premium-homepage-active .nrb-home-hero__copy {
	max-width: 510px;
}

body.nrb-premium-homepage-active .nrb-home-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	margin-bottom: 18px;
	border: 1px solid rgba(96, 165, 250, .34);
	border-radius: 999px;
	background: rgba(37, 99, 235, .13);
	color: #a9caff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
}

body.nrb-premium-homepage-active .nrb-home-hero__title {
	margin: 0;
	color: #ffffff;
	font-family: Poppins, Inter, Arial, sans-serif;
	font-size: clamp(42px, 4.4vw, 66px);
	font-weight: 780;
	line-height: 1.02;
	letter-spacing: -.05em;
}

body.nrb-premium-homepage-active .nrb-home-hero__lead {
	max-width: 500px;
	margin: 22px 0 0;
	color: #c7d4e6;
	font-size: 16px;
	line-height: 1.65;
}

body.nrb-premium-homepage-active .nrb-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta,
body.nrb-premium-homepage-active .nrb-home-hero__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none !important;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta {
	gap: 10px;
	padding: 0 20px;
	background: linear-gradient(135deg, #2f6df6, #1557d5);
	color: #ffffff !important;
	box-shadow: 0 14px 30px rgba(37, 99, 235, .27);
}

body.nrb-premium-homepage-active .nrb-home-hero__link {
	padding: 0 6px;
	color: #d7e3f5 !important;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	color: #aebed3;
	font-size: 12px;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof li {
	position: relative;
	padding-left: 17px;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #53d49a;
	font-weight: 900;
}

body.nrb-premium-homepage-active .nrb-home-search-card {
	min-width: 0;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 16px;
	background: rgba(255, 255, 255, .97);
	color: #111827;
	box-shadow: 0 26px 72px rgba(1, 8, 23, .32);
	backdrop-filter: blur(16px);
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

body.nrb-premium-homepage-active .nrb-home-search-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #eaf1ff;
	color: #2563eb;
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading strong,
body.nrb-premium-homepage-active .nrb-home-search-card__heading span {
	display: block;
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading strong {
	font-size: 15px;
	font-weight: 800;
	color: #111827;
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading span {
	margin-top: 2px;
	color: #7c8798;
	font-size: 11px;
}

body.nrb-premium-homepage-active .nrb-home-search-form {
	display: grid;
	grid-template-columns: .72fr 1fr 1fr 1.2fr 1.25fr auto;
	align-items: end;
	gap: 10px;
}

body.nrb-premium-homepage-active .nrb-home-search-field {
	min-width: 0;
}

body.nrb-premium-homepage-active .nrb-home-search-field label {
	display: block;
	margin: 0 0 6px;
	color: #667085;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .045em;
	text-transform: uppercase;
}

body.nrb-premium-homepage-active .nrb-home-search-field input {
	display: block;
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	background: #ffffff;
	color: #182033;
	font-size: 12px;
	outline: 0;
	box-shadow: none;
}

body.nrb-premium-homepage-active .nrb-home-search-field input:focus {
	border-color: #5b8cf7;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

body.nrb-premium-homepage-active .nrb-home-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 43px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #2f6df6, #1557d5);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
}

body.nrb-premium-homepage-active .nrb-home-ai-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 12px;
	color: #8993a4;
	font-size: 10.5px;
}

body.nrb-premium-homepage-active .nrb-home-ai-divider::before,
body.nrb-premium-homepage-active .nrb-home-ai-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e3e8f0;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot {
	min-height: 82px;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot > p {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 82px;
	margin: 0;
	border: 1px dashed #d6deea;
	border-radius: 10px;
	color: #8d97a7;
	font-size: 12px;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-search-bar--home {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 11px !important;
	overflow: hidden !important;
	box-shadow: none !important;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-search-inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 14px !important;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-powered {
	top: 7px !important;
	right: 10px !important;
	transform: scale(.82);
	transform-origin: top right;
	opacity: .64;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-badge {
	margin-bottom: 8px !important;
}

@media (max-width: 1250px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: .62fr 1.38fr;
		gap: 38px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-form {
		grid-template-columns: repeat(3, 1fr);
	}

	body.nrb-premium-homepage-active .nrb-home-search-submit {
		width: 100%;
	}
}

@media (max-width: 1023px) {
	body.nrb-premium-homepage-active .nrb-home-hero {
		padding: 42px 0 48px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		width: min(100% - 36px, 900px);
		grid-template-columns: 1fr;
		gap: 34px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__copy {
		max-width: 700px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-form {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active .nrb-home-hero {
		padding: 34px 0 38px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		width: min(100% - 24px, 560px);
	}

	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: 38px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__lead {
		font-size: 14px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__cta,
	body.nrb-premium-homepage-active .nrb-home-hero__link {
		width: 100%;
	}

	body.nrb-premium-homepage-active .nrb-home-search-card {
		padding: 16px;
		border-radius: 13px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-form {
		grid-template-columns: 1fr;
	}

	body.nrb-premium-homepage-active .nrb-home-search-submit {
		height: 46px;
	}
}


/* ==========================================================
   NRB HOMEPAGE PREMIUM — V2 FINAL
   Remove duplicações e afina dimensões, leitura e conversão.
   ========================================================== */

body.nrb-premium-homepage-active .nrb-home-hidden-original-hero,
body.nrb-premium-homepage-active .nrb-home-hidden-duplicate-search {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* Hero mais compacto e proporcional ao cabeçalho */
body.nrb-premium-homepage-active .nrb-home-hero {
	min-height: 472px;
	padding: 46px 0 50px;
}

body.nrb-premium-homepage-active .nrb-home-hero__shell {
	grid-template-columns: minmax(350px, .78fr) minmax(620px, 1.22fr);
	gap: 52px;
}

body.nrb-premium-homepage-active .nrb-home-hero__copy {
	max-width: 500px;
}

body.nrb-premium-homepage-active .nrb-home-hero__eyebrow {
	min-height: 26px;
	padding-inline: 11px;
	margin-bottom: 16px;
	font-size: 10.5px;
}

body.nrb-premium-homepage-active .nrb-home-hero__title {
	max-width: 500px;
	font-size: clamp(42px, 3.7vw, 58px);
	line-height: 1.045;
	letter-spacing: -.047em;
	text-wrap: balance;
}

body.nrb-premium-homepage-active .nrb-home-hero__lead {
	max-width: 470px;
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.58;
}

body.nrb-premium-homepage-active .nrb-home-hero__actions {
	gap: 12px;
	margin-top: 24px;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta,
body.nrb-premium-homepage-active .nrb-home-hero__link {
	gap: 9px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 8px;
	font-size: 12.5px;
}

body.nrb-premium-homepage-active .nrb-home-hero__link {
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(255,255,255,.055);
	color: #eef5ff !important;
}

body.nrb-premium-homepage-active .nrb-home-hero__link:hover {
	border-color: rgba(255,255,255,.28);
	background: rgba(255,255,255,.09);
}

body.nrb-premium-homepage-active .nrb-home-hero__proof {
	gap: 10px 18px;
	margin-top: 22px;
	font-size: 11.5px;
}

/* Painel mais leve e menos alto */
body.nrb-premium-homepage-active .nrb-home-search-card {
	padding: 20px;
	border-radius: 14px;
	box-shadow: 0 22px 58px rgba(1, 8, 23, .28);
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading {
	gap: 11px;
	margin-bottom: 15px;
}

body.nrb-premium-homepage-active .nrb-home-search-card__icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading strong {
	font-size: 14px;
}

body.nrb-premium-homepage-active .nrb-home-search-card__heading span {
	font-size: 10.5px;
}

body.nrb-premium-homepage-active .nrb-home-search-form {
	grid-template-columns: .7fr 1fr 1fr 1.2fr 1.22fr auto;
	gap: 9px;
}

body.nrb-premium-homepage-active .nrb-home-search-field label {
	margin-bottom: 5px;
	font-size: 9px;
}

body.nrb-premium-homepage-active .nrb-home-search-field input {
	height: 40px;
	padding-inline: 11px;
	border-radius: 7px;
	font-size: 11.5px;
}

body.nrb-premium-homepage-active .nrb-home-search-submit {
	height: 40px;
	padding-inline: 15px;
	border-radius: 7px;
	font-size: 11.5px;
}

body.nrb-premium-homepage-active .nrb-home-ai-divider {
	margin: 15px 0 10px;
	font-size: 10px;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot {
	min-height: 0;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-search-bar--home {
	min-height: 0 !important;
	border-radius: 10px !important;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-search-inner {
	padding: 12px !important;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-powered {
	transform: scale(.75);
	opacity: .52;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-badge {
	margin-bottom: 7px !important;
}

/* Evita que o conteúdo antigo reserve espaço depois de ser escondido */
body.nrb-premium-homepage-active #main {
	margin-top: 0 !important;
}

/* Desktop intermédio */
@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: minmax(310px, .7fr) minmax(590px, 1.3fr);
		gap: 38px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: clamp(40px, 4vw, 54px);
	}
}

@media (max-width: 1180px) {
	body.nrb-premium-homepage-active .nrb-home-search-form {
		grid-template-columns: repeat(3, 1fr);
	}

	body.nrb-premium-homepage-active .nrb-home-search-submit {
		width: 100%;
	}
}

@media (max-width: 1023px) {
	body.nrb-premium-homepage-active .nrb-home-hero {
		min-height: 0;
		padding: 38px 0 42px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__copy {
		max-width: 680px;
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: 37px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-card {
		padding: 15px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-form {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================
   NRB HOMEPAGE PREMIUM — V3 10/10
   Pesquisa TP funcional, sem duplicações e com contraste final.
   ========================================================== */

/* A nossa pesquisa experimental deixa de existir: usamos a pesquisa TP real,
   com seletores dependentes e referências válidas. */
body.nrb-premium-homepage-active .nrb-home-search-card__heading,
body.nrb-premium-homepage-active .nrb-home-search-form,
body.nrb-premium-homepage-active .nrb-home-ai-divider {
	display: none !important;
}

body.nrb-premium-homepage-active .nrb-home-hero {
	min-height: 454px;
	padding: 40px 0 44px;
}

body.nrb-premium-homepage-active .nrb-home-hero__shell {
	grid-template-columns: minmax(350px, .8fr) minmax(610px, 1.2fr);
	gap: 48px;
}

body.nrb-premium-homepage-active .nrb-home-hero__title {
	max-width: 485px;
	font-size: clamp(41px, 3.55vw, 56px);
	line-height: 1.045;
	letter-spacing: -.046em;
}

body.nrb-premium-homepage-active .nrb-home-hero__lead {
	max-width: 455px;
	margin-top: 17px;
	color: #d0dbea;
	font-size: 14.5px;
	line-height: 1.58;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta,
body.nrb-premium-homepage-active .nrb-home-hero__link {
	min-height: 47px;
	padding-inline: 19px;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta {
	box-shadow: 0 13px 30px rgba(37, 99, 235, .30);
}

body.nrb-premium-homepage-active .nrb-home-hero__link {
	border-color: rgba(255,255,255,.20);
	background: rgba(255,255,255,.065);
	color: #f4f7fb !important;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof {
	margin-top: 21px;
}

body.nrb-premium-homepage-active .nrb-home-search-card {
	padding: 18px;
	border-radius: 14px;
	background: #f8fafc;
	box-shadow: 0 22px 58px rgba(1, 8, 23, .27);
}

body.nrb-premium-homepage-active .nrb-home-ai-slot {
	min-height: 0;
}

body.nrb-premium-homepage-active .nrb-home-ai-slot > p {
	min-height: 250px;
	background: #ffffff;
	color: #526174;
}

/* Container TP reorganizado */
body.nrb-premium-homepage-active .nrb-home-ai-slot .tp-ai-search-bar--home.nrb-tp-search-combined {
	display: flex !important;
	flex-direction: column !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search {
	order: 1 !important;
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-search-divider {
	order: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #66758a;
	font-size: 10px;
	line-height: 1;
}

body.nrb-premium-homepage-active .nrb-tp-search-divider::before,
body.nrb-premium-homepage-active .nrb-tp-search-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d9e0ea;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search {
	order: 3 !important;
}

/* Contraste e legibilidade da pesquisa avançada TP */
body.nrb-premium-homepage-active .nrb-tp-advanced-search label,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="label"] {
	color: #536176 !important;
	opacity: 1 !important;
	font-weight: 750 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search h2,
body.nrb-premium-homepage-active .nrb-tp-advanced-search h3,
body.nrb-premium-homepage-active .nrb-tp-advanced-search h4,
body.nrb-premium-homepage-active .nrb-tp-advanced-search strong {
	color: #111827 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search p,
body.nrb-premium-homepage-active .nrb-tp-advanced-search small,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="subtitle"] {
	color: #65738a !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input,
body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
	min-height: 41px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input {
	border-color: #cbd5e1 !important;
	background-color: #ffffff !important;
	color: #253247 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search select:focus,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input:focus {
	border-color: #4f82ef !important;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .10) !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search input::placeholder {
	color: #77859a !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
	background: #2563eb !important;
	color: #ffffff !important;
	border-color: #2563eb !important;
	font-weight: 750 !important;
}

/* IA: preservada, apenas refinada */
body.nrb-premium-homepage-active .nrb-tp-ai-search,
body.nrb-premium-homepage-active .nrb-tp-ai-search * {
	opacity: 1;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered {
	transform: scale(.72) !important;
	opacity: .46 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-search-inner {
	padding: 12px !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-search-input,
body.nrb-premium-homepage-active .nrb-tp-ai-search input {
	color: #e7edf8 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search input::placeholder {
	color: #aebbd0 !important;
	opacity: 1 !important;
}

/* Elementos antigos não reservam espaço */
body.nrb-premium-homepage-active .nrb-home-hidden-original-hero {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* Monitor desktop mais estreito */
@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: minmax(310px, .7fr) minmax(570px, 1.3fr);
		gap: 34px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: clamp(39px, 3.8vw, 52px);
	}
}

@media (max-width: 1023px) {
	body.nrb-premium-homepage-active .nrb-home-hero {
		min-height: 0;
		padding: 36px 0 40px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: 36px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-card {
		padding: 12px;
	}
}


/* ==========================================================
   NRB HOMEPAGE PREMIUM — V3.1 MICROAJUSTES FINAIS
   Última ronda: contraste, leitura integral, proporção e conversão.
   ========================================================== */

/* Hero: reforça o H1 e reduz a dominância do painel */
body.nrb-premium-homepage-active .nrb-home-hero {
	min-height: 442px;
	padding: 36px 0 40px;
}

body.nrb-premium-homepage-active .nrb-home-hero__shell {
	grid-template-columns: minmax(370px, .88fr) minmax(560px, 1.12fr);
	gap: 44px;
}

body.nrb-premium-homepage-active .nrb-home-hero__copy {
	max-width: 520px;
}

body.nrb-premium-homepage-active .nrb-home-hero__title {
	max-width: 505px;
	font-size: clamp(42px, 3.7vw, 58px);
	line-height: 1.025;
	letter-spacing: -.048em;
}

body.nrb-premium-homepage-active .nrb-home-hero__lead {
	max-width: 465px;
	color: #dbe5f2;
	font-size: 15px;
	line-height: 1.56;
}

body.nrb-premium-homepage-active .nrb-home-hero__cta {
	min-width: 146px;
	font-weight: 800;
}

body.nrb-premium-homepage-active .nrb-home-hero__link {
	min-width: 168px;
	font-weight: 750;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof {
	gap: 12px 22px;
	color: #c5d1e1;
	font-size: 12px;
	font-weight: 600;
}

body.nrb-premium-homepage-active .nrb-home-hero__proof li::before {
	font-size: 13px;
}

/* Painel: menos massa branca e melhor proporção */
body.nrb-premium-homepage-active .nrb-home-search-card {
	padding: 16px;
	border-color: #dbe3ee;
	background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
	box-shadow: 0 18px 48px rgba(1, 8, 23, .24);
}

/* Pesquisa avançada TP: largura suficiente para mostrar valores completos */
body.nrb-premium-homepage-active .nrb-tp-advanced-search {
	padding: 14px 14px 15px !important;
	border-color: #d7e0eb !important;
	background: #ffffff !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="fields"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="grid"] {
	column-gap: 10px !important;
	row-gap: 9px !important;
}

/* Labels com contraste real */
body.nrb-premium-homepage-active .nrb-tp-advanced-search label,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="label"] {
	color: #3b4758 !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: .035em !important;
	opacity: 1 !important;
}

/* Títulos e subtítulos */
body.nrb-premium-homepage-active .nrb-tp-advanced-search h2,
body.nrb-premium-homepage-active .nrb-tp-advanced-search h3,
body.nrb-premium-homepage-active .nrb-tp-advanced-search h4,
body.nrb-premium-homepage-active .nrb-tp-advanced-search strong {
	color: #0f172a !important;
	font-weight: 800 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search p,
body.nrb-premium-homepage-active .nrb-tp-advanced-search small,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="subtitle"] {
	color: #5c6a7d !important;
	font-weight: 500 !important;
}

/* Campos: texto integral, sem corte visual */
body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input {
	min-width: 0 !important;
	height: 43px !important;
	min-height: 43px !important;
	padding-left: 12px !important;
	padding-right: 30px !important;
	border-color: #c7d2df !important;
	background-color: #ffffff !important;
	color: #1f2937 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-overflow: clip !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search input::placeholder {
	color: #65758a !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

/* Dá mais largura aos campos que estavam a cortar palavras */
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="year"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="ano"] {
	min-width: 92px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="brand"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="marca"] {
	min-width: 108px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="model"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="modelo"] {
	min-width: 112px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="type"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="tipo"] {
	min-width: 126px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="reference"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="referencia"] {
	min-width: 124px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
	min-width: 126px !important;
	height: 43px !important;
	padding-inline: 16px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}

/* Separação clara entre pesquisa avançada e IA */
body.nrb-premium-homepage-active .nrb-tp-search-divider {
	margin: 2px 0 0;
	color: #58687d;
	font-size: 10.5px;
	font-weight: 600;
}

/* IA: posição, contraste e leitura final */
body.nrb-premium-homepage-active .nrb-tp-ai-search {
	border-radius: 11px !important;
	overflow: hidden !important;
	box-shadow: 0 8px 22px rgba(22, 34, 72, .16) !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-search-inner {
	padding: 13px !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-search-input,
body.nrb-premium-homepage-active .nrb-tp-ai-search input {
	color: #f6f8fc !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search input::placeholder {
	color: #d4deee !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered {
	transform: scale(.84) !important;
	opacity: .82 !important;
	filter: none !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered,
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered * {
	color: #d9e3f2 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-badge {
	opacity: 1 !important;
}

/* Garante que os botões da IA mantêm contraste e presença */
body.nrb-premium-homepage-active .nrb-tp-ai-search button {
	font-weight: 800 !important;
	opacity: 1 !important;
}

/* Desktop intermédio */
@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: minmax(330px, .78fr) minmax(540px, 1.22fr);
		gap: 34px;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="type"],
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="tipo"],
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="reference"],
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="referencia"] {
		min-width: 110px !important;
	}
}

@media (max-width: 1180px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: 1fr;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__copy {
		max-width: 650px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-card {
		max-width: 850px;
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active .nrb-home-hero {
		padding: 32px 0 36px;
	}

	body.nrb-premium-homepage-active .nrb-home-hero__title {
		font-size: 36px;
	}

	body.nrb-premium-homepage-active .nrb-home-search-card {
		padding: 10px;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search input,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
		width: 100% !important;
		min-width: 0 !important;
	}
}

/* ==========================================================
   NRB HOMEPAGE PREMIUM — MICROAJUSTES VERDADEIROS FINAIS
   Base: versão estável enviada pelo utilizador.
   Sem alterações de estrutura, PHP, IA ou lógica TP.
   ========================================================== */

/* 1) Painel ligeiramente mais largo para os campos respirarem */
body.nrb-premium-homepage-active .nrb-home-hero__shell {
	grid-template-columns: minmax(360px, .82fr) minmax(650px, 1.18fr) !important;
	gap: 40px !important;
}

/* 2) Pesquisa avançada: grelha mais eficiente e sem texto cortado */
body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
	display: grid !important;
	grid-template-columns:
		minmax(92px, .78fr)
		minmax(104px, .90fr)
		minmax(108px, .95fr)
		minmax(118px, 1.05fr)
		minmax(120px, 1.08fr)
		minmax(118px, auto) !important;
	gap: 8px !important;
	align-items: end !important;
	width: 100% !important;
}

/* 3) Labels: contraste real e leitura imediata */
body.nrb-premium-homepage-active .nrb-tp-advanced-search label,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="label"] {
	color: #334155 !important;
	font-size: 9.5px !important;
	font-weight: 800 !important;
	letter-spacing: .025em !important;
	opacity: 1 !important;
}

/* 4) Selects/inputs: mais espaço útil e tipografia menos lavada */
body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input {
	width: 100% !important;
	min-width: 0 !important;
	height: 42px !important;
	min-height: 42px !important;
	padding-left: 10px !important;
	padding-right: 22px !important;
	border-color: #cbd5e1 !important;
	background-color: #ffffff !important;
	color: #243247 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	opacity: 1 !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search input::placeholder {
	color: #66758a !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

/* 5) Botão ligeiramente mais compacto para libertar largura aos campos */
body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
	min-width: 118px !important;
	height: 42px !important;
	padding-inline: 14px !important;
	font-size: 11.5px !important;
	font-weight: 800 !important;
}

/* 6) Pesquisa IA: texto visível sem mexer na funcionalidade */
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-search-input,
body.nrb-premium-homepage-active .nrb-tp-ai-search input {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search input::placeholder {
	color: #d9e3f2 !important;
	-webkit-text-fill-color: #d9e3f2 !important;
	opacity: 1 !important;
}

/* 7) Texto auxiliar da IA com contraste suficiente */
body.nrb-premium-homepage-active .nrb-tp-ai-search p,
body.nrb-premium-homepage-active .nrb-tp-ai-search small {
	color: #b9c7da !important;
	opacity: 1 !important;
}

/* 8) Greenparts: legível, mas discreto */
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered {
	display: inline-flex !important;
	align-items: center !important;
	visibility: visible !important;
	opacity: .92 !important;
	transform: scale(.86) !important;
	transform-origin: top right !important;
	padding: 4px 8px !important;
	border: 1px solid rgba(255,255,255,.12) !important;
	border-radius: 999px !important;
	background: rgba(4, 13, 31, .58) !important;
	filter: none !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered,
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered * {
	color: #edf3fb !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered img {
	opacity: 1 !important;
	filter: none !important;
}

/* 9) Mantém o painel equilibrado sem alterar ordem ou estrutura */
body.nrb-premium-homepage-active .nrb-home-search-card {
	padding: 15px !important;
	background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
}

/* 10) Desktop intermédio */
@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: minmax(330px, .76fr) minmax(590px, 1.24fr) !important;
		gap: 32px !important;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
		grid-template-columns:
			minmax(84px, .72fr)
			minmax(96px, .85fr)
			minmax(100px, .90fr)
			minmax(108px, 1fr)
			minmax(110px, 1.02fr)
			minmax(112px, auto) !important;
		gap: 7px !important;
	}
}

/* 11) Tablet/mobile preservados */
@media (max-width: 1120px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: 1fr !important;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
		grid-template-columns: 1fr !important;
	}
}


/* ==========================================================
   NRB HOMEPAGE PREMIUM — AJUSTE FINAL 0,01%
   Apenas: largura dos campos, contraste e Greenparts.
   ========================================================== */

/* Dá mais largura útil à pesquisa sem alterar a estrutura do hero */
body.nrb-premium-homepage-active .nrb-home-hero__shell {
	grid-template-columns: minmax(350px, .76fr) minmax(690px, 1.24fr) !important;
	gap: 34px !important;
}

/* Grelha final: campos maiores e botão menor */
body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
	grid-template-columns:
		minmax(100px, .86fr)
		minmax(112px, .98fr)
		minmax(116px, 1fr)
		minmax(128px, 1.10fr)
		minmax(136px, 1.16fr)
		104px !important;
	gap: 8px !important;
}

/* Labels mais fortes e menos lavadas */
body.nrb-premium-homepage-active .nrb-tp-advanced-search label,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="label"] {
	color: #263447 !important;
	font-size: 9.5px !important;
	font-weight: 850 !important;
	letter-spacing: .02em !important;
	opacity: 1 !important;
}

/* Valores completos: menos padding lateral e tipografia otimizada */
body.nrb-premium-homepage-active .nrb-tp-advanced-search select,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input {
	height: 42px !important;
	min-height: 42px !important;
	padding-left: 9px !important;
	padding-right: 17px !important;
	color: #263447 !important;
	font-size: 10.5px !important;
	font-weight: 650 !important;
	letter-spacing: -.01em !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
	overflow: visible !important;
}

/* Placeholder mais escuro */
body.nrb-premium-homepage-active .nrb-tp-advanced-search input::placeholder {
	color: #53657a !important;
	font-size: 10.5px !important;
	font-weight: 550 !important;
	opacity: 1 !important;
}

/* Botão menor para libertar espaço aos campos */
body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
	width: 104px !important;
	min-width: 104px !important;
	max-width: 104px !important;
	height: 42px !important;
	padding-inline: 10px !important;
	font-size: 10.75px !important;
	gap: 6px !important;
}

/* Greenparts realmente visível, mas ainda discreto */
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered {
	transform: scale(.94) !important;
	opacity: 1 !important;
	padding: 5px 10px !important;
	border: 1px solid rgba(255,255,255,.18) !important;
	background: rgba(3, 11, 28, .82) !important;
	box-shadow: 0 3px 10px rgba(0,0,0,.18) !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered,
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered * {
	color: #f4f7fb !important;
	opacity: 1 !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered img {
	opacity: 1 !important;
	filter: brightness(1.22) contrast(1.25) saturate(1.35) !important;
}

/* Mantém desktop intermédio sem esmagar texto */
@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-home-hero__shell {
		grid-template-columns: minmax(320px, .70fr) minmax(650px, 1.30fr) !important;
		gap: 28px !important;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
		grid-template-columns:
			minmax(94px, .82fr)
			minmax(104px, .92fr)
			minmax(108px, .95fr)
			minmax(118px, 1.04fr)
			minmax(126px, 1.10fr)
			100px !important;
		gap: 7px !important;
	}

	body.nrb-premium-homepage-active .nrb-tp-advanced-search button {
		width: 100px !important;
		min-width: 100px !important;
		max-width: 100px !important;
	}
}


/* ==========================================================
   FECHO REAL — últimos dois pontos objetivos
   1) referência sem corte
   2) Greenparts realmente legível
   ========================================================== */

/* Liberta mais espaço para a referência sem voltar a aumentar o botão */
body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
	grid-template-columns:
		minmax(96px, .82fr)
		minmax(108px, .94fr)
		minmax(112px, .98fr)
		minmax(122px, 1.05fr)
		minmax(150px, 1.22fr)
		104px !important;
}

/* A referência passa a mostrar mais texto útil */
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="reference"],
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="referencia"] {
	min-width: 150px !important;
}

body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="reference"] input,
body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="referencia"] input,
body.nrb-premium-homepage-active .nrb-tp-advanced-search input[name*="refer"] {
	padding-right: 10px !important;
	font-size: 10.5px !important;
}

/* Greenparts: deixa de ser cinzento sobre cinzento */
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered {
	top: 8px !important;
	right: 10px !important;
	transform: none !important;
	opacity: 1 !important;
	padding: 5px 10px !important;
	border: 1px solid rgba(255,255,255,.16) !important;
	border-radius: 999px !important;
	background: #0b1730 !important;
	box-shadow: 0 3px 10px rgba(0,0,0,.22) !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered,
body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered * {
	color: #ffffff !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

body.nrb-premium-homepage-active .nrb-tp-ai-search .tp-ai-powered img {
	opacity: 1 !important;
	filter: brightness(1.45) contrast(1.35) saturate(1.5) !important;
}

@media (max-width: 1365px) {
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form,
	body.nrb-premium-homepage-active .nrb-tp-advanced-search form:has(select),
	body.nrb-premium-homepage-active .nrb-tp-advanced-search [class*="form"]:has(select) {
		grid-template-columns:
			minmax(92px, .80fr)
			minmax(102px, .90fr)
			minmax(106px, .94fr)
			minmax(116px, 1fr)
			minmax(138px, 1.18fr)
			100px !important;
	}
}

/* ==========================================================
   NRB — GREENPARTS VISIBILIDADE FINAL
   Seletor corrigido para o elemento real: o selo é filho direto
   de .tp-ai-search-bar--home e irmão de .tp-ai-search-inner.
   Mantém o tamanho atual; melhora apenas contraste e nitidez.
   ========================================================== */

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home {
	overflow: visible !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;

	position: absolute !important;
	top: 8px !important;
	right: 10px !important;
	z-index: 40 !important;

	width: auto !important;
	min-width: 154px !important;
	max-width: none !important;
	height: 30px !important;
	min-height: 30px !important;
	padding: 0 13px !important;

	border: 1px solid rgba(255, 255, 255, .30) !important;
	border-radius: 999px !important;
	background: #07162f !important;
	background-color: #07162f !important;
	box-shadow:
		0 5px 15px rgba(0, 0, 0, .34),
		inset 0 1px 0 rgba(255, 255, 255, .08) !important;

	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: .045em !important;
	white-space: nowrap !important;

	opacity: 1 !important;
	visibility: visible !important;
	filter: none !important;
	mix-blend-mode: normal !important;
	transform: none !important;
	transform-origin: center !important;

	transition:
		transform .20s ease,
		background-color .20s ease,
		border-color .20s ease,
		box-shadow .20s ease !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered,
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered * {
	opacity: 1 !important;
	visibility: visible !important;
	color: #ffffff !important;
	text-shadow: none !important;
	mix-blend-mode: normal !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered img,
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered svg {
	display: block !important;
	width: auto !important;
	max-width: 112px !important;
	height: 16px !important;
	max-height: 16px !important;
	opacity: 1 !important;
	filter:
		brightness(1.70)
		contrast(1.45)
		saturate(1.65)
		drop-shadow(0 0 2px rgba(159, 232, 76, .24)) !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered:hover {
	transform: scale(1.10) !important;
	background: #0a2147 !important;
	border-color: rgba(255, 255, 255, .46) !important;
	box-shadow:
		0 10px 24px rgba(0, 0, 0, .40),
		0 0 0 3px rgba(37, 99, 235, .10),
		inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered:focus-visible {
	outline: 2px solid #60a5fa !important;
	outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered {
		transition: none !important;
	}

	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered:hover {
		transform: none !important;
	}
}

@media (max-width: 640px) {
	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered {
		min-width: 132px !important;
		height: 28px !important;
		min-height: 28px !important;
		padding-inline: 11px !important;
	}

	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered img,
	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered svg {
		max-width: 98px !important;
		height: 14px !important;
		max-height: 14px !important;
	}

	body.nrb-premium-homepage-active
	.nrb-home-ai-slot
	.tp-ai-search-bar--home > .tp-ai-powered:hover {
		transform: scale(1.06) !important;
	}
}

/* ==========================================================
   NRB — FECHO FINAL DO BLOCO DE PESQUISA
   Microajustes isolados: labels, referência, texto auxiliar IA
   e contraste Greenparts. Não altera dimensões nem estrutura.
   ========================================================== */

/* Labels da pesquisa avançada: contraste final */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-label {
	color: #465569 !important;
	opacity: 1 !important;
	font-weight: 800 !important;
}

/* Campo Referência: mais área útil sem alterar a grelha */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-field[data-tps-cb="ref"]
.tps-adv-cb-input {
	padding-left: 9px !important;
	padding-right: 8px !important;
	font-size: 10.5px !important;
	letter-spacing: -.015em !important;
}

/* Placeholder da referência: legível e intencional */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-field[data-tps-cb="ref"]
.tps-adv-cb-input::placeholder {
	color: #53657a !important;
	opacity: 1 !important;
	font-weight: 550 !important;
}

/* Texto auxiliar da IA */
body.nrb-premium-homepage-active
.nrb-tp-ai-search
.tp-ai-search-inner p,
body.nrb-premium-homepage-active
.nrb-tp-ai-search
.tp-ai-search-inner small {
	color: #8fa2bc !important;
	opacity: 1 !important;
}

/* Greenparts: apenas mais definição e contraste */
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered {
	border-color: rgba(255, 255, 255, .34) !important;
	background: #06142c !important;
	box-shadow:
		0 5px 15px rgba(0, 0, 0, .36),
		inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered img,
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered svg {
	filter:
		brightness(1.90)
		contrast(1.60)
		saturate(1.75)
		drop-shadow(0 0 2px rgba(159, 232, 76, .28)) !important;
}

/* ==========================================================
   NRB — CORREÇÃO FINAL EXATA
   Baseada no DOM real confirmado pelo browser.
   Apenas Greenparts interno + campo Referência.
   ========================================================== */

/* Texto "Powered by": força preenchimento real e contraste */
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered
.tp-ai-powered-prefix {
	color: #f8fbff !important;
	-webkit-text-fill-color: #f8fbff !important;
	opacity: 1 !important;
	font-size: 9px !important;
	font-weight: 800 !important;
	letter-spacing: .06em !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .25) !important;
}

/* Logótipo Greenparts: nitidez real sem aumentar o selo */
body.nrb-premium-homepage-active
.nrb-home-ai-slot
.tp-ai-search-bar--home > .tp-ai-powered
.tp-ai-powered-logo-img {
	display: block !important;
	width: auto !important;
	max-width: 100px !important;
	height: 15px !important;
	max-height: 15px !important;
	opacity: 1 !important;
	filter:
		brightness(1.75)
		contrast(1.55)
		saturate(1.75)
		drop-shadow(0 0 1.5px rgba(157, 231, 72, .35)) !important;
}

/* Referência: reserva mais largura útil na grelha real */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-grid {
	grid-template-columns:
		minmax(96px, .82fr)
		minmax(108px, .94fr)
		minmax(112px, .98fr)
		minmax(122px, 1.05fr)
		minmax(166px, 1.28fr)
		104px !important;
}

/* Input real da Referência */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-field[data-tps-cb="ref"]
.tps-adv-cb-input {
	width: 100% !important;
	min-width: 0 !important;
	padding-left: 9px !important;
	padding-right: 7px !important;
	font-size: 10.25px !important;
	letter-spacing: -.015em !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
	overflow: hidden !important;
}

/* Placeholder completo e legível */
body.nrb-premium-homepage-active
.nrb-tp-advanced-search
.tps-adv-field[data-tps-cb="ref"]
.tps-adv-cb-input::placeholder {
	color: #53657a !important;
	-webkit-text-fill-color: #53657a !important;
	opacity: 1 !important;
	font-size: 10.25px !important;
	font-weight: 550 !important;
}

@media (max-width: 1365px) {
	body.nrb-premium-homepage-active
	.nrb-tp-advanced-search
	.tps-adv-grid {
		grid-template-columns:
			minmax(92px, .80fr)
			minmax(102px, .90fr)
			minmax(106px, .94fr)
			minmax(116px, 1fr)
			minmax(150px, 1.20fr)
			100px !important;
	}
}

/* NRB — CORREÇÃO FINAL EXATA DA REFERÊNCIA
 * Colar no FIM do homepage.css atual.
 * Baseada no input real:
 * <input class="tps-adv-cb-input" data-tps-name="ref" ...>
 * Não altera mais nenhum componente.
 */

body.nrb-premium-homepage-active
#tps-adv-search-form
input.tps-adv-cb-input[data-tps-name="ref"] {
	width: 100% !important;
	min-width: 0 !important;
	height: 42px !important;
	padding: 0 8px 0 10px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: -0.01em !important;
	line-height: 1.2 !important;
	overflow: hidden !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
}

body.nrb-premium-homepage-active
#tps-adv-search-form
input.tps-adv-cb-input[data-tps-name="ref"]::placeholder {
	color: #53657a !important;
	-webkit-text-fill-color: #53657a !important;
	opacity: 1 !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: -0.01em !important;
}

/* Labels: contraste final sem alterar tamanho nem layout */
body.nrb-premium-homepage-active
#tps-adv-search-form
label.tps-adv-label {
	color: #465569 !important;
	-webkit-text-fill-color: #465569 !important;
	opacity: 1 !important;
	font-weight: 700 !important;
}