/* ─── Design Tokens ──────────────────────────────────────────────────────── */

:root {
	--cream:      #f5f0e8;
	--warm:       #ebe3d3;
	--warm-dark:  #e0d6c2;
	--black:      #1a1814;
	--rust:       #c4511a;
	--rust-light: #e8795a;
	--muted:      #7a7468;
	--line:           rgba(26, 24, 20, 0.15);
	--gutter:         clamp(20px, 4vw, 48px);
	--container-max:  1500px;
	--container-width: min(92vw, var(--container-max));
	--text-measure:   680px;
	--page-top-space: 64px;
}

/* ─── Font Faces ──────────────────────────────────────────────────────────── */

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Thin.otf') format('opentype');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_UltraLight.otf') format('opentype');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Light.otf') format('opentype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Medium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_SemiBold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_ExtraBold.otf') format('opentype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Carmen Sans';
	src: url('../fonts/Carmen_Sans_Heavy.otf') format('opentype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ─── Reset / Normalize ──────────────────────────────────────────────────── */

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

/*
 * Ensure [hidden] always wins over any author-stylesheet display value.
 * Without this, display:grid / display:flex on e.g. .event-row overrides
 * the browser UA stylesheet's display:none for [hidden], breaking JS filters.
 */
[hidden] {
	display: none !important;
}

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

body {
	margin: 0;
	padding: 0;
	background-color: var(--cream);
	color: var(--black);
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-style: normal;
}

body.no-scroll {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-style: normal;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--black);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }

p {
	margin: 0 0 1em;
}

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

a:hover {
	color: var(--rust);
}

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

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

button {
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

/* ─── Layout ──────────────────────────────────────────────────────────────── */

.container {
	width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}

.measure {
	max-width: var(--text-measure);
	margin-inline: auto;
}

.full-bleed {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: var(--gutter);
}

.site-main {
	min-height: 60vh;
	padding-top: var(--page-top-space);
	padding-bottom: 64px;
}

/* ─── Header / Nav ────────────────────────────────────────────────────────── */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--cream);
	transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(26, 24, 20, 0.08);
}

.site-nav {
	height: 92px;
	display: flex;
	align-items: center;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}

/* Brand / Wordmark */

.site-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.site-logo {
	display: block;
	max-height: 84px;
	width: auto;
}

/* Nav Right */

.nav-right {
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Primary Menu */

.nav-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--black);
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 1.5px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--rust);
	border-bottom-color: var(--rust);
}

/* Search Icon */

.nav-search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black);
	opacity: 0.7;
	transition: opacity 0.15s ease, color 0.15s ease;
	padding: 4px;
}

.nav-search-toggle:hover {
	opacity: 1;
	color: var(--rust);
}

/* Language Toggle */

.lang-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.lang-link {
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.lang-link:hover,
.lang-link.lang-active {
	color: var(--rust);
}

.lang-sep {
	color: var(--line);
}

/* Hamburger */

.hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
}

.hamburger-icon {
	display: block;
	flex-shrink: 0;
}

/* ─── Mobile Drawer ──────────────────────────────────────────────────────── */

.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
	visibility: hidden;
}

.mobile-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.mobile-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 24, 20, 0.5);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
	opacity: 1;
}

.mobile-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(320px, 88vw);
	background-color: var(--cream);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.is-open .mobile-drawer-panel {
	transform: translateX(0);
}

.mobile-drawer-head {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
	flex-shrink: 0;
}

.mobile-drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	color: var(--black);
	opacity: 0.65;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.mobile-drawer-close:hover {
	opacity: 1;
	color: var(--rust);
}

.mobile-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 28px 48px;
	display: flex;
	flex-direction: column;
}

/* Drawer nav menu */

.drawer-nav {
	margin-bottom: 8px;
}

.drawer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.drawer-menu li {
	border-bottom: 1px solid var(--line);
}

.drawer-menu a {
	display: block;
	padding-block: 15px;
	font-size: 0.8125rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--black);
	text-decoration: none;
	transition: color 0.15s ease;
}

.drawer-menu a:hover,
.drawer-menu .current-menu-item > a,
.drawer-menu .current_page_item > a {
	color: var(--rust);
}

/* Drawer search */

.drawer-search-wrap {
	padding-block: 24px;
	border-bottom: 1px solid var(--line);
}

.drawer-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1.5px solid rgba(26, 24, 20, 0.4);
	padding-bottom: 8px;
}

.drawer-search-input {
	flex: 1;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 400;
	font-style: normal;
	color: var(--black);
	outline: none;
	padding: 0;
	min-width: 0;
}

.drawer-search-input::placeholder {
	color: var(--muted);
}

