/* LAPLUME.MG 2026, composants du thème. Couleurs et tailles : theme.json. */

:root {
	--lp-radius: 10px;
	--lp-header: 84px;
	--lp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wp--preset--color--violet); outline-offset: 3px; }
img { height: auto; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; }

/* Mot souligné dans un titre : <mark> */
:where(h1, h2, h3) mark,
:where(h1, h2, h3) mark.has-inline-color {
	background: none !important;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--brand);
	text-decoration-thickness: .12em;
	text-underline-offset: .14em;
	text-decoration-skip-ink: none;
}
.lp-hero-tint :where(h1, h2) mark { text-decoration-color: var(--wp--preset--color--white); }

/* ---------- En-tête ---------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
/* Menu fixe en haut de l'écran sur ordinateur. */
@media (min-width: 782px) {
	header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
	.admin-bar header.wp-block-template-part { top: 32px; }
	.lp-defile .site-header { border-bottom-color: var(--wp--preset--color--line); box-shadow: 0 6px 24px rgba(31, 31, 34, .06); }
}
.site-header .hdr { min-height: var(--lp-header); gap: 24px; }

/* Recherche : loupe dans l'en-tête, champ dans un panneau qui s'ouvre sous l'en-tête, sur toute la largeur.
   Le panneau se cale sur l'en-tête (template part) : fixe sur ordinateur, positionné ici sur mobile. */
@media (max-width: 781px) {
	header.wp-block-template-part { position: relative; z-index: 50; }
}
.lp-recherche { display: flex; align-items: center; }
.lp-recherche__bouton {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--wp--preset--color--ink); cursor: pointer;
	transition: background .2s, color .2s;
}
.lp-recherche__bouton:hover, .lp-recherche__bouton[aria-expanded="true"] { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--brand); }
.lp-recherche__bouton:focus-visible, .lp-recherche__fermer:focus-visible { outline: 2px solid var(--wp--preset--color--violet); outline-offset: 2px; }
.lp-recherche__panneau {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding: 22px 24px; background: #fff;
	border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 16px 32px rgba(31, 31, 34, .08);
}
.lp-recherche__panneau[hidden] { display: none; }
/* Sur ordinateur, le panneau se cale comme le méga-menu : carte sous l'en-tête, coins arrondis en bas. */
@media (min-width: 1024px) {
	.lp-recherche__panneau { padding: 26px 34px; border: 1px solid var(--wp--preset--color--line); border-top: 0; border-radius: 0 0 var(--lp-radius) var(--lp-radius); }
}
.lp-recherche__form { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.lp-recherche__form input[type="search"] {
	flex: 1; min-width: 0; height: 52px; padding: 0 20px; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--soft); border: 1px solid var(--wp--preset--color--line); border-radius: 999px;
}
.lp-recherche__form input[type="search"]:focus {
	outline: none; background: #fff; border-color: var(--wp--preset--color--brand); box-shadow: 0 0 0 3px var(--wp--preset--color--brand-tint);
}
.lp-recherche__ok {
	height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--wp--preset--color--ink); color: #fff;
	font: inherit; font-weight: 600; cursor: pointer; transition: background .2s;
}
.lp-recherche__ok:hover { background: var(--wp--preset--color--brand); }
.lp-recherche__fermer {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--wp--preset--color--muted); cursor: pointer;
}
.lp-recherche__fermer:hover { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); }
@media (max-width: 640px) {
	.lp-recherche__panneau { padding: 16px; }
	.lp-recherche__ok { padding: 0 16px; }
	.lp-recherche__fermer { flex-basis: 36px; width: 36px; }
}

/* Champ de recherche du bloc Rechercher (page de résultats) : même style que le panneau de l'en-tête. */
.wp-block-search .wp-block-search__inside-wrapper { gap: 10px; padding: 0; border: 0; }
.wp-block-search .wp-block-search__input {
	height: 52px; padding: 0 20px; font-size: 1rem; color: var(--wp--preset--color--ink); background: #fff;
	border: 1px solid var(--wp--preset--color--line); border-radius: 999px;
}
.wp-block-search .wp-block-search__input:focus { outline: none; border-color: var(--wp--preset--color--brand); box-shadow: 0 0 0 3px var(--wp--preset--color--brand-tint); }
.wp-block-search .wp-block-search__button {
	height: 52px; margin: 0; padding: 0 24px; border: 0; border-radius: 999px; background: var(--wp--preset--color--ink);
	color: #fff; font-weight: 600; transition: background .2s;
}
.wp-block-search .wp-block-search__button:hover { background: var(--wp--preset--color--brand); }

/* Résultats de recherche et listes : la date n'a pas de sens pour une page ; une page sans image à la une
   montre son illustration (ajoutée par l'extension laplume-site), entière sur fond clair. */
.lp-cards .type-page .wp-block-post-date { display: none; }
.lp-cards .lp-carte-illu img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--wp--preset--color--soft); }
.lp-logo { display: inline-flex; align-items: center; color: var(--wp--preset--color--brand); line-height: 0; }
.lp-logo .lp-logo-svg { height: 46px; width: auto; display: block; }
.lp-logo:hover { color: var(--wp--preset--color--brand-dark); }
.site-footer .lp-logo .lp-logo-svg { height: 50px; }
.site-header .wp-block-navigation { gap: 30px; }
.site-header .wp-block-navigation .wp-block-navigation-item__content { color: var(--wp--preset--color--ink); text-decoration: none; padding: 30px 2px; position: relative; }
.site-header .wp-block-navigation .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: var(--wp--preset--color--brand); transform: scaleX(0); transition: transform .2s;
}
.site-header .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.site-header .current-menu-item > .wp-block-navigation-item__content::after,
.site-header .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 18px; }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.site-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line) !important; border-radius: var(--lp-radius);
	padding: 10px 0; min-width: 260px !important; box-shadow: 0 18px 40px rgba(31, 31, 34, .1);
}
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--brand); }
.site-header .wp-block-button__link { padding: 12px 20px; font-size: .9375rem; }


/* ---------- Typographie de section ---------- */
.is-style-eyebrow {
	display: block; width: fit-content; max-width: 100%;
	background: var(--wp--preset--color--badge); color: var(--wp--preset--color--badge-ink);
	text-transform: uppercase; letter-spacing: .24em; font-size: .875rem !important; font-weight: 500;
	padding: 9px 16px; border-radius: 9px; line-height: 1.4; margin-bottom: 0;
}
.has-text-align-center.is-style-eyebrow { margin-left: auto; margin-right: auto; }
.is-style-dark .is-style-eyebrow, .lp-dark .is-style-eyebrow { background: #2f2f36; color: #c7c4ff; }
.is-style-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }

