/*
Theme Name: Les Love Rooms
Theme URI: https://lesloverooms.fr
Author: Romain Longieras
Description: Thème autonome de lesloverooms.fr. Remplace Astra et son thème enfant (fiches logement, recherche, liens /go/, shortcodes repris à l'identique). Laisse la main aux plugins : header LLR, listes de logements, Elementor, Rank Math. Police système (celle des fiches logement), pages éditoriales composées avec photo, carte d'introduction et sommaire « fil rouge ».
Version: 1.2.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lesloverooms
*/

/* ==========================================================================
   Règle de cohabitation avec les plugins
   --------------------------------------------------------------------------
   Tout ce qui habille des éléments génériques (titres, paragraphes, listes,
   boutons…) est écrit dans :where(), donc sans aucune spécificité : la plus
   petite règle d'un plugin l'emporte toujours. Les blocs qui ont leur propre
   style (liste des love rooms, accueil, Elementor…) sont en plus exclus.
   Pour le header du plugin LLR, le thème ne règle que les variables que le
   plugin prévoit à cet effet, et ajoute un bouton de recherche.
   ========================================================================== */

/* ---------- Jetons ---------- */
:root {
	--llrt-velours: #2b1520;
	--llrt-velours-2: #4a1a30;
	--llrt-encre: #4a3540;        /* texte courant, un ton sous le velours */
	--llrt-framboise: #b52b56;
	--llrt-framboise-fonce: #8e1d41;
	--llrt-fil: #d0283f;
	--llrt-poudre: #fffaf8;
	--llrt-petale: #fbeef2;
	--llrt-lin: #f0e1e7;
	--llrt-sourdine: #85606e;
	--llrt-blanc: #ffffff;

	/* Police des fiches logement : celle du système (San Francisco sur Apple, Segoe sur Windows, Roboto sur Android) */
	--llrt-police: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	--llrt-mesure: 45rem;        /* colonne de lecture : ~70 caractères */
	--llrt-large: 75rem;         /* 1200 px */
	--llrt-goutte: clamp(16px, 4vw, 40px);
	--llrt-rayon: 18px;
	--llrt-rayon-l: 28px;
	--llrt-rayon-s: 10px;
	--llrt-ombre: 0 18px 40px -24px rgba(43, 21, 32, .38);
	--llrt-ombre-l: 0 36px 70px -40px rgba(43, 21, 32, .5);
	--llrt-ancre: calc(var(--wp-admin--admin-bar--height, 0px) + var(--llrt-header-h, 76px) + 24px);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: var(--llrt-ancre);
}
html.llr-lock { overflow: hidden; }

body {
	margin: 0;
	background: var(--llrt-poudre);
	color: var(--llrt-velours);
	font-family: var(--llrt-police);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

:where(img, svg, video, canvas, iframe) { max-width: 100%; }
:where(img, video) { height: auto; }
:where(a) { color: var(--llrt-framboise); }
:where(a:hover) { color: var(--llrt-framboise-fonce); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--llrt-framboise);
	outline-offset: 2px;
}
::selection { background: var(--llrt-petale); color: var(--llrt-velours); }

/* Accessibilité WordPress */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 100000; padding: 12px 18px;
	background: var(--llrt-blanc); color: var(--llrt-velours);
	border-radius: var(--llrt-rayon-s); box-shadow: var(--llrt-ombre);
	font-weight: 700; text-decoration: none;
}

:where(.alignleft) { float: left; margin: .4em 1.5em 1em 0; }
:where(.alignright) { float: right; margin: .4em 0 1em 1.5em; }
:where(.aligncenter) { display: block; margin-inline: auto; }
:where(.wp-caption-text, figcaption) { font-size: .85em; color: var(--llrt-sourdine); margin-top: .5em; }

/* ==========================================================================
   Header du plugin LLR : variables prévues par le plugin + bouton de recherche
   ========================================================================== */
.llr-theme .llr-header {
	--llr-bg: var(--llrt-poudre);
	--llr-ink: var(--llrt-velours);
	--llr-muted: var(--llrt-sourdine);
	--llr-accent: var(--llrt-framboise);
	--llr-accent-dark: var(--llrt-framboise-fonce);
	--llr-soft: var(--llrt-petale);
	--llr-line: var(--llrt-lin);
	--llr-radius: 16px;
	--llr-max: 1280px;
	--llr-h: 72px;
	--llr-logo-h: 44px;
}
.llr-header .llr-recherche {
	display: inline-flex; align-items: center; gap: 8px;
	height: 42px; margin-left: auto; padding: 0 16px;
	border-radius: 999px;
	background: var(--llrt-blanc);
	box-shadow: inset 0 0 0 1px var(--llrt-lin);
	color: var(--llrt-velours);
	font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: box-shadow .15s ease, color .15s ease;
}
.llr-header .llr-recherche:hover { color: var(--llrt-framboise); box-shadow: inset 0 0 0 1.5px var(--llrt-framboise); }
.llr-header .llr-recherche svg { flex: none; }
@media (max-width: 960px) {
	.llr-theme .llr-header .llr-recherche { order: 2; width: 44px; height: 44px; padding: 0; justify-content: center; }
	.llr-theme .llr-header .llr-recherche span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.llr-theme .llr-header .llr-burger { order: 3; }
	.llr-theme .llr-header .llr-header__bar { gap: 10px; }
}

/* Barre de lecture, sous le header, sur les pages éditoriales */
.llr-lecture-barre {
	position: fixed; z-index: 998; left: 0; right: 0;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--llrt-header-h, 0px) - 1px);
	height: 3px;
	background: linear-gradient(90deg, var(--llrt-framboise), var(--llrt-fil));
	transform: scaleX(0); transform-origin: 0 50%;
	opacity: 0; transition: opacity .25s ease;
	pointer-events: none;
}
.llr-lecture-barre.is-visible { opacity: 1; }
@media (max-width: 600px) { .admin-bar .llr-lecture-barre { top: calc(var(--llrt-header-h, 0px) - 1px); } }

