/* ==========================================================================
   Nasrou Holding — conversion fidèle du site React d'origine (nasrou-design/).
   Marine #16213e, or #c2a053, ivoire #faf8f3. Fraunces pour les titres, Outfit pour le texte.
   Les valeurs reprennent celles de Tailwind utilisées par le site React (rem identiques).
   ========================================================================== */

:root {
	--nh-navy: var(--wp--preset--color--navy);
	--nh-navy-deep: var(--wp--preset--color--navy-deep);
	--nh-gold: var(--wp--preset--color--gold);
	--nh-gold-soft: var(--wp--preset--color--gold-soft);
	--nh-ivory: var(--wp--preset--color--ivory);
	--nh-sand: var(--wp--preset--color--sand);
	--nh-border: var(--wp--preset--color--border);
	--nh-slate: var(--wp--preset--color--slate);
	--nh-serif: var(--wp--preset--font-family--serif);
	--nh-sans: var(--wp--preset--font-family--sans);
	--nh-arabic: var(--wp--preset--font-family--arabic);
	--nh-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--nh-header-h: 88px;
	--nh-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--nh-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--nh-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
	--nh-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nh-header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

:is(h1, h2, h3) em {
	font-style: italic;
	color: var(--nh-gold);
}

::selection {
	background: var(--nh-gold);
	color: var(--nh-navy);
}

:focus-visible {
	outline: 2px solid var(--nh-gold);
	outline-offset: 3px;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * + *,
.nh-main > * + *,
.wp-block-post-content > * + * {
	margin-block-start: 0;
}

.nh-gold {
	color: var(--nh-gold);
}

/* Icônes en ligne (SVG Lucide) */
.nh-i {
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

.nh-block-icon {
	line-height: 0;
	color: var(--nh-gold);
	margin: 0;
}

/* Rubrique (eyebrow) */
.nh-eyebrow {
	margin: 0;
	font-family: var(--nh-sans);
	font-size: 0.72rem !important;
	font-weight: 600;
	letter-spacing: 0.28em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

/* Filet doré (dégradé vers la transparence) */
.wp-block-group.nh-rule {
	width: 4rem;
	height: 1px;
	margin: 0;
	padding: 0;
	background: linear-gradient(90deg, var(--nh-gold), transparent);
}

.wp-block-group.nh-rule--short {
	width: 3rem;
}

.wp-block-group.nh-rule--center {
	margin-inline: auto !important;
	width: 6rem;
}

.nh-lead {
	font-size: var(--wp--preset--font-size--large) !important;
	line-height: 1.65;
}

/* Couleurs du texte selon le fond */
:is(.has-ivory-background-color, .has-sand-background-color, .has-white-background-color) :is(h1, h2, h3) {
	color: var(--nh-navy);
}

:is(.has-ivory-background-color, .has-sand-background-color, .has-white-background-color) p {
	color: var(--nh-slate);
}

:is(.has-navy-background-color, .has-navy-deep-background-color, .nh-hero) :is(h1, h2, h3) {
	color: var(--nh-ivory);
}

:is(.has-navy-background-color, .has-navy-deep-background-color, .nh-hero) p {
	color: rgb(250 248 243 / 0.75);
}

/* --------------------------------------------------------------------------
   Sections et titres
   -------------------------------------------------------------------------- */

.nh-section {
	padding-block: clamp(4rem, 9vw, 8rem);
}

.wp-block-group.nh-section > * + * {
	margin-block-start: 0;
}

.nh-title {
	max-width: 42rem !important;
	margin: 0 0 3.5rem !important;
}

.nh-title > * {
	margin: 0;
}

.nh-title h2 {
	margin-top: 1.25rem;
	font-size: clamp(1.625rem, 3.2vw, 2.25rem);
	line-height: 1.15;
}

.nh-title--large h2 {
	font-size: clamp(1.625rem, 4vw, 3rem);
}

.nh-title .nh-lead {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-size: 1rem !important;
	line-height: 1.7;
}

/* En-tête des pages intérieures */
.nh-page-hero {
	padding-top: calc(var(--nh-header-h) + clamp(2.5rem, 5vw, 4.5rem));
	padding-bottom: clamp(3rem, 5vw, 4rem);
}

.nh-page-hero__inner > * {
	margin: 0;
}

.nh-page-hero h1 {
	max-width: 48rem;
	margin-top: 1.25rem;
	font-size: clamp(1.875rem, 4.5vw, 3rem);
	line-height: 1.1;
}

.nh-page-hero .nh-lead {
	max-width: 42rem;
	margin-top: 1.5rem;
	font-size: 1rem !important;
	line-height: 1.7;
}

/* En-tête sombre (catalogue, fiche produit) */
.nh-dark-hero {
	padding-top: calc(var(--nh-header-h) + clamp(3rem, 6vw, 5rem));
	padding-bottom: 5rem;
}

.nh-dark-hero > * {
	margin-block: 0 !important;
}

/* Texte aligné à gauche dans la colonne de 1280 px (comme max-w-3xl du site React) */
.nh-dark-hero > :is(h1, .wp-block-post-title, .nh-lead, .wp-block-post-excerpt, .nh-back, .nh-badge, .nh-eyebrow) {
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
}

.nh-dark-hero h1 {
	max-width: 48rem;
	margin-top: 1.25rem !important;
	font-size: clamp(1.875rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.nh-dark-hero .nh-lead {
	max-width: 36rem;
	margin-top: 1.75rem !important;
	color: rgb(250 248 243 / 0.8) !important;
}

/* --------------------------------------------------------------------------
   Boutons et liens
   -------------------------------------------------------------------------- */

.wp-block-buttons {
	gap: 1rem;
}

.wp-block-button__link,
.nh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nh-btn {
	padding: 0.875rem 1.75rem;
	border-radius: 2px;
	background: var(--nh-gold);
	color: var(--nh-navy);
	font-family: var(--nh-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.nh-btn:hover {
	background: var(--nh-gold-soft);
	color: var(--nh-navy);
}

.is-style-contour .wp-block-button__link,
.nh-btn--contour {
	background: transparent !important;
	border-color: rgb(22 33 62 / 0.2) !important;
	color: var(--nh-navy) !important;
}

.is-style-contour .wp-block-button__link:hover,
.nh-btn--contour:hover {
	background: rgb(22 33 62 / 0.05) !important;
}

.is-style-contour-clair .wp-block-button__link,
.nh-btn--contour-clair {
	background: transparent !important;
	border-color: rgb(250 248 243 / 0.4) !important;
	color: var(--nh-ivory) !important;
}

.is-style-contour-clair .wp-block-button__link:hover,
.nh-btn--contour-clair:hover {
	background: rgb(250 248 243 / 0.1) !important;
}

/* Flèche après le texte (boutons WordPress) */
.nh-arrow .wp-block-button__link::after,
.nh-more-link a::after,
.nh-back a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: var(--nh-arrow) center / contain no-repeat;
	mask: var(--nh-arrow) center / contain no-repeat;
}

.nh-back a::before {
	-webkit-mask-image: var(--nh-arrow-left);
	mask-image: var(--nh-arrow-left);
}

/* Lien or souligné au survol (« Voir », « Voir le détail ») */
.nh-more,
.nh-more-link a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nh-gold);
	text-decoration: none;
}

.nh-more::after,
.nh-more-link a span::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 0;
	height: 1px;
	background: var(--nh-gold);
	transition: width 0.4s ease;
}

.nh-more:hover::after,
.nh-card:hover .nh-more::after {
	width: 100%;
}

.nh-more-link {
	margin-top: 2.5rem !important;
	text-align: center;
}

.nh-more-link a {
	font-size: 1rem;
}

.nh-more-link a:hover {
	color: var(--nh-gold-soft);
}

/* Lien texte avec icône (FAQ) */
.nh-icon-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nh-navy);
	text-decoration: none;
}

.nh-icon-link .nh-i {
	color: var(--nh-gold);
}

.nh-icon-link:hover {
	color: var(--nh-gold);
}

.nh-text-link {
	color: inherit;
	text-decoration: none;
}

.nh-action {
	margin: 0;
}

.nh-center {
	justify-content: center;
}

/* Liste à coches dorées */
ul.nh-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.nh-checks li {
	position: relative;
	margin: 0;
	padding-left: 2rem;
	line-height: 1.6;
}

ul.nh-checks li + li {
	margin-top: 0.75rem;
}

ul.nh-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--nh-gold);
	-webkit-mask: var(--nh-check) center / contain no-repeat;
	mask: var(--nh-check) center / contain no-repeat;
}

