/* ==========================================================================
   Holding France — Habillage du site (site public uniquement)
   En-tête fixe, méga-menu, menu mobile, pied de page, en-têtes de page,
   page 404, archives, impression (le bandeau des fiches société est un bloc :
   blocks/societe-hero/style.css).
   S'appuie sur les jetons et surfaces de base.css.
   ========================================================================== */

/* ---------- Jetons propres à l'habillage ---------- */
:root {
	--hf-grid-gap: clamp(20px, 2.4vw, 40px);
	--hf-header-h-scrolled: 72px;
	--hf-adminbar-h: 0px;
}
/* Navigation complète jusqu'à 961 px (iPad paysage compris) ; menu mobile en dessous (main.js : même seuil). */
@media (max-width: 960px) {
	:root {
		--hf-header-h: 72px;
		--hf-header-h-scrolled: 64px;
	}
}
html:has(> body.admin-bar) {
	--hf-adminbar-h: 32px;
}
@media (max-width: 782px) {
	html:has(> body.admin-bar) {
		--hf-adminbar-h: 46px;
	}
}

/* Ancres : le titre visé n'est pas masqué par l'en-tête fixe */
html {
	scroll-padding-top: calc(var(--hf-header-h-scrolled) + var(--hf-adminbar-h) + 24px);
}
html.hf-menu-open {
	overflow: hidden;
}

/* ---------- Structure générale ---------- */
body.hf-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body.hf-site.admin-bar {
	min-height: calc(100vh - var(--hf-adminbar-h));
}
.hf-main {
	display: block;
	flex: 1 0 auto;
	padding-top: var(--hf-header-h);
	overflow-x: clip;
}
.hf-main--flush {
	padding-top: 0;
}
.hf-main:focus {
	outline: none;
}

/* Lien d'évitement */
.hf-skip-link {
	position: fixed;
	top: calc(var(--hf-adminbar-h) + 12px);
	left: 12px;
	z-index: 1000;
	padding: 0.75rem 1.125rem;
	font-size: var(--hf-fs-small);
	font-weight: 600;
	line-height: 1.2;
	color: var(--hf-white);
	text-decoration: none;
	background: var(--hf-navy-900);
	border-radius: var(--hf-radius);
	transform: translateY(calc(-100% - 40px));
	transition: transform 0.3s var(--hf-ease);
}
.hf-skip-link:focus {
	transform: none;
	outline: 2px solid var(--hf-blue-300);
	outline-offset: 2px;
}

/* ---------- Logo (repli texte tant que le SVG n'existe pas) ---------- */
.hf-logo-text {
	font-family: var(--hf-font-sans);
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.hf-header {
	/* Apparence par défaut : fond blanc, textes bleu nuit */
	--hf-hd-h: var(--hf-header-h);
	--hf-hd-fg: var(--hf-navy-900);
	--hf-hd-bg: var(--hf-white);
	--hf-hd-line: var(--hf-line);
	--hf-hd-shadow: 0 0 0 transparent;
	--hf-hd-cta-bg: var(--hf-navy-900);
	--hf-hd-cta-fg: var(--hf-white);
	--hf-hd-cta-line: var(--hf-navy-900);
	--hf-hd-cta-bg-hover: var(--hf-blue);
	--hf-hd-cta-fg-hover: var(--hf-white);
	--hf-hd-cta-line-hover: var(--hf-blue);
	--hf-hd-logo-h: 60px; /* logo empilé (même dessin que le pied de page, sans la signature) */
	--hf-tricolor-mid: #D2D8E4;
	position: fixed;
	top: var(--hf-adminbar-h);
	right: 0;
	left: 0;
	z-index: 100;
	height: var(--hf-hd-h);
	color: var(--hf-hd-fg);
	background-color: var(--hf-hd-bg);
	box-shadow: inset 0 -1px 0 var(--hf-hd-line), var(--hf-hd-shadow);
}
.hf-header.is-ready {
	transition: height var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease), background-color var(--hf-dur) var(--hf-ease), box-shadow var(--hf-dur) var(--hf-ease);
}
/* Voile discret pour la lisibilité au-dessus d'une photo (en-tête transparent) */
.hf-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	z-index: -1;
	background: linear-gradient(180deg, rgba(2, 20, 49, 0.45) 0%, rgba(2, 20, 49, 0) 100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--hf-dur) var(--hf-ease);
}

/* Au-dessus d'un bandeau sombre, avant défilement : transparent, textes blancs */
:where(body.has-dark-hero) .hf-header:where(:not(.is-scrolled, .is-mega-open)) {
	--hf-hd-fg: var(--hf-white);
	--hf-hd-bg: transparent;
	--hf-hd-line: rgba(255, 255, 255, 0.14);
	--hf-hd-cta-bg: transparent;
	--hf-hd-cta-fg: var(--hf-white);
	--hf-hd-cta-line: rgba(255, 255, 255, 0.42);
	--hf-hd-cta-bg-hover: var(--hf-white);
	--hf-hd-cta-fg-hover: var(--hf-navy-900);
	--hf-hd-cta-line-hover: var(--hf-white);
	--hf-tricolor-mid: var(--hf-white);
}
:where(body.has-dark-hero) .hf-header:where(:not(.is-scrolled, .is-mega-open, .is-menu-open))::before {
	opacity: 1;
}

