/* ==========================================================================
   La Miroiterie 06 — design intégré
   Source : design_handoff/…/Refonte La Miroiterie 06.dc.html (haute fidélité).
   Règles du handoff : aucun border-radius, aucune ombre portée ; le seul
   box-shadow est le « 0 0 0 1px » des grilles à filets, qui sert de bordure.
   ========================================================================== */

:root {
	--ink: #171513;
	--ink-soft: #2A2724;
	--ink-line: #3A342F;
	--paper: #F7F5F2;
	--card: #FFFFFF;
	--line: #E3DED7;
	--muted: #6B645D;
	/* Écart assumé avec le handoff (#A89F96, 2,39:1) : seuil AA de 4,5:1
	   atteint sur --paper, même teinte, luminosité abaissée. */
	--muted-2: #796F65;
	--muted-dark: #B5ADA4;
	/* Écart assumé avec le handoff (#79716A, 3,80:1 sur --ink). */
	--muted-dark-2: #867D75;
	--muted-strip: #8B837A;
	--body-soft: #403A35;
	--stripe-a: #ECE8E2;
	--stripe-b: #F3F0EB;
	--orange: #EC4E1B;
	--orange-ink: #C63E12;
	--orange-tint: #FBEDE6;
	--orange-deep: #9C3310;

	--font: 'Archivo', Helvetica, Arial, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
	--gutter: clamp(16px, 4vw, 56px);
	--max: 1320px;
	--ease: 160ms ease;
	--header-h: 75px;
}

/* --------------------------------------------------------------- Base --- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	/* Interligne par défaut, comme la maquette : seuls les textes qui en
	   précisent un (titres, paragraphes) s'en écartent. */
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

a { color: var(--orange-ink); text-decoration: none; transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
a:hover { color: var(--ink); }

p { text-wrap: pretty; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
input, textarea, select, button { font: inherit; color: inherit; }
::placeholder { color: #8A8178; opacity: 1; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.screen-reader-text,
.lm-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.lm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600;
}
.lm-skip:focus { top: 12px; color: #fff; }

/* Ancres : le titre ne doit pas finir sous l'en-tête collant. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* --------------------------------------------------------- Primitives --- */

/* Conteneur : 1320 px de CONTENU, gouttières en plus — la convention des
   sections de la maquette. Celle-ci en mélangeait deux (l'en-tête, le héros
   d'accueil et la bande d'appel plaçaient les gouttières à l'intérieur des
   1320 px), d'où un décalage de 56 px entre l'en-tête et les sections au-delà
   de 1432 px de large. Une seule règle ici, celle qui conserve le nombre de
   colonnes des grilles à 1440 px (5 cartes au catalogue, 5 opérations). */
.lm-wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.lm-mono { font-family: var(--mono); }

.lm-eyebrow {
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--orange-ink);
}
.lm-eyebrow--dark { color: var(--orange); letter-spacing: 0.22em; }

.lm-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted-2);
}

.lm-ref {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--orange-ink);
}

.lm-h2 { font-stretch: 106%; margin-top: 14px; }
.lm-h2--xl { font-size: clamp(28px, 3.8vw, 52px); line-height: 1.02; }
.lm-h2--lg { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; }
.lm-h2--md { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.04; }
.lm-h2--sm { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.06; }
.lm-h2--xs { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.06; }
.lm-h2--form { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.08; }

.lm-lead { font-size: 16.5px; line-height: 1.65; color: var(--muted); }

em.lm-accent,
.lm-accent { font-style: normal; color: var(--orange); }

/* Boutons ---------------------------------------------------------------- */

.lm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px;
	padding: 16px 28px;
	font-weight: 600; font-size: 15px; line-height: normal;
	border: 0;
	/* Un <button> a un fond gris par défaut : les variantes à contour, qui
	   n'en définissent pas, l'auraient gardé. */
	background: transparent;
	cursor: pointer;
	transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}
.lm-btn .lm-arrow { font-family: var(--mono); }

.lm-btn--orange { background: var(--orange); color: #fff; }
.lm-btn--orange:hover { background: var(--ink); color: #fff; }
/* Sur fond sombre, le survol passe au clair (héros d'accueil). */
.lm-btn--orange-on-dark:hover { background: var(--paper); color: var(--ink); }

.lm-btn--ghost-dark { border: 1px solid var(--ink-line); color: var(--paper); }
.lm-btn--ghost-dark:hover { border-color: var(--paper); color: var(--paper); }

.lm-btn--ghost-light { border: 1px solid var(--line); color: var(--ink); }
.lm-btn--ghost-light:hover { border-color: var(--ink); color: var(--ink); }

.lm-btn--ink { background: var(--ink); color: #fff; padding: 17px 28px; font-size: 16px; }
.lm-btn--ink:hover { background: #fff; color: var(--ink); }

.lm-btn--outline-white { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; padding: 17px 28px; font-size: 16px; }
.lm-btn--outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

.lm-btn--white { background: #fff; color: var(--ink); padding: 14px 22px; }
.lm-btn--white:hover { background: var(--ink); color: #fff; }

.lm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lien « flèche » : texte orange typographique, filet orange de marque. */
.lm-arrow-link {
	display: inline-flex; align-items: center; gap: 9px;
	font-weight: 600; font-size: 15px;
	color: var(--orange-ink);
	border-bottom: 2px solid var(--orange);
	padding-bottom: 3px;
}
.lm-arrow-link:hover { color: var(--ink); border-color: var(--ink); }
.lm-arrow-link .lm-arrow { font-family: var(--mono); }

/* Grille à filets : conteneur SANS bordure, chaque enfant porte un box-shadow
   de 1 px. Ne jamais colorer le conteneur en --line : une cellule orpheline
   (9 produits sur 2 colonnes) afficherait alors la couleur du filet en aplat. */
.lm-ruled { display: grid; gap: 1px; background: transparent; }
.lm-ruled > * { background: var(--card); box-shadow: 0 0 0 1px var(--line); }

/* Grilles auto-fit : un plancher de piste en pixels ne descend jamais sous sa
   valeur et pousserait la page sous 320 px de large ; min(…, 100%) l'évite. */
.lm-grid-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* Cadre « photo à intégrer » : rayures claires du handoff. */
.lm-img-todo {
	display: flex; align-items: center; justify-content: center; text-align: center;
	width: 100%; height: 100%; min-height: 200px; padding: 20px;
	background: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px);
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* Donnée que le client doit encore fournir. */
.lm-todo {
	display: inline-block;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--orange-deep); background: var(--orange-tint);
	border: 1px dashed var(--orange); padding: 2px 8px;
}

/* ----------------------------------------------------------- En-tête --- */

.lm-topbar {
	background: var(--ink); color: var(--muted-dark);
	font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
}
.lm-topbar__inner {
	padding-block: 9px;
	display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between;
}
.lm-topbar__mention { text-transform: uppercase; }
.lm-topbar__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.lm-topbar__phone { color: var(--paper); }
.lm-topbar__email { color: var(--muted-dark); }
.lm-topbar a:hover { color: var(--orange); }

.lm-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 242, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .lm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lm-header { top: 0; } }

.lm-header__inner {
	padding-block: 14px;
	display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
}
.lm-logo { flex: 0 0 auto; display: block; }
.lm-logo img { height: 46px; width: auto; }
.lm-logo__text { font-weight: 800; font-size: 20px; color: var(--ink); }

.lm-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.8vw, 28px); }
.lm-menu { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.8vw, 28px); }
.lm-menu a {
	position: relative; display: block;
	color: var(--ink); padding: 6px 0;
	font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase;
}
.lm-menu a:hover { color: var(--orange-ink); }
.lm-menu .current-menu-item > a::after,
.lm-menu .current_page_item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange);
}
/* Dans la maquette, le bouton fait partie du menu : capitales, 13 px. Sa
   hauteur (38 px) reste sous les 44 px tactiles : sous 1024 px il disparaît
   au profit du bouton pleine largeur du menu mobile. */
.lm-header__cta { min-height: 0; padding: 11px 20px; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; gap: 9px; }

