/* ==========================================================================
   Mobilidade Plus — folha de estilo principal
   Sistema de design: tokens, tipografia, componentes, layouts, utilitários.
   Sem dependências externas. Sem fontes remotas. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Colors: oatmeal wool, aubergine ink, mulberry accent, pine and mustard */
	--mbp-paper: #faf5ec;
	--mbp-paper-deep: #f2e8d9;
	--mbp-surface: #fffdf9;
	--mbp-ink: #2b1e25;
	--mbp-ink-soft: #5b4a52;
	--mbp-ink-muted: #76656c;
	--mbp-line: #e8dac6;
	--mbp-line-strong: #cfbb9f;
	--mbp-accent: #8e2f52;
	--mbp-accent-hover: #6d2040;
	--mbp-accent-soft: #f8e7ed;
	--mbp-second: #2d4a40;
	--mbp-second-soft: #e7efe9;
	--mbp-focus: #1d5fa8;
	--mbp-gold: #c98a1b;
	--mbp-gold-soft: #fbf0d6;

	/* Tipografia — pilhas do sistema, nenhum download */
	--mbp-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mbp-font-head: "Sitka Heading", "Sitka Text", Constantia, "Hoefler Text", Baskerville, Georgia, serif;
	--mbp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--mbp-text-xs: 0.78rem;
	--mbp-text-sm: 0.875rem;
	--mbp-text-base: 1rem;
	--mbp-text-md: 1.0625rem;
	--mbp-text-lg: 1.1875rem;
	--mbp-text-xl: 1.375rem;
	--mbp-text-2xl: 1.625rem;
	--mbp-text-3xl: 2rem;
	--mbp-text-4xl: 2.5rem;

	--mbp-leading-tight: 1.2;
	--mbp-leading-snug: 1.35;
	--mbp-leading-normal: 1.65;
	--mbp-leading-relaxed: 1.75;

	/* Espaçamento — escala de 4px */
	--mbp-s1: 0.25rem;
	--mbp-s2: 0.5rem;
	--mbp-s3: 0.75rem;
	--mbp-s4: 1rem;
	--mbp-s5: 1.5rem;
	--mbp-s6: 2rem;
	--mbp-s7: 2.5rem;
	--mbp-s8: 3rem;
	--mbp-s9: 4rem;
	--mbp-s10: 5rem;

	/* Formas e sombras */
	--mbp-radius-sm: 10px;
	--mbp-radius: 16px;
	--mbp-radius-lg: 26px;
	--mbp-shadow-sm: 0 1px 2px rgba(43, 30, 37, 0.06);
	--mbp-shadow: 0 2px 10px rgba(43, 30, 37, 0.07);
	--mbp-shadow-lg: 0 10px 30px rgba(43, 30, 37, 0.1);

	/* Layout */
	--mbp-container: 1180px;
	--mbp-container-narrow: 760px;
	--mbp-measure: 68ch;
	--mbp-gutter: var(--mbp-s4);

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--mbp-gutter: var(--mbp-s6);
	}
}

/* --------------------------------------------------------------------------
   2. Reset moderado
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--mbp-paper);
	color: var(--mbp-ink);
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-md);
	line-height: var(--mbp-leading-normal);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--mbp-line);
	margin: var(--mbp-s7) 0;
}

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--mbp-font-head);
	color: var(--mbp-ink);
	line-height: var(--mbp-leading-tight);
	margin: 0 0 var(--mbp-s4);
	font-weight: 600;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(1.875rem, 1.35rem + 2.2vw, var(--mbp-text-4xl));
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, var(--mbp-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, var(--mbp-text-xl));
}

h4 {
	font-size: var(--mbp-text-lg);
}

h5,
h6 {
	font-size: var(--mbp-text-base);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--mbp-ink-soft);
}

p {
	margin: 0 0 var(--mbp-s4);
}

a {
	color: var(--mbp-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--mbp-accent-hover);
}

strong,
b {
	font-weight: 650;
}

small {
	font-size: var(--mbp-text-sm);
}

code,
kbd,
samp {
	font-family: var(--mbp-font-mono);
	font-size: 0.9em;
	background: var(--mbp-paper-deep);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius-sm);
	padding: 0.1em 0.35em;
}

pre {
	font-family: var(--mbp-font-mono);
	font-size: var(--mbp-text-sm);
	background: var(--mbp-paper-deep);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s4);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
}

blockquote {
	margin: var(--mbp-s6) 0;
	padding: var(--mbp-s2) 0 var(--mbp-s2) var(--mbp-s5);
	border-left: 3px solid var(--mbp-accent);
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-lg);
	color: var(--mbp-ink-soft);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: var(--mbp-s2);
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-style: normal;
	color: var(--mbp-ink-muted);
}

/* --------------------------------------------------------------------------
   4. Acessibilidade
   -------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--mbp-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--mbp-surface);
	border-radius: var(--mbp-radius-sm);
	box-shadow: var(--mbp-shadow);
	clip-path: none;
	color: var(--mbp-accent);
	display: block;
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	height: auto;
	left: var(--mbp-s4);
	line-height: normal;
	padding: var(--mbp-s3) var(--mbp-s4);
	text-decoration: none;
	top: var(--mbp-s4);
	width: auto;
	z-index: 100000;
}

.mbp-skip-link:focus {
	position: fixed;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.mbp-container {
	width: 100%;
	max-width: var(--mbp-container);
	margin-inline: auto;
	padding-inline: var(--mbp-gutter);
}

.mbp-container--narrow {
	max-width: var(--mbp-container-narrow);
}

.mbp-site-main {
	flex: 1 0 auto;
	padding-block: var(--mbp-s7) var(--mbp-s9);
}

/* Usado na home, onde o herói encosta no cabeçalho. */
.mbp-site-main--flush {
	padding-top: 0;
}

.mbp-layout {
	display: grid;
	gap: var(--mbp-s7);
}

@media (min-width: 62em) {
	.mbp-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--mbp-s8);
		align-items: start;
	}
}

.mbp-stack > * + * {
	margin-top: var(--mbp-s4);
}

.mbp-section {
	margin-block: var(--mbp-s9);
}

.mbp-section:first-child {
	margin-top: 0;
}

.mbp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--mbp-s3);
	margin-bottom: var(--mbp-s5);
	padding-bottom: var(--mbp-s3);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-section__title {
	margin: 0;
	font-size: var(--mbp-text-2xl);
}