/* Après défilement : plus compact, filet + ombre légère */
.hf-header.is-scrolled {
	--hf-hd-h: var(--hf-header-h-scrolled);
	--hf-hd-logo-h: 50px;
	--hf-hd-shadow: 0 1px 2px rgba(2, 20, 49, 0.04), 0 14px 32px -22px rgba(2, 20, 49, 0.28);
}

/* Menu mobile ouvert : l'en-tête se fond dans le panneau bleu nuit */
.hf-header.is-menu-open {
	--hf-hd-fg: var(--hf-white);
	--hf-hd-bg: transparent;
	--hf-hd-line: rgba(255, 255, 255, 0.12);
	--hf-hd-shadow: 0 0 0 transparent;
	--hf-hd-cta-bg: transparent;
	--hf-hd-cta-fg: var(--hf-white);
	--hf-hd-cta-line: rgba(255, 255, 255, 0.42);
	--hf-hd-cta-bg-hover: var(--hf-white);
	--hf-hd-cta-fg-hover: var(--hf-navy-900);
	--hf-hd-cta-line-hover: var(--hf-white);
	--hf-tricolor-mid: var(--hf-white);
}

.hf-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 48px);
	height: 100%;
}

/* Logo */
.hf-header__brand {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex: none;
	align-items: center;
	color: inherit;
	text-decoration: none;
}
.hf-header__brand svg {
	display: block;
	width: auto;
	max-width: none;
	height: var(--hf-hd-logo-h);
	transition: height var(--hf-dur) var(--hf-ease);
}
.hf-header__brand:focus-visible {
	outline-color: currentColor;
	outline-offset: 6px;
}

/* ---------- Navigation principale ---------- */
.hf-nav {
	align-self: stretch;
	margin-left: auto;
}
.hf-nav__list {
	display: flex;
	align-items: stretch;
	gap: clamp(1.5rem, 2.6vw, 2.75rem);
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-nav__item {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.hf-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-block: 0.625rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.003em;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}
/* Soulignement fin qui se déploie */
.hf-nav__link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0.1875rem;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform var(--hf-dur) var(--hf-ease);
}
.hf-nav__link:hover::after,
.hf-nav__item.is-open > .hf-nav__link::after {
	transform: scaleX(1);
	transform-origin: left center;
}
/* Rubrique active : filet tricolore */
.hf-nav__item.is-active > .hf-nav__link::after {
	height: 2px;
	background: var(--hf-tricolor);
	transform: scaleX(1);
}
.hf-nav__link:focus-visible {
	outline-color: currentColor;
	outline-offset: 4px;
}
.hf-nav__toggle {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin: 0 -0.375rem 0 -0.125rem;
	padding: 0;
	color: inherit;
	background: none;
	border: 0;
	border-radius: var(--hf-radius);
	cursor: pointer;
	opacity: 0.72;
	transition: opacity var(--hf-dur) var(--hf-ease);
}
.hf-nav__toggle:hover,
.hf-nav__item.is-open > .hf-nav__toggle {
	opacity: 1;
}
.hf-nav__toggle:focus-visible {
	outline-color: currentColor;
	outline-offset: 0;
}
.hf-nav__chevron {
	width: 14px;
	height: 14px;
	transition: transform var(--hf-dur) var(--hf-ease);
}
.hf-nav__item.is-open > .hf-nav__toggle .hf-nav__chevron {
	transform: rotate(180deg);
}

/* ---------- Liste déroulante simple ---------- */
.hf-nav__item--sub {
	position: relative;
}
.hf-subnav {
	position: absolute;
	top: 100%;
	left: -1.25rem;
	min-width: 268px;
	padding: 0.5rem 0;
	color: var(--hf-ink-2);
	background: var(--hf-white);
	box-shadow: 0 0 0 1px var(--hf-line), var(--hf-shadow);
	border-radius: var(--hf-radius);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, -6px, 0);
	transition: opacity 0.3s var(--hf-ease), transform var(--hf-dur) var(--hf-ease), visibility 0s linear var(--hf-dur);
}
.hf-nav__item.is-open > .hf-subnav {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.hf-subnav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-subnav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--hf-navy-900);
	text-decoration: none;
	transition: background-color var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease);
}
.hf-subnav__link:hover,
.hf-subnav__item.is-active > .hf-subnav__link {
	color: var(--hf-blue);
	background-color: var(--hf-ivory);
}
.hf-subnav__go {
	width: 16px;
	height: 16px;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity var(--hf-dur) var(--hf-ease), transform var(--hf-dur) var(--hf-ease);
}
.hf-subnav__link:hover .hf-subnav__go,
.hf-subnav__link:focus-visible .hf-subnav__go {
	opacity: 1;
	transform: none;
}

