/* Rapidinhas – Busca no Header */

/* ---------- Barra de busca (componente) ---------- */
.rbh-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--rbh-search-bg, #f1f1f1);
	border: 1.5px solid transparent;
	border-radius: var(--rbh-search-r, 999px);
	padding: 0 18px;
	height: var(--rbh-search-h, 50px);
	box-sizing: border-box;
	transition: border-color .15s ease, background-color .15s ease;
	margin: 0;
}
.rbh-search:focus-within {
	border-color: var(--rbh-accent, #ff5a1f);
	background: #fff;
}
.rbh-search__btn {
	all: unset;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	cursor: pointer;
	flex: none;
	width: 22px;
	height: 22px;
}
.rbh-search__btn svg { width: 20px; height: 20px; }
.rbh-search:focus-within .rbh-search__btn { color: var(--rbh-accent, #ff5a1f); }
.rbh-search__input {
	all: unset;
	flex: 1;
	min-width: 0;
	height: 100%;
	font-family: inherit;
	font-size: 16px;
	color: var(--rbh-search-color, #111);
	box-sizing: border-box;
}
/* Blindagem contra os estilos de input do tema */
.rbh-search input.rbh-search__input[type="search"] {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	height: 100% !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: normal !important;
	outline: none !important;
	width: auto !important;
}
.rbh-search__input::placeholder { color: #777; opacity: 1; }
.rbh-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rbh-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Header principal em duas linhas (desktop) ---------- */
@media (min-width: 1041px) {
	.mow_fn_header.rbh-on {
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box;
	}
	.mow_fn_header.rbh-on .header_in {
		max-width: var(--rbh-container, 1140px) !important;
		width: 100% !important;
		margin: 0 auto !important;
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		column-gap: 40px;
		row-gap: var(--rbh-row-gap, 4px);
		padding-top: var(--rbh-pad-top, var(--rbh-pad-top-base, 18px));
		padding-bottom: 0;
		transition: padding .2s ease;
	}

	/* Linha 1: logo + busca */
	.mow_fn_header.rbh-on .ht_left {
		order: 1;
		flex: 0 0 auto;
		margin: 0 !important;
		padding: 0 !important;
	}
	.mow_fn_header.rbh-on .fn__logo img {
		height: var(--rbh-logo-h, 52px) !important;
		max-height: none !important;
		width: auto !important;
		max-width: 320px;
		object-fit: contain;
		transition: height .2s ease;
	}
	.mow_fn_header.rbh-on .rbh-search--header {
		order: 2;
		flex: 1 1 0;
		min-width: 0;
	}

	/* Linha 2: menu ocupando a largura toda */
	.mow_fn_header.rbh-on .ht_right {
		order: 4;
		flex: 0 0 100% !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.mow_fn_header.rbh-on .ht_right_item_nav,
	.mow_fn_header.rbh-on .mow_fn_nav,
	.mow_fn_header.rbh-on .mow_fn_nav .menu,
	.mow_fn_header.rbh-on .menu-primario-container {
		width: 100% !important;
		max-width: none !important;
	}
	.mow_fn_header.rbh-on #menu-primario.mow_fn_main_nav {
		display: flex !important;
		justify-content: var(--rbh-menu-align, space-between) !important;
		gap: var(--rbh-menu-gap, 32px) !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	/* O tema dá ao link do menu a altura inteira do header (147px de line-height).
	   Aqui o link vira uma linha normal, colada na barra de busca. */
	.mow_fn_header.rbh-on #menu-primario.mow_fn_main_nav > li > a {
		line-height: 1.2 !important;
		height: auto !important;
		min-height: 0 !important;
		padding: var(--rbh-menu-pad-y, 14px) 0 !important;
		display: inline-flex !important;
		align-items: center;
	}
	.mow_fn_header.rbh-on #menu-primario.mow_fn_main_nav > li {
		height: auto !important;
		line-height: 1.2 !important;
	}
	.mow_fn_header.rbh-on #menu-primario.mow_fn_main_nav > li {
		margin: 0 !important;
	}
	/* Esconde itens extras que o tema possa ter no lado direito (ex.: ícone de busca antigo) */
	.mow_fn_header.rbh-on .ht_right > :not(.ht_right_item_nav) {
		margin-left: 0;
	}
}

/* ---------- Lupa no menu flutuante ---------- */
.rbh-toggle {
	all: unset;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--rbh-accent, #ff5a1f);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
	transition: transform .15s ease, background-color .15s ease;
}
button.rbh-toggle {
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	max-width: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	line-height: 1 !important;
	color: #fff !important;
}
.rbh-toggle svg { width: 17px; height: 17px; }
.rbh-toggle:hover { transform: scale(1.06); }
.rbh-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rbh-toggle[aria-expanded="true"] { background: #333; }

.sticky_header.rbh-sticky { position: relative; }
.sticky_header button.rbh-toggle--sticky {
	position: absolute !important;
	top: 50% !important;
	bottom: auto !important;
	left: auto !important;
	transform: translateY(-50%);
	right: max(20px, calc((100% - var(--rbh-container, 1140px)) / 2)) !important;
}
.sticky_header .rbh-toggle--sticky:hover { transform: translateY(-50%) scale(1.06); }

.rbh-panel {
	display: none;
	box-sizing: border-box;
	padding: 12px 20px 14px;
}
.rbh-panel.is-open { display: block; }
.rbh-panel .rbh-search {
	max-width: 720px;
	margin: 0 auto;
	height: 46px;
	background: #fff;
}
.rbh-panel--sticky {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #0b0b0b;
	z-index: 50;
}

/* ---------- Celular ---------- */
.mob_top.rbh-mob .right__trigger {
	display: flex;
	align-items: center;
	gap: 14px;
}
.mob_top.rbh-mob .fn__logo img {
	height: var(--rbh-logo-h-mb, 36px) !important;
	max-height: none !important;
	width: auto !important;
}
.rbh-panel--mobile { background: transparent; padding: 0 16px 14px; }
.rbh-panel--mobile .rbh-search { background: #f1f1f1; max-width: none; }

@media (max-width: 1040px) {
	.rbh-toggle--sticky,
	.rbh-panel--sticky { display: none !important; }
}

/* ---------- Menu hambúrguer próprio (celular) ---------- */
.rbh-hidden-theme-burger .mob_top .bar_opener { display: none !important; }

button.rbh-burger {
	all: unset;
	box-sizing: border-box;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--rbh-burger-bg, #0b0b0b) !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	flex: none;
}
.rbh-burger span {
	display: block;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
}
.rbh-burger span:nth-child(2) { width: 12px; margin-left: 4px; }
.rbh-burger:focus-visible { outline: 2px solid var(--rbh-accent, #ff5a1f); outline-offset: 2px; }

html.rbh-lock, html.rbh-lock body { overflow: hidden !important; }

.rbh-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	visibility: hidden;
	pointer-events: none;
}
.rbh-drawer.is-open { visibility: visible; pointer-events: auto; }
.rbh-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	transition: opacity .25s ease;
}
.rbh-drawer.is-open .rbh-drawer__overlay { opacity: 1; }
.rbh-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(88vw, 380px);
	background: var(--rbh-drawer-bg, #0b0b0b);
	color: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
	padding-bottom: 32px;
}
.rbh-drawer.is-open .rbh-drawer__panel { transform: translateX(0); }

.rbh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 12px;
}
.rbh-drawer__logo img {
	display: block;
	height: var(--rbh-logo-h-mb, 36px);
	width: auto;
	max-width: 220px;
	object-fit: contain;
}
button.rbh-drawer__close {
	all: unset;
	box-sizing: border-box;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #222 !important;
	color: #fff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
}
.rbh-drawer__close svg { width: 18px; height: 18px; }

.rbh-drawer__search { padding: 6px 20px 18px; }
.rbh-drawer__search .rbh-search { height: 46px; background: #fff; }

.rbh-drawer__nav { padding: 0 20px; }
.rbh-drawer__menu,
.rbh-drawer__menu ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.rbh-drawer__menu > li {
	border-bottom: 1px solid #222;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.rbh-drawer__menu > li > a {
	flex: 1;
	display: block;
	padding: 16px 0;
	color: var(--rbh-drawer-color, #fff) !important;
	font-size: var(--rbh-drawer-size, 18px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.2px;
	text-decoration: none !important;
}
.rbh-drawer__menu li.current-menu-item > a,
.rbh-drawer__menu li.current-menu-ancestor > a,
.rbh-drawer__menu a:hover,
.rbh-drawer__menu a:focus-visible { color: var(--rbh-accent, #ff5a1f) !important; }

/* O tema injeta ícones de seta nos títulos do menu; na gaveta a seta é a do plugin */
.rbh-drawer__menu a i,
.rbh-drawer__menu a svg,
.rbh-drawer__menu a .fn__isvg { display: none !important; }

button.rbh-sub-toggle {
	all: unset;
	box-sizing: border-box;
	width: 40px !important;
	height: 40px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	cursor: pointer;
	border-radius: 50%;
	flex: none;
}
.rbh-sub-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.rbh-drawer__menu li.is-expanded > .rbh-sub-toggle svg { transform: rotate(180deg); }

.rbh-drawer__menu .rbh-sub {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	background: transparent !important;
	box-shadow: none !important;
	width: auto !important;
	min-width: 0 !important;
	flex: 0 0 100%;
	display: none;
	padding: 0 0 12px 14px !important;
	border-left: 2px solid var(--rbh-accent, #ff5a1f);
	margin-bottom: 14px !important;
}
.rbh-drawer__menu li.is-expanded > .rbh-sub { display: block; }
.rbh-drawer__menu .rbh-sub ul,
.rbh-drawer__menu .rbh-sub li {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	width: auto !important;
	display: block !important;
}
.rbh-drawer__menu .rbh-sub a {
	display: block;
	padding: 9px 0;
	color: #cfcfcf !important;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none !important;
}

@media (min-width: 1041px) {
	.rbh-drawer, .rbh-burger { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.rbh-drawer__panel, .rbh-drawer__overlay { transition: none; }
}

/* ---------- Header fixo (estilo portal) ---------- */
.rbh-spacer { display: none; }

@media (min-width: 1041px) {
	html.rbh-fixed .rbh-spacer--desk { display: block; }
	html.rbh-fixed .mow_fn_header.rbh-on {
		position: fixed !important;
		top: var(--rbh-top, 0px) !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 9990 !important;
		background: var(--rbh-header-bg, #fff) !important;
		transition: box-shadow .2s ease;
	}
	html.rbh-fixed.rbh-scrolled .mow_fn_header.rbh-on {
		box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 8px 20px rgba(0, 0, 0, .06);
		--rbh-pad-top: 10px;
	}
	html.rbh-fixed.rbh-scrolled .mow_fn_header.rbh-on .fn__logo img {
		height: calc(var(--rbh-logo-h, 52px) * .78) !important;
	}
	html.rbh-fixed.rbh-scrolled .mow_fn_header.rbh-on .rbh-search--header { height: calc(var(--rbh-search-h, 50px) - 6px); }
	html.rbh-fixed.rbh-scrolled .mow_fn_header.rbh-on #menu-primario.mow_fn_main_nav > li > a {
		padding: calc(var(--rbh-menu-pad-y, 14px) * .78) 0 !important;
	}
	.rbh-search--header { transition: height .2s ease; }
	/* A barra preta que o tema mostra ao rolar deixa de ser necessária */
	html.rbh-fixed .mow_fn_stickynav { display: none !important; }
}

@media (max-width: 1040px) {
	html.rbh-fixed .rbh-spacer--mob { display: block; }
	html.rbh-fixed .mow_fn_mobnav {
		position: fixed !important;
		top: var(--rbh-top, 0px) !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 9990 !important;
		background: var(--rbh-mob-bg, #fff) !important;
		transition: box-shadow .2s ease;
	}
	html.rbh-fixed.rbh-scrolled .mow_fn_mobnav {
		box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 6px 16px rgba(0, 0, 0, .06);
	}
}

/* Âncoras (#links) não ficam escondidas atrás do header fixo */
html.rbh-fixed { scroll-padding-top: calc(var(--rbh-h, 0px) + var(--rbh-top, 0px) + 12px); }

/* ---------- Opções do Personalizador ----------
   Cada regra só vale quando a opção correspondente está preenchida
   (o plugin adiciona a classe body.rbh-c-<opção>). Vazio = estilo do tema. */
.mow_fn_header.rbh-on { background: var(--rbh-header-bg, transparent); }

body.rbh-c-menu_font .mow_fn_header.rbh-on #menu-primario > li > a,
body.rbh-c-menu_font .mow_fn_header.rbh-on #menu-primario > li > a > span,
body.rbh-c-menu_font .mow_fn_header.rbh-on #menu-primario .rbh-sub a,
body.rbh-c-menu_font .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a,
body.rbh-c-menu_font .mow_fn_header.rbh-on #menu-primario .sub-menu a,
body.rbh-c-menu_font .rbh-drawer__menu a { font-family: var(--rbh-menu-font) !important; }

body.rbh-c-menu_size .mow_fn_header.rbh-on #menu-primario > li > a,
body.rbh-c-menu_size .mow_fn_header.rbh-on #menu-primario > li > a > span { font-size: var(--rbh-menu-size) !important; }

body.rbh-c-menu_weight .mow_fn_header.rbh-on #menu-primario > li > a,
body.rbh-c-menu_weight .mow_fn_header.rbh-on #menu-primario > li > a > span,
body.rbh-c-menu_weight .rbh-drawer__menu > li > a { font-weight: var(--rbh-menu-weight) !important; }

body.rbh-c-menu_transform .mow_fn_header.rbh-on #menu-primario a,
body.rbh-c-menu_transform .mow_fn_header.rbh-on #menu-primario a > span,
body.rbh-c-menu_transform .rbh-drawer__menu a { text-transform: var(--rbh-menu-transform) !important; }

body.rbh-c-menu_spacing .mow_fn_header.rbh-on #menu-primario > li > a,
body.rbh-c-menu_spacing .mow_fn_header.rbh-on #menu-primario > li > a > span { letter-spacing: var(--rbh-menu-spacing) !important; }

body.rbh-c-menu_color .mow_fn_header.rbh-on #menu-primario > li > a,
body.rbh-c-menu_color .mow_fn_header.rbh-on #menu-primario > li > a > span { color: var(--rbh-menu-color) !important; }

body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario > li > a:hover,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario > li > a:hover > span,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario > li:hover > a > span,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario > li.current-menu-item > a,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario > li.current-menu-item > a > span,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a:hover,
body.rbh-c-menu_hover .mow_fn_header.rbh-on #menu-primario .sub-menu a:hover { color: var(--rbh-menu-hover) !important; }

body.rbh-c-sub_bg .mow_fn_header.rbh-on #menu-primario .fn__classic_sub,
body.rbh-c-sub_bg .mow_fn_header.rbh-on #menu-primario .fn__classic_sub > ul,
body.rbh-c-sub_bg .mow_fn_header.rbh-on #menu-primario .sub-menu { background: var(--rbh-sub-bg) !important; }

body.rbh-c-sub_color .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a,
body.rbh-c-sub_color .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a > span,
body.rbh-c-sub_color .mow_fn_header.rbh-on #menu-primario .sub-menu a { color: var(--rbh-sub-color) !important; }

/* ---------- Botões de redes sociais ----------
   Padrão: só o ícone, em círculo. Com "Ícone + texto" escolhido no
   Personalizador, o body recebe .rbh-c-social_style e o texto aparece. */
.rbh-social { display: flex; align-items: center; gap: 10px; }
a.rbh-social__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: var(--rbh-search-h, 50px);
	height: var(--rbh-search-h, 50px);
	padding: 0;
	box-sizing: border-box;
	border-radius: var(--rbh-social-r, 999px);
	background: var(--rbh-social-bg, var(--rbh-accent, #ff5a1f)) !important;
	color: var(--rbh-social-color, #fff) !important;
	font-family: inherit;
	font-size: var(--rbh-social-size, 15px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.1px;
	text-decoration: none !important;
	white-space: nowrap;
	border: 0 !important;
	flex: none;
	transition: filter .15s ease, transform .15s ease, height .2s ease, width .2s ease;
}
a.rbh-social__btn:hover { filter: brightness(.92); transform: translateY(-1px); }
a.rbh-social__btn:focus-visible { outline: 2px solid var(--rbh-social-bg, var(--rbh-accent, #ff5a1f)); outline-offset: 3px; }
.rbh-social__btn svg { width: 22px; height: 22px; flex: none; }
.rbh-social__label { display: none; color: inherit !important; }

/* Ícone + texto (opcional) */
body.rbh-c-social_style a.rbh-social__btn { width: auto; padding: 0 24px; }
body.rbh-c-social_style .rbh-social__label { display: inline; }

@media (min-width: 1041px) {
	.mow_fn_header.rbh-on .rbh-social--header {
		order: 3;
		flex: none;
		margin-left: -26px; /* fica a ~14px da busca, em vez dos 40px do logo */
	}
	html.rbh-fixed.rbh-scrolled .mow_fn_header.rbh-on a.rbh-social__btn {
		height: calc(var(--rbh-search-h, 50px) - 6px);
		width: calc(var(--rbh-search-h, 50px) - 6px);
	}
	html.rbh-fixed.rbh-scrolled body.rbh-c-social_style .mow_fn_header.rbh-on a.rbh-social__btn { width: auto; }
}
/* Notebooks pequenos: mesmo com texto ligado, fica só o ícone no header */
@media (min-width: 1041px) and (max-width: 1240px) {
	body.rbh-c-social_style .rbh-social--header a.rbh-social__btn { width: var(--rbh-search-h, 50px); padding: 0; }
	body.rbh-c-social_style .rbh-social--header .rbh-social__label { display: none; }
}

/* Dentro do menu do celular */
.rbh-social--drawer { padding: 26px 20px 0; }
.rbh-social--drawer a.rbh-social__btn { width: 46px; height: 46px; }
body.rbh-c-social_style .rbh-social--drawer { flex-direction: column; align-items: stretch; }
body.rbh-c-social_style .rbh-social--drawer a.rbh-social__btn { width: 100%; height: 48px; }

/* ---------- Efeitos do menu (hover e clique) ----------
   O tema usa o ::after do link para a setinha do submenu, por isso os efeitos
   ficam no <span> do texto. Classe no body: rbh-fx-underline | pill | color | none */
.mow_fn_header.rbh-on #menu-primario > li > a > span {
	position: relative;
	display: inline-block;
	transition: color .2s ease, transform .15s ease;
}
.mow_fn_header.rbh-on #menu-primario > li > a { -webkit-tap-highlight-color: transparent; }

/* Cor ao passar o mouse, focar com teclado e na página atual (todos menos "nenhum") */
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario > li:hover > a > span,
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario > li > a:focus-visible > span,
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario > li.current-menu-item > a > span,
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario > li.current-menu-ancestor > a > span {
	color: var(--rbh-menu-hover, var(--rbh-accent, #ff5a1f)) !important;
}

/* Clique: o item "afunda" e escurece um pouco */
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario > li > a:active > span {
	transform: scale(.94);
	filter: brightness(.85);
}

/* Linha que cresce embaixo (padrão) */
body.rbh-fx-underline .mow_fn_header.rbh-on #menu-primario > li > a > span::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -7px;
	height: 3px;
	border-radius: 3px;
	background: var(--rbh-menu-hover, var(--rbh-accent, #ff5a1f));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	pointer-events: none;
}
body.rbh-fx-underline .mow_fn_header.rbh-on #menu-primario > li:hover > a > span::after,
body.rbh-fx-underline .mow_fn_header.rbh-on #menu-primario > li > a:focus-visible > span::after,
body.rbh-fx-underline .mow_fn_header.rbh-on #menu-primario > li.current-menu-item > a > span::after,
body.rbh-fx-underline .mow_fn_header.rbh-on #menu-primario > li.current-menu-ancestor > a > span::after {
	transform: scaleX(1);
}

/* Fundo destacado (pílula) */
body.rbh-fx-pill .mow_fn_header.rbh-on #menu-primario > li > a > span { z-index: 0; }
body.rbh-fx-pill .mow_fn_header.rbh-on #menu-primario > li > a > span::before {
	content: "";
	position: absolute;
	inset: -8px -14px;
	z-index: -1;
	border-radius: 999px;
	background: rgba(255, 90, 31, .12);
	background: color-mix(in srgb, var(--rbh-menu-hover, var(--rbh-accent, #ff5a1f)) 14%, transparent);
	opacity: 0;
	transform: scale(.85);
	transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
	pointer-events: none;
}
body.rbh-fx-pill .mow_fn_header.rbh-on #menu-primario > li:hover > a > span::before,
body.rbh-fx-pill .mow_fn_header.rbh-on #menu-primario > li > a:focus-visible > span::before,
body.rbh-fx-pill .mow_fn_header.rbh-on #menu-primario > li.current-menu-item > a > span::before {
	opacity: 1;
	transform: scale(1);
}

/* Itens do submenu: cor + leve deslocamento */
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a,
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario .sub-menu a {
	transition: color .2s ease, transform .2s ease;
}
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a:hover,
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario .sub-menu a:hover {
	color: var(--rbh-menu-hover, var(--rbh-accent, #ff5a1f)) !important;
	transform: translateX(4px);
}
body:not(.rbh-fx-none) .mow_fn_header.rbh-on #menu-primario .fn__classic_sub a:hover > span {
	color: var(--rbh-menu-hover, var(--rbh-accent, #ff5a1f)) !important;
}

/* Celular (menu aberto): toque muda a cor e desliza o item */
.rbh-drawer__menu a { -webkit-tap-highlight-color: transparent; transition: color .15s ease, transform .15s ease; }
.rbh-drawer__menu a:active { color: var(--rbh-accent, #ff5a1f) !important; transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
	.mow_fn_header.rbh-on #menu-primario > li > a > span,
	.mow_fn_header.rbh-on #menu-primario > li > a > span::before,
	.mow_fn_header.rbh-on #menu-primario > li > a > span::after,
	.rbh-drawer__menu a { transition: none !important; }
}