.nh-checks--large li {
	color: rgb(250 248 243 / 0.85);
	font-size: 1rem;
}

.nh-checks--large li + li {
	margin-top: 1rem !important;
}

/* Étiquette (prix tout compris, sur devis) */
.nh-badge {
	display: inline-block;
	margin: 0;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgb(194 160 83 / 0.5);
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

.nh-badge:empty {
	display: none;
}

/* --------------------------------------------------------------------------
   En-tête (fixe, transparent sur l'ouverture de l'accueil)
   -------------------------------------------------------------------------- */

.nh-site-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 40;
	background: rgb(22 33 62 / 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.nh-site-header:has(.is-menu-open) {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

@media (max-width: 1023px) {
	.nh-site-header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: var(--nh-navy);
	}
}

.home .nh-site-header:not(.is-scrolled) {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: none;
}

.wp-block-group.nh-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	box-sizing: border-box;
	max-width: 1280px;
	min-height: var(--nh-header-h);
	margin: 0 auto;
	padding: 1rem clamp(1.25rem, 3vw, 2rem);
}

.nh-header > * {
	margin: 0 !important;
}

.nh-logo {
	line-height: 0;
}

.nh-logo a {
	display: block;
}

.nh-header .nh-logo__img {
	height: 56px;
	width: auto;
}

.nh-header > .nh-nav {
	flex: 1 1 auto;
	justify-content: center;
}

.nh-nav .wp-block-navigation__container {
	gap: 1.75rem !important;
}

.nh-nav {
	color: var(--nh-ivory);
}

.nh-header .nh-nav .wp-block-navigation-item__content {
	position: relative;
	padding: 0;
	color: rgb(250 248 243 / 0.85);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.25s ease;
}

.nh-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 0;
	height: 1px;
	background: var(--nh-gold);
	transition: width 0.4s ease;
}

.nh-header .nh-nav .wp-block-navigation-item__content:hover {
	color: var(--nh-ivory);
}

.nh-nav .wp-block-navigation-item__content:hover::after {
	width: 100%;
}

.nh-header .nh-nav .current-menu-item > .wp-block-navigation-item__content,
.nh-header .nh-nav [aria-current="page"] {
	color: var(--nh-gold);
}

.nh-header__cta .nh-btn {
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
}

.nh-header__cta .nh-i {
	display: none;
}

/* Bouton du menu mobile */
.nh-nav .wp-block-navigation__responsive-container-open,
.nh-nav .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--nh-ivory);
}

.nh-nav .wp-block-navigation__responsive-container-open svg,
.nh-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

/* Menu mobile ouvert : panneau marine */
.nh-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1rem clamp(1.25rem, 3vw, 2rem) 2rem;
	background: var(--nh-navy) !important;
}

.nh-nav .wp-block-navigation__responsive-container-close {
	top: 1.25rem;
	right: clamp(1.25rem, 3vw, 2rem);
}

.nh-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	position: relative;
	padding-top: 5.5rem !important;
}

.nh-nav .is-menu-open .wp-block-navigation__container,
.nh-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}

.nh-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgb(250 248 243 / 0.1);
}

.nh-header .nh-nav .is-menu-open .wp-block-navigation-item__content {
	display: block !important;
	width: 100%;
	padding-block: 0.875rem !important;
	font-size: 1.0625rem;
	color: rgb(250 248 243 / 0.85);
}

.nh-nav .is-menu-open .wp-block-navigation-item__content::after {
	display: none;
}

.nh-menu-top,
.nh-menu-extra {
	display: none;
}

.is-menu-open .nh-menu-top {
	position: absolute;
	top: 0.25rem;
	left: 0;
	display: block;
	line-height: 0;
}

.nh-menu-top img {
	height: 52px;
	width: auto;
}

.is-menu-open .nh-menu-extra {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	margin-top: 1.5rem;
}

.nh-menu-extra .nh-btn {
	width: 100%;
}

.nh-menu-extra p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.9;
	color: rgb(250 248 243 / 0.7);
}

.nh-menu-extra p a {
	color: rgb(250 248 243 / 0.9);
	text-decoration: none;
}

.nh-menu-extra p.nh-menu-extra__motto {
	font-family: var(--nh-serif);
	font-style: italic;
	color: var(--nh-gold);
}

@media (max-width: 1023px) {
	.nh-header > .nh-nav {
		flex: 0 0 auto;
		order: 3;
	}

	.nh-header > .nh-logo {
		margin-right: auto !important;
	}

	.nh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.nh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.nh-nav .wp-block-navigation__responsive-container-close:not(.always-shown) {
		display: flex;
	}
}

@media (max-width: 639px) {
	:root {
		--nh-header-h: 72px;
	}

	.nh-header__cta {
		display: none !important;
	}

	.nh-header .nh-logo__img {
		height: 46px;
	}

	.wp-block-group.nh-header {
		padding-block: 0.75rem;
	}
}

