/* Header V2 - charge sur toutes les pages du theme enfant. */

.hmv2-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.hmv2-overlay-open {
	overflow: hidden;
}

.hmv2-site-header {
	position: relative;
	z-index: 9000;
	width: 100%;
	background: #fff;
	color: #111;
}

.hmv2-site-header a,
.hmv2-site-header button {
	color: inherit;
}

.hmv2-site-header__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	width: 100%;
	min-height: 132px;
	padding: 20px clamp(30px, 3.6vw, 68px);
	background: #fff;
}

.hmv2-site-header__left,
.hmv2-site-header__right,
.hmv2-header-socials {
	display: flex;
	align-items: center;
}

.hmv2-site-header__left {
	justify-content: flex-start;
	gap: clamp(22px, 2vw, 40px);
}

.hmv2-site-header__right {
	justify-content: flex-end;
	gap: clamp(22px, 2vw, 38px);
}

.hmv2-site-header__logo {
	display: block;
	width: clamp(170px, 12.5vw, 240px);
	line-height: 0;
}

.hmv2-site-header__logo img,
.hmv2-header-menu__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.hmv2-header-link {
	font-family: "Canela", "Cormorant Garamond", Georgia, serif;
	font-size: clamp(15px, 1vw, 20px);
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.hmv2-header-link:hover,
.hmv2-header-link:focus-visible,
.hmv2-header-menu a:hover,
.hmv2-header-menu a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.hmv2-header-icon,
.hmv2-header-close,
.hmv2-header-menu__heading button {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.hmv2-header-icon:hover,
.hmv2-header-icon:focus-visible,
.hmv2-header-close:hover,
.hmv2-header-close:focus-visible,
.hmv2-header-menu__heading button:hover,
.hmv2-header-menu__heading button:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: 1px solid currentColor;
	outline-offset: 6px;
}

.hmv2-header-menu-trigger {
	flex: 0 0 auto;
	width: clamp(36px, 2.5vw, 48px);
	height: 34px;
}

.hmv2-header-menu-trigger svg,
.hmv2-header-search-trigger svg,
.hmv2-header-close svg,
.hmv2-header-menu__heading button svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.hmv2-header-search-trigger {
	width: 43px;
	height: 43px;
}

.hmv2-header-socials {
	gap: 12px;
}

.hmv2-header-socials a {
	display: grid;
	place-items: center;
	width: clamp(44px, 2.65vw, 50px);
	height: clamp(44px, 2.65vw, 50px);
	border: 1px solid #111;
	border-radius: 50%;
	transition: background-color .2s ease, color .2s ease;
}

.hmv2-header-socials a:hover,
.hmv2-header-socials a:focus-visible {
	background: #111;
	color: #fff;
}

.hmv2-header-socials img,
.hmv2-header-socials svg {
	display: block;
	object-fit: contain;
}

.hmv2-header-socials img {
	width: 100%;
	height: 100%;
}

.hmv2-header-socials svg {
	width: 72%;
	height: 72%;
	fill: currentColor;
}

.hmv2-header-socials .hmv2-social-icon--youtube {
	width: 76%;
	height: 76%;
}

.hmv2-social-icon--youtube .hmv2-social-icon__negative {
	fill: #fff;
}

.hmv2-header-socials a:hover .hmv2-social-icon--youtube .hmv2-social-icon__negative,
.hmv2-header-socials a:focus-visible .hmv2-social-icon--youtube .hmv2-social-icon__negative {
	fill: #111;
}

.hmv2-header-socials .hmv2-social-icon--newsletter {
	width: 69%;
	height: 69%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hmv2-header-socials a:hover img,
.hmv2-header-socials a:focus-visible img {
	filter: invert(1);
}

.hmv2-header-overlay[hidden] {
	display: none !important;
}

.hmv2-header-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.hmv2-header-overlay__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, .38);
	cursor: default;
}

.hmv2-header-overlay__backdrop:hover,
.hmv2-header-overlay__backdrop:focus {
	background: rgba(0, 0, 0, .38);
	box-shadow: none;
	outline: 0;
}

.hmv2-header-menu__panel {
	position: relative;
	z-index: 1;
	width: min(820px, calc(100vw - 72px));
	height: 100%;
	padding: clamp(32px, 4vw, 68px);
	overflow-y: auto;
	background: #fff;
	box-shadow: 18px 0 45px rgba(0, 0, 0, .12);
}

.hmv2-header-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: clamp(54px, 7vh, 90px);
}

.hmv2-header-menu__logo {
	display: block;
	width: clamp(190px, 18vw, 285px);
	line-height: 0;
}

.hmv2-header-close {
	width: 34px;
	height: 34px;
}

.hmv2-header-menu__taxonomy {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(30px, 4vw, 64px);
}

.hmv2-header-menu__universe {
	min-width: 0;
}

.hmv2-header-menu__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 15px;
	border-bottom: 1px solid currentColor;
}