.mbp-section__description {
	flex-basis: 100%;
	margin: 0;
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-base);
	max-width: var(--mbp-measure);
}

.mbp-section__link {
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.mbp-section__link:hover {
	text-decoration: underline;
}

.mbp-section__link::after {
	content: " →";
}

/* --------------------------------------------------------------------------
   6. Cabeçalho e navegação
   -------------------------------------------------------------------------- */

.mbp-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--mbp-surface);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mbp-s4);
	min-height: 4.25rem;
}

.mbp-branding {
	display: flex;
	align-items: center;
	gap: var(--mbp-s3);
	min-width: 0;
}

.mbp-branding__mark {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
}

.mbp-branding__text {
	min-width: 0;
}

.mbp-branding__title {
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-xl);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.015em;
}

.mbp-branding__title a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-branding__title a:hover {
	color: var(--mbp-accent);
}

.mbp-branding__tagline {
	margin: 0.15rem 0 0;
	font-size: var(--mbp-text-xs);
	color: var(--mbp-ink-muted);
	line-height: 1.3;
}

.mbp-custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

/* Botão do menu móvel */
.mbp-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--mbp-s2);
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line-strong);
	border-radius: var(--mbp-radius-sm);
	color: var(--mbp-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	padding: var(--mbp-s2) var(--mbp-s3);
}

.mbp-menu-toggle:hover {
	border-color: var(--mbp-accent);
	color: var(--mbp-accent);
}

.mbp-menu-toggle__bars {
	display: block;
	position: relative;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
}

.mbp-menu-toggle__bars::before,
.mbp-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.mbp-menu-toggle__bars::before {
	top: -6px;
}

.mbp-menu-toggle__bars::after {
	top: 6px;
}

.mbp-header__panel {
	display: none;
	padding-bottom: var(--mbp-s5);
}

.mbp-header__panel.is-open {
	display: block;
}

.mbp-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-nav__list li {
	position: relative;
}

.mbp-nav__list a {
	display: block;
	padding: var(--mbp-s3) 0;
	border-bottom: 1px solid var(--mbp-line);
	color: var(--mbp-ink);
	font-size: var(--mbp-text-base);
	font-weight: 550;
	text-decoration: none;
}

.mbp-nav__list a:hover {
	color: var(--mbp-accent);
}

.mbp-nav .current-menu-item > a,
.mbp-nav .current-menu-ancestor > a,
.mbp-nav .current_page_item > a {
	color: var(--mbp-accent);
}

.mbp-header__search {
	margin-top: var(--mbp-s4);
}

/* Aviso exibido apenas para quem pode editar menus, quando nenhum menu foi
   atribuído à posição principal. O visitante nunca vê este bloco. */
.mbp-nav--empty {
	margin: 0;
	padding: var(--mbp-s3) 0;
	font-size: var(--mbp-text-sm);
}

@media (min-width: 62em) {
	.mbp-menu-toggle {
		display: none;
	}

	/* Cabeçalho em uma única linha: marca à esquerda, navegação e busca à
	   direita. Mantém a barra fixa baixa e previsível durante a leitura.
	   `flex-wrap` é o escape: quando o menu cresce e a linha única deixa de
	   caber, o painel desce para uma segunda linha em vez de estourar a
	   largura da página. */
	.mbp-site-header .mbp-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 var(--mbp-s6);
	}

	.mbp-header__inner {
		flex: 0 0 auto;
		min-height: 4.5rem;
	}

	.mbp-header__panel {
		display: flex !important;
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		align-items: center;
		justify-content: flex-end;
		gap: var(--mbp-s3) var(--mbp-s5);
		padding-bottom: var(--mbp-s3);
	}

	.mbp-nav__list {
		flex-wrap: wrap;
	}

	.mbp-nav__list {
		display: flex;
		align-items: center;
		gap: var(--mbp-s1);
	}

	.mbp-nav__list a {
		border-bottom: 0;
		border-radius: var(--mbp-radius-sm);
		padding: var(--mbp-s2) var(--mbp-s3);
		font-size: var(--mbp-text-sm);
		white-space: nowrap;
	}

	.mbp-nav__list a:hover {
		background: var(--mbp-accent-soft);
	}

	.mbp-nav .current-menu-item > a,
	.mbp-nav .current-menu-ancestor > a {
		background: var(--mbp-accent-soft);
	}

	/* Submenus (um nível) */
	.mbp-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 13rem;
		background: var(--mbp-surface);
		border: 1px solid var(--mbp-line);
		border-radius: var(--mbp-radius);
		box-shadow: var(--mbp-shadow-lg);
		list-style: none;
		margin: 0;
		padding: var(--mbp-s2);
		z-index: 60;
	}

	.mbp-nav__list li:hover > .sub-menu,
	.mbp-nav__list li:focus-within > .sub-menu {
		display: block;
	}

	.mbp-nav__list .sub-menu a {
		white-space: normal;
	}

	.mbp-header__search {
		margin-top: 0;
		flex: 0 1 13.5rem;
		min-width: 9rem;
	}
}

/* --------------------------------------------------------------------------
   7. Formulários
   -------------------------------------------------------------------------- */

label {
	display: block;
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	margin-bottom: var(--mbp-s2);
}

.mbp-field {
	margin-bottom: var(--mbp-s5);
}

.mbp-field__hint {
	display: block;
	margin-top: var(--mbp-s2);
	font-size: var(--mbp-text-xs);
	font-weight: 400;
	color: var(--mbp-ink-muted);
}

.mbp-required {
	color: var(--mbp-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line-strong);
	border-radius: var(--mbp-radius-sm);
	color: var(--mbp-ink);
	font: inherit;
	font-size: var(--mbp-text-base);
	padding: var(--mbp-s3);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mbp-focus);
}

textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: var(--mbp-leading-normal);
}

input::placeholder,
textarea::placeholder {
	color: var(--mbp-ink-muted);
	opacity: 1;
}

/* Campo de busca */
.mbp-search-form {
	display: flex;
	gap: var(--mbp-s2);
}

.mbp-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.mbp-search-form input[type="search"] {
	padding-block: var(--mbp-s2);
}

.mbp-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--mbp-paper-deep);
	border: 1px solid var(--mbp-line-strong);
	border-radius: var(--mbp-radius-sm);
	color: var(--mbp-ink);
	cursor: pointer;
	padding-inline: var(--mbp-s3);
}

.mbp-search-form__submit:hover {
	background: var(--mbp-accent-soft);
	border-color: var(--mbp-accent);
	color: var(--mbp-accent);
}

