/* ===========================================================================
   MCFOI · page-catalogue.css
   Catalogue géant one-page : tout le catalogue, filtrage instantané (JS),
   sans rechargement. Dense et navigable (façon chr-restauration) mais moderne.
   =========================================================================== */

.catalog__head {
	margin-bottom: var(--sp-5);
}
.catalog__title {
	font-size: clamp(32px, 4.5vw, 64px);
	line-height: 0.95;
	margin-bottom: var(--sp-3);
}
.catalog__lede {
	font-family: var(--ff-mono);
	font-size: 14px;
	color: var(--mcfoi-steel);
	max-width: 60ch;
}

/* ─── Barre de filtres collante ──────────────────────────── */
.catalog__bar {
	position: sticky;
	top: var(--mcfoi-nav-h);
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
	justify-content: space-between;
	padding: var(--sp-3) 0;
	margin-bottom: var(--sp-2);
	background: color-mix(in srgb, var(--mcfoi-paper) 92%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--mcfoi-rule);
}
.catalog__filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}
/* Barre sans chips d'univers (pages catégorie) : recherche alignée à droite. */
.catalog__bar--nofilters { justify-content: flex-end; }
.catalog__chip {
	font-family: var(--ff-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mcfoi-ink);
	background: transparent;
	border: 1px solid var(--mcfoi-rule);
	border-radius: 0;
	padding: 9px 14px;
	cursor: pointer;
	transition: background 160ms var(--ease-industrial), color 160ms var(--ease-industrial), border-color 160ms var(--ease-industrial);
}
.catalog__chip:hover {
	border-color: var(--mcfoi-ink);
}
.catalog__chip.is-active {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	border-color: var(--mcfoi-ink);
}
.catalog__chip-n {
	opacity: 0.6;
	margin-left: 4px;
	font-size: 11px;
}
.catalog__search {
	flex: 1 1 240px;
	max-width: 360px;
}
.catalog__search input {
	width: 100%;
	height: 44px;
	border: 2px solid var(--mcfoi-ink);
	border-radius: 0;
	background: var(--mcfoi-paper);
	font-family: var(--ff-mono);
	font-size: 13px;
	color: var(--mcfoi-ink);
	padding: 0 16px;
	transition: box-shadow 160ms var(--ease-industrial);
}
.catalog__search input::placeholder {
	color: var(--mcfoi-steel);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 11px;
}
.catalog__search input:focus {
	outline: none;
	box-shadow: 4px 4px 0 var(--mcfoi-blaze);
}

/* Filtre marque (2e dimension, combinable). */
.catalog__brands {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
	margin: var(--sp-3) 0 0;
}
.catalog__brands-label {
	font-family: var(--ff-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mcfoi-steel);
	margin-right: var(--sp-1);
}
.catalog__chip--brand,
.catalog__chip--subcat {
	padding: 7px 12px;
	font-size: 11px;
}
.catalog__chip[hidden] { display: none; }
.catalog__brands[hidden] { display: none; }
.catalog__subcats { margin-top: var(--sp-2); }

.catalog__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--sp-3);
	flex-wrap: wrap;
	margin: var(--sp-4) 0;
}
/* ─── Filtres actifs (badges au-dessus de la grille) ─── */
.catalog__actifs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: calc(-1 * var(--sp-2)) 0 var(--sp-4);
}
.catalog__actifs[hidden] { display: none; }
.catalog__actif {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 0 0 12px;
	font-family: var(--ff-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mcfoi-paper);
	background: var(--mcfoi-ink);
	border-left: 3px solid var(--mcfoi-blaze);
}
.catalog__actif-type { font-weight: 400; opacity: .7; }
.catalog__actif-x {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .18);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}
.catalog__actif-x:hover,
.catalog__actif-x:focus-visible { background: var(--mcfoi-blaze); outline: none; }
.catalog__actifs-tout {
	margin-left: var(--sp-1);
	padding: 6px 2px;
	border: 0;
	background: transparent;
	font-family: var(--ff-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mcfoi-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.catalog__actifs-tout:hover { color: var(--mcfoi-blaze); }

.catalog__count {
	font-family: var(--ff-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mcfoi-steel);
	margin: 0;
}

/* Bascule d'affichage grille / liste */
.catalog__views {
	display: flex;
}
.catalog__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--mcfoi-paper);
	border: 1px solid var(--mcfoi-rule);
	color: var(--mcfoi-steel);
	cursor: pointer;
	transition: background 160ms var(--ease-industrial), color 160ms var(--ease-industrial);
}
.catalog__view + .catalog__view {
	border-left: none;
}
.catalog__view svg rect {
	fill: currentColor;
}
.catalog__view:hover {
	color: var(--mcfoi-ink);
}
.catalog__view.is-active {
	background: var(--mcfoi-ink);
	border-color: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
}

/* Colonne droite de la barre : recherche + tri discret en dessous. */
.catalog__search-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 240px;
	max-width: 360px;
}
.catalog__search-wrap .catalog__search { flex: none; max-width: none; width: 100%; }
.catalog__sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-end; /* discret, aligné à droite sous la recherche */
}
.catalog__sort-label {
	font-family: var(--ff-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mcfoi-steel-soft);
}
.catalog__sort select {
	font-family: var(--ff-mono);
	font-size: 11px;
	color: var(--mcfoi-steel);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--mcfoi-rule);
	padding: 2px 18px 2px 4px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238A95A8' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
}
.catalog__sort select:hover { color: var(--mcfoi-ink); }
.catalog__sort select:focus-visible { outline: 2px solid var(--mcfoi-blaze); outline-offset: 1px; }

/* « Voir tous les produits ». */
.catalog__more-wrap { text-align: center; margin: var(--sp-6) 0 0; }
.catalog__more {
	font-family: var(--ff-mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mcfoi-ink);
	background: var(--mcfoi-paper);
	border: 2px solid var(--mcfoi-ink);
	padding: 14px 28px;
	cursor: pointer;
	transition: background 160ms var(--ease-industrial), color 160ms var(--ease-industrial), box-shadow 160ms var(--ease-industrial), transform 160ms var(--ease-industrial);
}
.catalog__more:hover {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--mcfoi-blaze);
}
.catalog__more-n { opacity: 0.7; font-weight: 400; }