/* ==========================================================================
   Mises en page
   ========================================================================== */
.llr-site { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1 0 auto; }

.llr-main { padding: clamp(28px, 5vw, 64px) var(--llrt-goutte) clamp(64px, 9vw, 112px); }
.llr-main--lecture > :where(*) { max-width: var(--llrt-mesure); margin-inline: auto; }
.llr-main--wide > :where(*) { max-width: var(--llrt-large); margin-inline: auto; }
.llr-main--full { padding: 0; }
.home .llr-main--wide { padding-top: 0; }
.llr-main--editorial { padding-top: clamp(16px, 3vw, 32px); }

/* Titres de page */
.llr-page-head { margin-bottom: clamp(24px, 4vw, 40px); }
.llr-page-head--list { max-width: var(--llrt-large); }
.llr-page-title,
:where(.llr-prose h1:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.5rem);
	font-weight: 750;
	line-height: 1.06;
	letter-spacing: -.032em;
	text-wrap: balance;
	color: var(--llrt-velours);
	margin: 0 0 .45em;
}
.llr-page-meta { margin: .6em 0 0; color: var(--llrt-sourdine); font-size: .92rem; }
.llr-page-meta a { color: inherit; }
.llr-page-meta__sep { margin: 0 .35em; }
.llr-page-intro { margin: .8em 0 0; color: var(--llrt-encre); font-size: 1.15em; line-height: 1.55; max-width: 40rem; }

/* Fil d'Ariane Rank Math */
.llr-crumbs { font-size: .84rem; color: var(--llrt-sourdine); margin-bottom: 16px; }
.llr-crumbs a { color: inherit; text-decoration: none; }
.llr-crumbs a:hover { color: var(--llrt-framboise); text-decoration: underline; }
.llr-crumbs .separator { margin: 0 .35em; opacity: .6; }

/* ==========================================================================
   Pages éditoriales : ouverture (photo + carte d'introduction)
   ========================================================================== */
.llr-ouverture {
	position: relative;
	max-width: var(--llrt-large);
	margin: 0 auto clamp(40px, 6vw, 72px);
}
.llr-ouverture__photo {
	margin: 0;
	aspect-ratio: 12 / 5;
	min-height: 260px;
	border-radius: var(--llrt-rayon-l);
	overflow: hidden;
	background: var(--llrt-velours);
}
.llr-ouverture__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.llr-intro {
	position: relative; z-index: 2;
	max-width: 55rem;
	margin: 0 auto;
}
/* Avec photo : la carte vient se poser sur le bas de l'image */
.llr-ouverture.has-photo .llr-intro {
	width: calc(100% - 2 * clamp(12px, 4vw, 48px));
	margin-top: clamp(-170px, -12vw, -56px);
	padding: clamp(26px, 4.5vw, 56px) clamp(22px, 5vw, 80px) clamp(26px, 4vw, 48px);
	background: var(--llrt-blanc);
	border-radius: var(--llrt-rayon-l);
	box-shadow: var(--llrt-ombre-l);
}
/* Sans photo : titre aligné sur la colonne de lecture */
.llr-intro--simple { max-width: var(--llrt-mesure); padding-top: clamp(16px, 4vw, 40px); }

.llr-intro__texte { font-size: 1.04em; }
.llr-intro__texte > :last-child { margin-bottom: 0; }
:where(.llr-prose h1 + p:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { font-size: 1.14em; line-height: 1.58; color: var(--llrt-velours); }
.llr-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 26px 0 0; }

/* ==========================================================================
   Corps : sommaire « fil rouge » + colonne de lecture
   La colonne de texte reste centrée dans la fenêtre (les blocs pleine largeur
   des plugins se calent dessus) ; le sommaire occupe la marge de gauche.
   ========================================================================== */
.llr-corps { max-width: var(--llrt-mesure); margin-inline: auto; }

@media (min-width: 1180px) {
	.llr-corps.has-sommaire {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, var(--llrt-mesure)) minmax(0, 1fr);
		column-gap: clamp(32px, 4vw, 64px);
		align-items: start;
		max-width: var(--llrt-large);
	}
	.llr-corps.has-sommaire > .llr-lecture { grid-column: 2; grid-row: 1; min-width: 0; }
	.llr-corps.has-sommaire > .llr-sommaire {
		grid-column: 1; grid-row: 1;
		justify-self: end;
		width: min(250px, 100%);
		position: sticky;
		top: var(--llrt-ancre);
		max-height: calc(100vh - var(--llrt-ancre) - 24px);
		overflow: auto;
		scrollbar-width: none;
	}
}

.llr-sommaire { position: relative; }
.llr-sommaire__bouton { display: none; }
.llr-sommaire__titre {
	margin: 0 0 10px; padding-left: 26px;
	font-size: .82rem; font-weight: 700; color: var(--llrt-sourdine); letter-spacing: .01em;
}
.llr-sommaire__fil {
	position: absolute; left: 5px; width: 2px; top: 34px; bottom: 0;
	border-radius: 2px; background: var(--llrt-lin);
}
.llr-sommaire__trace {
	position: absolute; left: 0; top: 0; width: 100%; height: 0;
	border-radius: inherit; background: var(--llrt-fil);
	transition: height .3s ease;
}
.llr-sommaire__liste { list-style: none; margin: 0; padding: 0 0 0 26px; }
.llr-sommaire__liste li { position: relative; margin: 0; padding: 6px 0; }
.llr-sommaire__liste li::before {
	content: ""; position: absolute; left: -25px; top: 11px;
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--llrt-poudre); box-shadow: inset 0 0 0 2px var(--llrt-lin);
	transition: background-color .25s ease, box-shadow .25s ease;
}
.llr-sommaire__liste li.is-lu::before { background: var(--llrt-fil); box-shadow: none; }
.llr-sommaire__liste li.is-active::before { background: var(--llrt-blanc); box-shadow: inset 0 0 0 2.5px var(--llrt-fil), 0 0 0 4px rgba(208, 40, 63, .14); }
.llr-sommaire__liste a {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	padding: 0; font-size: .88rem; line-height: 1.38;
	color: var(--llrt-sourdine); text-decoration: none;
}
.llr-sommaire__liste a:hover { color: var(--llrt-framboise); }
.llr-sommaire__liste li.is-active a { color: var(--llrt-velours); font-weight: 650; }