.lm-burger {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 1px solid var(--line); cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.lm-burger span[aria-hidden] { display: block; width: 20px; height: 2px; background: var(--ink); }

.lm-mobile {
	position: fixed; inset: 0; z-index: 100;
	background: var(--ink); color: var(--paper);
	display: flex; flex-direction: column;
	padding: 14px var(--gutter) 28px;
	overflow-y: auto;
}
.lm-mobile[hidden] { display: none; }
.lm-mobile__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-soft); }
.lm-mobile__logo { display: inline-block; background: var(--paper); padding: 8px 12px; }
.lm-mobile__logo img { height: 34px; width: auto; }
.lm-close {
	width: 44px; height: 44px; padding: 0; position: relative;
	background: none; border: 1px solid var(--ink-line); cursor: pointer;
}
.lm-close span[aria-hidden] { position: absolute; left: 11px; top: 21px; width: 20px; height: 2px; background: var(--paper); }
.lm-close span[aria-hidden]:first-child { transform: rotate(45deg); }
.lm-close span[aria-hidden]:nth-child(2) { transform: rotate(-45deg); }
.lm-mmenu { margin-top: 18px; }
.lm-mmenu a {
	display: block; padding: 12px 0;
	color: var(--paper); font-weight: 700; letter-spacing: -0.02em;
	font-size: clamp(24px, 6vw, 36px); line-height: 1.15;
	border-bottom: 1px solid var(--ink-soft);
}
.lm-mmenu a:hover,
.lm-mmenu .current-menu-item > a { color: var(--orange); }
.lm-mobile__cta { margin-top: auto; padding-top: 28px; }
.lm-mobile__cta .lm-btn { width: 100%; }
.lm-mobile__contact { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-dark); display: flex; flex-direction: column; gap: 8px; }
.lm-mobile__contact a { color: var(--paper); }

@media (max-width: 1023px) {
	.lm-nav { display: none; }
	.lm-burger { display: inline-flex; }
}
@media (max-width: 699px) {
	.lm-topbar__mention { display: none; }
	.lm-topbar__email { display: none; }
}

/* ------------------------------------------------------ Héros sombres --- */

.lm-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.lm-hero__eyebrow { margin-bottom: 26px; }

.lm-hero-home__grid {
	padding-top: clamp(48px, 6vw, 96px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: clamp(32px, 5vw, 72px);
	align-items: end;
}
.lm-hero-home__text { padding-bottom: clamp(40px, 5vw, 84px); }
.lm-hero-home__title {
	font-size: clamp(36px, 5.6vw, 74px);
	line-height: 0.98; font-stretch: 108%; letter-spacing: -0.035em;
}
.lm-hero-home__title em { font-style: normal; color: var(--orange); }
.lm-hero-home__lead {
	margin-top: 28px; max-width: 52ch;
	font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.62; color: var(--muted-dark);
}
.lm-hero-home .lm-actions { margin-top: 38px; }

.lm-hero-home__media { position: relative; align-self: stretch; min-height: 320px; margin-bottom: -1px; z-index: 1; }
.lm-hero-home__frame { position: relative; height: 100%; min-height: 380px; background: #22201D; }
.lm-hero-home__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-badge {
	position: absolute; top: 18px; right: 18px;
	background: var(--orange); color: #fff;
	font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
	padding: 7px 11px;
}

.lm-hero-home__type {
	position: relative; z-index: 1;
	align-self: stretch; min-height: 380px; margin-bottom: -1px;
	background: var(--orange); color: #fff;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: clamp(24px, 3vw, 40px);
}
.lm-hero-home__type-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.lm-hero-home__type-word { font-size: clamp(34px, 4.4vw, 60px); line-height: 0.94; font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; text-transform: uppercase; }

/* Bandeau des arguments, dans la même section sombre que le héros. */
.lm-stats { border-top: 1px solid var(--ink-soft); }
.lm-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lm-stats__item { padding: 26px 24px 30px; border-right: 1px solid var(--ink-soft); }
.lm-stats__item:first-child { padding-left: 0; }
.lm-stats__item:last-child { padding-right: 0; border-right: 0; }
.lm-stats__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 10px; }
.lm-stats__title { font-size: 16.5px; font-weight: 600; color: var(--paper); letter-spacing: 0; }
.lm-stats__text { font-size: 14px; line-height: 1.5; color: var(--muted-strip); margin-top: 5px; }

/* La maquette n'a pas de point de rupture : quatre colonnes qui passent à la
   ligne garderaient des filets verticaux en bout de rangée. */
@media (max-width: 959px) {
	.lm-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.lm-stats__item { padding: 22px 20px 24px; border-bottom: 1px solid var(--ink-soft); }
	.lm-stats__item:nth-child(odd) { padding-left: 0; }
	.lm-stats__item:nth-child(even) { padding-right: 0; border-right: 0; }
	.lm-stats__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 519px) {
	.lm-stats__grid { grid-template-columns: 1fr; }
	.lm-stats__item,
	.lm-stats__item:nth-child(odd),
	.lm-stats__item:nth-child(even) { padding: 20px 0 22px; border-right: 0; border-bottom: 1px solid var(--ink-soft); }
	.lm-stats__item:last-child { border-bottom: 0; }
}

.lm-hero-page { padding-block: clamp(48px, 6vw, 96px); }
.lm-hero-page .lm-hero__eyebrow { margin-bottom: 0; }
.lm-hero-page__title {
	font-size: clamp(36px, 5.2vw, 68px);
	line-height: 0.98; font-stretch: 108%; letter-spacing: -0.035em;
	margin-top: 22px; max-width: 16ch;
}
.lm-hero-page__title em { font-style: normal; color: var(--orange); }
.lm-hero-page__lead {
	margin-top: 26px; max-width: 58ch;
	font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.62; color: var(--muted-dark);
}

/* ------------------------------------------------------ Deux métiers --- */

.lm-pillars { padding-block: clamp(56px, 7vw, 110px); }
.lm-pillars .lm-h2 { max-width: 18ch; }
.lm-pillars__grid { gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(32px, 4vw, 56px); }
.lm-pillar { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.lm-pillar__img img,
.lm-pillar__img .lm-img-todo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; min-height: 0; }
.lm-pillar__body { padding: clamp(22px, 2.4vw, 34px); }
.lm-pillar__title { font-size: clamp(22px, 2.2vw, 30px); margin-top: 12px; }
.lm-pillar__text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.lm-pillar__strong { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink); font-weight: 600; }
.lm-pillar .lm-arrow-link { margin-top: 22px; }

/* ---------------------------------------------------- Catalogue (aperçu) --- */

.lm-teaser { padding-bottom: clamp(56px, 7vw, 110px); }
.lm-teaser__head {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between;
	border-top: 1px solid var(--line);
	padding-top: clamp(36px, 4vw, 64px);
}
.lm-teaser__head .lm-arrow-link { white-space: nowrap; gap: 4px; }
.lm-teaser__grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: clamp(28px, 3.5vw, 48px); }
.lm-teaser__card {
	display: block; color: var(--ink);
	padding: clamp(22px, 2.4vw, 32px);
	transition: background-color var(--ease), color var(--ease);
}
.lm-teaser__card h3 { font-size: 21px; margin-top: 14px; }
.lm-teaser__card p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); transition: color var(--ease); }
.lm-teaser__card .lm-ref { transition: color var(--ease); }
/* Survol sombre : les textes secondaires et la référence passent aux teintes
   prévues pour fond sombre, sinon l'orange typographique tomberait à 3,5:1. */
.lm-ruled > .lm-teaser__card:hover { background: var(--ink); color: var(--paper); }
.lm-teaser__card:hover p { color: var(--muted-dark); }
.lm-teaser__card:hover .lm-ref { color: var(--orange); }

/* ------------------------------------------------- À qui nous livrons --- */

.lm-audience {
	background: var(--card);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	padding-block: clamp(56px, 7vw, 100px);
}
.lm-audience__grid { gap: clamp(28px, 4vw, 64px); }
.lm-audience .lm-lead { margin-top: 20px; max-width: 46ch; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.lm-chips li { border: 1px solid var(--line); padding: 9px 15px; font-size: 14.5px; font-weight: 500; }

/* -------------------------------------------- Média + liste (atelier) --- */

.lm-media-list { padding-block: clamp(56px, 7vw, 110px); }
.lm-media-list__grid { gap: clamp(28px, 4vw, 64px); align-items: center; }
.lm-media-list__img img,
.lm-media-list__img .lm-img-todo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; min-height: 0; }
.lm-media-list .lm-lead { margin-top: 20px; max-width: 48ch; }
.lm-numlist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.lm-numlist li { background: var(--paper); padding: 16px 20px; display: flex; gap: 16px; align-items: baseline; }
.lm-numlist .lm-label { letter-spacing: 0; }
.lm-numlist strong { font-weight: 600; font-size: 16px; }
.lm-media-list .lm-arrow-link { margin-top: 26px; }