/* ─── Vue liste (lignes) ─────────────────────────────────── */
.catalog__grid.is-list {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.catalog__grid.is-list .catalog__item {
	flex-direction: row;
	align-items: stretch;
}
.catalog__grid.is-list .pcard__img {
	flex: 0 0 170px;
	width: 170px;
	/* La colonne prend la hauteur de la ligne, plus haute que la vignette :
	   sans centrage, l'appareil se tasse en haut d'un bandeau blanc. */
	display: flex;
	align-items: center;
}
/* La vignette de liste rognait la composition : le logo de marque, posé sous
   l'appareil, remontait au niveau du badge AGIR PLUS et les deux se
   chevauchaient. On garde la proportion de la composition et on l'inscrit
   entière dans la case. */
.catalog__grid.is-list .pcard__img img:not(.pcard__agir) {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}
/* À 170 px de large, le badge pleine taille couvre un tiers de la vignette. */
.catalog__grid.is-list img.pcard__agir {
	height: 15px;
	top: 6px;
	right: 6px;
	padding: 2px 4px;
}
.catalog__grid.is-list .pcard__body {
	flex: 1;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-4);
}
.catalog__grid.is-list .pcard__title {
	flex: 1 1 240px;
}
.catalog__grid.is-list .pcard__actions {
	flex: 0 0 auto;
	margin: 0;
}
@media (max-width: 600px) {
	.catalog__grid.is-list .pcard__img {
		flex-basis: 110px;
		width: 110px;
	}
	.catalog__grid.is-list .pcard__body {
		flex-direction: column;
		align-items: flex-start;
	}
	/* En colonne, la base de 240 px du titre devient une hauteur : la ligne
	   de liste s'étirait à près de 400 px pour deux lignes de texte. */
	.catalog__grid.is-list .pcard__title {
		flex: 0 1 auto;
	}
}

/* ─── Grille dense ───────────────────────────────────────── */
.catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: var(--sp-3);
}
.catalog__item {
	display: flex;
	flex-direction: column;
}
/* Une seule action (Devis) → pleine largeur. */
.catalog__item .pcard__actions {
	grid-template-columns: 1fr;
}
.catalog__item.is-hidden {
	display: none;
}

/* État vide */
.catalog__empty {
	font-family: var(--ff-mono);
	font-size: 14px;
	color: var(--mcfoi-steel);
	padding: var(--sp-6) 0;
	text-align: center;
}
.catalog__reset {
	font-family: var(--ff-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--mcfoi-blaze);
	color: var(--mcfoi-paper);
	border: none;
	padding: 8px 14px;
	margin-left: var(--sp-2);
	cursor: pointer;
}

@media (max-width: 600px) {
	.catalog__bar { flex-direction: column; align-items: stretch; }
	.catalog__search { max-width: none; }
	.catalog__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-2); }

	/* Sur mobile, recherche et tri occupaient près d'un tiers de l'écran avant
	   le premier produit. On compacte : champ plus bas, tri sur la même ligne,
	   marges resserrées — la mobilebar offre déjà un accès direct à la recherche. */
	.catalog__bar { padding: var(--sp-2) 0; gap: var(--sp-2); margin-bottom: 0; }
	/* La barre passe en colonne sur mobile : le `flex-basis: 240px` hérité du
	   mode ligne s'y applique alors à la hauteur, et gonflait la barre collante
	   à 249 px de haut — d'où une large bande floue au-dessus et au-dessous du
	   champ. On rend la hauteur au contenu. */
	.catalog__search-wrap { flex: 0 0 auto; flex-direction: row; align-items: center; gap: var(--sp-2); max-width: none; }
	.catalog__search-wrap .catalog__search { flex: 1 1 auto; }
	.catalog__search input { height: 38px; font-size: 12px; padding: 0 12px; }
	.catalog__search input::placeholder { font-size: 11px; letter-spacing: 0.04em; }
	.catalog__sort { flex: none; align-self: auto; gap: 4px; }
	.catalog__sort > span,
	.catalog__sort label { display: none; } /* le libellé « Trier : » est superflu ici */
	.catalog__sort select { max-width: 122px; font-size: 11px; }
	.catalog__meta { margin: var(--sp-2) 0; }
}

/* ===========================================================================
   Accueil = catalogue direct : bandes sous le catalogue
   =========================================================================== */

/* Réassurance (4 repères chiffrés). */
.home-trust {
	border-top: 1px solid var(--mcfoi-rule);
	border-bottom: 1px solid var(--mcfoi-rule);
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
}
.home-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.home-trust__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--sp-5) var(--sp-4);
	border-left: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent);
}
.home-trust__item:first-child { border-left: none; }
.home-trust__k {
	font-family: var(--ff-display, var(--ff-mono));
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 800;
	line-height: 1;
	color: var(--mcfoi-frost);
}
.home-trust__v {
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.4;
	color: color-mix(in srgb, var(--mcfoi-paper) 78%, transparent);
}

/* Bande Pièces détachées (rappel + CTA). */
.home-pieces {
	padding: var(--sp-7) 0;
	background: var(--mcfoi-paper);
}
.home-pieces__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	flex-wrap: wrap;
	border: 2px solid var(--mcfoi-ink);
	box-shadow: 6px 6px 0 var(--mcfoi-blaze);
	padding: var(--sp-5) var(--sp-5);
}
.home-pieces__txt { flex: 1 1 420px; }
.home-pieces__title {
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.05;
	margin: var(--sp-2) 0 var(--sp-2);
}
.home-pieces__lede {
	font-family: var(--ff-mono);
	font-size: 13px;
	line-height: 1.6;
	color: var(--mcfoi-steel);
	max-width: 62ch;
	margin: 0;
}
.home-pieces__cta { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 720px) {
	.home-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.home-trust__item:nth-child(3) { border-left: none; }
	.home-trust__item:nth-child(odd) { border-left: none; }
	.home-trust__item:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent); }
}
@media (max-width: 600px) {
	.home-pieces__inner { box-shadow: 4px 4px 0 var(--mcfoi-blaze); padding: var(--sp-4); }
}