/* --------------------------------------------------------------------------
   8. Botões
   -------------------------------------------------------------------------- */

.mbp-button,
.mbp-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mbp-s2);
	background: var(--mbp-accent);
	border: 1px solid var(--mbp-accent);
	border-radius: var(--mbp-radius-sm);
	color: #fff;
	cursor: pointer;
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-base);
	font-weight: 600;
	line-height: 1.3;
	padding: var(--mbp-s3) var(--mbp-s5);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mbp-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--mbp-accent-hover);
	border-color: var(--mbp-accent-hover);
	color: #fff;
}

.mbp-button--secondary {
	background: transparent;
	border-color: var(--mbp-line-strong);
	color: var(--mbp-ink);
}

.mbp-button--secondary:hover {
	background: var(--mbp-accent-soft);
	border-color: var(--mbp-accent);
	color: var(--mbp-accent);
}

.mbp-button--small {
	font-size: var(--mbp-text-sm);
	padding: var(--mbp-s2) var(--mbp-s4);
}

.mbp-button[disabled],
button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9. Rótulos, categorias, metadados
   -------------------------------------------------------------------------- */

.mbp-eyebrow {
	display: inline-block;
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mbp-accent);
	text-decoration: none;
	margin-bottom: var(--mbp-s2);
}

a.mbp-eyebrow:hover {
	text-decoration: underline;
}

.mbp-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--mbp-s1);
	background: var(--mbp-second-soft);
	border-radius: 999px;
	color: var(--mbp-second);
	font-size: var(--mbp-text-xs);
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	text-decoration: none;
}

a.mbp-chip:hover {
	background: var(--mbp-accent-soft);
	color: var(--mbp-accent);
}

.mbp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mbp-s2) var(--mbp-s4);
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--mbp-s2);
}

.mbp-meta a {
	color: inherit;
}

.mbp-meta svg {
	flex: 0 0 auto;
	color: var(--mbp-ink-muted);
}

.mbp-icon {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}

/* --------------------------------------------------------------------------
   10. Cards e grades
   -------------------------------------------------------------------------- */

.mbp-grid {
	display: grid;
	gap: var(--mbp-s5);
	grid-template-columns: 1fr;
}

@media (min-width: 36em) {
	.mbp-grid--2,
	.mbp-grid--3,
	.mbp-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.mbp-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mbp-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.mbp-card {
	display: flex;
	flex-direction: column;
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	box-shadow: var(--mbp-shadow-sm);
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.mbp-card:hover {
	box-shadow: var(--mbp-shadow);
	transform: translateY(-2px);
}

.mbp-card__media {
	display: block;
	background: var(--mbp-paper-deep);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.mbp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbp-card__media--placeholder {
	background:
		repeating-linear-gradient(135deg, var(--mbp-paper-deep) 0 14px, #eadcc6 14px 28px);
}

.mbp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--mbp-s2);
	padding: var(--mbp-s4) var(--mbp-s4) var(--mbp-s5);
}

.mbp-card__title {
	font-size: var(--mbp-text-lg);
	line-height: var(--mbp-leading-snug);
	margin: 0;
}

.mbp-card__title a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-card__title a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-card__excerpt {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-sm);
	line-height: var(--mbp-leading-normal);
	margin: 0;
}

.mbp-card__footer {
	margin-top: auto;
	padding-top: var(--mbp-s3);
}

/* Card horizontal (listas e resultados de busca) */
.mbp-card-row {
	display: grid;
	gap: var(--mbp-s4);
	padding-bottom: var(--mbp-s5);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-card-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

@media (min-width: 36em) {
	.mbp-card-row {
		grid-template-columns: 13rem minmax(0, 1fr);
		align-items: start;
	}
}

.mbp-card-row__media {
	display: block;
	background: var(--mbp-paper-deep);
	border-radius: var(--mbp-radius);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.mbp-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* min-width: 0 impede que títulos longos estourem a coluna da grade. */
.mbp-card-row__body {
	min-width: 0;
}

.mbp-card-row__title {
	font-size: var(--mbp-text-xl);
	margin: var(--mbp-s1) 0 var(--mbp-s2);
	overflow-wrap: break-word;
}

.mbp-card-row__title a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-card-row__title a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-card-row__excerpt {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-base);
	margin: 0 0 var(--mbp-s3);
}

.mbp-card-list {
	display: grid;
	gap: var(--mbp-s5);
}

/* Lista compacta numerada (Comece por aqui / Guias populares) */
.mbp-steps {
	list-style: none;
	counter-reset: mbp-step;
	display: grid;
	gap: var(--mbp-s4);
	margin: 0;
	padding: 0;
}

.mbp-steps > li {
	counter-increment: mbp-step;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: var(--mbp-s4);
	align-items: start;
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s4);
}

.mbp-steps > li::before {
	content: counter(mbp-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--mbp-accent-soft);
	border-radius: 50%;
	color: var(--mbp-accent);
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-base);
	font-weight: 700;
}

.mbp-steps__title {
	font-size: var(--mbp-text-base);
	margin: 0 0 var(--mbp-s1);
}

.mbp-steps__title a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-steps__title a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-steps p {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-sm);
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Home — herói e seções
   -------------------------------------------------------------------------- */

.mbp-hero {
	background: linear-gradient(180deg, var(--mbp-paper-deep), var(--mbp-paper));
	border-bottom: 1px solid var(--mbp-line);
	padding-block: var(--mbp-s8);
}

.mbp-hero__inner {
	display: grid;
	gap: var(--mbp-s6);
	align-items: center;
}

@media (min-width: 62em) {
	.mbp-hero {
		padding-block: var(--mbp-s10);
	}

	.mbp-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--mbp-s9);
	}
}

.mbp-hero__title {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
	margin-bottom: var(--mbp-s4);
}

.mbp-hero__text {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-lg);
	line-height: var(--mbp-leading-relaxed);
	max-width: 46ch;
	margin-bottom: var(--mbp-s5);
}

.mbp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mbp-s3);
}

/* Figura decorativa de dobradura, construída em CSS (sem imagem, sem JS) */
.mbp-hero__figure {
	position: relative;
	display: none;
	aspect-ratio: 1 / 1;
	max-width: 22rem;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 62em) {
	.mbp-hero__figure {
		display: block;
	}
}

.mbp-fold {
	position: absolute;
	width: 0;
	height: 0;
}