.drawer-search-submit {
	display: flex;
	align-items: center;
	color: var(--black);
	opacity: 0.65;
	flex-shrink: 0;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.drawer-search-submit:hover {
	opacity: 1;
	color: var(--rust);
}

/* Drawer language toggle */

.drawer-lang-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 24px;
	font-size: 11px;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* ─── Nav Search Overlay (desktop — full viewport) ────────────────────────── */

.nav-search-panel {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.nav-search-panel.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.18s ease;
}

.nav-search-close {
	position: absolute;
	top: 24px;
	right: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	color: var(--black);
	opacity: 0.55;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.nav-search-close:hover {
	opacity: 1;
	color: var(--rust);
}

.nav-search-inner {
	width: var(--container-width);
	max-width: 700px;
}

.nav-search-form {
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 2px solid rgba(26, 24, 20, 0.35);
	padding-bottom: 14px;
}

.nav-search-input {
	flex: 1;
	background: none;
	border: none;
	font-family: inherit;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 400;
	font-style: normal;
	color: var(--black);
	outline: none;
	padding: 0;
	min-width: 0;
}

.nav-search-input::placeholder {
	color: var(--muted);
}

.nav-search-submit {
	display: flex;
	align-items: center;
	color: var(--black);
	opacity: 0.55;
	flex-shrink: 0;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.nav-search-submit:hover {
	opacity: 1;
	color: var(--rust);
}

.nav-search-toggle.is-active {
	color: var(--rust);
	opacity: 1;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
	background-color: var(--cream);
	border-top: 1px solid var(--line);
	padding-top: 56px;
	padding-bottom: 0;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
}

.footer-heading {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0 0 16px;
	line-height: 1;
}

/* Footer Column 1 */

.footer-brand-link {
	display: block;
	margin-bottom: 16px;
}

.footer-brand-img {
	display: block;
	max-height: 72px;
	width: auto;
	/* logo.png has ~104px transparent left padding baked in; compensate at rendered size */
	margin-left: -14px;
}

.footer-tagline {
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.5;
	margin: 0;
}

/* Footer Nav Menu */

.footer-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-nav-menu a {
	font-size: 0.875rem;
	color: var(--black);
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer-nav-menu a:hover {
	color: var(--rust);
}

/* Footer Social Links */

.footer-social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-link {
	font-size: 0.875rem;
	color: var(--black);
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer-link:hover {
	color: var(--rust);
}

/* Partner Logos */

.footer-sponsors {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.sponsor-logo {
	display: block;
	max-height: 48px;
	width: auto;
}

/* Footer Bottom Bar */

.footer-bottom {
	border-top: 1px solid var(--line);
	padding-block: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.footer-copy {
	font-size: 0.75rem;
	color: var(--muted);
	margin: 0;
}

.footer-privacy-link {
	font-size: 0.75rem;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease;
	white-space: nowrap;
}

.footer-privacy-link:hover {
	color: var(--rust);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.nav-menu,
	.lang-toggle,
	.nav-search-toggle {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.nav-search-panel {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.footer-col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.site-nav {
		height: auto;
	}

	.nav-inner {
		height: auto;
		padding-block: 12px;
		padding-inline: 24px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-col--brand {
		grid-column: 1;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.site-main {
		padding-block: 40px;
	}
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
	display: inline-block;
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-align: center;
	padding: 12px 28px;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	line-height: 1;
}

.btn-primary {
	background-color: var(--rust);
	color: #fff;
	border: 1.5px solid var(--rust);
}

.btn-primary:hover {
	background-color: var(--rust-light);
	border-color: var(--rust-light);
	color: #fff;
}

.btn-outline {
	background-color: transparent;
	color: var(--black);
	border: 1.5px solid var(--black);
}

.btn-outline:hover {
	background-color: var(--black);
	color: var(--cream);
}

/* ─── Ver Tudo Link ───────────────────────────────────────────────────────── */

.ver-tudo-link {
	font-size: 0.75rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease;
	white-space: nowrap;
}

.ver-tudo-link:hover {
	color: var(--rust);
}

/* ─── Poster Placeholder ─────────────────────────────────────────────────── */

.poster-placeholder {
	background-color: var(--black);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	box-sizing: border-box;
}

.poster-placeholder-title {
	color: rgba(245, 240, 232, 0.65);
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

/* ─── Hero Section ────────────────────────────────────────────────────────── */

.hero-section {
	padding-block: 18px 44px;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.hero-poster-wrap {
	position: relative;
	overflow: hidden;
	background-color: var(--warm);
	aspect-ratio: 662 / 347;
}

.hero-poster-wrap .poster-placeholder {
	position: absolute;
	inset: 0;
}

.hero-poster-wrap .poster-placeholder-title {
	font-size: 1.375rem;
}

.hero-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.hero-eyebrow {
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rust);
	margin: 0;
}

.hero-eyebrow .eyebrow-sep {
	color: var(--line);
}

.hero-title {
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
}

.hero-date {
	font-size: 0.9375rem;
	font-weight: 500;
	font-style: normal;
	color: var(--muted);
	margin: 0;
}

.hero-excerpt {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--black);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-excerpt p {
	margin: 0;
}

.hero-section--empty {
	padding-block: 48px;
}

.hero-empty-state {
	color: var(--muted);
	font-size: 0.9375rem;
	font-style: normal;
	text-align: center;
	padding-block: 48px;
	margin: 0;
}

/* ─── Marquee Section ────────────────────────────────────────────────────── */

.marquee-section {
	padding-bottom: 56px;
}

.marquee-header {
	padding-block: 4px 20px;
}

.marquee-header .container {
	display: flex;
	justify-content: flex-end;
}

.marquee-outer {
	overflow: hidden;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.marquee-outer.is-dragging {
	cursor: grabbing;
}

.marquee-track {
	display: flex;
	width: max-content;
}

/* Each group (original + clone) has matching padding so the seam gap equals
   the inter-tile gap. gap/2 on each side = seamless 20px gap at the loop point. */
.marquee-group {
	display: flex;
	gap: 20px;
	padding-inline: 10px;
}

.marquee-tile {
	/* 5 tiles + 4 × 20px gaps fill 100vw exactly */
	width: calc((100vw - 4 * 20px) / 5);
	flex-shrink: 0;
}

.marquee-tile-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.marquee-tile-poster {
	position: relative;
	aspect-ratio: 662 / 347;
	overflow: hidden;
	background-color: var(--warm);
	margin-bottom: 12px;
}

.marquee-tile-poster--no-image {
	background-color: var(--black);
}

.marquee-tile-poster .poster-placeholder--tile {
	position: absolute;
	inset: 0;
}

.marquee-tile-poster .poster-placeholder-title {
	font-size: 0.8125rem;
}

.marquee-tile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.marquee-tile-link:hover .marquee-tile-img {
	transform: scale(1.04);
}

.marquee-tile-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tile-tag {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rust);
}

.tile-title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0;
	transition: color 0.15s ease;
}

.marquee-tile-link:hover .tile-title {
	color: var(--rust);
}

.tile-date {
	font-size: 0.6875rem;
	font-weight: 400;
	font-style: normal;
	color: var(--muted);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ─── Blogue Section ─────────────────────────────────────────────────────── */

.blogue-section {
	background-color: var(--warm);
	padding-block: 56px;
}

.blogue-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 36px;
}

.blogue-section-heading {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0;
}

.blogue-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.blogue-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.blogue-date {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--muted);
}

.blogue-card-title {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0;
}

.blogue-card-title a {
	color: var(--black);
	text-decoration: none;
	transition: color 0.15s ease;
}

.blogue-card-title a:hover {
	color: var(--rust);
}

.blogue-excerpt {
	font-size: 0.875rem;
	color: var(--muted);
	line-height: 1.55;
	margin: 0;
	font-style: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ─── Auto-Retrato Callout ───────────────────────────────────────────────── */

.autoretrato-section {
	padding-block: 88px;
	text-align: center;
}

.autoretrato-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.autoretrato-eyebrow {
	font-size: 0.6875rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0;
}

.autoretrato-tagline {
	font-size: clamp(0.9375rem, 2.25vw, 1.625rem);
	font-weight: 300;
	font-style: normal;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--black);
	margin: 0;
}

/* ─── Responsive: Homepage ───────────────────────────────────────────────── */

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.blogue-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.autoretrato-section {
		padding-block: 64px;
	}
}

@media (max-width: 768px) {
	/* Marquee becomes native swipe carousel on mobile */
	.marquee-outer {
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		cursor: default;
		scrollbar-width: none;
	}

	.marquee-outer::-webkit-scrollbar {
		display: none;
	}

	.marquee-clone {
		display: none;
	}

	.marquee-group {
		gap: 16px;
		padding-left: var(--gutter);
		padding-right: 0;
	}

	.marquee-tile {
		width: 72vw;
		scroll-snap-align: start;
		flex-shrink: 0;
	}
}

@media (max-width: 600px) {
	.hero-section {
		padding-block: 32px 28px;
	}

	.blogue-grid {
		grid-template-columns: 1fr;
	}

	.autoretrato-section {
		padding-block: 56px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 3 — PROGRAMAÇÃO PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading (hidden on desktop) ─────────────────────────────────── */

.programacao-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.programacao-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (max-width: 768px) {
	.programacao-mobile-heading {
		display: block;
	}
}

/* ─── Filter Bar ─────────────────────────────────────────────────────────── */

.filter-bar {
	position: sticky;
	top: 92px;
	z-index: 90;
	background-color: var(--cream);
	border-bottom: 1px solid var(--line);
	padding-block: 12px;
}

.filter-bar-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

/* ─── When Toggle ────────────────────────────────────────────────────────── */

.when-toggle {
	display: flex;
	gap: 16px;
	flex-shrink: 0;
}

.when-toggle-btn {
	font-size: 0.625rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 4px 0;
	background: transparent;
	color: var(--muted);
	border: none;
	border-bottom: 1.5px solid transparent;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
	line-height: 1;
}

.when-toggle-btn.is-active {
	color: var(--rust);
	border-bottom-color: var(--rust);
}

.when-toggle-btn:not(.is-active):hover {
	color: var(--rust);
}

/* ─── Tag Chips ──────────────────────────────────────────────────────────── */

.filter-tags-wrap {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	min-width: 0;
	padding-left: 24px;
	position: relative;
}

.filter-tags-wrap::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background-color: var(--line);
}

.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.tag-chip {
	font-size: 0.625rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 4px 0;
	background: transparent;
	color: var(--muted);
	border: none;
	border-bottom: 1.5px solid transparent;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
	line-height: 1;
	white-space: nowrap;
}

.tag-chip:hover {
	color: var(--rust);
}

.tag-chip.is-active {
	color: var(--rust);
	border-bottom-color: var(--rust);
	background-color: transparent;
}

/* ─── Mobile Tag Dropdown Toggle ─────────────────────────────────────────── */

.mobile-tag-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 7px 14px;
	background: transparent;
	color: var(--muted);
	border: 1px solid var(--line);
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s ease;
	flex-shrink: 0;
}

.mobile-tag-toggle:hover {
	color: var(--rust);
}

/* ─── Event Lists Wrap ───────────────────────────────────────────────────── */

.event-lists-wrap {
	padding-block: 8px 64px;
}

/* ─── Year Group ─────────────────────────────────────────────────────────── */

.event-year-group {
	margin-bottom: 16px;
}

.year-heading {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-block: 24px 0;
}

.year-number {
	font-size: 1.375rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	color: var(--black);
	flex-shrink: 0;
}

.year-rule {
	flex: 1;
	height: 1px;
	background-color: var(--line);
	display: block;
}

/* ─── Event Row ──────────────────────────────────────────────────────────── */

.event-row {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 40px;
	align-items: center;
	padding: 28px 4px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: var(--black);
	transition: background-color 0.12s ease;
}


.event-row:hover {
	background-color: rgba(26, 24, 20, 0.02);
}

.event-row-date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	text-align: left;
}

.date-day {
	font-size: 2.375rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
	color: var(--black);
}

.date-day--range {
	font-size: 1.375rem;
}

.date-day--cross-month {
	font-size: 0.9375rem;
	letter-spacing: 0.03em;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
}

.date-cross-line {
	display: block;
	white-space: nowrap;
}

.date-cross-line + .date-cross-line {
	border-top: 1px solid var(--line);
	padding-top: 3px;
	margin-top: 3px;
}

.date-month-weekday {
	font-size: 0.5625rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.date-time {
	font-size: 0.6rem;
	color: var(--muted);
	font-style: normal;
}

.event-row-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.event-row-tag {
	font-size: 0.6875rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rust);
}

.event-row-title {
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--black);
	transition: color 0.12s ease;
}

.event-row:hover .event-row-title {
	color: var(--rust);
}

.event-row-arrow {
	font-size: 1rem;
	color: var(--muted);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.event-row:hover .event-row-arrow {
	opacity: 1;
	transform: translateX(0);
	color: var(--rust);
}

.event-row-excerpt {
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-style: normal;
}

/* ─── Empty State ────────────────────────────────────────────────────────── */

.event-list-empty {
	color: var(--muted);
	font-size: 0.9375rem;
	font-style: normal;
	padding-block: 48px;
	text-align: center;
	margin: 0;
}

/* ─── Responsive: Programação ────────────────────────────────────────────── */

@media (max-width: 768px) {
	.filter-bar {
		top: 92px;
	}

	.filter-bar-inner {
		gap: 12px;
		align-items: center;
	}

	.mobile-tag-toggle {
		display: flex;
	}

	.filter-tags-wrap {
		flex-direction: column;
		position: relative;
		padding-left: 0;
	}

	.filter-tags-wrap::before {
		display: none;
	}

	.filter-tags {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		background-color: var(--cream);
		border: 1px solid var(--line);
		padding: 12px;
		z-index: 80;
		flex-direction: column;
		gap: 4px;
		min-width: 220px;
	}

	.filter-tags.is-open {
		display: flex;
	}

	.filter-tags .tag-chip {
		text-align: left;
		padding: 10px 0;
		border-bottom: 1px solid var(--line);
		border-left: none;
		border-right: none;
		border-top: none;
	}

	.filter-tags .tag-chip:last-child {
		border-bottom: none;
	}

	.filter-tags .tag-chip.is-active {
		border-bottom-color: var(--rust);
	}
}

@media (max-width: 600px) {
	.filter-bar {
		top: 68px;
	}

	.event-row {
		grid-template-columns: 56px 1fr;
		gap: 24px;
	}

	.event-row-arrow {
		display: none;
	}

	.date-day {
		font-size: 1.75rem;
	}

	.date-day--range {
		font-size: 1.1rem;
	}

	.date-day--cross-month {
		font-size: 0.8125rem;
	}

	.event-row-title {
		font-size: 0.9375rem;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 3 — EVENT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Back Link ──────────────────────────────────────────────────────────── */

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	text-decoration: none;
	padding-block: 28px 32px;
	transition: color 0.15s ease;
}

.back-link:hover {
	color: var(--rust);
}

/* ─── Event Detail ────────────────────────────────────────────────────────── */

.event-detail-page {
	padding-top: var(--page-top-space);
	padding-bottom: 80px;
}

/* Tighten back-link spacing on event pages */
.event-detail-page .back-link {
	padding-block: 16px 20px;
}

/* ─── Layout A: Portrait / Square — poster left, header right ────────────── */

.event-detail--portrait .event-detail-grid,
.event-detail--square .event-detail-grid {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.event-detail--square .event-detail-grid {
	grid-template-columns: 7fr 5fr;
}

.event-detail--portrait .event-detail-grid {
	grid-template-columns: 2fr 3fr;
}

.event-detail-header-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Description + share body */

.event-detail-body {
	max-width: 700px;
	margin-inline: auto;
}

/* In portrait/square, body lives inside the right column — un-centre and add divider */
.event-detail--portrait .event-detail-body,
.event-detail--square .event-detail-body {
	max-width: none;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

/* ─── Layout B: Landscape — two-column wrap (main col + sticky share sidebar) ─── */

.event-detail--landscape .event-detail-landscape-wrap {
	display: grid;
	grid-template-columns: minmax(0, 840px) minmax(160px, 200px);
	gap: clamp(32px, 4vw, 60px);
	align-items: start;
}

.event-detail--landscape .event-detail-banner {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.event-detail--landscape .event-detail-header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 0;
	border-bottom: none;
}

/* Override shared centred body rule — landscape body is left-aligned, border separates from meta */
.event-detail--landscape .event-detail-body {
	max-width: none;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

/* Sticky share sidebar — clears the 92px nav with 24px breathing room */
.event-detail--landscape .event-detail-share-sidebar {
	position: sticky;
	top: 116px;
}

/* Remove share block's default top border/spacing when in the sidebar */
.event-detail-share-sidebar .event-share {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

/* ─── Poster Slider ──────────────────────────────────────────────────────── */

.event-poster-slider {
	position: relative;
	overflow: hidden;
	background-color: var(--cream);
	width: 100%;
	aspect-ratio: 3 / 2;
	max-height: 60vh;
}

.event-poster-slider.is-image {
	cursor: zoom-in;
}

.event-slider-track {
	display: flex;
	height: 100%;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.event-slider-slide {
	flex: 0 0 100%;
	min-width: 100%;
	height: 100%;
}

.event-slider-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Portrait/square slider frames use their own aspect ratios */

.event-detail--portrait .event-poster-slider {
	aspect-ratio: 2 / 3;
}

.event-detail--square .event-poster-slider {
	aspect-ratio: 1 / 1;
}

/* Placeholder fills the fixed frame — frame provides the aspect ratio now */

.event-poster-slider .event-poster-placeholder {
	width: 100%;
	height: 100%;
}

/* ─── Zoom icon ──────────────────────────────────────────────────────────── */

.event-slider-zoom {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: rgba(255, 255, 255, 0.88);
	padding: 7px;
	line-height: 0;
	color: var(--black);
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
	border-radius: 3px;
}

/* ─── Slider arrows ──────────────────────────────────────────────────────── */

.event-slider-prev,
.event-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black);
	padding: 0;
	line-height: 0;
	opacity: 0;
	transition: background 0.15s ease, opacity 0.2s ease;
}

.event-slider-prev { left: 10px; }
.event-slider-next { right: 10px; }

/* Desktop only — zoom icon + arrows all show on hover; guard so iOS sticky-hover never fires */
@media (hover: hover) {
	.event-poster-slider:hover .event-slider-zoom,
	.event-poster-slider:hover .event-slider-prev,
	.event-poster-slider:hover .event-slider-next {
		opacity: 1;
	}

	.event-slider-prev:hover,
	.event-slider-next:hover {
		background: white;
	}
}

/* Touch devices: zoom icon + arrows hidden by default, all appear/disappear in sync;
   lightbox inner narrowed to 70vw so side arrows sit in the cleared margin */
@media (hover: none) {
	.event-slider-prev,
	.event-slider-next {
		opacity: 0;
	}
	.event-poster-slider.is-touched .event-slider-zoom,
	.event-poster-slider.is-touched .event-slider-prev,
	.event-poster-slider.is-touched .event-slider-next {
		opacity: 1;
	}
	.event-lightbox-inner {
		width: 70vw;
		height: 70vh;
	}
}

/* ─── Info Column ────────────────────────────────────────────────────────── */

.event-detail-info-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.event-passado-marker {
	display: inline-block;
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--muted);
	border: 1px solid var(--line);
	padding: 4px 10px;
	align-self: flex-start;
}

.event-detail-tag {
	font-size: 0.6875rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rust);
	margin: 0;
}

.event-detail-title {
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
}

/* ─── Meta Block ─────────────────────────────────────────────────────────── */

.event-meta-block {
	border-top: 1px solid var(--line);
	padding-block: 4px;
	margin: 0;
}

.event-meta-row {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding-block: 10px;
	font-size: 0.875rem;
}

.event-meta-row + .event-meta-row {
	border-top: 1px solid var(--line);
}

.event-meta-row dt {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--muted);
	min-width: 72px;
	flex-shrink: 0;
}

.event-meta-row dd {
	color: var(--black);
	margin: 0;
	font-weight: 400;
}

/* ─── Description + Share (event-detail-body) ───────────────────────────── */

.event-detail-content .entry-content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--black);
	max-width: 680px;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Portrait/square and landscape: description fills the full column width */
.event-detail--portrait .event-detail-content .entry-content,
.event-detail--square .event-detail-content .entry-content,
.event-detail--landscape .event-detail-content .entry-content {
	max-width: none;
}

.event-detail-content .entry-content p { margin-bottom: 1.25em; }
.event-detail-content .entry-content p:last-child { margin-bottom: 0; }

.event-share {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

/* No double-border when share is the only item in the body (no description) */
.event-detail-body > .event-share:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.event-share-heading {
	margin-bottom: 14px;
}

/* ─── Lightbox ───────────────────────────────────────────────────────────── */

.event-lightbox {
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 9999;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden;
	background: rgba(26, 24, 20, 0.85);
}

.event-lightbox[hidden] {
	display: none !important;
}

.event-lightbox-backdrop {
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.event-lightbox-inner {
	position: relative;
	z-index: 1;
	width: 80vw;
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	overflow: hidden;
	pointer-events: none;
}

.cdg-lightbox-img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	margin: 0 !important;
	pointer-events: auto;
}

.event-lightbox-close,
.event-lightbox-prev,
.event-lightbox-next {
	position: absolute;
	background: rgba(26, 24, 20, 0.5);
	border: none;
	cursor: pointer;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 0;
	z-index: 2;
	transition: background 0.15s ease;
}

.event-lightbox-close:hover,
.event-lightbox-prev:hover,
.event-lightbox-next:hover {
	background: rgba(26, 24, 20, 0.75);
}

.event-lightbox-close {
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.event-lightbox-prev,
.event-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 4px;
}

.event-lightbox-prev { left: 20px; }
.event-lightbox-next { right: 20px; }

/* ─── Responsive: Event Detail ───────────────────────────────────────────── */

@media (max-width: 900px) {
	/* Layout A: collapse portrait/square grid to single column */
	.event-detail--portrait .event-detail-grid,
	.event-detail--square .event-detail-grid {
		grid-template-columns: 1fr;
	}

	.event-detail--portrait .event-detail-poster-col {
		max-width: 440px;
		margin-inline: auto;
	}

	/* Layout B: collapse landscape wrap to single column, un-stick share */
	.event-detail--landscape .event-detail-landscape-wrap {
		display: block;
	}

	.event-detail--landscape .event-detail-share-sidebar {
		position: static;
		margin-top: 32px;
	}
}

@media (max-width: 600px) {
	.event-detail-page {
		padding-bottom: 48px;
	}

	.event-lightbox-prev { left: 8px; }
	.event-lightbox-next { right: 8px; }
	.event-lightbox-close { top: 8px; right: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 7A — SEARCH RESULTS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.search-results-page {
	padding-top: var(--page-top-space);
	padding-bottom: 80px;
}

.search-results-header {
	padding-bottom: 36px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 52px;
}

.search-results-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0;
}

.search-empty-msg {
	font-size: 1rem;
	color: var(--muted);
	padding-block: 40px;
	margin: 0;
}

.search-groups {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.search-group {
	max-width: 740px;
}

.search-group-heading {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.search-result-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.search-result-item {
	border-bottom: 1px solid var(--line);
}

.search-result-link {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	padding-block: 15px;
	text-decoration: none;
	color: var(--black);
	transition: color 0.15s ease;
}

.search-result-link:hover {
	color: var(--rust);
}

.search-result-title {
	font-size: 0.9375rem;
	font-weight: 500;
	font-style: normal;
}

.search-result-meta {
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	white-space: nowrap;
	flex-shrink: 0;
	transition: color 0.15s ease;
}

.search-result-link:hover .search-result-meta {
	color: var(--rust-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 4 — BLOGUE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading ─────────────────────────────────────────────────────── */

.blogue-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.blogue-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (max-width: 768px) {
	.blogue-mobile-heading {
		display: block;
	}
}

/* ─── Shared: eyebrow and date ───────────────────────────────────────────── */

.article-eyebrow {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0 0 10px;
}

.article-meta-date {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

/* ─── Featured article ───────────────────────────────────────────────────── */

.blogue-featured-wrap {
	padding-block: 52px 48px;
	border-bottom: 1px solid var(--line);
}

.blogue-featured-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.blogue-featured-link:hover .blogue-featured-title {
	color: var(--rust);
}

.blogue-featured-title {
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: var(--black);
	margin: 0 0 20px;
	transition: color 0.15s ease;
}

.blogue-featured-excerpt {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.65;
	color: var(--black);
	max-width: 640px;
	margin: 0 0 20px;
}

/* ─── Listing grid ───────────────────────────────────────────────────────── */

.blogue-listing-wrap {
	padding-block: 48px 72px;
}

.blogue-listing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 48px;
}

.blogue-listing-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.blogue-listing-card:hover .blogue-listing-card-title {
	color: var(--rust);
}

.blogue-listing-card-title {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--black);
	margin: 0;
	transition: color 0.15s ease;
}

.blogue-card-excerpt {
	font-size: 0.875rem;
	color: var(--muted);
	line-height: 1.55;
	font-style: normal;
	margin: 0;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */

.blogue-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.blogue-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	font-size: 0.75rem;
	font-weight: 500;
	font-style: normal;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease;
	line-height: 1;
}

.blogue-pagination .page-numbers:hover {
	color: var(--rust);
}

.blogue-pagination .page-numbers.current {
	color: var(--black);
	font-weight: 700;
	border-bottom: 1.5px solid var(--black);
}

.blogue-pagination .page-numbers.dots {
	pointer-events: none;
}

.blogue-pagination .page-numbers.inactive {
	opacity: 0.25;
	pointer-events: none;
	cursor: default;
}

/* ─── Responsive: Blogue ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.blogue-listing-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 40px;
	}
}

@media (max-width: 480px) {
	.blogue-listing-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.blogue-featured-wrap {
		padding-block: 32px 28px;
	}

	.blogue-listing-wrap {
		padding-block: 32px 48px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 4 — SINGLE ARTICLE (anuncio)
   ═══════════════════════════════════════════════════════════════════════════ */

.article-detail-page {
	padding-top: var(--page-top-space);
	padding-bottom: 80px;
}

/* ─── Two-column layout ──────────────────────────────────────────────────── */

.article-detail-wrap {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
	max-width: 980px;
	margin-inline: auto;
}

.article-main {
	min-width: 0;
}

/* ─── Article column ─────────────────────────────────────────────────────── */

.article-detail-title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 700;
	font-style: normal;
	letter-spacing: -0.03em;
	line-height: 1.08;
	color: var(--black);
	margin: 0 0 10px;
}

.article-rule {
	border: none;
	border-top: 1px solid var(--line);
	margin: 20px 0 28px;
}

.article-body p {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--black);
	margin: 0 0 1.25em;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.article-body p:last-child {
	margin-bottom: 0;
}

.article-main .article-eyebrow {
	margin-bottom: 6px;
}

.article-detail .article-meta-date {
	margin: 0;
}

/* ─── Sidebar ─────────────────────────────────────────────────────────────── */

.article-sidebar {
	min-width: 0;
	border-left: 1px solid var(--line);
	padding-left: 28px;
}

.sidebar-heading {
	margin-bottom: 14px;
}

.sidebar-block + .sidebar-block {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

/* Share list */

.share-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.share-list a,
.share-copy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	color: var(--black);
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: color 0.15s ease;
	line-height: 0;
}

.share-list a:hover,
.share-copy-btn:hover,
.share-copy-btn.is-copied {
	color: var(--rust);
}

/* Search results — livro card styled as a result row */

.search-livro-card {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	padding-block: 15px;
	cursor: pointer;
	color: var(--black);
	background: none;
	border: none;
	text-align: left;
	transition: color 0.15s ease;
	font-family: inherit;
}

.search-livro-card:hover,
.search-livro-card:focus-visible {
	color: var(--rust);
	outline: none;
}

.search-livro-card .search-result-title {
	transition: color inherit;
}

/* Recommended reading */

.recommended-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.recommended-item-link {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	font-style: normal;
	color: var(--black);
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.15s ease;
}

.recommended-item-link:hover {
	color: var(--rust);
}

.recommended-item-date {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-top: 3px;
}

.recommended-item {
	padding-block: 14px;
}

.recommended-item:first-child {
	padding-top: 0;
}

.recommended-item + .recommended-item {
	border-top: 1px solid var(--line);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.article-detail-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.article-sidebar {
		border-left: none;
		padding-left: 0;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 4 — AUTO-RETRATO PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading ─────────────────────────────────────────────────────── */

.ar-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.ar-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (max-width: 768px) {
	.ar-mobile-heading {
		display: block;
	}
}

/* ─── Side index ─────────────────────────────────────────────────────────── */

.ar-side-index {
	display: none;
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ar-side-index li + li {
	margin-top: 10px;
}

.ar-side-index a {
	display: block;
	font-size: 0.5rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	text-decoration: none;
	max-width: 120px;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.ar-side-index a:hover {
	color: var(--black);
}

.ar-side-index a.is-active {
	color: var(--rust);
	font-weight: 700;
}

@media (min-width: 1440px) {
	.ar-side-index {
		display: block;
	}
}

/* ─── Sections ───────────────────────────────────────────────────────────── */

.ar-section {
	padding-block: 72px;
}

.ar-section + .ar-section {
	position: relative;
}

.ar-section + .ar-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 48px;
	height: 3px;
	background-color: var(--rust);
	transform: translate(-50%, -50%);
}

.ar-section-inner {
	position: relative;
	max-width: 620px;
	margin-inline: auto;
}

.ar-eyebrow {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 32px;
}

.ar-num {
	display: block;
	font-size: 0.5rem;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--rust);
}

.ar-label {
	display: block;
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
}

.ar-body p {
	font-size: 0.9375rem;
	line-height: 1.82;
	color: var(--black);
	font-style: normal;
	margin: 0 0 1.25em;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.ar-body p:last-child {
	margin-bottom: 0;
}

/* ─── Desktop: eyebrow in left margin ────────────────────────────────────── */

@media (min-width: 1100px) {
	.ar-section-inner {
		position: relative;
	}

	.ar-eyebrow {
		position: absolute;
		right: calc(100% + 40px);
		top: 0;
		width: 160px;
		text-align: right;
		margin: 0;
	}
}

/* ─── Responsive: Auto-retrato ───────────────────────────────────────────── */

@media (max-width: 768px) {
	.ar-section {
		padding-block: 48px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 5 — LIVRALHADA PAGE + BOOK MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading ─────────────────────────────────────────────────────── */

.livralhada-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.livralhada-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (max-width: 768px) {
	.livralhada-mobile-heading {
		display: block;
	}
}

/* ─── Tab bar ─────────────────────────────────────────────────────────────── */

.livro-tabs {
	border-bottom: 1px solid var(--line);
	padding-top: 40px;
}

.livro-tabs-inner {
	display: flex;
	gap: 32px;
}

.livro-tab-btn {
	font-size: 0.6875rem;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding-block: 8px;
	background: transparent;
	color: var(--muted);
	border: none;
	border-bottom: 1.5px solid transparent;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
	line-height: 1;
	margin-bottom: -1px;
}

.livro-tab-btn:hover {
	color: var(--rust);
}

.livro-tab-btn.is-active {
	color: var(--rust);
	border-bottom-color: var(--rust);
}

/* ─── Book grid ──────────────────────────────────────────────────────────── */

.livro-grid-wrap {
	padding-block: 40px 72px;
}

.livro-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 24px;
}

/* ─── Taiga tab panel ────────────────────────────────────────────────────── */

.taiga-panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 520px;
}

.taiga-panel-eyebrow {
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted);
	margin: 0;
}

.taiga-panel-desc {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--black);
	margin: 0;
}

/* ─── Book card ──────────────────────────────────────────────────────────── */

.livro-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	cursor: pointer;
}

.livro-card-cover {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background-color: var(--warm);
}

.livro-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.livro-card:hover .livro-cover-img {
	transform: scale(1.04);
}

.livro-card-cover .poster-placeholder {
	position: absolute;
	inset: 0;
}

.livro-card-cover .poster-placeholder-title {
	font-size: 0.875rem;
}

.livro-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.livro-card-title {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0;
	transition: color 0.15s ease;
}

.livro-card:hover .livro-card-title {
	color: var(--rust);
}

.livro-card-author {
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--muted);
	margin: 0;
}

.livro-card-price {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--black);
	margin: 0;
}

/* ─── Taiga tab ──────────────────────────────────────────────────────────── */

.taiga-section {
	padding-block: 56px 72px;
}

.taiga-body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.taiga-body p {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--black);
	margin: 0 0 1.25em;
}

.taiga-body p:last-of-type {
	margin-bottom: 28px;
}

/* ─── Book Modal ─────────────────────────────────────────────────────────── */

.livro-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
}

.livro-modal[hidden] {
	display: none;
}

.livro-modal-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(26, 24, 20, 0.8);
}

.livro-modal-dialog {
	position: relative;
	background-color: var(--cream);
	width: min(92vw, 1120px);
	max-height: 92vh;
	overflow-y: auto;
	display: grid;
	grid-template-columns: 420px 1fr;
}

/* ─── Modal close ────────────────────────────────────────────────────────── */

.livro-modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 1.25rem;
	color: var(--muted);
	z-index: 1;
	padding: 6px 8px;
	line-height: 1;
	transition: color 0.15s ease;
}

.livro-modal-close:hover {
	color: var(--rust);
}

/* ─── Gallery column ─────────────────────────────────────────────────────── */

.livro-modal-gallery {
	background-color: var(--warm);
	display: flex;
	flex-direction: column;
}

.gallery-slides-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	flex-shrink: 0;
}

.gallery-slide {
	position: absolute;
	inset: 0;
	transition: transform 0.3s ease;
}

.gallery-slide-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	background-color: var(--warm);
}

.gallery-slide--placeholder {
	background-color: var(--black);
	display: flex;
	align-items: flex-end;
	padding: 20px;
}

.gallery-slide--placeholder .poster-placeholder-title {
	font-size: 1rem;
}

.gallery-stage {
	position: relative;
	flex-shrink: 0;
}

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(245, 240, 232, 0.85);
	color: var(--black);
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	transition: background-color 0.15s ease;
	z-index: 2;
}

.gallery-nav:hover {
	background-color: var(--cream);
}

.gallery-nav[hidden] {
	display: none;
}

.gallery-prev {
	left: 8px;
}

.gallery-next {
	right: 8px;
}

.gallery-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 8px 0;
}

.gallery-dots[hidden] {
	display: none;
}

.gallery-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--warm-dark);
	transition: background-color 0.15s ease;
	padding: 0;
}