/* ------------------------------------------------- La société (intro) --- */

.lm-intro { padding-block: clamp(48px, 6vw, 96px); }
.lm-intro__grid { gap: clamp(28px, 4vw, 72px); }
.lm-intro__text { display: flex; flex-direction: column; gap: 20px; }
.lm-intro__text p { font-size: 17px; line-height: 1.7; color: var(--body-soft); }
.lm-intro__img img,
.lm-intro__img .lm-img-todo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; min-height: 0; }
.lm-facts { grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); }
.lm-facts > div { padding: 20px; }
.lm-facts .lm-label { letter-spacing: 0.12em; }
.lm-facts__value { font-weight: 600; margin-top: 8px; font-size: 16px; }

/* --------------------------------------------- Grille de cartes (M/F/S) --- */

.lm-cards { padding-block: clamp(48px, 6vw, 90px); }
.lm-cards--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-cards--society { padding-block: clamp(48px, 6vw, 96px); }
.lm-cards .lm-h2 { max-width: var(--title-ch, 22ch); }
.lm-cards__grid { grid-template-columns: repeat(auto-fit, minmax(min(var(--card-min, 250px), 100%), 1fr)); }
.lm-cards__head + .lm-cards__grid { margin-top: 36px; }
.lm-card { padding: clamp(22px, 2.4vw, 32px); }
.lm-card__title { font-size: 20px; margin-top: 14px; }
.lm-card__text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.lm-cards--society .lm-card { padding: clamp(22px, 2.4vw, 34px); }
.lm-cards--large .lm-card { padding: clamp(24px, 2.6vw, 38px); }
.lm-cards--large .lm-card__title { font-size: 22px; }
.lm-cards--large .lm-card__text { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }

.lm-ruled > .lm-card--cta {
	background: var(--orange); color: #fff;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.lm-card--cta .lm-label { color: #fff; }
.lm-card--cta .lm-card__title { font-size: 24px; line-height: 1.1; }
.lm-card--cta .lm-btn { align-self: flex-start; }
.lm-card--cta :focus-visible { outline-color: #fff; }

/* --------------------------------------------------- Produits (grille) --- */

.lm-products { padding-block: clamp(40px, 5vw, 80px); }
/* 380 px : trois fiches par rangée dans 1 320 px — les textes du catalogue
   de 12 familles (octobre 2026) sont trop longs pour quatre colonnes. */
.lm-products__grid { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.lm-product { display: flex; flex-direction: column; }
.lm-product__img img,
.lm-product__img .lm-img-todo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; min-height: 0; }
.lm-product__body { padding: clamp(20px, 2.2vw, 30px); flex: 1; }
.lm-product__title { font-size: 23px; margin-top: 12px; }
.lm-product__specs { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------- Encart (produits spéciaux) --- */

.lm-callout { padding-bottom: clamp(56px, 7vw, 100px); }
.lm-callout__box {
	background: var(--card); border: 1px solid var(--line);
	padding: clamp(28px, 3.5vw, 56px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(24px, 3vw, 48px); align-items: center;
}
.lm-callout .lm-lead { margin-top: 16px; max-width: 48ch; }

/* ---------------------------------------------------------- Partenaires --- */

.lm-partners { padding-block: clamp(48px, 6vw, 96px); }
.lm-partners__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 40px; }
.lm-partners__cat { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lm-partners__list > li > a,
.lm-partners__list > li > span {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	color: var(--ink); font-weight: 600; font-size: 16px;
}
.lm-partners__list a:hover { color: var(--orange-ink); }

/* -------------------------------------------------- Étapes (façonnage) --- */

.lm-steps { background: var(--card); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 90px); }
.lm-steps__grid { gap: clamp(28px, 4vw, 64px); align-items: center; }
.lm-steps__list { margin-top: 30px; }
.lm-steps__list li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.lm-steps__list li:last-child { border-bottom: 1px solid var(--line); }
.lm-steps__num { font-family: var(--mono); font-size: 11px; color: var(--orange-ink); padding-top: 4px; }
.lm-steps__title { font-weight: 600; font-size: 17px; letter-spacing: 0; }
.lm-steps__text { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 5px; }
.lm-steps__img img,
.lm-steps__img .lm-img-todo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; min-height: 0; }

/* -------------------------------------------------------------- Contact --- */

.lm-contact { padding-block: clamp(40px, 5vw, 80px); }
.lm-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 4vw, 64px); }
.lm-coords { margin: 26px 0 0; border-top: 1px solid var(--line); }
.lm-coords > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.lm-coords dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.lm-coords dd { margin: 7px 0 0; font-size: 17px; line-height: 1.5; }
.lm-coords dd a { color: var(--ink); font-weight: 600; display: inline-block; }
.lm-coords dd a:hover { color: var(--orange-ink); }
.lm-coords__phone { font-size: 19px; }
.lm-coords__email { word-break: break-all; }

.lm-map { margin-top: 26px; position: relative; border: 1px solid var(--line); }
.lm-map iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.lm-map__consent {
	aspect-ratio: 16 / 9; width: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	text-align: center; padding: 24px;
	background: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px);
}
.lm-map__consent p { font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 40ch; }
.lm-map__route {
	position: absolute; top: 16px; right: 16px; z-index: 2;
	background: var(--ink); color: #fff;
	font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 9px 13px;
}
.lm-map__route:hover { background: var(--orange); color: #fff; }

.lm-form-card { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); }
.lm-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.lm-field { display: flex; flex-direction: column; gap: 8px; }
.lm-field__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lm-input {
	width: 100%;
	/* Écart assumé avec le handoff (#E3DED7, 1,3:1) : la limite d'un champ
	   doit atteindre 3:1 pour qu'on le repère (WCAG 1.4.11). */
	border: 1px solid #8E8780; background: var(--paper); border-radius: 0;
	padding: 14px 16px; font-size: 16px; outline: none;
	transition: border-color var(--ease), background-color var(--ease);
	-webkit-appearance: none; appearance: none;
}
.lm-input:focus { border-color: var(--orange-ink); background: #fff; outline: 2px solid var(--orange-ink); outline-offset: -2px; }
select.lm-input {
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px; background-repeat: no-repeat;
	padding-right: 44px;
}
textarea.lm-input { resize: vertical; font-family: var(--font); min-height: 140px; }
.lm-form__captcha {
	display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
	border-top: 1px solid var(--line); padding-top: 20px;
}
.lm-form__captcha label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.lm-form__captcha .lm-input { width: 88px; padding: 12px 14px; text-align: center; }
.lm-form__submit { width: 100%; padding: 17px 28px; font-size: 15.5px; border: 0; }
.lm-form__submit[disabled] { opacity: 0.6; cursor: wait; }
.lm-form__legal { font-size: 13px; line-height: 1.55; color: var(--muted); }
.lm-form__legal a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 2px; }
/* Piège à robots : hors écran, jamais rempli par un humain. */
.lm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lm-notice { padding: 14px 16px; font-size: 14.5px; line-height: 1.5; border: 1px solid var(--orange); }
.lm-notice--ok { background: var(--orange-tint); color: var(--orange-deep); }
.lm-notice--error { background: #fff; color: var(--orange-deep); border-color: var(--orange-ink); }
.lm-notice[hidden] { display: none; }

/* ------------------------------------------------------------------ FAQ --- */

.lm-faq { padding-block: clamp(48px, 6vw, 90px); }
.lm-faq--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-faq__grid { gap: clamp(28px, 4vw, 64px); align-items: start; }
.lm-faq .lm-lead { margin-top: 20px; max-width: 46ch; }
.lm-faq__list { border-top: 1px solid var(--line); }
.lm-faq__item { border-bottom: 1px solid var(--line); }
.lm-faq__q {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
	padding: 20px 0; font-weight: 600; font-size: 17px; line-height: 1.35;
}
.lm-faq__q::-webkit-details-marker { display: none; }
.lm-faq__q:hover { color: var(--orange-ink); }
.lm-faq__sign { font-family: var(--mono); font-weight: 400; color: var(--orange-ink); flex: 0 0 auto; }
.lm-faq__sign::before { content: "+"; }
.lm-faq__item[open] .lm-faq__sign::before { content: "−"; }
.lm-faq__a { padding: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 68ch; }

/* -------------------------------------------------------- Bande d'appel --- */

.lm-cta-band { background: var(--orange); color: #fff; }
.lm-cta-band__inner {
	padding-block: clamp(36px, 4.5vw, 64px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 28px; align-items: center;
}
.lm-cta-band h2 { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.02; font-stretch: 108%; }
.lm-cta-band p { margin-top: 12px; font-size: 17px; line-height: 1.55; max-width: 44ch; }
.lm-cta-band :focus-visible { outline-color: #fff; }

/* -------------------------------------------------------- Pied de page --- */

.lm-footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(44px, 5vw, 80px); }
.lm-footer__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: clamp(28px, 3.5vw, 56px);
	padding-bottom: clamp(36px, 4vw, 64px);
}
.lm-footer__logo { background: var(--paper); display: inline-block; padding: 14px 18px; }
.lm-footer__logo img { height: 52px; width: auto; }
.lm-footer__baseline { margin-top: 20px; font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.lm-footer__title {
	font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted-dark-2); margin-bottom: 18px;
}
.lm-footer__address { font-size: 15px; line-height: 1.7; color: var(--paper); }
.lm-footer__contact { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.lm-footer a { color: var(--muted-dark); font-size: 15px; }
.lm-footer a:hover { color: var(--orange); }
.lm-footer__email { word-break: break-all; }
.lm-footer__menu { display: flex; flex-direction: column; gap: 9px; }
.lm-footer .lm-footer__social {
	display: inline-block; border: 1px solid var(--ink-line); color: var(--paper);
	padding: 13px 20px; font-size: 15px; font-weight: 600;
}
.lm-footer .lm-footer__social:hover { border-color: var(--orange); color: var(--orange); }
.lm-footer__note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--muted-dark-2); }
.lm-footer__bar {
	border-top: 1px solid var(--ink-soft);
	padding-block: 22px 26px;
	display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark-2);
}
.lm-footer__legal { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.lm-footer__bar a { color: var(--muted-dark-2); font-size: 11px; }
.lm-footer__bar a:hover { color: var(--orange); }

/* ------------------------------------------------- Pages éditoriales --- */

.lm-prose-page { padding-block: clamp(48px, 6vw, 90px); }
.lm-prose { max-width: 760px; font-size: 16.5px; line-height: 1.7; color: var(--body-soft); }
.lm-prose > * + * { margin-top: 1.1em; }
.lm-prose h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; color: var(--ink); margin-top: 1.8em; font-stretch: 106%; }
.lm-prose h3 { font-size: 19px; color: var(--ink); margin-top: 1.5em; }
.lm-prose ul { list-style: square; padding-left: 1.2em; }
.lm-prose ol { list-style: decimal; padding-left: 1.2em; }
.lm-prose a { text-decoration: underline; text-underline-offset: 2px; }
.lm-prose strong { color: var(--ink); }