/* Sommaire replié (mobile, tablette) */
@media (max-width: 1179px) {
	.llr-sommaire {
		margin: 0 0 36px;
		background: var(--llrt-blanc);
		border: 1px solid var(--llrt-lin);
		border-radius: var(--llrt-rayon);
	}
	.llr-sommaire__titre, .llr-sommaire__fil { display: none; }
	.llr-sommaire.is-ready .llr-sommaire__bouton {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		width: 100%; min-height: 56px; margin: 0; padding: 0 20px;
		border: 0; background: transparent; cursor: pointer;
		font: inherit; font-weight: 700; color: var(--llrt-velours); text-align: left;
	}
	.llr-sommaire__nb { font-weight: 500; font-size: .88rem; color: var(--llrt-sourdine); }
	.llr-sommaire__nb::after {
		content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
	}
	.llr-sommaire.is-open .llr-sommaire__nb::after { transform: translateY(1px) rotate(-135deg); }
	.llr-sommaire.is-ready .llr-sommaire__liste { display: none; }
	.llr-sommaire.is-open .llr-sommaire__liste { display: block; }
	.llr-sommaire__liste { padding: 0 20px 14px 46px; }
	.llr-sommaire__liste li::before { left: -24px; }
	.llr-sommaire__liste li { padding: 8px 0; }
	.llr-sommaire__liste li::before { top: 14px; }
	.llr-sommaire__liste a { -webkit-line-clamp: 3; font-size: .95rem; }
}

/* ==========================================================================
   Texte des pages (« prose ») — spécificité nulle, blocs autonomes exclus
   ========================================================================== */
:where(.llr-prose > :first-child:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin-top: 0; }

:where(.llr-prose h2:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)), :where(.llr-prose h3:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)), :where(.llr-prose h4:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { color: var(--llrt-velours); text-wrap: balance; scroll-margin-top: var(--llrt-ancre); }
:where(.llr-prose h2:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -.024em;
	margin: 2.2em 0 .55em;
}
:where(.llr-prose h3:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	font-size: 1.12em;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	margin: 1.8em 0 .35em;
}
:where(.llr-prose h4:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { font-weight: 700; font-size: 1em; margin: 1.6em 0 .3em; }
:where(.llr-prose h2 + h3:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin-top: .8em; }
:where(.llr-prose > :first-child:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin-top: 0; }

:where(.llr-prose p:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin: 0 0 1.05em; color: var(--llrt-encre); }
:where(.llr-prose strong:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)), :where(.llr-prose b:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { font-weight: 700; color: var(--llrt-velours); }

:where(.llr-prose a:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	color: var(--llrt-framboise);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}
:where(.llr-prose a:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)):hover { color: var(--llrt-framboise-fonce); text-decoration-thickness: 2px; }

:where(.llr-prose ul:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)), :where(.llr-prose ol:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin: 0 0 1.3em; padding-left: 1.3em; color: var(--llrt-encre); }
:where(.llr-prose li:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin: .4em 0; padding-left: .25em; }
:where(.llr-prose ul > li:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *))::marker { color: var(--llrt-framboise); }
:where(.llr-prose ol > li:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *))::marker { color: var(--llrt-framboise); font-weight: 700; font-variant-numeric: tabular-nums; }