.gallery-dot.is-active {
	background-color: var(--rust);
}

/* ─── Info column ────────────────────────────────────────────────────────── */

.livro-modal-info {
	padding: 48px 36px 40px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modal-book-title {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0;
	padding-right: 32px; /* room for close button */
}

.modal-book-author {
	font-size: 0.625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted);
	margin: 0;
}

.modal-book-desc {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--black);
	flex: 1;
	margin: 8px 0 0;
}

.modal-book-price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--black);
	margin: 0;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

/* ─── Responsive: Livralhada ─────────────────────────────────────────────── */

@media (max-width: 1100px) {
	.livro-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.livro-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 16px;
	}

	/* Modal: full-screen takeover */
	.livro-modal {
		align-items: flex-start;
	}

	.livro-modal-backdrop {
		display: none;
	}

	.livro-modal-dialog {
		width: 100%;
		max-height: none;
		height: 100dvh;
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		overflow-y: auto;
	}

	.livro-modal-close {
		top: 12px;
		right: 16px;
		left: auto;
		font-size: 1.25rem;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		background: rgba(245, 240, 232, 0.9);
		border-radius: 50%;
	}

	.livro-modal-close::before {
		display: none;
	}

	.gallery-slides-wrap {
		aspect-ratio: 4 / 3;
	}

	.livro-modal-info {
		padding: 24px 20px 48px;
	}

	.modal-book-title {
		padding-right: 0;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 6 — AGIGANTA-TE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading ─────────────────────────────────────────────────────── */

.agiganta-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.agiganta-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (max-width: 768px) {
	.agiganta-mobile-heading {
		display: block;
	}

	.agiganta-title-mobile {
		margin-bottom: 40px;
	}

	.agiganta-iban {
		white-space: nowrap;
		font-size: 0.8em;
		letter-spacing: 0.02em;
	}
}

/* ─── Content column ─────────────────────────────────────────────────────── */

.agiganta-page {
	padding-top: var(--page-top-space);
	padding-bottom: 60px;
}

.agiganta-inner {
	max-width: 580px;
	margin-inline: auto;
}

/* ─── Shared hairline rule ───────────────────────────────────────────────── */

.agiganta-rule {
	border: none;
	border-top: 1px solid var(--line);
	margin: 0;
}

/* ─── 1. Quota block ─────────────────────────────────────────────────────── */

.agiganta-quota-block {
	background-color: var(--warm);
	padding: 28px 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0 0 40px;
}

.agiganta-quota-label {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0;
}

.agiganta-quota-price {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 700;
	font-style: normal;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--black);
	margin: 4px 0;
}