.lm-404 { padding-block: clamp(48px, 6vw, 96px); }
.lm-404 .lm-actions { margin-top: 32px; }

/* -------------------------------------------------------- Éditeur (aperçu) --- */

.lm-block-empty {
	padding: 28px; border: 1px dashed var(--muted-2); background: var(--paper);
	font-family: var(--mono); font-size: 12px; color: var(--muted);
	display: flex; flex-direction: column; gap: 6px;
}
.lm-block-empty strong { font-family: var(--font); font-size: 15px; color: var(--ink); }

.lm-404__actions { margin-top: 38px; }
.lm-hero-page__title--w17 { max-width: 17ch; }
.lm-hero-page__title--w18 { max-width: 18ch; }
.lm-cards__head--w20 .lm-h2 { max-width: 20ch; }
.lm-cards__head--w22 .lm-h2 { max-width: 22ch; }
.lm-cards__grid--240 { --card-min: 240px; }
.lm-cards__grid--250 { --card-min: 250px; }
.lm-cards__grid--280 { --card-min: 280px; }
.lm-facts { margin: 0; }
.lm-facts dd { margin: 8px 0 0; }
.lm-partners__cat { font-weight: 400; }
.lm-faq__a p + p { margin-top: 0.8em; }
.lm-field__error { font-size: 13.5px; color: var(--orange-ink); }
.lm-field__error[hidden] { display: none; }
.lm-input[aria-invalid="true"] { border-color: var(--orange-ink); }
.lm-teaser__card .lm-ref { display: block; }

/* ---------------------------------------------------- Bandeau de consentement --- */

.lm-consent {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: var(--ink); color: var(--muted-dark);
	border-top: 2px solid var(--orange);
}
.lm-consent[hidden] { display: none; }
.lm-consent__inner {
	padding-block: 20px;
	display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
}
.lm-consent__text { flex: 1 1 420px; font-size: 14.5px; line-height: 1.55; }
.lm-consent__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.lm-consent__text a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.lm-consent__text a:hover { color: var(--orange); }
/* Les deux choix ont la même taille et le même poids : refuser doit être
   aussi simple qu'accepter. */
.lm-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-consent__actions .lm-btn { min-width: 150px; padding: 14px 22px; }
.lm-footer__cookies {
	background: none; border: 0; padding: 0; cursor: pointer;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark-2);
}
.lm-footer__cookies:hover { color: var(--orange); }

/* ------------------------------------------- Présentation de l'entreprise --- */

/* Toute la largeur du conteneur. Le texte court sur deux colonnes : sur une
   seule, une ligne de 1 320 px compterait près de 180 caractères, illisible
   (on vise 60 à 90). La revue de presse suit, articles côte à côte. */
.lm-about { padding-block: clamp(56px, 7vw, 100px); }
.lm-about--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-about__main .lm-h2 { max-width: 20ch; }
.lm-about__text { margin-top: 28px; column-count: 2; column-gap: clamp(32px, 4.5vw, 72px); }
.lm-about__text p { font-size: 16.5px; line-height: 1.7; color: var(--body-soft); margin: 0 0 18px; break-inside: avoid; }
.lm-about__text strong { color: var(--ink); }
.lm-about__press-block { margin-top: clamp(28px, 3.5vw, 48px); }
.lm-about__label { font-weight: 400; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lm-about__press { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); column-gap: clamp(32px, 4.5vw, 72px); }
.lm-about__press a { display: block; height: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.lm-about__press a:hover .lm-about__headline { color: var(--orange-ink); }
.lm-about__publisher { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.lm-about__headline { display: block; margin-top: 6px; font-weight: 600; font-size: 16px; line-height: 1.4; transition: color var(--ease); }
@media (max-width: 899px) {
	.lm-about__text { column-count: 1; }
}

/* ============================================================ Version 3 ===
   Cahier des charges du 12 octobre 2026 : sous-titre du héros, fiches
   produits enrichies, sections de texte, tableau comparatif, Actualités &
   Presse. Mêmes règles que le reste : ni arrondi ni ombre.
   ========================================================================== */

/* Héros d'accueil : phrase d'accroche entre le titre et le chapô. */
.lm-hero-home__subtitle {
	margin-top: 26px; max-width: 38ch;
	font-size: clamp(18px, 1.55vw, 22px); line-height: 1.4; font-weight: 600;
	color: var(--paper); letter-spacing: -0.01em;
}
.lm-hero-home__subtitle + .lm-hero-home__lead { margin-top: 16px; }

/* Menu : la rubrique parente reste soulignée (page Double vitrage sous
   Produits, actualité sous Actualités). */
.lm-menu .current-page-ancestor > a::after,
.lm-menu .current_page_parent > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange);
}
.lm-mmenu .current-page-ancestor > a,
.lm-mmenu .current_page_parent > a { color: var(--orange); }
/* Jusqu'à 1359 px depuis l'entrée « Réalisations » (plus longue qu'« Accueil »). */
@media (min-width: 1024px) and (max-width: 1359px) {
	.lm-nav, .lm-menu { gap: 14px; }
	.lm-menu a { font-size: 12.5px; }
	.lm-header__cta { padding: 10px 14px; font-size: 12px; }
}