:where(.llr-prose blockquote:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	margin: 1.8em 0;
	padding: 1.1em 1.4em;
	border-left: 3px solid var(--llrt-fil);
	border-radius: 0 var(--llrt-rayon-s) var(--llrt-rayon-s) 0;
	background: var(--llrt-petale);
	font-size: 1.12em;
	line-height: 1.55;
	color: var(--llrt-velours);
}
:where(.llr-prose blockquote p:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { color: inherit; }
:where(.llr-prose blockquote p:last-child:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin-bottom: 0; }
:where(.llr-prose blockquote cite:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { display: block; margin-top: .6em; font-style: normal; font-size: .8em; color: var(--llrt-sourdine); }

:where(.llr-prose hr:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { border: 0; height: 1px; background: var(--llrt-lin); margin: 2.6em 0; }
:where(.llr-prose figure:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin: 2em 0; }
:where(.llr-prose img:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { border-radius: var(--llrt-rayon-s); }

:where(.llr-prose table:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95em; }
:where(.llr-prose th:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)), :where(.llr-prose td:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { padding: .65em .8em; border-bottom: 1px solid var(--llrt-lin); text-align: left; vertical-align: top; }
:where(.llr-prose th:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { font-weight: 700; background: var(--llrt-petale); }

:where(.llr-prose details:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { border-bottom: 1px solid var(--llrt-lin); padding: .9em 0; }
:where(.llr-prose summary:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) {
	cursor: pointer; list-style: none; font-weight: 700;
	display: flex; justify-content: space-between; align-items: baseline; gap: 1em;
}
:where(.llr-prose summary:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *))::-webkit-details-marker { display: none; }
:where(.llr-prose summary:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *))::after { content: "+"; color: var(--llrt-framboise); font-size: 1.3em; line-height: 1; }
:where(.llr-prose details[open] > summary:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *))::after { content: "–"; }
:where(.llr-prose details > p:not(:is(.llr-lg, .lrg-wrapper, .llrh, .elementor, .llr-ile, .pages-similaires-grid, .pv-section, .logements-grid) *)) { margin: .6em 0 0; }

/* Ancien conteneur des pages département : le thème gère la largeur */
:where(.llr-prose .page-logements, .llr-prose .page-logements > .container) { max-width: none; margin: 0; padding: 0; }

/* Blocs Gutenberg larges */
:where(.llr-lecture .llr-prose) > :where(.alignwide) {
	width: min(var(--llrt-large), 100vw - 2 * var(--llrt-goutte));
	max-width: none;
	margin-inline: calc(50% - min(var(--llrt-large), 100vw - 2 * var(--llrt-goutte)) / 2);
}
:where(.llr-prose) > :where(.alignfull) { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }

/* Les blocs pleine largeur passent au-dessus du reste (sommaire collant compris) */
.llr-lecture :where(.llr-lg--full, .alignfull, .pages-similaires-grid) { position: relative; z-index: 3; }
.llr-lecture :where(.llr-lg--full, .alignfull) { background-color: var(--llrt-poudre); }

/* ---------- Lieux : « Avignon pour… », « Luberon pour… » en cartes ---------- */
.llr-lieux {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 12px;
	margin: 1.1em 0 1.6em;
}
.llr-prose .llr-lieu {
	position: relative;
	margin: 0;
	padding: 18px 20px 18px 50px;
	background: var(--llrt-blanc);
	border: 1px solid var(--llrt-lin);
	border-radius: 16px;
	font-size: .95em;
	line-height: 1.55;
	color: var(--llrt-encre);
}
.llr-prose .llr-lieu::before {
	content: ""; position: absolute; left: 18px; top: 20px; width: 18px; height: 18px;
	background: var(--llrt-framboise);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.llr-prose .llr-lieu strong { display: block; margin-bottom: 2px; font-size: 1.06rem; color: var(--llrt-velours); }

/* ---------- Encadré chiffré : « Comptez généralement 150 à 300 € la nuit… » ---------- */
.llr-prose p.llr-chiffre {
	margin: 1.2em 0 1.4em;
	padding: 22px 26px;
	background: var(--llrt-petale);
	border-radius: 18px;
	color: var(--llrt-encre);
}
.llr-prose p.llr-chiffre strong {
	display: block;
	margin: 4px 0 6px;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.03em;
	color: var(--llrt-framboise-fonce);
}
.llr-faq .llr-chiffre { padding: 0; background: none; margin: 0; }
.llr-faq .llr-chiffre strong { display: inline; font-size: inherit; font-weight: 700; color: var(--llrt-velours); letter-spacing: 0; margin: 0; }

/* ---------- « Les erreurs à éviter » en grille d'alertes ---------- */
.llr-prose ul.llr-eviter {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 10px;
	margin: 1em 0 1.6em;
	padding: 0;
}
.llr-prose ul.llr-eviter li {
	position: relative;
	margin: 0;
	padding: 14px 16px 14px 50px;
	background: var(--llrt-blanc);
	border: 1px solid var(--llrt-lin);
	border-radius: 14px;
	line-height: 1.5;
	color: var(--llrt-velours);
}
.llr-prose ul.llr-eviter li::before {
	content: ""; position: absolute; left: 16px; top: 50%; margin-top: -11px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--llrt-petale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b52b56' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- FAQ en grille de questions ---------- */
.llr-faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 12px;
	margin: 1em 0 1.6em;
}
.llr-prose .llr-faq__item {
	padding: 20px 22px;
	background: var(--llrt-blanc);
	border: 1px solid var(--llrt-lin);
	border-radius: 16px;
}
.llr-faq + .llr-faq, .llr-faq__item + .llr-faq__item { margin-top: 0; }
:where(.llr-prose) .llr-faq__item h3 {
	display: flex; gap: 12px; align-items: flex-start;
	margin: 0 0 8px; font-size: 1.02rem; line-height: 1.4;
}
.llr-faq__item h3::before {
	content: "?"; flex: none; display: grid; place-items: center;
	width: 24px; height: 24px; margin-top: -1px; border-radius: 50%;
	background: var(--llrt-petale); color: var(--llrt-framboise);
	font-size: .8rem; font-weight: 800;
}
.llr-faq__reponse { padding-left: 36px; }
:where(.llr-prose) .llr-faq__reponse p { margin: 0 0 .5em; font-size: .95em; line-height: 1.6; }
:where(.llr-prose) .llr-faq__reponse p:last-child { margin-bottom: 0; }
:where(.llr-prose) :not(.llr-faq) > .llr-faq__item { margin: 12px 0; }

/* ==========================================================================
   Boutons, formulaires
   ========================================================================== */
.llr-btn,
:where(.wp-block-button__link, .llr-prose .button, .comment-form input[type="submit"]) {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 1.5em;
	border: 0; border-radius: 999px;
	background: var(--llrt-framboise); color: var(--llrt-blanc);
	font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s ease;
}
.llr-btn:hover,
:where(.wp-block-button__link, .llr-prose .button, .comment-form input[type="submit"]):hover {
	background: var(--llrt-framboise-fonce); color: var(--llrt-blanc);
}
:where(.wp-block-button.is-style-outline) > :where(.wp-block-button__link) {
	background: transparent; color: var(--llrt-framboise); box-shadow: inset 0 0 0 2px currentColor;
}
.llr-link { color: var(--llrt-framboise); font-weight: 700; text-underline-offset: .2em; }

/* Recherche (pilule) */
.llr-search-form {
	display: flex; align-items: center; gap: 6px;
	max-width: 36rem; margin: 0; padding: 6px;
	background: var(--llrt-blanc);
	border: 1px solid var(--llrt-lin); border-radius: 999px;
	box-shadow: 0 10px 30px -20px rgba(43, 21, 32, .5);
}
.llr-search-form:focus-within { border-color: var(--llrt-framboise); }
.llr-search-form .llr-search-form__input {
	flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 18px;
	border: 0; background: transparent; outline: 0;
	font: inherit; font-size: 1rem; color: var(--llrt-velours);
	-webkit-appearance: none; appearance: none;
}
.llr-search-form .llr-search-form__input::placeholder { color: var(--llrt-sourdine); opacity: 1; }
.llr-search-form .llr-search-form__btn { min-height: 46px; }

:where(.comment-form, .llr-prose) :where(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], textarea, select) {
	width: 100%; padding: .7em .9em; font: inherit;
	color: var(--llrt-velours); background: var(--llrt-blanc);
	border: 1px solid var(--llrt-lin); border-radius: var(--llrt-rayon-s);
}

/* ==========================================================================
   Shortcodes du site : [pages_similaires], [pages_departements], [pages_vitrine]
   ========================================================================== */
.pages-similaires-grid,
.pv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 18px;
	margin: 1.2em 0 2.4em;
	padding: 0;
}
/* Dans une colonne de lecture, la grille s'élargit à 1200 px */
.llr-lecture .pages-similaires-grid,
.llr-lecture .pv-section,
.llr-main--lecture .pages-similaires-grid {
	width: min(var(--llrt-large), 100vw - 2 * var(--llrt-goutte));
	margin-left: calc(50% - min(var(--llrt-large), 100vw - 2 * var(--llrt-goutte)) / 2);
}
/* Le shortcode ajoute son propre titre « Pages similaires » : masqué s'il suit déjà un titre de partie */
.llr-prose h2 + .pages-similaires-title,
.llr-prose h2 + p:empty + .pages-similaires-title { display: none; }

.page-similaire-card { position: relative; border-radius: var(--llrt-rayon); overflow: hidden; background: var(--llrt-velours); }
.page-similaire-card__link { display: block; position: relative; aspect-ratio: 4 / 5; color: var(--llrt-blanc); text-decoration: none; }
.page-similaire-card__media { position: absolute; inset: 0; overflow: hidden; background: var(--llrt-velours-2); }
.page-similaire-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .6s ease; }
.page-similaire-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(43, 21, 32, 0) 45%, rgba(43, 21, 32, .85) 100%);
}
.page-similaire-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--llrt-petale); }
.page-similaire-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 20px; }
.page-similaire-card__title {
	margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.22; letter-spacing: -.01em;
	color: var(--llrt-blanc); text-wrap: balance;
}
.page-similaire-card__link:hover img { transform: scale(1.04); }

