/*
Theme Name: Mestre da Cozinha
Theme URI: https://example.com
Author: Migrado a partir de projeto React (Horizons export)
Author URI: https://example.com
Description: Tema clássico WordPress (PHP) que reproduz fielmente o layout do blog "Mestre da Cozinha": receitas e reviews de cozinha, com o mesmo design neobrutalista (bordas grossas, sombras "hard", paleta azul-royal/amarelo-sun) do projeto original em React + Tailwind.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mestre-da-cozinha
*/

/* =====================================================
   1. FONTES E VARIÁVEIS
   ===================================================== */

:root {
	--color-sun: #FFC627;
	--color-sunsoft: #FFCD40;
	--color-sundark: #B28403;
	--color-royal: #0026B2;
	--color-ink: #0B1030;

	--color-background: #ffffff;
	--color-foreground: #0B1030;
	--color-muted: #F9F6EE;
	--color-muted-foreground: #55596E;
	--color-border: #E4E1DA;

	--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-display: 'Playfair Display', Georgia, serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;

	--shadow-hard: 10px 10px 0 0 var(--color-royal);
	--shadow-hard-sun: 10px 10px 0 0 var(--color-sun);
	--shadow-hard-sm: 5px 5px 0 0 var(--color-royal);
	--shadow-hard-sm-sun: 5px 5px 0 0 var(--color-sun);

	--container-max: 72rem; /* 1152px, equivalente a max-w-6xl */
	--container-padding: 1rem;
}

@media (min-width: 640px) {
	:root { --container-padding: 1.5rem; }
}

/* =====================================================
   2. RESET E BASE
   ===================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--color-foreground);
	background: var(--color-background);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--color-sun); color: var(--color-ink); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }

p { margin: 0; }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

/* =====================================================
   3. LAYOUT / UTILITÁRIOS
   ===================================================== */

.container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

.container-narrow { max-width: 48rem; margin: 0 auto; padding: 0 var(--container-padding); }
.container-medium { max-width: 56rem; margin: 0 auto; padding: 0 var(--container-padding); }

.section { padding-top: 5rem; padding-bottom: 5rem; }
.section-tight { padding-top: 3rem; padding-bottom: 3rem; }

.border-y-ink { border-top: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); }
.bg-muted-y { background: rgba(249,246,238,0.6); }

.grid-cards {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================
   4. TIPOGRAFIA UTILITÁRIA
   ===================================================== */

.kicker {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--color-sundark);
}

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--color-muted-foreground);
}

.text-muted { color: var(--color-muted-foreground); }

/* =====================================================
   5. HEADER
   ===================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 2px solid var(--color-ink);
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(6px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
}

.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img { height: 2.5rem; width: 2.5rem; border-radius: 9999px; object-fit: cover; }
.site-logo__text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: var(--color-ink); }
.site-logo__text em { font-style: italic; color: var(--color-royal); }

.site-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .site-nav { display: flex; } }

.site-nav a {
	padding: 0.5rem 1rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-muted-foreground);
	transition: background-color .15s, color .15s;
}
.site-nav a:hover { background: var(--color-muted); color: var(--color-ink); }
.site-nav a.is-active { background: var(--color-sun); color: var(--color-ink); }

.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.75rem;
	width: 2.75rem;
	border: 2px solid var(--color-ink);
	background: transparent;
	cursor: pointer;
	transition: background-color .15s;
}
.menu-toggle:hover { background: var(--color-sun); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
	display: none;
	border-top: 2px solid var(--color-ink);
	background: #fff;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
	display: block;
	padding: 1rem var(--container-padding);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-ink);
}
.mobile-nav a.is-active { background: var(--color-sun); }

/* =====================================================
   6. BOTÕES
   ===================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 1.5rem;
	border: 2px solid var(--color-ink);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard-sm); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--color-royal); color: #fff; }
.btn-outline { background: #fff; color: var(--color-ink); }
.btn-outline:hover { background: var(--color-sun); }

.link-underline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 2px solid var(--color-sun);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-royal);
	transition: border-color .15s;
}
.link-underline:hover { border-color: var(--color-royal); }

/* =====================================================
   7. HERO
   ===================================================== */

.hero { position: relative; overflow: hidden; }