/* Crédit d'un visuel : posé sur l'image, toujours lisible. */
.lm-credit {
	position: absolute; left: 0; bottom: 0; z-index: 1; max-width: 100%;
	padding: 5px 9px;
	background: rgba(23, 21, 19, 0.8); color: #fff;
	font-family: var(--mono); font-size: 10px; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Liste de liens documentaires. */
.lm-doclist { display: grid; gap: 7px; margin-top: 10px; }
.lm-doclist a,
.lm-doclist span {
	color: var(--ink); font-size: 14.5px; line-height: 1.45;
	text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.lm-doclist a:hover { color: var(--orange-ink); text-decoration-color: currentColor; }
.lm-doclist span { text-decoration: none; }

/* Fiches produits. */
.lm-product__img { position: relative; margin: 0; }
.lm-product__img--empty {
	aspect-ratio: 3 / 2; display: flex; align-items: flex-end;
	padding: 18px 22px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.lm-product__mark { font-family: var(--mono); font-size: clamp(52px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; color: var(--line); }
.lm-product__body { display: flex; flex-direction: column; }
.lm-product__text { margin-top: 12px; display: grid; gap: 10px; }
.lm-product__text p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.lm-product__text strong { color: var(--ink); }
.lm-product__docs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.lm-product__actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.lm-product__more {
	font-size: 14.5px; font-weight: 600; color: var(--ink);
	text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px;
}
.lm-product__more:hover { color: var(--orange-ink); text-decoration-color: currentColor; }

/* Grille de cartes : chapô sous le titre. */
.lm-cards__lead { margin-top: 20px; max-width: 72ch; display: grid; gap: 12px; }

/* Partenaires : présentation, texte par catégorie, lien de demande. */
.lm-partners__head .lm-lead { margin-top: 18px; max-width: 70ch; }
.lm-partners__group { display: flex; flex-direction: column; }
.lm-partners__text { margin-top: 16px; display: grid; gap: 10px; }
.lm-partners__text p { font-size: 15.5px; line-height: 1.6; color: var(--body-soft); }
.lm-partners__text + .lm-partners__list { margin-top: 10px; border-top: 1px solid var(--line); }
.lm-partners__list a span[aria-hidden] { margin-left: 4px; font-weight: 400; color: var(--muted-2); }
.lm-partners__cta { margin-top: 22px; align-self: flex-start; }

/* Texte en sections. */
.lm-features { padding-block: clamp(48px, 6vw, 96px); }
.lm-features--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-features__head { display: grid; gap: clamp(28px, 4vw, 64px); }
.lm-features__head--media { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); align-items: start; }
.lm-features__intro .lm-h2 { max-width: 24ch; }
.lm-features__lead { margin-top: 20px; max-width: 70ch; display: grid; gap: 14px; }
.lm-features__img { position: relative; margin: 0; justify-self: end; max-width: 100%; }
.lm-features__img img { max-width: 100%; height: auto; }
.lm-features__grid { display: grid; column-gap: clamp(32px, 4.5vw, 72px); row-gap: 48px; }
.lm-features__head + .lm-features__grid { margin-top: clamp(36px, 4.5vw, 64px); }
.lm-features__grid--1 { max-width: 820px; }
.lm-features__grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.lm-features__grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.lm-feature { border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; }
.lm-feature__title { font-size: clamp(21px, 2vw, 27px); line-height: 1.15; margin-top: 10px; font-stretch: 104%; }
.lm-feature .lm-label + .lm-feature__title { margin-top: 12px; }
.lm-feature__text { margin-top: 16px; display: grid; gap: 12px; }
.lm-feature__text p { font-size: 16px; line-height: 1.68; color: var(--body-soft); }
.lm-feature__text strong { color: var(--ink); }
.lm-feature__links { margin-top: 18px; }
.lm-feature__more { margin-top: 22px; align-self: flex-start; }

/* Tableau comparatif. */
.lm-spec { padding-block: clamp(48px, 6vw, 90px); }
.lm-spec--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-spec .lm-h2 { max-width: 24ch; }
.lm-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
.lm-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; }
.lm-table th,
.lm-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lm-table thead th {
	background: var(--paper);
	/* Pas de capitales : « g » et « Ug » sont des notations physiques. */
	font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted-2);
}
.lm-table tbody th { font-weight: 600; color: var(--ink); }
.lm-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-table tbody tr:last-child > * { border-bottom: 0; }
/* Sur un téléphone, chaque ligne devient une fiche : intitulé, puis les
   valeurs précédées de leur colonne. */
@media (max-width: 599px) {
	.lm-table { min-width: 0; }
	.lm-table thead { display: none; }
	.lm-table tbody, .lm-table tr, .lm-table th, .lm-table td { display: block; }
	.lm-table tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
	.lm-table tbody tr:last-child { border-bottom: 0; }
	.lm-table tbody th, .lm-table td { padding: 4px 0; border: 0; }
	.lm-table tbody th { padding-bottom: 8px; }
	.lm-table td { display: flex; justify-content: space-between; gap: 16px; white-space: normal; }
	.lm-table td::before { content: attr(data-label); font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
	.lm-news-card__media--empty { aspect-ratio: 3 / 1; }
}
.lm-spec__note { margin-top: 18px; max-width: 80ch; display: grid; gap: 8px; }
.lm-spec__note p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.lm-spec__sources { margin-top: 14px; }

/* Cartes d'actualités et de parutions. */
/* 340 px : trois colonnes au plus dans 1 320 px — trois cartes remplissent la
   rangée au lieu d'en laisser une quatrième vide. */
.lm-news-grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.lm-teaser__head + .lm-news-grid,
.lm-news-filter + .lm-news-grid { margin-top: clamp(28px, 3.5vw, 44px); }
.lm-news-card { position: relative; display: flex; flex-direction: column; }
.lm-news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.lm-news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lm-news-card__media--empty {
	display: flex; align-items: flex-end; padding: 20px 22px;
	background: repeating-linear-gradient(125deg, var(--ink) 0 22px, var(--ink-soft) 22px 23px);
}
.lm-news-card__mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.lm-news-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); }
.lm-news-card__meta {
	display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
}
.lm-news-card__meta .lm-label { color: var(--orange-ink); }
.lm-news-card__title { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.22; }
.lm-news-card__title a { color: var(--ink); }
/* Toute la carte est cliquable ; le lien vers la source garde le sien. */
.lm-news-card__title a::after { content: ""; position: absolute; inset: 0; }
.lm-news-card:hover .lm-news-card__title a { color: var(--orange-ink); }
.lm-news-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); }
.lm-news-card--press .lm-news-card__press-head {
	display: grid; gap: 8px; align-content: end; min-height: 150px;
	padding: clamp(20px, 2.2vw, 28px);
	background: var(--ink); color: var(--paper);
}
.lm-news-card__press-head .lm-label { color: var(--orange); }
.lm-news-card__publisher { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; font-stretch: 104%; }
.lm-news-card__date { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted-dark); }
.lm-news-card__source { margin-top: auto; padding-top: 4px; }
.lm-news-card__source a { position: relative; z-index: 1; font-size: 14.5px; font-weight: 600; color: var(--orange-ink); }
.lm-news-card__source a:hover { color: var(--ink); }

/* Liste, filtre, pagination. */
.lm-news { padding-block: clamp(40px, 5vw, 80px); }
.lm-news__head { margin-bottom: clamp(24px, 3vw, 36px); }
.lm-news__head .lm-lead { margin-top: 14px; max-width: 64ch; }
.lm-news__empty { margin-top: 24px; font-size: 16px; color: var(--muted); }
.lm-news-filter ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-news-filter a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
	border: 1px solid var(--line); background: var(--card);
	color: var(--ink); font-size: 14px; font-weight: 600;
}
.lm-news-filter a:hover { border-color: var(--ink); color: var(--ink); }
.lm-news-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lm-pagination { margin-top: 36px; }
.lm-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-pagination a,
.lm-pagination span {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--line); background: var(--card);
	font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.lm-pagination a:hover { border-color: var(--ink); }
.lm-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.lm-pagination .dots { border-color: transparent; background: none; }

.lm-news-teaser { padding-bottom: clamp(56px, 7vw, 110px); }
.lm-news-teaser--white { background: var(--card); }
.lm-news-teaser .lm-lead,
.lm-press .lm-lead { margin-top: 16px; max-width: 62ch; }
.lm-press { padding-block: clamp(48px, 6vw, 90px); }
.lm-press--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-press .lm-teaser__head,
.lm-news--related .lm-teaser__head { border-top: 0; padding-top: 0; }
.lm-news--related { background: var(--card); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 90px); }
.lm-about__more { margin-top: 22px; }