.hmv2-header-menu__heading > a,
.hmv2-header-menu__heading > span {
	font-family: "Canela", "Cormorant Garamond", Georgia, serif;
	font-size: clamp(27px, 2vw, 36px);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.hmv2-header-menu__heading button {
	display: none;
	width: 20px;
	height: 12px;
}

.hmv2-header-menu__children {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.hmv2-header-menu__children li + li {
	margin-top: 12px;
}

.hmv2-header-menu__children a,
.hmv2-header-menu__children span {
	font-size: 17px;
	line-height: 1.25;
	text-decoration: none;
}

.hmv2-header-menu__mobile-utilities {
	display: none;
}

.hmv2-search-overlay {
	display: grid;
	place-items: center;
	padding: 24px;
}

.hmv2-search-overlay__panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	padding: clamp(30px, 3vw, 44px);
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.hmv2-search-overlay__panel .hmv2-header-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 22px;
	height: 22px;
}

.hmv2-search-overlay__form form,
.hmv2-search-overlay__form .search-form {
	width: 100%;
}

.hmv2-search-overlay__form .searchandfilter ul {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.hmv2-search-overlay__form .searchandfilter li {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
}

.hmv2-search-overlay__form .searchandfilter li:last-child {
	flex: 0 0 auto;
}

.hmv2-search-overlay__form label {
	display: block;
	width: 100%;
}

.hmv2-search-overlay__form input[type="search"],
.hmv2-search-overlay__form input[type="text"] {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 0;
	border-bottom: 1px solid #111;
	border-radius: 0;
	background: transparent;
	font-size: 18px;
}

.hmv2-search-overlay__form input[type="submit"],
.hmv2-search-overlay__form button[type="submit"] {
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid #111;
	border-radius: 0;
	background: #fff;
	color: #111;
	font-size: 15px;
	cursor: pointer;
}

.hmv2-search-overlay__form input[type="submit"]:hover,
.hmv2-search-overlay__form input[type="submit"]:focus-visible,
.hmv2-search-overlay__form button[type="submit"]:hover,
.hmv2-search-overlay__form button[type="submit"]:focus-visible {
	background: #111;
	color: #fff;
}

@media (max-width: 1260px) {
	.hmv2-site-header__bar {
		min-height: 118px;
		padding-inline: 34px;
	}

	.hmv2-site-header__left {
		gap: 28px;
	}

	.hmv2-site-header__right {
		gap: 22px;
	}

	.hmv2-header-socials {
		gap: 9px;
	}

	.hmv2-header-socials a {
		width: 43px;
		height: 43px;
	}
}

@media (max-width: 980px) {
	.hmv2-site-header__bar {
		min-height: 92px;
		padding: 18px 22px;
	}

	.hmv2-site-header__left,
	.hmv2-site-header__right {
		gap: 0;
	}

	.hmv2-header-link,
	.hmv2-header-socials {
		display: none;
	}

	.hmv2-site-header__logo {
		width: clamp(150px, 32vw, 220px);
	}

	.hmv2-header-menu-trigger {
		width: 35px;
		height: 27px;
	}

	.hmv2-header-search-trigger {
		width: 35px;
		height: 35px;
	}

	.hmv2-header-menu__panel {
		width: 100%;
		padding: 28px 24px 42px;
	}

	.hmv2-header-menu__top {
		margin-bottom: 48px;
	}

	.hmv2-header-menu__logo {
		width: 185px;
	}

	.hmv2-header-menu__taxonomy {
		display: block;
	}

	.hmv2-header-menu__universe + .hmv2-header-menu__universe {
		margin-top: 26px;
	}

	.hmv2-header-menu__heading button {
		display: block;
		flex: 0 0 auto;
		transition: transform .2s ease;
	}

	.hmv2-header-menu__universe.is-open .hmv2-header-menu__heading button {
		transform: rotate(180deg);
	}

	.hmv2-header-menu__children {
		display: none;
		margin-top: 18px;
		padding-left: 12px;
	}

	.hmv2-header-menu__universe.is-open .hmv2-header-menu__children {
		display: block;
	}

	.hmv2-header-menu__mobile-utilities {
		display: grid;
		gap: 14px;
		margin-top: 46px;
		padding-top: 28px;
		border-top: 1px solid #111;
	}

	.hmv2-header-menu__mobile-utilities > a {
		width: max-content;
		font-family: "Canela", "Cormorant Garamond", Georgia, serif;
		font-size: 23px;
		text-decoration: none;
	}

	.hmv2-header-menu__mobile-socials {
		display: flex;
		flex-wrap: wrap;
		gap: 10px 18px;
		margin-top: 12px;
	}

	.hmv2-header-menu__mobile-socials a {
		font-size: 14px;
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	.hmv2-search-overlay {
		place-items: center;
		padding: 20px;
	}
}

@media (max-width: 560px) {
	.hmv2-site-header__bar {
		min-height: 76px;
		padding: 14px 16px;
	}

	.hmv2-site-header__logo {
		width: min(42vw, 165px);
	}

	.hmv2-header-menu-trigger {
		width: 30px;
		height: 23px;
	}

	.hmv2-header-search-trigger {
		width: 31px;
		height: 31px;
	}

	.hmv2-header-menu__heading > a,
	.hmv2-header-menu__heading > span {
		font-size: 29px;
	}

	.hmv2-search-overlay__panel {
		padding: 40px 22px 26px;
	}

	.hmv2-search-overlay__form .searchandfilter ul {
		display: block;
	}

	.hmv2-search-overlay__form .searchandfilter li + li {
		margin-top: 14px;
	}

	.hmv2-search-overlay__form input[type="submit"],
	.hmv2-search-overlay__form button[type="submit"] {
		width: 100%;
	}
}
