/* Header chrome (Header.tsx) : sticky z-50, ombre navy/8, surface cream, barre max-w-7xl.
   Le méga-menu (blocs amvb/mega-menu) se positionne contre .amvb-header__bar. */
.amvb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-mv-cream);
	box-shadow: 0 1px 2px 0 color-mix(in srgb, var(--color-mv-navy) 8%, transparent);
}

.amvb-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	max-width: 80rem;
	margin-inline: auto;
	padding: 0.75rem var(--amvb-gutter, 1rem);
}

@media (min-width: 48rem) {
	.amvb-header__bar {
		gap: 1rem;
	}
}

/* < lg (1024px) : nav desktop et CTA masqués, burger affiché */
.amvb-header__nav,
.amvb-header__cta {
	display: none;
}

@media (min-width: 64rem) {
	.amvb-header__nav {
		display: flex;
	}

	.amvb-header__cta {
		display: flex;
	}

	.amvb-header__mobile {
		display: none;
	}
}

/* Burger (BurgerButton.tsx) : carré brand, cream quand ouvert */
.burger-btn {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	min-width: 2.75rem;
	min-height: 2.75rem;
}

/* Page figée sous un dialogue modal (drawer, mega menu) */
@supports (padding: max(0px)) {
	body:has([aria-modal="true"]) {
		overflow: hidden;
		overscroll-behavior: none;
	}
}