/* Actualité. */
.lm-hero__crumb { color: inherit; }
.lm-hero__crumb:hover { color: var(--paper); }
.lm-hero__eyebrow span[aria-hidden] { margin-inline: 8px; color: var(--muted-dark-2); }
.lm-article__title { max-width: 24ch; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; }
.lm-article__meta {
	margin-top: 22px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark);
}
.lm-article__image { position: relative; margin: clamp(28px, 4vw, 48px) auto 0; max-width: calc(1100px + 2 * var(--gutter)); }
.lm-article__image img { width: 100%; height: auto; }
.lm-article__image .lm-credit { left: var(--gutter); }
.lm-article__body { padding-top: clamp(36px, 5vw, 64px); }
.lm-article__content > p:first-child { font-size: 18.5px; line-height: 1.6; color: var(--ink); }
.lm-prose figure { margin: 1.6em 0 0; }
.lm-prose figure img { height: auto; }
.lm-prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.lm-prose blockquote { margin: 1.6em 0 0; padding-left: 20px; border-left: 3px solid var(--orange); font-size: 19px; line-height: 1.55; color: var(--ink); }
.lm-prose blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); }
.lm-prose hr { margin-top: 2em; border: 0; border-top: 1px solid var(--line); }
.lm-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lm-prose th,
.lm-prose td { padding: 10px 12px; text-align: left; border: 1px solid var(--line); }
.lm-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-prose .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 44px; padding: 16px 28px;
	border-radius: 0; background: var(--orange); color: #fff;
	font-size: 15px; font-weight: 600; text-decoration: none;
}
.lm-prose .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.lm-source,
.lm-article__links,
.lm-article__cta { max-width: 760px; }
.lm-source { margin-top: 40px; padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); }
.lm-source__list { margin: 16px 0 24px; border-top: 1px solid var(--line); }
.lm-source__list > div { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lm-source__list dt { padding-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.lm-source__list dd { margin: 0; font-weight: 600; color: var(--ink); }
.lm-article__links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.lm-article__links .lm-doclist { margin-top: 12px; }
.lm-article__cta { margin-top: 36px; }
@media (max-width: 559px) {
	.lm-source__list > div { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ Cibles tactiles (mobile) --- */

/* 44 px de haut pour tout ce qui se touche du doigt (handoff, WCAG 2.5.5).
   Les listes gagnent de la hauteur réelle ; les liens dans le texte gardent
   leur dessin et reçoivent une zone de clic invisible élargie. */
@media (max-width: 1023px) {
	.lm-topbar__links a,
	.lm-footer__menu a,
	.lm-footer__contact a,
	.lm-footer__bar a,
	.lm-footer__cookies { display: inline-flex; align-items: center; min-height: 44px; }
	.lm-footer__menu,
	.lm-footer__contact { gap: 0; }
	.lm-topbar__inner { padding-block: 0; }
	.lm-coords dd a { display: inline-flex; align-items: center; min-height: 44px; }
	.lm-map__route { padding: 14px 16px; }
	.lm-arrow-link { position: relative; }
	.lm-arrow-link::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 44px; transform: translateY(-50%); }
	.lm-about__press a { min-height: 44px; }
	.lm-news-filter a { min-height: 44px; }
	.lm-doclist a,
	.lm-product__more,
	.lm-news-card__source a { display: inline-flex; align-items: center; min-height: 44px; }
	.lm-doclist { gap: 0; }
}

/* =========================================================================
 * Version 4 — retours du client (octobre 2026)
 * ====================================================================== */

/* Encart : texte en paragraphes ; variante sombre pour une passerelle vers
   une autre activité (CréaGlass). */
.lm-callout__text { margin-top: 16px; display: grid; gap: 12px; max-width: 60ch; }
.lm-callout__text .lm-lead { margin-top: 0; max-width: none; }
.lm-callout .lm-actions { align-self: center; }
.lm-callout--ink .lm-callout__box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lm-callout--ink .lm-h2 { color: var(--paper); }
.lm-callout--ink .lm-lead { color: var(--muted-dark); }
.lm-callout--ink .lm-lead strong { color: var(--paper); }
.lm-callout--ink :focus-visible { outline-color: #fff; }

/* Consignes de chiffrage au-dessus des champs du formulaire. */
.lm-form-card__intro { margin-top: 14px; display: grid; gap: 8px; }
.lm-form-card__intro p { font-size: 15px; line-height: 1.6; color: var(--body-soft); }

/* Cartes : un texte peut compter plusieurs paragraphes. */
.lm-card__text + .lm-card__text { margin-top: 8px; }

/* Visuel de fabricant : jamais agrandi au-delà de sa taille d'origine
   (plafond posé en ligne sur l'image), centré sur le fond papier. */
.lm-product__img--native {
	aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
	background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden;
}
.lm-product__img--native img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Menu : quand la page a sa propre entrée (Double vitrage), seule celle-ci
   est soulignée — pas aussi la rubrique parente. */
.lm-menu:has(.current-menu-item) .current-page-ancestor:not(.current-menu-item) > a::after,
.lm-menu:has(.current-menu-item) .current_page_parent:not(.current-menu-item) > a::after { content: none; }
.lm-mmenu:has(.current-menu-item) .current-page-ancestor:not(.current-menu-item) > a,
.lm-mmenu:has(.current-menu-item) .current_page_parent:not(.current-menu-item) > a { color: var(--paper); }

/* Huit entrées de menu depuis l'ajout de « Double vitrage » : entre 1024 et
   1179 px, le menu se resserre pour que le bouton de devis reste sur la ligne. */
@media (min-width: 1024px) and (max-width: 1179px) {
	.lm-header__inner { gap: 20px; }
	.lm-logo img { height: 40px; }
	.lm-nav, .lm-menu { gap: 11px; }
	.lm-menu a { font-size: 11.5px; letter-spacing: 0; }
	.lm-header__cta { padding: 9px 12px; font-size: 11.5px; letter-spacing: 0.01em; gap: 6px; }
}

/* Encart placé juste après une section à fond blanc (« À qui nous livrons ») :
   il ne vient pas s'y coller. */
.lm-audience + .lm-callout { padding-top: clamp(48px, 6vw, 96px); }

/* Repères de la présentation (Implantation, Livraison, Clients) : sur un
   téléphone, trois colonnes de 74 px ne contiennent pas « Professionnels ».
   Une ligne par repère, intitulé à gauche, valeur à droite. */
@media (max-width: 479px) {
	.lm-facts { grid-template-columns: 1fr; }
	.lm-facts > div { padding: 14px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
	.lm-facts dd { margin: 0; text-align: right; }
}

/* ------------------------------------------------- Photos du client --- */

/* Une photo qui s'agrandit : le curseur l'annonce, le cadre ne bouge pas. */
.lm-zoom { display: block; cursor: zoom-in; }
.lm-zoom img { transition: opacity var(--ease); }
.lm-zoom:hover img { opacity: 0.9; }

/* Galerie d'une fiche produit : vignettes carrées posées au bas de la photo
   (les titres des fiches d'une même rangée restent alignés). */
.lm-product__thumbs {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
	display: flex; flex-wrap: wrap; gap: 6px;
	margin: 0; padding: 0; list-style: none;
}
.lm-product__thumbs .lm-zoom { width: 44px; height: 44px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(23, 21, 19, 0.35); }
.lm-product__img .lm-product__thumbs img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.lm-product__thumbs .lm-zoom:focus-visible { outline-color: #fff; outline-offset: 4px; }

/* Bloc « Galerie photos ». */
.lm-gallery { padding-block: clamp(48px, 6vw, 96px); }
.lm-gallery--white { background: var(--card); border-top: 1px solid var(--line); }
.lm-gallery__head { max-width: 820px; }
.lm-gallery__lead { margin-top: 18px; display: grid; gap: 12px; }
.lm-gallery__grid {
	display: grid; gap: clamp(16px, 2vw, 28px);
	grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
	margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; list-style: none;
}
.lm-gallery__item { margin: 0; }
.lm-gallery__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stripe-a); }
.lm-gallery--landscape .lm-gallery__item img { aspect-ratio: 3 / 2; }
.lm-gallery--few .lm-gallery__grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.lm-gallery--single:not(.lm-gallery--landscape) .lm-gallery__grid { grid-template-columns: minmax(0, 440px); }
@media (min-width: 900px) {
	.lm-gallery--few > .lm-wrap {
		display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
		column-gap: clamp(32px, 4.5vw, 72px); align-items: start;
	}
	.lm-gallery--few .lm-gallery__head { grid-column: 1; grid-row: 1; }
	.lm-gallery--few .lm-gallery__actions { grid-column: 1; grid-row: 2; flex-direction: column; align-items: flex-start; gap: 16px; }
	.lm-gallery--few .lm-gallery__grid { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
.lm-gallery__caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lm-gallery__more { margin-top: 28px; }

/* Agrandissement : la photo entière sur fond sombre, légende dessous. */
.lm-lightbox {
	width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgba(23, 21, 19, 0.97); color: var(--paper);
}
.lm-lightbox::backdrop { background: transparent; }
.lm-lightbox__figure {
	height: 100%; margin: 0; padding: 64px clamp(16px, 7vw, 96px) 24px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.lm-lightbox__img { max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; }
.lm-lightbox__caption { max-width: 720px; font-size: 14.5px; line-height: 1.5; text-align: center; color: var(--muted-dark); }
.lm-lightbox__count {
	position: absolute; top: 22px; left: clamp(16px, 4vw, 32px);
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-dark);
}
.lm-lightbox__btn {
	position: absolute; width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--ink-line); border-radius: 0; background: var(--ink); color: var(--paper);
	font-size: 28px; line-height: 1; cursor: pointer;
}
.lm-lightbox__btn:hover { border-color: var(--orange); color: var(--orange); }
.lm-lightbox__btn[hidden] { display: none; }
.lm-lightbox :focus-visible { outline-color: #fff; }
.lm-lightbox__close { top: 10px; right: clamp(10px, 3vw, 24px); }
.lm-lightbox__prev,
.lm-lightbox__next { top: 50%; transform: translateY(-50%); }
.lm-lightbox__prev { left: clamp(6px, 2vw, 24px); }
.lm-lightbox__next { right: clamp(6px, 2vw, 24px); }
@media (max-width: 599px) {
	/* Sur un téléphone, les flèches passent sous la photo. */
	.lm-lightbox__figure { padding: 64px 12px 80px; }
	.lm-lightbox__prev,
	.lm-lightbox__next { top: auto; bottom: 16px; transform: none; }
	.lm-lightbox__prev { left: calc(50% - 56px); }
	.lm-lightbox__next { right: calc(50% - 56px); }
}

/* Logos transmis (dispositifs, clubs) : taille d'origine au plus, jamais
   recadrés ni recolorés (le plafond posé en ligne empêche tout
   agrandissement) ; sur une pastille blanche, quel que soit le fond. */
.lm-partner-logo {
	display: inline-flex; align-self: flex-start; padding: 10px;
	background: #fff; border: 1px solid var(--line);
}
.lm-partner-logo img { display: block; width: auto; height: auto; }
.lm-features__logo { margin-bottom: 24px; }
.lm-features__logo img { max-height: 140px; }
.lm-feature__logo { margin-bottom: 18px; }
.lm-feature__logo img { max-height: 104px; }

/* ------------------------------------------- Dossier du 13 octobre (V5) --- */

/* Légendes sous la photo, jamais en bandeau posé dessus. */
.lm-article__caption,
.lm-features__caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lm-features__img { margin: 0; }

/* Sommaire du catalogue : une ligne par famille, sa référence devant. */
.lm-products__index { margin-bottom: clamp(28px, 3.5vw, 44px); }
.lm-products__index ol {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 0 clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none;
	border-top: 1px solid var(--line);
}
.lm-products__index li { border-bottom: 1px solid var(--line); }
.lm-products__index a {
	display: flex; gap: 12px; align-items: baseline; padding: 11px 0;
	color: var(--ink); font-size: 15px; line-height: 1.35; text-decoration: none;
}
.lm-products__index a:hover { color: var(--orange-ink); }
.lm-products__index-ref { flex: none; width: 30px; font-family: var(--mono); font-size: 11px; color: var(--orange-ink); }

/* Galeries de chantiers : mention d'attribution, deux accès. */
.lm-gallery__mention {
	margin-top: 16px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--body-soft);
}
.lm-gallery__actions { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; }

/* Logos des partenaires de vitrage. */
.lm-partners__logo { margin-top: 18px; }
.lm-partners__logo img { max-height: 88px; }
/* Visuel de fabricant avec galerie : le crédit garde le coin gauche. */
.lm-product__img .lm-credit ~ .lm-product__thumbs { left: auto; justify-content: flex-end; }

/* =========================================================================
   Recherche IA (bêta) — inc/ai-search.php, blocks/ai-search, ai-search.js
   Tout est sur fond encre : héros d'accueil, 404, fenêtre, page de recherche.
   ========================================================================= */

/* Loupe de l'en-tête : dans le menu au-delà de 1024 px, à côté du bouton du
   menu mobile en deçà. */
.lm-ais-trigger {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; padding: 0;
	background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
	transition: color var(--ease), border-color var(--ease);
}
.lm-ais-trigger:hover,
.lm-ais-trigger:focus-visible { color: var(--orange-ink); border-color: var(--orange); }
/* Dans le menu, la loupe ne doit pas renvoyer le bouton de devis à la ligne :
   sans bordure au repos, resserrée là où le menu l'est déjà (vérifié de 1024
   à 1440 px). */
.lm-ais-trigger--nav { width: 34px; height: 34px; border-color: transparent; }
@media (min-width: 1024px) and (max-width: 1439px) {
	.lm-ais-trigger--nav { width: 28px; margin-inline: -6px -4px; }
}
/* Seulement quand la loupe est là : désactivée, l'en-tête reste celui d'avant. */
@media (min-width: 1024px) and (max-width: 1059px) {
	.lm-header__inner:has(.lm-ais-trigger--nav) { gap: 12px; }
	.lm-header__inner:has(.lm-ais-trigger--nav) :is(.lm-nav, .lm-menu) { gap: 9px; }
}
@media (min-width: 1360px) and (max-width: 1439px) {
	.lm-header__inner:has(.lm-ais-trigger--nav) :is(.lm-nav, .lm-menu) { gap: 14px; }
	.lm-header__inner:has(.lm-ais-trigger--nav) .lm-menu a { font-size: 12.5px; }
	.lm-header__inner:has(.lm-ais-trigger--nav) .lm-header__cta { padding: 10px 14px; font-size: 12px; }
}
.lm-ais-trigger--bar { display: none; width: 44px; height: 44px; margin-left: auto; }
@media (max-width: 1023px) {
	.lm-ais-trigger--bar { display: inline-flex; }
	.lm-ais-trigger--bar + .lm-burger { margin-left: 0; }
}

/* Barre de question et suggestions */
.lm-ais-bar {
	display: flex; align-items: stretch;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--ink-line);
	transition: border-color var(--ease), background-color var(--ease);
}
.lm-ais-bar:focus-within { border-color: var(--orange); background: rgba(255, 255, 255, 0.09); }
.lm-ais-bar__spark {
	flex: 0 0 auto; align-self: center; margin-left: 14px;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--orange);
	border: 1px solid var(--orange); padding: 3px 6px;
}
.lm-ais-bar__input {
	flex: 1 1 auto; min-width: 0;
	padding: 16px 14px; border: 0; outline: 0; background: transparent;
	font: inherit; font-size: 16px; color: var(--paper);
}
.lm-ais-bar__input::placeholder { color: var(--muted-dark-2); opacity: 1; }
.lm-ais-bar__go {
	flex: 0 0 auto; width: 56px; border: 0; cursor: pointer;
	background: var(--orange); color: #fff; font-family: var(--mono); font-size: 18px;
	transition: background-color var(--ease), color var(--ease);
}
.lm-ais-bar__go:hover { background: var(--paper); color: var(--ink); }
.lm-ais-bar__go:disabled { opacity: 0.45; cursor: wait; }

.lm-ais-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lm-ais-chips a {
	display: inline-block; padding: 8px 12px;
	border: 1px solid var(--ink-line); color: var(--muted-dark);
	font-size: 13.5px; line-height: 1.35;
	transition: color var(--ease), border-color var(--ease);
}
.lm-ais-chips a:hover { color: var(--paper); border-color: var(--orange); }
.lm-ais-chips--stack { flex-direction: column; align-items: flex-start; }

.lm-ais-ask--hero { margin-top: 30px; max-width: 640px; }
.lm-ais-ask--error404 { margin-top: 30px; max-width: 640px; }

/* Fenêtre de la loupe */
.lm-ais-dialog {
	width: min(760px, calc(100% - 2 * var(--gutter)));
	max-height: calc(100dvh - 40px);
	margin: max(40px, 10vh) auto auto;
	padding: 0; border: 1px solid var(--ink-line);
	background: var(--ink); color: var(--paper);
}
.lm-ais-dialog::backdrop { background: rgba(23, 21, 19, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lm-ais-dialog__inner { padding: clamp(20px, 3.5vw, 36px); }
.lm-ais-dialog__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lm-ais-dialog__title { margin: 14px 0 0; font-weight: 700; letter-spacing: -0.025em; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; }
.lm-ais-dialog__lead { margin: 12px 0 22px; color: var(--muted-dark); font-size: 15px; line-height: 1.6; max-width: 600px; }

/* Page de recherche : conversation à gauche, résultats à droite */
.lm-ais { background: var(--ink); color: var(--paper); padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.lm-ais__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); align-items: start; }
@media (min-width: 1024px) {
	.lm-ais__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
	/* Hauteur de l'écran moins la barre du haut, l'en-tête et les marges :
	   le champ de saisie est visible dès l'arrivée sur la page. */
	.lm-ais__panel {
		position: sticky; top: calc(var(--header-h) + 20px);
		height: calc(100dvh - var(--header-h) - 120px); min-height: 520px;
	}
	.admin-bar .lm-ais__panel { top: calc(var(--header-h) + 52px); height: calc(100dvh - var(--header-h) - 152px); }
}
.lm-ais__panel {
	display: flex; flex-direction: column; min-width: 0;
	background: var(--ink-soft); border: 1px solid var(--ink-line);
	padding: clamp(18px, 2.4vw, 30px);
}
.lm-ais__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-line); }
.lm-ais__title { margin-top: 12px; font-stretch: 106%; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.04; }
.lm-ais__reset {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 8px 14px;
	background: none; border: 1px solid var(--ink-line); color: var(--paper); cursor: pointer;
	font: inherit; font-size: 13px; font-weight: 600;
}
.lm-ais__reset:hover { border-color: var(--orange); color: var(--orange); }
.lm-ais__reset[hidden] { display: none; }

.lm-ais__thread { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px 6px 22px 0; scrollbar-width: thin; scrollbar-color: var(--ink-line) transparent; }
.lm-ais__lead { margin: 0 0 22px; color: var(--muted-dark); font-size: 16px; line-height: 1.6; max-width: 560px; }
.lm-ais__welcome[hidden] { display: none; }

.lm-ais-msg + .lm-ais-msg { margin-top: 20px; }
.lm-ais-msg__who { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark-2); }
.lm-ais-msg--bot .lm-ais-msg__who { color: var(--orange); }
.lm-ais-msg--user { display: flex; flex-direction: column; align-items: flex-end; }
.lm-ais-msg--user .lm-ais-msg__body {
	max-width: 85%; padding: 12px 16px;
	background: rgba(255, 255, 255, 0.08); color: var(--paper);
	font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere;
}
.lm-ais-msg--bot .lm-ais-msg__body { font-size: 15.5px; line-height: 1.65; color: var(--paper); overflow-wrap: anywhere; }
.lm-ais-msg--bot .lm-ais-msg__body p { margin: 0; }
.lm-ais-msg--bot .lm-ais-msg__body p + p,
.lm-ais-msg--bot .lm-ais-msg__body ul,
.lm-ais-msg--bot .lm-ais-msg__body p + ul { margin-top: 10px; }
.lm-ais-msg--bot .lm-ais-msg__body ul { padding-left: 18px; }
.lm-ais-msg--bot .lm-ais-msg__body strong { color: #fff; }
.lm-ais-wait { color: var(--muted-dark); display: flex; align-items: center; gap: 10px; }
.lm-ais-dots { display: inline-flex; gap: 4px; }
.lm-ais-dots i { width: 6px; height: 6px; background: var(--orange); animation: lm-ais-blink 1.2s infinite ease-in-out; }
.lm-ais-dots i:nth-child(2) { animation-delay: 0.15s; }
.lm-ais-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lm-ais-blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lm-ais-dots i { animation: none; opacity: 0.7; } }
.lm-ais-error { color: #FFB59C; }

.lm-ais__note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted-dark-2); }
.lm-ais__note a { color: var(--muted-dark); text-decoration: underline; text-underline-offset: 2px; }
.lm-ais.is-busy .lm-ais-bar { opacity: 0.85; }