/* ─── Section contenu SEO (accueil) ──────────────────────── */
.home-seo {
	padding: var(--sp-7) 0 var(--sp-8);
	border-top: 1px solid var(--mcfoi-rule);
}
.home-seo__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: var(--sp-7);
	align-items: start;
}
.home-seo__title {
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.1;
	margin-bottom: var(--sp-4);
}
.home-seo__main p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	margin-bottom: var(--sp-3);
	max-width: 64ch;
}
.home-seo__main strong { color: var(--mcfoi-ink); font-weight: 700; }
.home-seo__sub {
	font-family: var(--ff-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mcfoi-blaze);
	margin: 0 0 var(--sp-3);
}
.home-seo__links ul {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--sp-5);
}
.home-seo__links li { border-top: 1px solid var(--mcfoi-rule); }
.home-seo__links li:last-child { border-bottom: 1px solid var(--mcfoi-rule); }
/* Restreint aux liens de la liste : sans le `li`, la règle attrapait aussi le
   bouton de devis placé sous le bloc, l'étirait sur toute la largeur et lui
   imposait la police et le décalage au survol des liens d'univers. */
.home-seo__links li a {
	display: block;
	padding: var(--sp-2) 0;
	font-family: var(--ff-mono);
	font-size: 13px;
	color: var(--mcfoi-ink);
	text-decoration: none;
	transition: color 160ms var(--ease-industrial), padding-left 160ms var(--ease-industrial);
}
.home-seo__links li a:hover { color: var(--mcfoi-blaze); padding-left: 8px; }
.home-seo__links .mcfoi-btn { margin-top: var(--sp-4); }
.home-seo__zones {
	font-family: var(--ff-mono);
	font-size: 13px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	margin: 0 0 var(--sp-4);
}
.home-seo__zones strong { color: var(--mcfoi-ink); }
@media (max-width: 820px) {
	.home-seo__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ─── Haut d'accueil en 2 colonnes (texte + panneau preuves) ─ */
.catalog__head--split {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: var(--sp-7);
	align-items: end;
}
.catalog__aside {
	border: 2px solid var(--mcfoi-ink);
	box-shadow: 6px 6px 0 var(--mcfoi-blaze);
	background: var(--mcfoi-paper);
	padding: var(--sp-4);
}
.ca__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: var(--sp-3) 0;
	border-top: 1px solid var(--mcfoi-rule);
}
.ca__row:first-child { border-top: none; padding-top: 0; }
.ca__k {
	font-family: var(--ff-display);
	font-weight: 800;
	font-size: 22px;
	line-height: 1;
	color: var(--mcfoi-ink);
}
.ca__v {
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.4;
	color: var(--mcfoi-steel);
}
.ca__cta {
	display: block;
	text-align: center;
	margin-top: var(--sp-3);
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	font-family: var(--ff-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 12px 16px;
	transition: background 160ms var(--ease-industrial);
}
.ca__cta:hover { background: var(--mcfoi-blaze); }
@media (max-width: 880px) {
	.catalog__head--split { grid-template-columns: 1fr; gap: var(--sp-5); align-items: stretch; }
}

/* ===========================================================================
   Bandeau déroulant des marques (marquee) — accueil + À propos
   =========================================================================== */
.brandbar {
	padding: var(--sp-3) 0;     /* compact : les logos ont déjà du blanc intégré */
	border-top: 1px solid var(--mcfoi-rule);
	border-bottom: 1px solid var(--mcfoi-rule);
	background: #fff;            /* fond blanc : pas de « carré blanc » derrière les logos */
	overflow: hidden;
}
.brandbar--ink {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	border-top: none;
}
.brandbar__head { margin-bottom: var(--sp-2); }
.brandbar__title {
	font-size: clamp(20px, 2.4vw, 30px);
	line-height: 1.1;
	margin: var(--sp-2) 0 0;
}
.brandbar__viewport {
	position: relative;
	overflow: hidden;
	/* Fondu sur les bords pour un défilement « infini » propre. */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brandbar__track {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: brandbar-scroll 38s linear infinite;
}
.brandbar__viewport:hover .brandbar__track { animation-play-state: paused; }
.brandbar__item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 155px;           /* case carrée ~155px : logos affichés en grand */
	width: 200px;            /* un peu plus large pour les logos non carrés */
}
.brandbar__logo {
	max-height: 100%;        /* le logo s'inscrit dans la case, sans déformation */
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 200ms var(--ease-industrial);
}
.brandbar__item:hover .brandbar__logo { transform: scale(1.05); }

@keyframes brandbar-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); } /* le set est doublé dans le DOM */
}
@media (prefers-reduced-motion: reduce) {
	.brandbar__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: var(--sp-5); }
	.brandbar__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ===========================================================================
   Accueil : réassurance, services, pourquoi MCFOI (substance commerciale CHR)
   =========================================================================== */

/* Bande réassurance (4 repères, fond encre). */
.home-reass {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	border-top: 1px solid var(--mcfoi-rule);
	border-bottom: 1px solid var(--mcfoi-rule);
}
.home-reass__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.home-reass__item {
	padding: var(--sp-5) var(--sp-4);
	border-left: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent);
}
.home-reass__item:first-child { border-left: none; }
.home-reass__k {
	font-family: var(--ff-display);
	font-weight: 800;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.05;
	color: var(--mcfoi-frost);
	margin-bottom: 6px;
}
.home-reass__v {
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.5;
	color: color-mix(in srgb, var(--mcfoi-paper) 80%, transparent);
}

