:root {
	--nsd-header-orange: #ef8200;
	--nsd-header-orange-dark: #bd5600;
	--nsd-header-ink: #202427;
	--nsd-header-line: #e7e1d8;
}

.nsd-payment-banner {
	display: flex !important;
	min-height: 38px;
	max-width: none !important;
	align-items: center;
	gap: 12px !important;
	padding: 0 14px !important;
	overflow: hidden;
	background: #171a1c !important;
	color: #fff !important;
}

.nsd-payment-banner__viewport {
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.nsd-payment-banner__track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 42px;
	animation: nsd-ticker 34s linear infinite;
	will-change: transform;
}

.nsd-payment-banner:hover .nsd-payment-banner__track,
.nsd-payment-banner:focus-within .nsd-payment-banner__track {
	animation-play-state: paused;
}

.nsd-payment-banner__message {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.nsd-payment-banner__message i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #84c600;
	box-shadow: 0 0 0 3px rgba(132, 198, 0, 0.14);
}

@keyframes nsd-ticker {
	to { transform: translateX(-50%); }
}

.whb-general-header .whb-general-header-inner {
	min-height: 84px !important;
}

.whb-general-header .site-logo img,
.whb-general-header .wd-logo img,
.whb-general-header .wd-logo img[src] {
	width: auto !important;
	max-width: 205px !important;
	max-height: 66px !important;
}

.wd-header-main-nav .wd-nav-main > li > a,
.whb-header-main-nav .wd-nav-main > li > a {
	padding-inline: 8px !important;
	font-size: 14.5px !important;
	font-weight: 750 !important;
	letter-spacing: -0.015em;
}

.whb-header-bottom .container,
.whb-header-bottom .whb-header-bottom-inner,
.whb-header-bottom .wd-header-nav {
	width: 100% !important;
	max-width: none !important;
}

.whb-header-bottom .wd-header-nav {
	display: flex !important;
	justify-content: center;
}

.whb-header-bottom .whb-empty-column {
	display: none !important;
}

.whb-header-bottom .whb-col-left {
	width: 100% !important;
	flex: 1 1 100% !important;
	justify-content: center !important;
}

.whb-header-bottom .wd-nav-main {
	display: inline-flex !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	flex-wrap: nowrap !important;
	justify-content: center;
	margin-inline: auto !important;
}

.whb-header-bottom .wd-nav-main > li,
.whb-header-bottom .wd-nav-main > li > a {
	white-space: nowrap !important;
}

.wd-header-main-nav .sub-menu-dropdown,
.wd-header-main-nav .wd-dropdown-menu {
	width: min(370px, calc(100vw - 32px));
	min-width: 0;
	max-width: calc(100vw - 32px);
}