/* --------------------------------------------------------------------------
   Accueil — ouverture
   -------------------------------------------------------------------------- */

.wp-block-cover.nh-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	align-items: flex-start;
	padding: calc(var(--nh-header-h) + clamp(2.5rem, 7vw, 5.5rem)) clamp(1.25rem, 3vw, 2rem) 6rem;
	background: var(--nh-navy);
	color: var(--nh-ivory);
}

.nh-hero .wp-block-cover__image-background {
	opacity: 0.3;
}

.nh-hero .wp-block-cover__inner-container {
	position: static;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
}

.wp-block-group.nh-hero__content {
	position: relative;
	z-index: 1;
	max-width: 46rem !important;
	margin-left: 0 !important;
}

.nh-hero__content > * {
	margin: 0;
}

.nh-hero h1 {
	margin-top: 1.5rem;
	font-size: clamp(2rem, 5.2vw, 3.5rem);
	line-height: 1.05;
}

.nh-hero .nh-lead {
	max-width: 36rem;
	margin-top: 1.75rem;
	color: rgb(250 248 243 / 0.8) !important;
}

.nh-hero .wp-block-buttons {
	margin-top: 2.25rem;
}

ul.nh-hero__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-top: 3rem !important;
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.7);
}

ul.nh-hero__checks li {
	padding-left: 1.5rem;
}

ul.nh-hero__checks li + li {
	margin-top: 0;
}

ul.nh-hero__checks li::before {
	width: 1rem;
	height: 1rem;
	top: 0.2em;
}

.nh-hero__motto {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 1.5rem;
	max-width: 1280px;
	margin: 0 auto !important;
	padding-inline: clamp(1.25rem, 3vw, 2rem);
	font-size: 0.875rem;
	font-style: italic;
	color: rgb(250 248 243 / 0.55) !important;
}

.nh-nasr {
	font-family: var(--nh-arabic);
	font-style: normal;
}

/* Chiffres clés : bandeau blanc à trois cellules séparées par des filets dorés */
.nh-section--stats {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.wp-block-group.nh-stats {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--nh-border);
	background: #fff;
	box-shadow: 0 10px 30px -18px rgb(22 33 62 / 0.25);
}

@media (min-width: 768px) {
	.wp-block-group.nh-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nh-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
	text-align: center;
}

@media (min-width: 768px) {
	.nh-stat + .nh-stat {
		border-left: 1px solid rgb(194 160 83 / 0.35);
	}
}

.nh-stat > * {
	margin: 0;
}

.nh-stat__value {
	font-family: var(--nh-serif);
	font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important;
	font-weight: 600;
	line-height: 1;
	color: var(--nh-gold) !important;
	white-space: nowrap;
}

.wp-block-group.nh-stat .nh-rule {
	width: 3rem;
	margin: 1.1rem auto !important;
	background: var(--nh-gold);
	opacity: 0.6;
}

.nh-stat__label {
	max-width: 15rem;
	font-size: 0.9375rem !important;
	line-height: 1.5;
	color: var(--nh-slate) !important;
}

@media (max-width: 767px) {
	.nh-stat {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 1.25rem;
		padding: 1.25rem 1.25rem;
		text-align: left;
	}

	.nh-stat + .nh-stat {
		border-top: 1px solid rgb(194 160 83 / 0.35);
	}

	.nh-stat__value {
		flex: 0 0 9rem;
		font-size: 1.875rem !important;
	}

	.wp-block-group.nh-stat .nh-rule {
		display: none;
	}

	.nh-stat__label {
		max-width: none;
		font-size: 0.875rem !important;
	}
}

/* Deux colonnes (problème / solution, diaspora) */
.wp-block-columns.nh-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3.5rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-split {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

.wp-block-columns.nh-split--center {
	align-items: center;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-split--center {
		gap: 4rem;
	}
}

.nh-split > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-split :where(.wp-block-column > *) {
	margin: 0;
}

.nh-split h2 {
	margin-top: 1.25rem;
	font-size: clamp(1.625rem, 3.2vw, 2.25rem);
	line-height: 1.15;
}

.nh-split .nh-lead,
.nh-split h2 + p {
	margin-top: 1.5rem;
	line-height: 1.7;
}

.nh-split .nh-rule {
	margin-top: 2.5rem !important;
	width: 6rem;
}

.nh-split ul.nh-checks {
	margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Produits : cartes (accueil), liste alternée (catalogue)
   -------------------------------------------------------------------------- */

.nh-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.nh-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.nh-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nh-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: inherit;
	text-decoration: none;
}

.nh-card__media {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}

.nh-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(22 33 62 / 0.7), transparent 50%);
}

.nh-card__img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.nh-card:hover .nh-card__img {
	transform: scale(1.05);
}

.nh-card__title {
	margin-top: 1.25rem;
	font-family: var(--nh-serif);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--nh-navy);
}

.nh-card__desc {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--nh-slate);
}

.nh-card .nh-more {
	margin-top: 0.75rem;
}

.nh-cards + .wp-block-buttons {
	margin-top: 3rem;
}

/* Catalogue : rangées alternées */
.nh-section--rows {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.nh-rows {
	display: flex;
	flex-direction: column;
	gap: clamp(4rem, 8vw, 7rem);
}

.nh-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.nh-row {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}

	.nh-row--reverse .nh-row__media {
		order: 2;
	}
}

.nh-row__media {
	display: block;
	overflow: hidden;
}

.nh-row__img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.nh-row__media:hover .nh-row__img {
	transform: scale(1.05);
}

.nh-row__num {
	display: block;
	font-family: var(--nh-serif);
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-weight: 600;
	line-height: 1;
	color: rgb(194 160 83 / 0.3);
}

.nh-row__title {
	margin: 0.5rem 0 0;
	font-size: clamp(1.625rem, 3vw, 2.25rem);
	line-height: 1.15;
}

.nh-row__title a {
	color: var(--nh-navy);
	text-decoration: none;
}

.nh-row .nh-badge {
	margin-top: 1rem;
}

.nh-row__desc {
	margin: 1.25rem 0 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: rgb(22 33 62 / 0.8) !important;
}

