/**
 * Leader Educa — cabeçalho e rodapé
 *
 * Medidas conferidas contra os templates do Theme Builder do Elementor Pro:
 * faixa de 100px com container de 1140px, logo de 126x60, itens do menu em
 * Golos Text 16/600 minúsculo com padding 13/20 e sublinhado de 3px na cor de
 * destaque, e rodapé em três colunas de 35/30/35 sobre o azul-petróleo.
 */

/* ------------------------------------------------- paleta global do Astra
 *
 * O Astra publicava a paleta dele para o Elementor como
 * --e-global-color-astglobalcolorN, e vários widgets gravaram cor apontando
 * para essas variáveis (a legenda dos image hovers, por exemplo, usa a 8).
 * Com o Astra fora elas ficariam sem valor e a cor caía para a herdada —
 * era por isso que o texto do hover aparecia branco em vez de preto.
 * Valores copiados de produção em 25/09/2026.
 */

:root {
	--e-global-color-astglobalcolor0: #046bd2;
	--e-global-color-astglobalcolor1: #045cb4;
	--e-global-color-astglobalcolor2: #1e293b;
	--e-global-color-astglobalcolor3: #334155;
	--e-global-color-astglobalcolor4: #F0F5FA;
	--e-global-color-astglobalcolor5: #FFFFFF;
	--e-global-color-astglobalcolor6: #D1D5DB;
	--e-global-color-astglobalcolor7: #111111;
	--e-global-color-astglobalcolor8: #111111;
}

/* ------------------------------------------- escala de títulos do Astra
 *
 * Os títulos sem tamanho definido no Elementor herdavam a escala do Astra.
 * A do reZeta é maior (h2 de 32px contra 30px), o que já bastava para
 * quebrar frases que no original cabiam em uma linha. Seletores de
 * elemento, sem classe, para que as regras de componente continuem
 * ganhando. Valores copiados de produção em 25/09/2026.
 */

h1 { font-size: 36px; font-weight: 600; line-height: 1.4em; }
h2 { font-size: 30px; font-weight: 600; line-height: 1.3em; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3em; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.2em; }
h5 { font-size: 16px; font-weight: 600; line-height: 1.2em; }
h6 { font-size: 16px; font-weight: 600; line-height: 1.25em; }

/* ------------------------------------------------------------------ base */

.le-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 10px 16px;
	background: #fff;
	color: #000;
}

.le-skip-link:focus {
	left: 0;
}

/* -------------------------------------------------------------- cabeçalho */

.le-header {
	position: sticky;
	top: 0;
	z-index: 99;
	padding: 0 10px;
	background: var( --le-blue, #6E82D7 );
	font-family: "Golos Text", system-ui, sans-serif;
}

.le-header--coral {
	background: var( --le-coral, #EB6E5A );
}

.le-header--accent,
.le-header--portfolio {
	background: var( --le-accent, #963264 );
}

/* O cabeçalho do portfólio não é fixo e não tem logo nem busca. */
.le-header--portfolio {
	position: static;
	padding: 0;
}

.le-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px 0;
}

.le-header--portfolio .le-header__inner {
	justify-content: center;
}

.le-header__brand {
	flex: 0 0 15%;
}

.le-header__brand img,
.le-header__brand .custom-logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: 60px;
}

.le-header a.le-header__title {
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	text-decoration: none;
}

.le-header__nav {
	display: flex;
	flex: 1 1 80%;
	align-items: center;
	justify-content: flex-end;
}

.le-header--portfolio .le-header__nav {
	flex: 1 1 100%;
	justify-content: center;
}

/* ----------------------------------------------------------------- menu */

.le-menu-list,
.le-footer__menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.le-menu-list li {
	position: relative;
}

.le-header .le-menu-list a,
.le-menu-list a {
	position: relative;
	display: block;
	padding: 13px 20px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	text-transform: lowercase;
}

/* Sublinhado do item ativo — 3px na cor de destaque, crescendo do centro. */
.le-menu-list > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var( --le-accent, #963264 );
	transform: scaleX( 0 );
	transition: transform 0.3s cubic-bezier( 0.58, 0.3, 0.005, 1 );
}

.le-menu-list > li > a:hover::after,
.le-menu-list > li > a:focus::after,
.le-menu-list > li.current-menu-item > a::after,
.le-menu-list > li.current-menu-ancestor > a::after,
.le-menu-list > li.current_page_item > a::after {
	transform: scaleX( 1 );
}

.le-header--portfolio .le-menu-list a {
	padding: 13px 5px;
	font-size: 14px;
}

/* Submenu */

.le-menu-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 0;
	background: #fff;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.le-menu-list li:hover > .sub-menu,
.le-menu-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.le-header .le-menu-list .sub-menu a {
	padding: 13px 20px;
	color: var( --le-blue, #6E82D7 );
	font-size: 13px;
}

.le-menu-list .sub-menu a::after {
	content: none;
}

.le-menu-list .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY( -70% ) rotate( 45deg );
}

.le-menu-list .menu-item-has-children > a {
	padding-right: 26px;
}

/* ---------------------------------------------------------------- busca */

.le-header__search-toggle,
.le-header__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.le-header__search-toggle svg {
	width: 24px;
	height: 24px;
}

.le-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
}

