/*
Theme Name: Maestriafinance Twenty Twenty-Five Child
Theme URI: https://maestriafinance.pt
Description: Maestriafinance design layer for the Twenty Twenty-Five block theme.
Author: Maneki Labs
Template: twentytwentyfive
Version: 0.1.0
Text Domain: maestriafinance-tt5-child
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@700&display=swap");

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--mf-bg: var(--wp--preset--color--mf-bg);
	--mf-cream: var(--wp--preset--color--mf-cream);
	--mf-cream-2: color-mix(in srgb, var(--mf-cream) 58%, white);
	--mf-sage: var(--wp--preset--color--mf-sage);
	--mf-green: var(--wp--preset--color--mf-green);
	--mf-green-2: color-mix(in srgb, var(--mf-green) 90%, white);
	--mf-gold: var(--wp--preset--color--mf-gold);
	--mf-gold-2: color-mix(in srgb, var(--mf-gold) 78%, white);
	--mf-purple: var(--wp--preset--color--mf-purple);
	--mf-text: var(--wp--preset--color--mf-text);
	--mf-muted: var(--wp--preset--color--mf-muted);
	--mf-border: #e5dacb;
	--mf-white: #fff;
	--mf-shadow: 0 20px 48px rgba(58, 46, 28, 0.1);
	--mf-max: 1180px;
	--mf-radius: 8px;
	--mf-image-hero-height: 600px;
	--mf-hero-fade: linear-gradient(90deg, var(--mf-bg) 0%, var(--mf-bg) 5%, color-mix(in srgb, var(--mf-bg) 88%, transparent) 25%, color-mix(in srgb, var(--mf-bg) 55%, transparent) 40%, color-mix(in srgb, var(--mf-bg) 18%, transparent) 45%, transparent 90%);
	--mf-serif: "Cormorant Garamond", Georgia, serif;
	--mf-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	background: var(--mf-bg);
	color: var(--mf-text);
	font-family: var(--mf-sans);
	overflow-x: hidden;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--mf-max);
}

.mf-main,
.mf-main .entry-content {
	margin-block-start: 0;
}

.mf-site-header,
.mf-section,
.mf-hero {
	margin-inline: auto;
	max-width: var(--mf-max);
	width: min(calc(100% - 48px), var(--mf-max));
}

.mf-site-header {
	align-items: center;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	padding: 28px 0 0;
	position: relative;
	z-index: 5;
}

.mf-logo {
	align-items: center;
	color: var(--mf-purple);
	display: inline-flex;
	flex: 0 0 auto;
	font-family: "Noto Sans", var(--mf-sans);
	font-size: 1.3rem;
	font-weight: 700;
	gap: 11px;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
}

.mf-logo .mf-logo__mark {
	display: block;
	height: 42px;
	margin: 0;
	width: 42px;
}

.mf-logo__text {
	font: inherit;
	line-height: 1;
	margin: 0;
}

.mf-logo__text a {
	align-items: center;
	color: inherit;
	display: inline-flex;
	gap: 0.32em;
	text-decoration: none;
}

.mf-logo strong,
.mf-logo__text strong {
	color: var(--mf-purple);
	font-weight: 700;
}

.mf-logo span,
.mf-logo__text span {
	color: var(--mf-gold);
	font-weight: 700;
}

.mf-nav {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 18px;
	justify-content: flex-end;
}

.mf-nav .wp-block-navigation__container {
	gap: clamp(14px, 2vw, 30px);
}

.mf-nav a {
	color: var(--mf-text);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
}

.mf-nav a:hover {
	color: var(--mf-gold);
}

.mf-nav-cta a,
.mf-nav-cta .wp-block-button__link {
	background: var(--mf-gold);
	border: 1px solid color-mix(in srgb, var(--mf-gold) 16%, transparent);
	border-radius: 6px;
	color: var(--mf-white);
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 700;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	text-decoration: none;
	white-space: nowrap;
}

.mf-nav-cta a:hover,
.mf-nav-cta .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--mf-gold) 88%, black);
	color: var(--mf-white);
}

.mf-hero {
	align-items: stretch;
	aspect-ratio: auto;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
	grid-template-rows: auto 1fr;
	height: var(--mf-image-hero-height);
	min-height: 0;
	padding: 0;
}

.mf-hero-copy {
	grid-column: 1;
	padding-right: clamp(34px, 5vw, 70px);
	position: relative;
	z-index: 2;
}

.mf-hero > .mf-hero-copy,
.mf-about-hero > .mf-hero-copy {
	align-self: end;
	grid-row: 1;
	padding-top: clamp(48px, 7vh, 58px);
}

.mf-hero-followup {
	align-self: start;
	grid-column: 1;
	grid-row: 2;
	padding-right: clamp(34px, 5vw, 70px);
	position: relative;
	z-index: 2;
}

.mf-eyebrow {
	color: var(--mf-gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.mf-hero h1,
.mf-contact h2 {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 0.98;
}

.mf-hero h1 {
	font-size: clamp(4rem, 5.8vw, 5.7rem);
	margin: 0 0 24px;
	max-width: 820px;
	white-space: nowrap;
}

.mf-hero h1 span {
	color: var(--mf-gold);
	display: block;
}

.mf-hero h1 .mf-heading-line {
	color: var(--mf-green);
}

.mf-hero h1 .mf-heading-line span {
	color: var(--mf-gold);
	display: inline;
}

.mf-lede {
	max-width: 610px;
}

.mf-hero .mf-lede strong {
	font-weight: 800;
}

.mf-copy {
	max-width: 620px;
}

.wp-block-button.mf-button {
	background: none;
	padding: 0;
}

.mf-button .wp-block-button__link,
.mf-button-link,
.mf-contact button {
	align-items: center;
	background: var(--mf-gold);
	border: 1px solid color-mix(in srgb, var(--mf-gold) 16%, transparent);
	border-radius: 6px;
	color: var(--mf-white);
	display: inline-flex;
	font-family: var(--mf-sans);
	font-size: 0.9rem;
	font-weight: 750;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 0 24px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mf-button .wp-block-button__link:hover,
.mf-button-link:hover,
.mf-contact button:hover {
	background: color-mix(in srgb, var(--mf-gold) 88%, black);
	color: var(--mf-white);
	transform: translateY(-1px);
}

.mf-button--ghost .wp-block-button__link,
.mf-button-link--ghost {
	background: transparent;
	border-color: var(--mf-gold);
	color: var(--mf-gold);
}

.mf-button--ghost .wp-block-button__link:hover,
.mf-button-link--ghost:hover {
	background: color-mix(in srgb, var(--mf-gold) 8%, transparent);
	color: color-mix(in srgb, var(--mf-gold) 78%, black);
}

.mf-button--small .wp-block-button__link {
	font-size: 0.78rem;
	min-height: 34px;
	padding: 0 16px;
}

.mf-proof strong {
	color: var(--mf-text);
	font-weight: 800;
}

.mf-hero-media,
.mf-organizar-hero-media,
.mf-planear-hero-media,
.mf-cuidar-hero-media,
.mf-about-hero__media {
	--mf-about-hero-fade-width: min(45vw, 531px);
	--mf-about-hero-gutter: max(24px, calc((100vw - var(--mf-max)) / 2));
	--mf-about-hero-transition: var(--mf-cream);
	--mf-hero-left-fade: linear-gradient(
		90deg,
		var(--mf-about-hero-transition) 0,
		var(--mf-about-hero-transition) calc(var(--mf-about-hero-gutter) + 24px),
		rgba(244, 239, 230, 0.88) calc(var(--mf-about-hero-gutter) + min(9vw, 106.2px)),
		rgba(244, 239, 230, 0.55) calc(var(--mf-about-hero-gutter) + min(24.75vw, 292.05px)),
		rgba(244, 239, 230, 0.18) calc(var(--mf-about-hero-gutter) + min(36.9vw, 435.42px)),
		rgba(244, 239, 230, 0) calc(var(--mf-about-hero-gutter) + var(--mf-about-hero-fade-width))
	);
	--mf-hero-right-fade: linear-gradient(90deg, rgba(244, 239, 230, 0) 0%, rgba(244, 239, 230, 0.18) min(22.5vw, 265.5px), rgba(244, 239, 230, 0.55) min(32.4vw, 382px), rgba(244, 239, 230, 0.88) min(39.6vw, 467px), var(--mf-about-hero-transition) var(--mf-about-hero-fade-width), var(--mf-about-hero-transition) 100%);
}

.mf-hero-media {
	align-self: stretch;
	aspect-ratio: auto;
	background: var(--mf-cream);
	border-radius: 0;
	grid-column: 1 / -1;
	grid-row: 1 / span 2;
	height: 100%;
	margin-left: calc(50% - 50vw);
	max-height: var(--mf-image-hero-height);
	min-width: 0;
	overflow: hidden;
	position: relative;
	width: 100vw;
	z-index: 0;
}

.mf-hero-media::before {
	background: var(--mf-hero-fade);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.mf-hero-media img,
.mf-split-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mf-card-media img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.mf-section {
	padding: clamp(74px, 8vw, 108px) 0;
}

.mf-section-header {
	margin-inline: auto;
	max-width: 760px;
}

.mf-section-header::after,
.mf-rule::after {
	background: var(--mf-gold);
	content: "";
	display: block;
	height: 2px;
	margin: 18px auto 0;
	width: 48px;
}

.mf-section-header p {
	margin-inline: auto;
	max-width: 720px;
}

.mf-difference {
	padding-bottom: clamp(70px, 7vw, 96px);
	padding-top: clamp(70px, 7vw, 96px);
}

.mf-difference .mf-section-header,
.mf-difference .mf-section-header p {
	max-width: none;
}

.mf-services-grid {
	align-items: stretch;
}

.mf-service {
	border-right: 1px solid var(--mf-border);
	display: flex;
	flex-direction: column;
	padding: 0 30px;
}

.mf-service:last-child {
	border-right: 0;
}

.mf-service p {
	margin-inline: auto;
	max-width: 330px;
}

.mf-service > p {
	flex: 1 1 auto;
}

.mf-service > .wp-block-buttons {
	justify-content: center;
	margin-top: auto;
}

.mf-band-inner {
	margin-inline: auto;
	max-width: var(--mf-max);
	min-height: clamp(470px, 38vw, 560px);
	padding: clamp(56px, 5vw, 78px) 0;
	position: relative;
	width: min(calc(100% - 48px), var(--mf-max));
}

.mf-band-inner > .wp-block-group:first-child {
	max-width: 100%;
	position: relative;
	z-index: 2;
}

.mf-pillars h2 {
	max-width: min(1100px, 94%);
}

.mf-pillars .mf-copy {
	max-width: 620px;
}

.mf-pillar-grid {
	max-width: min(760px, 68%);
}

.mf-split-image {
	bottom: 0;
	margin: 0;
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 11%, rgba(0, 0, 0, 0.9) 30%, #000 54%, rgba(0, 0, 0, 0.94) 74%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
	mask-size: 100% 100%;
	max-width: min(760px, 62vw);
	opacity: 0.96;
	overflow: hidden;
	position: absolute;
	right: min(-4vw, -24px);
	top: 0;
	transform: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 11%, rgba(0, 0, 0, 0.9) 30%, #000 54%, rgba(0, 0, 0, 0.94) 74%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
	-webkit-mask-size: 100% 100%;
	width: 62%;
	z-index: 1;
}

.mf-split-image::before {
	display: none;
}

.mf-split-image::after {
	display: none;
}

.mf-split-image img {
	filter: saturate(0.94) contrast(0.96);
	object-position: center center;
}

.mf-audience {
	padding-top: clamp(82px, 8vw, 112px);
}

.mf-card {
	box-shadow: var(--mf-shadow);
	display: grid;
	grid-template-columns: 1fr;
	min-height: 560px;
	overflow: hidden;
	position: relative;
}

.wp-block-cover.mf-card {
	align-items: center;
	display: flex;
}

.wp-block-cover.mf-card .wp-block-cover__inner-container {
	width: 100%;
	z-index: 3;
}

.wp-block-cover.mf-card > .wp-block-cover__image-background {
	z-index: 1;
}

.wp-block-cover.mf-card > .wp-block-cover__background {
	z-index: 2;
}

.wp-block-cover.mf-card::before {
	display: none;
}

.mf-card::before {
	background: linear-gradient(90deg, var(--mf-cream) 0%, color-mix(in srgb, var(--mf-cream) 98%, transparent) 30%, color-mix(in srgb, var(--mf-cream) 78%, transparent) 52%, color-mix(in srgb, var(--mf-cream) 20%, transparent) 78%, transparent 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.mf-card__copy {
	position: relative;
	width: 100%;
	z-index: 3;
}

.mf-card h3 {
	max-width: none;
	position: relative;
	width: min(560px, 150%);
	z-index: 4;
}

.mf-card__copy > p {
	max-width: 54%;
}

.mf-card__copy > .wp-block-buttons,
.mf-card__copy > .wp-block-buttons .wp-block-button,
.mf-card__copy > .wp-block-buttons .wp-block-button__link {
	width: 100%;
}

.mf-card--org .mf-button-link,
.mf-card--org .mf-button .wp-block-button__link {
	background: var(--mf-green);
}

.mf-card--org .mf-button-link:hover,
.mf-card--org .mf-button .wp-block-button__link:hover {
	background: var(--mf-green-2);
}

.mf-card-media {
	height: 100%;
	inset: 0;
	margin: 0;
	min-height: 0;
	opacity: 0.96;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.mf-trust-header {
	margin-inline: auto;
	max-width: 820px;
}

.mf-trust-body {
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.mf-trust-copy {
	align-self: center;
}

.mf-trust-copy .wp-block-buttons {
	justify-content: center;
	margin-top: 22px;
}

.mf-quote {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-size: clamp(1.45rem, 2.2vw, 2.1rem);
	font-style: italic;
	line-height: 1.35;
	margin: 58px auto 0;
	max-width: 900px;
	text-align: center;
}

.mf-quote::before {
	color: var(--mf-gold);
	content: "“";
	font-size: 2.2rem;
	padding-right: 8px;
}

.mf-contact-band {
	background: var(--mf-green);
	margin: 0;
	max-width: none;
	padding: 56px 0;
	width: 100%;
}

.mf-contact {
	align-items: start;
	color: var(--mf-white);
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1fr);
	margin-inline: auto;
	max-width: var(--mf-max);
	width: min(calc(100% - 48px), var(--mf-max));
}

.mf-contact h2 {
	color: var(--mf-white);
	font-size: clamp(2rem, 3.4vw, 3rem);
	margin: 0 0 18px;
}

.mf-contact p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
}

.mf-form {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mf-form label {
	display: block;
}

.mf-form span,
.mf-consent span {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.mf-form input,
.mf-form select,
.mf-form textarea {
	background: var(--mf-white);
	border: 1px solid rgba(255, 255, 255, 0.46);
	border-radius: 6px;
	color: var(--mf-text);
	font-family: var(--mf-sans);
	font-size: 0.9rem;
	min-height: 43px;
	padding: 0 13px;
	width: 100%;
}

.mf-form textarea {
	grid-column: 1 / -1;
	min-height: 98px;
	padding-block: 12px;
	resize: vertical;
}

.mf-form .mf-form-note {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.75rem;
	grid-column: 1 / -1;
	line-height: 1.55;
	margin: 6px 0 0;
}

.mf-form .mf-form-note a {
	color: var(--mf-gold-2);
}

.mf-form .mf-consent {
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.82);
	display: flex;
	font-size: 0.84rem;
	gap: 8px;
	grid-column: 1 / -1;
	line-height: 1.45;
}

.mf-consent input {
	accent-color: var(--mf-gold);
	flex: 0 0 auto;
	height: 14px;
	margin: 2px 10px 0 0;
	min-height: 0;
	padding: 0;
	width: 14px;
}

.mf-form button {
	grid-column: 1 / -1;
	justify-self: center;
	margin-top: 14px;
	min-width: 230px;
}

.mf-contact-page {
	padding-bottom: clamp(64px, 8vw, 112px);
}

.mf-contact-page .mf-contact-band {
	border-radius: 34px;
	margin-top: clamp(42px, 6vw, 74px);
	overflow: hidden;
}

.mf-contact-page .mf-contact {
	display: block;
	max-width: 820px;
}

.mf-contact-page .mf-contact-icon-list a {
	color: inherit;
}

.mf-contact-page .mf-service-hero {
	border-bottom: 0;
	margin-bottom: clamp(42px, 6vw, 72px);
	padding-bottom: 0;
}

.mf-contact-page .mf-service-hero h1 {
	text-transform: none;
}

.mf-organizar-page .mf-service-hero,
.mf-planear-page .mf-service-hero,
.mf-cuidar-page .mf-service-hero {
	align-items: stretch;
	aspect-ratio: auto;
	border-bottom: 0;
	column-gap: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
	grid-template-rows: 1fr 1fr;
	height: var(--mf-image-hero-height);
	margin-bottom: clamp(54px, 7vw, 92px);
	padding-bottom: 0;
	position: relative;
}

.mf-organizar-page .mf-service-hero > .mf-hero-copy,
.mf-planear-page .mf-service-hero > .mf-hero-copy,
.mf-cuidar-page .mf-service-hero > .mf-hero-copy {
	align-self: center;
	grid-row: 1 / span 2;
}

.mf-organizar-page .mf-service-hero h1,
.mf-planear-page .mf-service-hero h1,
.mf-cuidar-page .mf-service-hero h1 {
	font-size: clamp(3.4rem, 6vw, 5.8rem);
	line-height: 0.94;
	margin-top: 0;
	max-width: none;
}

.mf-organizar-page .mf-service-hero h1 span,
.mf-planear-page .mf-service-hero h1 span,
.mf-cuidar-page .mf-service-hero h1 span {
	color: var(--mf-gold);
	display: block;
}

.mf-organizar-page .mf-service-hero .mf-lede,
.mf-planear-page .mf-service-hero .mf-lede,
.mf-cuidar-page .mf-service-hero .mf-lede {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
	margin-top: 24px;
	max-width: 520px;
}

.mf-organizar-hero-media {
	aspect-ratio: auto;
	background:
		var(--mf-hero-fade),
		url("/wp-content/themes/maestriafinance-tt5-child/assets/images/organizar-expenses-plan.png") center / cover no-repeat;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	display: block;
	grid-column: 1 / -1;
	grid-row: 1 / span 2;
	height: 100%;
	margin: 0 0 0 calc(50% - 50vw);
	max-height: var(--mf-image-hero-height);
	max-width: none;
	overflow: hidden;
	position: relative;
	width: 100vw;
}

.mf-planear-hero-media {
	aspect-ratio: auto;
	background:
		var(--mf-hero-fade),
		url("/wp-content/themes/maestriafinance-tt5-child/assets/images/planear-futuro-casa-modelo.png") center / cover no-repeat;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	display: block;
	grid-column: 1 / -1;
	grid-row: 1 / span 2;
	height: 100%;
	margin: 0 0 0 calc(50% - 50vw);
	max-height: var(--mf-image-hero-height);
	max-width: none;
	overflow: hidden;
	position: relative;
	width: 100vw;
}

.mf-cuidar-hero-media {
	aspect-ratio: auto;
	background:
		var(--mf-hero-fade),
		url("/wp-content/themes/maestriafinance-tt5-child/assets/images/cuidar-organizacoes-workshop.png") center / cover no-repeat;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	display: block;
	grid-column: 1 / -1;
	grid-row: 1 / span 2;
	height: 100%;
	margin: 0 0 0 calc(50% - 50vw);
	max-height: var(--mf-image-hero-height);
	max-width: none;
	overflow: hidden;
	position: relative;
	width: 100vw;
}

.mf-organizar-hero-media img,
.mf-planear-hero-media img,
.mf-cuidar-hero-media img {
	display: block;
	height: 100%;
	opacity: 0;
	object-fit: cover;
	width: 100%;
}

.mf-socials a {
	color: var(--mf-text);
	text-decoration: none;
}

.mf-socials a:hover {
	color: var(--mf-gold);
}

.mf-socials {
	align-items: center;
	display: flex;
	gap: 18px;
	margin: 0;
}

.mf-socials a,
.mf-socials .wp-block-social-link-anchor {
	align-items: center;
	display: inline-flex;
}

.mf-socials .wp-social-link {
	background: transparent;
	color: var(--mf-text);
	margin: 0;
	width: 22px;
	height: 22px;
}

.mf-socials .wp-social-link svg {
	height: 18px;
	width: 18px;
}

.mf-service-page {
	margin-inline: auto;
	max-width: var(--mf-max);
	padding: clamp(58px, 7vw, 92px) 0 clamp(76px, 8vw, 118px);
	width: min(calc(100% - 48px), var(--mf-max));
}

.mf-service-hero {
	border-bottom: 0;
	margin-bottom: clamp(42px, 6vw, 72px);
	padding-bottom: clamp(36px, 5vw, 62px);
}

.mf-service-hero h1 {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-size: clamp(3.1rem, 6vw, 5.4rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	max-width: 920px;
	text-transform: none;
}

.mf-service-hero .mf-lede {
	margin-top: 26px;
	max-width: 760px;
}

.mf-service-intro {
	max-width: 840px;
}

.mf-service-intro p,
.mf-detail-panel p,
.mf-service-cta p {
	color: var(--mf-text);
	font-size: 1.02rem;
	line-height: 1.82;
	margin: 0 0 18px;
}

.mf-service-intro p:last-child,
.mf-detail-panel p:last-child,
.mf-service-cta p:last-child {
	margin-bottom: 0;
}

.mf-detail-panel {
	background: var(--mf-cream-2);
	border: 1px solid rgba(107, 82, 46, 0.12);
	border-radius: var(--mf-radius);
	padding: clamp(30px, 4vw, 44px);
}

.mf-icon-list {
	display: grid;
	gap: 20px clamp(30px, 5vw, 58px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 28px;
}

.mf-detail-panel h2,
.mf-service-cta h2 {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0 0 22px;
}

.mf-service-cta {
	align-items: center;
	background: var(--mf-green);
	border-radius: var(--mf-radius);
	color: var(--mf-white);
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: clamp(32px, 5vw, 54px);
}

.mf-service-cta h2,
.mf-service-cta p {
	color: var(--mf-white);
}

.mf-about-hero {
	align-items: stretch;
	aspect-ratio: auto;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
	grid-template-rows: auto 1fr;
	height: var(--mf-image-hero-height);
	margin-bottom: clamp(54px, 7vw, 92px);
	position: relative;
}

.mf-about-hero h1 {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-size: clamp(4rem, 5.8vw, 5.7rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	white-space: nowrap;
}

.mf-about-hero h1 .mf-heading-line {
	color: var(--mf-green);
	display: block;
}

.mf-about-hero h1 .mf-heading-line span {
	color: var(--mf-gold);
	display: inline;
}

.mf-about-hero__media {
	aspect-ratio: auto;
	background:
		linear-gradient(
      90deg,
      var(--mf-about-hero-transition) 0%,
      var(--mf-about-hero-transition) 5%,
      rgba(244, 239, 230, 0.88) 25%,
      rgba(244, 239, 230, 0.55) 40%,
      rgba(244, 239, 230, 0.18) 45%,
      rgba(244, 239, 230, 0) 90%),
		url("/wp-content/themes/maestriafinance-tt5-child/assets/images/about-founders.png") center / cover no-repeat;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	grid-column: 1 / -1;
	grid-row: 1 / span 2;
	height: 100%;
	margin: 0 0 0 calc(50% - 50vw);
	max-height: var(--mf-image-hero-height);
	max-width: none;
	overflow: hidden;
	position: relative;
	width: 100vw;
}

.mf-about-hero__media::after,
.mf-organizar-hero-media::after,
.mf-planear-hero-media::after,
.mf-cuidar-hero-media::after,
.mf-hero-media::after {
	background: var(--mf-hero-right-fade);
	content: "";
	inset: 0 0 0 auto;
	pointer-events: none;
	position: absolute;
	width: calc(var(--mf-about-hero-fade-width) + var(--mf-about-hero-gutter));
	z-index: 1;
}

@media (min-width: 981px) {
	.mf-about-hero__media,
	.mf-organizar-hero-media,
	.mf-planear-hero-media,
	.mf-cuidar-hero-media {
		background-color: var(--mf-about-hero-transition);
		background-position: center, center;
		background-repeat: no-repeat;
		background-size: 100% 100%, var(--mf-max) auto;
	}

	.mf-about-hero__media {
		background-image:
			var(--mf-hero-left-fade),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/about-founders.png");
	}

	.mf-organizar-hero-media {
		background-image:
			var(--mf-hero-left-fade),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/organizar-expenses-plan.png");
	}

	.mf-planear-hero-media {
		background-image:
			var(--mf-hero-left-fade),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/planear-futuro-casa-modelo.png");
	}

	.mf-cuidar-hero-media {
		background-image:
			var(--mf-hero-left-fade),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/cuidar-organizacoes-workshop.png");
	}

	.mf-hero-media {
		background-color: var(--mf-about-hero-transition);
	}

	.mf-hero-media::before {
		background: var(--mf-hero-left-fade);
	}

	.mf-hero-media img {
		margin-inline: auto;
		max-width: none;
		width: var(--mf-max);
	}
}

.mf-about-hero__media img {
	display: block;
	height: 100%;
	opacity: 0;
	object-fit: cover;
	width: 100%;
}

.mf-about-story {
	position: relative;
}

.mf-about-story::before {
	background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mf-gold) 36%, transparent) 7%, color-mix(in srgb, var(--mf-gold) 36%, transparent) 93%, transparent);
	bottom: 14px;
	content: "";
	left: 33px;
	pointer-events: none;
	position: absolute;
	top: 14px;
	width: 1px;
	z-index: 0;
}

.mf-about-story > .wp-block-group {
	padding-left: 96px;
	position: relative;
	z-index: 1;
}

.mf-about-story > .wp-block-group::before {
	align-items: center;
	background: var(--mf-bg);
	border: 1px solid color-mix(in srgb, var(--mf-gold) 34%, transparent);
	border-radius: 50%;
	content: "";
	display: flex;
	height: 66px;
	justify-content: center;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 66px;
	z-index: 1;
}

.mf-about-story > .wp-block-group > .wp-block-maestriafinance-svg-icon {
	left: 16px;
	pointer-events: none;
	position: absolute;
	top: 16px;
	z-index: 2;
}

.editor-styles-wrapper .mf-about-story::before,
.editor-styles-wrapper .mf-about-story > .wp-block-group::before {
	display: none;
}

.editor-styles-wrapper .mf-about-story > .wp-block-group {
	padding-left: 0;
	z-index: auto;
}

.editor-styles-wrapper .mf-about-story .block-editor-block-list__block,
.editor-styles-wrapper .mf-about-story .wp-block-maestriafinance-svg-icon {
	left: auto;
	pointer-events: auto;
	position: relative;
	top: auto;
	z-index: auto;
}

.editor-styles-wrapper .mf-about-story .wp-block-maestriafinance-svg-icon {
	display: inline-flex;
	margin-bottom: 12px;
}

.mf-about-story :where(h2) {
	color: var(--mf-green);
	font-family: var(--mf-serif);
	font-size: clamp(2rem, 3vw, 3.15rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.04;
}

.mf-about-story :where(p) {
	color: var(--mf-text);
	font-size: 1.02rem;
	line-height: 1.82;
}

.mf-about-story :where(strong, b) {
	font-weight: 800;
}

.mf-about-highlight {
	background: rgba(244, 239, 230, 0.72);
	border-left: 4px solid var(--mf-gold);
	margin: 24px 0;
	padding: 18px 22px;
}

.mf-about-highlight p {
	color: var(--mf-gold);
	font-family: var(--mf-serif);
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-style: italic;
	line-height: 1.25;
	margin: 0;
}

.mf-about-quote-band {
	background:
		linear-gradient(90deg, var(--mf-green) 0, var(--mf-green) 34%, color-mix(in srgb, var(--mf-green) 96%, transparent) 44%, color-mix(in srgb, var(--mf-green) 72%, transparent) 56%, color-mix(in srgb, var(--mf-green) 28%, transparent) 68%, transparent 82%),
		url("/wp-content/themes/maestriafinance-tt5-child/assets/images/about-founders-quote.png") right center / 66% 100% no-repeat,
		var(--mf-green);
	border-radius: 34px;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	margin-top: clamp(58px, 7vw, 88px);
	overflow: hidden;
	padding: 0;
}

.mf-about-quote-copy {
	max-width: 520px;
	padding: clamp(34px, 5vw, 58px);
	position: relative;
	z-index: 1;
}

.mf-about-quote-band .mf-quote {
	color: var(--mf-white);
	margin: 0;
	max-width: none;
	padding: 0;
}

.mf-about-quote-band .mf-quote span {
	color: var(--mf-gold);
}

.mf-about-quote-band .mf-quote::before {
	content: none;
	padding-right: 0;
}

.mf-about-quote-image {
	height: 100%;
	margin: 0;
	min-height: 280px;
}

.mf-about-quote-image img {
	display: block;
	height: 100%;
	opacity: 0;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 980px) {
	.mf-site-header {
		align-items: center;
		flex-wrap: wrap;
	}

	.mf-nav {
		flex: 1 1 auto;
		width: auto;
	}

	.mf-nav .wp-block-navigation__container {
		row-gap: 10px;
	}

	.mf-nav-cta {
		flex: 0 0 100%;
		order: 2;
	}

	.mf-nav-cta a {
		width: 100%;
	}

	.mf-hero,
	.mf-trust-body,
	.mf-contact,
	.mf-about-hero,
	.mf-organizar-page .mf-service-hero,
	.mf-planear-page .mf-service-hero,
	.mf-cuidar-page .mf-service-hero,
	.mf-about-quote-band {
		aspect-ratio: auto;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.mf-hero {
		align-items: start;
		aspect-ratio: auto;
		grid-template-rows: auto;
		min-height: 0;
		padding-top: 0;
	}

	.mf-hero-copy,
	.mf-hero-followup {
		padding-right: 0;
	}

	.mf-hero > .mf-hero-copy,
	.mf-about-hero > .mf-hero-copy {
		grid-column: 1;
		grid-row: 2;
		padding-top: 0;
	}

	.mf-hero-followup {
		grid-column: 1;
		grid-row: 3;
	}

	.mf-hero-media {
		aspect-ratio: 1.25 / 0.86;
		border-radius: 0;
		grid-column: 1;
		grid-row: 1;
		height: auto;
		margin-left: calc(50% - 50vw);
		order: -1;
		width: 100vw;
	}

	.mf-hero-media::before {
		background: linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--mf-bg) 62%, transparent) 78%, var(--mf-bg) 100%);
	}

	.mf-band-inner {
		min-height: 0;
		padding: 0 0 clamp(48px, 10vw, 64px);
	}

	.mf-band-inner > .wp-block-group:first-child {
		max-width: none;
	}

	.mf-pillars h2,
	.mf-pillar-grid {
		max-width: none;
	}

	.mf-pillars h2 {
		background:
			linear-gradient(180deg, rgba(238, 242, 234, 0.08) 0%, rgba(238, 242, 234, 0) 48%, var(--mf-sage) 100%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/plant-growth-sage-fade.png") center top / cover no-repeat;
		box-sizing: border-box;
		margin-left: calc(50% - 50vw);
		padding: clamp(48px, 10vw, 64px) 24px clamp(220px, 68vw, 300px);
		width: 100vw;
	}

	.mf-split-image {
		display: none;
	}

	.mf-split-image::before,
	.mf-split-image::after {
		display: none;
	}

	.mf-services-grid,
	.mf-pillar-grid,
	.mf-card-grid,
	.mf-service-cta {
		grid-template-columns: 1fr;
	}

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

	.mf-service {
		border-bottom: 1px solid var(--mf-border);
		border-right: 0;
		padding: 0 0 34px;
	}

	.mf-service h3,
	.mf-service p {
		max-width: none;
		width: 100%;
	}

	.mf-service:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.mf-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mf-card::before {
		display: none;
	}

	.mf-card__copy > p {
		max-width: none;
	}

	.mf-card h3 {
		width: auto;
	}

	.mf-card-media {
		aspect-ratio: 1.28 / 0.72;
		clip-path: none;
		mask-image: none;
		order: -1;
		position: relative;
		right: auto;
		top: auto;
		-webkit-mask-image: none;
		width: 100%;
	}

	.mf-card-media img {
		position: static;
	}

	.mf-footer-wrap > .wp-block-group:first-child {
		align-items: flex-start;
		flex-direction: column;
	}

	.mf-about-story {
		grid-template-columns: 1fr;
	}

	.mf-organizar-page .mf-service-hero > .mf-hero-copy,
	.mf-planear-page .mf-service-hero > .mf-hero-copy,
	.mf-cuidar-page .mf-service-hero > .mf-hero-copy {
		grid-column: 1;
		grid-row: 2;
		padding-top: 28px;
	}

	.mf-hero,
	.mf-about-hero,
	.mf-organizar-page .mf-service-hero,
	.mf-planear-page .mf-service-hero,
	.mf-cuidar-page .mf-service-hero {
		height: auto;
	}

	.mf-about-hero__media,
	.mf-organizar-hero-media,
	.mf-planear-hero-media,
	.mf-cuidar-hero-media {
		aspect-ratio: 1.25 / 0.86;
		grid-row: 1;
		height: auto;
		margin-left: calc(50% - 50vw);
		width: 100vw;
	}

	.mf-about-hero > .mf-hero-copy,
	.mf-organizar-page .mf-service-hero > .mf-hero-copy,
	.mf-about-hero__media,
	.mf-organizar-hero-media,
	.mf-planear-page .mf-service-hero > .mf-hero-copy,
	.mf-planear-hero-media,
	.mf-cuidar-page .mf-service-hero > .mf-hero-copy,
	.mf-cuidar-hero-media {
		grid-column: 1;
	}

	.mf-organizar-hero-media,
	.mf-planear-hero-media,
	.mf-cuidar-hero-media {
		border-radius: 0;
	}

	.mf-about-hero__media {
		background:
			linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--mf-bg) 62%, transparent) 78%, var(--mf-bg) 100%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/about-founders.png") center / cover no-repeat;
		border-radius: 0;
	}

	.mf-about-hero__media::after,
	.mf-organizar-hero-media::after,
	.mf-planear-hero-media::after,
	.mf-cuidar-hero-media::after,
	.mf-hero-media::after {
		display: none;
	}

	.mf-organizar-hero-media {
		background:
			linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--mf-bg) 62%, transparent) 78%, var(--mf-bg) 100%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/organizar-expenses-plan.png") center / cover no-repeat;
	}

	.mf-planear-hero-media {
		background:
			linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--mf-bg) 62%, transparent) 78%, var(--mf-bg) 100%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/planear-futuro-casa-modelo.png") center / cover no-repeat;
	}

	.mf-cuidar-hero-media {
		background:
			linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--mf-bg) 62%, transparent) 78%, var(--mf-bg) 100%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/cuidar-organizacoes-workshop.png") center / cover no-repeat;
	}
}

@media (max-width: 640px) {
	.mf-site-header,
	.mf-section,
	.mf-hero,
	.mf-band-inner,
	.mf-contact,
	.mf-service-page {
		width: min(calc(100% - 32px), var(--mf-max));
	}

	.mf-site-header {
		display: flex;
		flex-wrap: nowrap;
		padding-bottom: 0;
		padding-top: 20px;
	}

	.mf-nav {
		display: flex;
		flex: 0 0 auto;
		margin-left: auto;
	}

	.mf-site-header .mf-nav .mf-nav-cta {
		display: none !important;
	}

	.mf-hero {
		padding-top: 0;
	}

	.mf-hero h1 {
		font-size: clamp(2.65rem, 12vw, 4rem);
	}

	.mf-pillars h2 {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mf-form {
		grid-template-columns: 1fr;
	}

	.mf-actions .wp-block-button,
	.mf-actions .wp-block-button__link,
	.mf-form button {
		width: 100%;
	}

	.mf-hero-media {
		border-radius: 0;
	}

	.mf-contact-page,
	.mf-service-page {
		padding-top: 0 !important;
	}

	.mf-about-hero,
	.mf-contact-page .mf-service-hero,
	.mf-organizar-page .mf-service-hero,
	.mf-planear-page .mf-service-hero,
	.mf-cuidar-page .mf-service-hero {
		margin-top: 0;
	}

	.mf-icon-list {
		grid-template-columns: 1fr;
	}

	.mf-trust-grid {
		grid-template-columns: 1fr;
	}

	.mf-service-hero h1 {
		font-size: clamp(2.45rem, 14vw, 3.5rem);
	}

	.mf-about-hero h1 {
		font-size: clamp(2.65rem, 12vw, 4rem);
	}

	.mf-about-quote-band {
		background:
			linear-gradient(180deg, var(--mf-green) 0, var(--mf-green) 36%, color-mix(in srgb, var(--mf-green) 92%, transparent) 48%, color-mix(in srgb, var(--mf-green) 58%, transparent) 62%, color-mix(in srgb, var(--mf-green) 16%, transparent) 78%, transparent 92%),
			url("/wp-content/themes/maestriafinance-tt5-child/assets/images/about-founders-quote.png") center bottom / 100% auto no-repeat,
			var(--mf-green);
		border-radius: 24px;
	}

	.mf-about-quote-copy {
		max-width: none;
		padding: 30px 22px;
	}

	.mf-about-quote-image {
		min-height: 220px;
	}

	.mf-form button {
		justify-self: stretch;
		min-width: 0;
	}
}