.mbp-fold--a {
	inset: 12% 10% auto auto;
	border-left: 8rem solid transparent;
	border-bottom: 8rem solid var(--mbp-accent-soft);
}

.mbp-fold--b {
	inset: auto auto 14% 8%;
	border-right: 9rem solid transparent;
	border-top: 9rem solid var(--mbp-second-soft);
}

.mbp-fold--c {
	inset: 30% auto auto 26%;
	border-left: 5.5rem solid transparent;
	border-right: 5.5rem solid transparent;
	border-bottom: 7.5rem solid var(--mbp-surface);
	filter: drop-shadow(0 6px 14px rgba(43, 30, 37, 0.12));
}

.mbp-fold--d {
	inset: 46% 22% auto auto;
	border-left: 3.25rem solid transparent;
	border-right: 3.25rem solid transparent;
	border-top: 4.5rem solid var(--mbp-accent);
	opacity: 0.85;
}

/* Faixa de categorias */
.mbp-topics {
	display: grid;
	gap: var(--mbp-s4);
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-topic {
	display: flex;
	flex-direction: column;
	gap: var(--mbp-s2);
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5) var(--mbp-s4);
	text-decoration: none;
	height: 100%;
}

.mbp-topic:hover {
	border-color: var(--mbp-accent);
	box-shadow: var(--mbp-shadow);
}

.mbp-topic__name {
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-lg);
	font-weight: 600;
	color: var(--mbp-ink);
}

.mbp-topic:hover .mbp-topic__name {
	color: var(--mbp-accent);
}

.mbp-topic__desc {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-sm);
	line-height: var(--mbp-leading-normal);
}

.mbp-topic__count {
	margin-top: auto;
	padding-top: var(--mbp-s2);
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-xs);
}

/* Bloco de chamada (CTA) */
.mbp-cta {
	display: grid;
	gap: var(--mbp-s5);
	align-items: center;
	background: var(--mbp-second);
	border-radius: var(--mbp-radius-lg);
	color: #f3f6f1;
	padding: var(--mbp-s7) var(--mbp-s6);
}

@media (min-width: 48em) {
	.mbp-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: var(--mbp-s8);
	}
}

.mbp-cta__title {
	color: #fff;
	margin-bottom: var(--mbp-s3);
}

.mbp-cta__text {
	color: #d9e5dc;
	margin: 0;
	max-width: 52ch;
}

.mbp-cta .mbp-button {
	background: var(--mbp-surface);
	border-color: var(--mbp-surface);
	color: var(--mbp-second);
	white-space: nowrap;
}

.mbp-cta .mbp-button:hover {
	background: var(--mbp-accent-soft);
	border-color: var(--mbp-accent-soft);
	color: var(--mbp-accent-hover);
}

/* --------------------------------------------------------------------------
   12. Artigo
   -------------------------------------------------------------------------- */

.mbp-breadcrumbs {
	margin-bottom: var(--mbp-s5);
	font-size: var(--mbp-text-sm);
	color: var(--mbp-ink-muted);
}

.mbp-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mbp-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--mbp-s2);
}

.mbp-breadcrumbs li + li::before {
	content: "/";
	color: var(--mbp-line-strong);
}

.mbp-breadcrumbs a {
	color: var(--mbp-ink-soft);
	text-decoration: none;
}

.mbp-breadcrumbs a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-breadcrumbs [aria-current="page"] {
	color: var(--mbp-ink-muted);
}

.mbp-article__header {
	margin-bottom: var(--mbp-s6);
}

.mbp-article__title {
	margin-bottom: var(--mbp-s4);
}

.mbp-article__summary {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-lg);
	line-height: var(--mbp-leading-relaxed);
	max-width: var(--mbp-measure);
	margin-bottom: var(--mbp-s4);
}

.mbp-article__meta {
	padding-top: var(--mbp-s4);
	border-top: 1px solid var(--mbp-line);
}

.mbp-article__figure {
	margin-bottom: var(--mbp-s6);
}

.mbp-article__figure img {
	border-radius: var(--mbp-radius);
	width: 100%;
}

.mbp-article__figure figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--mbp-s2);
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-sm);
	line-height: var(--mbp-leading-snug);
	text-align: left;
}

/* Corpo do texto */
.mbp-content {
	font-size: var(--mbp-text-md);
	line-height: var(--mbp-leading-relaxed);
}

.mbp-content > * {
	max-width: var(--mbp-measure);
}

.mbp-content > .alignwide,
.mbp-content > .alignfull,
.mbp-content > .mbp-tutorial-facts,
.mbp-content > .mbp-toc,
.mbp-content > figure,
.mbp-content > .wp-block-image,
.mbp-content > .wp-block-gallery,
.mbp-content > .wp-block-table,
.mbp-content > .mbp-ad-slot {
	max-width: none;
}

.mbp-content h2 {
	margin-top: var(--mbp-s8);
	padding-bottom: var(--mbp-s2);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-content h3 {
	margin-top: var(--mbp-s6);
}

.mbp-content h4 {
	margin-top: var(--mbp-s5);
}

.mbp-content > h2:first-child,
.mbp-content > h3:first-child {
	margin-top: 0;
}

.mbp-content ul,
.mbp-content ol {
	margin: 0 0 var(--mbp-s4);
	padding-left: 1.4em;
}

.mbp-content li + li {
	margin-top: var(--mbp-s2);
}

.mbp-content li > ul,
.mbp-content li > ol {
	margin-top: var(--mbp-s2);
	margin-bottom: 0;
}

.mbp-content ol {
	padding-left: 1.3em;
}

.mbp-content ol li::marker {
	color: var(--mbp-accent);
	font-weight: 700;
}

.mbp-content figure,
.mbp-content .wp-block-image {
	margin-block: var(--mbp-s6);
}

.mbp-content img {
	border-radius: var(--mbp-radius);
}

.mbp-content a {
	text-decoration: underline;
}

/* Tabelas */
.mbp-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--mbp-text-sm);
	margin-block: var(--mbp-s6);
}

.mbp-content th,
.mbp-content td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--mbp-line);
	padding: var(--mbp-s3);
	text-align: left;
	vertical-align: top;
}