/* Services (4 piliers). */
.home-services { padding: var(--sp-8) 0; }
.home-services__title {
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.05;
	margin: var(--sp-2) 0 var(--sp-3);
}
.home-services__lede {
	font-family: var(--ff-mono);
	font-size: 14px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	max-width: 70ch;
	margin: 0 0 var(--sp-6);
}
.home-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--sp-4);
}
.hs-card {
	border: 1px solid var(--mcfoi-rule);
	background: #fff;
	padding: var(--sp-4);
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	transition: transform 180ms var(--ease-industrial), box-shadow 180ms var(--ease-industrial);
}
.hs-card:hover {
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 var(--mcfoi-blaze);
}
.hs-card__num {
	font-family: var(--ff-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--mcfoi-blaze);
}
.hs-card__title {
	font-size: 18px;
	line-height: 1.15;
	margin: 0;
}
.hs-card__txt {
	font-family: var(--ff-mono);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--mcfoi-steel);
	margin: 0;
}

/* Pourquoi MCFOI (climat tropical). */
.home-why {
	padding: var(--sp-8) 0;
	background: var(--mcfoi-paper-soft);
	border-top: 1px solid var(--mcfoi-rule);
}
.home-why__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: var(--sp-7);
	align-items: start;
}
.home-why__title {
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.05;
	margin: var(--sp-2) 0 var(--sp-3);
}
.home-why__lede {
	font-size: 15px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	max-width: 56ch;
	margin: 0 0 var(--sp-5);
}
.home-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.home-why__list li {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--mcfoi-steel);
	padding: var(--sp-3) 0 var(--sp-3) var(--sp-4);
	border-top: 1px solid var(--mcfoi-rule);
	position: relative;
}
.home-why__list li:last-child { border-bottom: 1px solid var(--mcfoi-rule); }
.home-why__list li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--mcfoi-blaze);
	font-weight: 700;
}
.home-why__list strong { color: var(--mcfoi-ink); font-weight: 700; }

@media (max-width: 900px) {
	.home-services__grid { grid-template-columns: repeat(2, 1fr); }
	.home-why__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (max-width: 720px) {
	.home-reass__grid { grid-template-columns: repeat(2, 1fr); }
	.home-reass__item:nth-child(odd) { border-left: none; }
	.home-reass__item:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent); }
}
@media (max-width: 480px) {
	.home-services__grid { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Univers « vitrine » (gamme sans produit encore importé) — Chambre Froide,
   Froid Médical. Présentation + typologies + appel à devis.
   =========================================================================== */
.uv { padding: var(--sp-7) 0 var(--sp-6); }
.uv__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sp-7);
	align-items: center;
}
.uv__title {
	font-size: clamp(30px, 4.4vw, 54px);
	line-height: 1;
	margin: var(--sp-2) 0 var(--sp-3);
}
.uv__lede {
	font-size: 15px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	max-width: 60ch;
	margin: 0 0 var(--sp-5);
}
.uv__cta { display: inline-block; }
.uv__note {
	font-family: var(--ff-mono);
	font-size: 12px;
	color: var(--mcfoi-steel-soft);
	margin: var(--sp-3) 0 0;
}
.uv__media {
	border: 2px solid var(--mcfoi-ink);
	box-shadow: 8px 8px 0 var(--mcfoi-blaze);
	background: #fff;
	overflow: hidden;
}
.uv__media img { display: block; width: 100%; height: auto; }


/* ─── Modèles (visuels fabricant sur fond sombre) ─────────── */
.uv-models {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	padding: var(--sp-7) 0;
	border-top: 1px solid var(--mcfoi-rule);
}
.uv-models__title {
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.05;
	color: var(--mcfoi-paper);
	margin: 0 0 var(--sp-2);
}
.uv-models__lede {
	font-family: var(--ff-mono);
	font-size: 13.5px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--mcfoi-paper) 78%, transparent);
	max-width: 72ch;
	margin: 0 0 var(--sp-6);
}
.uv-models__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--sp-4);
}
.uv-model {
	margin: 0;
	border: 1px solid color-mix(in srgb, var(--mcfoi-paper) 18%, transparent);
	background: #000;
	overflow: hidden;
	transition: border-color 200ms var(--ease-industrial), transform 200ms var(--ease-industrial);
}
.uv-model:hover { border-color: var(--mcfoi-frost); transform: translateY(-3px); }
.uv-model__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}
.uv-model__cap {
	display: block;
	padding: var(--sp-3) var(--sp-4) var(--sp-4);
	background: var(--mcfoi-ink);
}
.uv-model__nom {
	display: block;
	font-family: var(--ff-display);
	font-weight: 800;
	font-size: 17px;
	line-height: 1.15;
	color: var(--mcfoi-frost);
	margin-bottom: 4px;
}
.uv-model__txt {
	display: block;
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.55;
	color: color-mix(in srgb, var(--mcfoi-paper) 72%, transparent);
}

/* ─── Accessoires & options (photos fond clair) ───────────── */
.uv-access { padding: var(--sp-7) 0; border-top: 1px solid var(--mcfoi-rule); }
.uv-access__title { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.05; margin: 0 0 var(--sp-2); }
.uv-access__lede {
	font-family: var(--ff-mono);
	font-size: 13px;
	line-height: 1.7;
	color: var(--mcfoi-steel);
	max-width: 70ch;
	margin: 0 0 var(--sp-5);
}
.uv-access__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: var(--sp-3);
}
.uv-ac {
	margin: 0;
	border: 1px solid var(--mcfoi-rule);
	background: #fff;
	overflow: hidden;
}
.uv-ac__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: contain;
	background: #fff;
	padding: var(--sp-2);
}
.uv-ac__nom {
	display: block;
	padding: var(--sp-2) var(--sp-3) var(--sp-3);
	font-family: var(--ff-mono);
	font-size: 11.5px;
	line-height: 1.45;
	color: var(--mcfoi-steel);
	border-top: 1px solid var(--mcfoi-rule);
}



