.mc-site-shell,
.mc-site-shell *,
.mc-site-shell *::before,
.mc-site-shell *::after {
	box-sizing: border-box;
}

html {
	width: 100%;
	height: 100%;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overscroll-behavior: none;
}

.mc-site-shell img,
.mc-site-shell svg,
.mc-site-shell canvas,
.mc-site-shell iframe,
.mc-site-shell video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	display: block;
}

body.mc-managed-page {
	min-width: 320px;
}

body.mc-managed-page,
body.mc-standalone-page {
	margin: 0;
	background: var(--mc-bg);
	color: var(--mc-text);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	overflow-x: hidden;
	width: 100%;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	font-synthesis: none;
	-webkit-text-size-adjust: 100%;
	-moz-osx-font-smoothing: grayscale;
}

body.mc-shell-page {
	line-height: 1;
}

body.mc-shell-page p,
body.mc-shell-page h1,
body.mc-shell-page h2,
body.mc-shell-page h3,
body.mc-shell-page h4,
body.mc-shell-page ul,
body.mc-shell-page ol,
body.mc-shell-page dl {
	line-height: 1.4;
}

/* Oculta header/footer/containers do tema em páginas geridas */
body.mc-managed-page header:not(.mc-site-header),
body.mc-managed-page footer:not(.mc-site-footer),
body.mc-managed-page .site-header,
body.mc-managed-page .header-main,
body.mc-managed-page .header_wrapper,
body.mc-managed-page .header,
body.mc-managed-page #Header,
body.mc-managed-page #header,
body.mc-managed-page #Header_wrapper,
body.mc-managed-page #Top_bar,
body.mc-managed-page #Subheader,
body.mc-managed-page #Footer,
body.mc-managed-page #footer,
body.mc-managed-page #masthead,
body.mc-managed-page .footer,
body.mc-managed-page .footer-area,
body.mc-managed-page .footer-copy-center,
body.mc-managed-page .top_bar_left,
body.mc-managed-page .top_bar_right,
body.mc-managed-page .menu_wrapper,
body.mc-managed-page .menu-main-menu-container,
body.mc-managed-page .mfn-main-slider,
body.mc-managed-page .mfn-footer-template,
body.mc-managed-page .elementor-location-header,
body.mc-managed-page .elementor-location-footer,
body.mc-managed-page .site,
body.mc-managed-page .hfeed,
body.mc-managed-page #page,
body.mc-managed-page #wrapper,
body.mc-standalone-page > header:not(.mc-site-header),
body.mc-standalone-page > footer:not(.mc-site-footer),
body.mc-managed-page #Content,
body.mc-managed-page .section_wrapper,
body.mc-managed-page .content_wrapper,
body.mc-managed-page .sections_group,
body.mc-managed-page #content,
body.mc-managed-page .content-area,
body.mc-standalone-page #Content,
body.mc-standalone-page .section_wrapper,
body.mc-standalone-page .content_wrapper,
body.mc-standalone-page .sections_group {
	display: none !important;
}

