:root {
	--ink: #1c1b16;
	--ink-soft: #4a4739;
	--paper: #f1eada;
	--paper-2: #e8dfc9;
	--jade-deep: #1b3238;
	--jade-mid: #1f5c66;
	--jade-line: #2e7a82;
	--gold: #c6963c;
	--gold-soft: #e4c888;
	--clay: #a24e2a;
	--mist: #dce6e6;
	--white: #fbf8f0;
	--font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	--font-body: "Public Sans", "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
	--wrap: 1260px;
	--gutter: 1.5rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	position: relative;
	overflow-x: clip;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.035;
	mix-blend-mode: multiply;
	background-image:
		radial-gradient(circle at 20% 30%, #000 0.5px, transparent 0.5px),
		radial-gradient(circle at 60% 70%, #000 0.5px, transparent 0.5px),
		radial-gradient(circle at 80% 20%, #000 0.5px, transparent 0.5px);
	background-size: 3px 3px, 5px 5px, 4px 4px;
}

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

a {
	color: inherit;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	/* Horizontal only — section modifiers may set vertical padding via shorthand
	   and would otherwise wipe the gutters on mobile. */
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)) !important;
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)) !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--jade-deep);
	color: var(--white);
	padding: 0.75rem 1rem;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

.site-main,
.site-header,
.site-footer {
	position: relative;
	z-index: 2;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(241, 234, 218, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(28, 27, 22, 0.1);
	overflow: visible;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.75rem;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	line-height: 1.05;
	flex-shrink: 0;
}

.site-logo__text {
	display: flex;
	flex-direction: column;
}

.site-logo__icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	object-fit: contain;
}

.site-logo__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--jade-deep);
}

.site-logo__tagline {
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-top: 3px;
}

.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	display: block;
	padding: 0.25rem 0;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ink);
	transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item a,
.site-nav .current_page_item a {
	color: var(--jade-mid);
}

@media (max-width: 768px) {
	.site-header__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.site-nav .menu {
		gap: 0.25rem 0.85rem;
	}

	.site-nav a {
		font-size: 0.875rem;
	}
}

.footer-nav a {
	display: block;
	padding: 0.25rem 0;
	text-decoration: none;
	font-size: 0.8125rem;
	color: var(--ink-soft);
	transition: color 0.15s ease;
}

.footer-nav a:hover {
	color: var(--jade-mid);
}

.footer-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero {
	padding: 4.5rem 0 3.5rem;
	background: var(--jade-deep);
	color: var(--white);
}

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

/* Site footer */
.site-footer {
	margin-top: 0;
	background: var(--jade-deep);
	color: rgba(251, 248, 240, 0.84);
	border-top: none;
	padding: 0;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer .btn-devis {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--gold);
	color: var(--jade-deep);
	padding: 12px 22px;
	border-radius: 2px;
	text-decoration: none;
	display: inline-block;
	font-weight: 600;
	transition: background-color 0.15s ease;
}

.site-footer .btn-devis:hover {
	background: var(--gold-soft);
}

.site-footer .btn-outline,
.site-footer__outline {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: none;
	padding: 11px 21px;
	border-radius: 2px;
	text-decoration: none;
	border: 1px solid rgba(251, 248, 240, 0.4);
	color: var(--white);
	display: inline-block;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-footer .btn-outline:hover,
.site-footer__outline:hover {
	background: rgba(251, 248, 240, 0.1);
	border-color: rgba(251, 248, 240, 0.7);
	color: var(--white);
}

.site-footer__band {
	background:
		radial-gradient(ellipse 60% 120% at 85% 50%, rgba(198, 150, 60, 0.22) 0%, transparent 60%),
		linear-gradient(110deg, #122428 0%, var(--jade-deep) 55%, #1f4a52 100%);
	border-bottom: 1px solid rgba(251, 248, 240, 0.1);
}

.site-footer__band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	flex-wrap: wrap;
	padding-top: 2rem;
	padding-bottom: 2rem;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.site-footer__band-eyebrow {
	margin: 0 0 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

.site-footer__band-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--white);
	max-width: 28ch;
	line-height: 1.2;
}

.site-footer__main {
	padding: 3.25rem 0 2.75rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
	gap: 2rem 2.25rem;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1rem;
}

.site-footer__mark {
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex-shrink: 0;
	filter: brightness(1.05);
}

.site-footer__word {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.site-footer__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--white);
}