.nh-row .nh-more {
	margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Formules
   -------------------------------------------------------------------------- */

.wp-block-columns.nh-packs {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-packs {
		grid-template-columns: 1fr 1fr;
	}
}

.nh-packs > .wp-block-column {
	display: flex;
	flex-basis: auto !important;
	min-width: 0;
}

.nh-pack {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	border: 1px solid var(--nh-border);
	background: #fff;
}

.nh-pack--featured {
	border-color: var(--nh-navy);
	background: var(--nh-navy);
	box-shadow: 0 20px 25px -5px rgb(22 33 62 / 0.2), 0 8px 10px -6px rgb(22 33 62 / 0.2);
}

.nh-pack > * {
	margin: 0;
}

.nh-pack__tag {
	align-self: flex-start;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgb(194 160 83 / 0.5);
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

.nh-pack--featured .nh-pack__tag {
	border-color: var(--nh-gold);
	background: var(--nh-gold);
	color: var(--nh-navy) !important;
}

.nh-pack h3 {
	margin-top: 1.25rem;
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
	color: var(--nh-navy);
}

.nh-pack--featured h3 {
	color: var(--nh-ivory);
}

.nh-pack__tagline {
	margin-top: 0.75rem !important;
	line-height: 1.65;
	color: var(--nh-slate) !important;
}

.nh-pack--featured .nh-pack__tagline {
	color: rgb(250 248 243 / 0.75) !important;
}

.nh-pack__intro {
	margin-top: 1.75rem !important;
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

.nh-pack ul.nh-checks {
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

.nh-pack ul.nh-checks li {
	color: rgb(22 33 62 / 0.85);
}

.nh-pack--featured ul.nh-checks li {
	color: rgb(250 248 243 / 0.9);
}

.nh-pack__for {
	margin-top: auto !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nh-border);
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--nh-slate) !important;
}

.nh-pack--featured .nh-pack__for {
	border-color: rgb(250 248 243 / 0.15);
	color: rgb(250 248 243 / 0.7) !important;
}

.nh-pack__for strong {
	font-weight: 600;
	color: var(--nh-navy);
}

.nh-pack--featured .nh-pack__for strong {
	color: var(--nh-ivory);
}

.nh-pack .nh-action {
	margin-top: 1.75rem;
}

.nh-pack .nh-btn {
	width: 100%;
}

/* Bloc « clé en main » */
.wp-block-group.nh-cle-en-main {
	margin-top: 2.5rem !important;
	padding: clamp(2rem, 4vw, 3rem);
}

.wp-block-columns.nh-cle-en-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-cle-en-main__grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 4rem;
	}
}

.nh-cle-en-main__grid > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-cle-en-main__grid :where(.wp-block-column > *) {
	margin: 0;
}

.nh-quote {
	margin-top: 1.25rem !important;
	font-family: var(--nh-serif);
	font-size: clamp(1.375rem, 2.4vw, 1.7rem) !important;
	line-height: 1.35;
	color: var(--nh-ivory) !important;
}

ul.nh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.75rem 0 0 !important;
	padding: 0;
	list-style: none;
}

ul.nh-tags li {
	margin: 0;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgb(250 248 243 / 0.2);
	font-size: 0.75rem;
	font-weight: 500;
	color: rgb(250 248 243 / 0.8);
}

.wp-block-group.nh-features {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.75rem 2rem;
}

@media (min-width: 640px) {
	.wp-block-group.nh-features {
		grid-template-columns: 1fr 1fr;
	}
}

.nh-feature {
	margin: 0 !important;
}

.nh-feature > * {
	margin: 0;
}

.nh-feature h3 {
	margin-top: 0.75rem;
	font-size: 1.125rem;
	color: var(--nh-ivory);
}

.nh-feature p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgb(250 248 243 / 0.7) !important;
}

.nh-note {
	max-width: 48rem;
	margin-top: 2rem !important;
	padding-left: 1.25rem;
	border-left: 2px solid var(--nh-gold);
	font-size: 0.875rem;
	line-height: 1.65;
}

/* Bandeau d'appel à l'action */
.nh-cta {
	padding-block: clamp(4rem, 7vw, 6rem);
	text-align: center;
}

.wp-block-group.nh-cta__inner {
	max-width: 48rem;
	margin-inline: auto !important;
}

.nh-cta__inner > * {
	margin: 0;
}

.nh-cta h2 {
	font-size: clamp(1.625rem, 3.2vw, 2.25rem);
	line-height: 1.2;
}

.nh-cta p {
	max-width: 36rem;
	margin: 1.25rem auto 0;
	line-height: 1.65;
}

.nh-cta .nh-action {
	margin-top: 2.25rem;
}

/* --------------------------------------------------------------------------
   Comment ça marche : méthode et garantie
   -------------------------------------------------------------------------- */

.wp-block-columns.nh-method {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-method {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: start;
	}

	.nh-method > .wp-block-column:first-child {
		position: sticky;
		top: calc(var(--nh-header-h) + 2rem);
	}
}

.nh-method > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-method :where(.wp-block-column > *) {
	margin: 0;
}

.nh-method h2 {
	margin-top: 1.25rem;
	font-size: clamp(1.625rem, 4vw, 3rem);
	line-height: 1.15;
}

.nh-method .nh-lead {
	max-width: 28rem;
	margin-top: 1.5rem;
	font-size: 1rem !important;
	color: rgb(250 248 243 / 0.7) !important;
}

.nh-method__image {
	margin-top: 2.5rem !important;
	overflow: hidden;
}

.nh-method__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wp-block-group.nh-steps {
	margin-inline: -0.5rem;
	padding-inline: 0.5rem;
	background-image:
		linear-gradient(to right, rgb(194 160 83 / 0.12) 1px, transparent 1px),
		linear-gradient(to bottom, rgb(194 160 83 / 0.12) 1px, transparent 1px);
	background-size: 56px 56px;
}

.nh-step {
	display: flex;
	gap: 1.5rem;
	margin: 0 !important;
	padding-block: 1.75rem;
	border-bottom: 1px solid rgb(250 248 243 / 0.1);
}

.nh-step:last-child {
	border-bottom: 0;
}

.nh-step__n {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--nh-serif);
	font-size: clamp(2.25rem, 4vw, 3rem) !important;
	font-weight: 600;
	line-height: 1;
	color: var(--nh-gold) !important;
}

.nh-step__text > * {
	margin: 0;
}

.nh-step h3 {
	font-size: 1.25rem;
	color: var(--nh-ivory);
}

.nh-step p {
	margin-top: 0.5rem;
	line-height: 1.65;
	color: rgb(250 248 243 / 0.7) !important;
}

.wp-block-columns.nh-guarantee {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3.5rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-guarantee {
		grid-template-columns: 1fr 1.3fr;
		gap: 5rem;
	}
}

.nh-guarantee > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-guarantee :where(.wp-block-column > *) {
	margin: 0;
}

.nh-guarantee h2 {
	margin-top: 1.25rem;
	font-size: clamp(1.625rem, 3.6vw, 2.75rem);
	line-height: 1.15;
}

.nh-guarantee .nh-lead {
	max-width: 28rem;
	margin-top: 1.5rem;
	font-size: 1rem !important;
}