.wd-header-main-nav .sub-menu-dropdown a,
.wd-header-main-nav .wd-dropdown-menu a,
.wd-header-main-nav .wd-sub-menu a {
	max-width: 100%;
	font-size: 0.94rem !important;
	line-height: 1.35 !important;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

.wd-header-main-nav .wd-dropdown-menu > .container {
	width: 100% !important;
	max-width: 100% !important;
	padding: 14px 18px !important;
}

.wd-header-main-nav .wd-nav-main > li:nth-last-child(-n + 4) > .sub-menu-dropdown,
.wd-header-main-nav .wd-nav-main > li:nth-last-child(-n + 4) > .wd-dropdown-menu {
	right: 0 !important;
	left: auto !important;
}

.nsd-header-contacts {
	position: relative;
	z-index: 400;
	flex: 0 0 auto;
}

.nsd-header-contacts .nsd-header-contacts__toggle {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border: 1px solid var(--nsd-header-orange);
	border-radius: 999px;
	background: #fff;
	color: var(--nsd-header-ink);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.nsd-header-contacts .nsd-header-contacts__toggle::after {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentcolor;
	border-bottom: 2px solid currentcolor;
	content: "";
	transform: rotate(45deg) translateY(-2px);
	transform-origin: center;
}

.nsd-header-contacts__icon {
	display: none;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: currentcolor;
}

.nsd-header-contacts__label {
	display: inline;
}

.nsd-header-contacts .nsd-header-contacts__toggle:hover,
.nsd-header-contacts .nsd-header-contacts__toggle:focus-visible {
	background: var(--nsd-header-orange);
	color: #fff;
}

.nsd-header-contacts__panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(430px, calc(100vw - 32px));
	padding: 22px;
	border: 1px solid var(--nsd-header-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(32, 36, 39, 0.18);
	color: var(--nsd-header-ink);
}

.nsd-header-contacts__panel > strong {
	display: block;
	margin-bottom: 14px;
	font-size: 1.15rem;
}

.nsd-header-contacts__group {
	display: block;
	margin: 0 0 10px;
	color: var(--nsd-header-ink);
	font-size: 1rem;
	font-weight: 800;
}

.nsd-header-contacts__panel .nsd-contact-list {
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--nsd-header-line);
}

.nsd-header-contacts__panel .nsd-contact-list:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

/* Liste de numeros partagee header / avant-pied. */
.nsd-contact-list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nsd-contact-list__item {
	display: flex;
	max-width: 100%;
	min-width: 0;
	align-items: center;
	/* L'etiquette « Saint-Martin : WhatsApp » plus le numero depassent la
	   largeur du panneau : la ligne se replie au lieu de deborder. */
	flex-wrap: wrap;
	gap: 5px 10px;
}

.nsd-contact-list__tag {
	max-width: 100%;
	flex: 0 1 auto;
	padding: 3px 9px;
	border-radius: 999px;
	background: #f1f2f4;
	color: #4c5358;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nsd-contact-list__item:has(.nsd-contact-list__link--whatsapp) .nsd-contact-list__tag {
	background: #e6f6ed;
	color: #14804a;
}

.nsd-contact-list__link {
	display: inline-flex;
	max-width: 100%;
	min-width: 0;
	align-items: center;
	gap: 7px;
	color: var(--nsd-header-orange-dark);
	font-size: 0.95rem;
	font-weight: 800;
	white-space: nowrap;
}

.nsd-contact-list__link:hover,
.nsd-contact-list__link:focus-visible {
	text-decoration: underline;
}

.nsd-contact-list__link--whatsapp {
	color: #14804a;
}

.nsd-contact-list__icon {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	fill: currentcolor;
}

.nsd-home-hero .nsd-home-eyebrow {
	color: var(--nsd-header-orange-dark) !important;
	font-size: clamp(0.82rem, 1.1vw, 0.94rem) !important;
}

.nsd-home-hero__lead {
	display: grid;
	gap: 12px;
}

.nsd-home-hero__lead p {
	margin: 0;
}

.nsd-home-categories {
	grid-auto-rows: 1fr;
}

.nsd-home-category {
	display: grid;
	min-height: 480px;
	grid-template-rows: 230px minmax(0, 1fr);
	align-items: stretch;
	border: 1px solid var(--nsd-header-line);
	background: #fff;
}

.nsd-home-category__content {
	position: relative;
	z-index: 1;
	display: flex;
	height: auto;
	flex-direction: column;
	justify-content: flex-start;
	padding: 22px;
	background: #fff;
}

.nsd-home-category__content em {
	margin-top: auto;
	padding-top: 22px;
}

.nsd-home-category__veil {
	display: none;
}

.nsd-home-category__media {
	position: relative !important;
	z-index: 0 !important;
	inset: auto !important;
	display: block;
	overflow: hidden;
}

.nsd-home-category__content,
.nsd-home-category__content strong {
	color: var(--nsd-header-ink) !important;
}

.nsd-home-category__content strong {
	font-size: clamp(1.4rem, 1.7vw, 1.85rem) !important;
	line-height: 1.08 !important;
}

.nsd-home-category__content > span {
	color: #4c5358 !important;
}

.nsd-home-category__content small,
.nsd-home-category__content em {
	color: var(--nsd-header-orange-dark) !important;
}

.nsd-home-category__content small {
	background: #fff3e6 !important;
}

.nsd-trust-strip .nsd-trust-list {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nsd-footer-contacts {
	padding-block: clamp(64px, 7vw, 96px);
	background: #fff;
}

.nsd-footer-contacts__inner {
	width: min(calc(100% - 40px), 1240px);
	margin-inline: auto;
}

.nsd-footer-contacts__heading {
	display: grid;
	gap: 8px;
	margin-bottom: 30px;
}

.nsd-footer-contacts__heading span {
	color: var(--nsd-header-orange-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nsd-footer-contacts__heading h2 {
	margin: 0;
	color: var(--nsd-header-ink);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.nsd-footer-contacts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.nsd-footer-contacts__grid article {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border: 1px solid var(--nsd-header-line);
	border-top: 4px solid var(--nsd-header-orange);
	border-radius: 6px;
	background: #fff;
}

.nsd-footer-contacts__grid h3 {
	margin: 0 0 4px;
	font-size: 1.2rem;
	line-height: 1.3;
}

.nsd-footer-contacts__grid a {
	color: var(--nsd-header-orange-dark);
	font-size: 0.9rem;
	font-weight: 800;
	white-space: nowrap;
}

@media (max-width: 1200px) {
	.nsd-header-contacts .nsd-header-contacts__toggle { padding-inline: 12px; }
	.nsd-footer-contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wd-header-main-nav .wd-nav-main > li > a,
	.whb-header-main-nav .wd-nav-main > li > a { padding-inline: 6px !important; font-size: 13.5px !important; }
}

@media (min-width: 1025px) {
	.whb-header-bottom .wd-nav-main > li.menu-item-object-page { display: none !important; }
}

@media (min-width: 1025px) and (max-width: 1600px) {
	.whb-header-bottom .container { padding-inline: 8px !important; }
	.wd-header-main-nav .wd-nav-main > li > a,
	.whb-header-main-nav .wd-nav-main > li > a { padding-inline: 4px !important; font-size: 12.5px !important; }
}

@media (min-width: 1025px) and (max-width: 1250px) {
	.wd-header-main-nav .wd-nav-main > li > a,
	.whb-header-main-nav .wd-nav-main > li > a {
		padding-inline: 2px !important;
		font-size: 10.8px !important;
	}

	.whb-header-bottom .wd-nav-main > li > a img,
	.whb-header-bottom .wd-nav-main > li > a .wd-nav-img,
	.whb-header-bottom .wd-nav-main > li > a .wd-nav-icon {
		display: none !important;
	}
}

@media (max-width: 1024px) {
	.nsd-header-contacts .nsd-header-contacts__toggle {
		min-width: 42px;
		min-height: 42px;
		justify-content: center;
		padding: 0 10px;
		font-size: 0.78rem;
	}

	.nsd-header-contacts__panel {
		position: fixed;
		top: 104px;
		right: 16px;
	}

	.nsd-trust-strip .nsd-trust-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nsd-payment-banner { min-height: 34px; padding-inline: 8px !important; }
	.nsd-payment-banner__message { font-size: 0.73rem; }
	.nsd-header-contacts .nsd-header-contacts__toggle {
		width: 38px;
		min-width: 38px;
		height: 38px;
		min-height: 38px;
		flex: 0 0 auto;
		justify-content: center;
		gap: 0;
		padding: 0;
	}

	.nsd-header-contacts__icon {
		display: block;
	}

	.nsd-header-contacts__label {
		display: none;
	}

	.nsd-header-contacts .nsd-header-contacts__toggle::after {
		content: none;
	}

	.nsd-home-hero {
		min-height: 0 !important;
		grid-template-rows: auto auto !important;
	}

	/* La video du hero est un portrait 1280x2276. Le cadre reprend son ratio
	   exact : elle s'affiche entiere, sans recadrage. */
	.nsd-home-hero__media {
		min-height: 0 !important;
		aspect-ratio: 1280 / 2276 !important;
	}

	.nsd-home-hero__content {
		padding-block: 28px 34px !important;
	}

	.nsd-home-hero h1 {
		font-size: clamp(2.35rem, 11vw, 2.8rem) !important;
		line-height: 1 !important;
	}

	.nsd-home-hero .nsd-home-eyebrow {
		margin-bottom: 12px;
		font-size: 0.72rem !important;
		letter-spacing: 0.11em;
	}
	.nsd-home-hero__lead { gap: 10px; }
	.nsd-home-hero__lead p { font-size: 0.9rem; line-height: 1.48; }
	.nsd-home-hero .nsd-home-actions { margin-top: 20px; gap: 8px; }
	.nsd-home-hero .nsd-home-button { min-height: 48px; padding: 12px 14px; font-size: 0.78rem; }
	.nsd-home-hero .nsd-home-proof { margin-top: 24px; padding-top: 16px; gap: 8px; }
	.nsd-home-hero .nsd-home-proof strong { font-size: 1.45rem; }
	.nsd-home-hero .nsd-home-proof span { font-size: 0.65rem; line-height: 1.25; }
	.nsd-home-category { min-height: 0; grid-template-rows: 240px minmax(230px, auto); }
	.nsd-trust-strip .nsd-trust-list,
	.nsd-footer-contacts__grid { grid-template-columns: 1fr; }
	.nsd-footer-contacts__grid article { min-height: 0; }
	.nsd-header-contacts__panel li { grid-template-columns: 1fr; }
	.nsd-header-contacts__panel li span { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.nsd-payment-banner__track {
		animation: none;
		transform: none;
	}
}