/* Hard hide para menus legados que podem reaparecer por JS/cache de tema */
body.mc-managed-page #Side_slide,
body.mc-managed-page .responsive-menu-toggle,
body.mc-managed-page .overlay-menu-toggle,
body.mc-managed-page .overlay-menu-wrapper,
body.mc-managed-page .header_placeholder,
body.mc-managed-page .mobile-menu,
body.mc-managed-page .mobile-menu-wrapper,
body.mc-managed-page .mfn-header-menu,
body.mc-managed-page .mfn-menu,
body.mc-managed-page #menu,
body.mc-managed-page .top_bar_left,
body.mc-managed-page .top_bar_right,
body.mc-managed-page .menuo-right,
body.mc-managed-page .menuo-left,
body.mc-managed-page .mfn-header-tmpl,
body.mc-managed-page .mfn-header-tmpl-menu {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.mc-standalone-page #mc-standalone-root,
.mc-site-shell {
	min-height: 100vh;
}

.mc-standalone-page #mc-standalone-root {
	background: linear-gradient(166deg, #f8fbff 0%, #eff3fb 100%);
}

.mc-site-shell {
	--mc-shell-text: var(--mc-text);
	--mc-shell-muted: var(--mc-muted);
	--mc-shell-border: var(--mc-border);
	--mc-shell-accent: var(--mc-teal);
	background: linear-gradient(166deg, #f8fbff 0%, #eef4fb 100%);
	line-height: 1.4;
	color: var(--mc-shell-text);
	width: 100%;
	min-width: 320px;
	max-width: 100%;
	isolation: isolate;
}

body.mc-managed-page .mc-site-shell .mc-site-header,
body.mc-standalone-page .mc-site-shell .mc-site-header {
	isolation: isolate;
	z-index: 60;
}

body.mc-managed-page .mc-site-shell .mc-site-nav,
body.mc-standalone-page .mc-site-shell .mc-site-nav {
	list-style: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
}

.mc-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px clamp(12px, 2.8vw, 24px);
	border-bottom: 1px solid var(--mc-shell-border);
	background: #ffffff;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.mc-site-header .mc-site-nav-link,
.mc-site-header .mc-site-user-link {
	font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.mc-site-brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	min-width: 0;
}

.mc-site-brand-image {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 36px;
	height: auto;
	object-fit: contain;
	min-width: 0;
}

.mc-site-menu-toggle {
	display: none;
	place-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 12px;
	border-radius: 11px;
	border: 1px solid #c7d6ea;
	background: #fff;
	color: #102c4d;
	cursor: pointer;
}

.mc-site-hamburger {
	position: relative;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.mc-site-hamburger-text {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.mc-site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.mc-site-nav-group {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--mc-shell-border) 95%, #fff 5%);
	background: rgba(255, 255, 255, 0.9);
	min-width: 0;
	max-width: 100%;
}

.mc-site-nav-title {
	min-width: 100%;
	margin: 0 0 2px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.38px;
	text-transform: uppercase;
	color: #5f738b;
}

.mc-site-nav-group-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.mc-site-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	border-radius: 999px;
	min-height: 36px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	color: #113159;
	border: 1px solid #d7e4f5;
	background: #fff;
	white-space: nowrap;
	transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	overflow: hidden;
	min-width: 0;
}

.mc-site-nav-link:hover,
.mc-site-nav-link.is-active {
	border-color: color-mix(in srgb, var(--mc-shell-accent) 60%, #d7e4f5 40%);
	background: color-mix(in srgb, var(--mc-shell-accent) 14%, #fff 86%);
	color: #061f42;
	transform: translateY(-1px);
}

.mc-site-nav-icon {
	width: 15px;
	height: 15px;
	display: inline-flex;
	color: var(--mc-shell-accent);
}

.mc-site-nav-icon svg,
.mc-site-nav-link svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mc-site-nav-link span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mc-site-user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mc-site-user-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	color: #0f2f55;
	border: 1px solid #c8d8ea;
	background: #f8fcff;
	white-space: nowrap;
}

.mc-site-user-link.is-danger {
	color: #8a2430;
	border-color: rgba(245, 79, 79, 0.4);
	background: rgba(245, 79, 79, 0.1);
}

.mc-site-user-link.is-primary {
	color: #fff;
	border-color: #2f8fca;
	background: linear-gradient(120deg, var(--mc-teal) 0%, #2f8fca 100%);
}

.mc-site-main {
	padding: clamp(12px, 2.8vw, 24px);
	contain: content;
}

.mc-site-content {
	max-width: 1240px;
	margin: 0 auto;
}

.mc-site-header--portal .mc-site-nav,
.mc-site-header--portal .mc-site-nav-group,
.mc-site-header--portal .mc-site-nav-title,
.mc-site-header--portal .mc-site-menu-toggle {
	display: none !important;
}

.mc-site-header--portal .mc-site-user {
	justify-content: flex-end;
}

.mc-site-shell .button,
.mc-site-shell .button.button-primary,
.mc-site-shell button.button,
.mc-site-shell a.button,
.mc-site-shell input[type="submit"].button {
	min-height: 44px;
	border-radius: 12px;
}

.mc-site-shell .button.button-primary {
	background: linear-gradient(120deg, var(--mc-teal) 0%, #2f8fca 100%);
	border-color: color-mix(in srgb, var(--mc-teal) 70%, #0b3258 30%);
	color: #fff;
}

.mc-site-shell .button:not(.button-primary) {
	border-color: color-mix(in srgb, var(--mc-shell-accent) 40%, var(--mc-shell-border) 60%);
}

.mc-site-footer {
	margin-top: 8px;
	border-top: 1px solid var(--mc-shell-border);
	background: #fff;
	padding: 14px 16px;
	box-shadow: 0 -1px 20px rgba(11, 23, 52, 0.06);
}

.mc-site-footer-grid {
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
}

.mc-site-footer p {
	margin: 0;
	font-size: 12px;
	color: #4d6380;
}

.mc-site-footer-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mc-site-footer-links a {
	color: #0d2d4d;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
}

.mc-site-footer-links a:hover {
	text-decoration: underline;
}

html.mc-shell-nav-open,
body.mc-shell-nav-open {
	overflow: hidden;
}

.mc-site-shell button,
.mc-site-shell input,
.mc-site-shell select,
.mc-site-shell textarea {
	font: inherit;
	color: inherit;
}

.mc-site-shell button {
	border: 1px solid var(--mc-shell-border);
}

.mc-site-nav[aria-hidden="true"] {
	display: none;
}

@media (max-width: 980px) {
.mc-site-nav[aria-hidden="true"] {
	display: none;
}

.mc-site-nav[aria-hidden="false"] {
	display: flex;
}
}
html.mc-shell-nav-open body {
	overflow: hidden;
}

@media (max-width: 980px) {
	.mc-site-header {
		grid-template-columns: auto 1fr auto;
	}

	.mc-site-menu-toggle {
		display: inline-flex;
	}

	.mc-site-brand-image {
		max-width: 168px;
		max-height: 34px;
	}

	.mc-site-nav {
		grid-column: 1 / -1;
		position: fixed;
		left: 8px;
		right: 8px;
		top: 68px;
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		padding: 10px;
		background: #fff;
		border: 1px solid #d5e2f0;
		border-radius: 16px;
		box-shadow: 0 18px 40px rgba(10, 27, 52, 0.16);
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		z-index: 30;
	}

	.mc-site-nav.is-open {
		display: flex;
	}

	.mc-site-nav-group {
		width: 100%;
		padding: 7px;
	}

	.mc-site-nav-title {
		margin: 0;
	}

	.mc-site-nav-group-links {
		display: flex;
		flex-direction: column;
		gap: 6px;
		width: 100%;
	}

	.mc-site-nav-link {
		width: 100%;
		padding: 10px 12px;
		border-radius: 11px;
	}

	.mc-site-user {
		grid-column: 1 / -1;
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.mc-site-user-link {
		height: auto;
		padding-top: 8px;
		padding-bottom: 8px;
	}
}

@media (max-width: 760px) {
	.mc-site-header {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.mc-site-brand-image {
		max-width: 154px;
	}

	.mc-site-main {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* Mobile menu redesign v2: visual hierarchy, spacing and premium look */
@media (max-width: 980px) {
	.mc-site-header {
		gap: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.mc-site-menu-toggle {
		height: 42px;
		padding: 0 13px;
		border-radius: 12px;
		border: 1px solid #179fb8;
		background: linear-gradient(120deg, #16c4b4 0%, #1389cf 100%);
		color: #ffffff;
		box-shadow: 0 10px 20px rgba(10, 56, 88, 0.24);
	}

	.mc-site-menu-toggle .mc-site-hamburger,
	.mc-site-menu-toggle .mc-site-hamburger::before,
	.mc-site-menu-toggle .mc-site-hamburger::after {
		background: #ffffff;
	}

	.mc-site-menu-toggle .mc-site-hamburger-text {
		font-weight: 800;
		letter-spacing: 0.2px;
	}

	.mc-site-nav {
		left: 10px;
		right: 10px;
		top: 72px;
		padding: 12px;
		background: linear-gradient(165deg, #f9fcff 0%, #edf5ff 100%);
		border: 1px solid #bdd4ea;
		border-radius: 18px;
		box-shadow: 0 22px 44px rgba(8, 28, 49, 0.26);
		gap: 10px;
	}

	.mc-site-nav-group {
		padding: 10px;
		border-radius: 14px;
		border: 1px solid #cce0f2;
		background: #ffffff;
	}

	.mc-site-nav-title {
		margin-bottom: 8px;
		font-size: 11px;
		font-weight: 800;
		letter-spacing: 0.55px;
		text-transform: uppercase;
		color: #56708d;
	}

	.mc-site-nav-group-links {
		gap: 7px;
	}

	.mc-site-nav-link {
		min-height: 44px;
		padding: 10px 12px;
		border-radius: 11px;
		border: 1px solid #c9dbed;
		background: #f4f9ff;
		color: #103251;
		font-weight: 700;
	}

	.mc-site-nav-link:hover,
	.mc-site-nav-link:focus-visible {
		border-color: #97c4e7;
		background: #e9f3ff;
	}

	.mc-site-nav-link.is-active {
		border-color: #39b3bd;
		background: linear-gradient(120deg, #e8fffb 0%, #e8f4ff 100%);
		box-shadow: 0 0 0 2px rgba(26, 191, 178, 0.2);
	}

	.mc-site-user {
		margin-top: 2px;
		padding-top: 8px;
		border-top: 1px solid #d3e2f1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.mc-site-user-link {
		min-height: 42px;
		justify-content: center;
		border-radius: 11px;
		border: 1px solid #bed2e7;
		background: #ffffff;
		color: #123252;
		font-weight: 800;
		padding: 9px 10px;
	}

	.mc-site-user-link.is-primary {
		background: linear-gradient(120deg, #16c4b4 0%, #1289cf 100%);
		border-color: #1898b7;
		color: #ffffff;
	}

	.mc-site-user-link.is-danger {
		background: #fff5f5;
		border-color: #eab8b8;
		color: #8f2d2d;
	}
}

@media (max-width: 560px) {
	.mc-site-nav {
		left: 8px;
		right: 8px;
		top: 68px;
		padding: 10px;
	}

	.mc-site-user {
		grid-template-columns: 1fr;
	}

	.mc-site-nav-link,
	.mc-site-user-link {
		min-height: 43px;
	}
}