/* ---------- Méga-menu « Nos sociétés » ---------- */
.hf-mega {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - var(--hf-hd-h) - var(--hf-adminbar-h));
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--hf-fg-2);
	background-color: var(--hf-white);
	box-shadow: inset 0 1px 0 var(--hf-line), 0 48px 64px -48px rgba(2, 20, 49, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, -8px, 0);
	transition: opacity 0.3s var(--hf-ease), transform var(--hf-dur) var(--hf-ease), visibility 0s linear var(--hf-dur);
}
.hf-nav__item.is-open > .hf-mega {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.hf-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	column-gap: clamp(40px, 6vw, 112px);
	padding-block: clamp(40px, 3.6vw, 56px) clamp(40px, 4vw, 60px);
}
.hf-mega__intro {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 1.375rem;
}
.hf-mega__lead {
	max-width: 26ch;
	margin: 0;
	font-family: var(--hf-font-serif);
	font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.375rem);
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--hf-fg);
	text-wrap: balance;
}
.hf-mega__all {
	margin-top: 0.5rem;
}
.hf-mega__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	column-gap: clamp(24px, 3vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-mega__entry {
	border-top: 1px solid var(--hf-border);
}
.hf-mega__item {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr) 20px;
	align-items: center;
	gap: 0.75rem;
	padding-block: 1.0625rem;
	color: inherit;
	text-decoration: none;
}
.hf-mega__num {
	align-self: start;
	padding-top: 0.3rem;
	font-size: var(--hf-fs-eyebrow);
	font-weight: 500;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
	color: var(--hf-fg-muted);
}
.hf-mega__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3125rem;
	min-width: 0;
}
.hf-mega__name {
	font-family: var(--hf-font-serif);
	font-size: 1.25rem;
	line-height: 1.22;
	letter-spacing: -0.01em;
	color: var(--hf-fg);
	transition: color var(--hf-dur) var(--hf-ease);
}
.hf-mega__metier {
	font-size: var(--hf-fs-xs);
	line-height: 1.45;
	color: var(--hf-fg-muted);
}
.hf-mega__soon {
	font-size: 0.6875rem;
}
.hf-mega__go {
	width: 18px;
	height: 18px;
	color: var(--hf-accent);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity var(--hf-dur) var(--hf-ease), transform var(--hf-dur) var(--hf-ease);
}
.hf-mega__item:hover .hf-mega__name,
.hf-mega__item[aria-current] .hf-mega__name {
	color: var(--hf-blue);
}
.hf-mega__item:hover .hf-mega__go,
.hf-mega__item:focus-visible .hf-mega__go {
	opacity: 1;
	transform: none;
}
.hf-mega__item:focus-visible {
	outline-offset: -2px;
}
.hf-mega__foot {
	background-color: var(--hf-ivory);
	box-shadow: inset 0 1px 0 var(--hf-line);
}
.hf-mega__foot-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	min-height: 52px;
	padding-block: 0.75rem;
	font-size: var(--hf-fs-xs);
	color: var(--hf-fg-2);
}
.hf-mega__dispo,
.hf-mega__tel {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	color: inherit;
	text-decoration: none;
}
.hf-mega__tel {
	font-weight: 600;
	color: var(--hf-fg);
}
.hf-mega__dispo .hf-icon,
.hf-mega__tel .hf-icon {
	width: 16px;
	height: 16px;
	color: var(--hf-accent);
}

/* Voile de page sous le méga-menu */
.hf-backdrop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(2, 20, 49, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s var(--hf-ease), visibility 0s linear 0.35s;
}
.hf-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

/* Sans JavaScript : ouverture au survol et au focus ; sur mobile, le bouton de contact
   reste visible et le pied de page porte la navigation complète. */
html:not(.hf-js) .hf-nav__item:is(:hover, :focus-within) > :is(.hf-mega, .hf-subnav) {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
html:not(.hf-js) .hf-burger {
	display: none;
}
html:not(.hf-js) .hf-header__cta {
	display: inline-flex;
}

/* ---------- Bouton de contact ---------- */
.hf-header__actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex: none;
	align-items: center;
	gap: 1rem;
}
.hf-nav + .hf-header__actions {
	margin-left: clamp(4px, 0.6vw, 12px);
}
.hf-header__brand + .hf-header__actions {
	margin-left: auto;
}
.hf-header__cta {
	min-height: 44px;
	padding: 0.625rem 1.125rem;
	gap: 0.625rem;
	font-size: 0.875rem;
	color: var(--hf-hd-cta-fg);
	background-color: var(--hf-hd-cta-bg);
	border-color: var(--hf-hd-cta-line);
	transition: background-color var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease), border-color var(--hf-dur) var(--hf-ease), opacity 0.3s var(--hf-ease), visibility 0s linear 0s;
}
.hf-header__cta:hover {
	color: var(--hf-hd-cta-fg-hover);
	background-color: var(--hf-hd-cta-bg-hover);
	border-color: var(--hf-hd-cta-line-hover);
}
/* Page Contact : le bouton garde sa couleur (pas d'aplat vif) ; filet tricolore en pied,
   comme la rubrique active de la navigation. */
