/* ==========================================================================
   LM Services — Armure WordPress
   --------------------------------------------------------------------------
   À charger APRÈS la feuille du thème et APRÈS lm-services.css.

   Pourquoi ce fichier existe
   --------------------------
   Un thème WordPress, et plus encore les styles globaux que WordPress
   injecte lui-même pour les thèmes à blocs, posent des règles sur les
   mêmes éléments que nous : a, a:hover, button, input, p, ul, h1 à h6.
   Quand leur sélecteur est plus spécifique que le nôtre, ou simplement
   chargé après, c'est le leur qui gagne. C'est ce qui s'est produit sur
   le survol des boutons de la page de maintenance : fond devenu gris,
   texte passé en majuscules, angles redevenus droits.

   Comment ce fichier s'y prend
   ----------------------------
   1. Tout est porté par .lm-portee, le conteneur de nos pages, ce qui
      ajoute un niveau de spécificité sans toucher au reste du site.
   2. Chaque état d'un lien est écrit explicitement : :link, :visited,
      :hover, :focus, :active. Un thème qui ne style que a:hover ne peut
      alors plus prendre le dessus par surprise.
   3. !important est réservé aux quelques propriétés que les thèmes
      écrasent systématiquement. Il n'est pas posé partout : une armure
      en !important intégral devient impossible à ajuster ensuite.

   À ne pas faire : envelopper ces règles dans @layer. Les styles d'un
   thème ne sont presque jamais déclarés dans une couche, et une règle
   sans couche l'emporte toujours sur une règle en couche. Nous perdrions
   exactement ce que ce fichier cherche à gagner.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Le conteneur : rendre sa largeur au contenu
   --------------------------------------------------------------------------
   Les thèmes contraignent le contenu de l'éditeur à une largeur de lecture,
   souvent 650 ou 840 px, par .entry-content > * ou par les variables
   --wp--style--global--content-size. Nos sections sont pleine largeur et
   gèrent leur propre conteneur.
   -------------------------------------------------------------------------- */
.lm-portee,
.entry-content > .lm-portee,
.wp-site-blocks .lm-portee {
	max-width: none !important;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	float: none;
}

.lm-portee * {
	box-sizing: border-box;
}

/* Le thème applique parfois une largeur maximale à chaque enfant direct
   du contenu. Nos sections doivent s'en affranchir une par une. */
.lm-portee > *,
.lm-portee section,
.lm-portee .lm-conteneur {
	max-width: none;
}

.lm-portee .lm-conteneur {
	max-width: var(--lm-max, 1240px);
	margin-left: auto;
	margin-right: auto;
}

/* Alignement pleine largeur : neutralise les marges négatives que certains
   thèmes appliquent aux blocs alignfull. */
.lm-portee.alignfull,
.lm-portee .alignfull {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

/* --------------------------------------------------------------------------
   2. Les boutons : le point qui a cassé
   --------------------------------------------------------------------------
   Tous les états sont écrits. Sans :visited notamment, un bouton déjà
   cliqué prend la couleur des liens visités du thème.
   -------------------------------------------------------------------------- */
.lm-portee a.lm-btn,
.lm-portee a.lm-btn:link,
.lm-portee a.lm-btn:visited,
.lm-portee a.lm-btn:hover,
.lm-portee a.lm-btn:focus,
.lm-portee a.lm-btn:active,
.lm-portee button.lm-btn,
.lm-portee button.lm-btn:hover,
.lm-portee button.lm-btn:focus,
.lm-portee button.lm-btn:active,
.lm-portee input[type="submit"].lm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif) !important;
	font-size: 15.5px;
	font-weight: 700 !important;
	line-height: 1.2;
	letter-spacing: .01em !important;
	text-transform: none !important;   /* le thème met souvent les boutons en majuscules */
	text-decoration: none !important;
	text-shadow: none;
	border-radius: var(--lm-r-pilule, 100px) !important;
	border: 1px solid transparent;
	box-shadow: none !important;
	background-image: none !important;  /* certains thèmes posent un dégradé */
	cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s;
	-webkit-appearance: none;
	appearance: none;
	min-height: 0;
	width: auto;
}

