:root {
	--bg: #f6f4ef;
	--surface: #ffffff;
	--surface-alt: #f0ede6;
	--text: #1b1b1b;
	--muted: #5f5a52;
	--line: #d8d1c6;
	--accent: #9b1c1c;
	--accent-2: #9c7a1d;
	--dark: #111111;
	--max: 1120px;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.7;
}

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

a {
	color: inherit;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(246, 244, 239, .88);
	border-bottom: 1px solid rgba(27, 27, 27, .08);
}

.header-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1rem 1.25rem;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: .85rem;
}

.brand {
	font-weight: 800;
	letter-spacing: -.03em;
	text-decoration: none;
	font-size: 1rem;
	white-space: nowrap;
}

.nav {
	display: flex;
	gap: .15rem;
	flex-wrap: wrap;
	justify-content: center;
	font-size: .88rem;
	min-width: 0;
}

.nav a {
	padding: .3rem .32rem;
	white-space: nowrap;
	text-decoration: none;
	color: var(--muted);
	border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
	color: var(--text);
	background: rgba(0, 0, 0, .05);
	outline: none;
}

.lang-switch {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .88rem;
	white-space: nowrap;
}

.lang-switch a {
	text-decoration: none;
	color: var(--muted);
	padding: .2rem .15rem;
}

.lang-switch a.active {
	color: var(--text);
	font-weight: 700;
}

.lang-switch span {
	color: var(--muted);
}

/* SHARE */
.share-row {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: 1.2rem;
}

.share-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(27, 27, 27, .08);
	border-radius: 50%;
	background: var(--surface-alt);
	color: var(--muted);
	text-decoration: none;
	transition: all .2s ease;
	cursor: pointer;
}

.share-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.share-btn:hover {
	background: rgba(0, 0, 0, .05);
	color: var(--text);
	transform: translateY(-1px);
}

main {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 5rem;
}

.hero {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 1.5rem;
	align-items: stretch;
	margin-top: 1rem;
}

.card {
	background: var(--surface);
	border: 1px solid rgba(27, 27, 27, .08);
	border-radius: 24px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.hero-copy {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .82rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 1rem;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 4.4rem);
	line-height: .95;
	letter-spacing: -.05em;
	margin: 0 0 1.15rem;
}

.lead {
	font-size: 1.1rem;
	color: var(--muted);
	margin: 0 0 1.4rem;
	max-width: 60ch;
}

.hero-meta {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(27, 27, 27, .08);
	background: var(--surface-alt);
	border-radius: 999px;
	padding: .55rem .9rem;
	font-size: .92rem;
	color: var(--muted);
}

.hero-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.figure img {
	width: 100%;
	height: auto;
	display: block;
}


.small-figure {
	display: block;
	width: 320px;
	max-width: 90%;
	margin: 2.5rem auto;
	text-align: center;
}


.small-figure.figure {
	margin-left: auto;
	margin-right: auto;
}

.small-figure img {
	width: 100%;
	height: auto;
	display: block;
}


.small-figure .caption {
	text-align: center;

}


.media-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 1.5rem 0 2.25rem;
}

.media-panel {
	padding: 1.25rem;
}

.media-panel h3 {
	margin: 0 0 .75rem;
	font-size: 1rem;
	letter-spacing: -.02em;
}

audio {
	width: 100%;
	margin-top: .5rem;
}

.video-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
}

.video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

section {
	margin-top: 1.6rem;
}

.section-card {
	padding: 2rem;
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	line-height: 1;
	letter-spacing: -.04em;
	margin: 0 0 1.1rem;
}

h3 {
	font-size: 1.3rem;
	line-height: 1.2;
	margin: 1.8rem 0 .75rem;
	letter-spacing: -.03em;
}

h4 {
	font-size: 1.08rem;
	margin: 1.3rem 0 .55rem;
	letter-spacing: -.02em;
}

p {
	margin: 0 0 1rem;
}

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

.figure {
	margin: 1.5rem 0 1.25rem;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(27, 27, 27, .08);
	background: var(--surface-alt);
}

.figure.tall img {
	object-fit: contain;
	max-height: 720px;
	background: #f4f1ea;
}

.caption {
	padding: .9rem 1rem 1rem;
	font-size: .92rem;
	color: var(--muted);
	border-top: 1px solid rgba(27, 27, 27, .08);
	background: rgba(255, 255, 255, .72);
}

.note,
.quote-box {
	margin: 1.25rem 0;
	padding: 1rem 1.1rem;
	border-left: 4px solid var(--accent);
	background: #fbf8f2;
	border-radius: 12px;
}

.quote-box {
	border-left-color: var(--accent-2);
}

ul,
ol {
	padding-left: 1.3rem;
	margin: .75rem 0 1rem;
}