.hf-header__cta[aria-current] {
	background-image: var(--hf-tricolor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 100% 2px;
}
.hf-header__cta .hf-icon {
	width: 16px;
	height: 16px;
}
.hf-header__cta:focus-visible {
	outline-color: currentColor;
}

/* ---------- Bouton du menu mobile (2 traits) ---------- */
.hf-burger {
	position: relative;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	color: inherit;
	background: none;
	border: 0;
	border-radius: var(--hf-radius);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hf-burger:focus-visible {
	outline-color: currentColor;
	outline-offset: -2px;
}
.hf-burger__lines {
	position: relative;
	display: block;
	width: 26px;
	height: 10px;
}
.hf-burger__lines > span {
	position: absolute;
	right: 0;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
	transition: top 0.3s var(--hf-ease), width 0.3s var(--hf-ease), transform var(--hf-dur) var(--hf-ease);
}
.hf-burger__lines > span:first-child {
	top: 0;
	width: 100%;
}
.hf-burger__lines > span:last-child {
	top: 8.5px;
	width: 62%;
}
.hf-burger:hover .hf-burger__lines > span:last-child {
	width: 100%;
}
.hf-burger[aria-expanded="true"] .hf-burger__lines > span {
	top: 4.25px;
	width: 100%;
}
.hf-burger[aria-expanded="true"] .hf-burger__lines > span:first-child {
	transform: rotate(45deg);
}
.hf-burger[aria-expanded="true"] .hf-burger__lines > span:last-child {
	transform: rotate(-45deg);
}

/* ---------- Menu mobile (panneau plein écran) ---------- */
.hf-mobile {
	display: none;
}
.hf-mobile::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(80% 50% at 100% 0%, rgba(3, 89, 247, 0.2), transparent 70%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 25%);
	pointer-events: none;
}
.hf-mobile__inner {
	display: flex;
	flex-direction: column;
	width: min(100% - 2 * var(--hf-gutter), var(--hf-container));
	min-height: 100%;
	margin-inline: auto;
	padding-block: clamp(12px, 3vw, 32px) 32px;
}
.hf-mobile__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-mobile__item {
	border-bottom: 1px solid var(--hf-border);
}
.hf-mobile__row {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.hf-mobile__link {
	display: flex;
	flex: 1;
	align-items: baseline;
	gap: 1rem;
	min-width: 0;
	padding-block: 1.0625rem;
	color: var(--hf-fg);
	text-decoration: none;
}
.hf-mobile__num {
	flex: none;
	width: 1.75rem;
	font-size: var(--hf-fs-eyebrow);
	font-weight: 500;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
	color: var(--hf-fg-muted);
	transform: translateY(-0.2em);
}
.hf-mobile__label {
	font-family: var(--hf-font-serif);
	font-size: clamp(1.75rem, 1.25rem + 2.4vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.016em;
	text-wrap: balance;
}
.hf-mobile__item.is-active > .hf-mobile__row .hf-mobile__label {
	font-style: italic;
	color: var(--hf-accent);
}
.hf-mobile__toggle {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--hf-fg);
	background: none;
	border: 1px solid var(--hf-border-strong);
	border-radius: var(--hf-radius);
	cursor: pointer;
	transition: border-color var(--hf-dur) var(--hf-ease), background-color var(--hf-dur) var(--hf-ease);
}
.hf-mobile__toggle[aria-expanded="true"] {
	background-color: rgba(255, 255, 255, 0.06);
	border-color: var(--hf-fg);
}
.hf-mobile__toggle .hf-icon {
	width: 18px;
	height: 18px;
	transition: transform var(--hf-dur) var(--hf-ease);
}
.hf-mobile__toggle[aria-expanded="true"] .hf-icon {
	transform: rotate(180deg);
}
.hf-mobile__sub {
	display: grid;
	gap: 0.125rem;
	margin: 0;
	padding: 0 0 1.25rem 2.75rem;
	list-style: none;
}
.hf-mobile__sub[hidden] {
	display: none;
}
.hf-mobile__sub-link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.875rem;
	min-height: 44px;
	padding-block: 0.5rem;
	font-size: 1.0625rem;
	line-height: 1.35;
	color: var(--hf-fg-2);
	text-decoration: none;
	transition: color var(--hf-dur) var(--hf-ease);
}
.hf-mobile__sub-link:hover,
.hf-mobile__sub-link[aria-current] {
	color: var(--hf-fg);
}
.hf-mobile__sub-link .hf-soon {
	font-size: 0.6875rem;
}
.hf-mobile__foot {
	display: grid;
	gap: 1.75rem;
	margin-top: auto;
	padding-top: 2.5rem;
}
.hf-mobile__cta {
	width: 100%;
	justify-content: space-between;
}
.hf-mobile__contacts {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--hf-fg-2);
	list-style: none;
}
.hf-mobile__contacts li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
}
.hf-mobile__contacts .hf-icon {
	width: 18px;
	height: 18px;
	color: var(--hf-accent);
}
.hf-mobile__contacts a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}
.hf-mobile__baseline {
	color: var(--hf-fg-muted);
}

