:root {
	--sitm-navy-1: #0b2c49;
	--sitm-navy-2: #0a3a5a;
	--sitm-white: #fff;
	--sitm-text: #0e0e0f;
	--sitm-accent: #134F78;
	--sitm-brand: #25AD9D;
	--sitm-social: #E77E0F;
	--radius-xl: 16px;
	--shadow-lg: 0 12px 30px rgba(0, 0, 0, .12);
	--shadow-md: 0 8px 20px rgba(0, 0, 0, .10);
	--wrap: min(1200px, 92vw);
	--h-top: 64px;
	--h-nav: 56px;
	--tr: 180ms ease;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* --- Garde-fous globaux --- */
.sitm-mobile-info {
	display: none;
}

/* RS dans la barre blanche (desktop) */
.sitm-social--desktop {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	/* pousse à droite du menu */
}

/* Taille/couleur héritent de tes règles existantes */
.sitm-social--desktop .social-link {
	width: 20px;
	height: 20px;
	display: inline-flex;
	color: var(--sitm-social);
}

/* Masquer ces RS sur mobile : on garde ceux du panneau off-canvas */
@media (max-width: 980px) {
	.sitm-social--desktop {
		display: none;
	}
}

/* Masqué par défaut (desktop) */
.sitm-menu>li>a {
	white-space: nowrap;
}

/* Evite la casse des libellés en 2 lignes */

.sitm-header * {
	box-sizing: border-box;
}

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

.sitm-header img {
	display: block;
	height: auto;
}

.sitm-wrap {
	width: var(--wrap);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.sitm-topbar {
	background: linear-gradient(90deg, #0A214D, #101115);
	color: #f2f6fa;
}

.sitm-topbar .sitm-wrap {
	padding-top: 32px;
	/* augmente l’espace en haut */
	padding-bottom: 32px;
	/* augmente l’espace en bas */
	height: auto;
}

/* Logo — robuste (prioritaire sur width/height HTML) */
.sitm-logo {
	display: inline-flex;
	align-items: center;
}

.sitm-logo img {
	display: block;
	height: 54px;
	width: auto;
	max-height: 54px;
	/* desktop */
}

.sitm-topinfo {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 36px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--sitm-social);
}

.info-icon svg,
.social-icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.info-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.info-label {
	font-size: 12px;
	opacity: .85;
}

.info-value {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.sitm-navbar {
	position: relative;
}

.sitm-navbar .sitm-wrap.sitm-nav-inner {
	background: var(--sitm-white);
	color: var(--sitm-text);
	box-shadow: 1px 2px 10px 4px rgba(0, 0, 0, 0.52);
	margin-top: -24px;
	padding: 4px 24px;
	height: auto;
}

.sitm-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.sitm-menu {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 36px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.sitm-menu>li>a {
	display: inline-flex;
	align-items: center;
	height: var(--h-nav);
	padding-inline: 4px;
	font-size: 20px;
	font-family: 'BARLOW', sans-serif;
	font-weight: 500;
	color: #030E27;
	position: relative;
}

.sitm-menu>li:hover>a,
.sitm-menu>li:focus-within>a {
	color: var(--sitm-accent);
}

/* Lien actif : texte en #51658A, plus de barre en dessous */
.sitm-menu>li.current-menu-item>a,
.sitm-menu>li.current_page_item>a,
.sitm-menu>li>a.is-current {
	color: #51658A;
	font-weight: 600;
	/* optionnel, si tu veux qu’il ressorte un peu */
}

/* Supprime la barre en dessous */
.sitm-menu>li.current-menu-item>a::after,
.sitm-menu>li.current_page_item>a::after,
.sitm-menu>li>a.is-current::after {
	content: none;
}

.sitm-menu li.menu-item-has-children {
	position: relative;
}

.sitm-menu li.menu-item-has-children>a {
	padding-right: 18px;
}

.sitm-menu li.menu-item-has-children>a::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	opacity: .8;
}

.sitm-menu li.menu-item-has-children:hover>.sub-menu,
.sitm-menu li.menu-item-has-children:focus-within>.sub-menu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.sitm-menu .sub-menu {
	position: absolute;
	top: calc(100% - 6px);
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	padding: 8px;
	margin: 0;
	list-style: none;
	display: block;
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
	transition: opacity var(--tr), transform var(--tr);
}

.sitm-menu .sub-menu li a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: #111;
}

.sitm-menu .sub-menu li a:hover {
	background: rgba(0, 0, 0, .05);
}

.sitm-social {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.social-link {
	width: 20px;
	height: 20px;
	display: inline-flex;
	color: var(--sitm-social);
}

.social-link:hover {
	filter: brightness(1.05) saturate(1.1);
}

.sitm-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 12px;
	background: #fff;
	align-items: center;
	justify-content: center;
}

.toggle-bar {
	position: relative;
	width: 20px;
	height: 2px;
	background: #1b1f23;
	display: block;
}

.toggle-bar::before,
.toggle-bar::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: inherit;
}

.toggle-bar::before {
	top: -6px;
}

.toggle-bar::after {
	top: 6px;
}

/* Make sure inline SVG from user inherits color */
.info-icon svg path[fill],
.social-icon svg path[fill],
.brz .brz-icon-svg {
	fill: #E77F0F !important;
	color: #E77F0F !important;
}

/* Forcer la nav blanche devant */
.sitm-navbar {
	position: relative !important;
	z-index: 99 !important;
}

/* Faire remonter la première section Brizy sous la nav */
.brz-root__container {
	margin-top: -40px !important;
	/* ajuste la valeur selon le recouvrement voulu */
}

/*********** RESPONSIVE DU MENU **************/
/* ======= MOBILE LAYOUT (≤980px) ======= */
@media (max-width: 980px) {

	/* Faire remonter la première section Brizy sous la nav */
	.brz-root__container {
		margin-top: 0px !important;
		/* ajuste la valeur selon le recouvrement voulu */
	}

	/* On cache la barre blanche (nav desktop) en mobile */
	.sitm-navbar {
		display: none;
	}

	/* 2) Topbar = logo à gauche + burger à droite sur une seule ligne */
	.sitm-topbar .sitm-wrap {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-top: 12px;
		padding-bottom: 12px;
		height: auto;
		/* la hauteur suit le contenu */
	}

	/* 3) Burger stylé (orange) dans la topbar */
	.sitm-toggle {
		display: inline-flex;
		position: relative;
		z-index: 1101;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255, 255, 255, .18);
		border-radius: 12px;
		background: rgba(255, 255, 255, .95);
		align-items: center;
		justify-content: center;
		box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
		transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	}

	.sitm-toggle:active {
		transform: scale(.98);
	}

	/* Bars orange */
	.toggle-bar {
		position: relative;
		width: 22px;
		height: 2px;
		background: #E77E0F;
		display: block;
		transition: background .18s ease;
	}

	.toggle-bar::before,
	.toggle-bar::after {
		content: "";
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		background: #E77E0F;
		transition: transform .24s ease, top .24s ease, opacity .18s ease;
	}

	.toggle-bar::before {
		top: -6px;
	}

	.toggle-bar::after {
		top: 6px;
	}

	/* Animation burger -> croix (toujours orange) */
	.sitm-toggle.is-active .toggle-bar {
		background: transparent;
	}

	.sitm-toggle.is-active .toggle-bar::before {
		top: 0;
		transform: rotate(45deg);
	}

	.sitm-toggle.is-active .toggle-bar::after {
		top: 0;
		transform: rotate(-45deg);
	}

	/* 4) Panneau off-canvas (inchangé si tu as déjà le code précédent) */
	.sitm-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(88vw, 360px);
		background: #fff;
		box-shadow: -24px 0 40px rgba(0, 0, 0, .18);
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 20px 18px 18px;
		transform: translateX(100%);
		transition: transform .28s cubic-bezier(.2, .7, .2, 1);
		z-index: 1100;
	}

	.sitm-nav.is-open {
		transform: translateX(0);
	}

	.sitm-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .5);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease;
		z-index: 1099;
	}

	.sitm-overlay.is-visible {
		opacity: 1;
		pointer-events: auto;
	}

	/* 5) Menu vertical mobile */
	.sitm-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		margin: 6px 0 8px;
	}

	.sitm-menu>li>a {
		height: auto;
		padding: 14px 10px;
		border-radius: 12px;
		font-size: 18px;
	}

	/* 6) Bloc infos dans le panneau (notre secteur / mail / tel) */
	.sitm-mobile-info {
		margin-top: 6px;
	}

	/* Topbar : logo + burger sur une ligne, sans le triptyque desktop */
	.sitm-topinfo {
		display: none;
	}

	/* masque le triptyque desktop */
	.sitm-topbar .sitm-wrap {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-top: 12px;
		padding-bottom: 12px;
		height: auto;
	}

	/* Logo mobile */
	.sitm-logo img {
		max-height: 56px;
		height: auto;
		width: auto;
	}

	/* Burger orange déjà OK ; on garde tes styles existants */

	/* On affiche la version mobile des infos dans le panneau */
	.sitm-mobile-info {
		display: block;
	}

	.sitm-mobile-info .info-item {
		align-items: flex-start;
	}

	.sitm-mobile-info .info-label {
		font-size: 12px;
		opacity: .7;
	}

	.sitm-mobile-info .info-value {
		font-size: 16px;
		font-weight: 600;
		color: #101115;
	}

	/* 7) Social en bas */
	.sitm-social {
		margin-top: auto;
		justify-content: center;
		gap: 16px;
	}

	.social-link {
		width: 22px;
		height: 22px;
	}
}