.uv-reass {
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
	border-top: 1px solid var(--mcfoi-rule);
}
.uv-reass__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.uv-reass__item {
	padding: var(--sp-5) var(--sp-4);
	border-left: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent);
}
.uv-reass__item:first-child { border-left: none; }
.uv-reass__item b {
	display: block;
	font-family: var(--ff-display);
	font-weight: 800;
	font-size: 17px;
	color: var(--mcfoi-frost);
	margin-bottom: 6px;
}
.uv-reass__item span {
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.5;
	color: color-mix(in srgb, var(--mcfoi-paper) 80%, transparent);
}
@media (max-width: 900px) {
	.uv__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
	.uv-reass__grid { grid-template-columns: repeat(2, 1fr); }
	.uv-reass__item:nth-child(odd) { border-left: none; }
	.uv-reass__item:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--mcfoi-paper) 16%, transparent); }
}

/* ===========================================================================
   Accueil : barre de filtres en tête de page + bandeau déroulant (carrousel)
   =========================================================================== */


/* ─── Bandeau déroulant plein écran (accueil) ─────────────── */
.hcar {
	position: relative;
	background: var(--mcfoi-ink);
	border-bottom: 1px solid var(--mcfoi-rule);
}
.hcar__viewport {
	position: relative;
	overflow: hidden;
	/* Le format 4,4:1 des fonds de bannière fixe la hauteur du cadre. */
	height: clamp(400px, 25vw, 560px);
}
.hcar__track {
	display: flex;
	height: 100%;
	transition: transform 780ms cubic-bezier(.65, .02, .18, 1);
	will-change: transform;
}
.hcar__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	height: 100%;
	overflow: hidden;
}
/* Flèches */
.hcar__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid color-mix(in srgb, var(--mcfoi-paper) 45%, transparent);
	background: color-mix(in srgb, var(--mcfoi-ink) 45%, transparent);
	backdrop-filter: blur(6px);
	color: var(--mcfoi-paper);
	cursor: pointer;
	opacity: 0;
	transition: opacity 240ms var(--ease-industrial), background 200ms var(--ease-industrial), color 200ms var(--ease-industrial);
	z-index: 3;
}
.hcar:hover .hcar__nav,
.hcar__nav:focus-visible { opacity: 1; }
.hcar__nav:hover { background: var(--mcfoi-paper); color: var(--mcfoi-ink); }
.hcar__nav--prev { left: clamp(12px, 2.5vw, 36px); }
.hcar__nav--next { right: clamp(12px, 2.5vw, 36px); }

/* Pastilles-progression + compteur */
.hcar__ui {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(20px, 3.4vh, 34px);
	z-index: 3;
}
.hcar__ui-inner {
	display: flex;
	align-items: center;
	/* Puces et compteur groupés à gauche, sur le voile marine : la bande de
	   marques occupe l'angle bas-droit du cadre. */
	justify-content: flex-start;
	gap: var(--sp-4);
}
.hcar__dots { display: flex; gap: 10px; }
.hcar__dot {
	position: relative;
	width: 44px; /* court : puces et compteur cohabitent avec la bande de marques */
	height: 4px;
	padding: 0;
	border: none;
	background: color-mix(in srgb, var(--mcfoi-paper) 32%, transparent);
	cursor: pointer;
	overflow: hidden;
}
.hcar__dot-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--mcfoi-frost);
}
.hcar__dot.is-active .hcar__dot-fill { animation: hcar-fill 6s linear forwards; }
.hcar--paused .hcar__dot.is-active .hcar__dot-fill { animation-play-state: paused; }
@keyframes hcar-fill { from { width: 0; } to { width: 100%; } }
.hcar__count {
	font-family: var(--ff-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: color-mix(in srgb, var(--mcfoi-paper) 78%, transparent);
}
.hcar__count-sep { margin: 0 4px; opacity: 0.5; }
#hcar-cur { color: var(--mcfoi-frost); font-weight: 700; }

@media (max-width: 720px) {
	.hcar__viewport { height: clamp(470px, 122vw, 580px); }
	.hcar__nav { display: none; }
	.hcar__dot { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.hcar__track { transition: none; }
	.hcar__dot.is-active .hcar__dot-fill { animation: none; width: 100%; }
}


/* Logos de marques cliquables (site officiel ou page marque interne). */
.brandbar__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
.brandbar__link:focus-visible { outline: 3px solid var(--mcfoi-blaze); outline-offset: 2px; }

/* Marques partenaires sans logo : ligne de liens sous le bandeau. */
.brandbar__partners {
	margin-top: var(--sp-4);
	font-family: var(--ff-mono);
	font-size: 12px;
	line-height: 1.8;
	color: var(--mcfoi-steel);
}
.brandbar__partners-label {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 10px;
	color: var(--mcfoi-steel-soft);
	margin-right: 6px;
}
.brandbar__partners a { color: var(--mcfoi-ink); text-decoration: none; }
.brandbar__partners a:hover { color: var(--mcfoi-blaze); text-decoration: underline; }

/* ===========================================================================
   Catalogue en 2 colonnes : filtres à gauche (permanents sur desktop),
   grille produits à droite. Remplace les 3 lignes de chips horizontales.
   =========================================================================== */
.catalog__layout {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr);
	gap: var(--sp-6);
	align-items: start;
}

/* ─── Colonne de filtres ─── */
.catalog__side {
	position: sticky;
	/* décalé sous l'en-tête collant, sinon il passe derrière au défilement */
	top: calc(var(--mcfoi-nav-h) + var(--sp-3));
	z-index: 5;
	border: 1px solid var(--mcfoi-rule);
	background: var(--mcfoi-paper);
	padding: var(--sp-4);
	max-height: calc(100vh - var(--mcfoi-nav-h) - var(--sp-5));
	overflow-y: auto;
}
.catalog__side-toggle { display: none; }
.catalog__side-group + .catalog__side-group {
	margin-top: var(--sp-4);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--mcfoi-rule);
}
.catalog__side-group[hidden] { display: none; }
.catalog__side-title {
	font-family: var(--ff-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mcfoi-blaze);
	margin: 0 0 var(--sp-2);
}
/* Les chips deviennent des lignes de liste dans la colonne. */
.catalog__side .catalog__filters { display: block; }
.catalog__side .catalog__chip {
	display: block;
	width: 100%;
	text-align: left;
	border: none;
	border-radius: 0;
	padding: 7px 8px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mcfoi-steel);
	border-left: 2px solid transparent;
	transition: background 140ms var(--ease-industrial), color 140ms var(--ease-industrial), border-color 140ms var(--ease-industrial);
}
.catalog__side .catalog__chip:hover {
	background: var(--mcfoi-haze);
	color: var(--mcfoi-ink);
	border-left-color: var(--mcfoi-frost);
}
.catalog__side .catalog__chip.is-active {
	background: transparent;
	color: var(--mcfoi-ink);
	font-weight: 700;
	border-left-color: var(--mcfoi-blaze);
}
.catalog__side .catalog__chip-n {
	float: right;
	opacity: 0.55;
	font-family: var(--ff-mono);
	font-size: 11px;
	font-weight: 400;
}
/* Les anciens conteneurs horizontaux repassent en pile dans la colonne. */
.catalog__side .catalog__brands {
	display: block;
	margin: 0;
}
.catalog__side .catalog__brands-label { margin: 0 0 var(--sp-2); }