/* Bouton ambre : fond ambre, texte navy. Au survol, fond clair. */
.lm-portee a.lm-btn-ambre,
.lm-portee a.lm-btn-ambre:link,
.lm-portee a.lm-btn-ambre:visited,
.lm-portee button.lm-btn-ambre,
.lm-portee .lm-btn--sombre,
.lm-portee .lm-btn--sombre:link,
.lm-portee .lm-btn--sombre:visited {
	background-color: var(--lm-orange, #FFB050) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: transparent !important;
}

.lm-portee a.lm-btn-ambre:hover,
.lm-portee a.lm-btn-ambre:focus,
.lm-portee a.lm-btn-ambre:active,
.lm-portee button.lm-btn-ambre:hover,
.lm-portee button.lm-btn-ambre:focus,
.lm-portee .lm-btn--sombre:hover,
.lm-portee .lm-btn--sombre:focus,
.lm-portee .lm-btn--sombre:active {
	background-color: var(--lm-logo-clair, #ECEDF0) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: transparent !important;
}

/* Bouton principal sur fond clair : navy plein. */
.lm-portee a.lm-btn-principal,
.lm-portee a.lm-btn-principal:link,
.lm-portee a.lm-btn-principal:visited,
.lm-portee button.lm-btn-principal {
	background-color: var(--lm-navy, #15172D) !important;
	color: #FFFFFF !important;
	border-color: transparent !important;
}

.lm-portee a.lm-btn-principal:hover,
.lm-portee a.lm-btn-principal:focus,
.lm-portee a.lm-btn-principal:active,
.lm-portee button.lm-btn-principal:hover,
.lm-portee button.lm-btn-principal:focus {
	background-color: var(--lm-navy-2, #232640) !important;
	color: #FFFFFF !important;
}

/* Bouton secondaire sur fond clair : contour navy. */
.lm-portee a.lm-btn-secondaire,
.lm-portee a.lm-btn-secondaire:link,
.lm-portee a.lm-btn-secondaire:visited {
	background-color: transparent !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: var(--lm-bordure, #DFE2EB) !important;
}

.lm-portee a.lm-btn-secondaire:hover,
.lm-portee a.lm-btn-secondaire:focus,
.lm-portee a.lm-btn-secondaire:active {
	background-color: var(--lm-fond-2, #F4F5F8) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: var(--lm-navy, #15172D) !important;
}

/* Bouton fantôme sur fond sombre : contour clair. */
.lm-portee a.lm-btn-fantome,
.lm-portee a.lm-btn-fantome:link,
.lm-portee a.lm-btn-fantome:visited {
	background-color: transparent !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	border-color: rgba(236, 237, 240, .3) !important;
}

.lm-portee a.lm-btn-fantome:hover,
.lm-portee a.lm-btn-fantome:focus,
.lm-portee a.lm-btn-fantome:active {
	background-color: transparent !important;
	color: var(--lm-orange, #FFB050) !important;
	border-color: var(--lm-orange, #FFB050) !important;
}

/* L'icône dans un bouton ne doit jamais être redimensionnée par le thème. */
.lm-portee .lm-btn svg {
	flex: none;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
}

/* --------------------------------------------------------------------------
   3. Les liens courants
   -------------------------------------------------------------------------- */
.lm-portee a:not(.lm-btn),
.lm-portee a:not(.lm-btn):link,
.lm-portee a:not(.lm-btn):visited {
	color: inherit;
	text-decoration: none;
	text-decoration-color: currentColor;
	box-shadow: none;
	background-image: none;
}

.lm-portee a:not(.lm-btn):hover,
.lm-portee a:not(.lm-btn):focus {
	color: inherit;
	background-color: transparent;
}

/* Les liens de texte, eux, gardent leur soulignement. */
.lm-portee p > a:not(.lm-btn),
.lm-portee li > a:not(.lm-btn),
.lm-portee dd > a:not(.lm-btn) {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.lm-portee p > a:not(.lm-btn):hover,
.lm-portee li > a:not(.lm-btn):hover {
	color: var(--lm-orange, #FFB050);
}

/* WordPress ajoute une icône aux liens externes dans certains thèmes. */
.lm-portee a[target="_blank"]::after {
	content: none !important;
}

/* --------------------------------------------------------------------------
   4. Titres et texte
   --------------------------------------------------------------------------
   Les styles globaux de WordPress imposent des tailles, des graisses et
   des marges aux titres. Nos pages définissent les leurs.
   -------------------------------------------------------------------------- */
.lm-portee h1,
.lm-portee h2,
.lm-portee h3,
.lm-portee h4 {
	font-family: var(--lm-titre, "Archivo", "Helvetica Neue", Arial, sans-serif) !important;
	color: inherit;
	text-transform: none !important;
	letter-spacing: normal;
	clear: none;
}

.lm-portee h1::before, .lm-portee h2::before,
.lm-portee h3::before, .lm-portee h4::before,
.lm-portee h1::after, .lm-portee h2::after,
.lm-portee h3::after, .lm-portee h4::after {
	content: none !important;   /* certains thèmes ajoutent un trait sous les titres */
}

.lm-portee p {
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif);
	color: inherit;
	text-align: inherit;
}

.lm-portee ul,
.lm-portee ol {
	padding-left: 0;
	margin-left: 0;
}

.lm-portee ul {
	list-style: none;
}

.lm-portee li {
	margin: 0;
}

.lm-portee img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
	box-shadow: none;
}

.lm-portee figure,
.lm-portee figcaption {
	margin: 0;
}

/* --------------------------------------------------------------------------
   5. Les champs de formulaire
   --------------------------------------------------------------------------
   C'est le deuxième endroit où les thèmes imposent le plus leur style :
   hauteur, bordure, ombre interne, fond gris.
   -------------------------------------------------------------------------- */
.lm-portee.lm-portee.lm-portee input[type="text"],
.lm-portee.lm-portee.lm-portee input[type="email"],
.lm-portee.lm-portee.lm-portee input[type="tel"],
.lm-portee.lm-portee.lm-portee input[type="url"],
.lm-portee.lm-portee.lm-portee input[type="number"],
.lm-portee.lm-portee.lm-portee input[type="search"],
.lm-portee.lm-portee.lm-portee select,
.lm-portee.lm-portee.lm-portee textarea {
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif) !important;
	font-size: 15.5px !important;
	line-height: 1.5 !important;
	color: var(--lm-navy, #15172D) !important;
	/* Bordure, fond et marge intérieure sont affirmés : un thème qui pose
	   « border: 0 » sur ses champs les rend invisibles sur fond blanc, et il
	   ne reste que le curseur. C'est ce qui est arrivé à la zone de
	   commentaire de la page contact. Sans !important ici, le thème gagne. */
	background-color: #FFFFFF !important;
	background-image: none !important;
	border: 1px solid var(--lm-bordure-champ, #878DA3) !important;
	border-radius: var(--lm-r, 12px) !important;
	box-shadow: none !important;
	padding: 13px 15px !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

/* La zone de commentaire garde sa hauteur : « padding: 0 » venu du thème
   l'écrasait sur une seule ligne. */
.lm-portee.lm-portee.lm-portee textarea {
	min-height: 110px !important;
	resize: vertical !important;
	line-height: 1.6 !important;
}

.lm-portee.lm-portee.lm-portee select {
	/* La flèche native disparaît avec appearance:none, on la redessine. */
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2315172D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 42px !important;
}

.lm-portee.lm-portee.lm-portee input:focus,
.lm-portee.lm-portee.lm-portee select:focus,
.lm-portee.lm-portee.lm-portee textarea:focus {
	outline: 2px solid var(--lm-navy, #15172D) !important;
	outline-offset: 2px !important;
	border-color: var(--lm-navy, #15172D) !important;
}

/* Un en-tête de carte à fond sombre : son titre doit rester clair même si
   le thème impose sa couleur de titre à tous les h1-h4. */
.lm-carte-tete.lm-carte-tete.lm-carte-tete h1,
.lm-carte-tete.lm-carte-tete.lm-carte-tete h2,
.lm-carte-tete.lm-carte-tete.lm-carte-tete h3 {
	color: var(--lm-logo-clair, #ECEDF0) !important;
	text-transform: none !important;
}

.lm-carte-tete.lm-carte-tete.lm-carte-tete p {
	color: var(--lm-clair-2, #C6C9D8) !important;
}

.lm-portee label {
	display: block;
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif);
	font-weight: 500;
	text-transform: none !important;
	letter-spacing: normal;
}

/* Cases à cocher et boutons radio : le thème les remplace parfois par ses
   propres pastilles, ce qui casse nos libellés en carte. */
.lm-portee input[type="checkbox"],
.lm-portee input[type="radio"] {
	width: auto;
	height: auto;
	-webkit-appearance: auto;
	appearance: auto;
	border-radius: 0 !important;
	padding: 0;
	margin: 0;
}

/* --------------------------------------------------------------------------
   6. Vidéo et éléments incorporés
   -------------------------------------------------------------------------- */
.lm-portee video {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	border-radius: inherit;
}

.lm-portee .wp-block-embed__wrapper,
.lm-portee iframe {
	max-width: none;
}

/* --------------------------------------------------------------------------
   7. Le header et le footer
   --------------------------------------------------------------------------
   Ils sont insérés dans un gabarit, donc hors de .lm-portee : ils ont
   besoin de leur propre armure, et elle doit être complète. C'est ici que
   le thème fait le plus de dégâts, parce que la navigation est faite de
   liens et de boutons, exactement les éléments qu'un thème style en
   priorité : casse forcée en majuscules, anneau de focus coloré, ombre
   portée, police de titrage, image redimensionnée.
   -------------------------------------------------------------------------- */

/* --- Neutralisation générale des ombres et des halos ----------------------
   La version ciblée de cette armure visait les liens et les boutons. Elle
   ne suffisait pas : un thème peut poser son halo sur le conteneur du
   sous-menu, sur un pseudo-élément, ou par filter: drop-shadow(), que
   box-shadow: none ne retire pas. On neutralise donc tout, y compris les
   pseudo-éléments, puis on remet uniquement les deux ombres voulues plus
   bas : celle du panneau déroulant et l'anneau de focus clavier.

   Les effets lumineux du pied de page ne sont pas concernés : ils sont
   peints par des dégradés de fond, pas par une ombre ni par un filtre. */
.lm-header.lm-header.lm-header,
.lm-header.lm-header.lm-header *,
.lm-header.lm-header.lm-header *::before,
.lm-header.lm-header.lm-header *::after,
.lm-footer.lm-footer.lm-footer,
.lm-footer.lm-footer.lm-footer *,
.lm-footer.lm-footer.lm-footer *::before,
.lm-footer.lm-footer.lm-footer *::after {
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	filter: none !important;
	-webkit-filter: none !important;
	text-shadow: none !important;
	outline: none !important;
}

/* La classe est répétée trois fois volontairement. Entre deux règles
   !important, c'est la spécificité qui tranche, et un thème qui écrit
   .lm-a-sousmenu:hover ou .lm-nav button:hover pèse plus lourd qu'un
   simple .lm-header *. Répéter la classe porte notre poids à trois sans
   changer ce que le sélecteur désigne. C'est laid, mais c'est la seule
   façon de gagner à coup sûr contre un thème qu'on ne maîtrise pas.
   Les deux ombres que l'on garde sont remises juste en dessous, avec un
   poids supérieur encore. */

.lm-header.lm-header.lm-header .lm-sousmenu {
	box-shadow: 0 12px 32px rgba(21, 23, 45, .14) !important;
}

@media (max-width: 920px) {
	.lm-header.lm-header.lm-header .lm-sousmenu {
		box-shadow: none !important;
	}
}

.lm-header.lm-header.lm-header a:focus-visible,
.lm-header.lm-header.lm-header button:focus-visible,
.lm-footer.lm-footer.lm-footer a:focus-visible,
.lm-footer.lm-footer.lm-footer button:focus-visible {
	outline: 2px solid var(--lm-orange, #FFB050) !important;
	outline-offset: 3px !important;
}

/* --- Le logo : jamais déformé ---------------------------------------------
   On fixe la hauteur et on laisse la largeur suivre. Forcer les deux
   dimensions déforme ou rogne le logo dès que le fichier téléversé n'a pas
   exactement le rapport attendu, ce qui arrive à chaque remplacement de
   fichier. object-fit:contain garantit que rien n'est rogné, quoi qu'il
   arrive. */
.lm-header .lm-logo img {
	height: 54px !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	aspect-ratio: auto !important;
}

.lm-footer .lm-footer-logo img {
	height: 62px !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	aspect-ratio: auto !important;
}

@media (max-width: 920px) {
	.lm-header .lm-logo img { height: 44px !important; }
}

/* --- Les liens et boutons de navigation -----------------------------------
   Tous les états sont écrits. Le bouton du sous-menu est un <button> : les
   thèmes lui appliquent leur style de bouton, d'où la casse en majuscules
   et la police à empattements vues sur « Maîtres d'ouvrage ». */
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob),
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):link,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):visited,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):hover,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):focus,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):active,
.lm-header .lm-a-sousmenu > button,
.lm-header .lm-a-sousmenu > button:hover,
.lm-header .lm-a-sousmenu > button:focus,
.lm-header .lm-a-sousmenu > button:active {
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif) !important;
	font-size: 14.5px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	border: 0 !important;
	border-radius: var(--lm-r, 12px) !important;
	box-shadow: none !important;
	background-image: none !important;
	padding: 10px 11px !important;
	margin: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob),
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):link,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):visited,
.lm-header .lm-a-sousmenu > button {
	color: var(--lm-logo-clair, #ECEDF0) !important;
	background-color: transparent !important;
}

.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):hover,
.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):focus,
.lm-header .lm-a-sousmenu > button:hover,
.lm-header .lm-a-sousmenu > button:focus {
	color: var(--lm-orange, #FFB050) !important;
	background-color: var(--lm-navy-2, #232640) !important;
}

.lm-header .lm-nav a[aria-current="page"] {
	color: var(--lm-orange, #FFB050) !important;
}

/* --- Le contour et l'ombre du thème -------------------------------------
   Le thème pose un anneau coloré au survol comme au focus. On le retire
   dans tous les états, avant de remettre le nôtre pour le clavier. */
.lm-header a,
.lm-header a:hover,
.lm-header a:active,
.lm-header button,
.lm-header button:hover,
.lm-header button:active,
.lm-footer a,
.lm-footer a:hover,
.lm-footer button,
.lm-footer button:hover {
	outline: none !important;
	box-shadow: none !important;
}

/* --- L'anneau de focus -----------------------------------------------------
   Le thème pose souvent une ombre colorée au focus et au survol, visible
   comme un cadre rose autour du bouton. On la supprime partout, puis on
   remet un anneau sobre pour la navigation au clavier uniquement : le
   supprimer sans le remplacer rendrait le menu inutilisable sans souris. */
.lm-header a:focus,
.lm-header button:focus,
.lm-footer a:focus,
.lm-footer button:focus {
	box-shadow: none !important;
	outline: none !important;
}

.lm-header a:focus-visible,
.lm-header button:focus-visible,
.lm-footer a:focus-visible,
.lm-footer button:focus-visible {
	outline: 2px solid var(--lm-orange, #FFB050) !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}

/* --- Le chevron du sous-menu ---------------------------------------------- */
.lm-header .lm-chev {
	border-right: 1.6px solid currentColor !important;
	border-bottom: 1.6px solid currentColor !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	width: 9px !important;
	height: 9px !important;
}

/* --- Le panneau de sous-menu ---------------------------------------------- */
.lm-header .lm-sousmenu {
	list-style: none !important;
	margin: 0 !important;
	padding: 8px !important;
	background: var(--lm-blanc, #FFFFFF) !important;
	border: 1px solid var(--lm-bordure, #DFE2EB) !important;
	border-radius: var(--lm-r-card, 16px) !important;
	box-shadow: 0 12px 32px rgba(21, 23, 45, .14) !important;
}

.lm-header .lm-sousmenu li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.lm-header .lm-sousmenu li::marker,
.lm-header .lm-nav li::marker {
	content: "" !important;
}

.lm-header .lm-nav .lm-sousmenu a,
.lm-header .lm-nav .lm-sousmenu a:link,
.lm-header .lm-nav .lm-sousmenu a:visited {
	display: block !important;
	width: 100% !important;
	padding: 11px 14px !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	color: var(--lm-navy, #15172D) !important;
	background-color: transparent !important;
	border-radius: var(--lm-r, 12px) !important;
	box-shadow: none !important;
}

.lm-header .lm-nav .lm-sousmenu a:hover,
.lm-header .lm-nav .lm-sousmenu a:focus {
	background-color: var(--lm-fond-2, #F4F5F8) !important;
	color: var(--lm-orange, #FFB050) !important;
}

/* --- Le bouton d'appel à l'action ----------------------------------------- */
.lm-header .lm-actions .lm-btn,
.lm-header .lm-actions .lm-btn:link,
.lm-header .lm-actions .lm-btn:visited,
.lm-header .lm-actions .lm-btn:hover,
.lm-header .lm-actions .lm-btn:focus,
.lm-header .lm-actions .lm-btn:active,
.lm-footer .lm-btn,
.lm-footer .lm-btn:hover,
.lm-footer .lm-btn:focus {
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif) !important;
	font-weight: 700 !important;
	font-size: 14.5px !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	text-decoration: none !important;
	border-radius: var(--lm-r-pilule, 100px) !important;
	border: 1px solid transparent !important;
	box-shadow: none !important;
	background-image: none !important;
	padding: 12px 21px !important;
	height: auto !important;
	min-height: 0 !important;
}

.lm-header .lm-btn--sombre,
.lm-header .lm-btn--sombre:link,
.lm-header .lm-btn--sombre:visited {
	background-color: var(--lm-orange, #FFB050) !important;
	color: var(--lm-navy, #15172D) !important;
}

.lm-header .lm-btn--sombre:hover,
.lm-header .lm-btn--sombre:focus {
	background-color: var(--lm-logo-clair, #ECEDF0) !important;
	color: var(--lm-navy, #15172D) !important;
}

/* --- Le numéro de téléphone ----------------------------------------------- */
.lm-header .lm-tel,
.lm-header .lm-tel:link,
.lm-header .lm-tel:visited {
	font-family: var(--lm-titre, "Archivo", "Helvetica Neue", Arial, sans-serif) !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	text-decoration: none !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	box-shadow: none !important;
}

.lm-header .lm-tel:hover {
	color: var(--lm-orange, #FFB050) !important;
}

/* --- Le bouton burger ------------------------------------------------------ */
.lm-header .lm-burger,
.lm-header .lm-burger:hover,
.lm-header .lm-burger:focus {
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: var(--lm-r, 12px) !important;
	box-shadow: none !important;
	padding: 10px !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	text-transform: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.lm-header .lm-burger span {
	display: block !important;
	width: 22px !important;
	height: 2px !important;
	background: var(--lm-logo-clair, #ECEDF0) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.lm-header .lm-burger span + span {
	margin-top: 5px !important;
}

/* --- Mobile ----------------------------------------------------------------
   Le menu déroulant reprend toute la largeur : le thème y applique ses
   marges de liste et ses fonds, ce qui décale les entrées et fait
   réapparaître les puces. */
@media (max-width: 920px) {

	.lm-header .lm-nav {
		background: var(--lm-navy, #15172D) !important;
		padding: 12px 24px 28px !important;
		margin: 0 !important;
		border-top: 1px solid var(--lm-navy-2, #232640) !important;
		list-style: none !important;
	}

	.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob),
	.lm-header .lm-a-sousmenu > button {
		width: 100% !important;
		justify-content: space-between !important;
		padding: 15px 4px !important;
		font-size: 17px !important;
		border-radius: 0 !important;
		border-bottom: 1px solid var(--lm-navy-2, #232640) !important;
		background-color: transparent !important;
	}

	.lm-header .lm-nav > a:not(.lm-btn):not(.lm-tel-mob):hover,
	.lm-header .lm-a-sousmenu > button:hover {
		background-color: transparent !important;
	}

	.lm-header .lm-sousmenu {
		background: none !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 0 0 16px !important;
		border-radius: 0 !important;
	}

	.lm-header .lm-nav .lm-sousmenu a,
	.lm-header .lm-nav .lm-sousmenu a:link,
	.lm-header .lm-nav .lm-sousmenu a:visited {
		color: var(--lm-clair-2, #C6C9D8) !important;
		background-color: transparent !important;
		font-size: 16px !important;
		padding: 13px 4px !important;
		border-radius: 0 !important;
		border-bottom: 1px solid var(--lm-navy-2, #232640) !important;
	}

	.lm-header .lm-nav .lm-sousmenu a:hover {
		color: var(--lm-orange, #FFB050) !important;
		background-color: transparent !important;
	}

	.lm-header .lm-nav .lm-btn {
		justify-content: center !important;
		border-bottom: 0 !important;
		border-radius: var(--lm-r-pilule, 100px) !important;
		margin-top: 22px !important;
	}

	.lm-header .lm-nav .lm-tel-mob {
		justify-content: center !important;
		border-bottom: 0 !important;
		font-family: var(--lm-titre, "Archivo", sans-serif) !important;
		font-size: 18px !important;
		font-weight: 600 !important;
	}
}

/* --- Le pied de page ------------------------------------------------------- */
.lm-footer a,
.lm-footer a:link,
.lm-footer a:visited {
	text-decoration: none !important;
	text-transform: none !important;
	box-shadow: none !important;
	background-image: none !important;
	color: inherit;
}

.lm-footer ul,
.lm-footer ol {
	list-style: none !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
	box-shadow: none !important;
}

.lm-footer li::marker {
	content: "" !important;
}

.lm-footer img,
.lm-footer svg {
	box-shadow: none !important;
	border-radius: 0 !important;
}

.lm-footer h2,
.lm-footer h3,
.lm-footer h4 {
	font-family: var(--lm-titre, "Archivo", sans-serif) !important;
	text-transform: none !important;
}

.lm-footer h2::after,
.lm-footer h3::after,
.lm-footer h4::after {
	content: none !important;
}

/* Le thème ajoute souvent une marge sous le header ou au-dessus du footer. */
.lm-header,
.lm-footer {
	margin: 0 !important;
	max-width: none !important;
}

.lm-header *,
.lm-footer * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   8. Barre d'administration
   --------------------------------------------------------------------------
   Connecté, WordPress pousse le document de 32 px vers le bas. Notre
   header collant doit en tenir compte, sinon il passe dessous.
   -------------------------------------------------------------------------- */
.admin-bar .lm-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .lm-header {
		top: 46px;
	}
}

/* --------------------------------------------------------------------------
   9. Préférence de mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.lm-portee *,
	.lm-header *,
	.lm-footer * {
		animation: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
   10. Les composants, où qu'ils soient
   --------------------------------------------------------------------------
   Toutes les règles précédentes passent par .lm-portee. Si ce conteneur
   manque — contenu collé sans lui, bouton posé dans un gabarit, bloc
   réutilisable, widget — elles ne s'appliquent plus du tout et le thème
   reprend la main.

   Ce bloc rattrape les composants par leur propre classe, sans dépendre
   d'aucun conteneur, et répète cette classe trois fois pour peser plus
   lourd que les règles du thème. Les thèmes répandus déclarent une
   « couleur de contraste » ou « couleur d'accentuation » qu'ils appliquent
   à tous les liens et à tous les boutons : c'est elle qui faisait virer
   nos boutons au rose. On écrit donc la couleur explicitement partout,
   jamais en héritage.
   -------------------------------------------------------------------------- */

/* --- La forme commune à tous les boutons --------------------------------- */
.lm-btn.lm-btn.lm-btn,
.lm-btn.lm-btn.lm-btn:link,
.lm-btn.lm-btn.lm-btn:visited,
.lm-btn.lm-btn.lm-btn:hover,
.lm-btn.lm-btn.lm-btn:focus,
.lm-btn.lm-btn.lm-btn:active {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-width: none !important;
	font-family: var(--lm-corps, "Inter", "Helvetica Neue", Arial, sans-serif) !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	text-align: center !important;
	border-radius: var(--lm-r-pilule, 100px) !important;
	border: 1px solid transparent !important;
	box-shadow: none !important;
	filter: none !important;
	background-image: none !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: background-color .18s, color .18s, border-color .18s !important;
}

/* --- Ambre : fond ambre, texte navy --------------------------------------- */
.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre,
.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre:link,
.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre:visited,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre:link,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre:visited {
	background-color: var(--lm-orange, #FFB050) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: transparent !important;
}

.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre:hover,
.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre:focus,
.lm-btn-ambre.lm-btn-ambre.lm-btn-ambre:active,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre:hover,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre:focus,
.lm-btn--sombre.lm-btn--sombre.lm-btn--sombre:active {
	background-color: var(--lm-logo-clair, #ECEDF0) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: transparent !important;
}

/* --- Principal : navy plein, texte blanc ---------------------------------- */
.lm-btn-principal.lm-btn-principal.lm-btn-principal,
.lm-btn-principal.lm-btn-principal.lm-btn-principal:link,
.lm-btn-principal.lm-btn-principal.lm-btn-principal:visited {
	background-color: var(--lm-navy, #15172D) !important;
	color: #FFFFFF !important;
	border-color: transparent !important;
}

.lm-btn-principal.lm-btn-principal.lm-btn-principal:hover,
.lm-btn-principal.lm-btn-principal.lm-btn-principal:focus,
.lm-btn-principal.lm-btn-principal.lm-btn-principal:active {
	background-color: var(--lm-navy-2, #232640) !important;
	color: #FFFFFF !important;
	border-color: transparent !important;
}

/* --- Secondaire : contour sur fond clair ---------------------------------- */
.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire,
.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire:link,
.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire:visited {
	background-color: #FFFFFF !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: var(--lm-bordure, #DFE2EB) !important;
}

.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire:hover,
.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire:focus,
.lm-btn-secondaire.lm-btn-secondaire.lm-btn-secondaire:active {
	background-color: var(--lm-fond-2, #F4F5F8) !important;
	color: var(--lm-navy, #15172D) !important;
	border-color: var(--lm-navy, #15172D) !important;
}

/* --- Fantôme : contour clair sur fond sombre ------------------------------ */
.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome,
.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome:link,
.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome:visited {
	background-color: transparent !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	border-color: rgba(236, 237, 240, .3) !important;
}

.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome:hover,
.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome:focus,
.lm-btn-fantome.lm-btn-fantome.lm-btn-fantome:active {
	background-color: transparent !important;
	color: var(--lm-orange, #FFB050) !important;
	border-color: var(--lm-orange, #FFB050) !important;
}

/* --- Les icônes à l'intérieur d'un bouton --------------------------------- */
.lm-btn.lm-btn.lm-btn svg {
	flex: none !important;
	width: 1em !important;
	height: 1em !important;
	fill: none !important;
	stroke: currentColor !important;
	box-shadow: none !important;
	filter: none !important;
}

/* --- L'étiquette de section ----------------------------------------------- */
.lm-etiquette.lm-etiquette.lm-etiquette {
	font-family: var(--lm-corps, "Inter", sans-serif) !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	box-shadow: none !important;
	filter: none !important;
}

/* --- Les champs de formulaire, hors conteneur ----------------------------- */
.lm-champ.lm-champ.lm-champ input,
.lm-champ.lm-champ.lm-champ select,
.lm-champ.lm-champ.lm-champ textarea {
	font-family: var(--lm-corps, "Inter", sans-serif) !important;
	border-radius: var(--lm-r, 12px) !important;
	box-shadow: none !important;
	background-image: none !important;
	height: auto !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

/* --- La vidéo --------------------------------------------------------------
   Un thème qui impose une hauteur ou un object-fit à toutes les vidéos la
   fait disparaître dans son cadre. */
.lm-video-cadre video,
.lm-video-cadre.lm-video-cadre video,
video.lm-video,
#lm-video {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-width: none !important;
	object-fit: cover !important;
	box-shadow: none !important;
	filter: none !important;
	background: var(--lm-navy, #15172D) !important;
}

/* --- Les illustrations ----------------------------------------------------- */

.lm-illustration.lm-illustration.lm-illustration { margin-top: 50px !important; }

.lm-illustration.lm-illustration.lm-illustration img {
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	object-fit: contain !important;
	box-shadow: none !important;
	filter: none !important;
}

/* --------------------------------------------------------------------------
   11. Les couleurs de lien, contre la « couleur de contraste » du thème
   --------------------------------------------------------------------------
   Les thèmes exposent un réglage de couleur d'accentuation, appliqué à
   tous les liens par une règle en !important. Sur fond sombre, cette
   couleur devient illisible et dénature la charte. On écrit donc la
   couleur de chaque lien du header et du footer, explicitement.
   -------------------------------------------------------------------------- */

.lm-footer.lm-footer.lm-footer a,
.lm-footer.lm-footer.lm-footer a:link,
.lm-footer.lm-footer.lm-footer a:visited {
	color: var(--lm-clair-2, #C6C9D8) !important;
	text-decoration: none !important;
}

.lm-footer.lm-footer.lm-footer a:hover,
.lm-footer.lm-footer.lm-footer a:focus {
	color: var(--lm-orange, #FFB050) !important;
}

.lm-footer.lm-footer.lm-footer .lm-footer-logo,
.lm-footer.lm-footer.lm-footer .lm-footer-logo:link,
.lm-footer.lm-footer.lm-footer .lm-footer-logo:visited,
.lm-footer.lm-footer.lm-footer h2,
.lm-footer.lm-footer.lm-footer h3,
.lm-footer.lm-footer.lm-footer h4 {
	color: var(--lm-logo-clair, #ECEDF0) !important;
}

.lm-footer.lm-footer.lm-footer .lm-footer-bas,
.lm-footer.lm-footer.lm-footer .lm-footer-bas a {
	color: var(--lm-clair-3, #A0A5BE) !important;
}

/* Les pictogrammes des réseaux sociaux suivent la couleur du texte. */
.lm-footer.lm-footer.lm-footer .lm-reseaux a svg {
	fill: currentColor !important;
	stroke: none !important;
}

/* --------------------------------------------------------------------------
   12. Le conteneur de section, en dernier recours
   --------------------------------------------------------------------------
   Si .lm-portee venait à manquer, le thème contraindrait chaque section à
   sa largeur de lecture, autour de 650 px, et la page serait illisible.
   Cette règle rattrape au moins le conteneur. Elle ne remplace pas
   .lm-portee, qui reste nécessaire pour les titres et les champs : elle
   évite seulement que la page devienne inexploitable.
   -------------------------------------------------------------------------- */

.lm-conteneur.lm-conteneur.lm-conteneur {
	max-width: calc(var(--lm-max, 1240px) + 144px) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}

/* --------------------------------------------------------------------------
   13. Les titres et les liens dans le contenu
   --------------------------------------------------------------------------
   Notre feuille donne déjà la bonne couleur à chaque titre et à chaque
   lien, section par section. Le problème n'est pas ce qu'elle dit, c'est
   que le thème dit la même chose plus fort, en !important, avec sa couleur
   d'accentuation. Sur les blocs sombres, cela rendait les liens roses et
   les titres invisibles, écrits en navy sur du navy.

   On réaffirme donc, avec un poids supérieur. Les blocs clairs d'abord,
   puis les blocs sombres : à poids égal, c'est la dernière règle qui
   l'emporte, et .lm-sombre doit gagner puisqu'il est plus spécifique à
   l'usage.
   -------------------------------------------------------------------------- */

/* --- Blocs clairs ---------------------------------------------------------- */
.lm-portee.lm-portee.lm-portee h1,
.lm-portee.lm-portee.lm-portee h2,
.lm-portee.lm-portee.lm-portee h3,
.lm-portee.lm-portee.lm-portee h4 {
	color: var(--lm-navy, #15172D) !important;
	text-transform: none !important;
}

/* Le header et le footer ont leurs propres couleurs de lien, plus haut.
   Sans cette exclusion, un header placé à l'intérieur de .lm-portee voyait
   les liens de son panneau déroulant hériter de sa couleur claire, donc
   devenir illisibles sur le fond blanc du panneau. */
.lm-portee.lm-portee.lm-portee a:not(.lm-btn),
.lm-portee.lm-portee.lm-portee a:not(.lm-btn):link,
.lm-portee.lm-portee.lm-portee a:not(.lm-btn):visited {
	color: inherit !important;
}

.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a,
.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:link,
.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:visited {
	color: #0E1020 !important;
}

.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:hover,
.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:focus {
	color: var(--lm-orange, #FFB050) !important;
	background-color: var(--lm-fond-2, #F4F5F8) !important;
}

@media (max-width: 920px) {
	.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a,
	.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:link,
	.lm-header.lm-header.lm-header .lm-nav .lm-sousmenu a:visited {
		color: var(--lm-clair-2, #C6C9D8) !important;
	}
}

.lm-portee.lm-portee.lm-portee a:not(.lm-btn):hover,
.lm-portee.lm-portee.lm-portee a:not(.lm-btn):focus {
	color: var(--lm-orange, #FFB050) !important;
}

/* --- Blocs sombres --------------------------------------------------------- */
.lm-sombre.lm-sombre.lm-sombre h1,
.lm-sombre.lm-sombre.lm-sombre h2,
.lm-sombre.lm-sombre.lm-sombre h3,
.lm-sombre.lm-sombre.lm-sombre h4 {
	color: var(--lm-logo-clair, #ECEDF0) !important;
	text-transform: none !important;
}

/* Exception : sur l'accueil, le schéma reste clair À L'INTÉRIEUR de la
   section navy. Les règles ci-dessus, triplées, l'emportaient sur
   l'exception posée dans la page, et ses titres partaient en clair sur
   papier gris — invisibles. On la reprend ici, à armes égales. */
/* Même cas que le schéma : la carte du formulaire est blanche, mais elle
   est posée dans une section sombre. Ses liens — celui de la politique de
   confidentialité, sous la case de consentement — partaient en clair sur
   blanc, donc invisibles. L'en-tête de la carte, lui, est bien sombre :
   il reste exclu. */
.lm-sombre.lm-sombre.lm-sombre .lm-carte a:not(.lm-btn):not(.lm-carte-tete a),
.lm-sombre.lm-sombre.lm-sombre .lm-merci a:not(.lm-btn){
  color:var(--lm-navy,#15172D)!important;
}
.lm-sombre.lm-sombre.lm-sombre .lm-schema h1,
.lm-sombre.lm-sombre.lm-sombre .lm-schema h2,
.lm-sombre.lm-sombre.lm-sombre .lm-schema h3,
.lm-sombre.lm-sombre.lm-sombre .lm-schema h4,
.lm-sombre.lm-sombre.lm-sombre .lm-schema .lm-noeud-nom,
.lm-sombre.lm-sombre.lm-sombre .lm-schema b,
.lm-sombre.lm-sombre.lm-sombre .lm-schema a:not(.lm-btn){color:var(--lm-navy,#15172D)!important}
.lm-sombre.lm-sombre.lm-sombre .lm-schema,
.lm-sombre.lm-sombre.lm-sombre .lm-schema p,
.lm-sombre.lm-sombre.lm-sombre .lm-schema span{color:var(--lm-gris,#3E4157)!important}
.lm-sombre.lm-sombre.lm-sombre .lm-schema .lm-etape-n{color:var(--lm-orange,#FFB050)!important}
.lm-sombre.lm-sombre.lm-sombre a:not(.lm-btn),
.lm-sombre.lm-sombre.lm-sombre a:not(.lm-btn):link,
.lm-sombre.lm-sombre.lm-sombre a:not(.lm-btn):visited {
	color: var(--lm-logo-clair, #ECEDF0) !important;
}

.lm-sombre.lm-sombre.lm-sombre a:not(.lm-btn):hover,
.lm-sombre.lm-sombre.lm-sombre a:not(.lm-btn):focus {
	color: var(--lm-orange, #FFB050) !important;
}

/* L'étiquette de section garde sa couleur propre dans les deux cas. */
.lm-sombre.lm-sombre.lm-sombre .lm-etiquette {
	color: var(--lm-logo-clair, #ECEDF0) !important;
}

/* --------------------------------------------------------------------------
   14. La plaquette flottante
   --------------------------------------------------------------------------
   Son onglet est un <button> : le thème lui applique son style de bouton,
   fond gris et texte en majuscules, ce qui écrase la carte navy.
   -------------------------------------------------------------------------- */

.lm-plaquette-onglet.lm-plaquette-onglet.lm-plaquette-onglet,
.lm-plaquette-onglet.lm-plaquette-onglet.lm-plaquette-onglet:hover,
.lm-plaquette-onglet.lm-plaquette-onglet.lm-plaquette-onglet:focus {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 18px 20px !important;
	margin: 0 !important;
	text-align: left !important;
	text-transform: none !important;
	text-decoration: none !important;
	letter-spacing: normal !important;
	font-family: var(--lm-corps, "Inter", sans-serif) !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	filter: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.lm-plaquette.lm-plaquette.lm-plaquette .lm-plaquette-carte {
	background: var(--lm-navy, #15172D) !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	border-radius: var(--lm-r-lg, 16px) !important;
}

.lm-plaquette.lm-plaquette.lm-plaquette .lm-plaquette-txt b {
	font-family: var(--lm-titre, "Archivo", sans-serif) !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	text-transform: none !important;
}

.lm-plaquette.lm-plaquette.lm-plaquette .lm-plaquette-txt small {
	color: var(--lm-clair-2, #C6C9D8) !important;
	text-transform: none !important;
}


/* --------------------------------------------------------------------------
   15. Le bouton et le numéro du menu déroulant
   --------------------------------------------------------------------------
   Ils n'existent que sur mobile, à l'intérieur de la navigation. Toute
   règle qui force un affichage sur .lm-btn les fait réapparaître sur
   grand écran, où ils doublonnent avec le bouton de la barre. La règle
   est donc réaffirmée au même poids que le reste de l'armure.
   -------------------------------------------------------------------------- */

@media (min-width: 921px) {
	.lm-header.lm-header.lm-header .lm-nav .lm-btn,
	.lm-header.lm-header.lm-header .lm-nav .lm-tel-mob {
		display: none !important;
	}
}

/* Le logo du pied de page garde sa taille d'origine : agrandi, le fond
   incrusté du fichier se voyait sur le dégradé du pied de page. */
.lm-footer.lm-footer.lm-footer .lm-footer-logo img {
	height: 55px !important;
}

/* --------------------------------------------------------------------------
   16. Le bouton de lecture de la vidéo
   --------------------------------------------------------------------------
   C'est un <button> posé en absolu dans le coin de la vidéo. Le thème lui
   applique son style de bouton : rembourrage, angles, majuscules, fond
   plein. Il se déforme alors en pastille allongée.
   -------------------------------------------------------------------------- */

.lm-lecture.lm-lecture.lm-lecture,
.lm-lecture.lm-lecture.lm-lecture:hover,
.lm-lecture.lm-lecture.lm-lecture:focus {
	position: absolute !important;
	right: 18px !important;
	bottom: 18px !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	border: 1px solid rgba(236, 237, 240, .32) !important;
	background: rgba(21, 23, 45, .62) !important;
	background-image: none !important;
	color: var(--lm-logo-clair, #ECEDF0) !important;
	box-shadow: none !important;
	filter: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.lm-lecture.lm-lecture.lm-lecture:hover {
	background: rgba(21, 23, 45, .85) !important;
	border-color: var(--lm-orange, #FFB050) !important;
}

.lm-lecture.lm-lecture.lm-lecture svg {
	width: 14px !important;
	height: 14px !important;
	flex: none !important;
	fill: currentColor !important;
	stroke: none !important;
	box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   17. Les logos des clients
   --------------------------------------------------------------------------
   Le thème impose souvent object-fit: cover à toutes les images. Sur une
   photo c'est sans conséquence ; sur un logo, cela le rogne au lieu de le
   contenir. Hauteur fixe et largeur libre : des logos de rapports très
   différents gardent la même présence visuelle, sans déformation.
   -------------------------------------------------------------------------- */

.lm-clients.lm-clients.lm-clients {
	display: grid !important;
	padding: 0 !important;
	list-style: none !important;
}

.lm-clients.lm-clients.lm-clients li {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--lm-blanc, #FFFFFF) !important;
	border: 1px solid var(--lm-bordure, #DFE2EB) !important;
	padding: 12px 18px !important;
	border-radius: var(--lm-r-lg, 16px) !important;
	min-height: 74px !important;
	list-style: none !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.lm-clients.lm-clients.lm-clients li::marker { content: "" !important; }

.lm-clients.lm-clients.lm-clients li img {
	height: 42px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain !important;
	display: block !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	filter: none !important;
}

/* ------------------------------------------------------------------
   18. BLOCS DES PAGES INTÉRIEURES
   Les pages artisans, maîtres d'ouvrage, références, travaux et les
   pages légales emploient des blocs que les quatre premières pages
   n'avaient pas. Le thème les reprend volontiers pour ses propres
   cartes : on leur rend la forme décidée par la feuille de LM.
   ------------------------------------------------------------------ */
.lm-portee.lm-portee.lm-portee ul,
.lm-portee.lm-portee.lm-portee ol{
  list-style:none!important;padding-left:0!important;margin-left:0!important;
  box-shadow:none!important;filter:none!important;background-image:none!important;
}
.lm-portee.lm-portee.lm-portee li::marker{content:""!important}
/* Les listes à puces des pages légales gardent leur puce, qui est dessinée
   par un pseudo-élément et non par list-style : la règle ci-dessus ne la
   retire donc pas. On neutralise seulement ce que le thème y ajoute. */
.lm-legal.lm-legal.lm-legal ul,
.lm-legal.lm-legal.lm-legal li{box-shadow:none!important;filter:none!important;background-image:none!important}

/* ---- blocs de contenu des pages intérieures -------------------------- */
/* Le thème pose volontiers une ombre, un fond ou un arrondi sur les cartes
   et les tableaux. On leur rend la forme décidée par la feuille de LM. */
.lm-op.lm-op.lm-op,
.lm-carte.lm-carte.lm-carte,
.lm-rappel.lm-rappel.lm-rappel,
.lm-temoin.lm-temoin.lm-temoin,
.lm-real.lm-real.lm-real,
.lm-identite.lm-identite.lm-identite{
  box-shadow:var(--lm-ombre-douce,0 8px 24px -14px rgba(21,23,45,.16))!important;
  filter:none!important;background-image:none!important;
  background-color:var(--lm-blanc,#fff)!important;
  border:1px solid var(--lm-bordure,#DFE2EB)!important;
  border-radius:var(--lm-r-lg,16px)!important;
}
.lm-points-cles.lm-points-cles.lm-points-cles li,
.lm-rappel.lm-rappel.lm-rappel li,
.lm-faq.lm-faq.lm-faq summary{box-shadow:none!important;filter:none!important;text-shadow:none!important}
.lm-faq.lm-faq.lm-faq details{
  box-shadow:none!important;filter:none!important;background-image:none!important;
  background-color:var(--lm-blanc,#fff)!important;border-radius:var(--lm-r,12px)!important;
}
.lm-faq.lm-faq.lm-faq summary{
  font-family:var(--lm-titre,"Archivo",sans-serif)!important;text-transform:none!important;
  letter-spacing:normal!important;background:none!important;cursor:pointer!important;
}
.lm-faq.lm-faq.lm-faq summary::marker,
.lm-faq.lm-faq.lm-faq summary::-webkit-details-marker{display:none!important;content:""!important}
.lm-tableau.lm-tableau.lm-tableau{
  box-shadow:none!important;filter:none!important;border-collapse:collapse!important;
  background-color:var(--lm-blanc,#fff)!important;border:1px solid var(--lm-bordure,#DFE2EB)!important;
}
.lm-tableau.lm-tableau.lm-tableau th,
.lm-tableau.lm-tableau.lm-tableau td{
  box-shadow:none!important;background-image:none!important;text-align:left!important;
  border:0!important;border-bottom:1px solid var(--lm-bordure,#DFE2EB)!important;
}
.lm-op-code.lm-op-code.lm-op-code,
.lm-fiche.lm-fiche.lm-fiche code{
  box-shadow:none!important;filter:none!important;text-transform:none!important;
  background-color:var(--lm-fond-2,#F4F5F8)!important;color:var(--lm-navy,#15172D)!important;
}
.lm-carte-n.lm-carte-n.lm-carte-n,
.lm-etape-n.lm-etape-n.lm-etape-n{
  background-color:var(--lm-navy,#15172D)!important;background-image:none!important;
  color:var(--lm-orange,#FFB050)!important;box-shadow:none!important;filter:none!important;
}
.lm-real-photo.lm-real-photo.lm-real-photo img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;border-radius:0!important;box-shadow:none!important;
}
.lm-signature.lm-signature.lm-signature img{
  height:55px!important;width:auto!important;object-fit:contain!important;
  border-radius:0!important;box-shadow:none!important;filter:none!important;
}

/* la vignette qui tient lieu de photo : le thème la reprendrait volontiers
   pour une carte, avec son ombre et ses majuscules */
.lm-real-photo--vignette.lm-real-photo--vignette.lm-real-photo--vignette{
  background-color:#FBFBFD!important;background-image:none!important;
  box-shadow:none!important;filter:none!important;
}
.lm-vignette.lm-vignette.lm-vignette,
.lm-vignette.lm-vignette.lm-vignette span,
.lm-vignette-suite.lm-vignette-suite.lm-vignette-suite li{
  box-shadow:none!important;filter:none!important;text-shadow:none!important;
}
.lm-vignette.lm-vignette.lm-vignette .lm-vignette-objet{
  font-family:var(--lm-titre,"Archivo",sans-serif)!important;text-transform:none!important;
  letter-spacing:normal!important;font-size:14px!important;
  background-color:var(--lm-blanc,#fff)!important;color:var(--lm-navy,#15172D)!important;
  border:1px solid var(--lm-bordure,#DFE2EB)!important;border-radius:var(--lm-r,12px)!important;
}
.lm-vignette.lm-vignette.lm-vignette .lm-vignette-legende{
  font-family:var(--lm-corps,"Inter",sans-serif)!important;text-transform:uppercase!important;
  font-size:10.5px!important;color:var(--lm-gris,#3E4157)!important;
}
.lm-vignette-fleche.lm-vignette-fleche.lm-vignette-fleche svg{
  fill:none!important;stroke:currentColor!important;filter:none!important;box-shadow:none!important;
}
.lm-vignette-suite.lm-vignette-suite.lm-vignette-suite{list-style:none!important;padding:0!important;margin-top:2px!important}
.lm-vignette-suite.lm-vignette-suite.lm-vignette-suite li{
  list-style:none!important;margin:0!important;
  background-color:var(--lm-blanc,#fff)!important;background-image:none!important;
  border-radius:var(--lm-r-pilule,100px)!important;
}
.lm-vignette-suite.lm-vignette-suite.lm-vignette-suite li::marker{content:""!important}
.lm-vignette-suite.lm-vignette-suite.lm-vignette-suite li:last-child{
  background-color:var(--lm-orange,#FFB050)!important;
}

/* Les étapes d'un formulaire ne sont repliées que si le script de
   l'extension tourne. Sans lui, tout s'affiche d'un seul tenant et
   l'envoi part en rechargement de page : un formulaire dégradé reste
   un formulaire, un formulaire bloqué sur un bouton mort n'en est plus un. */
.lm-etape.lm-etape.lm-etape[hidden]{display:none!important}
html.lms-js .lm-etape--suivante.lm-etape--suivante.lm-etape--suivante{display:none!important}
.lm-erreur-envoi.lm-erreur-envoi.lm-erreur-envoi{
  display:block!important;margin-bottom:18px!important;font-size:14.5px!important;
}

/* « hidden » doit réellement masquer. L'attribut ne vaut qu'une règle
   d'agent utilisateur : n'importe quelle règle de mise en page qui pose un
   display l'emporte. C'est ce qui laissait la jauge des étapes et son
   libellé affichés sous le message de confirmation, une fois le
   formulaire envoyé. */
.lm-portee.lm-portee.lm-portee [hidden]{display:none!important}

/* L'en-tête du site reste au-dessus du contenu : sans cette marge, une
   ancre amène la cible juste dessous, à moitié cachée. */
#lms-formulaire{scroll-margin-top:110px}
.lm-portee.lm-portee.lm-portee #lms-formulaire{scroll-margin-top:110px}

/* L'espace au-dessus du contenu.
   Beaucoup de thèmes posent une zone de titre vide, un paragraphe
   automatique ou une marge haute entre leur en-tête et le contenu de la
   page. Sur mobile, cela se voit tout de suite : une bande blanche sous
   l'en-tête. On neutralise ce qui vient d'au-dessus de notre contenu,
   sans toucher à l'espacement intérieur du site. */
/* Le « :not(#lm-jamais) » vise un identifiant qui n'existera jamais. Il ne
   change donc rien à ce que la règle sélectionne, mais il lui donne le
   poids d'un identifiant : sans lui, un thème qui écrit
   « #content { padding-top: 64px !important } » l'emporte, parce qu'un
   identifiant pèse plus lourd que n'importe quel nombre de classes. */
:where(div,main,section,article,aside):has(.lm-portee):not(#lm-jamais){
  padding-top:0!important;margin-top:0!important;
}
:where(div,main,section,article):has(> .lm-portee)>p:empty,
:where(div,main,section,article):has(> .lm-portee)>br,
.lm-portee.lm-portee.lm-portee>p:empty,
.lm-portee.lm-portee.lm-portee>br{display:none!important}
.lm-portee.lm-portee.lm-portee{margin-top:0!important;padding-top:0!important}

/* Le lien d'évitement, celui qui apparaît à la première tabulation.
   Il est hors de .lm-portee, donc les règles de couleur du contenu ne le
   protègent pas : un thème qui colore tous les liens le rendait illisible
   sur son fond ambre. */
.lm-saut.lm-saut.lm-saut,
.lm-saut.lm-saut.lm-saut:link,
.lm-saut.lm-saut.lm-saut:visited,
.lm-saut.lm-saut.lm-saut:focus{
  background-color:var(--lm-orange,#FFB050)!important;background-image:none!important;
  color:var(--lm-navy,#15172D)!important;text-decoration:none!important;
  box-shadow:none!important;filter:none!important;
}
/* Le panneau du sous-menu est clair : ce qu'il contient doit l'être aussi,
   y compris les éléments de liste qui portent la couleur de l'en-tête. */
.lm-header.lm-header.lm-header .lm-sousmenu,
.lm-header.lm-header.lm-header .lm-sousmenu li{color:#0E1020!important}

/* ------------------------------------------------------------------
   20. CE QUI NE VIVAIT QUE DANS LES PAGES
   Ces règles étaient embarquées dans chaque page. Les voici ici, pour que
   l'armure soit le seul endroit à tenir : une correction de style ne
   demande plus de remplacer les douze pages.
   ------------------------------------------------------------------ */
.lm-portee.lm-portee.lm-portee input[type="text"]:focus,
.lm-portee.lm-portee.lm-portee input[type="email"]:focus,
.lm-portee.lm-portee.lm-portee input[type="tel"]:focus,
.lm-portee.lm-portee.lm-portee input[type="search"]:focus,
.lm-portee.lm-portee.lm-portee select:focus,
.lm-portee.lm-portee.lm-portee textarea:focus{
  border-color:var(--lm-navy,#15172D)!important;
  box-shadow:0 0 0 3px rgba(21,23,45,.12)!important;outline:none!important;
}
.lm-portee.lm-portee.lm-portee [aria-invalid="true"]{
  border-color:var(--lm-erreur,#B3261E)!important;
}
/* le schéma du circuit : cartouches et flèches, que le thème ne doit pas
   reprendre pour des cartes ou des boutons */
/* La garde ne touche PAS aux couleurs du schéma : il est clair sur les
   pages claires et sombre sur la section navy de l'accueil. Elle ne
   protège que sa structure, que le thème voudrait reprendre pour des
   cartes ou des boutons. */
.lm-schema.lm-schema.lm-schema{border-radius:var(--lm-r-lg,16px)!important;box-shadow:none!important}
.lm-schema.lm-schema.lm-schema .lm-noeud{border-radius:var(--lm-r,12px)!important;box-shadow:none!important;padding:18px 18px 16px!important}
.lm-schema.lm-schema.lm-schema .lm-noeud--nous{border-width:1.5px!important}
.lm-schema.lm-schema.lm-schema .lm-noeud-nom{font-family:var(--lm-titre,"Archivo",sans-serif)!important;text-transform:none!important}
.lm-schema.lm-schema.lm-schema .lm-noeud-role{text-transform:uppercase!important}
.lm-schema.lm-schema.lm-schema svg{box-shadow:none!important;filter:none!important;fill:none!important;stroke:currentColor!important}