.agiganta-quota-note {
	font-size: 0.8125rem;
	font-style: normal;
	color: var(--muted);
	margin: 0;
}

/* ─── 2. Instruction line ────────────────────────────────────────────────── */

.agiganta-instructions-intro {
	font-size: 0.9375rem;
	line-height: 1.65;
	font-style: normal;
	color: var(--black);
	margin: 0 0 28px;
}

/* ─── 3. Payment methods ─────────────────────────────────────────────────── */

.agiganta-methods {
	display: flex;
	flex-direction: column;
}

.agiganta-method-item {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 0 16px;
	align-items: start;
	padding-block: 40px;
}

.agiganta-method-item + .agiganta-method-item {
	border-top: 1px solid var(--line);
}

.agiganta-method-num {
	font-size: clamp(1.25rem, 2.5vw, 1.875rem);
	font-weight: 700;
	font-style: normal;
	color: var(--rust);
	line-height: 1;
	letter-spacing: -0.02em;
	display: block;
}

.agiganta-method-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.agiganta-method-label {
	font-size: 0.75rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--black);
	margin: 0;
}

.agiganta-method-text {
	font-size: 0.9375rem;
	line-height: 1.6;
	font-style: normal;
	color: var(--black);
	margin: 0;
}

.agiganta-link {
	color: var(--rust);
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.15s ease;
}