/* ─── Colonne produits ─── */
.catalog__main { min-width: 0; }
.catalog__layout .catalog__bar {
	justify-content: flex-end;
	padding-top: 0;
}
.catalog__layout .catalog__search-wrap { max-width: 420px; }

/* ─── Mobile / tablette : la colonne devient un panneau repliable ─── */
@media (max-width: 980px) {
	.catalog__layout { grid-template-columns: 1fr; gap: var(--sp-4); }
	.catalog__side {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: none;
	}
	.catalog__side-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		background: var(--mcfoi-paper);
		border: 2px solid var(--mcfoi-ink);
		color: var(--mcfoi-ink);
		font-family: var(--ff-mono);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		padding: 13px 16px;
		cursor: pointer;
	}
	.catalog__side-caret { transition: transform 180ms var(--ease-industrial); }
	.catalog__side.is-open .catalog__side-caret { transform: rotate(180deg); }
	.catalog__side-inner {
		display: none;
		border: 1px solid var(--mcfoi-rule);
		border-top: none;
		padding: var(--sp-4);
	}
	.catalog__side.is-open .catalog__side-inner { display: block; }
}

/* Le masquage dynamique (attribut hidden) doit primer sur l'affichage en pile
   de la colonne — sinon les filtres non pertinents restent visibles. */
.catalog__side .catalog__chip[hidden],
.catalog__side .catalog__brands[hidden],
.catalog__side .catalog__side-group[hidden] { display: none; }

/* Carte modèle cliquable → ouvre la modale de devis. */
a.uv-model { text-decoration: none; display: block; }
.uv-model__cta {
	display: block;
	margin-top: var(--sp-2);
	font-family: var(--ff-mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--mcfoi-frost);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 200ms var(--ease-industrial), transform 200ms var(--ease-industrial);
}
.uv-model:hover .uv-model__cta,
.uv-model:focus-visible .uv-model__cta { opacity: 1; transform: none; }
@media (hover: none) {
	.uv-model__cta { opacity: 1; transform: none; }
}

/* ─── Surcouche fixe du carrousel : identité de page + H1 ─────
   Placée hors des diapos pour rester lisible pendant la rotation. */
.hcar__masthead {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 2;
	padding: var(--sp-5) 0 var(--sp-7);
	background: linear-gradient(to bottom,
		rgba(10, 36, 86, 0.94) 0%,
		rgba(10, 36, 86, 0.62) 52%,
		rgba(10, 36, 86, 0) 100%);
	pointer-events: none;
}
.hcar__masthead a { pointer-events: auto; }
.hcar__brand {
	display: block;
	font-family: var(--ff-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mcfoi-frost);
	margin-bottom: var(--sp-2);
}
.hcar__h1 {
	font-size: clamp(23px, 3.3vw, 42px);
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: var(--mcfoi-paper);
	margin: 0;
	max-width: 22ch;
	text-shadow: 0 2px 20px rgba(10, 36, 86, 0.55);
}
.hcar__lede {
	font-family: var(--ff-mono);
	font-size: 12.5px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--mcfoi-paper) 82%, transparent);
	max-width: 62ch;
	margin: var(--sp-2) 0 0;
}

@media (max-width: 880px) {
	.hcar__masthead { padding-bottom: var(--sp-6); }
	.hcar__lede { display: none; } /* l'accroche complète reste dans le bloc SEO bas de page */
}

/* ===========================================================================
   Bannière d'univers (template-parts/hero-banner.php)
   Fond photographique nu livré par la graphiste (nov. 2026, assets/banners/
   fonds/) ; tout le reste est posé ici : voile marine à gauche, titre sur
   trois lignes, sous-titre, accroche, bouton, bande de marques. En bureau la
   bande tient dans l'angle bas-droit du cadre ; en mobile elle passe en
   pleine largeur sous le texte. Le rendu s'inspire de la maquette sans la
   reproduire au pixel : il s'adapte à chaque largeur d'écran.
   =========================================================================== */
.hban {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background: var(--mcfoi-ink);
	color: var(--mcfoi-paper);
}
.hban__fond {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hban__fond img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Le sujet (unité extérieure, vitrine, chambre) est cadré à droite du fond. */
	object-position: 64% 50%;
}
/* Voile marine : opaque sous le texte, fondu vers la photo. Les arrêts sont
   calés sur le centre de la page, pas sur le bord : la colonne de texte
   (gabarit .wrap) reste sur voile plein quelle que soit la largeur d'écran,
   et le sujet de la photo, à droite, reste dégagé. Les deux chevrons
   reprennent le motif en flèche de la charte, en transparence. */
