.master-export-markets-active #content,
.master-export-markets-active .site-content,
.master-export-markets-active .ast-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.master-export-markets-active .site-content .content-area,
.master-export-markets-active .entry-header,
.master-export-markets-active .entry-content > :first-child {
	display: none !important;
}

.master-export-markets-page {
	--mep-markets-ink: #202d42;
	--mep-markets-muted: #657286;
	--mep-markets-paper: #fbfaf8;
	--mep-markets-stone: #f1f0ed;
	--mep-markets-red: #e12726;
	--mep-markets-green: #6fa936;
	--mep-markets-yellow: #c28a00;
	/* As mesmas cores estruturais usadas pelo hero de Setores. */
	--mep-sector-ink: #202d42;
	--mep-sector-muted: #647080;
	--mep-sector-green: #81bd41;
	--mep-sector-green-dark: #5f932b;
	--mep-sector-yellow: #ffc52f;
	--mep-sector-yellow-dark: #c28a00;
	--mep-sector-red: #e12726;
	--mep-sector-red-dark: #b51f20;
	--mep-project-ink: #242425;
	--mep-project-muted: #5c5c5d;
	--mep-project-green: #ffc52f;
	--mep-project-green-dark: #c28a00;
	--mep-project-yellow: #ffc52f;
	--mep-project-yellow-light: #fed771;
	--mep-project-warm: #ffffff;
	--mep-project-stone: #ffffff;
	--mep-project-line: #d9d8d1;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: var(--mep-markets-paper);
	color: var(--mep-markets-ink);
	font-family: 'Plus Jakarta Sans', 'Manrope', 'Quicksand', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

.master-export-markets-page *,
.master-export-markets-page *::before,
.master-export-markets-page *::after { box-sizing: border-box; }

.master-export-markets-page .mep-project-markets .mep-project-section-heading {
	gap: 1.5rem;
}

.master-export-markets-page .mep-project-markets .mep-project-section-heading > p {
	max-width: 46rem;
	padding-bottom: 0;
}

@media (min-width: 981px) {
	.master-export-markets-page .mep-project-market-carousel__controls {
		display: none;
	}
}

.master-export-markets-page h1,
.master-export-markets-page h2,
.master-export-markets-page h3 { letter-spacing: -.035em; }

.master-export-markets-page img { display: block; max-width: 100%; }

.mep-markets-container { width: 90%; max-width: none; margin: 0 auto; }

.mep-markets-hero {
	position: relative;
	min-height: 39rem;
	padding: 9.5rem 0 6.5rem;
	background: #242425;
	color: #fff;
}

.mep-markets-hero::after,
.mep-markets-section::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	height: 3px;
	background: linear-gradient(90deg, var(--mep-markets-green), #ffc52f, var(--mep-markets-red));
	content: '';
}

.mep-markets-hero__grid { position: static; display: flex; align-items: center; min-height: 24rem; }
.mep-markets-hero__copy { position: relative; z-index: 1; max-width: 43rem; }
.mep-markets-hero__image { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; margin: 0; overflow: hidden; opacity: 1; z-index: 0; }
.mep-markets-hero__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32, 45, 66, .78) 0%, rgba(32, 45, 66, .52) 46%, rgba(32, 45, 66, .16) 100%), linear-gradient(145deg, transparent 50%, rgba(255, 197, 47, .18)); content: ''; }
.mep-markets-hero__background { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

.mep-markets-kicker { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; color: #fed771; font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.mep-markets-kicker i { display: block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.mep-markets-kicker--dark { color: #a06d00; }
.mep-markets-hero h1 { max-width: 11ch; margin: 1rem 0 1.5rem; color: #fff; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 800; line-height: 1.02; }
.mep-markets-hero p { max-width: 40rem; margin: 0; color: #f0f0ec; font-size: 1rem; line-height: 1.75; }
.mep-markets-button { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; padding: .9rem 1.15rem; border-radius: .7rem; background: #ffc52f; color: #242425; font-size: .75rem; font-weight: 800; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease; }
.mep-markets-button:hover { transform: translateY(-2px); background: #fed771; color: #242425; }

.mep-markets-section { position: relative; padding: 7.5rem 0; }
.mep-markets-intro { background: var(--mep-markets-paper); }
.mep-markets-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .75fr); align-items: end; gap: 5rem; margin-bottom: 3.5rem; }
.mep-markets-section-heading h2 { max-width: 14ch; margin: 0; color: var(--mep-markets-ink); font-size: clamp(2.5rem, 4.5vw, 4.7rem); font-weight: 800; line-height: 1.02; }
.mep-markets-section-heading p { max-width: 35rem; margin: 0; color: var(--mep-markets-muted); font-size: .95rem; line-height: 1.85; }

.mep-markets-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mep-markets-origin { display: grid; grid-template-columns: minmax(15rem, .42fr) minmax(0, 1fr); align-items: stretch; gap: 1rem; margin-bottom: 2.25rem; }
.mep-markets-origin__label { display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.25rem 1rem 0; }
.mep-markets-origin__label .mep-markets-kicker { margin-bottom: .8rem; }
.mep-markets-origin__label h3 { max-width: 12ch; margin: 0; color: var(--mep-markets-ink); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.05; }
.mep-markets-origin .mep-market-card { min-height: 12rem; }
.mep-markets-origin .mep-market-card p { max-width: 48rem; }
.mep-markets-priority-title { margin: 0 0 1rem; color: var(--mep-markets-ink); font-size: 1rem; font-weight: 800; }
.mep-market-card { position: relative; display: flex; min-height: 15.5rem; padding: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .28); border-radius: 1rem; background-color: #59636d; background-image: var(--mep-market-image); background-position: center; background-size: cover; color: #fff; box-shadow: 0 1rem 2.5rem rgba(32, 45, 66, .12); transition: transform 180ms ease, box-shadow 180ms ease; }
.mep-market-card::before { display: none; }
.mep-market-card::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(32, 45, 66, .88), rgba(32, 45, 66, .48) 78%); content: ''; }
.mep-market-card > * { position: relative; z-index: 1; }
.mep-market-card__link { display: flex; flex: 1; flex-direction: column; padding: 1.45rem; color: inherit; text-decoration: none; }
.mep-market-card__link:hover { color: inherit; text-decoration: none; }
.mep-market-card:hover { transform: translateY(-4px); box-shadow: 0 1.4rem 3rem rgba(32, 45, 66, .12); }
.mep-market-card__overlay { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; border-radius: inherit; pointer-events: none; }
.mep-market-card__content { position: relative; z-index: 2; display: flex; width: 100%; min-width: 0; min-height: 15.5rem; flex-direction: column; justify-content: flex-end; padding: 1.45rem; }
.mep-market-card--all { border-color: transparent; background-color: #202d42; text-decoration: none; }
.mep-market-card--all::after { background: linear-gradient(145deg, rgba(255, 197, 47, .14), rgba(36, 36, 37, .86) 68%); }
.mep-market-card--all .mep-market-card__content > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.mep-market-card--all .mep-market-card__all-icon { color: #ffc52f; font-size: 1.55rem; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.mep-market-card--all h3 { margin: 0 0 .45rem; color: #fff; font-size: 1.35rem; font-weight: 800; }
.mep-market-card--all p { min-height: 3.9rem; margin: 0; color: rgba(255, 255, 255, .82); font-size: .68rem; line-height: 1.55; }
.mep-market-card__project-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; color: #ffe48a; font-size: .65rem; font-weight: 800; }
.mep-market-card__project-link .material-symbols-outlined { font-size: .95rem; }
.mep-market-card__top { display: flex; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .78); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.mep-market-card__top h3 { margin: 0; color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.035em; }
.mep-market-card__flag { margin-left: auto; font-size: 1.45rem; line-height: 1; letter-spacing: 0; filter: drop-shadow(0 .1rem .15rem rgba(0, 0, 0, .22)); }
.mep-market-card__number { color: rgba(255, 255, 255, .78); }
.mep-market-card p { min-height: 4.5rem; margin: 0; color: rgba(255, 255, 255, .86); font-size: .78rem; line-height: 1.65; }
.mep-market-card__status { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .84); font-size: .64rem; font-weight: 800; }

.mep-markets-approach { background: #fff; }
.mep-markets-approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.mep-markets-approach-grid article { --mep-approach-accent: var(--mep-markets-yellow); min-height: 12rem; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 2px solid var(--mep-approach-accent); background: transparent; transition: transform 180ms ease, box-shadow 180ms ease; }
.mep-markets-approach-grid article:nth-child(2) { --mep-approach-accent: var(--mep-markets-green); }
.mep-markets-approach-grid article:nth-child(3) { --mep-approach-accent: var(--mep-markets-red); }
.mep-markets-approach-grid article:hover,
.mep-markets-approach-grid article:focus-within { transform: translateY(-4px); box-shadow: 0 -3px 0 var(--mep-approach-accent); }
.mep-markets-approach-grid strong { display: block; margin-bottom: 1.75rem; color: var(--mep-markets-muted); font-size: 1.8rem; letter-spacing: -.04em; line-height: 1; transition: color 180ms ease, transform 180ms ease; }
.mep-markets-approach-grid article:hover strong,
.mep-markets-approach-grid article:focus-within strong { color: var(--mep-approach-accent); transform: translateX(2px) scale(1.08); transform-origin: left center; }
.mep-markets-approach-grid h3 { margin: 0 0 .65rem; color: var(--mep-markets-ink); font-size: 1.15rem; font-weight: 800; transition: color 180ms ease; }
.mep-markets-approach-grid article:hover h3,
.mep-markets-approach-grid article:focus-within h3 { color: var(--mep-approach-accent); }
.mep-markets-approach-grid p { margin: 0; color: var(--mep-markets-muted); font-size: .8rem; line-height: 1.7; transition: color 180ms ease; }
.mep-markets-approach-grid article:hover p,
.mep-markets-approach-grid article:focus-within p { color: var(--mep-markets-ink); }

@media (prefers-reduced-motion: reduce) {
	.mep-markets-approach-grid article,
	.mep-markets-approach-grid strong,
	.mep-markets-approach-grid h3,
	.mep-markets-approach-grid p { transition: none; }
}

.mep-markets-actions { background: #242425; color: #fff; }
.mep-markets-actions .mep-markets-section-heading h2 { color: #fff; }
.mep-markets-actions .mep-markets-section-heading p { color: #d8d8d4; }
.mep-markets-actions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mep-markets-actions-grid article { --mep-action-accent: #ffc52f; position: relative; min-height: 13rem; padding: 1.5rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 1rem; background: rgba(255, 255, 255, .06); transition: background-color 220ms ease, border-color 220ms ease; }
.mep-markets-actions-grid article:nth-child(2) { --mep-action-accent: var(--mep-markets-green); }
.mep-markets-actions-grid article:nth-child(3) { --mep-action-accent: var(--mep-markets-red); }
.mep-markets-actions-grid article::before { position: absolute; inset: -35% -20% auto; height: 150%; background: linear-gradient(135deg, color-mix(in srgb, var(--mep-action-accent) 22%, transparent), transparent 62%); content: ''; opacity: 0; transform: translateX(-34%) rotate(-8deg); transform-origin: left center; transition: opacity 220ms ease, transform 420ms cubic-bezier(.2, .75, .25, 1); }
.mep-markets-actions-grid article > * { position: relative; z-index: 1; }
.mep-markets-actions-grid article:hover,
.mep-markets-actions-grid article:focus-within { border-color: color-mix(in srgb, var(--mep-action-accent) 65%, rgba(255, 255, 255, .16)); background: rgba(255, 255, 255, .1); }
.mep-markets-actions-grid article:hover::before,
.mep-markets-actions-grid article:focus-within::before { opacity: 1; transform: translateX(0) rotate(-8deg); }
.mep-markets-actions-grid strong { display: block; margin-bottom: 2rem; color: var(--mep-action-accent); font-size: .75rem; letter-spacing: .12em; transition: color 220ms ease, letter-spacing 220ms ease, transform 220ms ease; }
.mep-markets-actions-grid article:hover strong,
.mep-markets-actions-grid article:focus-within strong { color: var(--mep-action-accent); letter-spacing: .2em; transform: translateX(3px); }
.mep-markets-actions-grid h3 { position: relative; width: fit-content; margin: 0 0 .65rem; color: #fff; font-size: 1.1rem; font-weight: 800; transition: color 220ms ease; }
.mep-markets-actions-grid article:hover h3,
.mep-markets-actions-grid article:focus-within h3 { color: var(--mep-action-accent); }
.mep-markets-actions-grid h3::after { display: block; width: 0; height: 2px; margin-top: .45rem; border-radius: 999px; background: var(--mep-action-accent); content: ''; transition: width 260ms ease; }
.mep-markets-actions-grid article:hover h3::after,
.mep-markets-actions-grid article:focus-within h3::after { width: 2.8rem; }
.mep-markets-actions-grid p { margin: 0; color: #d8d8d4; font-size: .8rem; line-height: 1.7; transition: color 220ms ease; }
.mep-markets-actions-grid article:hover p,
.mep-markets-actions-grid article:focus-within p { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.mep-markets-actions-grid article,
	.mep-markets-actions-grid article::before,
	.mep-markets-actions-grid strong,
	.mep-markets-actions-grid h3::after,
	.mep-markets-actions-grid p { transition: none; }
}

.mep-markets-focus { background: var(--mep-markets-stone); }
.mep-markets-focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 5rem; }
.mep-markets-focus-grid article { --mep-focus-accent: var(--mep-markets-yellow); display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; min-height: 8rem; padding: 1.5rem 0; border-top: 1px solid #d8d5ce; transition: transform 220ms ease, box-shadow 220ms ease; }
.mep-markets-focus-grid article:nth-child(2) { --mep-focus-accent: var(--mep-markets-green); }
.mep-markets-focus-grid article:nth-child(3) { --mep-focus-accent: var(--mep-markets-red); }
.mep-markets-focus-grid article:nth-child(4) { --mep-focus-accent: var(--mep-markets-yellow); }
.mep-markets-focus-grid strong { color: var(--mep-focus-accent); font-size: .75rem; letter-spacing: .08em; transition: color 220ms ease, transform 220ms ease; }
.mep-markets-focus-grid h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 800; transition: color 220ms ease; }
.mep-markets-focus-grid p { margin: 0; color: var(--mep-markets-muted); font-size: .8rem; line-height: 1.7; transition: color 220ms ease, max-height 260ms ease, opacity 220ms ease, transform 220ms ease, margin-top 220ms ease; }

@media (hover: hover) and (pointer: fine) {
	.mep-markets-focus-grid article p { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-.35rem); }
	.mep-markets-focus-grid article:hover,
	.mep-markets-focus-grid article:focus-within { transform: translateY(-3px); box-shadow: 0 2px 0 var(--mep-focus-accent); }
	.mep-markets-focus-grid article:hover strong,
	.mep-markets-focus-grid article:focus-within strong { transform: translateX(2px) scale(1.12); transform-origin: left center; }
	.mep-markets-focus-grid article:hover h3,
	.mep-markets-focus-grid article:focus-within h3 { color: var(--mep-focus-accent); }
	.mep-markets-focus-grid article:hover p,
	.mep-markets-focus-grid article:focus-within p { max-height: 5rem; margin-top: .65rem; opacity: 1; color: var(--mep-markets-ink); transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.mep-markets-focus-grid article,
	.mep-markets-focus-grid strong,
	.mep-markets-focus-grid h3,
	.mep-markets-focus-grid p { transition: none; }
}

@media (max-width: 900px) {
	.mep-markets-hero { min-height: auto; padding: 8.5rem 0 5rem; }
	.mep-markets-hero__grid { display: block; min-height: 0; }
	.mep-markets-hero__image { inset: 0; opacity: .88; }
	.mep-markets-hero__background { object-fit: cover; }
	.mep-markets-hero__copy { max-width: 38rem; }
	.mep-markets-section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
	.mep-markets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mep-markets-approach-grid { grid-template-columns: 1fr; }
	.mep-markets-actions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.mep-markets-container { width: 86%; }
	.mep-markets-section { padding: 5rem 0; }
	.mep-markets-grid,
	.mep-markets-focus-grid { grid-template-columns: 1fr; }
	.mep-markets-origin { gap: 1rem; margin-bottom: 1.75rem; }
	.mep-market-card { min-height: auto; }
	.mep-markets-hero h1 { font-size: 2.8rem; }
}

@media (max-width: 760px) {
	.mep-markets-origin { grid-template-columns: 1fr; }
	.mep-markets-origin__label { padding: 0; }
	.mep-markets-origin__label h3 { max-width: none; }
}