.pv-section { margin: 2em 0; }
.pv-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); font-weight: 750; letter-spacing: -.024em; line-height: 1.18; margin: 0 0 .6em; color: var(--llrt-velours); }
.pv-card { position: relative; border-radius: var(--llrt-rayon); overflow: hidden; background: var(--llrt-velours); }
.pv-card__link { display: block; position: relative; color: inherit; text-decoration: none; aspect-ratio: 4 / 3; }
.pv-card__img, .pv-card__no-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .6s ease; }
.pv-card__no-img { display: grid; place-items: center; color: var(--llrt-petale); }
.pv-card__overlay {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px;
	background: linear-gradient(180deg, rgba(43, 21, 32, 0) 40%, rgba(43, 21, 32, .85) 100%);
	pointer-events: none;
}
.pv-card__title { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.2; color: var(--llrt-blanc); }
.pv-card__link:hover .pv-card__img { transform: scale(1.04); }

/* Ancien [logements] (utilisé seulement si le plugin LLR Logements est désactivé) */
.logements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 1.2em 0 2.4em; }
.logement-card { display: flex; flex-direction: column; background: var(--llrt-blanc); border: 1px solid var(--llrt-lin); border-radius: var(--llrt-rayon); overflow: hidden; }
.logement-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--llrt-petale); }
.logement-card__slider, .logement-card__slides, .logement-card__slide { height: 100%; }
.logement-card__slider { position: relative; overflow: hidden; }
.logement-card__slides { display: flex; transition: transform .35s ease; }
.logement-card__slide { min-width: 100%; }
.logement-card__slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.logement-card__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(43, 21, 32, .55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.logement-card__arrow--prev { left: 10px; }
.logement-card__arrow--next { right: 10px; }
.logement-card__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.logement-card__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.logement-card__dot.is-active { background: #fff; }
.logement-card__placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--llrt-sourdine); }
.logement-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.logement-card__title { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.logement-card__title a { color: var(--llrt-velours); text-decoration: none; }
.logement-card__meta { color: var(--llrt-sourdine); font-size: .9rem; }
.logement-card__price { margin: 8px 0 14px; font-weight: 700; }
.logement-card__cta { margin-top: auto; display: inline-flex; justify-content: center; padding: 11px 16px; border-radius: 999px; background: var(--llrt-framboise); color: #fff; font-weight: 700; text-decoration: none; }
.logement-card__cta:hover { background: var(--llrt-framboise-fonce); color: #fff; }

/* ==========================================================================
   Listes (blog, archives, recherche générale)
   ========================================================================== */
.llr-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(16px, 2.5vw, 28px);
}
.llr-card { background: var(--llrt-blanc); border: 1px solid var(--llrt-lin); border-radius: var(--llrt-rayon); overflow: hidden; }
.llr-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.llr-card__media { display: block; aspect-ratio: 3 / 2; background: var(--llrt-petale); overflow: hidden; }
.llr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.llr-card__body { display: block; padding: 16px 18px 20px; }
.llr-card__title { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--llrt-velours); text-wrap: balance; }
.llr-card__excerpt { display: block; margin-top: 8px; color: var(--llrt-sourdine); font-size: .95rem; line-height: 1.55; }
.llr-card__link:hover .llr-card__title { color: var(--llrt-framboise); }

.llr-empty { max-width: 36rem; }
.llr-empty p { color: var(--llrt-sourdine); }

.navigation.pagination { margin-top: clamp(32px, 5vw, 56px); }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px;
	border-radius: 999px; background: var(--llrt-blanc); color: var(--llrt-velours);
	font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1px var(--llrt-lin);
}
.navigation.pagination a.page-numbers:hover { color: var(--llrt-framboise); box-shadow: inset 0 0 0 1.5px var(--llrt-framboise); }
.navigation.pagination .page-numbers.current { background: var(--llrt-velours); color: var(--llrt-blanc); box-shadow: none; }
.navigation.pagination .page-numbers.dots { background: transparent; box-shadow: none; }