.wp-block-group.nh-credentials {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin-top: 2.5rem !important;
	padding-top: 2rem;
	border-top: 1px solid rgb(250 248 243 / 0.15);
}

.nh-credential {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin: 0 !important;
}

.nh-credential__value {
	flex: 0 0 8.5rem;
}

.nh-credential > * {
	margin: 0;
}

.nh-credential__value {
	font-family: var(--nh-serif);
	font-size: clamp(1.375rem, 2.6vw, 1.875rem) !important;
	line-height: 1.15;
	color: var(--nh-gold) !important;
	white-space: nowrap;
}

.nh-credential__label {
	margin-top: 0 !important;
	font-size: 0.875rem !important;
	line-height: 1.4;
	color: rgb(250 248 243 / 0.6) !important;
}

/* Grilles de tuiles à filets (garanties, engagements) */
.wp-block-group.nh-tiles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--nh-border);
	background: var(--nh-border);
}

@media (min-width: 640px) {
	.wp-block-group.nh-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-group.nh-tiles--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nh-tile {
	margin: 0 !important;
	padding: 2rem;
	background: var(--nh-ivory);
}

.nh-tile > * {
	margin: 0;
}

.nh-tile h3 {
	margin-top: 1.5rem;
	font-size: 1.25rem;
	color: var(--nh-navy);
}

.nh-tile .nh-rule {
	margin-block: 1rem !important;
}

.nh-tile p {
	font-size: 0.875rem;
	line-height: 1.65;
}

.wp-block-group.nh-tiles--dark {
	border-color: rgb(250 248 243 / 0.15);
	background: rgb(250 248 243 / 0.1);
}

.nh-tiles--dark .nh-tile {
	padding: clamp(1.75rem, 3vw, 2rem);
	background: var(--nh-navy);
}

.nh-tiles--dark .nh-tile h3 {
	margin-top: 1.25rem;
	font-size: 1.125rem;
	color: var(--nh-ivory);
}

.nh-tiles--dark .nh-tile p {
	margin-top: 0.75rem;
	color: rgb(250 248 243 / 0.7) !important;
}

/* --------------------------------------------------------------------------
   À propos : cibles, diaspora, équipe, témoignages, manifeste
   -------------------------------------------------------------------------- */

.wp-block-group.nh-targets {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.wp-block-group.nh-targets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-group.nh-targets {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nh-target {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0 !important;
	padding: 1.75rem;
	border-top: 2px solid var(--nh-gold);
	background: var(--nh-ivory);
	transition: box-shadow 0.3s ease;
}

.nh-target:hover {
	box-shadow: 0 20px 25px -5px rgb(22 33 62 / 0.05), 0 8px 10px -6px rgb(22 33 62 / 0.05);
}

.nh-target .nh-block-icon {
	transition: transform 0.3s ease;
}

.nh-target:hover .nh-block-icon {
	transform: translateY(-2px);
}

.nh-target__text > * {
	margin: 0;
}

.nh-target h3 {
	font-size: 1.125rem;
	line-height: 1.35;
}

.nh-target p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
}

.nh-split--center h2 {
	font-size: clamp(1.625rem, 4vw, 3rem);
	line-height: 1.1;
}

.nh-split--center h2 + p {
	max-width: 36rem;
}

.wp-block-group.nh-diaspora-card {
	position: relative;
	overflow: hidden;
	padding: clamp(2.25rem, 4vw, 2.75rem);
}

.nh-diaspora-card > * {
	position: relative;
	margin: 0;
}

.nh-diaspora-card .nh-watermark {
	position: absolute;
	right: -0.25rem;
	top: 0.75rem;
	font-family: var(--nh-arabic);
	font-size: 6.5rem !important;
	line-height: 1;
	color: rgb(194 160 83 / 0.15) !important;
	pointer-events: none;
	user-select: none;
}

.nh-diaspora-card__title {
	font-family: var(--nh-serif);
	font-size: clamp(1.5rem, 2.6vw, 1.875rem) !important;
	line-height: 1.3;
	color: var(--nh-ivory) !important;
}

.nh-diaspora-card__title + p {
	max-width: 24rem;
	margin-top: 1.25rem;
	line-height: 1.65;
}

.nh-diaspora-card .nh-action {
	margin-top: 2rem;
}

/* Masquées tant que rien n'est publié (équipe, témoignages) */
.nh-hide-if-empty:not(:has(.nh-team, .nh-testimonials)) {
	display: none;
}

.nh-team {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

@media (min-width: 640px) {
	.nh-team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.nh-team {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nh-team__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px solid rgb(250 248 243 / 0.1);
	background: rgb(250 248 243 / 0.05);
}

.nh-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nh-team__initials {
	font-family: var(--nh-serif);
	font-size: 3.75rem;
	color: var(--nh-gold);
}

.nh-team__name {
	margin: 1.25rem 0 0;
	font-size: 1.25rem;
}

.nh-team__role {
	margin: 0.25rem 0 0;
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

.nh-team__bio {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
}

.nh-testimonials {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.nh-testimonials {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nh-testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem;
	border-top: 2px solid var(--nh-gold);
	background: #fff;
	box-shadow: 0 1px 2px rgb(22 33 62 / 0.05);
}

.nh-testimonial__text {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1.65;
	color: rgb(22 33 62 / 0.85);
}

.nh-testimonial__author {
	display: grid;
	gap: 0.15rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--nh-border);
	font-size: 0.875rem;
	color: var(--nh-slate);
}

.nh-testimonial__name {
	font-family: var(--nh-serif);
	font-size: 1.125rem;
	color: var(--nh-navy);
}

.nh-testimonial__rating {
	color: var(--nh-gold);
}

.nh-manifesto {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5rem, 10vw, 9rem);
}

.nh-manifesto .nh-watermark--center {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	font-family: var(--nh-arabic);
	font-size: clamp(9rem, 28vw, 20rem) !important;
	line-height: 1;
	color: rgb(194 160 83 / 0.07) !important;
	pointer-events: none;
	user-select: none;
}

.nh-manifesto__text {
	position: relative;
	max-width: 56rem;
	margin: 0 auto !important;
	font-family: var(--nh-serif);
	font-size: clamp(1.375rem, 3.2vw, 2.25rem) !important;
	line-height: 1.35;
	text-align: center;
	color: var(--nh-navy) !important;
}

.nh-manifesto__text em {
	color: var(--nh-gold);
}

.nh-manifesto .nh-rule {
	margin-top: 2.5rem !important;
}

/* --------------------------------------------------------------------------
   FAQ (accordéon)
   -------------------------------------------------------------------------- */

.wp-block-columns.nh-faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-faq-layout {
		grid-template-columns: 1fr 1.5fr;
		gap: 5rem;
	}
}

.nh-faq-layout > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-faq-layout :where(.wp-block-column:first-child > *) {
	margin: 0;
}

.nh-faq-layout h2 {
	margin-top: 1.25rem !important;
	font-size: clamp(1.625rem, 3.2vw, 2.25rem);
	line-height: 1.15;
}

.nh-faq-layout h2 + p {
	max-width: 24rem;
	margin-top: 1.5rem !important;
	line-height: 1.65;
}

.nh-faq-layout .nh-action {
	margin-top: 1.5rem !important;
}

.nh-faq {
	border-top: 1px solid var(--nh-border);
}

.nh-faq__item {
	border-bottom: 1px solid var(--nh-border);
}

.nh-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.25rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--nh-serif);
	font-size: 1.125rem;
	line-height: 1.4;
	color: var(--nh-navy);
}

.nh-faq__question::-webkit-details-marker {
	display: none;
}

.nh-faq__question::after {
	content: "";
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	background: var(--nh-slate);
	-webkit-mask: var(--nh-chevron) center / contain no-repeat;
	mask: var(--nh-chevron) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nh-faq__item[open] .nh-faq__question::after {
	transform: rotate(180deg);
}

.nh-faq__answer {
	padding-bottom: 1.25rem;
}

.nh-faq__answer > * {
	margin: 0;
	line-height: 1.65;
	color: var(--nh-slate);
}

/* --------------------------------------------------------------------------
   Contact et formulaire de devis (fond marine)
   -------------------------------------------------------------------------- */

.wp-block-columns.nh-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3.5rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-contact {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

.nh-contact > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-contact .nh-lead {
	max-width: 28rem;
	margin: 0;
	font-size: 1rem !important;
}

.nh-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nh-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	line-height: 1.5;
}

.nh-contact-list .nh-i {
	color: var(--nh-gold);
	margin-top: 0.05rem;
}

.nh-contact-list a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nh-contact-list a:hover {
	color: var(--nh-gold);
}

.nh-contact-list a[href^="tel:"] {
	white-space: nowrap;
}

.nh-contact-list__sep {
	color: var(--nh-gold);
}

.nh-contact-list--contact {
	margin-top: 2.5rem !important;
	color: rgb(250 248 243 / 0.85);
}

.nh-contact-list--contact li + li {
	margin-top: 1rem;
}

.nh-contact-list--contact .nh-i {
	margin-top: 0.1rem;
}

.nh-contact-list li.nh-contact-list__vcard {
	margin-top: 1.75rem;
}

.nh-contact-list--pied {
	margin-top: 1rem !important;
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.75);
}

.nh-contact-list--pied li + li {
	margin-top: 0.5rem;
}

.nh-contact-list--pied .nh-i {
	margin-top: 0.15rem;
}

/* Formulaire */
.nh-devis {
	color: var(--nh-ivory);
}

.nh-devis__sujet {
	margin: 0 0 1.5rem;
	padding: 0.75rem 1rem;
	border-left: 2px solid var(--nh-gold);
	background: rgb(250 248 243 / 0.05);
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.85) !important;
}