.site-footer__tagline {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(251, 248, 240, 0.55);
	margin-top: 0.25rem;
}

.site-footer__pitch {
	margin: 0 0 1.15rem;
	max-width: 28rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(251, 248, 240, 0.72);
}

.site-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
}

.site-footer__social a {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(251, 248, 240, 0.7);
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer__social a:hover {
	color: var(--gold-soft);
	border-bottom-color: rgba(228, 200, 136, 0.55);
}

.site-footer__heading {
	margin: 0 0 0.9rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.site-footer__list a {
	font-size: 0.95rem;
	color: rgba(251, 248, 240, 0.82);
	transition: color 0.15s ease;
}

.site-footer__list a:hover {
	color: var(--white);
}

.site-footer__help {
	margin: 0 0 1.1rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(251, 248, 240, 0.7);
}

.site-footer__bottom {
	border-top: 1px solid rgba(251, 248, 240, 0.1);
	padding: 1.1rem 0 1.35rem;
	background: rgba(0, 0, 0, 0.15);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.5rem;
	flex-wrap: wrap;
}

.site-footer__copy {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: rgba(251, 248, 240, 0.55);
}

.site-footer__copy a {
	color: rgba(251, 248, 240, 0.72);
}

.site-footer__copy a:hover {
	color: var(--white);
}

.site-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.15rem;
}

.site-footer__legal a {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: rgba(251, 248, 240, 0.55);
	transition: color 0.15s ease;
}

.site-footer__legal a:hover {
	color: var(--gold-soft);
}

@media (max-width: 980px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.site-footer__band-inner {
		padding-top: 1.75rem;
		padding-bottom: 1.75rem;
	}

	.site-footer__main {
		padding: 2.5rem 0 2.15rem;
	}
}

@media (max-width: 900px) {
	:root {
		--gutter: 1.5rem;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 1.75rem;
	}
}

.circuit__meta {
	display: flex;
	gap: 1rem;
	list-style: none;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 0.875rem;
}

/* TinyMCE / classic editor output, shared across the site. */
.dest-richtext {
	max-width: 46rem;
	color: var(--ink-soft);
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.dest-richtext h2,
.dest-richtext h3,
.dest-richtext h4 {
	color: var(--jade-deep);
	font-family: var(--font-display);
}

.dest-richtext p {
	margin: 0 0 1rem;
}

.dest-richtext a {
	color: var(--jade-deep);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.dest-richtext a:hover {
	color: var(--gold);
}

.dest-richtext ul,
.dest-richtext ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.dest-richtext li {
	margin: 0 0 0.35rem;
}

.dest-richtext li:last-child {
	margin-bottom: 0;
}

.dest-richtext strong {
	color: var(--jade-deep);
	font-weight: 600;
}

.dest-richtext em {
	font-style: italic;
}

.dest-richtext img,
.dest-richtext figure {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0.85rem 0 1rem;
}

.dest-richtext figure img {
	margin: 0;
}

.dest-richtext blockquote {
	margin: 0 0 1rem;
	padding: 0.1rem 0 0.1rem 1rem;
	border-left: 3px solid var(--gold);
	color: var(--jade-deep);
}

.dest-richtext p:empty,
.dest-richtext p:has(> br:only-child) {
	min-height: 1em;
}

/* Kill legacy teal (#2fb3ac / #2fb3ab) leftover inline styles. */
[style*="2fb3ac"],
[style*="2fb3ab"],
[style*="2FB3AC"],
[style*="2FB3AB"] {
	color: var(--jade-mid) !important;
}

a[style*="2fb3ac"],
a[style*="2fb3ab"],
a[style*="2FB3AC"],
a[style*="2FB3AB"] {
	color: var(--jade-mid) !important;
}

h1[style*="2fb3ac"],
h2[style*="2fb3ac"],
h3[style*="2fb3ac"],
h4[style*="2fb3ac"],
h1[style*="2fb3ab"],
h2[style*="2fb3ab"],
h3[style*="2fb3ab"],
h4[style*="2fb3ab"] {
	color: var(--jade-deep) !important;
}

/* Page hero titles stay on one line on desktop. */
@media (min-width: 900px) {
	.devis-hero h1,
	.agents-hero h1,
	.about-hero h1,
	.account-hero h1,
	.insp-hero h1,
	.content-hero h1,
	.themes-hero h1,
	.dest-hub__hero h1,
	.circuit-hero h1 {
		max-width: none;
		white-space: nowrap;
	}
}