.llr-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: var(--llrt-mesure); margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--llrt-lin); }
.llr-post-nav a { display: block; color: inherit; text-decoration: none; }
.llr-post-nav__next { text-align: right; grid-column: 2; }
.llr-post-nav__label { display: block; font-size: .82rem; color: var(--llrt-sourdine); }
.llr-post-nav__title { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.llr-post-nav a:hover .llr-post-nav__title { color: var(--llrt-framboise); }

.llr-comments { max-width: var(--llrt-mesure); margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--llrt-lin); }
.llr-comments__title, .llr-comments .comment-reply-title { font-size: 1.4rem; font-weight: 750; letter-spacing: -.02em; margin: 0 0 .8em; }
.llr-comments__list { list-style: none; margin: 0 0 32px; padding: 0; }
.llr-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--llrt-lin); }
.llr-comments__list .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }

/* 404 */
.llr-404 > .llr-search-form { max-width: var(--llrt-mesure); margin: 8px auto 0; }
.llr-404__code {
	margin: 0 0 .15em; font-weight: 800; letter-spacing: -.05em;
	font-size: clamp(4.5rem, 3rem + 7vw, 9rem); line-height: .9; color: var(--llrt-fil);
}
.llr-404__home { margin-top: 28px; }

/* ==========================================================================
   Page de résultats « love rooms » (recherche-logements.php)
   ========================================================================== */
.llrs .llrs__head {
	position: relative;
	max-width: var(--llrt-large);
	margin: 0 auto clamp(28px, 4vw, 44px);
	padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px);
	border-radius: var(--llrt-rayon-l);
	color: #f6e3ea;
	background:
		radial-gradient(60% 90% at 100% 100%, rgba(181, 43, 86, .55), transparent 70%),
		linear-gradient(160deg, var(--llrt-velours), var(--llrt-velours-2));
}
.llrs .llrs__title {
	margin: 0; max-width: 20ch;
	font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); font-weight: 750; line-height: 1.05; letter-spacing: -.032em;
	color: var(--llrt-blanc); text-wrap: balance;
}
.llrs .llrs__count { margin: .8em 0 0; color: rgba(246, 227, 234, .82); }
.llrs .llrs__form { margin-top: 24px; border-color: transparent; }
.llrs .llrs__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.llrs .llrs__chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 999px; color: #f6e3ea; text-decoration: none; font-size: .92rem; font-weight: 600;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
	transition: background-color .2s ease, color .2s ease;
}
.llrs .llrs__chip:hover { background: rgba(255, 255, 255, .1); color: var(--llrt-blanc); }
.llrs .llrs__chip.is-on { background: var(--llrt-blanc); color: var(--llrt-framboise-fonce); box-shadow: none; }
.llrs .llrs__results { max-width: var(--llrt-large); margin: 0 auto; }
.llrs .llrs__empty { max-width: 36rem; margin: 0 auto; padding: 24px 0; text-align: center; }
.llrs .llrs__empty h2 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; margin: 0 0 .4em; }
.llrs .llrs__empty p { color: var(--llrt-sourdine); margin: 0 0 1.4em; }

/* ==========================================================================
   Même police partout : le bloc d'accueil prend celle des fiches
   (réglable dans le Personnaliser). Seules ses variables de police changent.
   ========================================================================== */
.llr-harmonie .llrh {
	--serif: var(--llrt-police);
	--sans: var(--llrt-police);
}

/* ==========================================================================
   Header du thème : Par région / Par département / Par ville / Par envie
   Menus construits automatiquement à partir des pages (inc/navigation.php).
   ========================================================================== */
.llr-masthead {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 999;
	background: var(--llrt-poudre);
	border-bottom: 1px solid var(--llrt-lin);
	transition: box-shadow .2s ease;
}
.llr-masthead.is-scrolled:not(.has-panneau) { box-shadow: 0 10px 28px -22px rgba(43, 21, 32, .45); }
.llr-masthead__bar {
	display: flex; align-items: center; gap: 20px;
	max-width: 80rem; height: 72px; margin: 0 auto; padding: 0 var(--llrt-goutte);
}
.llr-masthead__logo { flex: none; display: flex; align-items: center; margin-right: 12px; }
.llr-masthead__logo a { display: inline-flex; }
.llr-masthead__logo img { display: block; width: auto; max-height: 46px; }
.llr-wordmark { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--llrt-velours); text-decoration: none; }