@media (prefers-reduced-motion: no-preference) {
	.hf-header.is-menu-open .hf-mobile__item,
	.hf-header.is-menu-open .hf-mobile__foot {
		animation: hf-mobile-in 0.7s var(--hf-ease) both;
		animation-delay: calc(60ms + var(--hf-i, 0) * 55ms);
	}
	.hf-header.is-menu-open .hf-mobile__foot {
		--hf-i: 5;
	}
}
@keyframes hf-mobile-in {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Points de rupture de l'en-tête ---------- */
@media (max-width: 1200px) {
	.hf-nav__list {
		gap: clamp(1.125rem, 2vw, 1.75rem);
	}
	.hf-header__cta .hf-icon {
		display: none;
	}
}
@media (max-width: 960px) {
	.hf-header {
		--hf-hd-logo-h: 48px;
	}
	.hf-header.is-scrolled {
		--hf-hd-logo-h: 44px;
	}
	.hf-nav,
	.hf-backdrop {
		display: none;
	}
	.hf-header .hf-header__actions {
		margin-left: auto;
	}
	.hf-burger {
		display: inline-flex;
	}
	.hf-mobile {
		position: fixed;
		inset: var(--hf-adminbar-h) 0 0;
		z-index: -1;
		display: block;
		padding-top: var(--hf-hd-h);
		overflow-y: auto;
		overscroll-behavior: contain;
		background-color: var(--hf-bg);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.4s var(--hf-ease), visibility 0s linear 0.4s;
	}
	.hf-header.is-menu-open .hf-mobile {
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}
	/* Menu ouvert : le panneau porte son propre bouton de contact (pas de doublon à côté de la croix) */
	.hf-header.is-menu-open .hf-header__cta {
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s var(--hf-ease), visibility 0s linear 0.2s;
	}
}
@media (max-width: 640px) {
	.hf-header__cta {
		display: none;
	}
}
@media (max-width: 600px) {
	/* La barre d'administration défile avec la page sur petit écran */
	body.admin-bar .hf-header.is-scrolled {
		top: 0;
	}
	body.admin-bar .hf-header.is-scrolled .hf-mobile {
		top: 0;
	}
}

/* ==========================================================================
   Fil d'Ariane (spécificité nulle : les blocs peuvent l'ajuster)
   ========================================================================== */
:where(.hf-breadcrumb) {
	font-size: var(--hf-fs-xs);
	line-height: 1.4;
	color: var(--hf-fg-muted);
}
:where(.hf-breadcrumb__list) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
:where(.hf-breadcrumb__item) {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}
/* Séparateur « › » décoratif (texte alternatif vide pour les lecteurs d'écran) */
:where(.hf-breadcrumb__item + .hf-breadcrumb__item)::before {
	content: "›";
	content: "›" / "";
	margin: 0 0.6875rem;
	opacity: 0.7;
}
:where(.hf-breadcrumb) a {
	position: relative;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--hf-dur) var(--hf-ease), border-color var(--hf-dur) var(--hf-ease);
}
/* Zone tactile de 44 px de haut, sans changer la mise en page */
:where(.hf-breadcrumb) a::before {
	content: "";
	position: absolute;
	inset: -12px -4px;
}
:where(.hf-breadcrumb) a:hover {
	color: var(--hf-fg);
	border-bottom-color: currentColor;
}
:where(.hf-breadcrumb) [aria-current="page"] {
	overflow: hidden;
	max-width: 44ch;
	font-weight: 500;
	color: var(--hf-fg-2);
	white-space: nowrap;
	text-overflow: ellipsis;
}
@media (max-width: 640px) {
	:where(.hf-breadcrumb) [aria-current="page"] {
		max-width: 24ch;
	}
}

/* ==========================================================================
   En-tête de page par défaut (pages sans bandeau, archives)
   ========================================================================== */
.hf-page-header {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 112px);
	border-bottom: 1px solid var(--hf-border);
}
/* Trame verticale très discrète, alignée sur les colonnes */
.hf-page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(90deg, rgba(4, 32, 79, 0.035) 0 1px, transparent 1px 120px);
	-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
	pointer-events: none;
}
.hf-page-header__inner {
	display: grid;
	gap: clamp(40px, 5vw, 72px);
}
.hf-page-header__head {
	display: grid;
	justify-items: start;
	gap: 1.5rem;
}
.hf-page-header__title {
	max-width: 20ch;
}
.hf-page-header__lead {
	max-width: 60ch;
}
.hf-page-header__meta {
	margin: 0;
	font-size: var(--hf-fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hf-fg-muted);
}
/* Contenu natif sous l'en-tête de page : respiration plus compacte */
.hf-entry--after-header > :not(.hf-block):first-child {
	margin-top: var(--hf-section-y-compact);
}
.hf-entry--after-header > :not(.hf-block):last-child {
	margin-bottom: var(--hf-section-y);
}

/* Pagination interne d'un contenu (<!--nextpage-->) */
.hf-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: var(--hf-fs-small);
}

/* ==========================================================================
   Fiche société — bandeau : voir blocks/societe-hero/style.css (bloc hf/societe-hero,
   chargé sur le site et dans l'éditeur ; le gabarit single-societe.php l'utilise aussi en repli).
   ========================================================================== */

/* ==========================================================================
   Page 404
   ========================================================================== */