/* ---------- Listes ---------- */
ul.is-style-checks { list-style: none; padding-left: 0; }
ul.is-style-checks > li {
	position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--ink); line-height: 1.6;
}
ul.is-style-checks > li:last-child { border-bottom: 0; }
ul.is-style-checks > li::before {
	content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px;
	background: var(--wp--preset--color--brand); -webkit-mask: var(--lp-check) center / contain no-repeat; mask: var(--lp-check) center / contain no-repeat;
}
ol.is-style-steps { counter-reset: st; list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; }
ol.is-style-steps > li { counter-increment: st; position: relative; padding: 26px 0 26px 74px; border-bottom: 1px solid var(--wp--preset--color--line); }
ol.is-style-steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 1.875rem; font-weight: 700; color: var(--wp--preset--color--brand); line-height: 1; }
ol.is-style-steps > li strong:first-child { display: block; color: var(--wp--preset--color--ink); font-size: 1.1875rem; margin-bottom: 6px; }
@media (max-width: 781px) { ol.is-style-steps { grid-template-columns: 1fr; } }

/* ---------- Boutons ---------- */
.wp-block-button.is-style-outline-ink .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 2px solid var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline-ink .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.lp-link-arrow a, a.lp-link-arrow { font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.lp-link-arrow a:hover, a.lp-link-arrow:hover { color: var(--wp--preset--color--brand); }

/* ---------- Groupes ---------- */
.wp-block-group.is-style-card { border: 1px solid var(--wp--preset--color--line); border-radius: var(--lp-radius); padding: 30px; background: #fff; }
.wp-block-group.is-style-band { background: var(--wp--preset--color--brand); color: #fff; border-radius: var(--lp-radius); padding: 32px 36px; }
.wp-block-group.is-style-band :where(p, h2, h3) { color: #fff; }
.wp-block-group.is-style-keybox { background: var(--wp--preset--color--soft); border-radius: var(--lp-radius); padding: 30px 34px; }
.wp-block-group.is-style-dark, .lp-dark { background: var(--wp--preset--color--ink); color: #d9d9e0; }
.wp-block-group.is-style-dark :where(h2, h3, h4), .lp-dark :where(h2, h3, h4) { color: #fff; }
.lp-dark .is-style-card { background: transparent; border-color: #3a3a42; }
.lp-dark .is-style-card.lp-accent { border-color: var(--wp--preset--color--brand); background: rgba(202, 33, 40, .08); }

/* ---------- Bandeau de page (héros intérieur) ---------- */
.lp-hero-tint { background: var(--wp--preset--color--brand-tint); }
.lp-hero-soft { background: var(--wp--preset--color--lavender); }
.lp-page-hero { text-align: center; }
.lp-page-hero .wp-block-post-title { font-size: var(--wp--preset--font-size--huge); }
.lp-page-hero .lp-subtitle:empty { display: none; }
.lp-crumbs, .lp-crumbs a { font-size: .875rem; color: var(--wp--preset--color--text); text-decoration: none; }
.lp-crumbs a:hover { color: var(--wp--preset--color--brand); }
.lp-crumbs .breadcrumb_last { color: var(--wp--preset--color--ink); }
.lp-strip { border-top: 1px solid rgba(31, 31, 34, .12); }
.lp-strip a.lp-u { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--ink); padding-bottom: 4px; font-weight: 500; }
.lp-strip a.lp-u:hover { color: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); }
.lp-social { display: flex; gap: 22px; }
.lp-social a { color: var(--wp--preset--color--ink); display: inline-flex; }
.lp-social a:hover { color: var(--wp--preset--color--brand); }
.lp-social svg { width: 18px; height: 18px; }

/* ---------- Contenu d'article et de page ---------- */
.lp-prose { font-size: 1.125rem; line-height: 1.8; color: #34343a; }
:where(h2, h3, h4).wp-block-heading a { color: inherit; text-decoration: none; }
:where(h2, h3, h4).wp-block-heading a:hover { color: var(--wp--preset--color--brand); }
.lp-prose > p:first-child { font-size: 1.25rem; color: var(--wp--preset--color--ink); }
.lp-prose :where(h2) { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-top: 3.5rem; scroll-margin-top: calc(var(--lp-entete, var(--lp-header)) + 24px); }
.lp-prose :where(h3) { margin-top: 2.25rem; scroll-margin-top: calc(var(--lp-entete, var(--lp-header)) + 24px); }
.lp-prose :where(table) { border-collapse: collapse; width: 100%; }
.lp-prose :where(th) { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); font-weight: 600; text-align: left; padding: 12px 14px; }
.lp-prose :where(td) { border-bottom: 1px solid var(--wp--preset--color--line); padding: 12px 14px; vertical-align: top; }
.lp-prose :where(img) { border-radius: 8px; }
.lp-prose .wp-block-table { overflow-x: auto; }

/* Tableaux du contenu, dans l'enveloppe .lp-tableau ajoutée par l'extension laplume-site, sur tout
   le site. Style sobre : légende en titre, en-tête gris très clair, intitulés de ligne en gras, filets
   fins, aucun fond sombre. Sur mobile : cartes (une ligne = une carte) si le tableau a des en-têtes,
   sinon défilement horizontal. */
.lp-tableau, .lp-tableau * { box-sizing: border-box; }
.lp-tableau {
	margin: 2rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff;
	border: 1px solid var(--wp--preset--color--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(31, 31, 34, .04);
}
.lp-tableau:focus-visible { outline: 3px solid var(--wp--preset--color--violet); outline-offset: 2px; }
.lp-tableau table {
	width: 100% !important; margin: 0; border: 0; border-collapse: collapse; font-size: .9375rem; line-height: 1.55;
	color: var(--wp--preset--color--text); font-variant-numeric: tabular-nums;
}
.lp-tableau :is(thead, tbody, tfoot) { border: 0 !important; }
.lp-tableau tbody tr { background-color: transparent !important; }
.lp-tableau caption {
	caption-side: top; padding: 16px 18px 14px; text-align: left; font-size: 1rem; font-weight: 600; line-height: 1.4;
	color: var(--wp--preset--color--ink); border-bottom: 1px solid var(--wp--preset--color--line);
}
.lp-tableau :is(td, th) {
	width: auto !important; padding: 13px 18px; text-align: left; vertical-align: top; background: transparent;
	border: 0; border-bottom: 1px solid var(--wp--preset--color--line);
}
.lp-tableau tr:last-child > :is(td, th) { border-bottom: 0; }
.lp-tableau :is(td, th) > p { margin: 0; }
.lp-tableau :is(td, th) > p + p { margin-top: .5em; }
/* En-tête : bandeau gris très clair, texte foncé en semi-gras. */
.lp-tableau :is(thead :is(td, th), .lp-tableau__entete > :is(td, th)) {
	padding-top: 11px; padding-bottom: 11px; background: var(--wp--preset--color--soft);
	color: var(--wp--preset--color--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
}
.lp-tableau :is(thead, .lp-tableau__entete) :is(strong, b) { font-weight: 600; }
/* Intitulés de ligne : en gras, sans fond. */
.lp-tableau tbody th { color: var(--wp--preset--color--ink); font-weight: 600; }
@media (hover: hover) {
	.lp-tableau tbody tr:not(.lp-tableau__entete):hover > :is(td, th) { background: #fafafb; }
}
/* Légende saisie dans le bloc Tableau de l'éditeur (figcaption, sous l'enveloppe). */
.wp-block-table > .lp-tableau + :is(figcaption, .wp-element-caption) {
	margin: -1.25rem 0 2rem; font-size: .8125rem; line-height: 1.5; text-align: left; color: var(--wp--preset--color--muted);
}
@media (max-width: 640px) {
	.lp-tableau table { font-size: .875rem; }
	.lp-tableau :is(td, th) { padding: 11px 14px; }
	.lp-tableau caption { padding: 14px 14px 12px; font-size: .9375rem; }
	.lp-tableau--large table { min-width: 560px; }
	/* Cartes : l'en-tête est masqué, chaque cellule affiche l'intitulé de sa colonne, la légende passe
	   au-dessus des cartes, alignée à gauche sur toute la largeur. */
	.lp-tableau--cartes { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
	.lp-tableau--cartes :is(table, caption, tbody, tr, td, th) { display: block; width: 100% !important; }
	.lp-tableau--cartes caption { padding: 0 0 12px; border: 0; }
	.lp-tableau--cartes :is(thead, .lp-tableau__entete) { display: none; }
	.lp-tableau--cartes tbody tr {
		margin: 0 0 12px; overflow: hidden; background: #fff !important;
		border: 1px solid var(--wp--preset--color--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(31, 31, 34, .04);
	}
	.lp-tableau--cartes tr > :is(td, th) { padding: 11px 16px; border-bottom: 1px solid var(--wp--preset--color--line); }
	.lp-tableau--cartes tr > :is(td, th):last-child { border-bottom: 0; }
	.lp-tableau--cartes td::before {
		content: attr(data-label); display: block; margin-bottom: 3px; font-size: .6875rem; font-weight: 600;
		letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--muted);
	}
	.lp-tableau--cartes tr > :is(td, th):first-child {
		background: var(--wp--preset--color--soft) !important; color: var(--wp--preset--color--ink); font-weight: 600; font-size: .9375rem;
	}
	.lp-tableau--cartes tr > :is(td, th):first-child::before { content: none; }
}
.wp-block-quote { position: relative; border-left: 0 !important; }
.wp-block-quote::before { content: "\201D"; position: absolute; top: -34px; left: 30px; font-size: 110px; line-height: 1; color: var(--wp--preset--color--violet); font-family: Georgia, serif; font-weight: 700; }
.wp-block-quote cite { display: block; margin-top: 16px; font-size: .9375rem; font-style: normal; color: var(--wp--preset--color--muted); font-weight: 400; }

/* Image à la une qui chevauche le bandeau */
.lp-cover-overlap { margin-top: -120px !important; position: relative; z-index: 2; }
.lp-cover-overlap img { border-radius: var(--lp-radius); box-shadow: 0 20px 50px rgba(31, 31, 34, .12); width: 100%; }

/* Article : sommaire à gauche, texte au centre, encadré « Externaliser » à droite.
   Dès 1360 px, la zone d'article s'élargit jusqu'à 1400 px pour donner au sommaire
   environ 300 px : un intertitre y tient sur une ligne, deux au plus.
   De 1024 à 1359 px : texte et encadré, sommaire repliable sous l'image.
   En dessous de 1024 px : une seule colonne, encadré après l'article. */
.lp-article-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.lp-article-grille > * { margin-block: 0 !important; min-width: 0; }
.lp-col-sommaire { display: none; }
.lp-col-article, .lp-col-cta { width: 100%; max-width: 760px; margin-inline: auto !important; }
.lp-aside-cta { background: var(--wp--preset--color--ink); color: #d9d9e0; border-radius: var(--lp-radius); padding: 28px; }
.lp-aside-cta strong { display: block; color: #fff; font-size: 1.375rem; line-height: 1.3; margin-bottom: 10px; }
@media (min-width: 1024px) {
	.lp-article-grille { grid-template-columns: minmax(0, 1fr) 250px; gap: 0 44px; }
	.lp-col-article, .lp-col-cta { max-width: none; margin-inline: 0 !important; }
	/* Calé sous la hauteur réelle de l'en-tête (--lp-entete, mesurée par le thème), avec 24 px d'air. */
	.lp-aside { position: sticky; top: calc(var(--lp-entete, var(--lp-header)) + 24px); }
}
@media (min-width: 1360px) {
	.lp-article-grille.alignwide { max-width: 1400px !important; }
	.lp-article-grille { grid-template-columns: clamp(290px, 22vw, 320px) minmax(0, 1fr) 250px; gap: 0 40px; }
	.lp-col-sommaire { display: block; }
	.lp-sommaire--repli { display: none; }
	.lp-col-sommaire .lp-aside { max-height: calc(100vh - var(--lp-entete, var(--lp-header)) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
	/* Sommaire de gauche : liste légère avec un filet, rouge en face de l'intertitre en cours. */
	.lp-col-sommaire .lp-sommaire { border: 0; padding: 4px 0 0; background: none; }
	.lp-col-sommaire .lp-sommaire ol { list-style: none; padding: 0; font-size: .875rem; line-height: 1.45; }
	.lp-col-sommaire .lp-sommaire li { margin: 0; border-left: 2px solid var(--wp--preset--color--line); }
	.lp-col-sommaire .lp-sommaire li a {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
		padding: 7px 0 7px 14px; color: var(--wp--preset--color--text);
	}
	.lp-col-sommaire .lp-sommaire li.is-actif { border-left-color: var(--wp--preset--color--brand); }
	.lp-col-sommaire .lp-sommaire li.is-actif > a { color: var(--wp--preset--color--ink); font-weight: 600; }
}
@media (min-width: 1360px) and (max-width: 1499px) {
	.lp-col-sommaire .lp-sommaire ol { font-size: .8125rem; }
}
@media (max-width: 781px) {
	.lp-cover-overlap { margin-top: -80px !important; }
}

/* ---------- Cartes d'articles (boucles) ---------- */
.lp-cards .wp-block-post { display: flex; flex-direction: column; }
.lp-cards .wp-block-post-featured-image { margin-bottom: 18px; }
.lp-cards .wp-block-post-featured-image img { border-radius: var(--lp-radius); aspect-ratio: 16 / 9; object-fit: cover; }
.lp-cards .wp-block-post-title { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; margin-top: 6px; }
.lp-cards .wp-block-post-title a:hover { color: var(--wp--preset--color--brand); }
.lp-cards .wp-block-post-excerpt { font-size: .9375rem; }
.wp-block-query-pagination { gap: 10px; font-weight: 500; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { text-decoration: none; color: var(--wp--preset--color--ink); padding: 8px 14px; border-radius: 6px; }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--ink); color: #fff; }

/* ---------- Encadrés de l'extension laplume-site ---------- */
/* « Les points essentiels » : la carte de l'ancien thème (bandeau rouge, coches). */
.lp-en-bref-container { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, .08); overflow: hidden; margin: 0 0 2.75rem; }
.lp-en-bref-header { display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 25px; background: var(--wp--preset--color--brand-dark); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.lp-en-bref-icon svg { display: block; }
.lp-en-bref-contenu { padding: 30px; color: #333; font-size: 1rem; line-height: 1.8; }
.lp-en-bref-contenu > :last-child { margin-bottom: 0; }
.lp-en-bref-contenu ul { margin: 0; padding-left: 0; list-style: none; }
.lp-en-bref-contenu li { position: relative; margin-bottom: 12px; padding-left: 35px; }
.lp-en-bref-contenu li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 12px; border: solid var(--wp--preset--color--brand-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 768px) {
	.lp-en-bref-header { font-size: .875rem; padding: 15px 20px; }
	.lp-en-bref-contenu { padding: 20px; font-size: .9375rem; }
}
.lp-sommaire { border: 1px solid var(--wp--preset--color--line); border-radius: var(--lp-radius); padding: 26px; background: #fff; }
.lp-sommaire li.is-actif > a { color: var(--wp--preset--color--brand); font-weight: 600; }
.lp-sommaire--repli { padding: 0; margin-top: 28px; }
.lp-sommaire--repli > summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 18px 22px; cursor: pointer; list-style: none; }
.lp-sommaire--repli > summary::-webkit-details-marker { display: none; }
.lp-sommaire--repli > summary::after { content: "+"; font-size: 1.375rem; line-height: 1; color: var(--wp--preset--color--ink); letter-spacing: 0; }
.lp-sommaire--repli[open] > summary::after { content: "\2212"; }
.lp-sommaire--repli ol { padding: 0 22px 18px 40px; }
.lp-sommaire__titre { font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--badge-ink); margin: 0 0 14px; }
.lp-sommaire ol { margin: 0; padding-left: 18px; font-size: .9375rem; line-height: 1.5; }
.lp-sommaire li { margin-bottom: 10px; }
.lp-sommaire a { text-decoration: none; color: var(--wp--preset--color--ink); }
.lp-sommaire a:hover { color: var(--wp--preset--color--brand); }
.lp-auteur { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px 40px; align-items: start; border-top: 1px solid var(--wp--preset--color--line); padding-top: 60px; }
.lp-monogramme { width: 150px; height: 150px; border-radius: 50%; background: var(--wp--preset--color--ink); color: #fff; display: grid; place-items: center; font-size: 2.5rem; font-weight: 600; overflow: hidden; }
.lp-monogramme img { width: 100%; height: 100%; object-fit: cover; }
.lp-auteur__nom { font-size: 1.5rem; font-weight: 500; color: var(--wp--preset--color--ink); margin: 0; }
.lp-auteur__role { color: var(--wp--preset--color--muted); margin: 6px 0 14px; }
@media (max-width: 600px) { .lp-auteur { grid-template-columns: 1fr; } }
.lp-pages-liees__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 30px; }
.lp-page-liee { display: block; border: 1px solid var(--wp--preset--color--line); border-radius: var(--lp-radius); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; }
.lp-page-liee:hover { border-color: var(--wp--preset--color--ink); transform: translateY(-3px); }
.lp-page-liee img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
/* Illustration carrée : affichée entière, centrée, sans recadrage. */
.lp-page-liee img.lp-page-liee__illu { object-fit: contain; padding: 12px 0 0; background: #fff; }
.lp-page-liee span { display: block; padding: 18px 20px; font-weight: 600; color: var(--wp--preset--color--ink); line-height: 1.4; }

/* ---------- Sections migrées depuis ACF ---------- */
.lp-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--wp--preset--color--line); }
.lp-section:last-of-type { border-bottom: 0; }
.lp-section .wp-block-media-text__media img { border-radius: var(--lp-radius); }
.lp-section .wp-block-media-text__content { padding: 0 0 0 clamp(1rem, 4vw, 3.5rem); }
.lp-section .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding: 0 clamp(1rem, 4vw, 3.5rem) 0 0; }
.lp-section h2 strong { font-weight: 700; }
.lp-section h2 { font-weight: 500; }
@media (max-width: 600px) {
	.lp-section .wp-block-media-text__content,
	.lp-section .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding: 1.5rem 0 0; }
}

/* FAQ et accordéons (bloc Détails) */
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 6px 0; }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 600; color: var(--wp--preset--color--ink); font-size: 1.125rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 1.75rem; font-weight: 400; color: var(--wp--preset--color--brand); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { margin-bottom: 22px; }

/* ---------- Composants d'accueil et de service ---------- */
.lp-art { width: 100%; height: auto; max-width: 560px; margin-inline: auto; display: block; }
.lp-ico { width: 120px; height: 110px; display: block; }
.lp-stats strong { display: block; font-size: clamp(2.125rem, 3.6vw, 3rem); color: var(--wp--preset--color--ink); font-weight: 700; line-height: 1.1; }
.lp-stats span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.5; }
.lp-pill { display: inline-block; background: var(--wp--preset--color--ink); color: #fff; font-weight: 700; letter-spacing: .04em; padding: 12px 26px; border-radius: 40px; font-size: 1.0625rem; width: fit-content; }
.wp-block-columns.is-style-offer { padding-block: clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid var(--wp--preset--color--line); align-items: center !important; }
.lp-kind { transition: border-color .2s, transform .2s; }
.lp-kind:hover { border-color: var(--wp--preset--color--ink); transform: translateY(-3px); }
.lp-kind a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lp-kind a::after { content: ""; position: absolute; inset: 0; }
.lp-kind { position: relative; }
.lp-avatar { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; font-size: 2.5rem; font-weight: 600; color: #fff; background: var(--wp--preset--color--ink); overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--wp--preset--color--line); }
.lp-avatar svg { width: 62%; height: 62%; }
.lp-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pied de page ---------- */
.site-footer { background: #151518; color: #b8b8c2; font-size: .9375rem; line-height: 1.8; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.site-footer a { color: #b8b8c2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .lp-logo { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .lp-legal { border-top: 1px solid #2c2c32; font-size: .875rem; }

/* Coordonnées précédées d'une icône (classes lp-coord--adresse, --courriel, --tel, --whatsapp sur un paragraphe). */
.lp-coord { position: relative; padding-left: 32px; }
.site-footer .lp-coord { margin: 0 0 14px; }
.lp-coord::before {
	content: ""; position: absolute; left: 0; top: calc((1.8em - 20px) / 2); width: 20px; height: 20px;
	background: currentColor;
	-webkit-mask: var(--lp-ico) center / contain no-repeat; mask: var(--lp-ico) center / contain no-repeat;
}
.lp-coord--adresse { --lp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s-7-6.1-7-11.6a7 7 0 0 1 14 0c0 5.5-7 11.6-7 11.6z'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3C/svg%3E"); }
.lp-coord--courriel { --lp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.lp-coord--tel { --lp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.6 3.5H5.5a2 2 0 0 0-2 2.2c.9 7.9 6.9 13.9 14.8 14.8a2 2 0 0 0 2.2-2v-3.1a1.5 1.5 0 0 0-1.2-1.5l-3.1-.7a1.5 1.5 0 0 0-1.4.4l-1.5 1.5a12.5 12.5 0 0 1-5.5-5.5l1.5-1.5a1.5 1.5 0 0 0 .4-1.4l-.7-3.1a1.5 1.5 0 0 0-1.4-1.1z'/%3E%3C/svg%3E"); }
.lp-coord--whatsapp { --lp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3.4 20.6l.9-5A8.5 8.5 0 1 1 8.4 19.7z'/%3E%3Cpath transform='translate(7.4 7.4) scale(.38)' fill='black' stroke='none' d='M8.6 3.5H5.5a2 2 0 0 0-2 2.2c.9 7.9 6.9 13.9 14.8 14.8a2 2 0 0 0 2.2-2v-3.1a1.5 1.5 0 0 0-1.2-1.5l-3.1-.7a1.5 1.5 0 0 0-1.4.4l-1.5 1.5a12.5 12.5 0 0 1-5.5-5.5l1.5-1.5a1.5 1.5 0 0 0 .4-1.4l-.7-3.1a1.5 1.5 0 0 0-1.4-1.1z'/%3E%3C/svg%3E"); }

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

/* ---------- Méta d'article, catégories, articles liés ---------- */
.lp-meta-article { text-align: center; font-size: .9375rem; color: var(--wp--preset--color--text); margin-top: 22px; }
.lp-meta-article b { color: var(--wp--preset--color--ink); font-weight: 600; }
.wp-block-post-terms.is-style-eyebrow { margin-inline: auto; }
.wp-block-post-terms.is-style-eyebrow a { color: inherit; text-decoration: none; }
.wp-block-post-terms.is-style-eyebrow .wp-block-post-terms__separator { opacity: .5; }
.lp-articles-lies { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.lp-articles-lies a { text-decoration: none; color: var(--wp--preset--color--ink); display: block; }
.lp-articles-lies img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--lp-radius); margin-bottom: 16px; }
.lp-articles-lies time { font-size: .875rem; color: var(--wp--preset--color--muted); }
.lp-articles-lies h3 { margin: 6px 0 0; font-size: 1.125rem; line-height: 1.4; }
.lp-articles-lies a:hover h3 { color: var(--wp--preset--color--brand); }
.lp-pages-liees h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }


/* =====================================================================
   Menu principal : méga-menu Services sur ordinateur, panneau court
   sur tablette et mobile, bouton devis toujours visible.
   ===================================================================== */
.lp-court { display: none; }
@media (max-width: 599px) {
	/* Le bouton « Devis » se coupait en deux lignes à 375 px. */
	.site-header .lp-header-cta .wp-block-button__link { white-space: nowrap; }
	.lp-long { display: none; }
	.lp-court { display: inline; }
	.site-header .lp-header-cta .wp-block-button__link { padding: 10px 16px; }
	.site-header .lp-logo .lp-logo-svg { height: 38px; }
}

@media (min-width: 1024px) {
	.site-header .hdr { position: relative; }
	.site-header .wp-block-navigation,
	.site-header .wp-block-navigation__responsive-container,
	.site-header .wp-block-navigation__responsive-container-content,
	.site-header .wp-block-navigation__responsive-dialog,
	.site-header .wp-block-navigation__container,
	.site-header .wp-block-navigation-item.lp-mega { position: static !important; }
	.site-header .lp-mega > .wp-block-navigation__submenu-container {
		left: 0 !important; right: 0 !important; top: 100% !important;
		display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 36px;
		padding: 30px 34px 26px !important; border-radius: 0 0 var(--lp-radius) var(--lp-radius) !important;
	}
	.site-header .lp-mega-col { position: static !important; flex-direction: column; align-items: stretch !important; }
	.site-header .lp-mega-col > .wp-block-navigation-item__content {
		font-weight: 700; color: var(--wp--preset--color--ink); padding: 0 0 10px !important;
		border-bottom: 2px solid var(--wp--preset--color--brand); margin-bottom: 8px;
	}
	.site-header .lp-mega-col > .wp-block-navigation__submenu-icon { display: none !important; }
	.site-header .lp-mega-col > .wp-block-navigation__submenu-container {
		position: static !important; visibility: inherit !important; opacity: inherit !important;
		width: auto !important; height: auto !important; min-width: 0 !important; overflow: visible !important;
		border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent !important;
	}
	.site-header .lp-mega-col { justify-content: flex-start !important; }
	.site-header .lp-mega-col > .wp-block-navigation-item__content { flex: 0 0 auto !important; }
	.site-header .lp-mega-col .wp-block-navigation-item__content {
		display: flex !important; flex-direction: column; align-items: flex-start; flex: 0 0 auto !important;
		padding: 8px 0 !important; white-space: normal; max-width: 100%;
	}
	.site-header .lp-mega .wp-block-navigation-item__label { font-weight: 500; }
	.site-header .lp-mega-col .wp-block-navigation-item__content:hover .wp-block-navigation-item__label { color: var(--wp--preset--color--brand); }
	.site-header .lp-nav-cta { display: none !important; }
}

/* Tablette : le panneau remplace le menu en ligne jusqu'à 1023 px (WordPress s'arrête à 600 px). */
@media (min-width: 600px) and (max-width: 1023px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1023px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 22px 24px 32px; }
	.site-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
	.site-header .is-menu-open .wp-block-navigation__container { gap: 4px !important; }
	.site-header .is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; padding: 9px 0 !important; }
	.site-header .is-menu-open .wp-block-navigation-item__content::after { display: none; }
	.site-header .is-menu-open .has-child > .wp-block-navigation-item__content { font-weight: 700; }
	.site-header .is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 6px 16px !important; gap: 0 !important; }
	/* Méga-menu sur mobile : chaque colonne garde ses liens, en retrait sous son intitulé, comme sur ordinateur. */
	.site-header .is-menu-open .lp-mega-col > .wp-block-navigation-item__content { font-weight: 600; font-size: 1.0625rem; color: var(--wp--preset--color--ink); }
	.site-header .is-menu-open .lp-mega-col > .wp-block-navigation__submenu-icon { display: none !important; }
	.site-header .is-menu-open .lp-mega-col > .wp-block-navigation__submenu-container {
		display: flex !important; margin: 0 0 10px 2px; padding: 0 0 0 14px !important;
		border-left: 2px solid var(--wp--preset--color--line) !important;
	}
	.site-header .is-menu-open .lp-mega-col > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 1rem; font-weight: 400; padding: 6px 0 !important; color: var(--wp--preset--color--text);
	}
	.site-header .is-menu-open .lp-nav-cta { margin-top: 18px; }
	.site-header .is-menu-open .lp-nav-cta .wp-block-navigation-item__content {
		background: var(--wp--preset--color--ink); color: #fff !important; padding: 14px 24px !important;
		border-radius: 6px; font-weight: 600; font-size: 1rem;
	}
}
@media (max-width: 1023px) {
	/* Bouton devis avant le bouton menu : le menu reste à l'extrême droite. */
	.site-header .hdr .lp-header-cta { order: -1; }
	.site-header .hdr .lp-recherche { order: -1; }
	.site-header .hdr > .wp-block-group { gap: 14px !important; }
}
@media (max-width: 1023px) {
	/* Panneau : aligné à gauche, sans cadres ni ombres de la version ordinateur. */
	.site-header .is-menu-open .wp-block-navigation__responsive-container-content,
	.site-header .is-menu-open .wp-block-navigation__container,
	.site-header .is-menu-open .wp-block-navigation-item,
	.site-header .is-menu-open .wp-block-navigation__submenu-container {
		align-items: flex-start !important; justify-content: flex-start !important; text-align: left;
	}
	.site-header .is-menu-open .wp-block-navigation__submenu-container {
		border: 0 !important; box-shadow: none !important; min-width: 0 !important; background: transparent !important;
	}
	.site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: 1.25rem; }
	.site-header .is-menu-open .wp-block-navigation__container > .has-child { padding-top: 6px; border-top: 1px solid var(--wp--preset--color--line); width: 100%; }
}

/* -------------------------------------------------------------------------
 * Illustrations (bloc laplume/illustration).
 * Bandeau de page : titre centré sans illustration ; avec une illustration,
 * titre à gauche et image à droite à partir de 900 px, image sous le titre en dessous.
 * ---------------------------------------------------------------------- */
.lp-illu { margin: 0; }
.lp-illu img { display: block; width: 100%; height: auto; }
.lp-hero-grille > .lp-hero-texte { max-width: 900px; margin-inline: auto; }
.lp-hero-grille > .lp-illu { max-width: 260px; margin: 28px auto 0; }
@media (min-width: 900px) {
	.lp-hero-grille:has(> .lp-illu) {
		display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
		gap: 56px; align-items: center;
	}
	.lp-hero-grille:has(> .lp-illu) > .lp-hero-texte { max-width: none; margin: 0; text-align: left; }
	.lp-hero-grille:has(> .lp-illu) > .lp-hero-texte .has-text-align-center { text-align: left; }
	.lp-hero-grille:has(> .lp-illu) .wp-block-buttons { justify-content: flex-start; }
	.lp-hero-grille:has(> .lp-illu) .is-style-eyebrow { margin-left: 0; }
	.lp-hero-grille:has(> .lp-illu) .wp-block-search { margin-left: 0; }
	.lp-hero-grille:has(> .lp-illu) > .lp-illu { max-width: 440px; width: 100%; margin: 0 0 0 auto; }
}
/* Accueil, méthode, cartes de la page Tarifs */
.wp-block-column > .lp-illu { max-width: 560px; margin-inline: auto; }
.lp-methode-tete .lp-illu { max-width: 420px; }
.lp-illu-carte { max-width: 240px; margin: -8px auto 18px; }
/* Sections texte et illustration (remplacent les anciennes photos). */
.lp-media-illu .lp-illu { max-width: 440px; margin-inline: auto; }
@media (max-width: 781px) {
	.lp-media-illu .lp-illu { max-width: 260px; }
	.lp-illu-droite > .wp-block-column:has(.lp-illu) { order: -1; }
}

/* -------------------------------------------------------------------------
 * Formulaires Contact Form 7 : carte, champs sur deux colonnes, bouton du thème.
 * Fonctionne avec l'ancien gabarit (div.row) comme avec le nouveau (.lp-cf-champ).
 * ---------------------------------------------------------------------- */
/* La marge intérieure des champs est comprise dans leur largeur : sinon ils débordent de la carte. */
.wpcf7, .wpcf7 *, .wpcf7 *::before, .wpcf7 *::after { box-sizing: border-box; }
.wpcf7 {
	max-width: 860px; margin: 2.5rem auto !important; padding: 40px;
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px;
	box-shadow: 0 1px 2px rgba(31, 31, 34, .04), 0 18px 45px rgba(31, 31, 34, .07);
}
.wpcf7-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 24px; }
.wpcf7-form > * { margin: 0 !important; min-width: 0; }
.wpcf7-form > .hidden-fields-container { display: none; }
.wpcf7-form p { margin: 0; }
.wpcf7-form br { display: none; }
.wpcf7-form .row, .wpcf7-form [class*="col-"] { margin: 0; padding: 0; }
@media (min-width: 640px) {
	.wpcf7-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpcf7-form > :has(textarea), .wpcf7-form > :has(.wpcf7-submit), .wpcf7-form > :has(.wpcf7-acceptance),
	.wpcf7-form > .lp-cf-large, .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
	/* Bouton à gauche, mention « champs obligatoires » à droite, sur la même ligne. */
	.wpcf7-form > .lp-cf-envoi { grid-column: 1 / 2; }
	.wpcf7-form > .lp-cf-mention { grid-column: 2 / 3; align-self: center; text-align: right; }
}
.wpcf7 label { display: block; margin: 0 0 8px; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--ink); }
.lp-cf-requis { margin-left: 3px; color: var(--wp--preset--color--brand); }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="date"]),
.wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; max-width: 100%; height: 52px; margin: 0; padding: 0 16px;
	font: inherit; font-size: 1rem; line-height: 1.4; color: var(--wp--preset--color--ink);
	background: #f7f7f9; border: 1px solid #e3e3e9; border-radius: 10px;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.wpcf7 input, .wpcf7 textarea { -webkit-appearance: none; appearance: none; }
.wpcf7 textarea { height: auto; min-height: 160px; padding: 14px 16px; resize: vertical; }
.wpcf7 ::placeholder { color: #9a9aa3; opacity: 1; }
.wpcf7 :is(input, select, textarea):hover { border-color: #cfcfd8; }
.wpcf7 :is(input, select, textarea):focus { outline: none; background: #fff; border-color: var(--wp--preset--color--violet); box-shadow: 0 0 0 4px rgba(108, 99, 224, .14); }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit {
	display: inline-block; width: auto; min-width: 230px; height: 52px; margin: 0; padding: 0 32px; border: 0; border-radius: 10px;
	background: var(--wp--preset--color--ink); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; line-height: 52px; cursor: pointer;
	transition: background-color .15s ease;
}
.wpcf7 .wpcf7-submit:hover { background: #000; }
.wpcf7 .wpcf7-submit:focus-visible { outline: 3px solid var(--wp--preset--color--violet); outline-offset: 3px; }
.wpcf7 .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; vertical-align: middle; }
.wpcf7 .wpcf7-form-control.wpcf7-not-valid { border-color: var(--wp--preset--color--brand); background: #fff; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .8125rem; color: var(--wp--preset--color--brand); }
body .wpcf7 form.wpcf7-form .wpcf7-response-output { margin: 0; padding: 14px 18px; border: 0; border-left: 4px solid var(--wp--preset--color--yellow); border-radius: 8px; background: #fff8e8; font-size: .9375rem; color: var(--wp--preset--color--ink); }
body .wpcf7 form.wpcf7-form.sent .wpcf7-response-output { border-left-color: var(--wp--preset--color--teal); background: #eefafa; }
body .wpcf7 form.wpcf7-form:is(.failed, .aborted, .spam) .wpcf7-response-output { border-left-color: var(--wp--preset--color--brand); background: var(--wp--preset--color--brand-tint); }
.lp-cf-mention { grid-column: 1 / -1; margin: 0; font-size: .8125rem; color: var(--wp--preset--color--muted); }
@media (max-width: 639px) {
	.wpcf7 { padding: 24px 20px; border-radius: 14px; }
	.wpcf7 input.wpcf7-submit { width: 100%; min-width: 0; }
}

/* =========================================================================
 * Page mère du cocon (gabarit page-mere, compositions « Page mère »).
 * Même vocabulaire que l'accueil et la maquette de page de service :
 * étiquettes de section, titres courts, cartes à filet fin (rayon 10 px,
 * survol : filet encre et léger soulèvement), étapes à numéros rouges,
 * ligne d'offre avec pastille et illustration, section sombre.
 * Chaque section est une bande pleine largeur alignée sur la grille de
 * 1180 px ; le texte courant garde une ligne de 760 px au plus.
 * ---------------------------------------------------------------------- */

/* Bandeau : sous-titre, deux boutons, preuves courtes. */
.lp-mere-hero .lp-subtitle { margin-top: 18px; }
.lp-mere-actions { margin-top: 34px !important; gap: 12px; justify-content: center; }
.lp-mere-preuves {
	list-style: none; margin: 30px 0 0 !important; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
	font-size: .9375rem; line-height: 1.5; color: var(--wp--preset--color--ink);
}
.lp-mere-preuves li { position: relative; padding-left: 26px; }
.lp-mere-preuves li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px;
	background: var(--wp--preset--color--brand); -webkit-mask: var(--lp-check) center / contain no-repeat; mask: var(--lp-check) center / contain no-repeat;
}
@media (min-width: 900px) {
	.lp-hero-grille:has(> .lp-illu) .lp-mere-preuves { justify-content: flex-start; }
}

/* Barre « Sur cette page » : remplace la ligne « Écrivez-nous » des autres pages.
   Construite par le thème à partir des étiquettes de section, collée sous l'en-tête,
   la section en cours soulignée en rouge comme le menu. */
.lp-mere-page > .lp-mere-nav { margin-block: 0 !important; }
.lp-mere-nav {
	position: sticky; top: 0; z-index: 40; display: none;
	background: rgba(255, 255, 255, .97); border-top: 1px solid rgba(31, 31, 34, .12); border-bottom: 1px solid var(--wp--preset--color--line);
}
.lp-mere-nav.is-pret { display: block; }
.lp-mere-nav__in { display: flex; align-items: center; gap: 28px; max-width: 1180px; margin: 0 auto; }
.lp-mere-nav__titre {
	flex: 0 0 auto; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.lp-mere-nav ol {
	display: flex; gap: 4px; margin: 0; padding: 0; list-style: none;
	overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.lp-mere-nav ol::-webkit-scrollbar { display: none; }
.lp-mere-nav a {
	position: relative; display: block; padding: 20px 12px; white-space: nowrap; text-decoration: none;
	font-size: .9375rem; font-weight: 500; color: var(--wp--preset--color--text); transition: color .2s;
}
.lp-mere-nav a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
	background: var(--wp--preset--color--brand); transform: scaleX(0); transition: transform .2s;
}
.lp-mere-nav a:hover { color: var(--wp--preset--color--ink); }
.lp-mere-nav a:hover::after, .lp-mere-nav a[aria-current="true"]::after { transform: scaleX(1); }
.lp-mere-nav a[aria-current="true"] { color: var(--wp--preset--color--ink); }
@media (min-width: 782px) {
	.lp-mere-nav { top: var(--lp-entete, var(--lp-header)); }
	.admin-bar .lp-mere-nav { top: calc(var(--lp-entete, var(--lp-header)) + 32px); }
}
@media (max-width: 781px) {
	.lp-mere-nav__titre { display: none; }
	.lp-mere-nav a { padding: 16px 10px; font-size: .875rem; }
}

/* Contenu */
.lp-mere { line-height: 1.75; }
.lp-mere h2 { margin-top: 22px; scroll-margin-top: 80px; }
@media (min-width: 782px) {
	.lp-mere h2 { scroll-margin-top: calc(var(--lp-entete, var(--lp-header)) + 80px); }
}
.lp-mere h3 { margin: 0 0 10px; }
.lp-mere .is-style-lead { line-height: 1.65; }

/* Sections : bandes pleine largeur, fond blanc, doux ou sombre (classe lp-dark du thème).
   Pas d'encadré « Les points essentiels » sur une page mère, comme sur les autres pages du site :
   l'introduction suit directement la barre « Sur cette page ». */
.lp-mere > .lp-mere-section { margin-block: 0 !important; padding-block: clamp(4rem, 9vw, 6.25rem); }
.lp-mere > .lp-mere-section.lp-mere-intro { padding-block: clamp(3.5rem, 7vw, 5rem); }
.lp-mere-section.is-soft { background: var(--wp--preset--color--soft); }
.lp-mere-section.lp-dark :where(p, li) { color: #d9d9e0; }
.lp-mere-section.lp-dark a:not(.wp-block-button__link) { color: #fff; text-decoration-color: var(--wp--preset--color--brand); }
.lp-mere-section.lp-dark strong { color: #fff; }

/* Tête de section : étiquette, titre, chapeau, calés à gauche sur la grille large (comme la maquette, 820 px). */
.lp-mere-tete > * { max-width: 820px; }
.lp-mere-tete { margin-bottom: clamp(2.5rem, 5vw, 3.75rem) !important; }
.lp-mere-tete > .is-style-lead, .lp-mere-tete > p:not(.is-style-eyebrow) { margin-top: 22px; }
.lp-mere-suite { margin-top: clamp(2.25rem, 4vw, 3rem) !important; }
.lp-mere-suite > * { max-width: 760px; }

/* Introduction : le premier paragraphe en chapeau, la suite à côté sur ordinateur. */
.lp-mere-intro .wp-block-columns { gap: clamp(2rem, 5vw, 5rem) !important; margin: 0; }
.lp-mere-intro .is-style-lead { margin-top: 0; font-weight: 500; }

/* Section en deux colonnes : la tête reste visible pendant la lecture. */
.wp-block-columns.lp-mere-split { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start !important; margin-block: 0; }
.lp-mere-split > .wp-block-column > :first-child { margin-top: 0; }
@media (min-width: 1024px) {
	.lp-mere-split > .lp-mere-colle { position: sticky; top: calc(var(--lp-entete, var(--lp-header)) + 90px); }
}

/* Étapes : numéros rouges et filets, comme la méthode de la maquette, en trois colonnes. */
/* Grilles des étapes et des cartes : une colonne sur mobile, trois dès 782 px. */
.lp-mere-etapes, .lp-mere-cartes { display: grid; grid-template-columns: minmax(0, 1fr); }
.lp-mere-etapes > *, .lp-mere-cartes > * { margin: 0 !important; }
@media (min-width: 782px) {
	.lp-mere-etapes, .lp-mere-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lp-mere-etapes { counter-reset: lp-etape; gap: 0 48px !important; }
.lp-mere-etape { counter-increment: lp-etape; padding: 28px 0 8px; border-top: 1px solid var(--wp--preset--color--line); }
.lp-mere-etape::before {
	content: counter(lp-etape, decimal-leading-zero); display: block; margin-bottom: 16px;
	font-size: 1.875rem; font-weight: 700; line-height: 1; color: var(--wp--preset--color--brand);
}
.lp-mere-etape > p { font-size: 1rem; line-height: 1.7; }
.lp-mere-etape > :last-child { margin-bottom: 0; }
.lp-mere-ia {
	display: inline-block; width: fit-content; margin: 0 0 14px !important; padding: 3px 9px; border-radius: 6px;
	font-size: .78125rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
	color: var(--wp--preset--color--badge-ink); background: var(--wp--preset--color--badge);
}

/* Cartes : filet fin, pictogramme dans un carré pastel (cartes « contenus » de la maquette). */
.lp-mere-cartes { gap: 24px !important; }
.lp-mere-carte {
	height: 100%; padding: 30px; background: #fff;
	border: 1px solid var(--wp--preset--color--line); border-radius: var(--lp-radius);
	transition: border-color .2s, transform .2s;
}
.lp-mere-cartes .lp-mere-carte:hover { border-color: var(--wp--preset--color--ink); transform: translateY(-3px); }
.lp-mere-carte > p { font-size: .96875rem; line-height: 1.7; }
.lp-mere-carte > :last-child { margin-bottom: 0; }
.lp-mere-picto { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 0 20px; border-radius: 12px; background: var(--wp--preset--color--brand-tint); }
.lp-mere-picto svg { width: 30px; height: 30px; }
.lp-mere-picto--violet { background: #dcdaf9; }
.lp-mere-picto--jaune { background: #fde7bd; }
.lp-mere-picto--turquoise { background: #d6f1f2; }
.lp-mere-pile > .lp-mere-carte + .lp-mere-carte { margin-top: 20px; }

/* Contrôles sur fond sombre : étapes numérotées du thème, filets sombres. */
.lp-dark ol.is-style-steps > li { border-bottom-color: #3a3a42; }
.lp-dark ol.is-style-steps > li strong:first-child { color: #fff; }

/* Ligne d'offre : pastille, titre, texte, boutons, illustration à droite. */
.wp-block-columns.lp-mere-offre { gap: clamp(2rem, 6vw, 4.5rem) !important; align-items: center !important; margin: 0; }
.lp-mere-offre .lp-pill { margin-bottom: 26px; }
.lp-mere-offre h2 { margin-top: 0; }
.lp-mere-offre .wp-block-buttons { margin-top: 30px; gap: 12px; }
.lp-mere-offre .lp-illu { max-width: 480px; margin-inline: auto; }
@media (max-width: 781px) {
	.lp-mere-offre .lp-illu { max-width: 260px; }
	.lp-mere-offre > .wp-block-column:has(.lp-illu) { order: -1; }
}

/* Test et formulaire : texte à gauche, formulaire à droite (ancre #devis). */
.lp-mere-contact .wpcf7 { max-width: 860px; margin: 0 !important; }
.lp-mere-atouts { list-style: none; margin: 28px 0 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-mere-atouts li {
	padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--wp--preset--color--line);
	font-size: .875rem; font-weight: 500; color: var(--wp--preset--color--ink);
}

/* Tableau et appel dans une section large. */
.lp-mere-section .lp-tableau { margin: 0; }
.lp-mere-section .wp-block-table > .lp-tableau + :is(figcaption, .wp-element-caption) { margin: 12px 0 0; }
.lp-mere-bloc-large { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; }
.lp-mere-bloc-large .lp-cta { margin: 0; }

/* Bloc « Pages liées » vide : pas de marge blanche avant le pied de page. */
.lp-mere-page > .wp-block-group.alignwide:not(:has(*)) { display: none; }

/* Sources : section discrète, hors de la barre « Sur cette page ». */
.lp-mere > .lp-mere-section.lp-mere-sources { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--wp--preset--color--line); }
.lp-mere-sources h2 { font-size: 1.125rem; margin-top: 0; }
.lp-mere-sources p { font-size: .9375rem; color: var(--wp--preset--color--muted); }
.lp-mere-sources a { color: var(--wp--preset--color--text); }

@media (max-width: 781px) {
	.lp-mere-carte { padding: 26px 22px; }
}