li {
	margin-bottom: .45rem;
}

.subtle {
	color: var(--muted);
	font-size: .96rem;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0 1.25rem;
	font-size: .97rem;
	background: var(--surface);
	border-radius: 16px;
	overflow: hidden;
}

th,
td {
	padding: .95rem .9rem;
	border: 1px solid var(--line);
	vertical-align: top;
	text-align: left;
}

th {
	background: #1e1d1b;
	color: #fff;
	font-weight: 700;
	letter-spacing: -.01em;
}

.compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 1rem 0 1.2rem;
}

.mini-card {
	padding: 1rem 1.05rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fcfbf8;
}

.mini-card h4 {
	margin-top: 0;
}

.footer {
	max-width: var(--max);
	margin: 2rem auto 0;
	padding: 0 1.25rem 3rem;
}

.footer-card {
	padding: 1.4rem 1.5rem;
	text-align: center;
	color: var(--muted);
	font-size: .95rem;
}

@media (max-width: 980px) {

	.hero,
	.media-grid,
	.two-col,
	.split-banner,
	.compare-grid {
		grid-template-columns: 1fr;
	}

	.hero-art {
		min-height: 360px;
	}
}

@media (max-width: 820px) {
	.header-inner {
		grid-template-columns: 1fr;
		align-items: flex-start;
	}

	.nav {
		justify-content: flex-start;
		font-size: .9rem;
	}

	.lang-switch {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {

	.hero-copy,
	.section-card {
		padding: 1.35rem;
	}

	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.7rem;
	}
}

.podcast-cover-button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 1rem 0;
	border: 0;
	background: transparent;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
}

.podcast-cover-button img {
	display: block;
	width: 100%;
	height: auto;
}

.podcast-cover-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	transition: background 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.podcast-cover-button:hover .podcast-cover-overlay {
	background: rgba(0, 0, 0, 0.28);
}

.podcast-cover-button.is-playing .podcast-cover-overlay {
	background: rgba(0, 0, 0, 0.12);
}

.media-panel audio {
	width: 100%;
	margin-top: 0.5rem;
}

.video-caption {
	margin-top: 12px;
	font-size: 0.9em;
	opacity: 0.8;
}

.evidence-block {
	margin: 2.5rem 0;
	padding: 1.75rem;
	background: #f8f7f4;
	border-left: 4px solid #2f5e4e;
	border-radius: 6px;
	position: relative;
}

/* Label */
.evidence-block::before {
	content: "Evidence";
	position: absolute;
	top: -10px;
	left: 14px;
	background: #2f5e4e;
	color: white;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	padding: 3px 8px;
	border-radius: 3px;
	text-transform: uppercase;
}

html[lang="pt-PT"] .evidence-block::before {
	content: "Evidência";
}

/* Title */
.evidence-block h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2a24;
}

/* Context text */
.evidence-block .subtle {
	font-size: 0.95rem;
	color: #6b6f6c;
	margin-bottom: 1.2rem;
}

/* Inner quote box */
.evidence-block .quote-box {
	background: #ffffff;
	padding: 1.25rem;
	border-radius: 4px;
	border: 1px solid #e3e3e0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Quote text */
.evidence-block .quote-box p {
	margin: 0 0 0.8rem 0;
	line-height: 1.6;
}

.evidence-block .quote-box p:last-child {
	margin-bottom: 0;
}

/* Links */
.evidence-block a {
	color: #2f5e4e;
	text-decoration: underline;
}

.evidence-block a:hover {
	text-decoration: none;
}

/* CONTRAST NOTE */
.note-contrast {
	position: relative;
	background: var(--surface-alt);
	padding: 1.4rem 1.4rem 1.4rem 1.6rem;
	margin: 1.6rem 0;
	border-radius: 12px;
	overflow: hidden;
}

/* Left accent bar */
.note-contrast::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--accent);
}

/* Keep the contrast note title as a block */
.note-contrast>strong {
	display: block;
	margin-bottom: 0.6rem;
}

/* Keep inline emphasis inside contrast notes */
.note-contrast p strong {
	display: inline;
	margin-bottom: 0;
}


/* Collapsible Section */
.collapsible-section {
	margin-top: 1.5rem;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	background: var(--surface);
}

.collapsible-section summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.05rem;
	padding: 0.6rem 0;
	list-style: none;
	display: block;
}

.collapsible-section summary * {
	cursor: pointer;
}

.collapsible-section summary::-webkit-details-marker {
	display: none;
}

.collapsible-section[open] {
	padding-bottom: 1.5rem;
}

.collapsible-section summary::after {
	content: "+";
	float: right;
}

.collapsible-section[open] summary::after {
	content: "−";
}