.mbp-content thead th,
.wp-block-table thead th {
	background: var(--mbp-paper-deep);
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wp-block-table {
	overflow-x: auto;
}

/* Caixas de destaque — classes utilizáveis no editor de blocos */
.mbp-callout {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-left: 4px solid var(--mbp-second);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	margin-block: var(--mbp-s6);
}

.mbp-callout > :last-child {
	margin-bottom: 0;
}

.mbp-callout__title {
	display: flex;
	align-items: center;
	gap: var(--mbp-s2);
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-second);
	margin-bottom: var(--mbp-s3);
}

.mbp-callout--dica {
	background: var(--mbp-accent-soft);
	border-color: #efd3dd;
	border-left-color: var(--mbp-accent);
}

.mbp-callout--dica .mbp-callout__title {
	color: var(--mbp-accent);
}

.mbp-callout--atencao {
	background: #fdf6e3;
	border-color: #f0e3bf;
	border-left-color: #a9801f;
}

.mbp-callout--atencao .mbp-callout__title {
	color: #8a6715;
}

/* Fatos do tutorial (dificuldade, tempo, papel, materiais) */
.mbp-tutorial-facts {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	margin-bottom: var(--mbp-s6);
}

.mbp-tutorial-facts__title {
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-ink-soft);
	margin: 0 0 var(--mbp-s4);
}

.mbp-facts {
	display: grid;
	gap: var(--mbp-s4);
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	margin: 0;
}

.mbp-facts__item {
	display: flex;
	align-items: flex-start;
	gap: var(--mbp-s3);
}

.mbp-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--mbp-accent-soft);
	border-radius: var(--mbp-radius-sm);
	color: var(--mbp-accent);
}

.mbp-facts__icon .mbp-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.mbp-facts__label {
	display: block;
	font-size: var(--mbp-text-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-ink-muted);
}

.mbp-facts__value {
	display: block;
	font-size: var(--mbp-text-base);
	font-weight: 600;
	line-height: var(--mbp-leading-snug);
	margin-top: 0.1rem;
}

.mbp-materials {
	margin-top: var(--mbp-s5);
	padding-top: var(--mbp-s4);
	border-top: 1px solid var(--mbp-line);
}

.mbp-materials__list {
	list-style: none;
	display: grid;
	gap: var(--mbp-s2);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin: 0;
	padding: 0;
	font-size: var(--mbp-text-base);
}

.mbp-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--mbp-s2);
	margin: 0;
}

.mbp-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: 0.55em;
	background: var(--mbp-accent);
	transform: rotate(45deg);
}

/* Sumário */
.mbp-toc {
	background: var(--mbp-paper-deep);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	margin-bottom: var(--mbp-s6);
}

.mbp-toc__title {
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-ink-soft);
	margin: 0 0 var(--mbp-s3);
}

.mbp-toc ol {
	counter-reset: mbp-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--mbp-text-base);
}

.mbp-toc > ol > li {
	counter-increment: mbp-toc;
	margin: 0;
}

.mbp-toc > ol > li + li {
	margin-top: var(--mbp-s2);
}

.mbp-toc > ol > li > a::before {
	content: counter(mbp-toc) ". ";
	color: var(--mbp-ink-muted);
}

.mbp-toc a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-toc a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-toc ol ol {
	margin: var(--mbp-s2) 0 0 var(--mbp-s4);
	font-size: var(--mbp-text-sm);
}

.mbp-toc ol ol li + li {
	margin-top: var(--mbp-s1);
}

.mbp-toc ol ol a {
	color: var(--mbp-ink-soft);
}

/* FAQ */
.mbp-faq {
	margin-top: var(--mbp-s8);
}

.mbp-faq__item {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	margin-bottom: var(--mbp-s3);
	padding: var(--mbp-s4) var(--mbp-s5);
}

.mbp-faq__question {
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-lg);
	font-weight: 600;
	margin: 0 0 var(--mbp-s2);
}

.mbp-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Rodapé do artigo */
.mbp-article__footer {
	margin-top: var(--mbp-s8);
	padding-top: var(--mbp-s5);
	border-top: 1px solid var(--mbp-line);
}

.mbp-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mbp-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-tags__label {
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	color: var(--mbp-ink-soft);
}

.mbp-author-box {
	display: grid;
	gap: var(--mbp-s4);
	align-items: start;
	background: var(--mbp-paper-deep);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	margin-top: var(--mbp-s6);
}

@media (min-width: 36em) {
	.mbp-author-box {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.mbp-author-box img {
	border-radius: 50%;
}

.mbp-author-box__name {
	font-size: var(--mbp-text-lg);
	margin: 0 0 var(--mbp-s2);
}

.mbp-author-box__bio {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-sm);
	margin: 0;
}

/* Navegação anterior/próximo */
.mbp-post-nav {
	margin-top: var(--mbp-s7);
}

.mbp-post-nav__links {
	display: grid;
	gap: var(--mbp-s4);
}

@media (min-width: 48em) {
	.mbp-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Existindo só o "próximo", ele vai para a coluna da direita — é lá que
	   o alinhamento do texto e a seta mental do leitor esperam encontrá-lo. */
	.mbp-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.mbp-post-nav__link {
	display: block;
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s4);
	text-decoration: none;
	height: 100%;
}

.mbp-post-nav__link:hover {
	border-color: var(--mbp-accent);
}

.mbp-post-nav__direction {
	display: block;
	font-size: var(--mbp-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mbp-ink-muted);
	margin-bottom: var(--mbp-s2);
}

.mbp-post-nav__title {
	display: block;
	font-family: var(--mbp-font-head);
	font-size: var(--mbp-text-base);
	font-weight: 600;
	color: var(--mbp-ink);
	line-height: var(--mbp-leading-snug);
}

.mbp-post-nav__link:hover .mbp-post-nav__title {
	color: var(--mbp-accent);
}

.mbp-post-nav__link--prev {
	text-align: left;
}

.mbp-post-nav__link--next {
	text-align: right;
}

/* --------------------------------------------------------------------------
   13. Barra lateral e widgets
   -------------------------------------------------------------------------- */

.mbp-sidebar {
	display: grid;
	gap: var(--mbp-s5);
}

@media (min-width: 62em) {
	.mbp-sidebar--sticky {
		position: sticky;
		top: 6rem;
	}
}

.mbp-widget {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	font-size: var(--mbp-text-base);
}

.mbp-widget__title,
.mbp-widget .widget-title {
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-ink-soft);
	margin: 0 0 var(--mbp-s4);
}

.mbp-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mbp-widget li + li {
	margin-top: var(--mbp-s3);
	padding-top: var(--mbp-s3);
	border-top: 1px solid var(--mbp-line);
}