.hero__bignum {
	position: absolute;
	left: -1rem;
	top: 2.5rem;
	pointer-events: none;
	user-select: none;
	font-family: var(--font-display);
	font-size: 10rem;
	font-weight: 900;
	line-height: 1;
	color: rgba(255,198,39,0.3);
}
@media (min-width: 640px) { .hero__bignum { font-size: 16rem; } }

.hero__content { text-align: center; padding-top: 4rem; padding-bottom: 0; }
@media (min-width: 640px) { .hero__content { padding-top: 6rem; } }

.hero h1 {
	max-width: 56rem;
	margin: 1.5rem auto 0;
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--color-ink);
}
@media (min-width: 640px) { .hero h1 { font-size: 4.5rem; } }

.hero h1 em {
	font-style: italic;
	color: var(--color-royal);
	text-decoration: underline;
	text-decoration-color: var(--color-sun);
	text-decoration-thickness: 8px;
	text-underline-offset: 8px;
}

.hero p.lead {
	max-width: 36rem;
	margin: 1.5rem auto 0;
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--color-muted-foreground);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.hero__mascot { position: relative; max-width: 42rem; margin: 3rem auto 0; }
.hero__mascot-bg {
	position: absolute;
	inset: 4rem 2rem 0 2rem;
	background: var(--color-sun);
}
.hero__mascot img {
	position: relative;
	margin: 0 auto;
	max-width: 26rem;
	width: 100%;
	filter: drop-shadow(12px 12px 0 rgba(0,38,178,1));
}

/* =====================================================
   8. SECTION HEADING
   ===================================================== */

.section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
.section-heading__left { display: flex; align-items: flex-start; gap: 1rem; }
.section-heading__index {
	font-family: var(--font-display);
	font-size: 3.75rem;
	font-weight: 900;
	line-height: 1;
	color: var(--color-sun);
}
@media (min-width: 640px) { .section-heading__index { font-size: 4.5rem; } }
.section-heading h2 {
	margin-top: 0.5rem;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-ink);
}
@media (min-width: 640px) { .section-heading h2 { font-size: 2.25rem; } }

/* =====================================================
   9. CARDS DE POST
   ===================================================== */

.post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 2px solid var(--color-ink);
	background: #fff;
	transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }

.post-card__image { display: block; overflow: hidden; border-bottom: 2px solid var(--color-ink); }
.post-card__image img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__image img { transform: scale(1.05); }

.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.post-card__meta-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.badge-category {
	display: inline-block;
	width: fit-content;
	background: var(--color-sun);
	padding: 0.25rem 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-ink);
}

.post-card__type { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }

.post-card h3 { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--color-ink); }
.post-card h3 a:hover { color: var(--color-royal); }

.post-card__excerpt { flex: 1; margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--color-muted-foreground); }

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--color-border);
	font-family: var(--font-mono);
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-muted-foreground);
}
.post-card__footer .meta-icon { display: inline-flex; align-items: center; gap: 0.4rem; }

/* =====================================================
   10. RATING (ESTRELAS)
   ===================================================== */

.rating { display: inline-flex; align-items: center; gap: 0.15rem; }
.rating .icon { width: 1rem; height: 1rem; stroke: var(--color-border); fill: none; }
.rating .icon.is-filled { fill: var(--color-sun); stroke: var(--color-sundark); }
.rating__value { margin-left: 0.35rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--color-ink); }
.rating--on-royal .rating__value { color: #fff; }

/* =====================================================
   11. FEATURED POST (DESTAQUE)
   ===================================================== */

.featured-post {
	display: grid;
	border: 2px solid var(--color-ink);
	background: #fff;
	box-shadow: var(--shadow-hard);
}
@media (min-width: 1024px) { .featured-post { grid-template-columns: repeat(12, 1fr); } }

.featured-post__image {
	display: block;
	overflow: hidden;
	border-bottom: 2px solid var(--color-ink);
}
@media (min-width: 1024px) {
	.featured-post__image { grid-column: span 7 / span 7; border-bottom: none; border-right: 2px solid var(--color-ink); }
}
.featured-post__image img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .3s; }
.featured-post__image:hover img { transform: scale(1.05); }

.featured-post__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 1024px) { .featured-post__body { grid-column: span 5 / span 5; padding: 2.5rem; } }

.featured-post__body h3 { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; line-height: 1.25; color: var(--color-ink); }
.featured-post__body h3 a:hover { color: var(--color-royal); }
.featured-post__body p { margin-top: 1rem; line-height: 1.7; color: var(--color-muted-foreground); }
.featured-post__meta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.featured-post__body .link-underline { margin-top: 2rem; }

