/**
 * Site header — charte 2026.
 */

.site-header.site {
	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.site .wrap,
.site-header__bar,
.site-header .site-nav,
.site-header .nav-item {
	overflow: visible;
}

.site-header.site .logo-icon {
	width: 48px;
	height: 48px;
}

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

.site-header .logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
	transition: opacity 0.15s ease;
}

.site-header .logo:hover {
	opacity: 0.88;
}

.site-header .logo-icon {
	width: 56px;
	height: 56px;
	object-fit: contain;
	flex: none;
}

.site-header .logo-word {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.site-header .logo-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--jade-deep);
	white-space: nowrap;
}

.site-header .logo-tld {
	color: var(--gold);
}

.site-header .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;
	white-space: nowrap;
}

.site-header .site-nav {
	display: flex;
	gap: 4px;
	align-items: center;
}

.site-header .nav-item {
	position: relative;
}

.site-header .nav-item > a,
.site-header .nav-item > button {
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.site-header .nav-item > a:hover,
.site-header .nav-item > button:hover,
.site-header .nav-item--mega:hover > button,
.site-header .nav-item--mega:focus-within > button,
.site-header .nav-item--mega.is-open > button {
	color: var(--jade-deep);
	background: rgba(27, 50, 56, 0.08);
}

.site-header .caret {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -3px;
}

.site-header .mega {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--white);
	border: 1px solid rgba(28, 27, 22, 0.12);
	box-shadow: 0 16px 32px rgba(27, 50, 56, 0.14);
	padding: 24px;
	padding-top: 16px;
	margin-top: -10px;
	display: none;
	z-index: 200;
	pointer-events: auto;
}

.site-header .nav-item--mega:hover .mega,
.site-header .nav-item--mega:focus-within .mega,
.site-header .nav-item--mega.is-open .mega {
	display: grid;
}

@media (min-width: 901px) {
	.site-header .nav-item--mega::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: 14px;
		z-index: 199;
	}

	.site-header .nav-item--mega:hover .mega,
	.site-header .nav-item--mega:focus-within .mega,
	.site-header .nav-item--mega.is-open .mega {
		display: grid !important;
	}
}

.site-header .mega-destinations {
	grid-template-columns: repeat(6, 148px);
	gap: 2px 22px;
	width: max-content;
	max-height: 520px;
	overflow: auto;
}

.site-header .mega-inspiration {
	grid-template-columns: repeat(3, 170px);
	gap: 8px 28px;
	width: max-content;
}

.site-header .mega-col {
	padding-bottom: 4px;
}

.site-header .mega-col--continent {
	text-align: center;
}

.site-header .mega-col__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(28, 27, 22, 0.12);
	min-height: 88px;
}

.site-header .mega-col__icon-link {
	display: block;
	line-height: 0;
}

.site-header .mega-col__icon-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 auto;
}

.site-header .mega-col__icon {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-header .mega-col__title {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--jade-mid);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-header .mega-col__title:hover {
	color: var(--clay);
}

.site-header .mega-col__links a {
	display: block;
	font-size: 13.5px;
	padding: 4px 8px;
	margin: 0 -8px;
	text-decoration: none;
	color: var(--ink-soft);
	transition: color 0.15s ease, background-color 0.15s ease;
	text-align: left;
	border-radius: 2px;
}

.site-header .mega-col__links a:hover {
	color: var(--jade-deep);
	background: rgba(27, 50, 56, 0.06);
}

.site-header .mega-seeall {
	grid-column: 1 / -1;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(28, 27, 22, 0.1);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--jade-deep);
	text-decoration: none;
	display: block;
	transition: color 0.15s ease;
}

.site-header .mega-seeall:hover {
	color: var(--clay);
}

.site-header .mega-col .col-title {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--clay);
	margin-bottom: 8px;
	display: block;
}

.site-header .mega-col a {
	display: block;
	font-size: 13.5px;
	padding: 4px 8px;
	margin: 0 -8px;
	text-decoration: none;
	color: var(--ink-soft);
	transition: color 0.15s ease, background-color 0.15s ease;
	border-radius: 2px;
}

.site-header .mega-col a:hover {
	color: var(--jade-deep);
	background: rgba(27, 50, 56, 0.06);
}

.site-header .header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-header .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, transform 0.15s ease;
}

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

.site-header__toggle {
	display: none;
	background: none;
	border: 1px solid rgba(28, 27, 22, 0.2);
	border-radius: 4px;
	width: 44px;
	height: 44px;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.site-header__toggle-icon {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
	position: relative;
}

.site-header__toggle-icon::before,
.site-header__toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--ink);
}

.site-header__toggle-icon::before {
	top: -6px;
}

.site-header__toggle-icon::after {
	top: 6px;
}

.site-header.is-nav-open .site-header__toggle-icon {
	background: transparent;
}

.site-header.is-nav-open .site-header__toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.site-header.is-nav-open .site-header__toggle-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 1100px) {
	.site-header .mega-destinations {
		grid-template-columns: repeat(3, 148px);
	}
}

@media (max-width: 900px) {
	.site-header__toggle {
		display: inline-flex;
	}

	.site-header .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(241, 234, 218, 0.98);
		border-bottom: 1px solid rgba(28, 27, 22, 0.1);
		flex-direction: column;
		align-items: stretch;
		padding: 0.75rem 1.5rem 1rem;
		gap: 0;
		display: none;
	}

	.site-header.is-nav-open .site-nav {
		display: flex;
	}

	.site-header .nav-item > a,
	.site-header .nav-item > button {
		width: 100%;
		justify-content: flex-start;
	}

	.site-header .mega {
		position: static;
		transform: none;
		box-shadow: none;
		border: none;
		padding: 0 0 12px 14px;
		margin-top: 0;
		width: 100%;
		max-height: none;
	}

	.site-header .mega-destinations {
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.site-header .mega-inspiration {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.site-header .nav-item--mega:hover .mega {
		display: none;
	}

	.site-header .nav-item--mega.is-open .mega {
		display: grid;
	}

	.site-header .logo-tagline {
		display: none;
	}
}

@media (max-width: 520px) {
	.site-header .mega-destinations {
		grid-template-columns: 1fr;
	}
}