.mbp-widget a {
	color: var(--mbp-ink);
	text-decoration: none;
}

.mbp-widget a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-widget .children,
.mbp-widget .sub-menu {
	margin-top: var(--mbp-s3);
	padding-left: var(--mbp-s4);
}

/* --------------------------------------------------------------------------
   14. Arquivos, paginação, busca, 404
   -------------------------------------------------------------------------- */

.mbp-archive-header {
	margin-bottom: var(--mbp-s7);
	padding-bottom: var(--mbp-s5);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-archive-header__title {
	margin-bottom: var(--mbp-s3);
}

.mbp-archive-header__description {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-lg);
	line-height: var(--mbp-leading-relaxed);
	max-width: var(--mbp-measure);
}

.mbp-archive-header__description > :last-child {
	margin-bottom: 0;
}

.mbp-archive-header__count {
	margin: var(--mbp-s3) 0 0;
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-sm);
}

.mbp-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mbp-s2);
	list-style: none;
	margin: var(--mbp-s4) 0 0;
	padding: 0;
}

.mbp-pagination {
	margin-top: var(--mbp-s8);
	padding-top: var(--mbp-s5);
	border-top: 1px solid var(--mbp-line);
}

.mbp-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mbp-s2);
}

.mbp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: var(--mbp-s3);
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line-strong);
	border-radius: var(--mbp-radius-sm);
	color: var(--mbp-ink);
	font-size: var(--mbp-text-sm);
	font-weight: 600;
	text-decoration: none;
}

.mbp-pagination a.page-numbers:hover {
	border-color: var(--mbp-accent);
	color: var(--mbp-accent);
}

.mbp-pagination .page-numbers.current {
	background: var(--mbp-accent);
	border-color: var(--mbp-accent);
	color: #fff;
}

.mbp-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Busca */
.mbp-search-intro {
	margin-bottom: var(--mbp-s6);
}

.mbp-search-intro .mbp-search-form {
	max-width: 32rem;
	margin-top: var(--mbp-s4);
}

.mbp-no-results {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s6);
}

.mbp-no-results__suggestions {
	display: grid;
	gap: var(--mbp-s2);
	list-style: none;
	margin: var(--mbp-s4) 0 0;
	padding: 0;
}

.mbp-no-results__suggestions li {
	padding-left: 1.2em;
	position: relative;
}

.mbp-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--mbp-accent);
	transform: rotate(45deg);
}

/* 404 */
.mbp-error-404 {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
}

.mbp-error-404__code {
	font-family: var(--mbp-font-head);
	font-size: clamp(3.5rem, 2rem + 8vw, 6rem);
	line-height: 1;
	color: var(--mbp-line-strong);
	margin: 0 0 var(--mbp-s4);
}

.mbp-error-404 .mbp-search-form {
	max-width: 26rem;
	margin: var(--mbp-s5) auto 0;
	text-align: left;
}

.mbp-error-404 .mbp-subcategories {
	justify-content: center;
	margin-top: var(--mbp-s4);
}

.mbp-error-404 .mbp-section__head {
	justify-content: center;
}

.mbp-error-404 .mbp-grid {
	text-align: left;
}

.mbp-error-404__headline {
	margin-top: var(--mbp-s7);
	font-size: var(--mbp-text-xl);
}

/* --------------------------------------------------------------------------
   15. Páginas e formulário de contato
   -------------------------------------------------------------------------- */

.mbp-page__header {
	margin-bottom: var(--mbp-s6);
	padding-bottom: var(--mbp-s5);
	border-bottom: 1px solid var(--mbp-line);
}

.mbp-page__header .mbp-page__title {
	margin-bottom: 0;
}

.mbp-page__updated {
	margin: var(--mbp-s3) 0 0;
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-sm);
}

.mbp-form-notice {
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s4) var(--mbp-s5);
	margin-bottom: var(--mbp-s5);
	border: 1px solid;
}

.mbp-form-notice > :last-child {
	margin-bottom: 0;
}

.mbp-form-notice--success {
	background: #eef7ef;
	border-color: #c6e2c9;
	color: #1f5128;
}

.mbp-form-notice--error {
	background: #fdeeec;
	border-color: #f2c9c3;
	color: #7d2418;
}

.mbp-form-notice__list {
	margin: var(--mbp-s2) 0 0;
	padding-left: 1.2em;
}

.mbp-form {
	max-width: 36rem;
}

.mbp-form input[aria-invalid="true"],
.mbp-form textarea[aria-invalid="true"] {
	border-color: #b3372a;
}

.mbp-field__error {
	display: block;
	margin-top: var(--mbp-s2);
	color: #8c2b20;
	font-size: var(--mbp-text-sm);
	font-weight: 600;
}

.mbp-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. Comentários
   -------------------------------------------------------------------------- */

.mbp-comments {
	margin-top: var(--mbp-s9);
	padding-top: var(--mbp-s6);
	border-top: 1px solid var(--mbp-line);
}

.mbp-comments__title {
	font-size: var(--mbp-text-2xl);
}

.mbp-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--mbp-s7);
	padding: 0;
}

.mbp-comments .comment-list ol.children {
	list-style: none;
	margin: var(--mbp-s4) 0 0 var(--mbp-s5);
	padding: 0;
}

.mbp-comments .comment-body {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line);
	border-radius: var(--mbp-radius);
	padding: var(--mbp-s5);
	margin-bottom: var(--mbp-s4);
}

.mbp-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mbp-s2) var(--mbp-s3);
	font-size: var(--mbp-text-sm);
	color: var(--mbp-ink-muted);
	margin-bottom: var(--mbp-s3);
}

.mbp-comments .comment-author img {
	border-radius: 50%;
	margin-right: var(--mbp-s2);
	vertical-align: middle;
}

.mbp-comments .reply {
	font-size: var(--mbp-text-sm);
	font-weight: 600;
}

.comment-respond .comment-form-cookies-consent label,
.comment-respond .comment-notes {
	font-weight: 400;
	font-size: var(--mbp-text-sm);
	color: var(--mbp-ink-soft);
	display: inline;
}

.comment-form p {
	margin-bottom: var(--mbp-s4);
}

/* --------------------------------------------------------------------------
   17. Espaços de anúncio (vazios e desativados por padrão)
   -------------------------------------------------------------------------- */

.mbp-ad-slot {
	margin-block: var(--mbp-s6);
	text-align: center;
}