.hf-404 {
	padding-block: clamp(56px, 8vw, 136px);
}
.hf-404__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
	column-gap: clamp(40px, 7vw, 128px);
	row-gap: 24px;
}
.hf-404__code {
	position: sticky;
	top: calc(var(--hf-header-h-scrolled) + var(--hf-adminbar-h) + 48px);
	margin: 0;
	font-family: var(--hf-font-serif);
	font-size: clamp(7.5rem, 2rem + 16.5vw, 19rem);
	font-weight: 300;
	line-height: 0.84;
	letter-spacing: -0.055em;
	color: var(--hf-navy-900);
	user-select: none;
}
.hf-404__code em {
	font-style: italic;
	color: var(--hf-blue);
}
.hf-404__body {
	display: grid;
	justify-items: start;
	gap: 1.5rem;
	max-width: 44rem;
}
.hf-404__title {
	max-width: 14ch;
}
.hf-404__lead {
	max-width: 52ch;
}
.hf-404__body .hf-actions {
	margin-top: 0.5rem;
}
.hf-404__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem var(--hf-grid-gap);
	width: 100%;
	margin-top: 2rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--hf-border);
}
.hf-404__heading {
	margin: 0 0 0.75rem;
	font-size: var(--hf-fs-eyebrow);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hf-fg-muted);
}
.hf-404__links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-404__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.8125rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--hf-fg);
	text-decoration: none;
	border-bottom: 1px solid var(--hf-border);
	transition: color var(--hf-dur) var(--hf-ease), border-color var(--hf-dur) var(--hf-ease);
}
.hf-404__link .hf-icon {
	width: 16px;
	height: 16px;
	color: var(--hf-fg-muted);
	transition: transform var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease);
}
.hf-404__link:hover {
	color: var(--hf-blue);
	border-bottom-color: var(--hf-border-strong);
}
.hf-404__link:hover .hf-icon {
	color: var(--hf-blue);
	transform: translateX(4px);
}
.hf-404__link .hf-soon {
	font-size: 0.6875rem;
}
@media (max-width: 900px) {
	.hf-404__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.hf-404__code {
		position: static;
	}
}
@media (max-width: 560px) {
	.hf-404__nav {
		grid-template-columns: minmax(0, 1fr);
	}
	.hf-404__body .hf-actions {
		width: 100%;
	}
	.hf-404__body .hf-actions .hf-btn {
		flex: 1 1 100%;
		justify-content: space-between;
	}
}

/* ==========================================================================
   Archives, actualités, recherche
   ========================================================================== */
.hf-archive__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hf-border);
}
.hf-archive__item {
	border-bottom: 1px solid var(--hf-border);
}
.hf-archive__article {
	display: grid;
	justify-items: start;
	gap: 0.875rem;
	padding-block: clamp(28px, 3vw, 40px);
}
.hf-archive__meta {
	margin: 0;
	font-size: var(--hf-fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hf-fg-muted);
}
.hf-archive__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease);
}
.hf-archive__title a:hover {
	color: var(--hf-blue);
	background-size: 100% 1px;
}
.hf-archive__excerpt {
	max-width: 62ch;
}
.hf-archive__empty {
	display: grid;
	justify-items: start;
	gap: 1.25rem;
}
.hf-pagination {
	margin-top: 3rem;
}
.hf-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.hf-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 0.75rem;
	font-size: var(--hf-fs-small);
	font-weight: 600;
	color: var(--hf-fg);
	text-decoration: none;
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	transition: border-color var(--hf-dur) var(--hf-ease), background-color var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease);
}
.hf-pagination a.page-numbers:hover {
	border-color: var(--hf-fg);
}
.hf-pagination .page-numbers.current {
	color: var(--hf-white);
	background-color: var(--hf-navy-900);
	border-color: var(--hf-navy-900);
}
.hf-pagination .page-numbers .hf-icon {
	width: 18px;
	height: 18px;
}
.hf-pagination__prev {
	transform: rotate(180deg);
}