/* Résultats */
.lm-ais__results { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.lm-ais-res__label { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.lm-ais-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lm-ais-card {
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start;
	padding: 14px; background: var(--ink-soft); border: 1px solid var(--ink-line);
}
.lm-ais-card:not(:has(.lm-ais-card__media)) { grid-template-columns: minmax(0, 1fr); }
.lm-ais-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-line); }
.lm-ais-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Visuel de fabricant : jamais agrandi ni rogné, sur fond papier. */
.lm-ais-card__media--native { background: var(--paper); }
.lm-ais-card__media--native img { object-fit: contain; padding: 6px; }
.lm-ais-card__ref { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--orange); }
.lm-ais-card__title { margin-top: 4px; font-size: 17px; line-height: 1.25; }
.lm-ais-card__title a { color: var(--paper); }
.lm-ais-card__title a:hover { color: var(--orange); }
.lm-ais-card__text { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted-dark); }
.lm-ais-card__credit { margin: 6px 0 0; font-size: 11px; color: var(--muted-dark-2); }
.lm-ais-card__cta { display: inline-flex; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--orange); border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.lm-ais-card__cta:hover { color: var(--paper); border-color: var(--paper); }
.lm-ais-card__cta .lm-arrow { font-family: var(--mono); }

.lm-ais-links { list-style: none; margin: 0; padding: 0; }
.lm-ais-links li { padding: 12px 0; border-top: 1px solid var(--ink-line); }
.lm-ais-links li:last-child { border-bottom: 1px solid var(--ink-line); }
.lm-ais-links a { display: inline-flex; gap: 8px; font-weight: 600; font-size: 16px; color: var(--paper); }
.lm-ais-links a:hover { color: var(--orange); }
.lm-ais-links a .lm-arrow { font-family: var(--mono); color: var(--orange); }
.lm-ais-links span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted-dark); }