/* =====================================================
   12. FILTROS / BUSCA (LISTAGEM)
   ===================================================== */

.archive-hero { border-bottom: 2px solid var(--color-ink); background: rgba(255,198,39,0.2); }
.archive-hero__inner { text-align: center; padding: 4rem 0; }
.archive-hero h1 { margin-top: 1rem; font-size: 3rem; font-weight: 900; letter-spacing: -0.02em; color: var(--color-ink); }
@media (min-width: 640px) { .archive-hero h1 { font-size: 3.75rem; } }
.archive-hero p { max-width: 36rem; margin: 1rem auto 0; color: var(--color-muted-foreground); }

.filter-bar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; } }

.filter-bar__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
	border: 2px solid var(--color-ink);
	padding: 0.5rem 1rem;
	background: #fff;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-ink);
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.filter-chip:hover { background: var(--color-sun); }
.filter-chip.is-active { background: var(--color-royal); color: #fff; }

.search-box { position: relative; }
@media (min-width: 768px) { .search-box { width: 18rem; } }
.search-box .icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-muted-foreground); pointer-events: none; }
.search-box input {
	height: 2.75rem;
	width: 100%;
	border: 2px solid var(--color-ink);
	background: #fff;
	padding: 0 1rem 0 2.5rem;
	font-size: 0.875rem;
	color: var(--color-ink);
	outline: none;
}
.search-box input:focus { box-shadow: 0 0 0 2px var(--color-royal); }

.empty-state {
	border: 2px dashed rgba(11,16,48,0.3);
	padding: 5rem 1.5rem;
	text-align: center;
}
.empty-state p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-ink); }
.empty-state p:last-child { margin-top: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	border: 2px solid var(--color-ink);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
}
.pagination a:hover { background: var(--color-sun); }
.pagination .current { background: var(--color-royal); color: #fff; }

/* =====================================================
   13. SINGLE POST (RECEITA / REVIEW)
   ===================================================== */

.post-header { border-bottom: 2px solid var(--color-ink); background: rgba(255,198,39,0.2); }
.post-header__inner { max-width: 48rem; margin: 0 auto; padding: 4rem var(--container-padding); text-align: center; }
.post-header .back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-royal); }
.post-header .back-link:hover { text-decoration: underline; }
.post-header h1 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-ink); }
@media (min-width: 640px) { .post-header h1 { font-size: 3rem; } }
.post-header .excerpt { max-width: 36rem; margin: 1.25rem auto 0; font-size: 1.125rem; line-height: 1.7; color: var(--color-muted-foreground); }
.post-header__meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.5rem; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.post-header__meta .meta-icon { display: inline-flex; align-items: center; gap: 0.35rem; }

.post-hero-image { width: 100%; margin: 2.5rem 0; border: 2px solid var(--color-ink); object-fit: cover; box-shadow: var(--shadow-hard); }

.post-body { max-width: 48rem; margin: 0 auto; padding-bottom: 4rem; }
.post-body p.mdc-paragraph { margin-bottom: 1.5rem; font-size: 1.125rem; line-height: 1.75; color: rgba(11,16,48,0.9); }
.post-body p.mdc-paragraph:first-of-type { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.4; color: var(--color-ink); }

.box-ingredients { margin: 2.5rem 0; border: 2px solid var(--color-ink); background: rgba(255,198,39,0.15); padding: 1.5rem; }
@media (min-width: 640px) { .box-ingredients { padding: 2rem; } }
.box-ingredients h2, .box-steps h2, .box-pros h2, .box-cons h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 700; color: var(--color-ink); }
.box-ingredients h2 .icon, .box-steps h2 .icon { color: var(--color-royal); width: 1.5rem; height: 1.5rem; }
.ingredients-list { margin-top: 1.25rem; display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .ingredients-list { grid-template-columns: repeat(2, 1fr); } }
.ingredients-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(11,16,48,0.9); }
.ingredients-list .icon { margin-top: 0.15rem; flex-shrink: 0; width: 1rem; height: 1rem; color: var(--color-sundark); }

.box-steps { margin: 2.5rem 0; }
.steps-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.steps-list li { display: flex; gap: 1rem; }
.steps-list .step-number {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 2px solid var(--color-ink);
	background: var(--color-sun);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 900;
	color: var(--color-ink);
}
.steps-list p { padding-top: 0.35rem; line-height: 1.7; color: rgba(11,16,48,0.9); }