/* Formulaire de recherche */
.hf-search {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 32rem;
	border-bottom: 1px solid var(--hf-border-strong);
	transition: border-color var(--hf-dur) var(--hf-ease);
}
.hf-search:focus-within {
	border-bottom-color: var(--hf-accent);
}
.hf-search__input {
	flex: 1;
	min-width: 0;
	padding: 0.875rem 0;
	font: inherit;
	color: var(--hf-fg);
	background: transparent;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.hf-search__input::placeholder {
	color: var(--hf-fg-muted);
}
.hf-search__input:focus {
	outline: none;
}
.hf-search__submit {
	display: grid;
	place-items: center;
	width: 48px;
	padding: 0;
	color: var(--hf-fg);
	background: none;
	border: 0;
	cursor: pointer;
}
.hf-search__submit .hf-icon {
	width: 20px;
	height: 20px;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
/* Filet de séparation en tête (filet fin pleine largeur + segment tricolore aligné sur la grille) :
   la transition reste marquée même après une section sombre. */
.hf-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	font-size: 0.9375rem;
	line-height: 1.6;
	box-shadow: inset 0 1px 0 var(--hf-border);
}
.hf-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(50% 60% at 100% 0%, rgba(3, 89, 247, 0.14), transparent 70%);
	pointer-events: none;
}
.hf-footer__top,
.hf-footer__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--hf-grid-gap);
}
.hf-footer__top {
	position: relative;
	row-gap: 40px;
	align-items: start;
	padding-block: clamp(72px, 8vw, 120px) clamp(56px, 6vw, 88px);
}
.hf-footer__top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 108px;
	height: 2px;
	background: var(--hf-tricolor);
}
.hf-footer__brand {
	grid-column: 1 / span 3;
	display: inline-flex;
	justify-self: start;
	color: var(--hf-white);
	text-decoration: none;
}
.hf-footer__brand svg {
	display: block;
	width: clamp(136px, 11vw, 164px);
	height: auto;
}
.hf-footer__brand .hf-logo-text {
	font-size: 1.25rem;
}
.hf-footer__brand:focus-visible {
	outline-color: currentColor;
	outline-offset: 8px;
}
.hf-footer__statement {
	grid-column: 5 / span 8;
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 1.375rem;
	padding-top: 0.25rem;
}
.hf-footer__text {
	max-width: 40ch;
	margin: 0;
	font-family: var(--hf-font-serif);
	font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
	line-height: 1.34;
	letter-spacing: -0.014em;
	color: var(--hf-fg);
	text-wrap: balance;
}
.hf-footer__grid {
	row-gap: 48px;
	padding-block: clamp(48px, 5vw, 72px);
	border-top: 1px solid var(--hf-border);
}
.hf-footer__col--groupe {
	grid-column: 1 / span 3;
}
.hf-footer__col--societes {
	grid-column: 5 / span 5;
}
.hf-footer__col--contact {
	grid-column: 10 / span 3;
}
.hf-footer__title {
	margin: 0 0 1.375rem;
	font-family: var(--hf-font-sans);
	font-size: var(--hf-fs-eyebrow);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hf-fg-muted);
}
.hf-footer__links,
.hf-footer__societes,
.hf-footer__contact,
.hf-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hf-footer__links {
	display: grid;
	gap: 0.125rem;
}
/* Liens : soulignement fin qui se déploie (page courante : souligné) */
.hf-footer__link,
.hf-footer__legal-link,
.hf-footer__top-link {
	color: var(--hf-fg-2);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: color var(--hf-dur) var(--hf-ease), background-size var(--hf-dur) var(--hf-ease);
}
.hf-footer__link:hover,
.hf-footer__legal-link:hover,
.hf-footer__top-link:hover,
.hf-footer__link[aria-current],
.hf-footer__legal-link[aria-current] {
	color: var(--hf-fg);
	background-size: 100% 1px;
}
.hf-footer__links .hf-footer__link {
	display: inline-block;
	padding-block: 0.3125rem;
}
/* Sociétés : grille à rangées alignées (une pastille « Prochainement » ne décale pas les voisines) */
.hf-footer__societes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--hf-grid-gap);
}
.hf-footer__societe {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: center;
	gap: 0 0.75rem;
	padding-block: 0.3125rem;
}
.hf-footer__societe .hf-soon {
	letter-spacing: 0.14em;
	color: var(--hf-fg-muted);
}
.hf-footer__societe .hf-soon::before {
	animation: none;
}
.hf-footer__contact {
	display: grid;
	gap: 0.875rem;
	margin-bottom: 1.75rem;
}
.hf-footer__contact-item {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 0.875rem;
	color: var(--hf-fg-2);
}
/* Pas de mot orphelin (« et 7j/7 ») dans une colonne étroite */
.hf-footer__contact-item > :is(a, span) {
	text-wrap: balance;
}
.hf-footer__contact-item .hf-icon {
	width: 18px;
	height: 18px;
	margin-top: 0.2em;
	color: var(--hf-accent);
}
.hf-footer__cta {
	min-height: 48px;
	padding-block: 0.75rem;
}

/* Barre basse : filet tricolore, mentions, ancienne dénomination */
.hf-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.875rem 2.5rem;
	padding-block: 28px 36px;
	font-size: var(--hf-fs-xs);
	line-height: 1.5;
	color: var(--hf-fg-muted);
	border-top: 1px solid var(--hf-border);
}
.hf-footer__rule {
	position: absolute;
	top: -1px;
	left: 0;
	width: 108px;
	height: 2px;
	background: var(--hf-tricolor);
}
.hf-footer__legal-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 2rem;
}
.hf-footer__copy,
.hf-footer__identity {
	margin: 0;
}
.hf-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1.5rem;
}
.hf-footer__legal-link {
	color: var(--hf-fg-muted);
}
.hf-footer__identity {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0;
}
.hf-footer__identity > span + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 0.875rem;
	vertical-align: middle;
	background: currentColor;
	border-radius: 50%;
	opacity: 0.7;
}
.hf-footer__top-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--hf-fg-muted);
	background-position: 0 100%;
}
.hf-footer__top-icon {
	width: 14px;
	height: 14px;
	transform: rotate(180deg);
	transition: transform var(--hf-dur) var(--hf-ease);
}
.hf-footer__top-link:hover .hf-footer__top-icon {
	transform: rotate(180deg) translateY(3px);
}