.agiganta-link:hover {
	opacity: 0.75;
	color: var(--rust);
}

.agiganta-iban {
	display: inline;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.875em;
	font-style: normal;
	background-color: var(--warm);
	padding: 2px 7px;
	letter-spacing: 0.04em;
	color: var(--black);
}

/* ─── 4. Outras formas de envolvimento ───────────────────────────────────── */

.agiganta-outros {
	margin-top: 48px;
}

.agiganta-outros-heading {
	font-size: 0.75rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	text-align: center;
	margin: 32px 0 28px;
}

.agiganta-outros-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
}

.agiganta-outros-subhead {
	font-size: 0.9375rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: -0.01em;
	color: var(--black);
	margin: 0 0 8px;
}

.agiganta-outros-col-text {
	font-size: 0.875rem;
	line-height: 1.6;
	font-style: normal;
	color: var(--muted);
	margin: 0;
}

/* ─── Responsive: Agiganta-te ────────────────────────────────────────────── */

@media (max-width: 600px) {
	.agiganta-page {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.agiganta-method-item {
		grid-template-columns: 32px 1fr;
		gap: 0 12px;
		padding-block: 28px;
	}

	.agiganta-outros-cols {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   STAGE 6 — CORRESPONDÊNCIA PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Mobile heading ─────────────────────────────────────────────────────── */

.correspondencia-mobile-heading {
	display: none;
	padding-block: 24px 0;
}

.correspondencia-title-mobile {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

/* ─── Page wrapper ───────────────────────────────────────────────────────── */

.correspondencia-page {
	padding-top: var(--page-top-space);
	padding-bottom: 120px;
	min-height: calc(100svh - 92px);
}

/* ─── Two-column layout ──────────────────────────────────────────────────── */

.correspondencia-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: clamp(56px, 7vw, 104px);
	align-items: start;
	max-width: 1240px;
	margin-inline: auto;
}

/* ─── Info column ────────────────────────────────────────────────────────── */

.correspondencia-info {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.correspondencia-info-item {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.info-label {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--rust);
	margin: 0 0 8px;
}

.info-value {
	font-size: 0.9375rem;
	line-height: 1.65;
	font-style: normal;
	color: var(--black);
	margin: 0;
}

.correspondencia-address {
	font-style: normal;
}

.correspondencia-map-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.9375rem;
	font-style: normal;
	color: var(--rust);
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.correspondencia-map-link:hover {
	opacity: 0.75;
}

.correspondencia-tel-note {
	margin: 6px 0 0;
	font-size: 0.8125rem;
	font-style: normal;
	color: var(--muted);
}

.correspondencia-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 16px;
}

.correspondencia-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	font-style: normal;
	color: var(--black);
	text-decoration: none;
	transition: color 0.15s ease;
}

.correspondencia-social a:hover {
	color: var(--rust);
}

/* ─── Form column ────────────────────────────────────────────────────────── */

/* ─── Contact Form 7 — Correspondência ──────────────────────────────────── */

/* Form: flex column matching old .contact-form layout */
.correspondencia-form-wrap .wpcf7-form {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* Each field <p> wrapper → acts as .contact-field */
.correspondencia-form-wrap .wpcf7-form > p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Label → eyebrow style matching .contact-field-label */
.correspondencia-form-wrap .wpcf7-form label {
	font-size: 0.5625rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--muted);
	line-height: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* CF7 inserts a <br> after label text — suppress it */
.correspondencia-form-wrap .wpcf7-form label br {
	display: none;
}

/* Control wrap <span> → block so input fills the column */
.correspondencia-form-wrap .wpcf7-form-control-wrap {
	display: block;
}

/* Text and email inputs */
.correspondencia-form-wrap .wpcf7-text,
.correspondencia-form-wrap .wpcf7-email {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: 8px 0;
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 400;
	font-style: normal;
	color: var(--black);
	outline: none;
	transition: border-bottom-color 0.15s ease;
	box-shadow: none;
}

.correspondencia-form-wrap .wpcf7-text:focus,
.correspondencia-form-wrap .wpcf7-email:focus {
	border-bottom-color: var(--black);
}

.correspondencia-form-wrap .wpcf7-text::placeholder,
.correspondencia-form-wrap .wpcf7-email::placeholder {
	color: var(--muted);
	opacity: 0.6;
}

/* Textarea */
.correspondencia-form-wrap .wpcf7-textarea {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: 8px 0;
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 400;
	font-style: normal;
	color: var(--black);
	outline: none;
	transition: border-bottom-color 0.15s ease;
	box-shadow: none;
	resize: vertical;
	min-height: 200px;
	line-height: 1.6;
}

.correspondencia-form-wrap .wpcf7-textarea:focus {
	border-bottom-color: var(--black);
}

.correspondencia-form-wrap .wpcf7-textarea::placeholder {
	color: var(--muted);
	opacity: 0.6;
}

/* Submit button → matches .btn.btn-primary */
.correspondencia-form-wrap .wpcf7-submit {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	font-family: 'Carmen Sans', system-ui, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-align: center;
	padding: 12px 28px;
	line-height: 1;
	cursor: pointer;
	background-color: var(--rust);
	color: #fff;
	border: 1.5px solid var(--rust);
	border-radius: 0;
	margin-top: 8px;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

.correspondencia-form-wrap .wpcf7-submit:hover {
	background-color: var(--rust-light);
	border-color: var(--rust-light);
}

/* Hide CF7 ajax spinner */
.correspondencia-form-wrap .wpcf7-spinner {
	display: none;
}

/* Response output (success / error) */
.correspondencia-form-wrap .wpcf7-response-output {
	margin: 0;
	padding: 12px 0 0;
	border: none;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	font-style: normal;
	color: var(--muted);
}

.correspondencia-form-wrap .wpcf7-form.sent .wpcf7-response-output {
	color: var(--black);
	border-top-color: var(--black);
}

.correspondencia-form-wrap .wpcf7-form.failed .wpcf7-response-output,
.correspondencia-form-wrap .wpcf7-form.invalid .wpcf7-response-output,
.correspondencia-form-wrap .wpcf7-form.spam .wpcf7-response-output {
	color: var(--rust);
	border-top-color: var(--rust);
}

/* Inline validation error tips */
.correspondencia-form-wrap .wpcf7-not-valid-tip {
	display: block;
	font-size: 0.75rem;
	font-style: normal;
	color: var(--rust);
	margin-top: 4px;
}

/* ─── Responsive: Correspondência ───────────────────────────────────────── */

@media (max-width: 768px) {
	.correspondencia-mobile-heading {
		display: block;
	}

	.correspondencia-title-mobile {
		margin-bottom: 40px;
	}

	.correspondencia-page {
		padding-top: 40px;
		padding-bottom: 56px;
	}

	.correspondencia-layout {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

@media (max-width: 480px) {
	.livro-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 12px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTO-RETRATO (BLOCOS) — TEST PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Content wrapper ────────────────────────────────────────────────────── */

.arb-content-wrap {
	padding-block: 72px;
}

.arb-content {
	max-width: 680px;
	margin-inline: auto;
}

/* ─── H2: section titles ─────────────────────────────────────────────────── */

.arb-content h2 {
	font-size: 1.125rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: -0.01em;
	color: var(--black);
	margin: 0 0 20px;
	padding-top: 40px;
	line-height: 1.3;
	text-align: center;
	scroll-margin-top: 100px;
}

.arb-content h2:first-child {
	padding-top: 0;
}

/* ─── H3: sub-headings ───────────────────────────────────────────────────── */

.arb-content h3 {
	font-size: 0.75rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--black);
	margin: 40px 0 16px;
}

/* ─── Paragraphs ─────────────────────────────────────────────────────────── */

.arb-content p {
	font-size: 0.9375rem;
	line-height: 1.82;
	color: var(--black);
	font-style: normal;
	margin: 0 0 1.25em;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.arb-content p:last-child {
	margin-bottom: 0;
}

/* ─── Image blocks ───────────────────────────────────────────────────────── */

.arb-content .wp-block-image {
	margin-block: 48px;
}

.arb-content .wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
}

.arb-content .wp-block-image figcaption {
	font-size: 0.75rem;
	color: var(--muted);
	text-align: center;
	margin-top: 10px;
}

/* ─── Separator blocks ───────────────────────────────────────────────────── */

.arb-content .wp-block-separator {
	border: none;
	height: 1px;
	background-color: var(--line);
	max-width: 100%;
	margin: 40px auto;
	opacity: 1;
}

.arb-content .wp-block-separator.is-style-wide {
	max-width: none;
	height: 1px;
	background-color: var(--line);
}

.arb-content .wp-block-separator.is-style-dots {
	background-color: transparent;
	height: auto;
	max-width: none;
	text-align: center;
}

/* ─── Side index: label only ─────────────────────────────────────────────── */

.arb-idx-label {
	display: block;
}

/* ─── Columns + Gallery blocks: partner-logo rows ────────────────────────── */

/* Columns container — left edge flush with content (margin-inline reset
   overrides any Gutenberg offset); N-agnostic via flex: 1 1 0 on children. */
.arb-content .wp-block-columns {
	display: flex !important;
	flex-wrap: wrap;
	width: 100%;
	margin-inline: 0 !important;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 64px);
}

/* Each column — uniform fixed cell (flex: 1 1 0 gives identical widths).
   All logos centred horizontally and vertically inside their cell. */
.arb-content .wp-block-columns > .wp-block-column {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 1 1 0 !important;
	min-width: 0;
	padding: 0 !important;
}

/* Empty columns: reinforce equal flex share so they never collapse and
   always reserve symmetric space on both sides of a lone centre logo. */
.arb-content .wp-block-columns > .wp-block-column:empty,
.arb-content .wp-block-columns > .wp-block-column:not(:has(*)) {
	flex: 1 1 0 !important;
	min-width: 0;
}

/* Gallery container: generous gap */
.arb-content .wp-block-gallery {
	gap: 24px 64px;
}

/* Gallery items: centre logos */
.arb-content .wp-block-gallery .blocks-gallery-item,
.arb-content .wp-block-gallery .wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ── Columns logo images: fit within the uniform cell ──────────────────────
   With flex: 1 1 0 columns, each cell has a definite computed width, so
   max-width: 100% is meaningful — wide logos (BNI) are bounded by the cell
   width, narrow ones stay their natural size capped by max-height.
   max-height + height: auto are safe here because the cell provides the
   containing-block width that was missing in earlier approaches.           */
.arb-content .wp-block-columns img {
	height: auto !important;
	max-height: 110px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain !important;
	display: block;
	margin: 0 auto;
}

/* ── Gallery logo images: keep explicit height (no fixed cell to bound them) */
.arb-content .wp-block-gallery img {
	height: 110px !important;
	width: auto !important;
	max-width: 260px !important;
	object-fit: contain !important;
	display: block;
	margin: 0 auto;
}

/* Reset any inline width the editor places on the figure wrapper */
.arb-content .wp-block-columns .wp-block-image,
.arb-content .wp-block-gallery .wp-block-image,
.arb-content .wp-block-gallery .blocks-gallery-item figure {
	width: auto !important;
	max-width: 100%;
}

/* ── Mobile: wrap, same centering, tighter sizing ───────────────────────── */
@media (max-width: 600px) {
	.arb-content .wp-block-columns {
		justify-content: center;
		gap: 16px 32px;
	}

	.arb-content .wp-block-gallery {
		gap: 16px 24px;
	}

	.arb-content .wp-block-columns img {
		max-height: 75px !important;
	}

	.arb-content .wp-block-gallery img {
		height: 75px !important;
		max-width: 170px !important;
	}
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
	.arb-content-wrap {
		padding-block: 48px;
	}

	.arb-content h2 {
		padding-top: 28px;
	}
}
