/* ============================================================
   Termos e Condições — standalone page (Tours / Aluguer)
   Design tokens synced with the Lovable landing.
   ============================================================ */

.terms-page {
	--bg: oklch(0.965 0.012 85);
	--fg: oklch(0.28 0.02 200);
	--primary: oklch(0.58 0.045 185);
	--muted-fg: oklch(0.45 0.02 200);
	--accent: oklch(0.68 0.06 175);
	--border: oklch(0.85 0.015 180);
	--secondary: oklch(0.92 0.015 170);

	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Inter", system-ui, sans-serif;

	min-height: 100vh;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

.terms-page * { box-sizing: border-box; }

.terms-shell {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* ---------- Header ---------- */
.terms-header {
	border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
}
.terms-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.25rem;
}
.terms-header__logo { display: inline-flex; align-items: center; }
.terms-header__logo img {
	height: 30px;
	width: auto;
	display: block;
}
.terms-header__nav {
	display: none;
	gap: 2rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted-fg);
}
.terms-header__nav a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}
.terms-header__nav a:hover { color: var(--primary); }
@media (min-width: 768px) {
	.terms-header__nav { display: flex; }
}

/* ---------- Hero ---------- */
.terms-hero {
	text-align: center;
	padding: 5rem 1.5rem 3rem;
}
.terms-hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.35em;
	color: var(--accent);
}
.terms-hero__title {
	margin: 0 auto;
	max-width: 56rem;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--primary);
	font-size: clamp(2.5rem, 6vw, 3.75rem);
}
.terms-hero__intro {
	margin: 1.5rem auto 0;
	max-width: 40rem;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--muted-fg);
}
.terms-hero__rule {
	width: 6rem;
	height: 1px;
	margin: 2.5rem auto 0;
	background: color-mix(in oklch, var(--accent) 60%, transparent);
}

/* ---------- Sections ---------- */
.terms-section { padding: 0 1.5rem 5rem; }
.terms-section--en { padding-top: 4rem; padding-bottom: 6rem; }
.terms-section__head {
	max-width: 48rem;
	margin: 0 auto 3rem;
	text-align: center;
}
.terms-section__tag {
	margin: 0;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--muted-fg);
}
.terms-section__title {
	margin: 0.5rem 0 0;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--primary);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
}

/* ---------- Terms list (WYSIWYG output) ---------- */
.terms-content {
	max-width: 48rem;
	margin-inline: auto;
}
.terms-content ol {
	list-style: none;
	counter-reset: item;
	margin: 0;
	padding: 0;
}
.terms-content > ol > li {
	counter-increment: item;
	position: relative;
	padding-left: 3.25rem;
	margin-bottom: 1.75rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: color-mix(in oklch, var(--fg) 85%, transparent);
}
.terms-content > ol > li::before {
	content: counter(item) ".";
	position: absolute;
	left: 0;
	top: -0.15rem;
	width: 2.25rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.4;
	color: var(--primary);
	font-variant-numeric: tabular-nums;
}
.terms-content > ol > li > p { margin: 0; }
.terms-content > ol > li > p + ul,
.terms-content > ol > li > p + ol,
.terms-content > ol > li > ul,
.terms-content > ol > li > ol { margin-top: 0.75rem; }

/* Sub-items */
.terms-content li ul,
.terms-content li ol {
	list-style: none;
	margin: 0.75rem 0 0;
	padding-left: 0.5rem;
	counter-reset: none;
}
.terms-content li li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.5rem;
	color: color-mix(in oklch, var(--fg) 72%, transparent);
}
.terms-content li li::before {
	content: "·";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}

/* ---------- Divider ---------- */
.terms-divider {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 48rem;
	margin: 1rem auto;
}
.terms-divider span {
	height: 1px;
	flex: 1;
	background: var(--border);
}
.terms-divider em {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: normal;
	color: var(--accent);
}

/* ---------- Footer ---------- */
.terms-footer {
	border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
	background: color-mix(in oklch, var(--secondary) 40%, transparent);
}
.terms-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 2rem;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--muted-fg);
}
@media (min-width: 768px) {
	.terms-footer__inner { flex-direction: row; }
}