@media (max-width: 1100px) {
	.hf-footer__col--groupe {
		grid-column: 1 / span 3;
	}
	.hf-footer__col--societes {
		grid-column: 4 / span 5;
	}
	.hf-footer__col--contact {
		grid-column: 9 / span 4;
	}
	.hf-footer__statement {
		grid-column: 4 / span 9;
	}
}
/* Écrans tactiles : cibles de 44 px de haut (le soulignement reste collé au texte) */
@media (max-width: 900px) {
	.hf-footer__brand,
	.hf-footer__statement {
		grid-column: 1 / -1;
	}
	.hf-footer__col--groupe {
		grid-column: 1 / span 5;
	}
	.hf-footer__col--contact {
		grid-column: 7 / span 6;
	}
	.hf-footer__col--societes {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.hf-footer__societes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.hf-footer__title {
		margin-bottom: 0.625rem;
	}
	.hf-footer__link,
	.hf-footer__legal-link,
	.hf-footer__top-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		background-position: 0 calc(50% + 0.8em);
	}
	.hf-footer__links,
	.hf-footer__contact {
		gap: 0;
	}
	.hf-footer__links .hf-footer__link,
	.hf-footer__societe {
		padding-block: 0;
	}
	/* « Prochainement » sous le nom, glissé dans la marge basse de la cible tactile du lien
	   (le toucher traverse la pastille) : les rangées restent compactes et alignées en haut. */
	.hf-footer__societe {
		flex-direction: column;
		align-items: flex-start;
	}
	.hf-footer__societe .hf-soon {
		margin: -0.625rem 0 0.5rem;
		pointer-events: none;
	}
	.hf-footer__contact-item {
		align-items: center;
		min-height: 44px;
	}
	.hf-footer__contact-item .hf-icon {
		margin-top: 0;
	}
	.hf-footer__legal {
		gap: 0 1.5rem;
	}
}
/* Téléphone : pied de page resserré (≈ 1 écran de moins) */
@media (max-width: 640px) {
	.hf-footer__top {
		row-gap: 28px;
		padding-block: 56px 40px;
	}
	.hf-footer__top::before {
		width: 84px;
	}
	.hf-footer__brand svg {
		width: 124px;
	}
	.hf-footer__text {
		font-size: 1.125rem;
		line-height: 1.45;
	}
	.hf-footer__grid {
		row-gap: 32px;
		padding-block: 36px 40px;
	}
	.hf-footer__col--groupe,
	.hf-footer__col--contact,
	.hf-footer__col--societes {
		grid-column: 1 / -1;
		grid-row: auto;
	}
	.hf-footer__links,
	.hf-footer__societes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.25rem;
	}
	.hf-footer__contact {
		margin-bottom: 1.25rem;
	}
	.hf-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.375rem;
		padding-block: 20px 28px;
	}
	.hf-footer__legal-wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}
	.hf-footer__identity {
		flex-direction: column;
		align-items: flex-start;
		padding-block: 0.25rem;
	}
	.hf-footer__identity > span + span::before {
		display: none;
	}
	.hf-footer__copy {
		padding-top: 0.75rem;
	}
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	.hf-header,
	.hf-header *,
	.hf-mega,
	.hf-subnav,
	.hf-mobile,
	.hf-backdrop {
		transition-duration: 0.01ms !important;
	}
	.hf-mega,
	.hf-subnav {
		transform: none;
	}
}

/* ==========================================================================
   Impression
   ========================================================================== */
@media print {
	:root,
	[class*="hf-surface--"] {
		--hf-bg: #fff;
		--hf-fg: #000;
		--hf-fg-2: #1a1a1a;
		--hf-fg-muted: #555;
		--hf-border: #ccc;
		--hf-border-strong: #999;
		--hf-accent: #000;
	}
	body {
		font-size: 11pt;
	}
	.hf-header,
	.hf-backdrop,
	.hf-skip-link,
	.hf-mobile,
	.hf-footer__grid,
	.hf-footer__top-link,
	.hf-footer::before,
	.hf-societe-hero::before,
	.hf-societe-hero__media,
	.hf-societe-hero__actions,
	.hf-page-header::before {
		display: none !important;
	}
	.hf-main {
		padding-top: 0;
	}
	html.hf-js [data-hf-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
	.hf-societe-hero {
		min-height: 0;
		padding-top: 0;
	}
	.hf-footer {
		padding-top: 24pt;
		border-top: 1px solid #ccc;
	}
	.hf-footer__brand svg {
		width: 96px;
	}
	.hf-entry > p a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		color: #555;
	}
	h1,
	h2,
	h3 {
		break-after: avoid;
	}
	img {
		break-inside: avoid;
	}
}

/* ---------- Bandeau cookies (Complianz) harmonisé avec la charte ----------
   Couleurs de base réglées dans Complianz › Bandeau de consentement › Couleurs ;
   ces règles ajoutent la signature du groupe (filet tricolore, titre serif). */
.cmplz-cookiebanner {
	font-family: var(--hf-font-sans) !important;
	box-shadow: var(--hf-shadow-lg) !important;
}
.cmplz-cookiebanner::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--hf-blue) 0 33.333%, #d2d8e4 33.333% 66.666%, var(--hf-red) 66.666% 100%);
	pointer-events: none;
}
.cmplz-cookiebanner .cmplz-title {
	font-family: var(--hf-font-serif) !important;
	font-size: 1.25rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em;
	color: var(--hf-ink) !important;
}
.cmplz-cookiebanner .cmplz-btn {
	font-weight: 600 !important;
	transition: background-color var(--hf-dur) var(--hf-ease), border-color var(--hf-dur) var(--hf-ease), color var(--hf-dur) var(--hf-ease);
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
	background-color: var(--hf-blue) !important;
	border-color: var(--hf-blue) !important;
}
.cmplz-cookiebanner .cmplz-btn:not(.cmplz-accept):hover {
	border-color: var(--hf-navy-900) !important;
}