.nh-devis__sujet strong {
	font-weight: 600;
	color: var(--nh-gold);
}

.nh-devis__sujet[hidden] {
	display: none;
}

.nh-devis__form {
	display: grid;
	gap: 1.25rem;
}

.nh-devis__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.nh-devis__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nh-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.nh-field label,
.nh-field legend {
	display: block;
	margin-bottom: 0.5rem;
	padding: 0;
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.8);
}

.nh-field__optional {
	color: rgb(250 248 243 / 0.4);
}

.nh-field :is(input, select, textarea) {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	border: 1px solid rgb(250 248 243 / 0.2);
	border-radius: 2px;
	background: rgb(250 248 243 / 0.05);
	color: var(--nh-ivory);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

.nh-field select {
	appearance: none;
	padding-right: 2.5rem;
	background: var(--nh-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf8f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 1rem no-repeat;
}

.nh-field textarea {
	min-height: 7rem;
	resize: vertical;
}

.nh-field :is(input, select, textarea)::placeholder {
	color: rgb(250 248 243 / 0.4);
}

.nh-field :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--nh-gold);
}

.nh-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.nh-field .nh-choice {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 0.625rem 0.875rem;
	border: 1px solid rgb(250 248 243 / 0.2);
	border-radius: 2px;
	cursor: pointer;
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.9);
	transition: border-color 0.2s ease;
}

.nh-field .nh-choice:hover,
.nh-field .nh-choice:has(input:checked) {
	border-color: rgb(194 160 83 / 0.6);
}

.nh-field .nh-choice input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	padding: 0;
	accent-color: var(--nh-gold);
}

.nh-devis__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.nh-devis__status {
	margin: 0;
	font-size: 0.875rem;
	color: var(--nh-gold) !important;
}

.nh-devis__status:empty {
	display: none;
}

.nh-devis__note {
	margin: 0;
	font-size: 0.75rem !important;
	color: rgb(250 248 243 / 0.5) !important;
}

/* Fenêtre de devis */
html:has(.nh-modal[open]) {
	overflow: hidden;
}

.nh-modal {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: clamp(0rem, 4vh, 2.5rem) clamp(1.25rem, 3vw, 2rem);
	border: 0;
	background: transparent;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.nh-modal::backdrop {
	background: rgb(15 24 48 / 0.75);
}

.nh-modal[open] {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.nh-modal__panel {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 680px;
	margin: auto 0;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-top: 2px solid var(--nh-gold);
	background: var(--nh-navy);
	color: var(--nh-ivory);
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
}

.nh-modal[open] .nh-modal__panel {
	animation: nh-modal-in 0.3s var(--nh-ease);
}

@keyframes nh-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

.nh-modal__head {
	margin-bottom: 1.75rem;
	padding-right: 3.5rem;
}

.nh-modal__head > * {
	margin: 0;
}

.nh-modal__title {
	margin-top: 1rem !important;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	color: var(--nh-ivory);
}

.nh-modal__lead {
	margin-top: 0.75rem !important;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgb(250 248 243 / 0.75);
}

.nh-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: rgb(250 248 243 / 0.8);
	font-size: 0;
}

.nh-modal__close span {
	position: relative;
	width: 20px;
	height: 20px;
}

.nh-modal__close span::before,
.nh-modal__close span::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 20px;
	height: 1.5px;
	background: currentColor;
	transform: rotate(45deg);
}

.nh-modal__close span::after {
	transform: rotate(-45deg);
}