.mbp-ad-slot__label {
	display: block;
	margin-bottom: var(--mbp-s2);
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mbp-ad-slot--sidebar {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   18. Rodapé
   -------------------------------------------------------------------------- */

.mbp-site-footer {
	background: var(--mbp-surface);
	border-top: 1px solid var(--mbp-line);
	margin-top: auto;
	padding-block: var(--mbp-s8) var(--mbp-s6);
}

.mbp-footer__grid {
	display: grid;
	gap: var(--mbp-s6);
	margin-bottom: var(--mbp-s6);
}

@media (min-width: 48em) {
	.mbp-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--mbp-s8);
	}
}

.mbp-footer__about p {
	color: var(--mbp-ink-soft);
	font-size: var(--mbp-text-sm);
	max-width: 42ch;
	margin-bottom: 0;
}

.mbp-footer__nav {
	min-width: 0;
}

.mbp-footer__heading {
	font-family: var(--mbp-font-body);
	font-size: var(--mbp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbp-ink-soft);
	margin: 0 0 var(--mbp-s3);
}

.mbp-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--mbp-text-sm);
}

.mbp-footer__menu li + li {
	margin-top: var(--mbp-s2);
}

.mbp-footer__menu a {
	color: var(--mbp-ink-soft);
	text-decoration: none;
}

.mbp-footer__menu a:hover {
	color: var(--mbp-accent);
	text-decoration: underline;
}

.mbp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--mbp-s3);
	padding-top: var(--mbp-s5);
	border-top: 1px solid var(--mbp-line);
	color: var(--mbp-ink-muted);
	font-size: var(--mbp-text-sm);
}

.mbp-footer__bottom p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   19. Utilitários e alinhamentos do editor
   -------------------------------------------------------------------------- */

.mbp-visually-balanced {
	max-width: var(--mbp-measure);
}

.mbp-text-center {
	text-align: center;
}

.mbp-mt-0 {
	margin-top: 0;
}

.mbp-mb-0 {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 0 var(--mbp-s5) var(--mbp-s4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--mbp-s4) var(--mbp-s5);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	margin-inline: auto;
}

.mbp-content > .alignfull {
	margin-inline: calc(-1 * var(--mbp-gutter));
	width: calc(100% + (2 * var(--mbp-gutter)));
	max-width: none;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}

.wp-block-embed.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--mbp-radius);
}

.sticky .mbp-card__title::after {
	content: " ★";
	color: var(--mbp-accent);
}

/* --------------------------------------------------------------------------
   20. Impressão — artigos legíveis no papel
   -------------------------------------------------------------------------- */

@media print {
	.mbp-site-header,
	.mbp-site-footer,
	.mbp-ad-slot,
	.mbp-post-nav,
	.mbp-comments,
	.mbp-sidebar,
	.mbp-related,
	.mbp-skip-link,
	.mbp-breadcrumbs {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.mbp-content > * {
		max-width: none;
	}

	a {
		color: inherit;
		text-decoration: underline;
	}

	.mbp-content h2,
	.mbp-content h3 {
		break-after: avoid;
	}

	figure,
	.mbp-tutorial-facts,
	.mbp-facts__item {
		break-inside: avoid;
	}
}

/* ==========================================================================
   21. Mobilidade Plus identity: wool, ribbing and stitches
   Everything above is the structural system; this layer is the look.
   ========================================================================== */

body {
	background-color: var(--mbp-paper);
	/* A faint stockinette "V" weave, drawn with gradients (no image request). */
	background-image:
		linear-gradient(135deg, rgba(142, 47, 82, 0.022) 25%, transparent 25%),
		linear-gradient(225deg, rgba(142, 47, 82, 0.022) 25%, transparent 25%);
	background-size: 22px 22px;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	letter-spacing: -0.018em;
}

/* Header: a ribbed band in the three yarn colors, then a calm cream bar. */
.mbp-site-header {
	border-bottom: 1px solid var(--mbp-line);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 18px rgba(43, 30, 37, 0.04);
}

.mbp-site-header::before {
	content: "";
	display: block;
	height: 6px;
	background: repeating-linear-gradient(90deg, var(--mbp-accent) 0 14px, var(--mbp-gold) 14px 20px, var(--mbp-second) 20px 34px, var(--mbp-paper-deep) 34px 40px);
}

.mbp-branding__mark {
	width: 2.6rem;
	height: 2.6rem;
}

.mbp-branding__title {
	font-weight: 700;
	font-size: 1.45rem;
}

.mbp-branding__tagline {
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.68rem;
	color: var(--mbp-accent);
}

@media (min-width: 62em) {
	.mbp-nav__list a {
		border-radius: 999px;
		padding: var(--mbp-s2) 0.85rem;
	}

	.mbp-nav .current-menu-item > a,
	.mbp-nav .current-menu-ancestor > a {
		background: var(--mbp-accent);
		color: #fff;
	}
}

/* Buttons and inputs: soft, rounded, like the end of a needle. */
.mbp-button,
.mbp-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.mbp-menu-toggle,
.mbp-search-form__submit,
.mbp-search-form input[type="search"] {
	border-radius: 999px;
}

.mbp-search-form input[type="search"] {
	padding-inline: var(--mbp-s4);
}

.mbp-button--primary {
	box-shadow: 0 6px 16px rgba(142, 47, 82, 0.22);
}

.mbp-eyebrow {
	color: var(--mbp-second);
	letter-spacing: 0.1em;
}

/* Section headings: a row of knit stitches under the title instead of a rule. */
.mbp-section__head {
	border-bottom: 0;
	padding-bottom: var(--mbp-s4);
	position: relative;
}

.mbp-section__head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 7px;
	background:
		linear-gradient(135deg, transparent 42%, var(--mbp-line-strong) 42% 58%, transparent 58%) 0 0 / 14px 7px repeat-x,
		linear-gradient(225deg, transparent 42%, var(--mbp-line-strong) 42% 58%, transparent 58%) 7px 0 / 14px 7px repeat-x;
	opacity: 0.75;
}

.mbp-section__title {
	font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem);
}

.mbp-section__title::before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	margin-right: 0.5em;
	border-radius: 50%;
	background: var(--mbp-gold);
	box-shadow: 0.28em 0 0 -0.02em var(--mbp-accent);
	vertical-align: 0.05em;
}

.mbp-section__link {
	background: var(--mbp-surface);
	border: 1px solid var(--mbp-line-strong);
	border-radius: 999px;
	padding: 0.3rem 0.9rem;
	color: var(--mbp-ink);
}