.llr-menu { flex: 1; min-width: 0; }
.llr-menu__liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.llr-menu__liste > li { margin: 0; }
.llr-menu__onglet,
.llr-menu__liste > .menu-item > a {
	display: inline-flex; align-items: center; gap: 6px;
	height: 42px; margin: 0; padding: 0 14px;
	border: 0; border-radius: 999px; background: transparent;
	color: var(--llrt-velours); font: inherit; font-size: .95rem; font-weight: 600; white-space: nowrap;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.llr-menu__onglet:hover,
.llr-menu__liste > .menu-item > a:hover,
.llr-menu__item.is-open > .llr-menu__onglet { background: var(--llrt-petale); color: var(--llrt-framboise-fonce); }
.llr-menu__chevron { transition: transform .2s ease; opacity: .7; }
.llr-menu__item.is-open .llr-menu__chevron { transform: rotate(180deg); }

.llr-masthead__recherche {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	height: 42px; padding: 0 18px; border-radius: 999px;
	background: var(--llrt-framboise); color: var(--llrt-blanc);
	font-size: .94rem; font-weight: 700; text-decoration: none; white-space: nowrap;
	transition: background-color .15s ease;
}
.llr-masthead__recherche:hover { background: var(--llrt-framboise-fonce); color: var(--llrt-blanc); }

.llr-masthead__toggle {
	display: none; flex: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
	background: var(--llrt-petale); color: var(--llrt-velours); cursor: pointer;
}
.llr-masthead__toggle-lines span {
	position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform .2s ease, top .2s ease;
}
.llr-masthead__toggle-lines span:first-child { top: 17px; }
.llr-masthead__toggle-lines span:last-child { top: 25px; }
.llr-masthead.is-open .llr-masthead__toggle-lines span:first-child { top: 21px; transform: rotate(45deg); }
.llr-masthead.is-open .llr-masthead__toggle-lines span:last-child { top: 21px; transform: rotate(-45deg); }

/* Panneaux */
.llr-panneau__inner { max-width: var(--llrt-large); margin: 0 auto; padding: 26px var(--llrt-goutte) 34px; }
.llr-panneau__tete {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
	margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--llrt-lin);
}
.llr-panneau__titre { margin: 0; font-size: 1.3rem; font-weight: 750; letter-spacing: -.022em; line-height: 1.2; color: var(--llrt-velours); }
.llr-panneau__info { margin: 0; font-size: .88rem; color: var(--llrt-sourdine); }
.llr-panneau__tout { font-weight: 700; color: var(--llrt-framboise); text-decoration: none; }
.llr-panneau__tout:hover { text-decoration: underline; text-underline-offset: .2em; }

.llr-menu__lien {
	display: flex; align-items: baseline; gap: 8px;
	padding: 4px 0; font-size: .92rem; line-height: 1.35;
	color: var(--llrt-encre); text-decoration: none;
}
.llr-menu__lien:hover { color: var(--llrt-framboise); }
.llr-menu__lien:hover > span:not(.llr-menu__nb):not(.llr-menu__code) { text-decoration: underline; text-underline-offset: .2em; }
.llr-menu__nb {
	margin-left: auto; padding-left: 8px;
	font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--llrt-sourdine);
}
.llr-menu__code { flex: none; width: 2.1em; font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--llrt-sourdine); }

.llr-groupe { break-inside: avoid; }
.llr-groupe__titre {
	display: flex; align-items: baseline; gap: 8px;
	margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--llrt-lin);
	font-size: .88rem; font-weight: 750; color: var(--llrt-velours);
}
.llr-groupe__liste { list-style: none; margin: 0; padding: 0; }
.llr-groupe__liste li { margin: 0; }

