/**
 * TW Frame — en-tête Merlin (fidèle live).
 */

.tw-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid color-mix(in oklab, var(--merlin-border) 70%, transparent);
}

.tw-header__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

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

.tw-header__logo {
	height: 3.25rem;
	width: auto;
}

.tw-header__name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	color: var(--merlin-charcoal);
}

.tw-header__nav {
	display: none;
}

.tw-header__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--merlin-charcoal);
}

.tw-header__menu a {
	text-decoration: none;
	transition: color 0.15s ease;
}

.tw-header__menu a:hover,
.tw-header__menu .current-menu-item > a {
	color: var(--merlin-teal);
}

.tw-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	border: 1px solid var(--merlin-border);
	background: #ffffff;
	color: var(--merlin-teal);
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	flex-shrink: 0;
}

.tw-header__cta:hover {
	background: var(--merlin-teal);
	color: #ffffff;
	border-color: var(--merlin-teal);
}

@media (min-width: 992px) {
	.tw-header__nav {
		display: flex;
		align-items: center;
		flex: 1;
		justify-content: center;
	}
}