.mbp-section__link:hover {
	border-color: var(--mbp-accent);
	color: var(--mbp-accent);
	text-decoration: none;
}

/* Cards: a stitched inner line, like a hand-sewn label. */
.mbp-card {
	border-color: var(--mbp-line);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 22px rgba(43, 30, 37, 0.06);
	position: relative;
}

.mbp-card::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1.5px dashed transparent;
	border-radius: calc(var(--mbp-radius) - 6px);
	pointer-events: none;
	transition: border-color 0.18s ease;
}

.mbp-card:hover::after {
	border-color: rgba(142, 47, 82, 0.35);
}

.mbp-card__media {
	aspect-ratio: 3 / 2;
	border-bottom: 4px solid var(--mbp-gold);
}

.mbp-card__body {
	padding: var(--mbp-s5);
}

.mbp-card__title {
	font-size: 1.22rem;
}

.mbp-card-row__media,
.mbp-article__figure img,
.mbp-content img {
	border: 1px solid var(--mbp-line);
}

/* Start Here: four numbered tags on a strand. */
.mbp-steps {
	gap: var(--mbp-s4);
}

@media (min-width: 48em) {
	.mbp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 75em) {
	.mbp-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.mbp-steps > li {
		grid-template-columns: 1fr;
	}
}

.mbp-steps > li {
	border-top: 4px solid var(--mbp-accent);
	box-shadow: 0 8px 22px rgba(43, 30, 37, 0.05);
}

.mbp-steps > li:nth-child(2) { border-top-color: var(--mbp-gold); }
.mbp-steps > li:nth-child(3) { border-top-color: var(--mbp-second); }
.mbp-steps > li:nth-child(4) { border-top-color: #b4532a; }

.mbp-steps > li::before {
	background: var(--mbp-gold-soft);
	color: #7a4f06;
	font-size: 1.1rem;
}

.mbp-steps__title {
	font-size: 1.08rem;
}

/* Hero */
.mbp-hero {
	background:
		radial-gradient(60rem 26rem at 85% 10%, rgba(201, 138, 27, 0.16), transparent 60%),
		radial-gradient(40rem 24rem at 0% 100%, rgba(142, 47, 82, 0.1), transparent 60%),
		linear-gradient(180deg, var(--mbp-paper-deep), var(--mbp-paper));
	border-bottom: 0;
	position: relative;
}

.mbp-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 10px;
	background: repeating-linear-gradient(90deg, var(--mbp-line-strong) 0 3px, transparent 3px 9px);
	opacity: 0.6;
}

.mbp-hero__title {
	font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.5rem);
	line-height: 1.08;
	max-width: 14ch;
}

.mbp-hero__text {
	max-width: 50ch;
}

.mbp-hero__figure {
	aspect-ratio: 1 / 1;
	max-width: 26rem;
}

.mbp-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 26px rgba(43, 30, 37, 0.14));
}

.mbp-hero__halo { fill: var(--mbp-surface); }
.mbp-hero__wool { fill: var(--mbp-accent); }
.mbp-hero__wool-deep { fill: var(--mbp-accent-hover); }
.mbp-hero__stitch { fill: none; stroke: #c9809b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mbp-hero__fringe { fill: none; stroke: var(--mbp-accent); stroke-width: 5; stroke-linecap: round; }
.mbp-hero__ball { fill: var(--mbp-gold); }
.mbp-hero__wrap ellipse { fill: none; stroke: #9c6708; stroke-width: 3; opacity: 0.55; }
.mbp-hero__strand { fill: none; stroke: var(--mbp-gold); stroke-width: 6; stroke-linecap: round; }
.mbp-hero__needle { fill: none; stroke: var(--mbp-second); stroke-width: 9; stroke-linecap: round; }
.mbp-hero__knob { fill: var(--mbp-second); }

/* Topics and CTA */
.mbp-topic {
	border-left: 4px solid var(--mbp-gold);
}

.mbp-cta {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 10px, transparent 10px 20px),
		var(--mbp-second);
	border: 1px solid #223a32;
	box-shadow: inset 0 0 0 6px var(--mbp-second), inset 0 0 0 7.5px rgba(255, 255, 255, 0.28);
}

.mbp-cta .mbp-button {
	background: var(--mbp-gold);
	border-color: var(--mbp-gold);
	color: #2b1e25;
}

.mbp-cta .mbp-button:hover {
	background: #e0a436;
	border-color: #e0a436;
	color: #2b1e25;
}

/* Article */
.mbp-content h2 {
	border-bottom: 0;
	padding-bottom: 0;
	padding-left: 0.7em;
	border-left: 5px solid var(--mbp-gold);
}

.mbp-content thead th {
	background: var(--mbp-second);
	border-color: var(--mbp-second);
	color: #fff;
}

.mbp-content tbody tr:nth-child(even) td {
	background: rgba(242, 232, 217, 0.5);
}

.mbp-callout {
	border-left-width: 6px;
	box-shadow: 0 6px 18px rgba(43, 30, 37, 0.04);
}

.mbp-tutorial-facts {
	border-top: 5px solid var(--mbp-accent);
}

/* Footer: dark aubergine with the ribbed band repeated. */
.mbp-site-footer {
	background: #2b1e25;
	border-top: 0;
	color: #e9dcd3;
	position: relative;
}

.mbp-site-footer::before {
	content: "";
	display: block;
	height: 8px;
	background: repeating-linear-gradient(90deg, var(--mbp-accent) 0 14px, var(--mbp-gold) 14px 20px, var(--mbp-second) 20px 34px, #2b1e25 34px 40px);
}

.mbp-site-footer p,
.mbp-footer__bottom,
.mbp-footer__bottom p {
	color: #cdbdb6;
}

.mbp-site-footer .mbp-footer__heading {
	color: #fff;
}

.mbp-site-footer a {
	color: #f3d9a4;
}

.mbp-site-footer a:hover,
.mbp-site-footer a:focus {
	color: #fff;
}

.mbp-footer__bottom {
	border-top-color: rgba(255, 255, 255, 0.14);
}

.mbp-site-footer :where(a):focus-visible {
	outline-color: #f3d9a4;
}

.mbp-section__title { margin-right: auto; }

.mbp-section__description {
	flex: 0 0 100%;
	max-width: 100%;
}

@media print {
	body {
		background-image: none;
	}

	.mbp-site-header::before,
	.mbp-site-footer::before {
		display: none;
	}
}