.le-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
}

.le-search {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 15, 75, 90, 0.97 );
}

.le-search[hidden] {
	display: none;
}

.le-search__form {
	width: min( 100%, 700px );
}

.le-search__input {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 2px solid #fff;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 32px;
}

.le-search__input::placeholder {
	color: #7A7A7A;
	opacity: 1;
}

.le-search__close {
	position: absolute;
	top: 20px;
	right: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 48px;
	line-height: 1;
	cursor: pointer;
}

/* ---------------------------------------------------------------- rodapé */

/* z-index 90 = o mesmo do contêiner do rodapé no template 180; sem ele a
 * última seção da página cobre os primeiros ~40px do rodapé. */
.le-footer {
	position: relative;
	z-index: 90;
	background: var( --le-primary, #0F4B5A );
	color: #fff;
	font-family: "Golos Text", system-ui, sans-serif;
}

.le-footer__inner {
	display: flex;
	align-items: flex-start;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 50px 0;
}

.le-footer__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
}

/* As colunas laterais têm um filete branco virado para o centro, com 50px de
 * respiro — era a borda dos contêineres no template do Elementor. */
.le-footer__col--site {
	flex: 0 0 35%;
	padding-right: 50px;
	border-right: 1px solid #fff;
}

.le-footer__col--contato {
	flex: 0 0 35%;
	padding-left: 50px;
	border-left: 1px solid #fff;
}

.le-footer__col--brand {
	flex: 0 0 30%;
	align-items: center;
	padding: 0 10px;
	text-align: center;
}

