/* Indicador ativo do menu (::before) — ligado à seção visível */
#tahefobu-header .tahefobu-nav-menu > .menu-item > a {
	position: relative;
}

#tahefobu-header .tahefobu-nav-menu > .menu-item.is-active > a::before {
	content: "";
	position: absolute;
	left: var(--ar-menu-pad-x, 7px);
	right: var(--ar-menu-pad-x, 7px);
	bottom: var(--ar-indicator-b, -37px);
	height: var(--ar-indicator-h, 7px);
	background-color: #FBF2E3;
	border-radius: 14px 14px 0 0;
	pointer-events: none;
}

.tahefobu-mobile-nav-menu li {
 background-color: #013A1C !important;
}

.tahefobu-mobile-nav-menu li .tahefobu-mobile-menu-item {
	padding: 20px 0 !important;
	color: #FBF2E3 !important;
}

.tahefobu-mobile-nav-menu li .tahefobu-mobile-menu-item:before {	
	background-color:#FBF2E3 !important;
}

.tahefobu-mobile-nav-menu {top: 55px !important;}



.tahefobu-mobile-nav-menu li .tahefobu-mobile-menu-item:hover {
	background-color: #013A1C !important;
}
.tahefobu-mobile-nav-menu li .tahefobu-mobile-menu-item:active {
	background-color: #013A1C !important;
}
.tahefobu-mobile-nav-menu li .tahefobu-mobile-menu-item:focus {
	background-color: #013A1C !important;
}

/* De 1260px até o hambúrguer (768px): texto e gaps diminuem juntos, sem quebra */
@media (max-width: 1260px) and (min-width: 768px) {
	#tahefobu-header {
		--ar-t: min(1, max(0, (100vw - 768px) / 492px));
		--ar-menu-fs: calc(10.5px + 5.5px * var(--ar-t));
		--ar-menu-pad-x: calc(1px + 6px * var(--ar-t));
		--ar-menu-pad-y: calc(8px + 7px * var(--ar-t));
		--ar-menu-gap: calc(1px + 9px * var(--ar-t));
		--ar-header-gap: calc(8px + 32px * var(--ar-t));
		--ar-logo-w: calc(108px + 103px * var(--ar-t));
		--ar-btn-fs: calc(10px + 4px * var(--ar-t));
		--ar-btn-px: calc(10px + 25px * var(--ar-t));
		--ar-btn-py: calc(7px + 8px * var(--ar-t));
		--ar-indicator-h: calc(4px + 3px * var(--ar-t));
		--ar-indicator-b: calc(-22px + -15px * var(--ar-t));
	}

	#tahefobu-header .e-4c354a8,
	#tahefobu-header .e-1ebd6b8 {
		flex-wrap: nowrap !important;
	}

	#tahefobu-header .e-d435866 {
		width: auto !important;
		flex: 0 0 auto !important;
	}

	#tahefobu-header .e-1ebd6b8 {
		width: auto !important;
		flex: 1 1 auto !important;
		min-width: 0;
		gap: var(--ar-header-gap) !important;
	}

	#tahefobu-header .elementor-element-de926aa img {
		width: var(--ar-logo-w) !important;
		height: auto !important;
	}

	#tahefobu-header .tahefobu-nav-menu-horizontal .tahefobu-nav-menu {
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	#tahefobu-header .tahefobu-nav-menu > li > a,
	#tahefobu-header .tahefobu-nav-menu .tahefobu-menu-item {
		font-size: var(--ar-menu-fs) !important;
		padding-left: var(--ar-menu-pad-x) !important;
		padding-right: var(--ar-menu-pad-x) !important;
		padding-top: var(--ar-menu-pad-y) !important;
		padding-bottom: var(--ar-menu-pad-y) !important;
		white-space: nowrap;
	}

	#tahefobu-header .tahefobu-nav-menu > .menu-item {
		margin-left: var(--ar-menu-gap) !important;
		margin-right: var(--ar-menu-gap) !important;
	}

	#tahefobu-header .tahefobu-nav-menu-horizontal .tahefobu-nav-menu > .menu-item:first-child {
		margin-left: 0 !important;
	}

	#tahefobu-header .tahefobu-nav-menu-horizontal .tahefobu-nav-menu > .menu-item:last-child {
		margin-right: 0 !important;
	}

	#tahefobu-header .elementor-element-357b83c .elementor-button {
		font-size: var(--ar-btn-fs) !important;
		padding: var(--ar-btn-py) var(--ar-btn-px) !important;
		white-space: nowrap;
	}
}

#tahefobu-header .tahefobu-mobile-nav-menu > .menu-item > a {
	position: relative;
}

#tahefobu-header .tahefobu-mobile-nav-menu > .menu-item.is-active > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 3px;
	background-color: #8dc63f;
	border-radius: 2px;
	pointer-events: none;
}