.llr-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 28px; }
.llr-villes { columns: 4 210px; column-gap: 28px; }
.llr-villes .llr-groupe { margin-bottom: 20px; }
.llr-colonnes { columns: 4 200px; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.llr-colonnes li { break-inside: avoid; margin: 0; }
.llr-colonnes li[hidden] { display: none; }
.llr-filtre__vide { margin: 8px 0 0; color: var(--llrt-sourdine); }

.llr-filtre {
	display: flex; align-items: center; gap: 8px;
	width: min(320px, 100%); height: 42px; padding: 0 14px;
	border: 1px solid var(--llrt-lin); border-radius: 999px; background: var(--llrt-poudre);
	color: var(--llrt-sourdine);
}
.llr-filtre:focus-within { border-color: var(--llrt-framboise); }
.llr-filtre__input {
	flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent;
	font: inherit; font-size: .94rem; color: var(--llrt-velours);
	-webkit-appearance: none; appearance: none;
}

.llr-envies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.llr-envies li { margin: 0; }
.llr-envie {
	display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center;
	height: 100%; padding: 16px 18px;
	border: 1px solid var(--llrt-lin); border-radius: 16px;
	color: var(--llrt-velours); text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
.llr-envie:hover { background: var(--llrt-petale); border-color: transparent; color: var(--llrt-velours); }
.llr-envie__icone {
	grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--llrt-petale); color: var(--llrt-framboise);
}
.llr-envie:hover .llr-envie__icone { background: var(--llrt-blanc); }
.llr-envie__titre { font-weight: 700; line-height: 1.3; }
.llr-envie__texte { font-size: .86rem; line-height: 1.4; color: var(--llrt-sourdine); }

/* Grand écran : panneaux en pleine largeur sous la barre, voile sur la page */
@media (min-width: 1025px) {
	.llr-panneau {
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 96px);
		overflow-y: auto; overscroll-behavior: contain;
		background: var(--llrt-blanc);
		border-top: 1px solid var(--llrt-lin);
		box-shadow: 0 34px 60px -34px rgba(43, 21, 32, .45);
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
	}
	.llr-menu__item.is-open > .llr-panneau { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.llr-masthead__voile {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: -1;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px);
		background: rgba(43, 21, 32, .22);
	}
	.llr-masthead__voile[hidden] { display: none; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
	.llr-menu__onglet { padding: 0 10px; font-size: .92rem; }
	.llr-masthead__recherche span { display: none; }
	.llr-masthead__recherche { width: 42px; padding: 0; justify-content: center; }
}

/* Mobile et tablette : tiroir, menus en accordéon */
@media (max-width: 1024px) {
	.llr-masthead__bar { height: 64px; gap: 10px; }
	.llr-masthead__logo { margin-right: auto; }
	.llr-masthead__logo img { max-height: 40px; }
	.llr-masthead__toggle { display: block; }
	.llr-masthead__recherche { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.llr-masthead__recherche span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.llr-masthead__voile { display: none; }

	.llr-menu {
		position: fixed; top: calc(64px + var(--wp-admin--admin-bar--height, 0px)); left: 0; right: 0; bottom: 0;
		padding: 8px var(--llrt-goutte) 40px;
		background: var(--llrt-poudre); overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
	}
	.llr-masthead.is-open .llr-menu { transform: none; visibility: visible; transition-delay: 0s; }
	.llr-menu__liste { flex-direction: column; align-items: stretch; gap: 0; }
	.llr-menu__liste > li { border-bottom: 1px solid var(--llrt-lin); }
	.llr-menu__onglet,
	.llr-menu__liste > .menu-item > a {
		width: 100%; height: 58px; padding: 0 4px; justify-content: space-between;
		border-radius: 0; font-size: 1.08rem; font-weight: 700;
	}
	.llr-menu__onglet:hover,
	.llr-menu__liste > .menu-item > a:hover,
	.llr-menu__item.is-open > .llr-menu__onglet { background: transparent; color: var(--llrt-framboise-fonce); }
	.llr-panneau { display: none; }
	.llr-menu__item.is-open > .llr-panneau { display: block; }
	.llr-panneau__inner { padding: 0 4px 22px; }
	.llr-panneau__tete { margin-bottom: 14px; padding: 0; border: 0; }
	.llr-panneau__titre, .llr-panneau__info { display: none; }
	.llr-filtre { width: 100%; height: 46px; }
	.llr-regions { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
	.llr-colonnes, .llr-villes { columns: 2 150px; column-gap: 20px; }
	.llr-menu__lien { padding: 7px 0; font-size: .98rem; }
	.llr-envies { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.llr-footer {
	margin-top: auto;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(181, 43, 86, .28), transparent 60%),
		var(--llrt-velours);
	color: rgba(246, 227, 234, .82);
	font-size: .95rem;
	line-height: 1.6;
}
.llr-footer__inner { max-width: var(--llrt-large); margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--llrt-goutte) 28px; }

/* Appel + recherche */
.llr-footer__appel {
	display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
	padding-bottom: clamp(36px, 5vw, 56px);
	margin-bottom: clamp(36px, 5vw, 56px);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 900px) { .llr-footer__appel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } }
.llr-footer__accroche {
	margin: 0; max-width: 17ch;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 750; line-height: 1.08; letter-spacing: -.03em;
	color: var(--llrt-blanc); text-wrap: balance;
}
.llr-footer .llr-search-form { max-width: none; border-color: transparent; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }

/* Colonnes */
.llr-footer__grid { display: grid; gap: 36px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .llr-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .llr-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.llr-footer a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.llr-footer a:hover { color: var(--llrt-blanc); text-decoration: underline; text-underline-offset: .2em; }
.llr-footer :where(p) { margin: 0 0 .8em; }
.llr-footer__titre, .llr-footer :where(.llr-widget__title) {
	margin: 0 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .01em;
	color: rgba(246, 227, 234, .6);
}
.llr-footer__liens { list-style: none; margin: 0; padding: 0; }
.llr-footer__liens li { margin: 0 0 .55em; }
.llr-footer__liens--2col { columns: 2; column-gap: 20px; }
.llr-footer__liens--2col li { break-inside: avoid; }
/* Colonne 1 : le widget « Les Love Rooms » (titre + présentation) */
.llr-footer__col--main :where(h2, h3) {
	margin: 0 0 .5em; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--llrt-blanc);
}
.llr-footer__col--main :where(h2 strong, h3 strong) { font-weight: inherit; }
.llr-footer__col--main { max-width: 26rem; }
.llr-footer :is(p, h2, h3, div).has-text-align-right { text-align: left; }
.llr-footer__name { margin: 0 0 .5em; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--llrt-blanc); }

.llr-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px;
	margin-top: clamp(36px, 5vw, 56px); padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .82rem; color: rgba(246, 227, 234, .6);
}
.llr-footer__bottom p { margin: 0; }
.llr-footer__affil { max-width: 62ch; }

/* ==========================================================================
   Petits écrans
   ========================================================================== */
@media (max-width: 700px) {
	.llr-ouverture__photo { aspect-ratio: 4 / 3; min-height: 0; border-radius: 20px; }
	.llr-ouverture.has-photo .llr-intro { border-radius: 20px; }
	:where(.llr-intro__texte) h1 + p { font-size: 1.05em; }
	.llr-post-nav { grid-template-columns: 1fr; }
	.llr-post-nav__next { grid-column: 1; text-align: left; }
	.llrs .llrs__head { border-radius: 20px; }
	.llr-search-form { flex-wrap: wrap; border-radius: 24px; }
	.llr-search-form .llr-search-form__input { flex-basis: 100%; }
	.llr-search-form .llr-search-form__btn { width: 100%; }
	.page-similaire-card__link { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; }
	.page-similaire-card__media img, .pv-card__img, .llr-sommaire__trace, .llr-sommaire__liste li::before { transition: none; }
}

@media print {
	.llr-masthead, .llr-footer, .llr-sommaire, .llr-lecture-barre, .llr-header { display: none !important; }
	body { background: #fff; }
}