.lm-ais-contact { padding: 20px; border: 1px solid var(--ink-line); border-top: 2px solid var(--orange); }
.lm-ais-contact__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.lm-ais-contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lm-ais-contact__actions .lm-btn { padding: 13px 20px; font-size: 14px; }
.lm-ais-contact__meta { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; letter-spacing: 0.02em; color: var(--muted-dark); }
.lm-ais-contact__meta a { color: var(--paper); }

@media (max-width: 559px) {
	.lm-ais-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.lm-ais-msg--user .lm-ais-msg__body { max-width: 92%; }
	.lm-ais__head { flex-direction: column; }
	.lm-ais-bar__spark { display: none; }
}
.lm-ais__title em { font-style: normal; color: var(--orange); }

/* ------------------------------------------- Dossier du 14 octobre (V6) --- */

/* Deux logos côte à côte (fournisseurs d'une catégorie, dispositif et opérateur). */
.lm-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* Cartes numérotées avec photo (façonnage) : le visuel en tête, à fond perdu ;
   une carte sans photo garde son numéro en grand, à la même place. */
.lm-card--media { display: flex; flex-direction: column; }
.lm-card__media {
	margin: calc(-1 * clamp(22px, 2.4vw, 32px)) calc(-1 * clamp(22px, 2.4vw, 32px)) 20px;
	aspect-ratio: 4 / 3; overflow: hidden; background: var(--stripe-b);
}
.lm-card__media a, .lm-card__media img { display: block; width: 100%; height: 100%; }
.lm-card__media img { object-fit: cover; transition: transform 400ms ease; }
.lm-card__media a:hover img { transform: scale(1.03); }
.lm-card__media--empty { display: flex; align-items: center; justify-content: center; }
.lm-card__mark { font-family: var(--mono); font-size: clamp(34px, 4vw, 48px); letter-spacing: 0.06em; color: var(--muted-dark); }
@media (prefers-reduced-motion: reduce) { .lm-card__media img { transition: none; } }