.pros-cons { margin: 2.5rem 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: repeat(2, 1fr); } }
.box-pros, .box-cons { border: 2px solid var(--color-ink); background: #fff; padding: 1.5rem; }
.box-pros { box-shadow: var(--shadow-hard-sm-sun); }
.box-cons { box-shadow: var(--shadow-hard-sm); }
.box-pros h2 .icon, .box-cons h2 .icon { color: var(--color-royal); width: 1.25rem; height: 1.25rem; }
.pros-list, .cons-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pros-list li, .cons-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(11,16,48,0.9); }
.pros-list .icon { color: var(--color-sundark); width: 1rem; height: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.cons-list .icon { color: var(--color-royal); width: 1rem; height: 1rem; margin-top: 0.15rem; flex-shrink: 0; }

.verdict-box { margin: 2.5rem 0; border: 2px solid var(--color-ink); background: var(--color-royal); color: #fff; padding: 1.5rem; box-shadow: var(--shadow-hard-sun); }
@media (min-width: 640px) { .verdict-box { padding: 2rem; } }
.verdict-box .kicker { color: var(--color-sun); }
.verdict-box p.verdict-text { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.verdict-box .rating { margin-top: 1rem; }

.post-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tags span { border: 1px solid var(--color-border); background: var(--color-muted); padding: 0.25rem 0.75rem; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }

.related-section { border-top: 2px solid var(--color-ink); background: rgba(249,246,238,0.6); }
.related-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.related-section__header h2 { font-size: 1.875rem; font-weight: 700; color: var(--color-ink); }

.post-404 { max-width: 32rem; margin: 0 auto; padding: 8rem var(--container-padding); text-align: center; }
.post-404__code { font-family: var(--font-display); font-size: 6rem; font-weight: 900; color: var(--color-sun); }
.post-404 h1 { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; color: var(--color-ink); }
.post-404 p { margin-top: 0.75rem; color: var(--color-muted-foreground); }
.post-404 .btn { margin-top: 2rem; }

/* =====================================================
   14. PÁGINA SOBRE
   ===================================================== */

.about-hero { border-bottom: 2px solid var(--color-ink); background: rgba(255,198,39,0.2); }
.about-hero__inner { display: grid; gap: 2.5rem; align-items: center; padding: 4rem 0; }
@media (min-width: 1024px) { .about-hero__inner { grid-template-columns: repeat(2, 1fr); } }
.about-hero h1 { margin-top: 1rem; font-size: 3rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-ink); }
.about-hero h1 em { font-style: italic; color: var(--color-royal); }
.about-hero p { margin-top: 1.5rem; line-height: 1.7; color: var(--color-muted-foreground); }
.about-hero p.lead { font-size: 1.125rem; }
.about-hero .mascot-wrap { position: relative; max-width: 24rem; margin: 0 auto; }
.about-hero .mascot-wrap .bg { position: absolute; inset: 3rem 1.5rem 0 1.5rem; background: var(--color-sun); }
.about-hero .mascot-wrap img { position: relative; margin: 0 auto; width: 100%; filter: drop-shadow(10px 10px 0 rgba(0,38,178,1)); }

.principles-grid { margin-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }
.principle-card { height: 100%; border: 2px solid var(--color-ink); background: #fff; padding: 1.5rem; transition: transform .2s, box-shadow .2s; }
.principle-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.principle-card__index { font-family: var(--font-display); font-size: 3.75rem; font-weight: 900; color: var(--color-sun); }
.principle-card h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: var(--color-ink); }
.principle-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--color-muted-foreground); }

/* =====================================================
   15. FOOTER
   ===================================================== */

.site-footer { background: var(--color-royal); color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer .site-logo__text { color: #fff; }
.site-footer .site-logo__text em { color: var(--color-sun); }
.site-footer .site-logo img { background: #fff; }
.site-footer p.tagline { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.8); }
.site-footer h3 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-sun); }
.site-footer ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.site-footer a { color: rgba(255,255,255,0.8); transition: color .15s; }
.site-footer a:hover { color: var(--color-sun); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.2); }
.site-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 1.25rem 0; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) { .site-footer__bottom-inner { flex-direction: row; } }

/* =====================================================
   16. ANIMAÇÃO DE ENTRADA (equivalente ao "Reveal" do React)
   ===================================================== */

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}