.nh-modal__close:hover {
	color: var(--nh-gold);
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */

.nh-product-hero {
	padding-bottom: 4rem;
}

.nh-back {
	margin: 0;
}

.nh-back a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgb(250 248 243 / 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.nh-back a:hover {
	color: var(--nh-gold);
}

.nh-product-hero .wp-block-post-title {
	margin-top: 1.5rem !important;
	font-size: clamp(1.875rem, 4.5vw, 3rem);
	line-height: 1.1;
	color: var(--nh-ivory);
}

.nh-product-hero .nh-badge {
	margin-top: 1.25rem !important;
}

.nh-product-hero .wp-block-post-excerpt {
	max-width: 42rem;
	margin-top: 1.5rem !important;
}

.nh-product-hero .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: rgb(250 248 243 / 0.8);
}

.wp-block-group.nh-product-media {
	position: relative;
	z-index: 1;
	margin-top: -2.5rem !important;
}

.nh-product-media__image {
	margin: 0;
	box-shadow: 0 20px 25px -5px rgb(22 33 62 / 0.1), 0 8px 10px -6px rgb(22 33 62 / 0.1);
}

.nh-product-media__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.nh-product-body {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.wp-block-columns.nh-product-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	margin: 0;
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-product-body__grid {
		grid-template-columns: 1.6fr 1fr;
		align-items: start;
	}
}

.nh-product-body__grid > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-prose {
	max-width: 42rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--nh-slate);
}

.nh-prose > * {
	margin: 0;
}

.nh-prose > * + * {
	margin-top: 1.1rem;
}

.nh-prose :is(h2, h3) {
	margin-top: 2rem;
	font-weight: 600;
	color: var(--nh-navy);
}

.nh-prose h2 {
	font-size: 1.6rem;
}

.nh-prose h3 {
	font-size: 1.25rem;
}

.nh-prose a {
	color: var(--nh-gold);
	text-underline-offset: 3px;
}

.nh-prose ul {
	padding-left: 1.25rem;
	list-style: none;
}

.nh-prose ul li {
	position: relative;
}

.nh-prose ul li::before {
	content: "";
	position: absolute;
	left: -1.1rem;
	top: 0.7em;
	width: 6px;
	height: 6px;
	background: var(--nh-gold);
}

.nh-aside {
	padding: 2rem;
	border: 1px solid var(--nh-border);
}

@media (min-width: 1024px) {
	.nh-aside {
		position: sticky;
		top: calc(var(--nh-header-h) + 1.5rem);
	}
}

.nh-aside > * {
	margin: 0;
}

.nh-aside h2 {
	margin-top: 1rem;
	font-size: 1.5rem;
	line-height: 1.25;
}

.nh-aside p:not(.nh-eyebrow) {
	margin-top: 1rem;
	font-size: 0.875rem;
	line-height: 1.65;
}

.nh-aside .nh-action {
	margin-top: 1.5rem;
}

.nh-aside .nh-action + .nh-action {
	margin-top: 0.75rem;
}

.nh-aside .nh-btn {
	width: 100%;
	padding-block: 0.75rem;
}

.nh-related .nh-title {
	margin-bottom: 2.5rem !important;
}

/* Page simple (mentions légales) et 404 */
.nh-simple-content {
	padding-bottom: clamp(4rem, 8vw, 6rem);
}

.nh-notfound {
	min-height: 80vh;
	padding-top: calc(var(--nh-header-h) + 6rem);
	padding-bottom: 6rem;
	text-align: center;
}

.nh-notfound > * {
	margin-block: 0 !important;
}

.nh-notfound h1 {
	margin-top: 1.25rem !important;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.nh-notfound p:not(.nh-eyebrow) {
	margin-top: 1.25rem !important;
}

.nh-notfound .wp-block-buttons {
	justify-content: center;
	margin-top: 2.25rem !important;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.nh-footer {
	padding-top: 4rem;
	padding-bottom: 6rem; /* place pour le bouton WhatsApp flottant */
}

.wp-block-columns.nh-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	margin: 0;
}

@media (min-width: 640px) {
	.wp-block-columns.nh-footer__cols {
		grid-template-columns: 1fr 1fr;
	}

	.nh-footer__cols > .wp-block-column:first-child {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.wp-block-columns.nh-footer__cols {
		grid-template-columns: 1.5fr 1fr 1fr;
	}

	.nh-footer__cols > .wp-block-column:first-child {
		grid-column: auto;
	}
}

.nh-footer__cols > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nh-footer__cols :where(.wp-block-column > *) {
	margin: 0;
}

.nh-footer .nh-logo__img {
	height: 64px;
	width: auto;
}

.nh-footer__tagline {
	max-width: 20rem;
	margin-top: 1.25rem !important;
	font-size: 0.875rem;
	font-style: italic;
	color: rgb(250 248 243 / 0.6) !important;
}

ul.nh-footer-links {
	margin-top: 1rem !important;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

ul.nh-footer-links li {
	margin: 0;
}

ul.nh-footer-links li + li {
	margin-top: 0.5rem;
}

ul.nh-footer-links a {
	color: rgb(250 248 243 / 0.75);
	text-decoration: none;
	transition: color 0.2s ease;
}

ul.nh-footer-links a:hover {
	color: var(--nh-gold);
}

.wp-block-group.nh-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: 3rem !important;
	padding-top: 1.5rem;
	background: linear-gradient(90deg, var(--nh-gold), transparent) top / 100% 1px no-repeat;
}

.nh-footer__legal p {
	margin: 0;
	font-size: 0.75rem;
	color: rgb(250 248 243 / 0.5) !important;
}

/* Bouton WhatsApp flottant */
.nh-whatsapp-float {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.2);
	transition: transform 0.2s ease;
}

.nh-whatsapp-float:hover {
	transform: scale(1.05);
	color: #fff;
}

.has-modal-open .nh-whatsapp-float,
html:has(.nh-modal[open]) .nh-whatsapp-float {
	display: none;
}

/* --------------------------------------------------------------------------
   Apparition au défilement (comme le site React)
   -------------------------------------------------------------------------- */

.nh-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--nh-ease), transform 0.7s var(--nh-ease);
	transition-delay: var(--nh-delay, 0ms);
}