.hban__voile {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	background: linear-gradient(90deg,
		rgba(10, 36, 86, .97) 0,
		rgba(10, 36, 86, .95) calc(50% - 160px),
		rgba(10, 36, 86, .62) calc(50% + 140px),
		rgba(10, 36, 86, .16) calc(50% + 340px),
		rgba(10, 36, 86, 0)   calc(50% + 480px));
}
.hban__voile::before,
.hban__voile::after {
	content: "";
	position: absolute;
	border: solid rgba(255, 255, 255, .055);
	border-width: 11vmin 11vmin 0 0;
	transform: rotate(45deg);
}
.hban__voile::before { width: 44vmin; height: 44vmin; left: -6vmin; top: 50%; margin-top: -22vmin; }
.hban__voile::after  { width: 26vmin; height: 26vmin; left: 20vmin; bottom: -18vmin; border-color: rgba(255, 255, 255, .04); }

.hban__inner {
	position: relative;
	z-index: 2;
	/* Enfant d'une colonne flex avec marges auto : sans largeur explicite il
	   se resserre sur son contenu au lieu d'occuper le gabarit. */
	width: 100%;
	display: grid;
	grid-template-columns: 66% minmax(0, 1fr);
	align-items: center;
	gap: var(--sp-4);
	flex: 1;
}
.hban__titre { margin: 0; display: flex; flex-direction: column; }
.hban__ligne {
	font-family: var(--ff-display);
	font-weight: 800;
	font-size: clamp(24px, 3vw, 44px);
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: #fff;
}
.hban__ligne--fort { color: var(--mcfoi-frost); }
/* Troisième ligne en casse de phrase : « à La Réunion », « sur mesure… ». */
.hban__ligne--bas {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
	font-size: clamp(20px, 2.35vw, 36px); /* « pour professionnels dans l’océan Indien » tient sur une ligne */
}
.hban__sous-titre {
	margin: var(--sp-3) 0 0;
	font-family: var(--ff-mono);
	font-size: clamp(10.5px, 0.68vw, 12px);
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1.5;
	color: rgba(255, 255, 255, .86);
}
.hban__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--sp-3);
	margin-top: var(--sp-4);
}
.hban__accroche {
	display: inline-flex;
	align-items: center;
	margin: 0;
	background: var(--mcfoi-blaze);
	color: #fff;
	font-family: var(--ff-mono);
	font-size: clamp(10.5px, 0.8vw, 12.5px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 9px 26px 9px 18px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}
.hban__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	background: var(--mcfoi-paper);
	color: var(--mcfoi-ink);
	font-family: var(--ff-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 13px 22px;
	text-decoration: none;
	transition: background 160ms var(--ease-industrial), transform 160ms var(--ease-industrial);
}
.hban__cta:hover { background: var(--mcfoi-frost); transform: translateX(3px); }

/* ---- Bande de marques ---------------------------------------------------
   Logos de assets/brands/trim/, détourés sur fond transparent. Lus en base
   par univers (ou fixés à la main) : la liste suit le catalogue. Bord gauche
   biseauté comme sur la maquette. */
.hban__bande {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	height: 72px;
	/* Au plus 58 % du cadre : les puces du carrousel, à gauche, gardent leur
	   place ; au-delà, les logos se resserrent entre eux. */
	max-width: 58%;
	padding: 0 clamp(20px, 3vw, 56px) 0 clamp(48px, 5vw, 88px);
	background: rgba(255, 255, 255, .9);
	clip-path: polygon(clamp(28px, 3vw, 52px) 0, 100% 0, 100% 100%, 0 100%);
}
.hban__marques-liste {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
/* Chaque logo dispose d'une case de 140 px au plus, qui se resserre quand la
   bande atteint sa largeur maximale ; l'image s'y inscrit sans déformation. */
.hban__marque {
	flex: 0 1 140px;
	min-width: 0;
	height: 40px;
}
.hban__marque a { display: block; height: 100%; }
.hban__marque img {
	display: block;
	width: 100%;
	height: 40px;
	object-fit: contain;
}

/* Le bloc texte se centre dans le cadre : sans réserve, le bouton vient buter
   contre la bande de marques. La bande (72 px) est soustraite de la zone de
   centrage. Sur mobile elle passe dans le flux : la réserve n'a plus lieu. */
@media (min-width: 721px) {
	.hban:has(.hban__bande) .hban__inner { padding-bottom: 72px; }
}
/* Arrivée par un logo de marque ou un lien filtré : la grille se cale sous
   l'en-tête collant. */
#catalogue { scroll-margin-top: calc(var(--mcfoi-nav-h) + var(--sp-3)); }

/* ---- Dans le carrousel --------------------------------------------------
   Les puces et le compteur sont en position absolue au bas du carrousel :
   ils se calent au-dessus de la bande de marques. La bannière apporte son propre fond : le voile et le
   titre de page prévus pour les diapositives photo sont neutralisés. */
.hcar__slide--banniere { background: none; }
.hcar__slide--banniere::before,
.hcar__slide--banniere::after { display: none; }
.hcar:has(.hcar__slide--banniere.is-active) .hcar__masthead { opacity: 0; pointer-events: none; }
.hcar__masthead { transition: opacity 260ms var(--ease-industrial); }

/* ---- En tête d'une page d'univers (hors carrousel) --------------------- */
.hban-solo {
	margin-bottom: var(--sp-5);
	border-bottom: 1px solid var(--mcfoi-rule);
}
/* Le fil d'Ariane porte déjà sa propre respiration. */
.hban-solo:has(+ .mcfoi-crumb) { margin-bottom: 0; }
.hban-solo .hban { min-height: clamp(320px, 25vw, 520px); }

@media (max-width: 720px) {
	.hban-solo .hban { min-height: 470px; }
	.hban { justify-content: flex-end; }
	.hban__fond img { object-position: 50% 42%; }
	/* Voile par le bas : le texte vient au pied de la photo. */
	.hban__voile {
		background: linear-gradient(to top,
			rgba(10, 36, 86, .98) 0%,
			rgba(10, 36, 86, .88) 34%,
			rgba(10, 36, 86, .30) 66%,
			rgba(10, 36, 86, 0)   100%);
	}
	.hban__voile::before { width: 30vmin; height: 30vmin; left: -8vmin; top: auto; bottom: 6vmin; margin: 0; border-width: 8vmin 8vmin 0 0; }
	.hban__voile::after  { display: none; }
	.hban__inner {
		grid-template-columns: 1fr;
		align-items: end;
		padding: var(--sp-5) var(--sp-4) var(--sp-6); /* en bas : réserve pour les puces du carrousel */
	}
	.hban-solo .hban__inner { padding-bottom: var(--sp-4); } /* pas de puces hors carrousel */
	.hban__ligne { font-size: clamp(22px, 6.4vw, 30px); }
	.hban__sous-titre { font-size: 10.5px; }
	.hban__actions { gap: var(--sp-2); }
	.hban__accroche { white-space: normal; font-size: 11px; padding: 8px 20px 8px 14px; }
	.hban__cta { padding: 11px 18px; }
	.hban__bande {
		position: relative;
		max-width: none;
		height: 56px;
		padding: 0 var(--sp-3);
		clip-path: none;
		background: rgba(255, 255, 255, .94);
	}
	.hban__marques-liste { gap: var(--sp-3); width: 100%; }
	.hban__marque { flex: 1 1 0; height: 30px; }
	.hban__marque img { height: 30px; }
	.hcar:has(.hban__bande) .hcar__ui { bottom: calc(56px + 12px); }
	/* Au-delà de cinq marques, une seule rangée rendrait les logos illisibles
	   sur un écran de téléphone : on passe sur deux rangées de quatre (84 px). */
	.hban__bande--large { height: auto; padding: 8px var(--sp-3); }
	.hban__bande--large .hban__marques-liste { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
	.hban__bande--large .hban__marque { flex: 0 0 calc(25% - var(--sp-3)); }
	/* Les puces ne bougent pas d'une diapo à l'autre : toutes les bandes du
	   carrousel prennent la hauteur de la plus haute. */
	.hcar:has(.hban__bande--large) .hban__bande { min-height: 84px; }
	.hcar:has(.hban__bande--large) .hcar__ui { bottom: calc(84px + 12px); }
}
@media (prefers-reduced-motion: reduce) {
	.hban__cta:hover { transform: none; }
}

/* ---- Encadré AGIR PLUS --------------------------------------------------
   Le badge posé sur les cartes n'est compréhensible qu'expliqué. L'encadré
   reprend le logo à gauche du texte : le lecteur relie l'un à l'autre sans
   effort. Sous 620 px la colonne passe au-dessus, le logo restant aligné à
   gauche plutôt que centré, pour ne pas se lire comme une bannière. */
.catagir {
	max-width: 72ch;
	margin: var(--sp-7) auto 0;
	padding: var(--sp-5);
	display: flex;
	align-items: flex-start;
	gap: var(--sp-5);
	/* Fond blanc : le logo AGIR PLUS est un aplat sur blanc, toute teinte
	   derrière lui ferait apparaître son cadre. La bordure suffit à détacher
	   l'encadré du papier. */
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--mcfoi-blaze) 26%, transparent);
	border-radius: 14px;
}
img.catagir__logo {
	flex: 0 0 auto;
	width: 128px;
	height: auto;
	margin-top: 2px;
}
.catagir__titre {
	font-family: var(--ff-display);
	font-size: clamp(17px, 1.8vw, 20px);
	font-weight: 800;
	line-height: 1.25;
	color: var(--mcfoi-ink);
	margin: 0 0 var(--sp-3);
}
.catagir__texte p {
	font-size: 15px;
	line-height: 1.65;
	color: color-mix(in srgb, var(--mcfoi-ink) 86%, transparent);
	margin: 0 0 var(--sp-3);
}
.catagir__texte p:last-child { margin-bottom: 0; }
.catagir__texte strong { color: var(--mcfoi-ink); font-weight: 700; }

@media (max-width: 620px) {
	.catagir {
		flex-direction: column;
		gap: var(--sp-4);
		padding: var(--sp-4);
	}
	img.catagir__logo { width: 104px; }
}

/* Le texte de présentation suit l'encadré : le filet qui l'ouvre ferait
   doublon avec la bordure juste au-dessus. */
.catagir + .catdesc {
	margin-top: var(--sp-6);
	padding-top: 0;
	border-top: 0;
}

/* ---- Présentation de l'univers (texte SEO sous la grille) ---------------
   Colonne de lecture bornée : au-delà d'environ 70 signes par ligne, l'œil
   perd la ligne suivante. Le bloc est séparé de la grille par un filet. */
.catdesc {
	max-width: 72ch;
	margin: var(--sp-7) auto 0;
	padding-top: var(--sp-6);
	border-top: 1px solid var(--mcfoi-rule);
}
.catdesc p {
	font-size: 15.5px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--mcfoi-ink) 86%, transparent);
	margin: 0 0 var(--sp-3);
}
.catdesc strong { color: var(--mcfoi-ink); font-weight: 700; }
.catdesc__st {
	font-family: var(--ff-display);
	font-size: clamp(19px, 2.1vw, 25px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--mcfoi-ink);
	margin: var(--sp-5) 0 var(--sp-3);
}
.catdesc__st:first-child { margin-top: 0; }
.catdesc__liste {
	list-style: none;
	margin: 0 0 var(--sp-4);
	padding: 0;
	display: grid;
	gap: 10px;
}
.catdesc__liste li {
	position: relative;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.55;
	color: color-mix(in srgb, var(--mcfoi-ink) 86%, transparent);
}
.catdesc__liste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 8px;
	height: 8px;
	background: var(--mcfoi-blaze);
}
@media (max-width: 860px) {
	.catdesc { margin-top: var(--sp-5); padding-top: var(--sp-4); }
	.catdesc p, .catdesc__liste li { font-size: 15px; }
}