.le-footer__heading {
	margin: 0;
	color: var( --le-lime, #DCF041 );
	font-size: 18px;
	font-weight: 600;
}

.le-footer__col--site .le-footer__heading,
.le-footer__col--site .le-footer__menu {
	text-align: right;
}

.le-footer__menu {
	flex-direction: column;
}

.le-footer .le-footer__menu a {
	display: block;
	padding: 2px 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
}

.le-footer .le-footer__menu a:hover {
	text-decoration: underline;
}

.le-footer__logo {
	display: block;
	width: 100%;
}

.le-footer__logo img {
	display: block;
	width: 68%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.le-footer__social {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
}

.le-footer .le-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	/* Mesmas cores do widget original: fundo na cor do rodapé, ícone branco. */
	background: var( --le-primary, #0F4B5A );
	color: #fff;
}

.le-footer .le-footer__social a:hover {
	opacity: 0.8;
}

.le-footer__social svg {
	width: 31px;
	height: 31px;
}

.le-footer__text {
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 26.4px;
}

.le-footer__col--contato > .le-footer__text + .le-footer__text {
	margin-top: -5px;
}

.le-footer .le-footer__text a {
	color: inherit;
}

.le-footer__selo {
	margin: 0;
}

.le-footer__selo img {
	max-width: 180px;
	height: auto;
}

/* ------------------------------------------------------------- responsivo */

@media ( max-width: 1024px ) {
	.le-header__inner,
	.le-footer__inner {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media ( max-width: 767px ) {
	.le-header__brand {
		flex: 0 0 44%;
	}

	.le-header__brand img,
	.le-header__brand .custom-logo {
		height: 45px;
	}

	.le-header__toggle {
		display: flex;
		order: 2;
	}

	.le-header__search-toggle {
		order: 1;
	}

	.le-header__menu {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 10px 20px 20px;
		background: inherit;
	}

	.le-header {
		position: sticky;
	}

	.le-header__menu.is-open {
		display: block;
	}

	.le-menu-list {
		flex-direction: column;
	}

	.le-menu-list a {
		padding: 10px 0;
	}

	.le-menu-list .sub-menu {
		position: static;
		min-width: 0;
		background: transparent;
		opacity: 1;
		visibility: visible;
	}

	.le-header .le-menu-list .sub-menu a {
		padding-left: 16px;
		color: #fff;
	}

	.le-footer__inner {
		flex-direction: column;
		align-items: center;
		gap: 40px;
		text-align: center;
	}

	.le-footer__col {
		flex: 1 1 auto;
		width: 100%;
		align-items: center;
		text-align: center;
	}

	/* No original a coluna "Site" não aparece no mobile. */
	.le-footer__col--site {
		display: none;
	}

	.le-footer__col--contato {
		padding-left: 10px;
		border-left: 0;
	}

	.le-footer__col--contato .le-footer__heading,
	.le-footer__text {
		text-align: center;
	}
}

/* ======================================================================
   Post individual, arquivo e busca
   Medidas conferidas contra os templates 5989, 7020, 8472, 6902 e 7665.
   ====================================================================== */

.le-single {
	background: #EBE6DC;
}

.le-single__wrap {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 10px;
}

.le-single__wrap--wide {
	max-width: 1024px;
}

.le-single__wrap--full {
	max-width: none;
	padding: 0;
}

.le-single__head {
	padding-top: 50px;
}

.le-single__title {
	margin: 0;
	color: #1C244B;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 65px;
	font-weight: 600;
	line-height: 1.2em;
	text-align: center;
}

.le-single__meta {
	padding: 20px 0;
	text-align: center;
}

.le-single__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1C244B;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 300;
}

.le-single__meta-item svg {
	width: 1em;
	height: 1em;
}

.le-single__figure img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 50px;
}

.le-single__body {
	color: #313131;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5em;
	text-align: justify;
}

.le-single__body img {
	max-width: 100%;
	height: auto;
}

.le-single--portfolio .le-single__body,
.le-single--cases .le-single__body {
	padding-bottom: 50px;
}

.le-single--cases .le-single__body {
	text-align: inherit;
}

.le-single__voltar {
	padding-bottom: 50px;
	text-align: center;
}

a.le-button {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 3px;
	background: var( --le-coral, #EB6E5A );
	color: #fff;
	font-family: "Golos Text", system-ui, sans-serif;
	font-weight: 600;
	text-decoration: none;
}

a.le-button:hover {
	filter: brightness( 110% );
}

.le-single__comentarios {
	padding-bottom: 50px;
}

/* ----------------------------------------------------- arquivo e busca */

.le-arquivo,
.le-busca {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px 50px;
}

.le-arquivo__titulo {
	margin: 0;
	padding-top: 50px;
	color: var( --le-coral, #EB6E5A );
	font-family: "Golos Text", system-ui, sans-serif;
	font-size: 55px;
	font-weight: 500;
	text-align: center;
}

.le-busca__termo {
	margin: 0;
	padding-top: 100px;
	font-family: "Golos Text", system-ui, sans-serif;
	text-align: center;
}

.le-busca__form {
	display: flex;
	max-width: 500px;
	margin: 20px auto 0;
	padding-bottom: 30px;
}

.le-busca__input {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid var( --le-coral, #EB6E5A );
	border-radius: 13px 0 0 13px;
	background: transparent;
	color: #7A7A7A;
	font-family: inherit;
}

.le-busca__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	border: 1px solid var( --le-coral, #EB6E5A );
	border-radius: 0 13px 13px 0;
	background: var( --le-coral, #EB6E5A );
	color: #fff;
	cursor: pointer;
}

.le-busca__submit svg {
	width: 18px;
	height: 18px;
}

.le-grade {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 35px 30px;
	padding: 30px 0;
}

.le-card {
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
}

.le-card__thumb {
	position: relative;
	display: block;
	padding-bottom: 66%;
	background: #EBE6DC;
}

.le-card__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.le-card__body {
	padding: 20px 10px;
	text-align: center;
}

.le-card__meta {
	margin: 0 0 13px;
	color: #ADADAD;
	font-family: "Golos Text", system-ui, sans-serif;
	font-size: 12px;
}

.le-card__title {
	margin: 0 0 13px;
	font-family: "Golos Text", system-ui, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
}

.le-card .le-card__title a {
	color: #282828;
	text-decoration: none;
}

.le-card .le-card__title a:hover {
	text-decoration: underline;
}

.le-paginacao {
	display: flex;
	justify-content: center;
	padding-bottom: 40px;
}

.le-paginacao a.page-numbers, .le-paginacao span.page-numbers {
	padding: 6px 12px;
	text-decoration: none;
}

.le-vazio {
	padding: 60px 0;
	text-align: center;
}

@media ( max-width: 1024px ) {
	.le-single__title {
		font-size: 45px;
	}

	.le-single__meta-item,
	.le-single__body {
		font-size: 14px;
	}

	.le-grade {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 767px ) {
	.le-single__title {
		font-size: 28px;
		line-height: 1.1em;
	}

	.le-arquivo__titulo {
		font-size: 40px;
	}

	.le-grade {
		grid-template-columns: minmax( 0, 1fr );
	}
}
