/* Rodapé da nova identidade (todas as páginas): faixa "Pronto para começar?",
   colunas de links e barra final. Variáveis --mentorar-* no style.css. */

/* o #Footer do tema tem fundo e cores próprios: aqui ele só envolve o novo */
#Footer.mtr-rodape-area {
	background: #fff !important;
	background-image: none !important;
	padding: 0;
	color: var(--mentorar-texto);
}

/* O style.css do tema filho pinta todo link do rodapé de azul (#Footer a,
   com !important). Aqui cada link do rodapé novo recebe a sua cor. */
#Footer .mtr-cta a.mtr-cta__botao--mentor,
#Footer .mtr-cta a.mtr-cta__botao--mentor:hover { color: #fff !important; }
#Footer .mtr-cta a.mtr-cta__botao--demo { color: var(--mentorar-royal) !important; }
#Footer .mtr-cta a.mtr-cta__botao--demo:hover { color: var(--mentorar-profundo) !important; }
#Footer .mtr-rodape__links a { color: var(--mentorar-texto) !important; }
#Footer .mtr-rodape__links a:hover { color: var(--mentorar-azul) !important; }
#Footer .mtr-rodape__redes a { color: var(--mentorar-profundo) !important; }
#Footer .mtr-rodape__redes a:hover { color: #fff !important; }
#Footer .mtr-rodape__final a { color: #7A8496 !important; }
#Footer .mtr-rodape__final a:hover { color: var(--mentorar-azul) !important; }
/* o rodapé antigo era escuro: o tema deixa títulos e textos do #Footer claros */
#Footer .mtr-rodape__links h3 { color: var(--mentorar-profundo) !important; }
#Footer .mtr-rodape__links li { line-height: 1.4; }

/* ================= Faixa "Pronto para começar?" ================= */
.mtr-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, #043592 0%, #0470BF 100%);
	font-family: Montserrat, Arial, sans-serif;
	color: #fff;
}
/* hexágono claro ao fundo, à direita */
.mtr-cta::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 254px;
	right: -60px;
	top: -70px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: rgba(255, 255, 255, .07);
	pointer-events: none;
}
.mtr-cta__container {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 34px 20px;
	display: flex;
	align-items: center;
	gap: 28px 40px;
	flex-wrap: wrap;
}
.mtr-cta__texto { flex: 1 1 380px; }
.mtr-cta .mtr-cta__titulo {
	margin: 0 0 4px;
	font-family: Poppins, Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.2;
	color: #fff;
}
.mtr-cta .mtr-cta__subtitulo { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .85); }

.mtr-cta__botoes { display: flex; flex-wrap: wrap; gap: 14px; }
.mtr-cta a.mtr-cta__botao {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.mtr-cta a.mtr-cta__botao--mentor { background: var(--mentorar-coral); color: #fff; }
.mtr-cta a.mtr-cta__botao--demo   { background: #fff; color: var(--mentorar-royal); }
.mtr-cta a.mtr-cta__botao:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }
.mtr-cta a.mtr-cta__botao--mentor:hover { color: #fff; }
.mtr-cta a.mtr-cta__botao--demo:hover { color: var(--mentorar-profundo); }
.mtr-cta a.mtr-cta__botao:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mtr-cta__botao svg { width: 18px; height: 18px; transition: transform .15s ease; }
.mtr-cta a.mtr-cta__botao:hover svg { transform: translateX(3px); }

/* nota manuscrita com a seta apontando para os botões */
.mtr-cta .mtr-cta__nota {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: Caveat, cursive;
	font-weight: 500;
	font-size: 21px;
	line-height: 1.05;
	color: #fff;
	transform: rotate(-4deg);
}
.mtr-cta__nota svg { width: 52px; height: 34px; flex: none; }

/* ================= Rodapé ================= */
.mtr-rodape {
	font-family: Montserrat, Arial, sans-serif;
	color: var(--mentorar-texto);
	background: #fff;
}
.mtr-rodape__container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}
.mtr-rodape > .mtr-rodape__container {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr) auto;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 40px;
	align-items: start;
}

.mtr-rodape__marca img { display: block; width: 190px; height: auto; }
.mtr-rodape .mtr-rodape__marca p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; }

.mtr-rodape__links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.mtr-rodape .mtr-rodape__links h3 {
	margin: 0 0 12px;
	font-family: Poppins, Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	color: var(--mentorar-profundo);
}
.mtr-rodape .mtr-rodape__links ul { margin: 0; padding: 0; list-style: none; }
.mtr-rodape .mtr-rodape__links li { margin: 0 0 9px; padding: 0; background: none; }
.mtr-rodape .mtr-rodape__links a {
	font-size: 13.5px;
	color: var(--mentorar-texto);
	text-decoration: none;
	transition: color .15s ease;
}
.mtr-rodape .mtr-rodape__links a:hover { color: var(--mentorar-azul); }
.mtr-rodape a:focus-visible { outline: 3px solid var(--mentorar-luz); outline-offset: 3px; border-radius: 4px; }

.mtr-rodape .mtr-rodape__redes { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mtr-rodape .mtr-rodape__redes li { margin: 0; padding: 0; background: none; }
.mtr-rodape__redes a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--mentorar-fundo-claro);
	color: var(--mentorar-profundo);
	transition: background-color .15s ease, color .15s ease;
}
.mtr-rodape__redes a:hover { background: var(--mentorar-azul); color: #fff; }
.mtr-rodape__redes svg { width: 19px; height: 19px; }

.mtr-rodape__final { border-top: 1px solid #E8EDF4; }
.mtr-rodape__final .mtr-rodape__container {
	display: flex;
	justify-content: space-between;
	gap: 8px 24px;
	flex-wrap: wrap;
	padding-top: 18px;
	padding-bottom: 22px;
}
.mtr-rodape .mtr-rodape__final p { margin: 0; font-size: 12.5px; color: #7A8496; }
.mtr-rodape__credito { display: block; margin-top: 2px; text-align: right; font-size: 11.5px; }
.mtr-rodape__final a { color: #7A8496; text-decoration: underline; }
.mtr-rodape__final a:hover { color: var(--mentorar-azul); }

@media (prefers-reduced-motion: reduce) {
	.mtr-cta a.mtr-cta__botao,
	.mtr-cta__botao svg,
	.mtr-rodape__redes a,
	.mtr-rodape .mtr-rodape__links a { transition: none; }
}

/* ---- Tablet ---- */
@media (max-width: 1023px) {
	.mtr-cta .mtr-cta__nota { display: none; }
	.mtr-rodape > .mtr-rodape__container { grid-template-columns: 1fr auto; }
	.mtr-rodape__links { grid-column: 1 / -1; grid-row: 2; }
}

/* ---- Celular ---- */
@media (max-width: 639px) {
	.mtr-cta__container { padding: 30px 20px; }
	.mtr-cta__botoes { width: 100%; }
	.mtr-cta a.mtr-cta__botao { flex: 1 1 100%; justify-content: center; }
	.mtr-rodape > .mtr-rodape__container { gap: 28px; padding-top: 36px; padding-bottom: 28px; }
	.mtr-rodape__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
	.mtr-rodape__final .mtr-rodape__container { flex-direction: column; }
	.mtr-rodape__credito { text-align: left; }
}
