:root {
	--cmz-header-offset: 74px;
	--cmz-green-900: #0e3b33;
	--cmz-green-800: #165c4f;
	--cmz-green-700: #1f7a63;
	--cmz-lime: #8cc63f;
	--cmz-green-soft: #e6f4ea;
	--cmz-yellow: #ffd500;
	--cmz-red: #eb5757;
	--cmz-ink: #333333;
	--cmz-muted: #6b7280;
	--cmz-line: #e0e0e0;
	--cmz-grey: #f7f7f7;
	--cmz-white: #ffffff;
	--cmz-radius: 18px;
	--cmz-shadow: 0 12px 34px rgba(14, 59, 51, 0.1);
	--cmz-max: 1200px;
	--cmz-gutter: 24px;
}

.cmz-wrap {
	width: min(100%, var(--cmz-max));
	margin-inline: auto;
	padding-inline: var(--cmz-gutter);
}

.cmz-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--cmz-line);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.cmz-header a {
	color: inherit;
	text-decoration: none;
}

.cmz-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 74px;
	min-width: 0;
	max-width: 100%;
}

.cmz-logo {
	flex-shrink: 0;
}

.cmz-logo img {
	height: 38px;
	display: block;
}

.cmz-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1 1 auto;
	min-width: 0;
}

.cmz-menu > li {
	position: relative;
}

.cmz-menu > li > a,
.cmz-menu > li > button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 0;
	background: none;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--cmz-green-900);
	cursor: pointer;
	font-family: inherit;
}

.cmz-menu > li:hover > a,
.cmz-menu > li:focus-within > a,
.cmz-menu > li:hover > button,
.cmz-menu > li:focus-within > button {
	background: var(--cmz-green-soft);
	color: var(--cmz-green-800);
}

.cmz-menu > li > a[aria-current="page"] {
	font-weight: 700;
	box-shadow: inset 0 -3px 0 var(--cmz-yellow);
	border-radius: 0;
}

.cmz-caret {
	width: 10px;
	height: 10px;
	transition: transform 0.18s ease;
}

.cmz-menu > li:hover .cmz-caret,
.cmz-menu > li:focus-within .cmz-caret {
	transform: rotate(180deg);
}

.cmz-drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 380px;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 10px;
	background: var(--cmz-white);
	border: 1px solid var(--cmz-line);
	border-radius: var(--cmz-radius);
	box-shadow: var(--cmz-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.cmz-menu > li:hover .cmz-drop,
.cmz-menu > li:focus-within .cmz-drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cmz-drop::before {
	content: "";
	position: absolute;
	inset: -12px 0 auto 0;
	height: 12px;
}

.cmz-drop a {
	display: flex;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 12px;
}

.cmz-drop a:hover {
	background: var(--cmz-grey);
}

.cmz-drop-ico {
	flex: 0 0 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--cmz-green-soft);
	color: var(--cmz-green-800);
}

.cmz-drop-title {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--cmz-green-900);
}

.cmz-drop-desc {
	display: block;
	font-size: 0.8rem;
	color: var(--cmz-muted);
	line-height: 1.4;
}

.cmz-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

.cmz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.93rem;
	border: 1.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}

.cmz-btn-primary {
	background: var(--cmz-green-700);
	color: var(--cmz-white);
}

.cmz-btn-primary:hover {
	background: var(--cmz-green-800);
}

.cmz-btn-ghost {
	background: var(--cmz-white);
	color: var(--cmz-green-800);
	border-color: var(--cmz-line);
}

.cmz-burger {
	display: none;
	border: 1px solid var(--cmz-line);
	background: var(--cmz-white);
	border-radius: 12px;
	padding: 9px 11px;
	cursor: pointer;
	color: var(--cmz-green-900);
}

.cmz-mobile {
	display: none;
	max-height: calc(100dvh - 74px);
	overflow-y: auto;
	padding: 8px 0 16px;
	border-top: 1px solid var(--cmz-line);
}

.cmz-mobile.is-open {
	display: block;
}

.cmz-mobile-group {
	border-bottom: 1px solid var(--cmz-grey);
}

.cmz-mobile-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 4px;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--cmz-green-900);
	cursor: pointer;
	list-style: none;
}

.cmz-mobile-summary::-webkit-details-marker {
	display: none;
}

.cmz-mobile-summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--cmz-green-700);
	border-bottom: 2px solid var(--cmz-green-700);
	transform: rotate(45deg);
	flex-shrink: 0;
}

.cmz-mobile-group[open] .cmz-mobile-summary::after {
	transform: rotate(-135deg);
}

.cmz-mobile-links {
	padding: 0 0 10px 10px;
}

.cmz-mobile a {
	display: block;
	padding: 9px 4px;
	font-weight: 500;
	font-size: 0.88rem;
	color: var(--cmz-green-900);
}

.cmz-mobile-tarifs {
	display: block;
	margin-top: 6px;
	padding: 14px 4px;
	font-weight: 700;
	color: var(--cmz-green-800);
	border-top: 1px solid var(--cmz-grey);
}

.cmz-mobile-tarifs + .cmz-mobile-tarifs {
	margin-top: 0;
	padding-top: 8px;
	border-top: none;
}

.cmz-mobile-tarifs[aria-current="page"] {
	box-shadow: inset 3px 0 0 var(--cmz-yellow);
}

body.cmz-nav-open {
	overflow: hidden;
}

@media (max-width: 1400px) {
	.cmz-nav {
		gap: 14px;
	}
	.cmz-menu > li > a,
	.cmz-menu > li > button {
		padding: 8px 10px;
		font-size: 0.84rem;
	}
}

@media (max-width: 1200px) {
	.cmz-nav {
		gap: 12px;
	}
	.cmz-menu > li > a,
	.cmz-menu > li > button {
		padding: 8px 9px;
		font-size: 0.82rem;
	}
	.cmz-btn {
		padding: 10px 16px;
		font-size: 0.88rem;
	}
}

@media (max-width: 1280px) {
	:root {
		--cmz-header-offset: 84px;
	}
	.cmz-menu {
		display: none;
	}
	.cmz-burger {
		display: block;
	}
	.cmz-nav {
		gap: 12px;
		height: auto;
		min-height: 64px;
		padding-block: 10px;
	}
	.cmz-actions .cmz-btn-ghost {
		display: none;
	}
}

@media (min-width: 1280px) {
	:root {
		--cmz-max: 1320px;
		--cmz-gutter: 28px;
	}
}

@media (min-width: 1440px) {
	:root {
		--cmz-max: 1480px;
		--cmz-gutter: 32px;
	}
}

@media (min-width: 1600px) {
	:root {
		--cmz-max: 1600px;
		--cmz-gutter: 36px;
	}
}

@media (min-width: 1920px) {
	:root {
		--cmz-max: 1720px;
		--cmz-gutter: 40px;
	}
}