.nh-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Téléphone : échelle compacte (titres sur moins de lignes)
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
	body {
		font-size: 0.9375rem;
	}

	.nh-section {
		padding-block: 3.5rem;
	}

	.nh-section--stats {
		padding-block: 2.5rem;
	}

	.nh-title {
		margin-bottom: 2.25rem !important;
	}

	.nh-eyebrow {
		font-size: 0.6875rem !important;
		letter-spacing: 0.22em;
	}

	.nh-hero h1 {
		font-size: 1.875rem;
		line-height: 1.1;
	}

	.wp-block-cover.nh-hero {
		padding-bottom: 4.5rem;
	}

	.nh-hero .nh-lead {
		font-size: 1rem !important;
	}

	.nh-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.nh-hero .wp-block-button__link {
		width: 100%;
	}

	ul.nh-hero__checks {
		margin-top: 2rem !important;
		gap: 0.5rem 1.25rem;
		font-size: 0.8125rem;
	}

	.nh-page-hero h1,
	.nh-dark-hero h1,
	.nh-product-hero .wp-block-post-title {
		font-size: 1.75rem;
	}

	.nh-title h2,
	.nh-title--large h2,
	.nh-split h2,
	.nh-split--center h2,
	.nh-method h2,
	.nh-guarantee h2,
	.nh-faq-layout h2,
	.nh-cta h2 {
		font-size: 1.5rem;
		line-height: 1.2;
	}

	.nh-lead,
	.nh-row__desc,
	.nh-product-hero .wp-block-post-excerpt__excerpt {
		font-size: 1rem !important;
	}

	.nh-row__num {
		font-size: 2rem;
	}

	.nh-row__title {
		font-size: 1.5rem;
	}

	.nh-pack h3 {
		font-size: 1.375rem;
	}

	.nh-quote {
		font-size: 1.25rem !important;
	}

	.nh-step {
		gap: 1rem;
		padding-block: 1.25rem;
	}

	.nh-step__n {
		font-size: 1.875rem !important;
	}

	.nh-step h3,
	.nh-tile h3 {
		font-size: 1.0625rem;
	}

	.wp-block-group.nh-credentials {
		gap: 0.75rem;
	}

	.nh-credential__value {
		font-size: 1.125rem !important;
	}

	.nh-manifesto__text {
		font-size: 1.25rem !important;
	}

	.nh-faq__question {
		font-size: 1rem;
		padding-block: 1rem;
	}

	.nh-diaspora-card__title {
		font-size: 1.375rem !important;
	}

	.nh-modal {
		padding: 0;
	}

	.nh-modal__panel {
		min-height: 100%;
		margin: 0;
		padding: 1.5rem 1.25rem 2.5rem;
	}

	.nh-modal__head {
		padding-top: 1.5rem;
		padding-right: 0;
	}

	.nh-modal__close {
		top: 0.5rem;
		right: 0.5rem;
	}

	.nh-whatsapp-float {
		right: 1rem;
		bottom: 1rem;
		width: 3.25rem;
		height: 3.25rem;
	}

	/* Cartes produits moins hautes sur téléphone */
	.nh-card__img {
		aspect-ratio: 5 / 4;
	}

	.nh-card__title {
		margin-top: 1rem;
	}

	/* Chiffres de la garantie : une ligne chacun */
	.wp-block-group.nh-credentials {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.875rem;
	}

	.nh-credential {
		display: flex;
		align-items: baseline;
		gap: 0.75rem;
	}

	.nh-credential__value {
		flex: 0 0 7.5rem;
		font-size: 1.375rem !important;
	}

	.nh-credential__label {
		margin-top: 0 !important;
		font-size: 0.8125rem !important;
	}

	/* Formulaire : boutons pleine largeur */
	.nh-devis__actions {
		flex-direction: column;
	}

	.nh-devis__actions .nh-btn {
		width: 100%;
	}

	.nh-prose {
		font-size: 1rem;
	}

	.nh-aside {
		padding: 1.5rem;
	}

	.nh-aside h2 {
		font-size: 1.375rem;
	}
}

/* --------------------------------------------------------------------------
   Éditeur
   -------------------------------------------------------------------------- */

.editor-styles-wrapper .nh-site-header {
	position: relative !important;
	top: 0 !important;
	background: var(--nh-navy) !important;
}

.editor-styles-wrapper .nh-reveal {
	opacity: 1;
	transform: none;
}

/* Coordonnées : icône alignée sur la première ligne de texte, zone de clic confortable */
.nh-contact-list li,
.nh-contact-list--contact li,
.nh-contact-list--pied li {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	column-gap: 0.75rem;
	align-items: start;
	margin: 0 !important;
	padding-block: 0.4rem;
	line-height: 1.5;
}

.nh-contact-list--contact li {
	grid-template-columns: 1.5rem minmax(0, 1fr);
	padding-block: 0.5rem;
}

.nh-contact-list .nh-i {
	justify-self: center;
	margin-top: calc((1.5em - 16px) / 2) !important;
}

.nh-contact-list--contact .nh-i {
	margin-top: calc((1.5em - 20px) / 2) !important;
}

.nh-contact-list a {
	display: inline-block;
	padding-block: 0.35rem;
	margin-block: -0.35rem;
}

.nh-contact-list li.nh-contact-list__vcard {
	display: block;
	margin-top: 1rem !important;
}

.nh-contact-list a.nh-more {
	display: inline-flex;
	margin-block: 0;
	padding-block: 0;
}

.nh-menu-extra p a {
	display: inline-block;
	padding-block: 0.3rem;
}

/* Titres et notes alignés sur le bord gauche de la colonne de 1280 px (WordPress les centrerait) */
.is-layout-constrained > :is(.nh-title, .nh-note) {
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
}

/* Réseaux sociaux (sous les coordonnées : pied de page et page Contact) */
.nh-social {
	margin-top: 1.75rem;
}

.nh-social__title {
	margin: 0 0 0.875rem !important;
	font-size: 0.72rem !important;
	font-weight: 600;
	letter-spacing: 0.28em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--nh-gold) !important;
}

.nh-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nh-social__list li {
	margin: 0;
}

.nh-social__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid rgb(250 248 243 / 0.2);
	border-radius: 2px;
	color: rgb(250 248 243 / 0.85);
	text-decoration: none;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.nh-social__list a:hover {
	border-color: var(--nh-gold);
	background: rgb(194 160 83 / 0.1);
	color: var(--nh-gold);
}

.nh-social__list .nh-i {
	color: var(--nh-gold);
}

/* Pied de page : carrés à icône seule */
.nh-social--pied .nh-social__list a {
	width: 44px;
}

.nh-social--pied .nh-social__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Page Contact : icône et nom */
.nh-social--contact {
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgb(250 248 243 / 0.12);
}

.nh-social--contact .nh-social__list a {
	padding: 0 1rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.nh-social--contact .nh-social__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 26rem;
}

.nh-social--contact .nh-social__list a {
	width: 100%;
	padding: 0 0.5rem;
}

.nh-social--contact .nh-social__list a {
	white-space: nowrap;
}

@media (max-width: 420px) {
	.nh-social--contact .nh-social__list {
		gap: 0.375rem;
	}

	.nh-social--contact .nh-social__list a {
		gap: 0.375rem;
		padding: 0 0.25rem;
		font-size: 0.8125rem;
	}
}
