/* ==========================================================================
   Unicenter — cabeçalho e rodapé do tema (substituem os modelos 8912 e 9072)
   Valores medidos no site publicado em 03/11/2026.
   Pontos de corte iguais aos do Elementor: tablet ≤1024px, móvel ≤768px.
   ========================================================================== */

.uc-header,
.uc-footer {
	--uc-blue: #002C78;
	--uc-blue-cta: #2D4178;
	--uc-text: #212121;
	--uc-orange: #FF8000;
	font-family: "Inter", sans-serif;
}

.uc-header *,
.uc-footer * { box-sizing: border-box; }

.uc-icon { display: block; fill: currentColor; }

/* ---------- Cabeçalho ---------- */

.uc-header {
	position: relative;
	z-index: 100;
	background: #fff;
}

.uc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	padding: 10px;
}

.uc-header__logo {
	flex: 0 0 auto;
	width: 10.389%;
	max-width: 10.389%;
	align-self: center;
	line-height: 0;
}

.uc-header__logo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.uc-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.uc-header .uc-nav__menu {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.uc-nav__menu > li {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}

.uc-header .uc-nav__menu a {
	display: flex;
	align-items: center;
	color: var(--uc-text);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
}

.uc-header .uc-nav__menu > li > a {
	padding: 8px 15px;
	height: 40px;
}

.uc-header .uc-nav__menu > li.menu-item-has-children > a { padding-right: 0; }

.uc-header .uc-nav__menu a:hover,
.uc-header .uc-nav__menu a:focus { color: var(--uc-text); }

/* Seta do submenu (mesma largura que a do JetBlocks: 10px + 10px de margem). */
.uc-header .uc-sub-toggle,
.uc-header .uc-sub-toggle:hover,
.uc-header .uc-sub-toggle:focus {
	display: flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 15px 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--uc-text);
	cursor: pointer;
}

.uc-sub-toggle .uc-icon { width: 10px; height: 16px; }

.uc-header .uc-sub-toggle:focus-visible,
.uc-header .uc-nav__toggle:focus-visible,
.uc-header a:focus-visible,
.uc-footer a:focus-visible,
.uc-footer summary:focus-visible {
	outline: 2px solid var(--uc-blue);
	outline-offset: 2px;
}

/* Submenu (desktop): lista simples por baixo do elemento. */
.uc-header .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: transform .2s cubic-bezier(0.17, 0.67, 0.83, 0.67), opacity .2s cubic-bezier(0.17, 0.67, 0.83, 0.67), visibility .2s;
}

.uc-header .sub-menu li { margin: 0; }

.uc-header .sub-menu a { padding: 5px 10px; }

@media (min-width: 1025px) {
	.uc-nav__menu > li:hover > .sub-menu,
	.uc-nav__menu > li:focus-within > .sub-menu,
	.uc-nav__menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		/* Mostra-se já (sem esperar a transição): assim o Tab entra logo no submenu. */
		transition: transform .2s cubic-bezier(0.17, 0.67, 0.83, 0.67), opacity .2s cubic-bezier(0.17, 0.67, 0.83, 0.67), visibility 0s;
	}

	.uc-nav__menu > li.is-dismissed > .sub-menu {
		opacity: 0;
		visibility: hidden;
		transform: translateY(20px);
	}
}

/* Botão «Fale Connosco»: bloco #2D4178 de 12% × 60px, igual ao contentor atual. */
.uc-header .uc-header__cta,
.uc-header .uc-header__cta:hover,
.uc-header .uc-header__cta:focus {
	flex: 0 0 12%;
	width: 12%;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	background: var(--uc-blue-cta);
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

/* Botão do menu móvel: escondido em desktop. */
.uc-header .uc-nav__toggle { display: none; }

@media (max-width: 1024px) {
	.uc-header__logo { width: 20%; max-width: 20%; }
	.uc-header .uc-header__cta { display: none; }

	.uc-nav {
		flex: 0 0 auto;
		order: 99999;
		flex-direction: column;
		align-items: flex-end;
	}

	.uc-header .uc-nav__toggle,
	.uc-header .uc-nav__toggle:hover,
	.uc-header .uc-nav__toggle:focus {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--uc-blue);
		font-size: 20px;
		cursor: pointer;
	}

	.uc-nav__toggle .uc-icon { width: 20px; height: 20px; }
	.uc-nav__toggle-close { display: none; }
	.uc-nav.is-open .uc-nav__toggle-open { display: none; }
	.uc-nav.is-open .uc-nav__toggle-close { display: block; }

	.uc-header .uc-nav__menu { display: none; }

	.uc-header .uc-nav.is-open .uc-nav__menu {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		margin-top: 10px;
		padding: 55px;
		background: #fff;
		text-align: right;
	}

	.uc-nav__menu > li {
		display: block;
		text-align: right;
	}

	.uc-header .uc-nav__menu > li > a,
	.uc-header .uc-sub-toggle,
	.uc-header .uc-sub-toggle:hover,
	.uc-header .uc-sub-toggle:focus {
		display: inline-flex;
		vertical-align: top;
	}

	.uc-header .sub-menu {
		position: static;
		display: none;
		width: auto;
		text-align: right;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.uc-header .sub-menu a { justify-content: flex-end; }

	.uc-nav__menu > li.is-open > .sub-menu { display: block; }
}

@media (max-width: 768px) {
	.uc-header__inner { flex-wrap: wrap; }
	.uc-header__logo { width: 40%; max-width: 40%; }
	.uc-header__logo img { border-radius: 22px; }
}

/* ---------- Rodapé ---------- */

.uc-footer {
	padding: 10px;
	background: var(--uc-blue);
	color: #fff;
}

.uc-footer__main {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	padding: 2% 6%;
}

.uc-footer__brand,
.uc-footer__col {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	gap: 20px;
	padding: 10px;
}

.uc-footer__brand { width: 34.793%; }
.uc-footer__col:nth-of-type(2) { width: 18.639%; }
.uc-footer__col:nth-of-type(3) { width: 14.797%; }
.uc-footer__col:nth-of-type(4) { width: 12.177%; }
.uc-footer__col:nth-of-type(5) { width: 19.196%; }

.uc-footer__logo {
	align-self: flex-start;
	margin-top: 12px;
	line-height: 0;
}

.uc-footer__logo img {
	display: block;
	width: auto;
	height: 93px;
	max-width: 100%;
}

.uc-footer .uc-footer__tagline {
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 21px;
	text-align: left;
}

.uc-footer__seals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	width: 70.063%;
}

.uc-footer__seal { display: block; height: auto; }
.uc-footer__seal--efcd { width: 41.599%; }
.uc-footer__seal--pme { width: 17.539%; }
.uc-footer__seal--appdi { width: 19.841%; }

.uc-footer .uc-footer__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	text-transform: none;
}

.uc-footer .uc-footer__link,
.uc-footer .uc-footer__link:hover,
.uc-footer .uc-footer__link:focus {
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 14px;
	text-decoration: none;
}

.uc-footer__accordion { display: none; }

.uc-footer__bottom {
	width: 90%;
	margin: 0 auto;
	padding: 10px;
}

.uc-footer .uc-footer__divider {
	margin: 4px 0;
	border: 0;
	border-top: 1px solid #fff;
	background: none;
}

.uc-footer__bottom-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 20px;
	padding: 10px;
}

.uc-footer .uc-footer__copy {
	margin: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-align: left;
}

.uc-footer .uc-footer__campus,
.uc-footer a.uc-footer__campus:hover,
.uc-footer a.uc-footer__campus:focus {
	margin: 0;
	color: var(--uc-orange);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: right;
	text-decoration: none;
}

.uc-footer .uc-footer__campus img.emoji {
	display: inline !important;
	width: 1em !important;
	height: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
}

@media (max-width: 1024px) {
	.uc-footer__main { flex-wrap: wrap; }
	.uc-footer__brand { width: 97.112%; }
	.uc-footer__col:nth-of-type(n) { width: 25%; }
	.uc-footer__seals { width: 306.852px; max-width: 100%; }
	.uc-footer .uc-footer__copy { text-align: center; }
}

@media (max-width: 768px) {
	.uc-footer__main { align-items: center; }
	.uc-footer__brand {
		width: 100%;
		align-items: center;
		margin: 32px 0;
	}
	.uc-footer__logo { align-self: center; }
	.uc-footer .uc-footer__tagline { text-align: center; }
	.uc-footer__seals { flex-wrap: nowrap; justify-content: center; }
	.uc-footer__col { display: none; }

	.uc-footer__accordion { display: block; width: 100%; padding: 10px; }

	.uc-footer__acc-item { margin: 0; }

	.uc-footer .uc-footer__acc-title {
		display: flex;
		align-items: center;
		min-height: 41.2px;
		padding: 12px 12px 12px 7px;
		border-bottom: .8px solid rgb(213, 216, 220);
		color: #fff;
		font-family: "Inter", sans-serif;
		font-size: 14px;
		font-weight: 400;
		line-height: 14px;
		list-style: none;
		cursor: pointer;
	}

	.uc-footer__acc-title::-webkit-details-marker { display: none; }

	.uc-footer__acc-title .uc-icon {
		flex: 0 0 auto;
		width: 16px;
		height: 16px;
		margin-right: 5px;
		fill: currentColor;
	}

	/* Como no Elementor: seta para a direita fechado, seta para cima aberto (troca de ícone). */
	.uc-footer__acc-title .uc-icon--caret-up { display: none; }
	.uc-footer__acc-item[open] > .uc-footer__acc-title { border-bottom: 0; }
	.uc-footer__acc-item[open] > .uc-footer__acc-title .uc-icon--caret { display: none; }
	.uc-footer__acc-item[open] > .uc-footer__acc-title .uc-icon--caret-up { display: block; }

	.uc-footer__acc-content {
		padding: 12px 10px 26.4px;
		border-bottom: .8px solid rgb(213, 216, 220);
	}

	.uc-footer .uc-footer__acc-content a {
		display: block;
		margin-bottom: 14.4px;
		color: #fff;
		font-family: "Inter", sans-serif;
		font-size: 12px;
		line-height: 18px;
		text-decoration: none;
	}

	.uc-footer .uc-footer__acc-content a:last-child { margin-bottom: 0; }

	.uc-footer__bottom { width: 100%; }
	.uc-footer__bottom-grid { grid-template-columns: 1fr; }
	.uc-footer .uc-footer__copy { font-size: 10px; line-height: 1.4em; text-align: center; }
	.uc-footer .uc-footer__campus { font-size: 12px; text-align: center; }
}
