@charset "utf-8";
/* ==========================================================================
   Au cœur de Paris Habitat — feuille de style principale
   Organisation :
   01 Tokens · 02 Reset · 03 Base · 04 Layout · 05 En-tête & menu
   06 Composants éditoriaux · 07 Grilles de cartes · 08 Tableaux
   09 Galerie · 10 Témoignages · 11 Pied de page · 12 Utilitaires
   13 Surcharges par page · 14 Mouvement réduit · 15 Impression
   Les polices sont auto-hébergées (bloc 00 ci-dessous) : aucun appel à Google.
   ========================================================================== */

/* 00 POLICES AUTO-HÉBERGÉES (sous-ensembles latin / latin-ext)
   -------------------------------------------------------------------------- */
/* Montserrat 500 normal latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat 500 normal latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 600 normal latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat 600 normal latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 700 normal latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat 700 normal latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 300 italic latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-300-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 300 italic latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-300-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 300 normal latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 300 normal latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 400 normal latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 400 normal latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Open Sans 600 normal latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Open Sans 600 normal latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   PROTOTYPE — direction éditoriale (serif + or + respiration)
   Chargé uniquement par proto.html, par-dessus style.css.
   Rien de ce fichier n'affecte les autres pages du site.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 01 TOKENS
   -------------------------------------------------------------------------- */
:root {
	/* Catégories de logement social : UN seul code couleur pour tout le site (oct. 2026) */
	--plai: #101b34;               /* bleu nuit */
	--plus: #5a76a6;               /* bleu ardoise */
	--pls: #c9a35b;                /* doré */
	--pli: #d9dce3;                /* gris clair : hors logement social (texte foncé dessus) */
	--pli-fonce: #8c8f99;          /* même catégorie quand il faut un trait ou un texte lisible */
	/* Charte des couleurs (oct. 2026) : une couleur = un sens sur tout le site. Voir _sources/gabarit-nuit/charte.py */
	--mode-neuf: #2a7d84;          /* construction neuve (sarcelle) */
	--mode-rehab: #b5603e;         /* acquisition-réhabilitation (brique) */
	--mode-conv: #7a6a9c;          /* acquisition-conventionnement (prune) */
	--t1: #2a9d8f; --t1bis: #8cc7bf; --t2: #5a76a6; --t3: #c9a35b; --t4: #b5603e; --t5: #101b34;   /* tailles : 5 couleurs franches (28 oct. 2026, demande) ; texte foncé sur --t1bis et --t3 */
	--b-ph: #c8475a; --b-rivp: #3b8fd0; --b-elogie: #e0a03a; --b-autre: #a9adb8;                   /* bailleurs */
	/* Couleurs */
	--or: #a67d4a;                 /* accent décoratif, gros titres */
	--or-texte: #916b3c;           /* accent sur texte : contraste AA (4.7:1) */
	--or-sombre: #7d5c33;
	--or-voile: rgba(166, 125, 74, 0.08);
	--or-bord: rgba(166, 125, 74, 0.35);
	--rouge: #a83d2d;
	--rouge-voile: rgba(168, 61, 45, 0.07);
	--noir: #111;
	--encre: #1a1a1a;
	--encre-douce: #4a4a4a;
	--gris: #fafafa;
	--gris-2: #f2f2f2;
	--bord: #e3e3e3;
	--blanc: #fff;

	/* Typographie */
	--titre: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--texte: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--corps: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--interligne: 1.7;

	/* Rythme */
	--gouttiere: clamp(1.25rem, 5vw, 4rem);
	--section-y: clamp(3rem, 8vw, 6rem);
	--mesure: 950px;               /* colonne de texte des articles */
	--large: 1000px;               /* sections de la page d'accueil */
	--tres-large: 1150px;          /* pied de page */
	--radius: 6px;
	--ombre: 0 1px 3px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .05);
	--transition: 200ms ease;

	/* Direction éditoriale */
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--creme: #fbfaf7;
	--filet: #e7e2d8;
	--beige: #e9e4db;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;      /* le burger est fixe : on évite qu'il masque les ancres */
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ol, ul {
	margin: 0;
	padding: 0;
}

ol, ul { list-style: none; }

img, picture, svg, video, iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

button, input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; border-spacing: 0; }

/* 03 BASE
   -------------------------------------------------------------------------- */
body {
	background: var(--blanc);
	color: var(--encre);
	font-family: var(--texte);
	font-size: var(--corps);
	font-weight: 300;
	line-height: var(--interligne);
	overflow-wrap: break-word;
	text-rendering: optimizeLegibility;
}

/* Verrou de défilement quand le menu plein écran est ouvert */
body.body_hidden { overflow: hidden; }

/* Titres : Montserrat, capitales, graisse 500 — l'identité d'origine du site. */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--titre);
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	text-wrap: balance;
}

h1 { font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.7rem); }
h3 { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }
h4 { font-size: 1.05rem; }

/* Rythme vertical et couleurs du contenu rédactionnel */
h2 { margin: 3.5rem 0 1.5rem; color: var(--or); }

/* Le H3 est un bandeau noir pleine largeur : c'est la signature du site. */
h3 {
	margin: 3rem 0 2rem;
	padding: .6rem 1rem;
	background: var(--noir);
	color: var(--blanc);
	letter-spacing: .03em;
}

h4 { margin: 2rem 0 1rem; color: var(--or); }

h2:first-child, h3:first-child, h4:first-child { margin-top: 0; }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }
em, i { font-style: italic; }

small { font-size: .875rem; }

/* La surelevation est faite par « top » : sans « vertical-align: baseline »,
   le « vertical-align: super » du navigateur s'y ajoute et l'exposant monte
   deux fois trop haut, jusqu'a casser la ligne. */
sup, sub { font-size: .7em; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }

hr {
	border: 0;
	border-top: 1px solid var(--bord);
	margin: 3rem 0;
}

a {
	color: var(--or-texte);
	text-decoration: underline;
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
	transition: color var(--transition);
}

a:hover { color: var(--or-sombre); text-decoration-thickness: 2px; }

/* Anneau de focus visible au clavier, invisible à la souris */
:focus-visible {
	outline: 3px solid var(--or);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Listes rédactionnelles : la flèche remplace la puce */
.container ul,
.container_small ul,
.container_big ul,
section ul {
	margin: 0 0 1.5rem;
	padding: 0;
}

.container ul > li,
.container_small ul > li,
.container_big ul > li,
section ul > li {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: .65em;
}

.container ul > li::before,
.container_small ul > li::before,
.container_big ul > li::before,
section ul > li::before {
	content: "➜";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--or);
	font-weight: 700;
}

/* Les listes de navigation ne doivent pas hériter des flèches */
nav ul > li, .works ul > li, .navigation ul > li {
	padding-left: 0;
	margin-bottom: 0;
}

nav ul > li::before, .works ul > li::before, .navigation ul > li::before { content: none; }

ol {
	counter-reset: ol;
	margin: 0 0 1.5rem;
	padding: 0;
}

ol > li {
	position: relative;
	counter-increment: ol;
	padding-left: 1.9em;
	margin-bottom: .65em;
}

ol > li::before {
	content: counter(ol) ".";
	position: absolute;
	left: 0;
	color: var(--or-texte);
	font-weight: 600;
}

/* 04 LAYOUT
   -------------------------------------------------------------------------- */
/* Lien d'évitement : première tabulation de la page */
.skip-link {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -120%);
	z-index: 200;
	background: var(--noir);
	color: var(--blanc);
	padding: .75rem 1.25rem;
	text-decoration: none;
	transition: transform var(--transition);
}

.skip-link:focus { transform: translate(-50%, 0); color: var(--blanc); }

/* Conteneurs. Largeurs reprises du site d'origine : 950 px pour la colonne
   d'article, 1000 px pour les sections de la page d'accueil. */
.container,
.container_small,
.container_big {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--gouttiere);
	padding-block: var(--section-y);
}

.container { max-width: var(--mesure); }

.container_small,
.container_big { max-width: var(--large); }

.bg_grey { background: var(--gris); }

.section_title, .section_main_title, .section_title_h1 {
	margin: 0 0 2rem;
	color: var(--or);
	font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.4rem);
	text-transform: uppercase;
	letter-spacing: .08em;
	text-align: center;
}

.section_title::after,
.section_main_title::after,
.section_title_h1::after {
	content: "";
	display: block;
	width: 50px;
	margin: 1rem auto 0;
	border-bottom: 2px solid var(--or);
}

.section_subtitle {
	margin: 0 0 2.5rem;
	font-family: var(--texte);
	font-style: italic;
	font-weight: 300;
	text-transform: none;
	text-align: center;
	color: var(--encre-douce);
}

.title-description { text-align: center; }

/* Fil d'Ariane */
.breadcrumb {
	max-width: var(--large);
	margin-inline: auto;
	padding: 1.25rem var(--gouttiere) 0;
	font-size: .85rem;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
}

.breadcrumb li { padding-left: 0; margin: 0; }
.breadcrumb li::before { content: none; }
.breadcrumb li + li::before {
	content: "›";
	position: static;
	margin-right: .5rem;
	color: var(--encre-douce);
}

.breadcrumb [aria-current="page"] { color: var(--encre-douce); }

/* 05 EN-TÊTE & MENU
   -------------------------------------------------------------------------- */
/* Les pages intérieures utilisent un bandeau noir compact */
.into-header {
	padding-inline: 10px;
	text-align: center;
}

.header_title {
	color: var(--noir);
	font-size: clamp(2rem, 3vw, 4rem);
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 100px 0 40px;
	text-align: center;
}

.black-header .header_title { color: var(--blanc); margin: 80px 0 40px; }

/* Le nom du site sert de sur-titre cliquable sur les pages intérieures */
.header_title a { color: inherit; text-decoration: none; }
.header_title a:hover { color: var(--or); }

.header_subtitle {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	padding: 15px 25px;
	background: var(--noir);
	color: var(--blanc);
	font-family: var(--titre);
	font-size: clamp(.95rem, .9rem + .3vw, 1.125rem);
	font-weight: 500;
	letter-spacing: .12em;
	line-height: 1.65;
	text-transform: uppercase;
	text-align: center;
}

.black-header .header_subtitle { background: var(--blanc); color: var(--noir); }

.sous-section-header { margin-bottom: 1rem; text-decoration: underline; }

.scroll_down {
	position: absolute;
	bottom: 1.5rem;
	width: 100%;
	text-align: center;
	color: var(--blanc);
}

/* Bouton burger */
.burger {
	position: fixed;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 100;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.burger span {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	background: var(--or);
	/* Une ombre portée plutôt qu'un cadre : invisible sur le bandeau noir,
	   elle garde les trois barres lisibles sur la photo claire de l'accueil. */
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
	transition: transform .3s ease, opacity .2s ease;
}

.burger .top    { top: 15px; }
.burger .middle { top: 21px; }
.burger .bottom { top: 27px; }

.burger[aria-expanded="true"] .top    { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .middle { opacity: 0; }
.burger[aria-expanded="true"] .bottom { transform: translateY(-6px) rotate(-45deg); }

/* Panneau de navigation plein écran */
.navigation {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: var(--noir);
	visibility: hidden;
	opacity: 0;
	/* La visibilité bascule sans délai à l'ouverture (sinon les liens ne sont
	   pas encore focusables) et attend la fin du fondu à la fermeture. */
	transition: opacity .3s ease, visibility 0s linear .3s;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.navigation.open {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s ease, visibility 0s linear 0s;
}

.navigation nav {
	min-height: 100%;
	display: grid;
	place-items: center;
	padding: 6rem 1.5rem 3rem;
}

.navigation ul {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 3vw, 2rem);
	text-align: center;
	margin: 0;
	padding: 0;
}

.navigation ul li { margin: 0; padding: 0; }

.navigation ul li a {
	display: inline-block;
	padding: .35rem .5rem;
	font-family: var(--titre);
	font-size: clamp(1.05rem, .9rem + 1vw, 1.5rem);
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--blanc);
}

.navigation ul li a:hover,
.navigation ul li a[aria-current="page"] { color: var(--or); }

.navigation ul li a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

/* Bandeau de navigation secondaire (pied de page) */
.navigation-footer ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	background: var(--noir);
}

.navigation-footer li { flex: 1 1 12rem; margin: 0; padding: 0; }

.navigation-footer li a {
	display: block;
	padding: 1rem;
	color: var(--blanc);
	font-size: .9rem;
	text-align: center;
	text-decoration: none;
	transition: background var(--transition);
}

.navigation-footer li a:hover { background: var(--or); color: var(--blanc); }

/* 06 COMPOSANTS ÉDITORIAUX
   -------------------------------------------------------------------------- */
.intro-home .container_small { padding-bottom: var(--gouttiere); }

/* Encadrés : note de source, point clé, mise en garde */
.note-source,
.point-cle,
.encadre,
.attention,
.alerte,
.warning {
	margin: 2rem 0;
	padding: 1.15rem 1.35rem;
	border-left: 3px solid var(--or);
	background: var(--or-voile);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.note-source { font-size: .92rem; color: var(--encre-douce); }

.attention, .alerte, .warning {
	border-left-color: var(--rouge);
	background: var(--rouge-voile);
}

.encadre { border-left-color: var(--noir); background: var(--gris-2); }

.mail {
	background: var(--gris-2);
	padding: 1rem;
	text-align: center;
	font-weight: 600;
	border-radius: var(--radius);
}

/* Bandeau d'annotation « ajout » */
.ajout {
	display: inline-block;
	margin-bottom: 1rem;
	padding: .3rem .6rem;
	background: var(--noir);
	color: var(--blanc);
	font-size: .8rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Boutons */
.btn-read,
.btn-black {
	display: inline-block;
	padding: .6rem 1.4rem;
	border-radius: var(--radius);
	font-family: var(--titre);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	transition: background var(--transition), color var(--transition);
}

.btn-read { background: var(--or); color: var(--blanc); margin-top: 1rem; }
.btn-read:hover { background: var(--or-sombre); color: var(--blanc); }

.btn-black { background: var(--noir); color: var(--blanc); margin: 3rem auto; display: table; }
.btn-black:hover { background: var(--or); color: var(--blanc); }

/* Liste des sources en fin d'article */
.sources-article {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid var(--or-bord);
	font-size: .92rem;
}

.sources-article h2,
.sources-article h3 { margin-top: 0; }

/* Accordéon (page d'accueil) */
.accordion {
	display: none;
	margin-top: 1rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--or);
	background: var(--gris);
}

.accordion.open { display: block; animation: apparition .4s ease; }

@keyframes apparition {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Bloc alterné texte / image */
.split {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	margin-bottom: clamp(3rem, 7vw, 5rem);
}

.split__text, .split__media { width: 100%; }

/* Ce sont surtout des infographies : on les affiche en entier plutôt que de les
   recadrer, quitte à laisser un fond visible autour. */
.split__media img {
	width: 100%;
	max-height: 520px;
	object-fit: contain;
	background: var(--gris-2);
	border-radius: 12px;
}

.title-split {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: 1.25rem;
	font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
	line-height: 1.3;
	text-transform: none;
	color: var(--encre);
}

.title-split::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 80px;
	height: 3px;
	background: var(--noir);
}

@media (min-width: 768px) {
	.split { flex-direction: row; gap: 2.5rem; }
	.split:nth-child(even) { flex-direction: row-reverse; }
	.split__text, .split__media { width: 50%; }
}

/* Fiches « opération » de la carte des opérations */
.op-adresse {
	background: var(--gris-2);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-radius: var(--radius);
	font-weight: 600;
}

.op-section { background: none; }

.infos-operation { margin-bottom: 2.5rem; }

/* Scénarios chiffrés */
.scenario {
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid var(--or-bord);
	border-radius: var(--radius);
}

.scenario-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem 1rem;
	margin-bottom: 1rem;
}

.scenario-title h4 { margin: 0; }
.scenario-total { color: var(--or-texte); font-weight: 700; white-space: nowrap; }
.scenario ul, .qui-paie ul { margin-bottom: 0; }

/* 07 GRILLES DE CARTES
   -------------------------------------------------------------------------- */
/* Toutes ces grilles partagent le même comportement : autant de colonnes que
   la place le permet, une seule sur mobile — sans media query. */
.chiffres-cles,
.constats,
.raisons,
.lacunes,
.conditions,
.etapes,
.profils,
.qui-paie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
	gap: 1rem;
	margin: 2.5rem 0;
	padding: 0;
}

.chiffre-cle,
.constat,
.raison,
.lacune,
.condition,
.etape,
.profil,
.qui-paie > div {
	padding: 1.4rem;
	border: 1px solid var(--or-bord);
	border-radius: var(--radius);
	background: var(--blanc);
}

.qui-paie > div { border: 0; background: rgba(0, 0, 0, .035); }

/* Ces cartes sont parfois des <li> : on neutralise la flèche de liste */
.chiffres-cles > *, .constats > *, .raisons > *, .lacunes > *,
.conditions > *, .etapes > *, .profils > * { padding-left: 1.4rem; margin-bottom: 0; }

.chiffres-cles > *::before, .constats > *::before, .raisons > *::before,
.lacunes > *::before, .conditions > *::before, .etapes > *::before,
.profils > *::before { content: none; }

.chiffre-cle { text-align: center; }

.chiffre-cle strong,
.condition strong,
.etape strong,
.lacune strong {
	display: block;
	color: var(--or-texte);
	line-height: 1.2;
	margin-bottom: .5rem;
}

.chiffre-cle strong { font-size: 1.75rem; font-family: var(--titre); }
.condition strong, .etape strong, .lacune strong { font-size: 1.15rem; }

.chiffre-cle span { display: block; line-height: 1.4; font-size: .95rem; }

.chiffres-cles--alerte .chiffre-cle strong { color: var(--rouge); }

.constat h4, .raison h4, .profil h4 { margin-top: 0; }

/* 08 TABLEAUX
   -------------------------------------------------------------------------- */
/* Enveloppe .table-scroll pour le défilement horizontal sur mobile */
.table-scroll {
	overflow-x: auto;
	margin: 2rem 0;
	-webkit-overflow-scrolling: touch;
}

table {
	width: 100%;
	background: var(--blanc);
	font-size: .95rem;
}

th, td {
	padding: .8rem 1rem;
	border-bottom: 1px solid var(--bord);
	text-align: left;
	vertical-align: top;
}

thead th {
	background: var(--gris-2);
	font-family: var(--titre);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .03em;
	text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--gris); }

caption {
	caption-side: bottom;
	padding-top: .75rem;
	font-size: .85rem;
	color: var(--encre-douce);
	text-align: left;
}

.comparatif th, .comparatif td { border: 1px solid var(--or-bord); }
.comparatif th { color: var(--or-texte); background: var(--or-voile); }

/* 09 GALERIE
   -------------------------------------------------------------------------- */
.works {
	display: grid;
	/* 4 colonnes, puis 3, puis 2 : jamais une seule, sinon les galeries
	   s'étirent sur des milliers de pixels en lecture mobile. */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0;
	padding: 0;
}

@media (max-width: 900px) {
	.works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}

.works article, .works figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--bord);
	border-radius: var(--radius);
	background: var(--blanc);
}

.works img {
	width: 100%;
	height: auto;
	/* Vignettes carrées : la grille reste régulière quelle que soit
	   l'orientation des photos. */
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 600ms ease;
}

.works a:hover img, .works img:hover { transform: scale(1.06); }

/* Les images sont en display:block (cela supprime l'espace fantôme sous
   l'image). Un bloc ne se centre pas avec text-align : il lui faut une marge
   automatique. Sans effet sur les images qui remplissent déjà leur conteneur. */
.border > img,
.centre img { margin-inline: auto; }

.works figcaption {
	padding: .75rem 1rem;
	font-size: .85rem;
	color: var(--encre-douce);
}

figure { margin: 2.5rem 0; }

figure img { border-radius: var(--radius); margin-inline: auto; }

figcaption {
	margin-top: .65rem;
	font-size: .85rem;
	color: var(--encre-douce);
	text-align: center;
}

/* 10 TÉMOIGNAGES
   -------------------------------------------------------------------------- */
.testimonial { margin-bottom: 2.5rem; }

.testimonial blockquote {
	position: relative;
	margin: 0;
	padding: 1.5rem 2.75rem;
	background: var(--gris-2);
	border-radius: var(--radius);
	font-style: italic;
}

.testimonial:nth-child(odd) blockquote {
	background: var(--blanc);
	border: 1px solid var(--bord);
}

.testimonial blockquote::before,
.testimonial blockquote::after {
	position: absolute;
	font-family: var(--titre);
	font-size: 3rem;
	line-height: 1;
	font-style: normal;
	color: var(--or);
	opacity: .5;
}

.testimonial blockquote::before { content: "\201C"; top: .5rem; left: .6rem; }
.testimonial blockquote::after  { content: "\201D"; right: .6rem; bottom: -.4rem; }

.testimonial > div:not([class]) { display: none; }  /* ancienne flèche décorative */

.testimonial p { color: inherit; }

.testimonial figcaption,
.testimonial cite {
	display: block;
	margin-top: .75rem;
	padding-left: 1rem;
	font-size: .9rem;
	font-style: normal;
	color: var(--encre-douce);
}

/* Panneau latéral
   ---------------------------------------------------------------------------
   Les annexes de la page d'accueil (témoignages, revue de presse) sont de
   vraies pages. Le lien qui y mène est intercepté par site.js pour afficher
   leur contenu dans ce tiroir, sans quitter l'accueil. Sans JavaScript, le
   lien navigue normalement : rien n'est perdu.
   Élément <dialog> natif : la touche Échap, le piège de focus et la mise en
   retrait de l'arrière-plan sont gérés par le navigateur. */
.panneau {
	width: min(46rem, 100%);
	max-width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0 0 0 auto;          /* collé au bord droit */
	padding: 0;
	border: 0;
	background: var(--blanc);
	color: var(--encre);
	box-shadow: -8px 0 40px rgba(0, 0, 0, .25);
	transform: translateX(100%);
	transition: transform .35s ease;
	overflow: hidden;
}

.panneau.ouvert { transform: translateX(0); }

.panneau::backdrop { background: rgba(0, 0, 0, .55); }

.panneau__barre {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem var(--gouttiere);
	background: var(--noir);
	color: var(--blanc);
}

.panneau__titre {
	flex: 1;
	margin: 0;
	font-size: clamp(.95rem, .9rem + .3vw, 1.15rem);
	letter-spacing: .06em;
	color: var(--blanc);
}

.panneau__fermer {
	flex: none;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--blanc);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
}

.panneau__fermer:hover { background: var(--or); }

.panneau__corps {
	height: calc(100dvh - 72px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--gouttiere) var(--gouttiere) 4rem;
	-webkit-overflow-scrolling: touch;
}

/* Le contenu vient d'une page où il occupait toute la largeur : on le remet
   au format du tiroir. */
.panneau__corps .container_big,
.panneau__corps .container_small,
.panneau__corps .container {
	max-width: none;
	padding: 0;
	margin: 0;
}

.panneau__corps > :first-child { margin-top: 0; }
.panneau__corps h2:first-child,
.panneau__corps h3:first-child { margin-top: 0; }

.panneau__corps .testimonial blockquote { padding: 1.25rem 2.25rem; }

@media (prefers-reduced-motion: reduce) {
	.panneau { transition: none; }
}

@media print {
	.panneau { display: none !important; }
}

/* 11 PIED DE PAGE
   -------------------------------------------------------------------------- */
footer { background: var(--gris-2); }

.container_footer {
	max-width: var(--tres-large);
	margin-inline: auto;
	padding: 3rem var(--gouttiere);
	text-align: center;
	font-size: .95rem;
}

.container_footer p { margin-bottom: .6rem; line-height: 1.6; }

/* Retour en haut de page */
.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--noir);
	color: var(--blanc);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--or); }

/* 12 UTILITAIRES
   -------------------------------------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.centre { text-align: center; }

.space { margin-top: 3rem; }
.space-p { margin-bottom: 3rem; }
.clear { clear: both; }

.fade-in { animation: fondu .6s ease both; }

@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* 13 SURCHARGES PAR PAGE
   -------------------------------------------------------------------------- */
/* Largeurs de colonne propres à certaines pages (valeurs d'origine) */
[data-page="actualites"] .container { max-width: 1200px; }
[data-page="planclimat"] .container { max-width: 1100px; }
[data-page="apur"] .container,
[data-page="contact"] .container { max-width: 800px; }

/* Carte des opérations : beaucoup de fiches, on élargit */
[data-page="cartedesopration"] .container_small,
[data-page="cartedesopration"] .container_big { max-width: var(--large); }

[data-page="cartedesopration"] .op-section h3 { margin-top: 2rem; }

/* Page d'accueil : les H4 sont soulignés d'un trait noir */
[data-page="index"] h4 {
	color: var(--encre);
	display: inline-block;
	border-bottom: 1px solid var(--noir);
	margin: 1.5rem 0 1rem;
}

/* 14 MOUVEMENT RÉDUIT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* 15 IMPRESSION
   -------------------------------------------------------------------------- */
@media print {
	.burger, .navigation, .navigation-footer, .to-top, .skip-link, .scroll_down { display: none !important; }

	body { font-size: 11pt; color: #000; background: #fff; }

	#welcome {
		min-height: 0;
		padding: 0 0 1rem;
		background: none !important;
	}

	.header_title { color: #000; }
	.header_subtitle { background: none; padding: 0; }

	.container, .container_small, .container_big { max-width: none; padding-block: 0; }

	a { color: #000; text-decoration: underline; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }

	h2, h3, h4 { break-after: avoid; }
	figure, table, .chiffre-cle, .scenario { break-inside: avoid; }
}


/* ==========================================================================
   16 DIRECTION ÉDITORIALE
   Typographie serif, fond crème, barre de navigation, sommaire, fil d'Ariane.
   Ce bloc vient après les précédents : il les complète et les corrige.
   ========================================================================== */


body { background: var(--creme); }

/* --- Barre de navigation (ordinateur) ------------------------------------ */
.barre {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(251, 250, 247, .92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--filet);
}

/* Le burger vit dans la barre : il ne flotte plus au-dessus du contenu.
   position:relative est indispensable — ses trois barres sont en absolute et
   se caleraient sinon sur .barre, qui est elle-même positionnée (sticky). */
.barre .burger {
	position: relative;
	top: auto;                 /* neutralise le décalage du burger flottant */
	left: auto;
	width: 40px;
	height: 40px;
	margin-left: auto;
	background: none;
}

.barre .burger span { left: 9px; width: 22px; }
.barre .burger .top { top: 13px; }
.barre .burger .middle { top: 19px; }
.barre .burger .bottom { top: 25px; }

.barre nav { display: none; }

@media (min-width: 1024px) {
	.barre nav { display: block; flex: 1; min-width: 0; }
	.barre .burger { display: none; }
}



.barre__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: 82rem;
	margin-inline: auto;
	padding: 0 var(--gouttiere);
	min-height: 56px;
}

@media (min-width: 1024px) {
	.barre__inner { min-height: 64px; }
}

.barre__marque {
	font-family: var(--titre);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--or-texte);
	text-decoration: none;
	white-space: nowrap;
}

.barre__marque:hover { color: var(--noir); }

.barre nav ul {
	display: flex;
	flex-wrap: nowrap;          /* une seule ligne, jamais de repli */
	justify-content: flex-end;
	gap: clamp(.7rem, 1.2vw, 1.5rem);
	margin: 0;
	padding: 0;
	min-width: 0;
}

.barre nav li { margin: 0; padding: 0; }
.barre nav li::before { content: none; }

.barre nav a {
	font-family: var(--texte);
	font-size: clamp(.74rem, .68rem + .18vw, .82rem);
	font-weight: 400;
	letter-spacing: .02em;
	color: var(--encre);
	text-decoration: none;
	padding-block: .35rem;
	border-bottom: 1px solid transparent;
	white-space: nowrap;
}

.barre nav a:hover,
.barre nav a[aria-current="page"] {
	color: var(--or-texte);
	border-bottom-color: var(--or);
}

/* --- En-tête d'article ---------------------------------------------------- */
.proto-header {
	background: var(--beige);
	padding: clamp(1.75rem, 3.5vw, 3rem) 0;
	text-align: center;
}

.proto-header .wrap {
	/* Même gabarit que la barre, le fil d'Ariane et le corps : sinon le titre
	   centré peut déborder à gauche du fil d'Ariane. */
	max-width: 82rem;
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}

.surtitre {
	display: block;
	margin-bottom: .7rem;
	font-family: var(--texte);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--or-texte);
}

.proto-titre {
	max-width: none;
	margin-inline: auto;
	font-family: var(--serif);
	font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.6rem);
	font-weight: 500;
	line-height: 1.14;
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--noir);
}

.proto-chapo {
	max-width: 64rem;
	margin: .9rem auto 0;
	font-size: .98rem;
	line-height: 1.6;
	color: #55514a;
}

/* --- Fil d'Ariane --------------------------------------------------------- */
.ariane {
	max-width: 82rem;
	margin-inline: auto;
	padding: 0.5rem var(--gouttiere);
	font-family: var(--texte);
	font-size: .75rem;
	letter-spacing: .04em;
}

.ariane ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.ariane li { margin: 0; padding: 0; color: #7d776d; }
.ariane li::before { content: none; }
.ariane li + li::before { content: "›"; margin-right: .5rem; color: #b9b2a5; position: static; }
.ariane a { color: #7d776d; text-decoration: none; }
.ariane a:hover { color: var(--or-texte); }
.ariane [aria-current="page"] { color: var(--encre); }

/* --- Corps : texte + sommaire latéral ------------------------------------- */
.proto-corps {
	max-width: 82rem;
	margin-inline: auto;
	padding: clamp(1.25rem, 2.5vw, 2.25rem) var(--gouttiere) 3.5rem;
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1100px) {
	/* 16 oct. 2026 : plus de sommaire à gauche, le contenu prend toute la largeur (demande de la propriétaire). */
	.proto-corps { grid-template-columns: minmax(0, 1fr); }

	/* Article sans sommaire : une seule colonne, pleine largeur. */
	.proto-corps--seul { grid-template-columns: minmax(0, 1fr); }
}

.sommaire { display: none; }

@media (min-width: 1100px) {
	.sommaire {
		display: none;
		position: sticky;
		top: 8rem;
		align-self: start;
		max-height: calc(100vh - 10rem);
		overflow-y: auto;
		font-family: var(--texte);
	}
}

.sommaire__titre {
	margin: 0 0 1rem;
	font-family: var(--texte);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--or-texte);
}

.sommaire ol { margin: 0; padding: 0; counter-reset: none; }
.sommaire li { margin: 0 0 .1rem; padding: 0; counter-increment: none; }
.sommaire li::before { content: none; }

.sommaire a {
	display: block;
	padding: .45rem 0 .45rem .9rem;
	border-left: 2px solid var(--filet);
	font-size: .94rem;
	line-height: 1.4;
	color: #6b665d;
	text-decoration: none;
	transition: color .2s, border-color .2s;
}

.sommaire a:hover { color: var(--noir); border-left-color: var(--or); }

.sommaire a.sommaire__sous {
	padding-left: 1.6rem;
	font-size: .9rem;
}

/* Page Actualités : les rubriques dominent la colonne, en serif doré, pour
   qu'on voie d'un coup d'œil les trois familles d'articles. */
.sommaire a.sommaire__rubrique {
	margin-top: .5rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--or-texte);
}

.sommaire li:first-child .sommaire__rubrique { margin-top: 0; }

.sommaire a.sommaire__rubrique.actif {
	color: var(--or-sombre);
	border-left-color: var(--or);
}

/* Les articles d'une rubrique qu'on ne lit pas restent repliés. */
.sommaire li.sommaire__replie { display: none; }

.sommaire a.actif {
	color: var(--noir);
	border-left-color: var(--or);
	font-weight: 600;
}

/* --- Accueil : bandeau en deux moitiés ------------------------------------
   La photo n'est plus un fond sur lequel on pose du texte : elle occupe une
   moitié pleine, le titre l'autre. Le cadrage du cafard reste entier. */
.hero-split {
	display: grid;
	grid-template-columns: 1fr;
	border-bottom: 1px solid var(--filet);
}

@media (min-width: 900px) {
	.hero-split {
		grid-template-columns: 1.05fr 1fr;
		min-height: min(72vh, 38rem);
	}
}

.hero-split__image {
	background: #f0e3b8 url('../images/home/blatte.webp') center / cover no-repeat;
	min-height: clamp(13rem, 42vw, 22rem);
}

@media (min-width: 900px) {
	.hero-split__image { min-height: 0; }
}

.hero-split__texte {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.75rem, 4vw, 3.5rem) var(--gouttiere);
	background: var(--creme);
}

.hero-split__texte .surtitre { margin-bottom: .9rem; }

.hero-split h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--noir);
}

.hero-split__accroche {
	margin: 1.1rem 0 0;
	max-width: 30rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #55514a;
}

.hero-split__lien {
	display: inline-block;
	margin-top: 1.75rem;
	font-family: var(--texte);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--or-texte);
	text-decoration: none;
	border-bottom: 1px solid var(--or);
	padding-bottom: .3rem;
	width: fit-content;
}

.hero-split__lien:hover { color: var(--noir); border-bottom-color: var(--noir); }

/* Variante article : le fil d'Ariane et le texte partagent la moitié droite,
   l'illustration occupe la gauche. */
.hero-split--article .hero-split__texte { padding-block: clamp(1.5rem, 3vw, 2.5rem); }

/* Sur un article, le bandeau ne doit pas confisquer l'écran : on le plafonne
   plus bas que celui de l'accueil. */
@media (min-width: 900px) {
	.hero-split--article { min-height: min(58vh, 30rem); }
}

.hero-split--article .ariane {
	max-width: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.hero-split--article h1 {
	font-size: clamp(1.7rem, 1.1rem + 2vw, 2.65rem);
	max-width: 20ch;
}

/* L'illustration est en portrait : le recadrage reste doux. */
.hero-split__media {
	margin: 0;
	overflow: hidden;
	background: #efe9de;
}

.hero-split__media img {
	display: block;
	width: 100%;
	/* Sans hauteur imposée, l'image suit son format naturel et occupe
	   près de 500 px sur mobile. */
	height: clamp(12rem, 40vw, 18rem);
	object-fit: cover;
	object-position: center;
}

@media (min-width: 900px) {
	/* L'image est sortie du flux : sinon sa hauteur naturelle (700 px ici)
	   commanderait celle du bandeau, au lieu du texte et du plafond CSS. */
	.hero-split__media { position: relative; height: auto; }

	.hero-split__media img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
}

/* --- Titres de section sur les pages non rédactionnelles ------------------ */
.proto .section_title,
.proto .section_main_title {
	margin: 0 0 1.5rem;
	font-family: var(--serif);
	font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.15rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	text-align: left;
	color: var(--noir);
}

.proto .section_title::after,
.proto .section_main_title::after {
	width: 3rem;
	margin: .85rem 0 0;
	border-bottom: 1px solid var(--or);
}

/* Le gris froid du site devient un gris chaud, accordé au fond crème. */
.proto .bg_grey { background: #f4f1ea; }

.proto .container_big,
.proto .container_small { padding-block: clamp(2.5rem, 5vw, 4rem); }

.proto .title-description { text-align: left; }

/* --- Article -------------------------------------------------------------- */
.proto-texte h2 {
	margin: 2.75rem 0 1rem;
	font-family: var(--serif);
	font-size: clamp(1.5rem, 1.3rem + .85vw, 1.9rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.005em;
	text-transform: none;
	color: var(--noir);
	background: none;
	padding: 0;
}

/* Le bandeau noir laisse place à un titre serif souligné d'un filet or. */
.proto-texte h3 {
	margin: 2.25rem 0 .9rem;
	padding: 0 0 .55rem;
	background: none;
	color: var(--noir);
	font-family: var(--serif);
	font-size: clamp(1.3rem, 1.2rem + .45vw, 1.5rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	border-bottom: 1px solid var(--filet);
	position: relative;
}

.proto-texte h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 3rem;
	height: 1px;
	background: var(--or);
}

.proto-texte h4 {
	margin: 2rem 0 .65rem;
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--encre);
}

/* Listes : la règle du site est rattachée à « section », or l'article du
   prototype est dans un « main ». Sans cela, les puces disparaissent. */
.proto-texte ul,
.proto-texte ol { margin: 0 0 1.5rem; padding: 0; }

.proto-texte ul > li,
.proto-texte ol > li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }

.proto-texte ul > li::before {
	content: "➜";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--or);
	font-weight: 700;
}

.proto-texte ol { counter-reset: liste; }
.proto-texte ol > li { counter-increment: liste; }

.proto-texte ol > li::before {
	content: counter(liste) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--serif);
	font-size: 1.1em;
	color: var(--or-texte);
}

/* Les listes imbriquées se distinguent par un tiret, plus discret. */
.proto-texte li ul > li::before { content: "–"; font-weight: 400; }

.proto-texte p,
.proto-texte li { font-size: 1.0625rem; line-height: 1.75; }

.proto-texte p { margin-bottom: 1.3rem; }



/* Lettrine sur le premier vrai paragraphe (classe posée par proto.js :
   le premier <p> de la page ne contient parfois qu'une image). */
.proto-texte p.lettrine::first-letter {
	float: left;
	margin: .28em .12em 0 0;
	font-family: var(--serif);
	font-size: 3.1em;
	font-weight: 500;
	line-height: .78;
	color: var(--or-texte);
}

.proto-texte figure { margin: 2rem 0; }
.proto-texte figure img { border-radius: 2px; }

/* Planches du Panorama ANCOLS : la double page reste entière pour préserver
   les cartes, graphiques, légendes et sources. Un clic ouvre le visuel en
   pleine définition. */
.proto-texte .planche-ancols {
	margin: 1.75rem 0 3rem;
	padding: 0;
}

.planche-ancols a {
	display: block;
	background: #fff;
	border: 1px solid var(--filet);
	box-shadow: 0 .5rem 1.5rem rgba(39, 34, 26, .06);
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.planche-ancols a:hover,
.planche-ancols a:focus-visible {
	border-color: var(--or);
	box-shadow: 0 .75rem 2rem rgba(39, 34, 26, .1);
	transform: translateY(-2px);
}

.planche-ancols img {
	display: block;
	width: 100%;
	height: auto;
}

.proto-texte .planche-ancols figcaption {
	margin-top: .65rem;
	font-size: .8rem;
	line-height: 1.5;
	color: #6b665d;
}

.planche-ancols figcaption span {
	color: var(--or-texte);
	white-space: nowrap;
}

/* Les visuels débordent de la colonne de lecture */
@media (min-width: 700px) {
	.proto-texte figure,
	.proto-texte .chiffres-cles { width: 100%; }   /* 16 oct. 2026 : pleine largeur (pages sans sommaire) ; avant : min(52rem, 100%) */
}

/* Page des chiffres clés : le chapô annonce la question du chapitre, la
   phrase de liaison donne le rapport entre une section et la précédente.
   Les chapitres sont séparés par un filet, comme le premier niveau de
   lecture de la page. */
.chapitre-chapo {
	font-family: var(--serif);
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--or-texte);
}

.proto-texte .liaison {
	padding-left: 1.1rem;
	border-left: 2px solid var(--or-bord);
	color: var(--encre-douce);
}

body[data-page="chiffres-cles"] .proto-texte > h2 {
	margin-top: 4.5rem;
	padding-top: 2.25rem;
	border-top: 1px solid var(--filet);
}

/* Grille de graphiques découpés dans les planches : deux visuels par ligne.
   Chaque figure garde l'habillage des planches ANCOLS ; seules la largeur
   et les marges sont reprises par la grille. */
.graphiques {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
	gap: 1.5rem;
	align-items: start;
	margin: 1.75rem 0 3rem;
}

.graphiques .planche-ancols,
.proto-texte .graphiques .planche-ancols {
	width: auto;
	margin: 0;
}

@media (min-width: 700px) {
	/* 16 oct. 2026 : pages sans sommaire, planches sur toute la largeur, deux par ligne (plus grandes, plus nettes). */
	.proto-texte .graphiques { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.proto-texte .note-source,
.proto-texte .point-cle {
	border-left: 2px solid var(--or);
	background: none;
	padding: .1rem 0 .1rem 1.25rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	line-height: 1.5;
	color: #46423b;
	margin: 1.75rem 0;
}

.proto-texte .chiffre-cle {
	border: 0;
	border-top: 1px solid var(--filet);
	border-radius: 0;
	background: none;
	padding: 1.25rem 0 0;
	text-align: left;
}

.proto-texte .chiffre-cle strong {
	font-family: var(--serif);
	font-size: 2rem;
	font-weight: 400;
	color: var(--noir);
	margin-bottom: .35rem;
}

.proto-texte .chiffre-cle span { font-size: .85rem; color: #6b665d; }

.proto-texte .sources-article {
	border-top: 1px solid var(--filet);
	font-size: .88rem;
}

.proto-texte .sources-article h2,
.proto-texte .sources-article h3 {
	font-size: .7rem;
	font-family: var(--texte);
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--or-texte);
	border: 0;
	padding: 0;
	margin: 0 0 1rem;
}

.proto-texte .sources-article h3::after { content: none; }

/* --- Article précédent / suivant ------------------------------------------ */
.voisins {
	max-width: 82rem;
	margin-inline: auto;
	padding: 0 var(--gouttiere) 3.5rem;
	display: grid;
	gap: 1px;
	grid-template-columns: 1fr;
	background: var(--filet);
	border-block: 1px solid var(--filet);
}

@media (min-width: 700px) {
	.voisins { grid-template-columns: 1fr 1fr; }
}

.voisins a {
	display: block;
	padding: 1.5rem clamp(1rem, 3vw, 1.75rem);
	background: var(--creme);
	text-decoration: none;
	transition: background .2s;
}

.voisins a:hover { background: #fff; }

.voisins small {
	display: block;
	margin-bottom: .6rem;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--or-texte);
}

.voisins span {
	font-family: var(--serif);
	font-size: 1.12rem;
	line-height: 1.3;
	color: var(--noir);
}

.voisins .suivant { text-align: right; }

footer { background: #f3f0e9; }

/* Cartes d'actualité : le filet d'accent suit l'or des titres d'article. */
.proto .title-split::after { background: var(--or); height: 1px; width: 3rem; }


/* ==========================================================================
   17 CARTES DE LECTURE
   Composants pour rendre lisibles d'un coup d'œil les contenus qui, en texte
   suivi, obligent à tout lire pour comprendre.
   ========================================================================== */

/* --- Gamme : une échelle ordonnée (PLAI → PLUS → PLS → PLI) --------------- */
.gamme {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin: 1.75rem 0;
	padding: 1.15rem 1.4rem;
	border-radius: var(--radius);
	background: var(--or-voile);
	max-width: none;
}

.gamme__icone {
	flex: none;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--blanc);
	color: var(--or);
}

.gamme__icone svg { width: 30px; height: 30px; }

.gamme__corps { flex: 1; min-width: 0; }

.gamme__titre {
	margin: 0 0 .5rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--or-texte);
}

.gamme__echelle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .9rem;
	margin: 0 0 .3rem;
	padding: 0;
	list-style: none;
}

.proto-texte .gamme__echelle li,
.gamme__echelle li {
	margin: 0;
	padding: 0;
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: .03em;
	color: var(--noir);
}

.proto-texte .gamme__echelle li::before,
.gamme__echelle li::before { content: none; }

.proto-texte .gamme__echelle li + li::before,
.gamme__echelle li + li::before {
	content: "→";
	position: static;
	display: inline-block;
	margin-right: .9rem;
	color: var(--or);
	font-family: var(--texte);
	font-weight: 400;
}

/* Le trait qui prolonge l'échelle : c'est un <li>, il ne doit donc pas
   recevoir la flèche que porte chaque étape. */
.proto-texte .gamme__echelle li.gamme__fleche::before,
.gamme__echelle li.gamme__fleche::before { content: none; }

.gamme__fleche {
	align-self: center;
	flex: 1;
	min-width: 3rem;
	height: 1px;
	background: var(--or);
	position: relative;
}

.gamme__fleche::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	border: 3.5px solid transparent;
	border-left-color: var(--or);
}

.gamme__bornes {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	font-size: .78rem;
	color: var(--encre-douce);
}

/* --- Cartes de catégorie : icône à gauche, texte à droite ----------------- */
.cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	gap: 1rem;
	margin: 1.75rem 0;
	padding: 0;
	max-width: none;
}

.carte {
	display: flex;
	gap: .9rem;
	padding: 1.35rem 1.4rem;
	border: 1px solid var(--filet);
	border-bottom: 3px solid var(--accent, var(--or));
	border-radius: 10px;
	background: var(--blanc);
}

.carte__icone {
	flex: none;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--accent, var(--or)) 14%, white);
	color: var(--accent, var(--or));
}

.carte__icone svg { width: 38px; height: 38px; }

.carte__corps { min-width: 0; }

.carte__sigle {
	display: block;
	margin-bottom: .1rem;
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--accent, var(--or-texte));
}

.carte__pour {
	display: block;
	margin-bottom: .45rem;
	font-size: .82rem;
	font-weight: 600;
	color: var(--accent, var(--encre-douce));
}

.carte p { margin: 0; font-size: .92rem; line-height: 1.55; }

.carte__nom {
	margin-bottom: .3rem !important;
	font-family: var(--serif);
	font-size: .98rem;
	font-weight: 600;
	color: var(--encre);
}

/* --- Bloc chiffre + graphique -------------------------------------------- */
.bloc-chiffre {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
	margin: 1.75rem 0;
	padding: 1.75rem;
	border: 1px solid var(--filet);
	border-radius: 10px;
	background: var(--blanc);
	max-width: none;
}

@media (min-width: 700px) {
	.bloc-chiffre { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }

	/* Trait de séparation entre le chiffre et le graphique */
	.bloc-chiffre figure {
		border-left: 1px solid var(--filet);
		padding-left: 1.75rem;
	}
}

.bloc-chiffre__cle { text-align: center; }

.bloc-chiffre__icone {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	border: 1px solid var(--or-bord);
	color: var(--or);
}

.bloc-chiffre__icone svg { width: 30px; height: 30px; }

.bloc-chiffre__periode { margin: 0; font-size: .9rem; color: var(--encre-douce); }

.bloc-chiffre__nombre {
	display: block;
	margin: .2rem 0;
	font-family: var(--serif);
	font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem);
	font-weight: 600;
	line-height: 1;
	color: var(--or-texte);
}

.bloc-chiffre__quoi { margin: 0 0 .9rem; font-size: .95rem; }
.bloc-chiffre__source { margin: 0; font-size: .82rem; }
.bloc-chiffre figure { margin: 0; }

.bloc-chiffre figcaption {
	margin-top: .75rem;
	font-size: .82rem;
	color: var(--encre-douce);
	text-align: center;
}

/* --- Teintes des catégories ---------------------------------------------- */
.carte--plai { --accent: var(--plai); }
.carte--plus { --accent: var(--plus); }
.carte--pls  { --accent: var(--pls); }
.carte--pli  { --accent: var(--pli-fonce); }

/* Cartes empilees : le pictogramme au-dessus, le texte sur toute la largeur
   du cadre. Utile des que la description depasse deux ou trois lignes, la
   colonne de texte devenant sinon trop etroite a cote de l'icone. Les cartes
   en ligne de acces-logement-social-paris ne sont pas touchees. */
.cartes--colonne .carte { display: block; }
.cartes--colonne .carte__icone { margin-bottom: .95rem; }

/* Teintes reutilisables pour les cartes de la page des chiffres cles.
   Le composant .carte se colore entierement depuis --accent : rond de
   l'icone, sigle, sous-titre et filet du bas. Les quatre premieres sont
   celles deja employees par les cartes PLAI/PLUS/PLS/PLI. */
.carte--vert    { --accent: #2f7d5c; }
.carte--bleu    { --accent: #2f5f9e; }
.carte--or      { --accent: #c08a2e; }
.carte--rouge   { --accent: #a83d2d; }
.carte--ardoise { --accent: #4a6572; }

/* Quatre cartes : deux par deux plutôt que trois plus une orpheline. */
@media (min-width: 700px) {
	.cartes--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Cartes empilées verticalement : icône, sigle, puis le texte dessous. */
.cartes--trois { grid-template-columns: repeat(auto-fit, minmax(min(13.5rem, 100%), 1fr)); }

/* --- Chronologie d'étapes ------------------------------------------------- */
.etapes-liste {
	margin: 2rem 0;
	padding: 0;
	list-style: none;
	max-width: none;
}

.proto-texte .etapes-liste > li,
.etapes-liste > li {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 1.1rem;
	margin: 0;
	padding: 1.5rem 0;
	border-top: 1px solid var(--filet);
}

.proto-texte .etapes-liste > li::before,
.etapes-liste > li::before { content: none; }

.etapes-liste > li:first-child { border-top: 0; padding-top: .5rem; }

.etape-item__icone {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--or-voile);
	color: var(--or);
}

.etape-item__icone svg { width: 30px; height: 30px; }

.etape-item__titre {
	margin: .25rem 0 .55rem;
	font-family: var(--serif);
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--noir);
}

.etape-item p { margin: 0 0 .8rem; font-size: 1rem; line-height: 1.7; }
.etape-item p:last-child { margin-bottom: 0; }

/* La liste imbriquée d'une étape passe dans un encadré teinté. */
.proto-texte .etape-item ul,
.etape-item ul {
	margin: .9rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--or-voile);
	max-width: none;
}

.proto-texte .etape-item ul > li,
.etape-item ul > li { font-size: .95rem; margin-bottom: .45em; }

/* Ces listes ne sont pas des listes imbriquées : elles gardent la flèche or
   et non le tiret réservé aux sous-listes. */
.proto-texte li .etape-item ul > li::before,
.proto-texte .etape-item ul > li::before {
	content: "➜";
	color: var(--or);
	font-weight: 700;
}

.proto-texte .etape-item ul > li:last-child,
.etape-item ul > li:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.proto-texte .etapes-liste > li,
	.etapes-liste > li { grid-template-columns: 48px minmax(0, 1fr); gap: .85rem; }

	.etape-item__icone { width: 48px; height: 48px; }
	.etape-item__icone svg { width: 24px; height: 24px; }
}

/* --- Note de fin de section ---------------------------------------------- */
.note-info {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin: 2rem 0;
	padding: 1.15rem 1.4rem;
	border-radius: var(--radius);
	background: var(--or-voile);
	max-width: none;
}

.note-info__icone svg { width: 24px; height: 24px; }

.note-info__icone {
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--or-bord);
	color: var(--or);
	font-family: var(--serif);
	font-size: 1.5rem;
	line-height: 1;
}

.note-info p { margin: 0; font-size: .98rem; line-height: 1.6; }

/* --- Bandeau compact des catégories -------------------------------------- */
.cartes--compact {
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	gap: 0;
	border: 1px solid var(--filet);
	border-radius: 10px;
	overflow: hidden;
	background: var(--blanc);
}

.cartes--compact .carte {
	border: 0;
	border-radius: 0;
	border-right: 1px solid var(--filet);
	padding: 1.1rem 1.15rem;
	gap: .8rem;
	align-items: flex-start;
}

.cartes--compact .carte:last-child { border-right: 0; }
.cartes--compact .carte__icone { width: 56px; height: 56px; }
.cartes--compact .carte__icone svg { width: 28px; height: 28px; }
.cartes--compact .carte__sigle { font-size: 1.25rem; }
.cartes--compact .carte__nom { font-size: .9rem; margin-bottom: .35rem !important; }
.cartes--compact .carte__pour { font-size: .8rem; margin-bottom: 0; font-weight: 400; }

/* --- Tableau des plafonds ------------------------------------------------- */
.plafonds {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.75rem 0;
	border: 1px solid var(--filet);
	border-radius: 10px;
	overflow: hidden;
	font-size: .95rem;
	background: var(--blanc);
}

.plafonds th,
.plafonds td {
	padding: .85rem 1rem;
	border-bottom: 1px solid var(--filet);
	border-right: 1px solid var(--filet);
	vertical-align: middle;
}

.plafonds tr:last-child th,
.plafonds tr:last-child td { border-bottom: 0; }

.plafonds th:last-child,
.plafonds td:last-child { border-right: 0; }

.plafonds thead th {
	background: var(--creme);
	font-family: var(--texte);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	color: var(--or-texte);
}

.plafonds thead th:first-child { text-align: left; }

.plafonds__cat {
	display: block;
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cat);
}

.plafonds__annee {
	display: block;
	font-size: .72rem;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--encre-douce);
}

/* Colonne de gauche : la composition du foyer */
.plafonds tbody th {
	font-family: var(--texte);
	font-weight: 400;
	font-size: .9rem;
	line-height: 1.45;
	text-align: left;
	color: var(--encre);
	background: var(--blanc);
}

.plafonds tbody th strong { font-weight: 600; }

/* Colonnes de montants, chacune légèrement teintée de sa couleur */
.plafonds td {
	text-align: center;
	font-weight: 600;
	white-space: nowrap;
	color: var(--cat);
	background: color-mix(in srgb, var(--cat) 4%, white);
}

.plafonds .c-plai { --cat: var(--plai); }
.plafonds .c-plus { --cat: var(--plus); }
.plafonds .c-pls  { --cat: var(--pls); }
.plafonds .c-pli  { --cat: var(--pli-fonce); }

.plafonds tbody tr:hover td { background: color-mix(in srgb, var(--cat) 9%, white); }
.plafonds tbody tr:hover th { background: var(--creme); }

/* --- Les grilles existantes adoptent l'allure des cartes de référence ----- */
.proto-texte .chiffre-cle,
.proto-texte .constat,
.proto-texte .raison,
.proto-texte .lacune,
.proto-texte .condition,
.proto-texte .etape,
.proto-texte .profil,
.proto-texte .qui-paie > div {
	padding: 1.35rem 1.4rem;
	border: 1px solid var(--filet);
	border-bottom: 3px solid var(--or);
	border-radius: 10px;
	background: var(--blanc);
	text-align: left;
}

/* Les chiffres clés gardent leur grand nombre, désormais en serif */
.proto-texte .chiffre-cle strong {
	font-family: var(--serif);
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1;
	color: var(--or-texte);
	margin-bottom: .4rem;
}

.proto-texte .chiffre-cle span { font-size: .9rem; line-height: 1.5; color: var(--encre-douce); }

/* --- Teinte et pictogramme par groupe de chiffres ------------------------
   Meme mecanique que les cartes : le groupe porte --accent, chaque encadre
   du groupe s'y accorde (grand nombre, filet du bas, rond du pictogramme).
   Sans modificateur, le dore d'origine est conserve. */
.chiffres-cles--vert    { --accent: #2f7d5c; }
.chiffres-cles--bleu    { --accent: #2f5f9e; }
.chiffres-cles--or      { --accent: #c08a2e; }
.chiffres-cles--rouge   { --accent: #a83d2d; }
.chiffres-cles--ardoise { --accent: #4a6572; }

.proto-texte .chiffre-cle { border-bottom-color: var(--accent, var(--or)); }
.proto-texte .chiffre-cle strong { color: var(--accent, var(--or-texte)); }

.chiffre-cle__icone {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: .8rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--accent, var(--or)) 14%, white);
	color: var(--accent, var(--or));
}

.chiffre-cle__icone svg { width: 21px; height: 21px; }

/* Les intitulés de carte passent au serif, comme sur la page de référence */
.proto-texte .constat h4,
.proto-texte .raison h4,
.proto-texte .profil h4,
.proto-texte .qui-paie h4 {
	margin: 0 0 .55rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--encre);
}

.proto-texte .condition strong,
.proto-texte .etape strong,
.proto-texte .lacune strong {
	display: block;
	margin-bottom: .5rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--or-texte);
}

.proto-texte .constat p,
.proto-texte .raison p,
.proto-texte .lacune p,
.proto-texte .condition p,
.proto-texte .etape p,
.proto-texte .profil p,
.proto-texte .qui-paie p { font-size: .95rem; line-height: 1.6; }

/* --- Chronologie sobre : un point sur le filet, sans icône ni numéro ------ */
.etapes-liste--sobre > li { grid-template-columns: 1.4rem minmax(0, 1fr); gap: 1.25rem; }

.etapes-liste--sobre .etape-item__puce {
	position: relative;
	width: 1.4rem;
	height: 100%;
}

.etapes-liste--sobre .etape-item__puce::before {
	content: "";
	position: absolute;
	left: 50%;
	top: .55rem;
	transform: translateX(-50%);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--or);
}

.etapes-liste--sobre .etape-item__puce::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 1.5rem;
	bottom: -1.5rem;
	width: 1px;
	background: var(--filet);
}

.etapes-liste--sobre > li:last-child .etape-item__puce::after { display: none; }

@media (max-width: 600px) {
	.etapes-liste--sobre > li { grid-template-columns: 1rem minmax(0, 1fr); gap: .9rem; }
}

/* --- Groupes de trois cartes ---------------------------------------------
   La largeur minimale globale de 20rem n'en laisserait que deux par ligne,
   la troisième restant seule sur une ligne à moitié vide. */
.chiffres-cles--trois,
.constats--trois,
.raisons--trois,
.lacunes--trois,
.conditions--trois,
.etapes--trois,
.profils--trois,
.qui-paie--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 820px) {
	.chiffres-cles--trois,
	.constats--trois,
	.raisons--trois,
	.lacunes--trois,
	.conditions--trois,
	.etapes--trois,
	.profils--trois,
	.qui-paie--trois { grid-template-columns: 1fr; }
}

/* --- Encadré : même traitement que les autres appuis du texte ------------- */
.proto-texte .encadre {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	border: 0;
	border-left: 2px solid var(--or);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--or-voile);
	max-width: none;
}

.proto-texte .encadre > p:first-child strong:only-child,
.proto-texte .encadre > h4:first-child {
	display: block;
	margin: 0 0 .6rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--or-texte);
}

.proto-texte .encadre ul { margin-bottom: 0; }
.proto-texte .encadre p:last-child { margin-bottom: 0; }

/* Valeur mise en avant dans une carte (loyer indicatif, montant…) */
.carte__valeur {
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--accent, var(--or-texte));
}

/* --- Répartition par étiquette énergie (DPE) ------------------------------ */
.dpe {
	display: grid;
	/* Quatre étiquettes : en auto-fit, une cinquième piste vide restait à droite. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin: 1.75rem 0;
	padding: 0;
	list-style: none;
	max-width: none;
}

.proto-texte .dpe > li,
.dpe > li {
	display: flex;
	align-items: center;
	gap: .85rem;
	margin: 0;
	padding: .8rem .9rem;
	border: 1px solid var(--filet);
	border-radius: 10px;
	background: var(--blanc);
}

.proto-texte .dpe > li::before,
.dpe > li::before { content: none; }

.dpe__lettre {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1;
	color: #1b1b1b;
	background: var(--teinte);
}

.dpe__part {
	display: block;
	font-family: var(--serif);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--noir);
}

.dpe__quoi { display: block; font-size: .82rem; color: var(--encre-douce); }

/* Couleurs de l'étiquette énergie officielle */
.dpe--a { --teinte: #319a4f; }
.dpe--b { --teinte: #52b153; }
.dpe--c { --teinte: #a7cd3a; }
.dpe--d { --teinte: #f4e70f; }
.dpe--e { --teinte: #f7bc26; }
.dpe--f { --teinte: #ec8235; }
.dpe--g { --teinte: #d7221f; }

@media (min-width: 820px) {
	.dpe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Répartition par catégorie : pastille, volume, part ------------------- */
.repartition {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: none;
}

.proto-texte .repartition > li,
.repartition > li {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: .85rem 0;
	border-top: 1px solid var(--filet);
}

.repartition > li:first-child { border-top: 0; }

.proto-texte .repartition > li::before,
.repartition > li::before { content: none; }

.repartition__pastille {
	display: grid;
	place-items: center;
	padding: .45rem 0;
	border-radius: 6px;
	background: var(--teinte);
	color: var(--blanc);
	font-family: var(--texte);
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .06em;
}

.repartition__volume {
	display: block;
	font-family: var(--serif);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--noir);
}

.repartition__unite { display: block; font-size: .85rem; color: var(--encre-douce); }

.repartition__part {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--teinte);
	white-space: nowrap;
}

.repartition__titre {
	margin: 0 0 .75rem;
	font-size: .95rem;
	color: var(--encre-douce);
}

/* Mêmes teintes que les cartes de catégorie, plus haut dans la page. */
.repartition .r-plai { --teinte: var(--plai); }
.repartition .r-plus { --teinte: var(--plus); }
.repartition .r-pls  { --teinte: var(--pls); }

@media (max-width: 480px) {
	.proto-texte .repartition > li,
	.repartition > li { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .7rem; }
}

/* Tableau à zones : pas de code couleur par catégorie, la colonne de gauche
   reste la composition du foyer. */
.plafonds--zones thead th { font-size: .72rem; line-height: 1.35; }
.plafonds--zones td { color: var(--encre); background: var(--blanc); font-weight: 600; }
.plafonds--zones tbody tr:hover td { background: var(--creme); }
.plafonds--zones tbody td:first-of-type { background: var(--or-voile); color: var(--or-texte); }

/* --- Grille d'articles (page d'accueil) ----------------------------------
   Cartes titre + texte, 4 colonnes sur grand écran puis 3, 2 et 1.
   Même famille visuelle que .carte : filet, filet d'accent en pied, radius 10. */
.grille-articles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 2.5rem 0 2rem;
	padding: 0;
	max-width: none;
	list-style: none;
}

@media (min-width: 34rem) { .grille-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 52rem) { .grille-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .grille-articles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* La grille est un <ul> posé dans .proto-texte : on retire puces et retraits. */
.proto-texte .grille-articles > li { padding-left: 0; margin-bottom: 0; }
.proto-texte .grille-articles > li::before { content: none; }

.carte-article {
	display: flex;
	border: 1px solid var(--filet);
	border-bottom: 3px solid var(--or);
	border-radius: 10px;
	background: var(--blanc);
	transition: box-shadow var(--transition), transform var(--transition);
}

.carte-article:hover,
.carte-article:focus-within {
	box-shadow: var(--ombre);
	transform: translateY(-2px);
}

.carte-article > a {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	width: 100%;
	padding: 1.3rem 1.35rem;
	border-radius: inherit;
	color: inherit;
	text-decoration: none;
}

.carte-article__titre {
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--encre);
	transition: color var(--transition);
}

.carte-article > a:hover .carte-article__titre,
.carte-article > a:focus-visible .carte-article__titre { color: var(--or-texte); }

.carte-article p {
	margin: 0;
	max-width: none;
	font-size: .88rem;
	line-height: 1.55;
	color: var(--encre-douce);
}

.carte-article__lire {
	margin-top: auto;
	padding-top: .35rem;
	font-family: var(--titre);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--or-texte);
}

.grille-articles__suite { text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.carte-article { transition: none; }
	.carte-article:hover, .carte-article:focus-within { transform: none; }
}

/* --- Page Actualités : rubriques et cartes illustrées ---------------------
   La page reprend la grille des articles (sommaire de 15 rem à gauche) et la
   colonne de droite garde la mesure du texte. Les cartes sont celles de la
   page d'accueil, augmentées d'une illustration et d'un surtitre. */
.liste-articles { max-width: var(--mesure); }

.rubrique { margin: 0 0 clamp(3rem, 6vw, 4.5rem); }
.rubrique:last-child { margin-bottom: 0; }

/* Le titre de rubrique est un intertitre discret : petites capitales or,
   prolongées par un filet jusqu'au bord de la colonne. */
.proto-texte .rubrique__titre {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.6rem;
	font-family: var(--titre);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--or-texte);
}

.rubrique__titre::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--filet);
}

.proto-texte .rubrique__chapo {
	margin: -.4rem 0 1.6rem;
	font-size: 1rem;
	color: var(--encre-douce);
}

.cartes-actus {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	max-width: none;
	list-style: none;
}

@media (min-width: 40rem) {
	.cartes-actus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Deux cartes côte à côte n'ont pas le même volume de texte. La cellule de
   grille s'étire déjà sur la plus haute des deux : il suffit que la carte
   remplisse sa cellule. Pas de grid-auto-rows ici, qui alignerait aussi la
   grande carte sur la hauteur des autres rangées. */
.cartes-actus > li { display: flex; }
.cartes-actus .carte-article { width: 100%; }

/* La grille est un <ul> posé dans .proto-texte : ni puces ni retraits. */
.proto-texte .cartes-actus > li { padding-left: 0; margin-bottom: 0; }
.proto-texte .cartes-actus > li::before { content: none; }

/* --- Carte illustrée : bandeau en tête, texte dessous -------------------- */
.carte-article--illustree > a { padding: 0; gap: 0; }

.carte-article__media {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 2;
	object-fit: cover;
	border-radius: 9px 9px 0 0;
}

.carte-article__corps {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	flex: 1;
	padding: 1.25rem 1.35rem 1.4rem;
}

.proto-texte .carte-article__surtitre {
	margin: 0;
	font-family: var(--titre);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--or-texte);
}

/* Le titre de carte est un h3 : on lui retire le filet des intertitres,
   qui tranche une carte en deux au lieu de séparer deux sections. */
.proto-texte .carte-article__titre {
	margin: 0;
	padding: 0;
	border-bottom: 0;
	font-size: 1.3rem;
}

.proto-texte .carte-article__titre::after { content: none; }

.proto-texte .carte-article__lire { margin: auto 0 0; padding-top: .35rem; }

/* La première carte de la page tient toute la largeur : l'illustration passe
   à gauche, le texte à droite, dès qu'il y a la place pour les deux. */
@media (min-width: 40rem) {
	.cartes-actus__large { grid-column: 1 / -1; }
	.carte-article--large > a { flex-direction: row; align-items: stretch; }

	.carte-article--large .carte-article__media {
		width: 42%;
		aspect-ratio: auto;
		border-radius: 9px 0 0 9px;
	}

	.carte-article--large .carte-article__corps {
		justify-content: center;
		padding: 1.9rem 2rem;
	}

	.carte-article--large .carte-article__titre {
		font-size: clamp(1.4rem, 1.2rem + .75vw, 1.85rem);
	}

	.proto-texte .carte-article--large .carte-article__lire { margin-top: .5rem; }
}

/* --- Relevé de dossiers (préemptions) --------------------------------------
   Tableau de lecture : l'adresse en tête de ligne, les montants alignés à
   droite en chiffres tabulaires, une ligne de total dorée dont chaque valeur
   tombe sous sa colonne. */
.releve {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	border: 1px solid var(--filet);
	border-radius: 10px;
	overflow: hidden;
	background: var(--blanc);
	font-size: .9rem;
	line-height: 1.45;
}

.table-scroll:has(> .releve) { margin: 1rem 0 2.25rem; }
.releve--dossiers { min-width: 44rem; table-layout: fixed; }

/* Mêmes largeurs de colonnes d'un arrondissement à l'autre */
.releve--dossiers col:nth-child(1) { width: 22%; }
.releve--dossiers col:nth-child(2) { width: 12%; }
.releve--dossiers col:nth-child(3) { width: 16%; }
.releve--dossiers col:nth-child(4) { width: 11%; }
.releve--dossiers col:nth-child(5) { width: 13%; }
.releve--dossiers col:nth-child(6) { width: 18%; }
.releve--dossiers col:nth-child(7) { width: 8%; }

.releve tbody tr:last-child th,
.releve tbody tr:last-child td { border-bottom: 0; }

.releve th,
.releve td {
	padding: .75rem .9rem;
	border-bottom: 1px solid var(--filet);
	text-align: left;
	vertical-align: top;
}

.releve thead th {
	background: var(--creme);
	font-family: var(--texte);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--or-texte);
	border-bottom: 1px solid var(--or-bord);
}

.releve tbody th {
	font-family: var(--texte);
	font-weight: 600;
	color: var(--encre);
	background: transparent;
}

.releve tbody tr:hover th,
.releve tbody tr:hover td { background: var(--creme); }

.releve .num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.releve thead .num { text-align: right; }

.releve .date {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--encre-douce);
}

.releve .doux { color: var(--encre-douce); }

.releve .etiquette {
	display: inline-block;
	padding: .1rem .5rem;
	border: 1px solid var(--or-bord);
	border-radius: 999px;
	font-size: .75rem;
	color: var(--or-texte);
	white-space: nowrap;
}

.releve tfoot th,
.releve tfoot td {
	border-bottom: 0;
	border-top: 2px solid var(--or-bord);
	background: var(--or-voile);
	font-weight: 700;
	color: var(--encre);
}

.releve tfoot th {
	font-size: .7rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--or-texte);
}

/* --- Carte des préemptions (Leaflet) ---------------------------------------
   Repère en goutte, numéroté, en bleu ; le même numéro figure en
   pastille devant l'adresse dans le tableau. */
.carte-preemptions {
	height: clamp(20rem, 55vw, 30rem);
	margin: 1.5rem 0 2rem;
	border: 1px solid var(--filet);
	border-radius: 10px;
	background: var(--beige);
	z-index: 0;
}

/* Fond de plan IGN en couleurs, légèrement adouci pour laisser ressortir les repères */
.carte-preemptions .leaflet-tile-pane { filter: saturate(.7) brightness(1.04); }

.repere { background: none; border: 0; }

.repere span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: #2f5f9e;
	border: 2px solid var(--blanc);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
	color: var(--blanc);
	font: 700 .72rem/1 var(--texte);
}

/* Le chiffre reste droit dans la goutte inclinée */
.repere b { transform: rotate(45deg); font-weight: 700; }

.carte-preemptions .leaflet-popup-content {
	font: .85rem/1.5 var(--texte);
	color: var(--encre);
}

.releve__num {
	display: inline-grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	margin-right: .45rem;
	padding: 0 .3rem;
	border-radius: 999px;
	background: #2f5f9e;
	color: var(--blanc);
	font-size: .72rem;
	font-weight: 700;
	vertical-align: .05rem;
}

/* Grandes parties de l'article (A, B, C) : un filet or les sépare nettement */
.proto-texte h2.partie {
	margin-top: 4.5rem;
	padding-top: 1.75rem;
	border-top: 2px solid var(--or-bord);
}

/* Arrondissement, sous l'année (h3) */
body[data-page^="preemptions-"] .proto-texte > h4 {
	margin: 1.75rem 0 .6rem;
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--or-sombre);
}

.releve--simple { min-width: 40rem; }

/* Page des préemptions : tableaux resserrés sous leur titre, sans les grands
   blancs cumulés de .table-scroll et .plafonds. */
body[data-page^="preemptions-"] .proto-texte > h3 { margin: 1.75rem 0 .5rem; }
body[data-page^="preemptions-"] .proto-texte > h3 + .table-scroll,
body[data-page^="preemptions-"] .proto-texte > h4 + .table-scroll { margin-top: .5rem; }
body[data-page^="preemptions-"] .table-scroll { margin: .75rem 0 1.25rem; }
body[data-page^="preemptions-"] .plafonds { margin: 0; }
body[data-page^="preemptions-"] .plafonds th,
body[data-page^="preemptions-"] .plafonds td { padding: .55rem .9rem; }
body[data-page^="preemptions-"] .plafonds caption { padding-top: .4rem; }
body[data-page^="preemptions-"] .proto-texte .chiffres-cles { margin: .75rem 0 1.25rem; }
body[data-page^="preemptions-"] .carte-preemptions { margin: .75rem 0 1.25rem; }

/* Page des préemptions : une ligne sur deux teintée d'un brun léger */
body[data-page^="preemptions-"] .proto-texte tbody tr:nth-child(odd) th,
body[data-page^="preemptions-"] .proto-texte tbody tr:nth-child(odd) td { background: rgba(166, 125, 74, .09); }
body[data-page^="preemptions-"] .proto-texte tbody tr:hover th,
body[data-page^="preemptions-"] .proto-texte tbody tr:hover td { background: rgba(166, 125, 74, .18); }

/* Sommaire des préemptions : troisième niveau (années) et branche ouverte */
.sommaire a.sommaire__annee {
	padding: .3rem 0 .3rem 2.4rem;
	font-size: .85rem;
}

.sommaire a.ouvert {
	color: var(--or-sombre);
	border-left-color: var(--or-bord);
}

.sommaire a.sommaire__sous.ouvert { font-weight: 600; }

/* Deux cartes côte à côte (biens occupés / libres), sous les trois chiffres de l'année */
.chiffres-cles--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chiffres-cles--trois + .chiffres-cles--deux { margin-top: -.25rem; }
.chiffre-cle strong small { font-size: .55em; color: var(--encre-douce); }
@media (max-width: 820px) { .chiffres-cles--deux { grid-template-columns: 1fr; } }

/* Lien de téléchargement du document, sous l'adresse */
.releve a.releve__pdf {
	display: inline-block;
	margin-top: .3rem;
	font-size: .78rem;
	font-weight: 600;
	color: var(--or-texte);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.releve a.releve__pdf::before { content: "↓ "; text-decoration: none; }
.releve a.releve__pdf + .doux { font-size: .72rem; font-weight: 400; }
.releve a.releve__dlh::before { content: "↗ "; }

/* Tableaux 2026 complétés par la délibération : quatre colonnes de plus,
   texte un peu plus petit, défilement horizontal si l'écran est étroit. */
.releve--dlh { min-width: 72rem; font-size: .82rem; }
.releve--dlh col:nth-child(1)  { width: 14%; }
.releve--dlh col:nth-child(2)  { width: 8%; }
.releve--dlh col:nth-child(3)  { width: 10%; }
.releve--dlh col:nth-child(4)  { width: 7%; }
.releve--dlh col:nth-child(5)  { width: 8%; }
.releve--dlh col:nth-child(6)  { width: 10%; }
.releve--dlh col:nth-child(7)  { width: 5%; }
.releve--dlh col:nth-child(8)  { width: 11%; }
.releve--dlh col:nth-child(9)  { width: 13%; }
.releve--dlh col:nth-child(10) { width: 8%; }
.releve--dlh col:nth-child(11) { width: 6%; }
.releve--dlh thead th:nth-child(n+8) { background: var(--or-voile); }

/* Colonne Adresse figée : les autres colonnes défilent derrière elle.
   Fonds opaques obligatoires, sinon le texte qui défile apparaît en transparence. */
body[data-page^="preemptions-"] .releve--dossiers thead th:first-child,
body[data-page^="preemptions-"] .releve--dossiers tbody th,
body[data-page^="preemptions-"] .releve--dossiers tfoot th {
	position: sticky;
	left: 0;
	z-index: 1;
	box-shadow: 1px 0 0 var(--filet), 6px 0 8px -6px rgba(0, 0, 0, .12);
}
body[data-page^="preemptions-"] .releve--dossiers thead th:first-child { background: var(--creme); }
body[data-page^="preemptions-"] .releve--dossiers tbody tr th { background: var(--blanc); }
body[data-page^="preemptions-"] .releve--dossiers tbody tr:nth-child(odd) th { background: #f7f1ea; }
body[data-page^="preemptions-"] .releve--dossiers tbody tr:hover th { background: #efe3d4; }
body[data-page^="preemptions-"] .releve--dossiers tfoot th { background: #f8f3ec; }
/* « clip » garde les coins arrondis sans créer de conteneur de défilement :
   la colonne figée reste alors attachée au défilement de .table-scroll. */
body[data-page^="preemptions-"] .releve--dossiers { overflow: clip; }
.releve--dlh thead th { white-space: normal; }
body[data-page^="preemptions-"] .releve--dlh thead th { white-space: normal; letter-spacing: .05em; overflow-wrap: normal; word-break: normal; }
.releve--dlh col:nth-child(5)  { width: 9%; }
.releve--dlh col:nth-child(6)  { width: 9%; }

/* Tableaux avec délibération : une colonne de plus (catégories et tailles) */
.releve--dlh { min-width: 82rem; }
.releve--dlh col:nth-child(1)  { width: 12%; }
.releve--dlh col:nth-child(2)  { width: 7%; }
.releve--dlh col:nth-child(3)  { width: 8%; }
.releve--dlh col:nth-child(4)  { width: 6%; }
.releve--dlh col:nth-child(5)  { width: 7%; }
.releve--dlh col:nth-child(6)  { width: 8%; }
.releve--dlh col:nth-child(7)  { width: 4%; }
.releve--dlh col:nth-child(8)  { width: 9%; }
.releve--dlh col:nth-child(9)  { width: 11%; }
.releve--dlh col:nth-child(10) { width: 13%; }
.releve--dlh col:nth-child(11) { width: 8%; }
.releve--dlh col:nth-child(12) { width: 7%; }


/* Largeurs de colonnes des relevés de préemptions (en rem, défilement horizontal
   au-delà de la largeur de l'article ; la colonne Adresse reste figée). */
body[data-page^="preemptions-"] .releve--dossiers { table-layout: fixed; width: 68.0rem; min-width: 100%; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(1) { width: 14rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(2) { width: 6.5rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(3) { width: 9.5rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(4) { width: 6.5rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(5) { width: 8rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(6) { width: 10rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(7) { width: 4.5rem; }
body[data-page^="preemptions-"] .releve--dossiers col:nth-child(8) { width: 9rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh { table-layout: fixed; width: 123.5rem; min-width: 100%; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(1) { width: 14rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(2) { width: 6.5rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(3) { width: 9.5rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(4) { width: 6.5rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(5) { width: 7rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(6) { width: 8rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(7) { width: 9rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(8) { width: 4.5rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(9) { width: 12rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(10) { width: 13rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(11) { width: 8rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(12) { width: 7.5rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(13) { width: 9rem; }
body[data-page^="preemptions-"] .releve--dossiers.releve--dlh col:nth-child(14) { width: 9rem; }
body[data-page^="preemptions-"] .releve--simple { table-layout: fixed; width: 61.5rem; min-width: 100%; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(1) { width: 15rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(2) { width: 6.5rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(3) { width: 4rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(4) { width: 10rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(5) { width: 7rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(6) { width: 10rem; }
body[data-page^="preemptions-"] .releve--simple col:nth-child(7) { width: 9rem; }
body[data-page^="preemptions-"] .releve--dlh { font-size: .85rem; }
body[data-page^="preemptions-"] .releve--dossiers .releve__pdf + .doux { display: block; }

/* === Relevés en 8 colonnes (préemptions de logement) ==========================
   Adresse / date · Bien · Acteurs · Programme · Catégories et tailles ·
   Données financières · Subvention de la Ville · Sources.
   Libellés discrets, montants en gras ; fiches empilées sur mobile. */
.releve--fiches { table-layout: fixed; width: 71rem; min-width: 100%; font-size: .84rem; }
.releve--fiches col:nth-child(1) { width: 12rem; }
.releve--fiches col:nth-child(2) { width: 6.5rem; }
.releve--fiches col:nth-child(3) { width: 8.5rem; }
.releve--fiches col:nth-child(4) { width: 9.5rem; }
.releve--fiches col:nth-child(5) { width: 9.5rem; }
.releve--fiches col:nth-child(6) { width: 12.5rem; }
.releve--fiches col:nth-child(7) { width: 5.5rem; }
.releve--fiches col:nth-child(8) { width: 7rem; }
.releve--fiches thead th { white-space: normal; letter-spacing: .05em; }
.releve--fiches b { font-weight: 600; }

.releve--fiches .sous { display: block; margin-top: .25rem; font-size: .76rem; line-height: 1.4; color: var(--encre-douce); font-weight: 400; }
.releve--fiches .sous-i { font-size: .74rem; color: var(--encre-douce); font-weight: 400; }
.releve--fiches .nr { font-size: .76rem; font-style: italic; color: #8a857b; font-weight: 400; }
.releve--fiches .f { display: block; margin-bottom: .35rem; }
.releve--fiches .f:last-child { margin-bottom: 0; }
.releve--fiches .f__l { display: block; font-size: .68rem; letter-spacing: .03em; color: var(--encre-douce); }
.releve--fiches .f__v { font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; }
.releve--fiches .src { display: block; margin-top: .35rem; }
.releve--fiches .releve__pdf + .doux { display: none; }

/* Récapitulatif sous chaque tableau (remplace la ligne de total) */
.recap-releve {
	display: flex; flex-wrap: wrap; gap: .4rem 1.6rem;
	margin: -.5rem 0 2rem; padding: .75rem 1rem;
	border: 1px solid var(--filet); border-top: 0; border-radius: 0 0 10px 10px;
	background: var(--creme); font-size: .8rem;
}
.recap-releve div { display: flex; flex-direction: column; }
.recap-releve dt { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.recap-releve dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Sur grand écran, le tableau déborde dans la marge de droite libre */
@media (min-width: 1400px) {
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches),
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches) + .recap-releve { margin-right: -6rem; }
}
@media (min-width: 1700px) {
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches),
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches) + .recap-releve { margin-right: -14rem; }
}
@media (min-width: 1900px) {
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches),
	body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches) + .recap-releve { margin-right: -19rem; }
}

/* Mobile : une fiche par dossier, mêmes libellés */
@media (max-width: 760px) {
	body[data-page^="preemptions-"] .releve--fiches,
	body[data-page^="preemptions-"] .releve--fiches tbody,
	body[data-page^="preemptions-"] .releve--fiches tr,
	body[data-page^="preemptions-"] .releve--fiches th,
	body[data-page^="preemptions-"] .releve--fiches td { display: block; width: auto; min-width: 0; }
	body[data-page^="preemptions-"] .releve--fiches { border: 0; background: none; overflow: visible; }
	body[data-page^="preemptions-"] .releve--fiches thead,
	body[data-page^="preemptions-"] .releve--fiches colgroup { display: none; }
	body[data-page^="preemptions-"] .releve--fiches tr {
		margin-bottom: 1rem; border: 1px solid var(--filet); border-radius: 10px; overflow: hidden; background: var(--blanc);
	}
	body[data-page^="preemptions-"] .releve--fiches tbody th {
		position: static; box-shadow: none; background: var(--creme) !important; border-bottom: 1px solid var(--or-bord);
	}
	body[data-page^="preemptions-"] .releve--fiches td { background: var(--blanc) !important; }
	body[data-page^="preemptions-"] .releve--fiches td::before {
		content: attr(data-label); display: block; margin-bottom: .2rem;
		font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte);
	}
	.recap-releve { margin-top: 0; border-top: 1px solid var(--filet); border-radius: 10px; }
}
.releve--fiches col:nth-child(6) { width: 12rem; }
.releve--fiches col:nth-child(7) { width: 6.5rem; }
.releve--fiches thead th { overflow-wrap: normal; word-break: normal; hyphens: manual; }
body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches) { margin-bottom: 0; }
body[data-page^="preemptions-"] .releve--fiches { border-radius: 10px 10px 0 0; }
.recap-releve { margin-top: 0; }
@media (min-width: 761px) {
	body[data-page^="preemptions-"] .releve--fiches tbody th {
		position: sticky; left: 0; z-index: 1;
		box-shadow: 1px 0 0 var(--filet), 6px 0 8px -6px rgba(0, 0, 0, .12);
	}
}
.proto-texte > h2.partie:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Top 10 : colonnes larges, première colonne figée, défilement horizontal */
.releve--top { table-layout: fixed; width: 70rem; min-width: 100%; font-size: .86rem; }
.releve--top col:nth-child(1) { width: 15rem; }
.releve--top col:nth-child(2) { width: 4.5rem; }
.releve--top col:nth-child(3) { width: 7rem; }
.releve--top col:nth-child(4) { width: 8.5rem; }
.releve--top col:nth-child(5) { width: 8rem; }
.releve--top col:nth-child(6) { width: 11rem; }
.releve--top col:nth-child(7) { width: 8rem; }
.releve--top col:nth-child(8) { width: 8rem; }
.releve--top thead th { white-space: normal; letter-spacing: .05em; }
.releve--top td:nth-child(n+4) { font-variant-numeric: tabular-nums; }
.releve--top small { display: block; font-size: .74rem; color: var(--encre-douce); }
body[data-page^="preemptions-"] .releve--top thead th:first-child,
body[data-page^="preemptions-"] .releve--top tbody th {
	position: sticky; left: 0; z-index: 1;
	box-shadow: 1px 0 0 var(--filet), 6px 0 8px -6px rgba(0, 0, 0, .12);
}
body[data-page^="preemptions-"] .releve--top thead th:first-child { background: var(--creme); }
body[data-page^="preemptions-"] .releve--top tbody tr th { background: var(--blanc); }
body[data-page^="preemptions-"] .releve--top tbody tr:nth-child(odd) th { background: #f7f1ea; }
body[data-page^="preemptions-"] .releve--top { overflow: clip; }
body[data-page^="preemptions-"] .table-scroll:has(> .releve--top) { margin-bottom: 0; }
/* Grands écrans : même débord dans la marge de droite que les relevés, sans dépasser l'écran */
@media (min-width: 1400px) { body[data-page^="preemptions-"] .table-scroll:has(> .releve--top) { margin-right: -6rem; } }
@media (min-width: 1700px) { body[data-page^="preemptions-"] .table-scroll:has(> .releve--top) { margin-right: -14rem; } }
@media (min-width: 1900px) { body[data-page^="preemptions-"] .table-scroll:has(> .releve--top) { margin-right: -17rem; } }

/* === Cartes de chiffres clés (préemptions) ===================================
   Pastille d'icône teintée, libellé en capitales discrètes, grand chiffre en
   serif de la couleur de la carte, puces pour le détail (PLAI, T1…). */
.kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1rem 0 1.5rem;
}
.kpi {
	--k: #2f5f9e;
	display: flex; gap: 1rem; align-items: flex-start;
	padding: 1.25rem 1.2rem;
	border: 1px solid color-mix(in srgb, var(--k) 18%, white);
	border-radius: 14px;
	background: color-mix(in srgb, var(--k) 4%, white);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.kpi--bleu { --k: #2f5f9e; }
.kpi--or   { --k: #a67d4a; }
.kpi--vert { --k: #2f7d5c; }
.kpi__icone {
	flex: none; display: grid; place-items: center;
	width: 2.6rem; height: 2.6rem; border-radius: 10px;
	background: color-mix(in srgb, var(--k) 12%, white);
	color: color-mix(in srgb, var(--k) 85%, black);
}
.kpi__icone svg { width: 1.35rem; height: 1.35rem; }
.kpi__corps { min-width: 0; }
.proto-texte .kpi p { margin: 0; }
.kpi__label {
	font-family: var(--texte); font-size: .66rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	color: color-mix(in srgb, var(--k) 55%, #3a3a3a);
}
.kpi__valeur {
	margin-top: .35rem !important;
	font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.05;
	color: color-mix(in srgb, var(--k) 88%, black);
	font-variant-numeric: lining-nums;
}
.kpi__valeur small { font-size: .55em; color: var(--encre-douce); }
.kpi__sous { margin-top: .45rem !important; font-size: .8rem; line-height: 1.45; color: var(--encre-douce); }
.proto-texte .kpi__puces { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.proto-texte .kpi__puces li {
	margin: 0; padding: .2rem .55rem; border-radius: 999px;
	font-size: .76rem; font-weight: 600; white-space: nowrap;
	background: color-mix(in srgb, var(--k) 10%, white);
	color: color-mix(in srgb, var(--k) 85%, black);
}
.proto-texte .kpi__puces li::before { content: none; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .kpis { grid-template-columns: 1fr; } }
.proto-texte .kpi .kpi__label { font-family: var(--texte); font-size: .66rem; font-weight: 600; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--k) 55%, #3a3a3a); }
.proto-texte .kpi .kpi__valeur { margin-top: .4rem; font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); font-weight: 600; line-height: 1; color: color-mix(in srgb, var(--k) 88%, black); }
.proto-texte .kpi .kpi__sous { margin-top: .5rem; font-size: .8rem; line-height: 1.45; color: var(--encre-douce); }

/* Cartes groupées par thème : les biens, les montants, les logements financés */
.kpis-groupe { margin: 1rem 0 1.25rem; }
.kpis-groupe__titre {
	margin-bottom: .5rem; padding-bottom: .3rem;
	font-family: var(--texte); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--encre-douce); border-bottom: 1px solid var(--filet);
}
.kpis-groupe .kpis { margin: 0; }
.kpis--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpis--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpis--un { grid-template-columns: minmax(0, 1fr); max-width: 50%; }
@media (max-width: 600px) { .kpis--quatre, .kpis--deux, .kpis--un { grid-template-columns: 1fr; max-width: none; } }
/* Première puce = couverture « X / N biens », même place et même style sur toutes les cartes */
.proto-texte .kpi__puces li:first-child { background: var(--blanc); border: 1px solid color-mix(in srgb, var(--k) 25%, white); color: var(--encre-douce); }

/* === Repères de lecture (page des préemptions) ================================ */
/* Année : bandeau beige, grand millésime doré, filet or à gauche */
body[data-page^="preemptions-"] .proto-texte > h3.annee {
	margin: 3rem 0 1.25rem;
	padding: .7rem 1.1rem .6rem;
	background: var(--beige);
	border-left: 5px solid var(--or);
	border-radius: 0 10px 10px 0;
	font-family: var(--serif);
	font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem);
	font-weight: 600;
	line-height: 1;
	color: var(--or-sombre);
}
/* Titre de groupe de cartes : couleur du thème et pastille */
.kpis-groupe--bleu { --t: #2f5f9e; }
.kpis-groupe--or   { --t: #a67d4a; }
.kpis-groupe--vert { --t: #2f7d5c; }
.kpis-groupe__titre {
	display: flex; align-items: center; gap: .5rem;
	font-size: .78rem; letter-spacing: .14em;
	color: color-mix(in srgb, var(--t, #4a4a4a) 85%, black);
	border-bottom: 2px solid color-mix(in srgb, var(--t, #4a4a4a) 25%, white);
}
.kpis-groupe__titre::before {
	content: ""; width: .6rem; height: .6rem; border-radius: 50%;
	background: var(--t, var(--or));
}
/* Arrondissement : petit filet or au-dessus */
body[data-page^="preemptions-"] .proto-texte > h4 {
	margin-top: 2.25rem; padding-top: .6rem;
	border-top: 2px solid var(--or-bord);
	font-size: 1.2rem;
}
/* Titres de rubrique (chiffres clés, année par année, arrondissements, détail) */
body[data-page^="preemptions-"] .proto-texte > h3:not(.annee) {
	margin: 2.75rem 0 1rem; padding-bottom: .4rem;
	font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem);
	color: var(--noir);
	border-bottom: 1px solid var(--filet);
	box-shadow: 0 1px 0 0 transparent;
	background: linear-gradient(var(--or), var(--or)) left bottom / 3rem 2px no-repeat;
}

/* === Tableau « Année par année » : icônes d'en-tête, couleur par type de chiffre === */
.an--bleu { --a: #2f5f9e; }
.an--or   { --a: #8a5a2b; }
.an--vert { --a: #2f7d5c; }
.an__periode {
	display: flex; align-items: center; gap: .5rem; width: max-content; margin: -.25rem 0 .75rem auto !important;
	padding: .4rem .9rem; border-radius: 999px; background: #eef2f8; color: #2f4a78; font-size: .85rem; font-weight: 600;
}
.an__periode svg { width: 1.1rem; height: 1.1rem; }
.tableau-annees {
	width: 100%; min-width: 50rem; border-collapse: separate; border-spacing: 0;
	border: 1px solid var(--filet); border-radius: 14px; overflow: hidden; background: var(--blanc); font-size: .9rem;
}
.tableau-annees thead th {
	padding: .9rem .6rem .8rem; vertical-align: bottom; text-align: center;
	background: var(--creme); border-bottom: 1px solid var(--filet); border-right: 1px solid var(--filet);
	font-family: var(--texte); font-size: .78rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; text-transform: none;
	color: color-mix(in srgb, var(--a) 90%, black);
}
.tableau-annees thead th svg { display: block; width: 1.6rem; height: 1.6rem; margin: 0 auto .45rem; }
.tableau-annees th:last-child, .tableau-annees td:last-child { border-right: 0; }
.tableau-annees tbody th, .tableau-annees tbody td {
	padding: .9rem .6rem; text-align: center; vertical-align: middle;
	border-bottom: 1px solid var(--filet); border-right: 1px solid var(--filet);
	font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--a) 90%, black); white-space: nowrap;
}
.tableau-annees tbody th { text-align: left; padding-left: 1rem; font-family: var(--texte); font-size: 1.05rem; background: transparent; }
.tableau-annees small { display: block; margin-top: .15rem; font-size: .74rem; font-weight: 400; color: var(--encre-douce); }
.tableau-annees .an__nr { font-size: .74rem; font-weight: 400; line-height: 1.4; color: #8a857b; }
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(odd) th,
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(odd) td { background: #faf6f1; }
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total th,
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total td {
	background: #eef2f8; border-bottom: 0; font-size: 1.15rem;
}
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total th { font-size: 1.2rem; }
body[data-page^="preemptions-"] .tableau-annees tbody tr:hover td,
body[data-page^="preemptions-"] .tableau-annees tbody tr:hover th { background: #f3ece2; }

/* === Échelle harmonisée (page des préemptions) ===============================
   Un seul jeu de tailles : titres de rubrique 1,3 rem, bandeau d'année 1,6 rem,
   grands chiffres des cartes 1,6 rem, chiffres des tableaux 0,9 rem. */
body[data-page^="preemptions-"] .proto-texte > h3:not(.annee) { font-size: 1.3rem; margin: 2.25rem 0 .9rem; }
body[data-page^="preemptions-"] .proto-texte > h3.annee { font-size: 1.6rem; padding: .55rem 1rem .5rem; margin: 2.5rem 0 1rem; }
body[data-page^="preemptions-"] .proto-texte > h4 { font-size: 1.1rem; }

/* Cartes */
.kpis { gap: .75rem; }
.kpi { padding: .95rem 1rem; gap: .8rem; border-radius: 12px; }
.kpi__icone { width: 2.1rem; height: 2.1rem; border-radius: 8px; }
.kpi__icone svg { width: 1.1rem; height: 1.1rem; }
.proto-texte .kpi .kpi__label { font-size: .62rem; letter-spacing: .12em; }
.proto-texte .kpi .kpi__valeur { font-size: 1.6rem; margin-top: .3rem; }
.proto-texte .kpi .kpi__sous { font-size: .76rem; margin-top: .4rem; }
.proto-texte .kpi__puces { margin-top: .45rem; gap: .3rem; }
.proto-texte .kpi__puces li { font-size: .7rem; padding: .15rem .5rem; }
.kpis-groupe { margin: .75rem 0 1rem; }
.kpis-groupe__titre { font-size: .7rem; }

/* Tableau année par année */
.tableau-annees { font-size: .85rem; }
.tableau-annees thead th { font-size: .72rem; padding: .7rem .5rem .6rem; }
.tableau-annees thead th svg { width: 1.25rem; height: 1.25rem; margin-bottom: .35rem; }
.tableau-annees tbody th, .tableau-annees tbody td { font-size: .9rem; padding: .65rem .5rem; }
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total th,
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total td { font-size: .95rem; }
.tableau-annees small, .tableau-annees .an__nr { font-size: .7rem; }
.an__periode { font-size: .78rem; padding: .3rem .75rem; }
.an__periode svg { width: .95rem; height: .95rem; }
/* Pastille de période, plus discrète */
.an__periode { gap: .35rem; margin: -.4rem 0 .6rem auto !important; padding: .2rem .6rem; font-size: .7rem; font-weight: 600; }
.an__periode svg { width: .8rem; height: .8rem; }

/* === Relevés : présentation « fiche » (modèle validé) ========================= */
body[data-page^="preemptions-"] .proto-texte > h4 { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.h5__puce {
	padding: .2rem .65rem; border-radius: 999px; background: var(--beige);
	font-family: var(--texte); font-size: .72rem; font-weight: 400; color: var(--encre-douce);
}
/* En-têtes avec icône, couleur par thème */
.releve--fiches thead th {
	vertical-align: middle; background: var(--blanc) !important; border-bottom: 1px solid var(--filet);
	font-size: .74rem !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important;
	color: color-mix(in srgb, var(--a, #2f5f9e) 90%, black) !important;
}
.releve--fiches thead th svg { display: inline-block; vertical-align: -.35em; width: 1.2rem; height: 1.2rem; margin-right: .35rem; }
.releve--fiches thead th span { display: inline; }
/* Adresse et dates */
.releve--fiches .fi__adr { display: flex; align-items: flex-start; gap: .5rem; }
.releve--fiches .fi__adr .releve__num { flex: none; width: 1.6rem; height: 1.6rem; min-width: 0; margin: 0; background: #3b5a8c; font-size: .72rem; }
.releve--fiches .fi__adr b { font-size: .92rem; line-height: 1.3; }
.releve--fiches .fi__date { display: block; margin-top: .4rem; font-size: .76rem; font-weight: 400; line-height: 1.5; color: var(--encre-douce); }
/* Occupation en puce */
.releve--fiches .fi__puce { display: inline-block; margin-top: .4rem; padding: .2rem .5rem; border-radius: 6px; background: #eef2f8; color: #2f4a78; font-size: .74rem; line-height: 1.35; }
/* Programme : nombres en vert */
.releve--fiches .fi__p { display: block; margin-bottom: .4rem; font-size: .82rem; line-height: 1.4; color: var(--encre-douce); }
.releve--fiches .fi__p b { color: #2f7d5c; font-weight: 700; }
.releve--fiches .fi__p:first-child { color: #2f7d5c; font-weight: 600; }
.releve--fiches .fi__p--doux b { color: #2f7d5c; }
/* Données financières */
.releve--fiches .f__n { display: block; font-size: .72rem; font-weight: 400; color: var(--encre-douce); }
.releve--fiches .f--nr { font-size: .74rem; font-style: italic; color: #8a857b; }
/* Sources : boutons contourés et état de la délibération */
.releve--fiches .fi__btn {
	display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .35rem; padding: .3rem .6rem;
	border: 1px solid color-mix(in srgb, var(--or) 55%, white); border-radius: 7px; background: var(--blanc);
	font-size: .76rem; font-weight: 600; color: var(--or-sombre); text-decoration: none; white-space: nowrap;
}
.releve--fiches .fi__btn:hover { background: var(--or-voile); }
.releve--fiches .fi__etat { display: block; margin: -.1rem 0 .5rem; font-size: .72rem; color: var(--encre-douce); }
.releve--fiches .fi__etat--projet { display: inline-block; padding: .15rem .5rem; border-radius: 6px; background: #fbf1d8; color: #7a5a1d; }
.releve--fiches .fi__etat--ok { color: #2f7d5c; font-weight: 600; }
.releve--fiches td:last-child { display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 760px) { .releve--fiches td:last-child { display: block; } }
.releve--fiches td:last-child { display: table-cell; }
.releve--fiches .fi__btn { display: flex; width: max-content; }
.releve--fiches .fi__etat--projet { display: block; width: max-content; }
.releve--fiches .fi__etat--projet { width: auto; white-space: normal; }
.releve--fiches { width: 73rem; }
.releve--fiches col:nth-child(8) { width: 8.5rem; }
.releve--fiches .fi__puce { margin-left: 0; }
@media (max-width: 760px) { .releve--fiches .fi__puce { margin-left: .4rem; } }
/* Titre de rubrique + pastille de période sur la même ligne, à droite */
body[data-page^="preemptions-"] .proto-texte > h3.avec-periode { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.proto-texte h3.avec-periode .an__periode { margin: 0 !important; font-size: .85rem; font-family: var(--texte); font-weight: 600; letter-spacing: 0; text-transform: none; padding: .25rem .7rem; }
.proto-texte h3.avec-periode .an__periode svg { width: .95rem; height: .95rem; }
/* En-têtes des relevés : texte neutre sur fond bleu-vert léger */
.releve--fiches thead th {
	background: #e7f0ee !important;
	color: #2c3a38 !important;
	border-bottom: 1px solid #cfe0dc;
}
body[data-page^="preemptions-"] .releve--fiches thead th:first-child { background: #e7f0ee !important; }

/* Relevés : sobriété — une seule couleur, le fond bleu-vert léger de la colonne Adresse */
.releve--fiches thead th { background: var(--blanc) !important; color: #2c3a38 !important; border-bottom: 1px solid var(--filet); }
body[data-page^="preemptions-"] .releve--fiches thead th:first-child,
body[data-page^="preemptions-"] .releve--fiches tbody tr th,
body[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(odd) th { background: #e9f2f0 !important; }
body[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(odd) td,
body[data-page^="preemptions-"] .releve--fiches tbody tr td { background: var(--blanc); }
body[data-page^="preemptions-"] .releve--fiches tbody tr:hover td { background: #fafaf8; }
body[data-page^="preemptions-"] .releve--fiches tbody tr:hover th { background: #e0ece9 !important; }
.releve--fiches .fi__p b, .releve--fiches .fi__p--doux b { color: var(--encre); }
.releve--fiches .fi__p:first-child { color: var(--encre); }
.releve--fiches .fi__puce { background: #f1f0ec; color: var(--encre-douce); }
.releve--fiches .fi__adr .releve__num { background: #4a5553; }
@media (max-width: 760px) {
	body[data-page^="preemptions-"] .releve--fiches tbody th { background: #e9f2f0 !important; }
}

/* Relevés : colonnes teintées comme les cartes — Bien en bleu, Programme et Catégories en vert */
body[data-page^="preemptions-"] .releve--fiches thead th:first-child,
body[data-page^="preemptions-"] .releve--fiches tbody tr th,
body[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(odd) th { background: var(--blanc) !important; }
body[data-page^="preemptions-"] .releve--fiches tbody tr:hover th { background: #fafaf8 !important; }
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(2),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(2) { background: color-mix(in srgb, #2f5f9e 5%, white) !important; }
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(4),
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(5),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(4),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(5) { background: color-mix(in srgb, #2f7d5c 5%, white) !important; }
@media (max-width: 760px) {
	body[data-page^="preemptions-"] .releve--fiches tbody th { background: var(--creme) !important; }
}
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(2),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(2) { background: color-mix(in srgb, #2f5f9e 8%, white) !important; }
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(4),
body[data-page^="preemptions-"] .releve--fiches thead th:nth-child(5),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(4),
body[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(5) { background: color-mix(in srgb, #2f7d5c 8%, white) !important; }
.releve--fiches .fi__adr .releve__num { background: #3b5a8c; }
/* Colonne Adresse / date figée au défilement horizontal :
   « clip » garde les coins arrondis sans bloquer position: sticky */
body[data-page^="preemptions-"] .releve--fiches { overflow: clip; }
@media (min-width: 761px) {
	body[data-page^="preemptions-"] .releve--fiches thead th:first-child,
	body[data-page^="preemptions-"] .releve--fiches tbody th {
		position: sticky; left: 0; z-index: 2;
		box-shadow: 1px 0 0 var(--filet), 6px 0 8px -6px rgba(0, 0, 0, .15);
	}
}

/* Renvoi entre les trois pages des préemptions (logement social, commerces, équipements) */
.renvoi-preemptions {
	padding: .6rem .9rem;
	background: var(--beige);
	border-left: 3px solid var(--or);
	border-radius: 0 8px 8px 0;
	font-size: .95rem;
	margin: 0 0 1.5rem;
}
.renvoi-preemptions + h2.partie { margin-top: 2.5rem; }

/* === Chiffres clés, version sobre (maquette validée) ==========================
   Cartes blanches à filet neutre : la couleur du thème ne reste que sur l'icône
   et le chiffre. Le chiffre vient d'abord, son libellé en dessous. */
.kpi {
	background: var(--blanc);
	border-color: var(--filet);
	box-shadow: none;
}
.kpi__icone {
	width: 1.6rem; height: 1.6rem; border-radius: 0;
	background: none;
	color: color-mix(in srgb, var(--k) 80%, black);
}
.kpi__icone svg { width: 1.45rem; height: 1.45rem; }
.proto-texte .kpi .kpi__valeur { margin-top: 0; font-size: 1.6rem; }
.proto-texte .kpi .kpi__label {
	margin-top: .15rem;
	font-family: var(--serif); font-size: 1.02rem; font-weight: 500;
	letter-spacing: 0; text-transform: none;
	color: var(--noir);
}
.proto-texte .kpi__puces li,
.proto-texte .kpi__puces li:first-child {
	background: var(--creme); border: 1px solid var(--filet);
	font-weight: 600; color: var(--encre-douce);
}
/* Titres de groupe : icône au lieu de la pastille, texte neutre */
.kpis-groupe__titre {
	color: var(--encre-douce);
	border-bottom: 0;
}
.kpis-groupe__titre::before { content: none; }
.kpis-groupe__titre svg {
	flex: none; width: 1rem; height: 1rem;
	color: color-mix(in srgb, var(--t) 85%, black);
}

/* Note d'information sous les chiffres clés (pages des préemptions seulement :
   le composant .note-info du site garde ailleurs sa présentation d'origine) */
body[data-page^="preemptions-"] .note-info {
	display: flex; gap: .9rem; align-items: flex-start;
	margin: 1rem 0 1.5rem; padding: .9rem 1.1rem;
	background: #f7f3ed; border: 1px solid var(--filet); border-radius: 12px;
}
body[data-page^="preemptions-"] .note-info svg { flex: none; width: 1.6rem; height: 1.6rem; color: var(--or-sombre); }
body[data-page^="preemptions-"] .proto-texte .note-info p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--encre-douce); }

/* Tableau « Année par année » : en-têtes neutres, chiffres en noir, année en bleu */
.tableau-annees thead th { color: var(--encre-douce); vertical-align: middle; }
.tableau-annees tbody th,
.tableau-annees tbody td { color: var(--noir); font-weight: 500; }
.tableau-annees tbody th { color: #2f5f9e; font-weight: 600; }
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(odd) th,
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(odd) td { background: var(--blanc); }
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(even) th,
body[data-page^="preemptions-"] .tableau-annees tbody tr:nth-child(even) td { background: #faf8f4; }
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total th,
body[data-page^="preemptions-"] .tableau-annees tbody tr.an__total td {
	background: #f3ece2; color: var(--noir); font-weight: 700;
}

/* Colonne « Catégories et tailles » : un bloc par catégorie, une puce par taille */
.releve--fiches .fi__cat { display: block; margin-bottom: .7rem; }
.releve--fiches .fi__cat:last-child { margin-bottom: 0; }
.releve--fiches .fi__cat-t { display: block; font-size: .84rem; font-weight: 600; color: var(--noir); }
.releve--fiches .fi__cat-t abbr { text-decoration: none; font-weight: 700; color: #2f7d5c; }
.releve--fiches .fi__tailles { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.releve--fiches .fi__tailles span {
	padding: .1rem .45rem; border-radius: 999px;
	background: var(--blanc); border: 1px solid var(--filet);
	font-size: .76rem; white-space: nowrap; color: var(--encre-douce);
}
.releve--fiches col:nth-child(5) { width: 10.5rem; }
.releve--fiches .fi__cat-t { white-space: nowrap; }
.releve--fiches .fi__cat-t abbr {
	display: inline-block; margin-right: .3rem; padding: .05rem .4rem; border-radius: 4px;
	background: color-mix(in srgb, #2f7d5c 12%, white); font-size: .76rem; letter-spacing: .02em;
}

/* Logements financés : une carte, deux barres de répartition (financement, taille) */
.kpis--plein { grid-template-columns: minmax(0, 1fr); }
.repart { margin-top: 1.1rem; }
.repart__titre { font-size: .78rem; font-weight: 600; color: var(--noir); }
.repart__barre {
	display: flex; gap: 2px; height: .7rem; margin-top: .4rem;
	border-radius: 999px; overflow: hidden;
}
.proto-texte .repart__leg {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem 1rem;
	margin: .6rem 0 0; padding: 0; list-style: none;
}
.proto-texte .repart__leg li { margin: 0; padding: 0; font-size: .85rem; line-height: 1.3; color: var(--noir); }
.proto-texte .repart__leg li::before { content: none; }
.repart__leg i { display: inline-block; width: .65rem; height: .65rem; margin-right: .4rem; border-radius: 2px; vertical-align: .02rem; }
.repart__leg small { display: block; margin-left: 1.05rem; font-size: .74rem; color: var(--encre-douce); }
.kpi--repart .kpi__corps { flex: 1; }
.repart-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
@media (max-width: 760px) { .repart-duo { grid-template-columns: 1fr; } }
.proto-texte .repart__leg { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }

/* === Page des litiges avec les bailleurs sociaux ================================
   Tableaux de décisions : première colonne fixe au défilement horizontal,
   fiches empilées sur mobile. Filtres en boutons au-dessus de chaque tableau. */
body[data-page="litiges-bailleurs-sociaux"] .proto-texte > h3 { margin: 2.25rem 0 .9rem; }
body[data-page="litiges-bailleurs-sociaux"] .table-scroll { margin: .75rem 0 1.25rem; }
body[data-page="litiges-bailleurs-sociaux"] .li-familles { margin: 0; max-width: 28rem; }
body[data-page="litiges-bailleurs-sociaux"] .li-familles td { text-align: right; font-variant-numeric: tabular-nums; }
body[data-page="litiges-bailleurs-sociaux"] .li-familles__total th,
body[data-page="litiges-bailleurs-sociaux"] .li-familles__total td { font-weight: 700; background: #f3ece2; }

/* Filtres */
.li-filtres { display: grid; gap: .55rem; margin: .5rem 0 .25rem; }
.li-filtres__groupe { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.li-filtres__titre { margin-right: .35rem; font-size: .78rem; font-weight: 600; color: var(--encre-douce); }
.li-filtre {
	padding: .28rem .7rem; border: 1px solid var(--filet); border-radius: 999px;
	background: var(--blanc); font: inherit; font-size: .8rem; color: var(--noir); cursor: pointer;
}
.li-filtre small { margin-left: .2rem; font-size: .72rem; color: var(--encre-douce); }
.li-filtre:hover { border-color: var(--or-bord); }
.li-filtre.actif { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.li-filtre.actif small { color: rgba(255, 255, 255, .75); }
.proto-texte .li-filtres__compte { margin: .15rem 0 0; font-size: .8rem; color: var(--encre-douce); }

/* Tableau */
.litiges {
	width: 100%; border-collapse: separate; border-spacing: 0;
	border: 1px solid var(--filet); border-radius: 12px; overflow: clip;
	background: var(--blanc); font-size: .84rem; line-height: 1.45;
}
.litiges--fraude { min-width: 86rem; }
.litiges--insalubrite { min-width: 96rem; }
.litiges thead th {
	padding: .7rem .75rem; text-align: left; vertical-align: bottom;
	background: var(--creme); border-bottom: 1px solid var(--filet);
	font-family: var(--texte); font-size: .76rem; font-weight: 600; letter-spacing: 0; text-transform: none;
	color: var(--encre-douce);
}
.litiges tbody th, .litiges tbody td {
	padding: .85rem .75rem; text-align: left; vertical-align: top;
	border-bottom: 1px solid var(--filet); font-weight: 400; color: var(--noir);
}
.litiges tbody tr:last-child > * { border-bottom: 0; }
.litiges tbody tr:nth-child(even) > * { background: #faf8f4; }
.litiges tbody th { width: 10rem; background: var(--blanc); }
.litiges--fraude td:nth-child(2), .litiges--insalubrite td:nth-child(2) { width: 7.5rem; font-weight: 600; }
.litiges--fraude td:nth-child(6), .litiges--insalubrite td:nth-child(6) { width: 17rem; }
.litiges td:last-child { width: 7rem; }

.litiges .li__date { display: block; font-weight: 700; }
.litiges .li__jur { display: block; }
.litiges .li__ref { display: block; font-size: .76rem; color: var(--encre-douce); }
.litiges .li__stade {
	display: inline-block; margin-top: .4rem; padding: .1rem .45rem; border-radius: 4px;
	background: #f3ece2; font-size: .7rem; line-height: 1.35; color: var(--encre-douce);
}
.litiges .li__fam {
	display: inline-block; margin-bottom: .3rem; padding: .1rem .5rem; border-radius: 999px;
	background: color-mix(in srgb, #2f5f9e 10%, white); font-size: .74rem; font-weight: 600; color: #2f4a78;
}
.litiges .li__theme { display: block; color: var(--encre-douce); }
.litiges .li__sens {
	display: inline-block; margin-bottom: .35rem; padding: .1rem .5rem; border-radius: 999px;
	font-size: .72rem; font-weight: 700;
}
.litiges .li__sens--favorable { background: color-mix(in srgb, #2f7d5c 13%, white); color: #245f46; }
.litiges .li__sens--mixte { background: color-mix(in srgb, #c08a2e 16%, white); color: #7a5518; }
.litiges .li__sens--defavorable { background: #ececec; color: #4a4a4a; }
.litiges .li__txt { display: block; }
.litiges .li__on { display: block; margin-top: .3rem; font-size: .76rem; color: var(--encre-douce); }
.litiges .li__on b { color: var(--noir); }
.litiges .li__lecon { display: block; font-style: italic; color: var(--encre-douce); }
.litiges .li__btn {
	display: inline-flex; gap: .25rem; padding: .25rem .6rem; border: 1px solid var(--or-bord); border-radius: 6px;
	font-size: .76rem; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--or-sombre);
}
.litiges .li__btn:hover { background: var(--beige); }

/* Première colonne fixe pendant le défilement horizontal */
@media (min-width: 761px) {
	.litiges thead th:first-child, .litiges tbody th {
		position: sticky; left: 0; z-index: 2;
		box-shadow: 1px 0 0 var(--filet), 6px 0 8px -6px rgba(0, 0, 0, .15);
	}
	.litiges thead th:first-child { background: var(--creme); }
}

/* Mobile : une fiche par décision */
@media (max-width: 760px) {
	.litiges--fraude, .litiges--insalubrite { min-width: 0; border: 0; background: none; }
	.litiges thead { display: none; }
	.litiges, .litiges tbody, .litiges tr, .litiges tbody th, .litiges tbody td { display: block; width: auto !important; }
	.litiges tbody tr {
		margin-bottom: 1rem; border: 1px solid var(--filet); border-radius: 12px; overflow: hidden; background: var(--blanc);
	}
	.litiges tbody tr:nth-child(even) > * { background: var(--blanc); }
	.litiges tbody tr > * { border-bottom: 1px solid var(--filet); }
	.litiges tbody tr > :last-child { border-bottom: 0; }
	.litiges tbody th { background: var(--creme) !important; }
	.litiges tbody td::before {
		content: attr(data-label); display: block; margin-bottom: .2rem;
		font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-douce);
	}
	.litiges tbody tr[hidden] { display: none; }
}

/* --- Tableaux triables (js/tri-tableaux.js) ------------------------------- */
table[data-tri] thead th { padding: 0; }
table[data-tri] thead .tri {
	display: block;
	width: 100%;
	padding: .75rem .9rem;
	border: 0;
	background: none;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: inherit;
	color: inherit;
	cursor: pointer;
}
table[data-tri] thead .tri::after {
	content: "↕";
	margin-left: .35em;
	opacity: .35;
	letter-spacing: 0;
}
table[data-tri] thead [aria-sort="ascending"] .tri::after { content: "↑"; opacity: 1; }
table[data-tri] thead [aria-sort="descending"] .tri::after { content: "↓"; opacity: 1; }
table[data-tri] thead .tri:hover,
table[data-tri] thead .tri:focus-visible { color: var(--encre); }

/* Fiches des préemptions : colonne « Coût global » entre les données
   financières et la subvention (9 colonnes au lieu de 8) */
.releve--fiches { width: 80rem; }
.releve--fiches col:nth-child(6) { width: 11.5rem; }
.releve--fiches col:nth-child(7) { width: 6.5rem; }
.releve--fiches col:nth-child(8) { width: 6.5rem; }
.releve--fiches col:nth-child(9) { width: 8.5rem; }

/* --- Onglets (ordinateur) / accordéon (téléphone) : js/onglets.js ------------
   Utilisé pour les plafonds de ressources 2026 (composants/plafonds-2026.html). */
.onglets { margin: 1.4rem 0 1.8rem; }
.onglet--plai, .onglets__bouton--plai { --c: var(--plai); }
.onglet--plus, .onglets__bouton--plus { --c: var(--plus); }
.onglet--pls,  .onglets__bouton--pls  { --c: var(--pls); }
.onglet--pli,  .onglets__bouton--pli  { --c: var(--pli-fonce); }

.onglet {
	margin-bottom: .6rem;
	border: 1px solid var(--filet);
	border-left: 5px solid var(--c, var(--or));
	border-radius: 10px;
	background: var(--blanc);
	overflow: hidden;
}
.onglet > summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .15rem .7rem;
	padding: .85rem 1rem;
	cursor: pointer;
	list-style: none;
}
.onglet > summary::-webkit-details-marker { display: none; }
.onglet > summary::after {
	content: "+";
	margin-left: auto;
	color: var(--c, var(--or));
	font-size: 1.3rem;
	line-height: 1;
}
.onglet[open] > summary::after { content: "−"; }
.onglet > summary:focus-visible { outline: 2px solid var(--c, var(--or)); outline-offset: -2px; }
.onglet__sigle { font-family: var(--titre); font-weight: 700; font-size: 1.05rem; color: var(--c, var(--or)); }
.onglet__nom { font-size: .88rem; color: var(--encre); }
.onglet__pour { flex-basis: 100%; font-size: .78rem; color: var(--encre-douce); }
.onglet__panneau { margin: 0; border-top: 1px solid var(--filet); }
.onglet__panneau .plafonds { margin: 0; border: 0; border-radius: 0; }

.onglets__barre { display: none; }
.onglets--actifs .onglets__barre { display: flex; gap: .4rem; }
.onglets__bouton {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .1rem;
	padding: .7rem 1.1rem .6rem;
	border: 1px solid var(--filet);
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	background: var(--creme);
	color: var(--encre);
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.onglets__bouton .onglet__sigle { color: var(--c); }
.onglets__bouton .onglet__pour { flex-basis: auto; }
.onglets__bouton[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.onglets__bouton[aria-selected="true"] .onglet__sigle,
.onglets__bouton[aria-selected="true"] .onglet__nom,
.onglets__bouton[aria-selected="true"] .onglet__pour { color: #fff; }
.onglets__bouton:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.onglets--actifs > .onglet > summary { display: none; }
.onglets--actifs > .onglet:not([open]) { display: none; }
.onglets--actifs > .onglet { margin: 0; border-left-width: 1px; border-top: 4px solid var(--c); border-radius: 0 10px 10px 10px; }
.onglets--actifs .onglet__panneau { border-top: 0; }


/* 16 CHIFFRES CLÉS : GRAPHIQUES D'ÉVOLUTION ET ONGLETS GÉOGRAPHIQUES
   Graphiques dessinés par js/graphiques.js (données : donnees/series-logement-social.json,
   produites par outils/chiffres-cles-graphiques.py) ; onglets Paris / Île-de-France / France
   par js/onglets-perimetres.js. Sans JavaScript, tout reste lisible.
   -------------------------------------------------------------------------- */
.proto-texte .graph { margin: 2.25rem 0 3rem; position: relative; }

.graph__entete {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: .5rem 1rem; margin-bottom: .6rem;
}
.proto-texte .graph__titre {
	margin: 0; font: 600 1rem/1.35 var(--titre); color: var(--encre);
}

.graph__vues, .graph__bascule { display: inline-flex; border: 1px solid var(--filet); border-radius: var(--radius); overflow: hidden; }
.graph__vues button, .graph__bascule button {
	font: 500 .78rem/1 var(--texte); color: var(--encre-douce);
	background: #fff; border: 0; padding: .5rem .75rem; cursor: pointer;
	min-height: 2rem;
}
.graph__vues button + button, .graph__bascule button + button { border-left: 1px solid var(--filet); }
.graph__vues button[aria-selected="true"], .graph__bascule button[aria-pressed="true"] {
	background: var(--encre); color: #fff;
}
.graph__vues button:focus-visible, .graph__bascule button:focus-visible,
.graph__export:focus-visible, .graph__svg:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

.graph__options {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: .5rem 1rem; margin-bottom: .4rem;
}
.graph__options[hidden] { display: none; }
.graph__legende { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font: .8rem/1.4 var(--texte); color: var(--encre-douce); }
.graph__legende span { display: inline-flex; align-items: center; gap: .4rem; }
.graph__legende i { width: .75rem; height: .75rem; border-radius: 2px; display: inline-block; }

.graph__zone { display: grid; gap: 1.25rem 2rem; }
@media (min-width: 640px) {
	.graph__zone--2, .graph__zone--4 { grid-template-columns: 1fr 1fr; }
	.graph__zone--4 .graph__ptitre { min-height: 2.7em; }
}
.graph__cadre { position: relative; }
.proto-texte .graph__ptitre { margin: 0 0 .2rem; font: 600 .82rem/1.35 var(--titre); color: var(--encre); }
.graph__bascule[hidden] { display: none; }
.graph__svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.graph__svg text { font-family: var(--texte); }
.graph__svg .grille { stroke: var(--filet); stroke-width: 1; }
.graph__svg .base { stroke: #b9b2a5; stroke-width: 1; }
.graph__svg .axe { font-size: 11px; fill: #6b665d; }
.graph__svg .periode { font-size: 11px; font-weight: 600; fill: var(--encre); }
.graph__svg .moyenne { stroke: var(--encre); stroke-width: 1.5; stroke-dasharray: 5 4; }
.graph__svg .moyenne-txt { font-size: 11px; fill: var(--encre-douce); }
.graph__svg .bande { fill: rgba(166, 125, 74, .07); }
.graph__svg .valeur { font-size: 11px; font-weight: 600; fill: var(--encre); }
.graph__svg .seg { stroke: #fff; stroke-width: 1.5; }
.graph__svg .colonne { fill: transparent; }
.graph__svg .viseur { pointer-events: none; }
.graph__svg .colonne.active { fill: rgba(26, 26, 26, .05); }

.graph__bulle {
	position: absolute; z-index: 5; pointer-events: none;
	min-width: 12rem; max-width: 17rem;
	background: #fff; border: 1px solid var(--filet); border-radius: var(--radius);
	box-shadow: var(--ombre); padding: .55rem .7rem;
	font: .8rem/1.45 var(--texte); color: var(--encre);
}
.graph__bulle[hidden] { display: none; }
.graph__bulle b { font: 600 .85rem/1.3 var(--titre); display: block; margin-bottom: .2rem; }
.graph__bulle .ligne { display: flex; align-items: center; gap: .45rem; }
.graph__bulle .ligne i { width: .6rem; height: .6rem; border-radius: 2px; flex: none; }
.graph__bulle .ligne span:last-child { margin-left: auto; padding-left: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.graph__bulle .ligne.total { border-top: 1px solid var(--filet); margin-top: .25rem; padding-top: .25rem; font-weight: 600; }
.graph__bulle small { display: block; color: var(--encre-douce); margin-top: .3rem; font-size: .74rem; line-height: 1.4; }

.proto-texte .graph__source, .proto-texte .graph__note {
	margin: .65rem 0 0; text-align: left; font-size: .8rem; line-height: 1.5; color: #6b665d;
}
.graph__source[hidden] { display: none; }

.graph__actions { margin-top: .6rem; }
.graph__export {
	font: 500 .78rem/1 var(--texte); color: var(--or-texte);
	background: none; border: 1px solid var(--or-bord); border-radius: var(--radius);
	padding: .5rem .75rem; cursor: pointer;
}
.graph__export:hover { background: var(--or-voile); }

.graph__donnees { margin-top: .6rem; font-size: .85rem; }
.graph__donnees summary { cursor: pointer; color: var(--or-texte); font-weight: 600; }
.graph__defile { overflow-x: auto; max-height: 22rem; overflow-y: auto; margin-top: .5rem; border: 1px solid var(--filet); }
.graph__defile table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.graph__defile caption { text-align: left; font-size: .78rem; color: #6b665d; padding: .4rem .6rem; }
.graph__defile th, .graph__defile td { padding: .3rem .6rem; border-bottom: 1px solid var(--filet); text-align: left; white-space: nowrap; }
.graph__defile thead th { position: sticky; top: 0; background: var(--creme); font-weight: 600; }
.graph__defile .num { text-align: right; }
.graph__defile tr.total { font-weight: 600; }
[data-vue-table][hidden] { display: none; }


.insec { white-space: nowrap; }

.proto-texte .graph__lien { margin: .5rem 0 0; font-size: .85rem; }
.graph__defile td.ecart { background: #fff4e0; }

/* ---------- Barre d'onglets ---------- */
.perimetres__barre {
	position: sticky; top: 0; z-index: 40;
	margin: 0 0 1.75rem; padding: .6rem 0;
	background: var(--creme);
	border-bottom: 1px solid var(--filet);
}
.perimetres__liste { display: flex; gap: .4rem; }
.perimetres__onglet {
	flex: 1 1 0; min-height: 2.75rem; padding: .55rem .8rem;
	border: 1px solid var(--filet); border-radius: var(--radius);
	background: var(--blanc); color: var(--encre);
	font: 600 .92rem/1.2 var(--titre); cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}
@media (min-width: 700px) { .perimetres__onglet { flex: 0 1 auto; padding: .6rem 1.5rem; } }
.perimetres__onglet:hover { border-color: var(--or-bord); }
.perimetres__onglet[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.perimetres__onglet:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.perimetres__court { display: none; }
@media (max-width: 359px) {
	.perimetres__onglet .perimetres__nom { display: none; }
	.perimetres__court { display: inline; }
}

.perimetres--actifs [id] { scroll-margin-top: calc(var(--decalage, 4rem) + .75rem); }
.perimetre:focus { outline: none; }

/* Sans JavaScript, les trois périmètres se suivent, séparés par un filet. */
.perimetre + .perimetre { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--filet); }
.perimetres--actifs .perimetre + .perimetre { margin-top: 0; padding-top: 0; border-top: 0; }

.proto-texte .perimetre__titre {
	margin: 0 0 .4rem; padding: 0; border: 0;
	font-family: var(--serif); font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); font-weight: 500;
}
.proto-texte .perimetre__intro { margin: 0 0 1.25rem; color: var(--encre-douce); }

/* ---------- Indicateurs essentiels ---------- */
.essentiels {
	display: grid; gap: 1px;
	grid-template-columns: repeat(2, 1fr);
	margin: 0 0 2.75rem;
	background: var(--filet); border: 1px solid var(--filet); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 700px) { .essentiels { grid-template-columns: repeat(3, 1fr); } }
.essentiel { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem 1.05rem; background: var(--blanc); }
.essentiel__valeur { font-family: var(--titre); font-weight: 700; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.1; color: var(--c, var(--encre)); font-variant-numeric: tabular-nums; }
.essentiel__libelle { font-size: .85rem; line-height: 1.4; color: var(--encre); }
.essentiel__source { margin-top: auto; padding-top: .35rem; font-size: .72rem; line-height: 1.35; color: #6b665d; }
.essentiel--parc { --c: #2f5f9e; }
.essentiel--demande { --c: #a83d2d; }
.essentiel--offre { --c: #16895a; }
.essentiel--taux { --c: #916b3c; }
.essentiel--budget { --c: #2f5f9e; }

/* ---------- Thèmes ---------- */
.proto-texte .theme-intro { color: var(--encre-douce); margin-top: .25rem; }
.proto-texte .perimetre-etiquette {
	display: inline-block; margin: 2.2rem 0 .3rem; padding: .2rem .55rem;
	border: 1px solid var(--or-bord); border-radius: 999px;
	font: 600 .7rem/1.3 var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--or-texte);
	background: var(--or-voile);
}
.proto-texte .perimetre-etiquette + h4 { margin-top: .2rem; }

/* ---------- Blocs repliables « Tous les chiffres » ---------- */
.tous-chiffres { margin: 1.25rem 0 2rem; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.tous-chiffres > summary {
	display: flex; align-items: center; gap: .6rem; padding: .85rem 0;
	cursor: pointer; list-style: none;
	font: 600 .9rem/1.3 var(--texte); color: var(--or-texte);
}
.tous-chiffres > summary::-webkit-details-marker { display: none; }
.tous-chiffres > summary::before {
	content: "+"; display: inline-grid; place-items: center; flex: none;
	width: 1.4rem; height: 1.4rem; border: 1px solid var(--or-bord); border-radius: 50%;
	font-size: 1rem; line-height: 1;
}
.tous-chiffres[open] > summary::before { content: "−"; }
.tous-chiffres > summary:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.tous-chiffres > summary .compte { font-weight: 400; color: #6b665d; }
.tous-chiffres__corps { padding: .25rem 0 1.25rem; }
.tous-chiffres__corps > :first-child { margin-top: .5rem; }

/* ---------- Réserves ---------- */
.a-verifier {
	display: inline-block; margin-left: .35rem; padding: .05rem .4rem; vertical-align: .1em;
	border-radius: 3px; background: var(--rouge-voile); color: var(--rouge);
	font: 600 .66rem/1.5 var(--texte); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.proto-texte .reserve {
	margin: .75rem 0 0; padding: .6rem .8rem;
	border-left: 3px solid var(--rouge); background: var(--rouge-voile);
	font-size: .82rem; line-height: 1.5; color: var(--encre);
}

/* ---------- Encadré « Budgets annoncés » ---------- */
.annonces {
	margin: 2rem 0; padding: 1rem 1.15rem 1.1rem;
	border: 1px dashed var(--or-bord); border-radius: var(--radius); background: var(--blanc);
}
.proto-texte .annonces__titre { margin: 0 0 .25rem; font: 600 .95rem/1.3 var(--titre); }
.proto-texte .annonces > p { font-size: .88rem; }
.annonces .chiffres-cles { margin: .9rem 0 .4rem; }

@media print {
	.perimetres__barre { display: none; }
	.perimetre[hidden] { display: block !important; }
	.tous-chiffres:not([open]) > .tous-chiffres__corps { display: block; }
}

/* Planches ANCOLS : deux par ligne au plus, une planche seule reste en demi-largeur. */
@media (min-width: 640px) {
	.perimetres .graphiques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
	.perimetres__onglet { padding: .5rem .35rem; font-size: .86rem; }
}


/* 17 GABARIT « BLEU NUIT » (maquettes d'octobre 2026)
   Pages concernées : <body class="theme-nuit">. Composants préfixés n- pour ne
   rien casser ailleurs. Couleurs et tailles reprises des maquettes de la propriétaire.
   -------------------------------------------------------------------------- */
:root {
	--nuit: #101b34;
	--nuit-2: #2e4372;
	--ardoise: #5a76a6;
	--dore: #c9a35b;
	--dore-vif: #d8b061;
	--dore-texte: #8c6a2f;
	--gris-n: #f2f3f6;
	--trait-n: #e3e5eb;
	--texte-n2: #5b6070;
}

/* Barre de navigation et fil d'Ariane sur fond bleu nuit */
.theme-nuit { background: #fff; }
.theme-nuit .barre { background: var(--nuit); border-bottom-color: rgba(255, 255, 255, .1); backdrop-filter: none; }
.theme-nuit .barre__marque { color: var(--dore); }
.theme-nuit .barre__marque:hover { color: #fff; }
.theme-nuit .barre a.menu { color: #fff; }
.theme-nuit .barre .burger span { background: #fff; }
.theme-nuit .proto-texte p.lettrine::first-letter { float: none; margin: 0; font: inherit; line-height: inherit; color: inherit; }

/* Bandeau */
.n-hero { background: var(--nuit); color: #fff; }
.n-wrap { max-width: 82rem; margin-inline: auto; padding-inline: var(--gouttiere); }
.n-hero .n-wrap { padding-top: 1.4rem; padding-bottom: 2.6rem; }
.n-hero .ariane { max-width: none; padding: 0 0 2.4rem; }
.n-hero .ariane li, .n-hero .ariane a { color: #aab0c0; }
.n-hero .ariane [aria-current="page"] { color: #fff; }
.n-surtitre { margin: 0 0 .9rem; font: 700 .68rem/1.3 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore); }
.n-surtitre b { color: #fff; font-weight: 700; }
.n-surtitre .n-point { margin: 0 .55rem; color: #6d7487; }
.n-titre { margin: 0 0 1.1rem; font-family: var(--titre); font-weight: 700; color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.1; max-width: 20ch; }
.n-titre em { font-style: normal; color: var(--dore); }
.n-chapo { margin: 0; max-width: 36rem; color: #d9dce6; font-size: 1.02rem; line-height: 1.6; }
.n-hero__tete { display: grid; gap: 1.2rem 3rem; align-items: end; }
@media (min-width: 900px) { .n-hero__tete--deux { grid-template-columns: 1.2fr 1fr; } .n-hero__tete--deux .n-chapo { justify-self: end; } }
.n-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.6rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 760px) { .n-kpis { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.n-kpi { display: flex; flex-direction: column; gap: .25rem; }
.n-kpi__val { font-family: var(--titre); font-weight: 700; color: var(--dore-vif); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.n-kpi__lib { font-weight: 600; font-size: .84rem; color: #fff; }
.n-kpi__note { font-size: .74rem; color: #aab0c0; }
.n-hero__source { margin: 1.6rem 0 0; font-size: .72rem; color: #aab0c0; }

/* Le site met les titres en capitales : pas dans ce gabarit */
.theme-nuit h1, .theme-nuit h2, .theme-nuit h3, .theme-nuit .n-titre { text-transform: none; letter-spacing: 0; }

/* Corps d'article */
.theme-nuit .proto-texte h2 { font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); line-height: 1.2; margin: 3.2rem 0 1rem; text-transform: none; letter-spacing: 0; }
.theme-nuit .proto-texte h3 { font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: 1.1rem; margin: 2.4rem 0 .8rem; text-transform: none; letter-spacing: 0; }
.theme-nuit .proto-texte h2::after, .theme-nuit .proto-texte h3::after { content: none; }
.theme-nuit .proto-texte strong { color: var(--nuit); }
.n-intro { font-size: 1.05rem; }
.n-legende { margin: .6rem 0 0; font-size: .76rem; line-height: 1.5; color: var(--texte-n2); }
.n-sommaire-plus { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--trait-n); font-size: .76rem; color: var(--texte-n2); }

/* Étiquette commune (À SAVOIR, À RETENIR, EN BREF…) */
.n-etiquette { margin: 0 0 .4rem; font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte); }

/* À savoir */
/* « À savoir » : même présentation partout, dans un article comme dans une page à onglets (16 oct. 2026) */
.n-savoir, .proto-texte .n-savoir { margin: 1.6rem 0; padding: .9rem 1.2rem 1rem; background: var(--gris-n); border-top: 2px solid var(--dore); font-size: .93rem; line-height: 1.6; }
.n-savoir p, .proto-texte .n-savoir p { margin: 0; font-size: inherit; line-height: inherit; }
.n-savoir p + p, .proto-texte .n-savoir p + p { margin-top: .5rem; }

/* Ce qu'il faut retenir */
.n-retenir { margin: 2.6rem 0; padding: 1.8rem 1.9rem 1.4rem; background: var(--nuit); color: #fff; }
.n-retenir .n-etiquette { color: var(--dore); }
.proto-texte .n-retenir__titre { margin: 0 0 1rem; font: 700 1.35rem/1.2 var(--titre); color: #fff; }
.proto-texte .n-retenir ol { margin: 0; padding: 0; list-style: none; counter-reset: n-ret; }
.proto-texte .n-retenir li { counter-increment: n-ret; display: grid; grid-template-columns: 2.2rem 1fr; padding: .7rem 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.proto-texte .n-retenir li:first-child { border-top: 0; }
.proto-texte .n-retenir li::before { content: counter(n-ret, decimal-leading-zero); position: static; color: var(--dore); font: 700 .8rem/1.6 var(--titre); }
.proto-texte .n-retenir strong { color: #fff; }

/* Tableaux */
.n-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.n-table th, .n-table td { padding: .75rem .5rem; border-bottom: 1px solid var(--trait-n); text-align: left; background: #fff; }
.n-table thead th { font: 600 .66rem/1.2 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-n2); border-bottom: 2px solid var(--nuit); }
.n-table .num { text-align: right; white-space: nowrap; }
.n-table tbody th { font-weight: 400; }
.n-table tr.fort th, .n-table tr.fort td { font-weight: 700; }
.n-table tr.total th, .n-table tr.total td { background: var(--gris-n); font-weight: 600; }

/* Barres horizontales (arrondissements) */
.n-barres { margin: 1.2rem 0 0; display: grid; gap: .45rem; }
.n-barre { display: grid; grid-template-columns: 2.6rem 1fr 7.5rem; gap: .8rem; align-items: center; font-size: .82rem; }
.n-barre__nom { font-weight: 700; color: var(--nuit); }
.n-barre__piste { height: 1rem; background: var(--gris-n); }
.n-barre__plein { display: block; height: 100%; background: var(--nuit); }
.n-barre--faible .n-barre__plein { background: #c4ccdb; }
.n-barre__val { color: var(--texte-n2); font-size: .78rem; white-space: nowrap; }

/* Répartition en pourcentage (PLAI / PLUS / PLS…) */
.n-repart { margin: 1.2rem 0 0; }
.n-repart__piste { display: flex; height: 2rem; gap: 2px; }
.n-repart__part { display: flex; align-items: center; padding-left: .6rem; color: #fff; font: 700 .7rem var(--titre); }
.n-repart__part--clair { color: var(--nuit); }
.n-repart__leg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1rem; margin-top: .6rem; }
.n-repart__nom { display: flex; align-items: center; gap: .4rem; font: 700 .7rem/1.2 var(--titre); color: var(--nuit); text-transform: uppercase; }
.n-repart__nom i { width: .6rem; height: .6rem; display: inline-block; }
.n-repart__val { font: 700 1rem/1.2 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.n-repart__sous { font-size: .72rem; color: var(--texte-n2); }

/* Histogramme vertical */
.n-histo { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .5rem; align-items: end; height: 13rem; margin: 2rem 0 0; border-bottom: 1px solid #b9bfcc; }
.n-histo__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.n-histo__val { font-size: .66rem; color: #1a1a1a; margin-bottom: .3rem; white-space: nowrap; }
.n-histo__barre { width: 100%; background: #c4ccdb; }
.n-histo__col--fonce .n-histo__barre { background: var(--nuit); }
.n-histo__col--dore .n-histo__barre { background: var(--dore); }
.n-histo__col--dore .n-histo__val, .n-histo__col--fonce .n-histo__val { font-weight: 700; }
.n-histo__ans { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .5rem; margin-top: .4rem; font-size: .66rem; color: var(--texte-n2); text-align: center; }
.n-histo__ans .der { font-weight: 700; color: var(--nuit); }
@media (max-width: 520px) { .n-histo { gap: .2rem; } .n-histo__ans { gap: .2rem; } .n-histo__val { font-size: .56rem; } .n-histo__ans { font-size: .58rem; } }

/* Deux blocs opposés (Parisiens / non Parisiens) */
.n-duo__piste { display: flex; height: 2.4rem; gap: 2px; margin-top: 1.2rem; }
.n-duo__piste span:first-child { background: var(--nuit); }
.n-duo__piste span:last-child { background: var(--dore); }
.n-duo__leg { display: flex; justify-content: space-between; gap: 1rem; margin-top: .7rem; }
.n-duo__leg > div:last-child { text-align: right; }
.n-duo__val { font: 700 1.5rem/1.1 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.n-duo__leg > div:last-child .n-duo__val { color: var(--dore-texte); }
.n-duo__lib { font-size: .8rem; }
.n-duo__sous { font-size: .72rem; color: var(--texte-n2); }

/* Lignes « grand chiffre + phrase » */
.n-lignes { margin: 1.4rem 0 0; border-top: 1px solid var(--trait-n); }
.n-ligne { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--trait-n); font-size: .9rem; }
.n-ligne__val { font: 700 1.1rem/1.2 var(--titre); color: var(--nuit); }

/* Jauge (objectif 30 %) */
.n-jauge { position: relative; margin: 1.4rem 0 2.2rem; height: .8rem; background: var(--gris-n); }
.n-jauge__plein { position: absolute; inset: 0 auto 0 0; background: var(--nuit); }
.n-jauge__repere { position: absolute; top: -.25rem; bottom: -.25rem; width: 2px; background: var(--ardoise); }
.n-jauge__repere--dore { background: var(--dore); }
.n-jauge__texte { position: absolute; top: 1.3rem; font-size: .7rem; white-space: nowrap; color: var(--texte-n2); transform: translateX(-50%); }
.n-jauge__texte--debut { transform: none; left: 0; font-weight: 700; color: var(--nuit); }
.n-jauge__texte--dore { color: var(--dore-texte); font-weight: 700; }

/* Boutons */
.proto-texte a.n-bouton, a.n-bouton { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1.1rem; background: var(--nuit); color: #fff; font: 600 .82rem/1.2 var(--titre); text-decoration: none; }
a.n-bouton:hover { background: var(--nuit-2); }
a.n-bouton .fleche { color: var(--dore); }
a.n-bouton--dore { background: var(--dore); color: var(--nuit); }
a.n-bouton--dore .fleche { color: var(--nuit); }
a.n-bouton--dore:hover { background: var(--dore-vif); }
button.n-bouton { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1.1rem; border: 0; background: var(--nuit); color: #fff; font: 600 .82rem/1.2 var(--titre); cursor: pointer; }  /* même bouton que a.n-bouton, pour « Voir plus d’actualités » (26 oct. 2026) */
button.n-bouton:hover { background: var(--nuit-2); }
button.n-bouton .fleche { color: var(--dore); }
.n-plus { display: flex; justify-content: center; margin: 1.2rem 0 0; }
.n-plus[hidden] { display: none; }

/* Sources en fin d'article */
.n-sources { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--trait-n); font-size: .85rem; }
.n-sources p { margin: .2rem 0; }

/* À lire aussi */
.n-alire { background: var(--gris-n); padding: 2.6rem 0 3rem; border-top: 1px solid var(--trait-n); border-bottom: 1px solid var(--trait-n); }
.n-alire h2 { margin: 0 0 1.2rem; font: 700 1.2rem var(--titre); color: var(--nuit); }
.n-alire__grille { display: grid; gap: .8rem; }
@media (min-width: 760px) { .n-alire__grille { grid-template-columns: repeat(3, 1fr); } }
.n-alire a { display: block; padding: 1.2rem 1.3rem 1.4rem; background: #fff; border-top: 2px solid var(--dore); text-decoration: none; color: var(--encre); }
.n-alire a:hover { box-shadow: var(--ombre); }
.n-alire a.n-alire__retour { background: var(--nuit); border-top-color: var(--nuit); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.n-alire__titre { display: block; font: 700 1rem/1.3 var(--titre); }

/* ===== Page Actualités ===== */
.n-filtre { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--trait-n); }
.n-filtre .n-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding-top: .7rem; padding-bottom: .7rem; }
.n-filtre__pilules { display: inline-flex; gap: .2rem; padding: .25rem; background: var(--gris-n); border-radius: 999px; }
.n-filtre__pilules button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.4rem; border: 0; border-radius: 999px; background: none; font: 600 .95rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.n-filtre__pilules button .compte { font-weight: 500; color: #8b91a0; }
.n-filtre__pilules button[aria-pressed="true"] { background: var(--nuit); color: #fff; }
.n-filtre__pilules button[aria-pressed="true"] .compte { color: #aab0c0; }
.n-filtre__pilules button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
/* Carte des opérations : filtre par arrondissement (16 oct. 2026) */
.op-filtre .n-filtre__pilules { flex-wrap: wrap; border-radius: 1.4rem; }
.op-filtre .n-filtre__pilules button { padding: .5rem .95rem; font-size: .88rem; }
.op-filtre__resultat { margin: 0; font-size: .8rem; color: var(--texte-n2); }
.op-arr[hidden] { display: none; }
@media (max-width: 700px) {
	.op-filtre .n-filtre__pilules { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
	.op-filtre .n-filtre__pilules::-webkit-scrollbar { display: none; }
	.op-filtre .n-filtre__pilules button { flex: 0 0 auto; }
}
.n-filtre__ancres { display: flex; gap: 1.4rem; font-size: .78rem; }
.n-filtre__ancres a { color: var(--texte-n2); text-decoration: none; }
.n-filtre__ancres a:hover { color: var(--nuit); }
.n-section { padding: 3.2rem 0 0; }
.n-section__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.n-section h2 { margin: 0; font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.55rem)/1.2 var(--titre); color: var(--nuit); }
.n-section__compte { font-size: .78rem; color: var(--texte-n2); }
.n-essentiel { display: grid; border-top: 2px solid var(--nuit); }
@media (min-width: 760px) { .n-essentiel { grid-template-columns: repeat(3, 1fr); } }
.n-essentiel a { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.2rem 1.5rem; border-right: 1px solid var(--trait-n); border-bottom: 1px solid var(--trait-n); text-decoration: none; color: var(--encre); }
.n-essentiel a:hover { background: var(--gris-n); }
.n-essentiel__haut { display: flex; justify-content: space-between; font: 700 .62rem var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--dore-texte); }
.n-essentiel__haut span:last-child { color: var(--texte-n2); }
.n-essentiel__titre { font: 700 1.15rem/1.25 var(--titre); color: var(--nuit); }
.n-essentiel__texte { font-size: .84rem; color: var(--texte-n2); }
.n-essentiel__lire { margin-top: auto; font: 600 .78rem var(--titre); color: var(--nuit); }
.n-cartes { display: grid; gap: .9rem; }
@media (min-width: 640px) { .n-cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .n-cartes { grid-template-columns: repeat(4, 1fr); } }
.n-carte { display: flex; flex-direction: column; padding: 1.2rem 1.2rem 1.4rem; background: var(--gris-n); border-top: 2px solid var(--dore); text-decoration: none; color: var(--encre); }
.n-carte:hover { box-shadow: var(--ombre); }
.n-carte__val { margin-top: .5rem; font: 700 2.4rem/1 var(--titre); color: var(--nuit); white-space: nowrap; }
.n-carte__unite { margin-top: .35rem; font-size: .74rem; color: var(--texte-n2); padding-bottom: .9rem; border-bottom: 1px solid #d6d9e1; }
.n-carte__titre { margin-top: .9rem; font: 700 1.02rem/1.3 var(--titre); color: var(--nuit); }
.n-carte__texte { margin-top: .5rem; font-size: .8rem; color: var(--texte-n2); }
.n-liste { margin-top: 2.6rem; border-top: 2px solid var(--nuit); }
.n-liste a { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 1.2rem; align-items: center; padding: 1.1rem .4rem; border-bottom: 1px solid var(--trait-n); text-decoration: none; color: var(--encre); }
@media (min-width: 760px) { .n-liste a { grid-template-columns: 2.6rem 1fr 13rem 1.5rem; gap: 1.6rem; } }
.n-liste a:hover { background: var(--gris-n); }
.n-liste__icone { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gris-n); color: var(--nuit); }
.n-liste__icone svg { width: 1.05rem; height: 1.05rem; }
.n-liste__titre { display: block; font: 700 .98rem/1.3 var(--titre); color: var(--nuit); }
.n-liste__texte { display: block; margin-top: .2rem; font-size: .8rem; color: var(--texte-n2); }
.n-liste__tag { grid-column: 2; font: 700 .62rem var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--dore-texte); }
.n-liste__fleche { display: none; color: var(--nuit); }
@media (min-width: 760px) { .n-liste__tag { grid-column: auto; } .n-liste__fleche { display: block; } }
[data-perimetre][hidden] { display: none !important; }
.n-recours { margin-top: 4rem; background: var(--nuit); color: #fff; padding: 3.4rem 0 3.6rem; }
.n-recours__tete { display: grid; gap: 1.2rem 3rem; margin-bottom: 2.4rem; }
@media (min-width: 900px) { .n-recours__tete { grid-template-columns: 1fr 1fr; } }
.n-recours h2 { margin: 0; font: 700 clamp(1.8rem, 1.3rem + 2vw, 2.6rem)/1.1 var(--titre); color: #fff; }
.n-recours__tete p { margin: 0; color: #d9dce6; font-size: .92rem; line-height: 1.6; }
.n-recours__tete strong { color: #fff; }
.n-recours .n-etiquette { color: var(--dore); }
.n-recours__cartes { display: grid; gap: .8rem; }
@media (min-width: 760px) { .n-recours__cartes { grid-template-columns: repeat(3, 1fr); } }
.n-recours__cartes a { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.3rem 1.4rem; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; }
.n-recours__cartes a:hover { border-color: var(--dore); }
.n-recours__titre { font: 700 1.1rem/1.3 var(--titre); }
.n-recours__texte { font-size: .82rem; color: #c9cdd8; }
.n-recours__lire { margin-top: auto; padding-top: 1rem; font: 600 .8rem var(--titre); color: var(--dore); }

/* ===== Page Accès au logement social ===== */
.n-etapes { display: grid; gap: .8rem; margin-top: 2.2rem; }
@media (min-width: 900px) { .n-etapes { grid-template-columns: repeat(4, 1fr); } }
.n-etape { padding: 1.2rem 1.2rem 1.3rem; border: 1px solid rgba(255, 255, 255, .2); }
.n-etape__num { font: 700 1.5rem var(--titre); color: var(--dore-vif); }
.n-etape__titre { margin: .5rem 0 .4rem; font: 700 1rem var(--titre); color: #fff; }
.n-etape p { margin: 0; font-size: .82rem; color: #d9dce6; }
.n-etape p strong { color: #fff; }
.n-etape a { color: var(--dore-vif); }
.n-etape--cta { background: #fff; border-color: #fff; color: var(--nuit); }
.n-etape--cta .n-etiquette { color: var(--dore-texte); }
.n-etape--cta .n-etape__titre { color: var(--nuit); font-size: 1.05rem; }
.n-etape--cta a.n-bouton { margin-top: 1rem; width: 100%; justify-content: space-between; }
.n-gamme { margin: 1.6rem 0 0; }
.n-gamme__piste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.n-gamme__piste span { padding: .55rem 0; text-align: center; font: 700 .78rem var(--titre); color: #fff; }
.n-gamme__axe { display: flex; justify-content: space-between; gap: 1rem; margin-top: .4rem; font-size: .7rem; color: var(--texte-n2); }
.c-plai { --c: var(--plai); } .c-plus { --c: var(--plus); } .c-pls { --c: var(--pls); } .c-pli { --c: var(--pli); }
.n-sigles { display: grid; gap: .9rem; margin-top: 1.4rem; }
@media (min-width: 640px) { .n-sigles { grid-template-columns: repeat(3, 1fr); } }
.n-sigle { padding: 1rem 1.1rem 1.2rem; background: var(--gris-n); border-top: 3px solid var(--c); font-size: .84rem; }
.n-sigle__haut { display: flex; align-items: baseline; gap: .5rem; }
.n-sigle__code { font: 800 1.25rem var(--titre); color: var(--nuit); }
.n-sigle__pour { font: 700 .58rem/1.2 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--dore-texte); }
.n-sigle__nom { margin: .3rem 0 .5rem; font-size: .74rem; color: var(--texte-n2); }
.proto-texte .n-sigle p { margin: 0; }
.n-deux { display: grid; gap: .9rem; margin: 1.6rem 0; }
@media (min-width: 640px) { .n-deux { grid-template-columns: 1fr 1fr; } }
.n-deux > div { padding: 1rem 1.2rem 1.2rem; border: 1px solid var(--trait-n); border-top: 3px solid var(--c, var(--nuit)); font-size: .84rem; }
.proto-texte .n-deux__titre { margin: .1rem 0 .4rem; font: 700 1.05rem var(--titre); color: var(--nuit); }
.proto-texte .n-deux p { margin: 0; }
.proto-texte .n-citation { margin: 1.2rem 0; padding-left: 1rem; border-left: 2px solid var(--dore); font-style: italic; font-size: .86rem; color: var(--texte-n2); }
.n-conditions { display: grid; border-top: 2px solid var(--nuit); margin-top: 1.2rem; }
@media (min-width: 640px) { .n-conditions { grid-template-columns: 1fr 1fr; } }
.n-condition { display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; padding: 1.1rem .4rem; border-bottom: 1px solid var(--trait-n); font-size: .84rem; }
.n-condition__icone { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gris-n); color: var(--nuit); }
.n-condition__icone svg { width: 1rem; height: 1rem; }
.proto-texte .n-condition__titre { margin: 0 0 .25rem; font: 700 .95rem var(--titre); color: var(--nuit); }
.proto-texte .n-condition p { margin: 0; }
.n-priorite { margin: 1.4rem 0 2rem; padding: 1.3rem 1.5rem; background: var(--nuit); color: #fff; font-size: .86rem; }
.n-priorite .n-etiquette { color: var(--dore); }
.proto-texte .n-priorite ul { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem 2rem; }
@media (min-width: 640px) { .proto-texte .n-priorite ul { grid-template-columns: 1fr 1fr; } }
.proto-texte .n-priorite li { position: relative; padding-left: 1.4rem; margin: 0; }
.proto-texte .n-priorite li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--dore); font-weight: 400; }
.proto-texte .n-priorite strong { color: #fff; }
.n-plafonds th.c-plai, .n-plafonds th.c-plus, .n-plafonds th.c-pls, .n-plafonds th.c-pli { background: var(--c); color: #fff; text-align: right; border-bottom: 0; letter-spacing: .05em; }
.n-plafonds th.c-pli { color: var(--nuit); }
.n-plafonds tbody tr:first-child td { font-weight: 700; }
.n-cat-onglets { display: inline-flex; gap: 2px; margin: .4rem 0 .6rem; padding: .2rem; background: var(--gris-n); }
.n-cat-onglets button { padding: .5rem .9rem; border: 0; background: none; font: 700 .74rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.n-cat-onglets button[aria-selected="true"] { background: var(--nuit); color: #fff; }
.n-cat-onglets button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.n-cat-panneau + .n-cat-panneau { margin-top: 1.6rem; }
.n-cats-actifs .n-cat-panneau + .n-cat-panneau { margin-top: 0; }
.n-cat-panneau__nom { margin: 0 0 .3rem; font-size: .76rem; color: var(--texte-n2); }
.n-plafonds-zones td:nth-child(2), .n-plafonds-zones th:nth-child(2) { font-weight: 700; }
.n-sls { display: grid; gap: .8rem; margin: 1.2rem 0; }
@media (min-width: 640px) { .n-sls { grid-template-columns: repeat(3, 1fr); } }
.n-sls > div { padding: 1rem 1.1rem 1.1rem; background: var(--gris-n); font-size: .82rem; }
.proto-texte .n-sls__titre { margin: 0 0 .3rem; font: 700 .92rem/1.25 var(--titre); color: var(--nuit); }
.proto-texte .n-sls p { margin: 0; }
.n-cta { display: grid; gap: 1rem 2rem; align-items: center; margin: 2.6rem 0 0; padding: 1.6rem 1.8rem; background: var(--nuit); color: #fff; }
@media (min-width: 760px) { .n-cta { grid-template-columns: 1fr auto; } }
.n-cta .n-etiquette { color: var(--dore); }
.proto-texte .n-cta__titre { margin: 0; font: 700 1.4rem/1.2 var(--titre); color: #fff; }
.proto-texte .n-cta p { margin: .3rem 0 0; font-size: .82rem; color: #c9cdd8; }
.n-sommaire-cta { margin-top: 1.4rem; }
.n-sommaire-cta a.n-bouton { width: 100%; justify-content: space-between; }

@media print {
	.n-filtre { display: none; }
	[data-perimetre][hidden] { display: block !important; }
}

/* Tailles des petits textes : la règle générale « .proto-texte p » (17 px) ne doit pas les grossir. */
.proto-texte p.n-etiquette { font-size: .62rem; line-height: 1.2; margin: 0 0 .4rem; }
.proto-texte p.n-legende, .proto-texte caption.n-legende { font-size: .74rem; line-height: 1.5; margin: .6rem 0 0; }
.proto-texte .n-savoir p { font-size: .93rem; line-height: 1.6; }
.proto-texte .n-savoir p.n-etiquette { font-size: .62rem; line-height: 1.2; margin-bottom: .4rem; }
.proto-texte p.n-sigle__nom { font-size: .74rem; line-height: 1.4; margin: .3rem 0 .5rem; }
.proto-texte .n-sigle p, .proto-texte .n-deux p, .proto-texte .n-condition p, .proto-texte .n-sls p { font-size: .86rem; line-height: 1.55; }
.proto-texte .n-deux p.n-deux__titre { font: 700 1.05rem/1.3 var(--titre); margin: .1rem 0 .4rem; color: var(--nuit); }
.proto-texte .n-condition p.n-condition__titre { font: 700 .95rem/1.3 var(--titre); margin: 0 0 .25rem; color: var(--nuit); }
.proto-texte .n-sls p.n-sls__titre { font: 700 .92rem/1.25 var(--titre); margin: 0 0 .3rem; color: var(--nuit); }
.proto-texte .n-cta p { font-size: .82rem; color: #c9cdd8; margin: .3rem 0 0; }
.proto-texte .n-cta p.n-cta__titre { font: 700 1.4rem/1.2 var(--titre); color: #fff; margin: 0; }
.proto-texte .n-cta p.n-etiquette, .proto-texte .n-retenir p.n-etiquette, .proto-texte .n-priorite p.n-etiquette { color: var(--dore); }
.theme-nuit .proto-texte h2.n-retenir__titre { font: 700 1.35rem/1.2 var(--titre); color: #fff; margin: 0 0 1rem; }
.proto-texte p.n-cat-panneau__nom { font-size: .76rem; margin: 0 0 .3rem; }
.proto-texte .n-priorite li { font-size: .88rem; }
.theme-nuit .proto-texte h3 { padding: 0; border: 0; background: none; font-family: var(--titre); }
.theme-nuit .proto-texte h3::after { content: none; }
.n-hero a.n-bouton--dore, .proto-texte a.n-bouton--dore, a.n-bouton--dore { background: var(--dore); color: var(--nuit); }
.n-hero a.n-bouton--dore:hover, .proto-texte a.n-bouton--dore:hover { background: var(--dore-vif); }
.n-hero a.n-bouton--dore .fleche, .proto-texte a.n-bouton--dore .fleche { color: var(--nuit); }
.proto-texte .n-sigle p.n-sigle__nom { font-size: .74rem; line-height: 1.4; margin: .3rem 0 .5rem; }
.n-etape p.n-etiquette, .n-hero p.n-etiquette { font-size: .62rem; line-height: 1.2; margin: 0 0 .4rem; }
.n-etape p.n-etape__titre { font: 700 1rem/1.3 var(--titre); color: #fff; margin: .5rem 0 .4rem; }
.n-etape--cta p.n-etape__titre { color: var(--nuit); font-size: 1.05rem; }
.proto-texte .n-deux p.n-etiquette, .proto-texte .n-sigle p.n-etiquette { font-size: .62rem; line-height: 1.2; margin: 0 0 .4rem; }
.n-repart__val, .n-repart__sous { display: block; }

/* ===== Composants ajoutés pour la page des loyers ===== */
.n-compare { display: grid; gap: .8rem; margin: 1.2rem 0 .4rem; }
@media (min-width: 640px) { .n-compare { grid-template-columns: 1fr 1fr; } }
.n-compare > div { padding: 1.2rem 1.3rem 1.3rem; background: var(--gris-n); }
.n-compare > div:first-child { background: var(--nuit); color: #fff; }
.n-compare__val { display: block; margin: .3rem 0 .2rem; font: 700 2.4rem/1.05 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.n-compare > div:first-child .n-compare__val { color: #fff; }
.n-compare__sous { font-size: .76rem; color: var(--texte-n2); }
.n-compare > div:first-child .n-compare__sous { color: #c9cdd8; }
.n-compare > div:first-child .n-etiquette { color: var(--dore); }
.n-rangs { margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.n-rang { display: grid; grid-template-columns: 9rem 1fr 5.5rem; gap: .9rem; align-items: center; }
@media (max-width: 520px) { .n-rang { grid-template-columns: 6.5rem 1fr 4.6rem; gap: .5rem; } }
.n-rang__nom { font: 700 .82rem/1.2 var(--titre); color: var(--nuit); }
.n-rang__nom small { display: block; font: 400 .66rem/1.3 var(--texte); color: var(--texte-n2); }
.n-rang__piste { height: 1.1rem; background: var(--gris-n); }
.n-rang__plein { display: block; height: 100%; background: #c4ccdb; }
.n-rang--fort .n-rang__plein { background: var(--nuit); }
.n-rang__val { text-align: right; font: 700 .92rem var(--titre); color: var(--nuit); white-space: nowrap; }
.n-calcul { display: flex; flex-wrap: wrap; align-items: stretch; gap: .4rem; margin: 1.2rem 0 0; }
.n-calcul__case { flex: 1 1 8rem; padding: .7rem .8rem; background: var(--gris-n); font-size: .7rem; line-height: 1.35; color: var(--texte-n2); }
.n-calcul__case b { display: block; margin-bottom: .2rem; font: 700 .86rem var(--titre); color: var(--nuit); }
.n-calcul__op { display: flex; align-items: center; font: 700 1rem var(--titre); color: var(--dore-texte); }
.n-calcul__total { flex: 1 1 100%; padding: .75rem .9rem; background: var(--nuit); color: #fff; font: 700 .86rem var(--titre); }
.n-methodes { display: grid; gap: .8rem; margin: 1rem 0; }
@media (min-width: 640px) { .n-methodes { grid-template-columns: 1fr 1fr; } }
.n-methodes > div { padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--trait-n); border-top: 2px solid var(--nuit); }
.proto-texte .n-methodes p { font-size: .86rem; line-height: 1.5; margin: 0; }
.proto-texte .n-methodes p.n-methodes__sous { font-size: .74rem; color: var(--texte-n2); margin-top: .4rem; }
.n-exemple { margin: 1.2rem 0; padding: 1.1rem 1.3rem 1.2rem; background: var(--gris-n); }
.n-exemple__lignes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.n-exemple__lib { display: block; font-size: .7rem; color: var(--texte-n2); }
.n-exemple__val { display: block; font: 700 1.3rem/1.2 var(--titre); color: var(--nuit); }
.n-exemple__calcul { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid #d6d9e1; font-size: .82rem; }
.n-exemple__calcul b { font: 700 1.5rem var(--titre); color: var(--nuit); }
.proto-texte ul.n-tirets { margin: 1rem 0; padding: 0; list-style: none; border-top: 1px solid var(--trait-n); }
.proto-texte ul.n-tirets li { position: relative; padding: .65rem 0 .65rem 1.6rem; margin: 0; border-bottom: 1px solid var(--trait-n); font-size: .9rem; }
.proto-texte ul.n-tirets li::before { content: "—"; position: absolute; left: 0; top: .65rem; color: var(--dore); font-weight: 400; }
.n-pas { display: grid; gap: .8rem; margin: 1.2rem 0; }
@media (min-width: 640px) { .n-pas { grid-template-columns: repeat(3, 1fr); } }
.n-pas > div { padding: 1rem 1.1rem 1.2rem; background: var(--gris-n); }
.n-pas__num { font: 700 1.3rem var(--titre); color: var(--dore-texte); }
.proto-texte .n-pas p { font-size: .82rem; line-height: 1.5; margin: 0; }
.proto-texte .n-pas p.n-pas__titre { font: 700 .95rem/1.3 var(--titre); color: var(--nuit); margin: .4rem 0 .3rem; }
.n-grand { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin: 1.4rem 0 .6rem; padding: 1.2rem 1.4rem; border: 1px solid var(--trait-n); border-top: 2px solid var(--nuit); }
.n-grand__val { font: 700 2.6rem/1 var(--titre); color: var(--nuit); white-space: nowrap; }
.proto-texte .n-grand p { margin: 0; font-size: .86rem; line-height: 1.55; }
.proto-texte .n-sources ul { margin: .3rem 0 0; padding: 0; list-style: none; }
.proto-texte .n-sources li { margin: .15rem 0; padding: 0; font-size: .8rem; color: var(--texte-n2); }
.proto-texte .n-sources li::before { content: none; }
.proto-texte .n-sources p.n-etiquette { margin-top: 1rem; }

/* ===== Échelle unique des petits textes (prioritaire sur tout ce qui précède) =====
   Étiquettes (À SAVOIR, MÉTHODE 1…) : .62rem · Légendes et notes : .74rem · Texte des blocs : .86rem */
.theme-nuit p.n-etiquette, .theme-nuit .proto-texte p.n-etiquette, .theme-nuit span.n-etiquette,
.theme-nuit .proto-texte .n-methodes p.n-etiquette, .theme-nuit .proto-texte .n-pas p.n-etiquette,
.theme-nuit .proto-texte .n-compare p.n-etiquette, .theme-nuit .proto-texte .n-exemple p.n-etiquette,
.theme-nuit .proto-texte .n-sources p.n-etiquette, .theme-nuit .proto-texte .n-savoir p.n-etiquette {
	font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .45rem;
}
.theme-nuit .proto-texte p.n-legende, .theme-nuit .proto-texte caption.n-legende,
.theme-nuit .n-kpi__note, .theme-nuit .n-hero__source, .theme-nuit .n-compare__sous, .theme-nuit .n-repart__sous,
.theme-nuit .n-duo__sous, .theme-nuit .n-exemple__lib, .theme-nuit .n-rang__nom small, .theme-nuit .proto-texte p.n-methodes__sous,
.theme-nuit .n-calcul__case, .theme-nuit .n-barre__val, .theme-nuit .n-histo__val, .theme-nuit .n-histo__ans,
.theme-nuit .n-gamme__axe, .theme-nuit .proto-texte p.n-sigle__nom, .theme-nuit .proto-texte p.n-cat-panneau__nom,
.theme-nuit .n-carte__unite, .theme-nuit .n-sommaire-plus {
	font-size: .74rem; line-height: 1.45;
}
.theme-nuit .n-calcul__case b { font-size: .86rem; line-height: 1.3; }
.theme-nuit .proto-texte .n-methodes p:not(.n-etiquette):not(.n-methodes__sous), .theme-nuit .proto-texte .n-pas p:not(.n-etiquette):not(.n-pas__titre),
.theme-nuit .proto-texte .n-grand p, .theme-nuit .proto-texte .n-sigle p:not(.n-sigle__nom):not(.n-etiquette),
.theme-nuit .proto-texte .n-deux p:not(.n-etiquette):not(.n-deux__titre), .theme-nuit .proto-texte .n-condition p:not(.n-condition__titre),
.theme-nuit .proto-texte .n-sls p:not(.n-sls__titre), .theme-nuit .proto-texte ul.n-tirets li, .theme-nuit .n-ligne,
.theme-nuit .n-etape p:not(.n-etiquette):not(.n-etape__titre) {
	font-size: .86rem; line-height: 1.55;
}
@media (max-width: 520px) { .theme-nuit .n-histo__val, .theme-nuit .n-histo__ans { font-size: .56rem; } }
/* Petits titres de blocs : une seule taille */
.theme-nuit .proto-texte p.n-deux__titre, .theme-nuit .proto-texte p.n-sls__titre, .theme-nuit .proto-texte p.n-condition__titre,
.theme-nuit .proto-texte p.n-pas__titre, .theme-nuit .n-etape p.n-etape__titre, .theme-nuit .n-calcul__case b {
	font: 700 .95rem/1.3 var(--titre);
}

/* Gabarit bleu nuit : histogrammes longs, tableaux et sources des pages générées */
.n-histo, .n-histo__ans { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.n-histo__val { overflow: visible; }
@media (max-width: 900px) { .n-histo[style*="--n:2"] .n-histo__val { font-size: .5rem; } }
.theme-nuit .releve { font-size: .84rem; }
.theme-nuit .releve thead th { font: 600 .64rem/1.25 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--texte-n2); background: #fff; border-bottom: 2px solid var(--nuit); }
.theme-nuit .releve tfoot th, .theme-nuit .releve tfoot td { background: var(--gris-n); font-weight: 700; color: var(--nuit); }
.theme-nuit .releve caption { caption-side: bottom; text-align: left; font-size: .74rem; color: var(--texte-n2); padding: .5rem 0 0; }
.theme-nuit .proto-texte .sources-article { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--trait-n); background: none; border-left: 0; }
.theme-nuit .proto-texte .sources-article h3 { margin: 0 0 .5rem; font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte); border: 0; padding: 0; }
.theme-nuit .proto-texte .sources-article li, .theme-nuit .proto-texte .sources-article p { font-size: .8rem; line-height: 1.5; color: var(--texte-n2); }
.theme-nuit .proto-texte .sources-article li::before { content: none; }
.theme-nuit .proto-texte .sources-article ul { padding: 0; }
.theme-nuit .proto-texte .sources-article li { padding-left: 0; }
.n-histo__ans span { white-space: nowrap; overflow: visible; display: flex; justify-content: center; }
/* Gabarit bleu nuit : en-têtes de tableaux sobres (plus de bandeaux colorés) */
.theme-nuit .releve thead.bandeau th { background: #fff; color: var(--texte-n2); border-bottom: 2px solid var(--nuit); font: 600 .64rem/1.25 var(--titre); letter-spacing: .08em; text-transform: uppercase; }
.theme-nuit .releve thead.bandeau th:first-child { font: 700 .82rem/1.3 var(--titre); color: var(--nuit); text-transform: none; letter-spacing: 0; }
.theme-nuit .releve thead.bandeau .bandeau__icone { display: none; }
.theme-nuit .releve .fort th, .theme-nuit .releve .fort td { background: var(--gris-n); }
/* Gabarit bleu nuit : blocs de chiffres des préemptions (kpi) alignés sur la palette */
.theme-nuit .kpi { --k: var(--nuit); border-radius: 0; background: var(--gris-n); border: 0; border-top: 2px solid var(--dore); box-shadow: none; }
.theme-nuit .kpi--or { --k: var(--dore-texte); }
.theme-nuit .kpi--vert { --k: var(--nuit); }
.theme-nuit .kpi__icone { border-radius: 50%; background: #fff; color: var(--nuit); }
.theme-nuit .kpi__valeur { font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
.theme-nuit .kpi__label { font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; color: var(--dore-texte); }
.theme-nuit .kpi__sous { font-size: .74rem; }
.theme-nuit .repart__barre { border-radius: 0; }
body.theme-nuit .proto-texte .kpi .kpi__valeur { font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); }
body.theme-nuit .proto-texte .kpi .kpi__label { font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; color: var(--dore-texte); }
body.theme-nuit .proto-texte .kpi .kpi__label { font: 600 .82rem/1.3 var(--texte); letter-spacing: 0; text-transform: none; color: var(--nuit); }

/* Code couleur unique des catégories : texte foncé sur les fonds clairs (PLS doré, PLI gris) */
.n-plafonds th.c-pls, .n-plafonds th.c-pli, .n-gamme__piste .c-pls, .n-gamme__piste .c-pli { color: var(--nuit); }

/* Gabarit bleu nuit : pages des préemptions sans beige, brun ni vert (tableaux, bandeaux, notes) */
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr th,
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr td { background: #fff; }
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr:nth-child(odd) th,
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr:nth-child(odd) td { background: var(--gris-n); }
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr:hover th,
body.theme-nuit[data-page^="preemptions-"] .proto-texte tbody tr:hover td { background: var(--trait-n); }
body.theme-nuit[data-page^="preemptions-"] .releve--dossiers thead th:first-child,
body.theme-nuit[data-page^="preemptions-"] .releve--top thead th:first-child { background: #fff; }
body.theme-nuit[data-page^="preemptions-"] .releve--dossiers tfoot th { background: var(--gris-n); }
body.theme-nuit .releve thead th, body.theme-nuit .tableau-annees thead th { box-shadow: none; }
body.theme-nuit .releve--dlh thead th:nth-child(n+8) { background: #fff; }
body.theme-nuit .an--bleu, body.theme-nuit .an--or, body.theme-nuit .an--vert { --a: var(--nuit); }
body.theme-nuit .tableau-annees tbody th a, body.theme-nuit .tableau-annees tbody th { color: var(--nuit); }
/* Fiches : en-têtes blancs, filet bleu nuit, plus de colonnes teintées */
body.theme-nuit[data-page^="preemptions-"] .releve--fiches thead th,
body.theme-nuit[data-page^="preemptions-"] .releve--fiches thead th:first-child {
	background: #fff !important; color: var(--texte-n2) !important; border-bottom: 2px solid var(--nuit);
}
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr th,
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(odd) th,
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr td,
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr td:nth-child(n) { background: #fff !important; }
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr:hover th,
body.theme-nuit[data-page^="preemptions-"] .releve--fiches tbody tr:hover td { background: var(--gris-n) !important; }
body.theme-nuit .releve--fiches .fi__adr .releve__num { background: var(--nuit); }
body.theme-nuit .releve--fiches .fi__puce { background: var(--gris-n); }
body.theme-nuit .releve--fiches .fi__btn { border-color: var(--trait-n); border-radius: 0; color: var(--nuit); }
body.theme-nuit .releve--fiches .fi__btn:hover { background: var(--gris-n); }
body.theme-nuit .releve--fiches .fi__etat--projet { border-radius: 0; background: var(--gris-n); color: var(--nuit); }
body.theme-nuit .releve--fiches .fi__etat--ok { color: var(--nuit); }
/* Catégories dans les fiches : le code couleur commun à tout le site */
body.theme-nuit .releve--fiches .fi__cat-t abbr { border-radius: 0; color: #fff; background: var(--nuit); }
body.theme-nuit .releve--fiches .fi__cat-t abbr.c-plai { background: var(--plai); color: #fff; }
body.theme-nuit .releve--fiches .fi__cat-t abbr.c-plus { background: var(--plus); color: #fff; }
body.theme-nuit .releve--fiches .fi__cat-t abbr.c-pls { background: var(--pls); color: var(--nuit); }
body.theme-nuit .releve--fiches .fi__cat-t abbr.c-pli { background: var(--pli); color: var(--nuit); }
body.theme-nuit .recap-releve { background: var(--gris-n); border-radius: 0; }
body.theme-nuit .recap-releve dt { color: var(--dore-texte); }
/* Bandeau d'année, arrondissements, pastilles et notes */
body.theme-nuit[data-page^="preemptions-"] .proto-texte > h3.annee {
	background: var(--nuit); color: #fff; border-left: 4px solid var(--dore); border-radius: 0;
	font-family: var(--titre); font-weight: 700;
}
body.theme-nuit[data-page^="preemptions-"] .proto-texte > h4 { border-top-color: var(--nuit); color: var(--nuit); }
body.theme-nuit[data-page^="preemptions-"] .proto-texte > h3:not(.annee) { background: linear-gradient(var(--dore), var(--dore)) left bottom / 3rem 2px no-repeat; color: var(--nuit); }
body.theme-nuit .h5__puce, body.theme-nuit .an__periode { border-radius: 0; background: var(--gris-n); color: var(--nuit); border-color: var(--trait-n); }
body.theme-nuit .kpis-groupe--bleu, body.theme-nuit .kpis-groupe--vert { --t: var(--nuit); }
body.theme-nuit .kpis-groupe--or { --t: var(--dore-texte); }
body.theme-nuit[data-page^="preemptions-"] .note-info { background: var(--gris-n); border: 0; border-left: 2px solid var(--dore); border-radius: 0; }
body.theme-nuit[data-page^="preemptions-"] .note-info svg { color: var(--dore-texte); }
body.theme-nuit[data-page^="preemptions-"] .plafonds thead th { background: #fff; color: var(--texte-n2); border-bottom: 2px solid var(--nuit); }
body.theme-nuit[data-page^="preemptions-"] .proto-texte > h4 { font-family: var(--titre); font-weight: 700; font-size: 1.05rem; }
body.theme-nuit .renvoi-preemptions { background: var(--gris-n); border-left: 2px solid var(--dore); border-radius: 0; }
body.theme-nuit .voisins { background: none; border-color: var(--trait-n); }
body.theme-nuit .voisins .suivant { border-left: 1px solid var(--trait-n); }
body.theme-nuit .voisins a { background: var(--gris-n); }
body.theme-nuit .voisins a:hover { background: #fff; }
body.theme-nuit .voisins small { font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; color: var(--dore-texte); }
body.theme-nuit .voisins span { font-family: var(--titre); font-weight: 700; font-size: .95rem; color: var(--nuit); }
body.theme-nuit .note-info { background: var(--gris-n); border: 0; border-left: 2px solid var(--dore); border-radius: 0; box-shadow: none; }
body.theme-nuit .note-info__icone { background: #fff; color: var(--dore-texte); border-color: var(--trait-n); }

/* Gabarit bleu nuit, lot 3 (articles) : les anciens blocs (encadrés, chiffres, étapes, cartes, listes) passent
   à la palette bleu nuit en redéfinissant leurs variables dans le corps de l'article, sans toucher aux blocs eux-mêmes. */
body.theme-nuit .proto-texte, body.theme-nuit #contenu {
	--or: var(--dore);
	--or-texte: var(--dore-texte);
	--or-sombre: var(--dore-texte);
	--or-voile: var(--gris-n);
	--or-bord: var(--trait-n);
	--serif: var(--titre);
	--filet: var(--trait-n);
	--beige: var(--gris-n);
	--creme: var(--gris-n);
	--radius: 0;
}
/* Tailles calées sur l'échelle du gabarit (l'ancienne police à empattements paraissait plus petite) */
body.theme-nuit .proto-texte .point-cle, body.theme-nuit .proto-texte .note-source {
	background: var(--gris-n); border-left: 2px solid var(--dore); padding: .9rem 1.2rem;
	font-family: var(--texte); font-size: .93rem; line-height: 1.6; color: var(--nuit);
}
body.theme-nuit .proto-texte .point-cle p, body.theme-nuit .proto-texte .note-source p { font-size: inherit; line-height: inherit; }
body.theme-nuit .proto-texte .chiffre-cle, body.theme-nuit .proto-texte .bloc-chiffre, body.theme-nuit .proto-texte .carte,
body.theme-nuit .proto-texte .constat, body.theme-nuit .proto-texte .raison, body.theme-nuit .proto-texte .lacune,
body.theme-nuit .proto-texte .condition, body.theme-nuit .proto-texte .profil, body.theme-nuit .proto-texte .etape,
body.theme-nuit .proto-texte .scenario {
	border-radius: 0; box-shadow: none; border: 0; border-top: 2px solid var(--accent, var(--dore)); background: var(--gris-n);
}
body.theme-nuit .proto-texte .chiffre-cle strong, body.theme-nuit .proto-texte .bloc-chiffre__nombre, body.theme-nuit .proto-texte .carte__valeur {
	font-family: var(--titre); font-weight: 700; color: var(--nuit);
}
body.theme-nuit .proto-texte .etape-item__titre, body.theme-nuit .proto-texte .carte__nom,
body.theme-nuit .proto-texte .constat h4, body.theme-nuit .proto-texte .raison h4, body.theme-nuit .proto-texte .profil h4 {
	font-family: var(--titre); font-weight: 700; font-size: .95rem; color: var(--nuit);
}
body.theme-nuit .proto-texte h4 { font-weight: 700; font-size: .95rem; color: var(--nuit); }
body.theme-nuit .proto-texte .attention, body.theme-nuit .proto-texte .alerte { border-radius: 0; }
body.theme-nuit .proto-texte .testimonial blockquote { border-radius: 0; background: var(--gris-n); }
body.theme-nuit .proto-texte .repartition__pastille { border-radius: 0; }
/* Page présidentielle (styles propres dans la page) : mêmes variables ramenées à la palette */
body.theme-nuit .proto-texte { --housing-ink: var(--nuit); --housing-muted: var(--texte-n2); --housing-line: var(--trait-n); --housing-warm: var(--gris-n); --housing-gold: var(--gris-n); }
body.theme-nuit .proto-texte .housing-note { border-left: 2px solid var(--dore); border-radius: 0; background: var(--gris-n); }
body.theme-nuit .proto-texte .housing-card, body.theme-nuit .proto-texte .housing-table-wrap, body.theme-nuit .proto-texte .housing-badge { border-radius: 0; }
body.theme-nuit .proto-texte .housing-card__title { font-family: var(--titre); font-weight: 700; font-size: .86rem; color: var(--nuit); }
body.theme-nuit .proto-texte .housing-key > div { border-radius: 0; }
body.theme-nuit .bg_grey, body.theme-nuit.proto .bg_grey { background: #fff; }
body.theme-nuit #contenu .section_title, body.theme-nuit #contenu .section_main_title, body.theme-nuit #contenu .op-section h3 { font-family: var(--titre); color: var(--nuit); }
body.theme-nuit[data-page="cartedesopration"] #contenu h2.section_title { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); font-weight: 700; }
body.theme-nuit[data-page="cartedesopration"] #contenu h2.op-adresse { font-family: var(--titre); font-size: 1.1rem; font-weight: 700; color: var(--nuit); }
body.theme-nuit[data-page="cartedesopration"] #contenu h3.op-section { font-family: var(--titre); font-size: .95rem; font-weight: 700; color: var(--nuit); }
body.theme-nuit[data-page="cartedesopration"] #contenu table, body.theme-nuit[data-page="cartedesopration"] #contenu th, body.theme-nuit[data-page="cartedesopration"] #contenu td { border-color: var(--trait-n); }
body.theme-nuit[data-page="cartedesopration"] #contenu thead th, body.theme-nuit[data-page="cartedesopration"] #contenu tr:first-child th { background: #fff; color: var(--texte-n2); border-bottom: 2px solid var(--nuit); }

/* Charte, titres (variante A validée le 13 oct. 2026) : gros titres avec 4,5 rem d'air au-dessus et un petit trait doré
   de 20 px dessous. Gros titre = h2 du texte, ou h3 quand la page n'a pas de h2 (articles). */
body.theme-nuit .proto-texte > h2:not(.n-retenir__titre),
body.theme-nuit .proto-texte:not(:has(> h2)) > h3,
body.theme-nuit[data-page="cartedesopration"] #contenu h2.section_title {
	margin-top: 4.5rem; padding-bottom: 0; border-bottom: 0; background: none;
	font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); line-height: 1.2;
}
body.theme-nuit .proto-texte > h2:not(.n-retenir__titre)::after,
body.theme-nuit .proto-texte:not(:has(> h2)) > h3::after,
body.theme-nuit[data-page="cartedesopration"] #contenu h2.section_title::after {
	content: ""; display: block; position: static; width: 20px; height: 3px; margin-top: .7rem; background: var(--dore);
}
body.theme-nuit .proto-texte > h2:first-child, body.theme-nuit .proto-texte:not(:has(> h2)) > h3:first-child { margin-top: 0; }
/* Rubriques des préemptions : même petit trait */
body.theme-nuit[data-page^="preemptions-"] .proto-texte > h3:not(.annee) { background: linear-gradient(var(--dore), var(--dore)) left bottom / 20px 3px no-repeat; border-bottom: 0; }

/* Charte, catégories dans les légendes et les encadrés : petit carré de la couleur de la catégorie (js/nuit.js) */
.cat { white-space: nowrap; }
.cat::before { content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .28em; vertical-align: .02em; background: var(--plai); }
.cat--plus::before { background: var(--plus); }
.cat--pls::before { background: var(--pls); }
.cat--pli::before { background: var(--pli); box-shadow: inset 0 0 0 1px var(--pli-fonce); }
.n-retenir .cat::before, .n-hero .cat::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); }

/* Gabarit bleu nuit : pied de page aux couleurs de la charte (menu bleu nuit, bas de page bleu nuit foncé, liens dorés) */
body.theme-nuit .navigation-footer ul { background: var(--nuit); border-top: 2px solid var(--dore); }
body.theme-nuit .navigation-footer li a { color: #d9dce6; font-family: var(--titre); font-weight: 600; font-size: .82rem; letter-spacing: .02em; }
body.theme-nuit .navigation-footer li a:hover, body.theme-nuit .navigation-footer li a:focus-visible { background: none; color: var(--dore); }
body.theme-nuit footer { background: #0b1426; color: #aab0c0; border-top: 1px solid rgba(255, 255, 255, .08); }
body.theme-nuit footer p { color: #aab0c0; }
body.theme-nuit footer strong { color: #fff; }
body.theme-nuit footer a { color: var(--dore); }
body.theme-nuit footer a:hover { color: #fff; }
body.theme-nuit footer small { color: #8a90a2; }
/* Encadrés bleu nuit « À retenir » des pages budget : chiffres en gras lisibles (blanc sur bleu nuit) */
body.theme-nuit .bg-retenir strong, body.theme-nuit .bg-retenir b, body.theme-nuit .n-retenir strong, body.theme-nuit .n-retenir b { color: #fff; }
/* Chiffres clés : grands chiffres en bleu nuit (l'ancienne palette par thème ne correspond à rien dans la charte),
   onglets Paris / Île-de-France / France aux couleurs du gabarit */
body.theme-nuit .essentiel { --c: var(--nuit); }
body.theme-nuit .perimetres__onglet { border-radius: 0; font-family: var(--titre); font-weight: 600; }
body.theme-nuit .perimetres__onglet[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; box-shadow: inset 0 -3px 0 var(--dore); }
body.theme-nuit .perimetres__onglet:hover { border-color: var(--dore); }
/* Légende de graphique : de l'air avant le paragraphe suivant (le texte ne colle plus à la source) */
body.theme-nuit .proto-texte p.n-legende { margin-bottom: 2rem; }
body.theme-nuit .proto-texte p.n-legende + .n-savoir, body.theme-nuit .proto-texte p.n-legende + aside { margin-top: 0; }
body.theme-nuit .graph__source + .graph__actions { margin-top: .9rem; }
body.theme-nuit .graph__source + p, body.theme-nuit .graph__source + .reserve { margin-top: 1.6rem; }
/* Boutons noirs des anciennes pages (404, carte…) : bleu nuit, survol doré */
body.theme-nuit .btn-black { background: var(--nuit); border-color: var(--nuit); color: #fff; border-radius: 0; font-family: var(--titre); }
body.theme-nuit .btn-black:hover, body.theme-nuit .btn-black:focus-visible { background: var(--dore); border-color: var(--dore); color: var(--nuit); }

/* Accueil (sinon inchangé) : le bloc « Les actualités » reprend les cartes du gabarit bleu nuit (page Actualités) */
body[data-page="index"] #actualites { background: #fff; }
body[data-page="index"] #actualites .section_title {
	font-family: var(--titre); font-weight: 700; color: var(--nuit); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem);
	text-transform: none; letter-spacing: 0;
}
body[data-page="index"] #actualites .section_title::after { width: 20px; height: 3px; background: var(--dore); }
body[data-page="index"] #actualites .carte-article,
body[data-page="index"] #actualites .carte-article > a {
	border: 0; border-radius: 0; box-shadow: none; background: var(--gris-n);
}
body[data-page="index"] #actualites .carte-article { border-top: 2px solid var(--dore); }
body[data-page="index"] #actualites .carte-article > a:hover { background: #e9ebf0; }
body[data-page="index"] #actualites .carte-article__titre {
	font-family: var(--titre); font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--nuit);
}
body[data-page="index"] #actualites .carte-article p { font-size: .86rem; line-height: 1.55; color: var(--texte-n2); }
body[data-page="index"] #actualites .carte-article__lire {
	font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte);
}
body[data-page="index"] #actualites .carte-article:hover, body[data-page="index"] #actualites .carte-article:focus-within { box-shadow: none; transform: none; }
body[data-page="index"] #actualites .carte-article > a:hover .carte-article__titre { color: var(--nuit); text-decoration: underline; text-decoration-color: var(--dore); text-underline-offset: .2em; }
body[data-page="index"] #actualites .btn-black, body[data-page="index"] #actualites a[class*="btn"] { background: var(--nuit); border-color: var(--nuit); color: #fff; border-radius: 0; font-family: var(--titre); }
body[data-page="index"] #actualites .btn-black:hover, body[data-page="index"] #actualites a[class*="btn"]:hover { background: var(--dore); border-color: var(--dore); color: var(--nuit); }

/* Accueil : plus de fonds crème, beiges ou marron ; gris clair du gabarit (texte et liens inchangés) */
body[data-page="index"] { background: #fff; }
body[data-page="index"] .barre { background: rgba(255, 255, 255, .95); }
body[data-page="index"] .hero-split__texte { background: #fff; }
body[data-page="index"] .hero-split__image,
body[data-page="index"] .bg_grey,
body[data-page="index"].proto .bg_grey,
body[data-page="index"] footer { background-color: var(--gris-n); }   /* background-color seul : garder l'image du haut */
body[data-page="index"] .btn-read { background: var(--gris-n); color: var(--nuit); border: 1px solid var(--trait-n); }
body[data-page="index"] .btn-read:hover, body[data-page="index"] .btn-read:focus-visible { background: var(--dore); border-color: var(--dore); color: var(--nuit); }
body[data-page="index"] .burger span { background: var(--nuit); }
/* Boutons en bleu nuit (survol doré) : accueil et pages bleu nuit */
body[data-page="index"] .btn-read, body[data-page="index"] .btn-black, body[data-page="index"] .to-top,
body.theme-nuit .btn-read, body.theme-nuit .to-top {
	background: var(--nuit); border-color: var(--nuit); color: #fff; border-radius: 0; font-family: var(--titre);
}
body[data-page="index"] .to-top, body.theme-nuit .to-top { border-radius: 50%; }
body[data-page="index"] .btn-read:hover, body[data-page="index"] .btn-read:focus-visible,
body[data-page="index"] .btn-black:hover, body[data-page="index"] .btn-black:focus-visible,
body[data-page="index"] .to-top:hover, body.theme-nuit .btn-read:hover, body.theme-nuit .to-top:hover {
	background: var(--dore); border-color: var(--dore); color: var(--nuit);
}

/* Actualités : chiffres du bandeau en deux rangées, Paris puis France */
.n-kpis-geo .n-kpis-geo__lieu { margin: 2.2rem 0 -1.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14);
	font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore); }
.n-kpis-geo .n-kpis { border-top: 0; }
.n-kpis-geo .n-kpis-geo__lieu + .n-kpis { margin-top: 1.6rem; padding-top: 0; }
.n-kpis-geo .n-hero__source { margin-top: 1rem; }
/* Pastilles des répartitions sans catégorie : bleu nuit par défaut (sinon texte blanc sur fond clair, invisible) */
.repartition { --teinte: var(--nuit); }

/* Contraste : le doré clair (--dore) ne sert pas au texte sur fond clair ; texte en doré foncé ou bleu nuit,
   fonds et filets gardent les couleurs de la charte. */
body.theme-nuit #contenu h2:not(.n-retenir__titre) { color: var(--nuit); }
body.theme-nuit .etape-item__icone { color: var(--dore-texte); }
body.theme-nuit .bg-etiquette { color: var(--dore-texte); }
body.theme-nuit .litiges .li__fam { background: var(--gris-n); color: var(--nuit); border-radius: 0; }
body.theme-nuit .proto-texte .carte:not(.carte--plai):not(.carte--plus) .carte__sigle,
body.theme-nuit .proto-texte .carte:not(.carte--plai):not(.carte--plus) .carte__pour,
body.theme-nuit .proto-texte .carte:not(.carte--plai):not(.carte--plus) .carte__valeur { color: var(--dore-texte); }
body.theme-nuit .proto-texte .carte--pli .carte__sigle, body.theme-nuit .proto-texte .carte--pli .carte__pour,
body.theme-nuit .proto-texte .carte--pli .carte__valeur { color: var(--pli-fonce); }
body.theme-nuit .repartition .repartition__part { color: var(--nuit); }
body.theme-nuit .repartition > li[class*="r-pls"] .repartition__pastille,
body.theme-nuit .repartition > li[class*="r-pli"] .repartition__pastille { color: var(--nuit); }
/* Sommaire des préemptions : parties dans la police du gabarit */
body.theme-nuit .sommaire .sommaire__rubrique, body.theme-nuit .sommaire .sommaire__rubrique a { font-family: var(--titre); font-weight: 700; font-size: .86rem; line-height: 1.35; color: var(--nuit); }

/* Préemptions : filtre des fiches (arrondissement, mois, effacer) au-dessus du premier tableau de chaque année — js/preemptions-filtre.js */
.pre-filtre { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1.2rem; margin: 2rem 0 .4rem; padding: .9rem 1rem; background: var(--gris-n); border-top: 2px solid var(--dore); }
.pre-filtre__champ { display: flex; flex-direction: column; gap: .35rem; }
.pre-filtre__lib { font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte); }
.pre-filtre select { min-width: 12rem; padding: .5rem 2rem .5rem .7rem; border: 1px solid var(--trait-n); border-radius: 0; background: #fff; color: var(--nuit); font: 600 .9rem var(--titre); }
.pre-filtre select:focus-visible { outline: 2px solid var(--dore); outline-offset: 1px; }
.pre-filtre__effacer { padding: .55rem 1.1rem; border: 1px solid var(--nuit); background: #fff; color: var(--nuit); font: 600 .85rem var(--titre); cursor: pointer; }
.pre-filtre__effacer:hover, .pre-filtre__effacer:focus-visible { background: var(--nuit); color: #fff; }
.pre-filtre__compte { margin-left: auto; align-self: center; font-size: .82rem; color: var(--texte-n2); }
.pre-filtre + h4 { margin-top: 1.4rem; }
/* Un élément masqué par un filtre reste masqué, quel que soit son affichage habituel (flex, grid…) */
body.theme-nuit [hidden] { display: none !important; }

/* Sommaire à deux niveaux (js/article.js) : flèche des chapitres qui se déplient */
.sommaire a.sommaire__chapitre { position: relative; padding-right: 1.2rem; }
.sommaire a.sommaire__chapitre::after { content: "▸"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: .7rem; color: var(--dore-texte, #8c6a2f); }
.sommaire a.sommaire__chapitre[aria-expanded="true"]::after { content: "▾"; }
.sommaire li.sommaire__enfant[hidden] { display: none !important; }
/* Accueil : actualités à 3 cartes par ligne sur grand écran (2 sur tablette, 1 sur téléphone) */
@media (min-width: 68rem) { body[data-page="index"] #actualites .grille-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Lien « Retour aux actualités » en bas des articles (js/article.js ; écrit en dur sur la carte des opérations) */
.retour-actualites { max-width: 82rem; margin: 0 auto; padding: 1.6rem var(--gouttiere, 1rem) 3rem; text-align: center; }
.retour-actualites a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; border: 1px solid var(--nuit, #101b34);
	background: #fff; color: var(--nuit, #101b34); font: 600 .9rem var(--titre); text-decoration: none; }
.retour-actualites a:hover, .retour-actualites a:focus-visible { background: var(--nuit, #101b34); color: #fff; }

/* Préemptions : deux histogrammes côte à côte (outils/preemptions-graphique.py) */
.pre-graph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.4rem; margin: 1.2rem 0 .4rem; }
@media (max-width: 600px) { .pre-graph { grid-template-columns: 1fr; } }
.pre-graph__fig { margin: 0; }
.pre-graph__titre { font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte); }
.pre-graph .n-histo { height: 10rem; margin-top: 1rem; }
.pre-graph .n-histo__barre { border-radius: 4px 4px 0 0; }
.pre-graph .n-histo__val { font-size: .74rem; font-weight: 600; color: var(--nuit); }
.pre-graph .n-histo__ans { font-size: .74rem; }
/* Boutons Tableau / Graphique (préemptions, « Année par année ») */
.pre-vues { display: inline-flex; gap: .2rem; margin: .4rem 0 1rem; padding: .25rem; background: var(--gris-n); border-radius: 999px; }
.pre-vues button { padding: .5rem 1.2rem; border: 0; border-radius: 999px; background: none; font: 600 .9rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.pre-vues button[aria-pressed="true"] { background: var(--nuit); color: #fff; }
.pre-vues button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.pre-graph-bloc { margin-bottom: 1.4rem; }
.pre-graph-bloc .pre-graph { margin-top: 0; }
/* Préemptions, graphique par arrondissement : barres plus fines, nom court */
.pre-arr .n-rang { grid-template-columns: 3rem 1fr 6rem; }
.pre-arr .n-rangs { gap: .4rem; }
.pre-arr .n-rang__piste { height: .9rem; }
.pre-arr .n-rang__plein { background: #8a97b3; }
.pre-arr .n-rang--fort .n-rang__plein { background: var(--nuit); }
/* Onglets et boutons de vue : toujours sur une seule ligne, même sur petit téléphone */
.pre-vues, .n-cat-onglets, .n-filtre__pilules { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pre-vues button, .n-cat-onglets button, .n-filtre__pilules button { white-space: nowrap; flex: none; }
@media (max-width: 400px) {
	.pre-vues button { padding: .45rem .8rem; font-size: .8rem; }
	.n-cat-onglets button { padding: .45rem .6rem; font-size: .68rem; }
}
table[data-tri] thead .tri::after { opacity: .55; }
/* Pages budget : graphique construit depuis le tableau (js/tableau-graphique.js) */
.tg-choix { display: flex; flex-direction: column; gap: .35rem; max-width: 100%; }
.tg-choix select { max-width: 100%; padding: .5rem 2rem .5rem .7rem; border: 1px solid var(--trait-n); border-radius: 0; background: #fff; color: var(--nuit); font: 600 .9rem var(--titre); }
.tg-nom { font: 700 .9rem var(--titre); color: var(--nuit); }
.tg-figure .n-histo { height: 11rem; }
.tg-figure .n-histo__val { font-size: .72rem; font-weight: 600; color: var(--nuit); }
.tg-figure .n-histo__barre { border-radius: 4px 4px 0 0; }
/* Infographie dans un onglet : image centrée et lien de téléchargement (budget écoles, collèges, crèches) */
.vues .infographie-document { margin: 1rem auto 0; max-width: 40rem; }
.vues .infographie-document img { width: 100%; height: auto; border: 1px solid var(--trait-n); }
.infographie-telecharger { text-align: center; margin: 1rem 0 1.6rem; }
.infographie-telecharger a { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.3rem; background: var(--nuit); color: #fff; font: 600 .9rem var(--titre); text-decoration: none; }
.infographie-telecharger a:hover, .infographie-telecharger a:focus-visible { background: var(--dore); color: var(--nuit); }
.bg-infographie .infographie-document { margin: 1rem auto 0; max-width: 48rem; } .bg-infographie .infographie-document img { width: 100%; height: auto; border: 1px solid var(--trait-n); }
.tg-titre { margin: 2rem 0 .8rem; font: 700 .95rem var(--titre); color: var(--nuit); }

/* Actualités : trois onglets (Paris, France, Budget de la Ville) sur une seule ligne en mobile (14 oct. 2026) */
@media (max-width: 480px) {
	.n-filtre__pilules { width: 100%; }
	.n-filtre__pilules button { flex: 1 1 auto; justify-content: center; gap: .3rem; padding: .55rem .6rem; font-size: .82rem; }
}
@media (max-width: 360px) {
	.n-filtre__pilules button { padding: .5rem .4rem; font-size: .76rem; }
	.n-filtre__pilules button .compte { display: none; }
}

/* Budget logement social, foncières (14 oct. 2026) : tableaux à colonnes libres. Source en petit sous le libellé ;
   en mobile, chaque ligne devient une fiche avec le nom de la colonne devant la valeur. */
.releve--libre th[scope="row"] { font-weight: 600; }
.releve--libre .releve__source { display: block; margin-top: .25rem; font-weight: 400; font-size: .78rem; line-height: 1.35; color: var(--texte-n2, #5b6170); }
.releve--libre .releve__source a { color: inherit; }
.releve--libre td { vertical-align: top; }
@media (max-width: 720px) {
	.releve--libre thead { display: none; }
	.releve--libre, .releve--libre tbody, .releve--libre tr, .releve--libre th[scope="row"], .releve--libre td { display: block; width: 100%; }
	.releve--libre tr { padding: .7rem .9rem; border-bottom: 1px solid var(--trait-n, #e3e5ea); }
	.releve--libre th[scope="row"], .releve--libre td { padding: 0; border: 0; text-align: left; }
	.releve--libre td { margin-top: .3rem; }
	.releve--libre td::before { content: attr(data-col) "\00a0: "; font-weight: 600; color: var(--texte-n2, #5b6170); font-size: .82rem; }
	.releve--libre td.num { text-align: left; }
}
.releve--libre th, .releve--libre td, .releve--libre .releve__source { white-space: normal; overflow-wrap: anywhere; }
.releve--libre thead th { font-size: .68rem; line-height: 1.3; }
.releve--libre td.num { white-space: nowrap; }
@media (max-width: 720px) {
	.releve--libre caption { display: block; width: 100%; text-align: left; caption-side: bottom; }
	.releve--libre td, .releve--libre td.num { white-space: normal; }
	.table-scroll.bg-table:has(.releve--libre) { overflow-x: visible; }
}
.releve.releve--libre { min-width: 0; width: 100%; }
@media (min-width: 721px) {
	.releve.releve--libre { table-layout: fixed; }
	.releve--libre thead th:first-child { width: 32%; }
	.releve--libre thead th { white-space: normal !important; }
}

/* ===== Styles des maquettes (George V, AORIF, patrimoine, préemptions) repris de ../ph/css/style.css le 14 oct. 2026 ===== */
/* Préemptions : tableau « Année par année » en graphiques */
.n-annees { margin: 1.4rem 0 0; }
.proto-texte .n-annees__titre { margin: 0 0 .6rem; font: 700 .95rem/1.3 var(--titre); color: var(--nuit); }
.n-annees__titre span { margin-left: .4rem; font: 400 .78rem var(--texte); color: var(--texte-n2); }
.proto-texte .n-annees__leg { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 .4rem; font-size: .78rem; }
.n-annees__leg span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; vertical-align: -.05rem; background: var(--c); }
.proto-texte .n-annees__leg--bas { margin-top: .8rem; }
.n-an { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--trait-n); }
.proto-texte .n-an__tete { margin: 0; font-size: .76rem; color: var(--texte-n2); }
.n-an__tete b { display: block; font: 700 1.2rem/1.1 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.n-an__tete em { display: inline-block; margin-top: .3rem; padding: .1rem .4rem; background: var(--gris-n); font-style: normal; font-size: .66rem; font-weight: 600; color: var(--dore-texte); }
.n-an__barres { display: grid; gap: .35rem; }
.n-an__ligne { display: grid; grid-template-columns: 1fr 9.5rem; gap: .7rem; align-items: center; font-size: .8rem; font-weight: 600; color: var(--nuit); font-variant-numeric: tabular-nums; white-space: nowrap; }
.n-an__ligne small { font-weight: 400; color: var(--texte-n2); }
.n-an__ligne--achat { font-weight: 700; }
.n-an__ligne--dore { color: var(--dore-texte); }
.n-an__piste { position: relative; height: .7rem; background: var(--gris-n); }
.n-an__ligne--achat .n-an__piste { height: 1rem; }
.n-an__plein { position: absolute; inset: 0 auto 0 0; background: var(--c); }
.n-an--total { border-top: 2px solid var(--nuit); border-bottom: 0; margin-top: -1px; }
.n-an__totaux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.n-an__totaux span { display: flex; flex-direction: column; padding-left: .6rem; border-left: 3px solid var(--c); font-size: .74rem; color: var(--texte-n2); }
.n-an__totaux b { font: 700 1.05rem/1.25 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; white-space: nowrap; }
.n-annees__duo { display: grid; gap: 2rem; margin-top: 2.4rem; }
.n-annees__duo .n-histo { margin-top: .8rem; }
.n-histo__barre--fonce { background: var(--nuit); }
.n-histo__barre--clair { background: #c4ccdb; }
.n-histo__col--encours .n-histo__barre { background: repeating-linear-gradient(135deg, var(--nuit) 0 5px, var(--nuit-2) 5px 10px); }
.n-histo__col--encours .n-histo__val { font-weight: 700; }
.n-details { margin: 1.4rem 0 0; }
.n-details > summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; font: 600 .85rem var(--titre); color: var(--nuit); list-style: none; }
.n-details > summary::-webkit-details-marker { display: none; }
.n-details > summary::before { content: "+"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 1px solid var(--trait-n); font-weight: 700; }
.n-details[open] > summary::before { content: "−"; }
@media (min-width: 720px) { .n-annees__duo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.n-an { grid-template-columns: 1fr; gap: .5rem; }
	.n-an__tete b { display: inline; margin-right: .5rem; }
	.n-an__ligne { grid-template-columns: 1fr 8rem; font-size: .74rem; }
	.n-an__totaux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Préemptions : classement des arrondissements en barres (onglets via nuit.js) */
.n-arr { margin: 1.2rem 0 0; }
.proto-texte .n-arr__liste { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; counter-reset: none; }
.proto-texte .n-arr__liste > li { display: grid; grid-template-columns: 3.4rem 1fr 6rem; gap: .8rem; align-items: center; margin: 0; padding: 0; font-size: .84rem; font-variant-numeric: tabular-nums; }
.proto-texte .n-arr__liste > li::before { content: none; }
.n-arr__nom { font: 600 .84rem var(--titre); color: var(--nuit); }
.n-arr__piste { position: relative; height: .8rem; background: var(--gris-n); }
.n-arr__plein { position: absolute; inset: 0 auto 0 0; background: var(--ardoise); }
.n-arr__val { text-align: right; font-weight: 600; color: var(--nuit); white-space: nowrap; }
.n-arr--haut .n-arr__plein { background: var(--nuit); }
.n-arr--haut .n-arr__nom, .n-arr--haut .n-arr__val { font-weight: 700; }
@media (max-width: 520px) { .proto-texte .n-arr__liste > li { grid-template-columns: 2.6rem 1fr 4.8rem; gap: .5rem; font-size: .78rem; } }
/* Listes de montants : colonne de gauche plus large (ex. « 11,23 M€ ») */
.n-lignes--large .n-ligne { grid-template-columns: 7rem 1fr; }
@media (max-width: 520px) { .n-lignes--large .n-ligne { grid-template-columns: 5.6rem 1fr; } .n-lignes--large .n-ligne__val { font-size: .95rem; } }

/* Grand chiffre + texte (ex. « 3 ans », « 12,9 Md€ ») : empilés sur mobile */
@media (max-width: 520px) { .n-grand { grid-template-columns: 1fr; gap: .6rem; } }
/* Barres avec libellé long (ex. publics des programmes) et figures d'article */
.n-barre--large { grid-template-columns: 2.8rem 1fr 15rem; }
.n-barre--large .n-barre__val { white-space: normal; line-height: 1.35; color: var(--encre); }
@media (max-width: 600px) { .n-barre--large { grid-template-columns: 2.4rem 1fr; row-gap: .2rem; } .n-barre--large .n-barre__val { grid-column: 2; } }
.n-figure { margin: 1.2rem 0 1.6rem; }
.n-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--trait-n); }
.n-figure figcaption { margin-top: .6rem; }

/* Barres de répartition : espace sous la légende avant le texte qui suit (14 oct. 2026) */
.n-repart { margin-bottom: 1.6rem; }

/* Onglets de catégories (data-cats) : tous sur une ligne en mobile, même à 4 onglets (14 oct. 2026) */
@media (max-width: 480px) {
	.n-cat-onglets { display: flex; width: 100%; overflow: visible; }
	.n-cat-onglets button { flex: 1 1 auto; min-width: 0; padding: .55rem .35rem; font-size: .7rem; letter-spacing: 0; white-space: nowrap; }
}
@media (max-width: 360px) { .n-cat-onglets button { padding: .5rem .2rem; font-size: .64rem; } }

/* Styles de la maquette Plan Climat, repris de ../ph/css/style.css le 14 oct. 2026 */
/* Témoignages (images + liens), ex. Plan Climat */
.n-temoins { display: grid; gap: 1rem; margin: 1.2rem 0 0; }
@media (min-width: 640px) { .n-temoins { grid-template-columns: 1fr 1fr; } }
.n-temoin { display: flex; flex-direction: column; gap: .35rem; padding: .8rem .8rem 1rem; background: var(--gris-n); border-top: 2px solid var(--dore); color: var(--encre); text-decoration: none; }
a.n-temoin:hover { background: #e9ebf0; }
.n-temoin img { display: block; width: 100%; height: 11rem; object-fit: cover; object-position: top; margin-bottom: .4rem; border: 1px solid var(--trait-n); background: #fff; }
.n-temoin .n-etiquette { margin: 0; }
.n-temoin__titre { font: 700 .95rem/1.3 var(--titre); color: var(--nuit); }
a.n-temoin:hover .n-temoin__titre { text-decoration: underline; }
.n-temoin__liens { font-size: .84rem; }
/* 28 oct. 2026 : carte « témoin » sans capture d'écran (résumé, courte citation, lien) */
.n-temoin__resume { font-size: .88rem; line-height: 1.5; color: var(--encre); }
.n-temoin__citation { padding: .45rem .7rem; border-left: 3px solid var(--dore); background: #fff; font-size: .86rem; font-style: italic; color: var(--nuit); }
.n-temoin__lien { margin-top: auto; font: 700 .8rem var(--titre); color: var(--or-texte, var(--nuit)); }

/* Accès au logement social : tableaux des plafonds sur téléphone (14 oct. 2026).
   Chaque foyer devient une fiche ; chaque montant porte le nom de sa colonne (attribut data-col). */
@media (max-width: 760px) {
	.table-scroll:has(> .n-plafonds), .table-scroll:has(> .n-plafonds-zones) { overflow-x: visible; }
	.n-plafonds, .n-plafonds-zones { min-width: 0; display: block; }
	.n-plafonds thead, .n-plafonds-zones thead { display: none; }
	.n-plafonds tbody, .n-plafonds-zones tbody { display: block; }
	.n-plafonds tbody tr, .n-plafonds-zones tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .9rem 0; border-bottom: 1px solid var(--trait-n); }
	.n-plafonds tbody th, .n-plafonds-zones tbody th { grid-column: 1 / -1; padding: 0 0 .2rem; border: 0; background: none; font-weight: 700; font-size: .92rem; color: var(--nuit); }
	.n-plafonds tbody td, .n-plafonds-zones tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .45rem .6rem; border: 0; border-left: 4px solid var(--trait-n); background: var(--gris-n); text-align: right; font-size: .9rem; font-weight: 600; color: var(--nuit); }
	.n-plafonds tbody td::before, .n-plafonds-zones tbody td::before { content: attr(data-col); text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2; color: var(--texte-n2); }
	.n-plafonds td[data-col="PLAI"] { border-left-color: var(--plai); }
	.n-plafonds td[data-col="PLUS"] { border-left-color: var(--plus); }
	.n-plafonds td[data-col="PLS"] { border-left-color: var(--pls); }
	.n-plafonds td[data-col="PLI"] { border-left-color: var(--pli); }
	.n-plafonds-zones td:first-of-type { border-left-color: var(--nuit); }
	.n-plafonds tr.total, .n-plafonds-zones tr:last-child { background: none; }
	.n-plafonds { display: flex; flex-direction: column; }
	.n-plafonds caption { display: block; order: 2; margin-top: .6rem; }
	.n-plafonds tbody td, .n-plafonds-zones tbody td { min-width: 0; }
	.n-plafonds tbody td::before, .n-plafonds-zones tbody td::before { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
	.n-plafonds-zones tbody tr { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 340px) {
	.n-plafonds tbody tr, .n-plafonds-zones tbody tr { grid-template-columns: 1fr; }
}

/* Onglets de catégories (data-cats) : vrais onglets, plus faciles à reconnaître (14 oct. 2026) */
.n-cat-onglets { display: flex; gap: 0; margin: .8rem 0 0; padding: 0; background: none; border-bottom: 2px solid var(--nuit); }
.n-cat-onglets button { margin: 0 -1px 0 0; padding: .65rem 1.15rem; border: 1px solid var(--trait-n); border-bottom: 0; background: var(--gris-n); font: 700 .8rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.n-cat-onglets button:hover { background: #e4e7ee; color: var(--nuit); }
.n-cat-onglets button[aria-selected="true"] { position: relative; z-index: 1; border-color: var(--nuit); background: var(--nuit); color: #fff; }
.theme-nuit .proto-texte p.n-cat-panneau__nom, .proto-texte p.n-cat-panneau__nom, .n-cat-panneau__nom { margin: .9rem 0 .4rem; font: 700 .95rem/1.35 var(--titre); color: var(--nuit); }
@media (max-width: 480px) {
	.n-cat-onglets button { flex: 1 1 0; padding: .6rem .3rem; font-size: .74rem; text-align: center; }
}

/* Rappel du code couleur des catégories (PLAI bleu nuit, PLUS bleu, PLS doré, PLI gris) dans les onglets
   et les fiches des plafonds (14 oct. 2026). data-nom est posé sur les boutons par js/nuit.js. */
.n-cat-onglets button[data-nom="PLAI"] { --c: var(--plai); --c-texte: #fff; }
.n-cat-onglets button[data-nom="PLUS"] { --c: var(--plus); --c-texte: #fff; }
.n-cat-onglets button[data-nom="PLS"]  { --c: var(--pls);  --c-texte: var(--nuit); }
.n-cat-onglets button[data-nom="PLI"]  { --c: var(--pli-fonce); --c-texte: #fff; }
.n-cat-onglets button[data-nom="PLAI"], .n-cat-onglets button[data-nom="PLUS"], .n-cat-onglets button[data-nom="PLS"], .n-cat-onglets button[data-nom="PLI"] { box-shadow: inset 0 4px 0 var(--c); }
.n-cat-onglets button[data-nom="PLAI"][aria-selected="true"], .n-cat-onglets button[data-nom="PLUS"][aria-selected="true"],
.n-cat-onglets button[data-nom="PLS"][aria-selected="true"], .n-cat-onglets button[data-nom="PLI"][aria-selected="true"] { background: var(--c); border-color: var(--c); color: var(--c-texte); box-shadow: none; }
.n-cat-onglets:has(button[data-nom="PLAI"]) { border-bottom-color: var(--trait-n); }
.n-cat-panneau[data-nom="PLAI"] { --c: var(--plai); } .n-cat-panneau[data-nom="PLUS"] { --c: var(--plus); }
.n-cat-panneau[data-nom="PLS"] { --c: var(--pls); } .n-cat-panneau[data-nom="PLI"] { --c: var(--pli-fonce); }
.n-cat-panneau[data-nom="PLAI"] .n-cat-panneau__nom, .n-cat-panneau[data-nom="PLUS"] .n-cat-panneau__nom,
.n-cat-panneau[data-nom="PLS"] .n-cat-panneau__nom, .n-cat-panneau[data-nom="PLI"] .n-cat-panneau__nom { padding-left: .6rem; border-left: 4px solid var(--c); }
.n-cat-panneau .n-plafonds-zones thead { border-top: 3px solid var(--c, var(--nuit)); }
@media (max-width: 760px) {
	.n-cat-panneau .n-plafonds-zones tbody td { border-left-color: var(--c, var(--nuit)); }
}

/* Tableaux en fiches sur téléphone (classe posée par js/site.js, 14 oct. 2026).
   Une ligne = une fiche : l'intitulé en titre, puis chaque valeur avec le nom de sa colonne. */
@media (max-width: 760px) {
	.table-scroll:has(> table.t-fiches), div:has(> table.t-fiches) { overflow-x: visible !important; }
	table.t-fiches { display: block; width: 100% !important; min-width: 0 !important; max-width: 100%; table-layout: auto !important; }
	table.t-fiches caption { display: block; text-align: left; margin: 0 0 .6rem; }
	table.t-fiches thead { display: block; }
	table.t-fiches thead tr { display: block; }
	table.t-fiches thead tr:not(:last-child) { display: none; }
	table.t-fiches thead th, table.t-fiches thead td { display: none; }
	table.t-fiches thead tr:last-child > :first-child { display: block; width: auto; padding: .4rem 0; border: 0; border-bottom: 2px solid var(--nuit, #101b34); background: none; color: var(--nuit, #101b34); text-align: left; }
	table.t-fiches thead tr:last-child > :first-child:empty { display: none; }
	table.t-fiches tbody, table.t-fiches tfoot { display: block; }
	table.t-fiches tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .3rem; padding: .8rem 0; border-bottom: 1px solid var(--trait-n, #e3e5ea); }
	table.t-fiches tr > :first-child { grid-column: 1 / -1; display: block; width: auto; min-width: 0; padding: 0 0 .15rem; border: 0; background: none; text-align: left; white-space: normal; font-weight: 700; color: var(--nuit, #101b34); position: static; }
	table.t-fiches td:not(:first-child) { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; min-width: 0; width: auto; padding: .4rem .55rem; border: 0; background: var(--gris-n, #f2f3f6); text-align: right; white-space: nowrap; }
	table.t-fiches td:not(:first-child)::before { content: attr(data-col); flex: 0 1 auto; min-width: 0; text-align: left; white-space: normal; font-size: .7rem; font-weight: 600; line-height: 1.25; color: var(--texte-n2, #5b6170); }
	table.t-fiches td:not([data-col])::before { content: none; }
	table.t-fiches td:empty { display: none; }
	table.t-fiches tr.total, table.t-fiches tr.fort { background: none; }
	table.t-fiches tr.total > :first-child, table.t-fiches tr.fort > :first-child { color: var(--nuit, #101b34); }
	table.t-fiches tr.sous > :first-child { font-weight: 600; padding-left: .6rem; border-left: 3px solid var(--trait-n, #e3e5ea); }
}
@media (max-width: 760px) {
	table.t-fiches td.t-long { grid-column: 1 / -1; display: block; text-align: left; white-space: normal; }
	table.t-fiches td.t-long::before { display: block; margin-bottom: .15rem; }
}
@media (max-width: 760px) {
	/* Nom de colonne jamais coupé au milieu d'un mot ; indication « faites glisser » inutile en fiches */
	table.t-fiches td:not(:first-child)::before { flex-shrink: 0; max-width: 55%; overflow-wrap: normal; word-break: normal; }
	table.t-fiches caption .glisser, .glisser:has(+ * table.t-fiches) { display: none; }
}
@media (max-width: 760px) { .housing-table-wrap:has(table.t-fiches)::before { content: none; display: none; } }
@media (max-width: 760px) {
	/* (empilement des tableaux à deux colonnes retiré le 14 oct. 2026 : colonne fixe + défilement à la place) */
}

/* Fiches sur téléphone étroit : une valeur par ligne (nom à gauche, chiffre à droite, petite note dessous) */
@media (max-width: 560px) {
	table.t-fiches tr { grid-template-columns: 1fr; gap: .25rem; }
	table.t-fiches td:not(:first-child) { flex-wrap: wrap; }
	table.t-fiches td:not(:first-child)::before { max-width: 60%; font-size: .74rem; }
	table.t-fiches td small { flex-basis: 100%; text-align: right; font-size: .72rem; color: var(--texte-n2, #5b6170); }
}

/* Tableaux trop larges (classe posée par js/site.js) : forme normale, défilement horizontal,
   première colonne fixe pour garder l'intitulé de la ligne à l'écran (14 oct. 2026). */
.t-defile { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t-colfixe tr > :first-child { position: sticky !important; left: 0 !important; z-index: 2; background-color: #fff; min-width: 7.5rem; max-width: 42vw; white-space: normal; box-shadow: 1px 0 0 var(--trait-n, #e3e5ea), 6px 0 8px -6px rgba(16, 27, 52, .18); }
table.t-colfixe thead tr > :first-child { z-index: 3; }
table.t-colfixe tr.total > :first-child, table.t-colfixe tr.fort > :first-child { background-color: var(--gris-n, #f2f3f6); }
table.t-colfixe { border-collapse: separate !important; border-spacing: 0; overflow: visible !important; }
.t-defile > table.t-colfixe, .table-scroll > table.t-colfixe { overflow: visible !important; }
@media (max-width: 760px) {
	table.t-colfixe tr > :first-child { width: 45vw !important; min-width: 7rem !important; max-width: 45vw !important; font-size: .82rem; }
}
@media (max-width: 760px) {
	table.t-colfixe col.c-lib { width: 45vw !important; }
	table.t-colfixe { table-layout: auto !important; }
}

/* ===== Page « Le logement social à Paris en 2025 » (js/ls25.js, outils/logement-social-paris-2025.py) ===== */
.ls25 { padding: 2.4rem 0 1rem; background: #fff; }
.ls25__grille { display: grid; gap: 2.6rem; }
@media (min-width: 1000px) { .ls25__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.6rem; align-items: start; } }
.ls25__col { display: grid; gap: 2.8rem; min-width: 0; }
.ls-bloc { min-width: 0; }
.ls-titre { margin: 0 0 .5rem; font: 800 clamp(1.3rem, 2.2vw, 1.65rem)/1.15 var(--titre); color: var(--nuit); letter-spacing: -.01em; }
.ls-titre::after { content: ""; display: block; width: 2rem; height: 3px; margin-top: .6rem; background: var(--dore); }
.ls-lead { margin: .4rem 0 1rem; font-size: .95rem; color: var(--texte-n2); }
.ls-lead strong { color: var(--nuit); }
.ls-note { margin: .7rem 0 0; font-size: .78rem; line-height: 1.5; color: var(--texte-n2); }
.ls25 sup { font-size: .62em; }

/* Années */
.ls-annees { display: flex; align-items: flex-end; gap: 3px; height: 8.5rem; padding-top: .3rem; border-bottom: 1px solid var(--trait-n); }
.ls-an { flex: 1 1 0; display: flex; align-items: flex-end; height: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.ls-an span { display: block; width: 100%; height: var(--h); background: #b9c3d6; transition: background .15s; }
.ls-an:hover span, .ls-an:focus-visible span { background: var(--plus, #5a76a6); }
.ls-an--actif span { background: var(--nuit); }
.ls-an:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.ls-annees__axe { display: flex; justify-content: space-between; margin-top: .35rem; font-size: .72rem; color: var(--texte-n2); font-variant-numeric: tabular-nums; }

/* Chiffres de la demande */
.ls-chiffres { display: grid; margin: .4rem 0 0; border-top: 1px solid var(--trait-n); }
.ls-chiffres > div { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--trait-n); }
.ls-chiffres dt { font-size: .95rem; color: var(--encre); }
.ls-chiffres dd { margin: 0; font: 800 1.15rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; text-align: right; }
.ls-chiffres p { grid-column: 1 / -1; margin: .15rem 0 0; font-size: .74rem; color: var(--texte-n2); }

/* Barres horizontales (publics, modes, loyers, bailleurs) */
.ls-barres { list-style: none; margin: .6rem 0 0; padding: 0; }
.ls-barre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 3.2rem 6.6rem; gap: .2rem .8rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--trait-n); }
.ls-barre__nom { font-weight: 600; color: var(--nuit); font-size: .92rem; line-height: 1.3; }
.ls-barre__nom small, .ls-barre__note { display: block; margin-top: .15rem; font-weight: 400; font-size: .74rem; color: var(--texte-n2); }
.ls-barre__piste { height: .7rem; background: var(--gris-n); }
.ls-barre__piste span { display: block; height: 100%; background: var(--nuit); }
.ls-barre__pct { font: 700 .95rem var(--titre); color: var(--nuit); text-align: right; font-variant-numeric: tabular-nums; }
.ls-barre__val { font-size: .8rem; color: var(--texte-n2); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) {
	.ls-barre { grid-template-columns: minmax(0, 1fr) 3rem; }
	.ls-barre__piste { grid-column: 1 / -1; grid-row: 2; }
	.ls-barre__val { grid-column: 1 / -1; text-align: left; }
}

/* Arrondissements */
.ls-arrs { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 2px; }
.ls-arrs > li::before { content: none !important; }
.proto-texte .ls-arrs > li, .ls-arrs > li { margin: 0; padding: 0; }
.ls-arr { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) 5.4rem; gap: .7rem; align-items: center; width: 100%; padding: .35rem .4rem; border: 0; background: none; text-align: left; font: inherit; color: var(--nuit); cursor: pointer; }
.ls-arr:hover, .ls-arr:focus-visible { background: var(--gris-n); }
.ls-arr[aria-pressed="true"] { background: #e7ebf3; box-shadow: inset 3px 0 0 var(--dore); }
.ls-arr:focus-visible { outline: 2px solid var(--dore); outline-offset: -2px; }
.ls-arr__nom { font: 700 .9rem var(--titre); line-height: 1.2; }
.ls-arr__nom small { display: block; font: 400 .7rem var(--texte, inherit); color: var(--texte-n2); }
.ls-arr__piste { height: .65rem; background: var(--gris-n); }
.ls-arr__piste span { display: block; height: 100%; background: var(--plus, #5a76a6); }
.ls-arr__val { font-weight: 700; font-size: .88rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Barres divergentes autour des 25 % */
.ls-div { position: relative; height: .75rem; }
.ls-div::after { content: ""; position: absolute; left: 50%; top: -.35rem; bottom: -.35rem; border-left: 1px dashed var(--nuit); }
.ls-div__barre { position: absolute; top: 0; bottom: 0; }
.ls-div__barre--bas { right: 50%; background: var(--rouge, #a83d2d); }
.ls-div__barre--haut { left: 50%; background: var(--nuit); }
.ls-leg { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: .4rem 0 .2rem; font-size: .74rem; color: var(--texte-n2); }
.ls-leg span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; vertical-align: -.05rem; }
.ls-leg__bas::before { background: var(--rouge, #a83d2d); }
.ls-leg__haut::before { background: var(--nuit); }
.ls-leg__loi::before { width: 0 !important; height: .8rem !important; border-left: 1px dashed var(--nuit); }

/* Fiche d'arrondissement */
.ls-fiche { margin-top: 1.2rem; padding: 1.2rem 1.2rem 1rem; border-top: 3px solid var(--dore); background: var(--gris-n); }
.ls-fiche__tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ls-fiche h3 { margin: 0; font: 800 1.2rem var(--titre); color: var(--nuit); }
.ls-fiche__fermer { width: 2.2rem; height: 2.2rem; border: 1px solid var(--trait-n); background: #fff; font-size: 1.3rem; line-height: 1; color: var(--nuit); cursor: pointer; }
.ls-fiche__chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .9rem 0 0; }
.ls-fiche__chiffres > div { padding: .6rem .7rem; background: #fff; }
.ls-fiche__chiffres dt { font-size: .72rem; color: var(--texte-n2); }
.ls-fiche__chiffres dd { margin: .15rem 0 0; font: 800 1.15rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ls-fiche__chiffres dd.ls-bas { color: var(--rouge, #a83d2d); }
.ls-fiche__sous { margin: 1rem 0 .3rem; font: 700 .78rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--dore-texte, #8a6a2c); }
.ls-fiche__bs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.ls-fiche__bs li { padding: .3rem .6rem; background: #fff; font-size: .82rem; }
.ls-fiche__bs li::before { content: none !important; }

/* Opérations */
.ls-ops { list-style: none; margin: .4rem 0 0; padding: 0; }
.ls-ops > li::before { content: none !important; }
.ls-ops > li { margin: 0; padding: 0; border-bottom: 1px solid var(--trait-n); }
.ls-op, .ls-ops--fiche > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; width: 100%; padding: .75rem 0; border: 0; background: none; text-align: left; font: inherit; color: var(--nuit); }
button.ls-op { cursor: pointer; }
button.ls-op:hover .ls-op__adr { text-decoration: underline; }
.ls-op__adr { font-size: .95rem; }
.ls-op__info { grid-row: 2; font-size: .76rem; color: var(--texte-n2); }
.ls-op__val { grid-row: 1 / span 2; align-self: center; font: 700 .9rem var(--titre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls-ops--fiche > li { padding: .55rem 0; }
.ls-ops--cout > li { padding-bottom: .6rem; }
.ls-ops--cout .ls-op { padding-bottom: .2rem; }
.ls-ops--cout .ls-op__val { text-align: right; font-size: 1.05rem; }
.ls-ops--cout .ls-op__val small { display: block; white-space: normal; max-width: 8.5rem; margin-left: auto; font: 400 .74rem var(--texte, inherit); color: var(--texte-n2); }
.ls-op__delib { font-size: .72rem; color: var(--texte-n2); text-decoration: underline; text-underline-offset: 2px; }
.ls-sources { margin-top: 1rem; }
.ls25 .ls-barres > li::before, .ls25 .ls-ops > li::before, .ls25 .ls-arrs > li::before, .ls25 .ls-fiche__bs > li::before { content: none !important; display: none !important; }
.ls25 .ls-barres > li, .ls25 .ls-ops > li { margin: 0; padding-left: 0; }
.ls25 .ls-fiche h3 { margin: 0; padding: 0; border: 0; background: none; color: var(--nuit); font: 800 1.25rem/1.2 var(--titre); text-transform: none; letter-spacing: 0; }
.ls25 .ls-fiche h3::before, .ls25 .ls-fiche h3::after { content: none; display: none; }

/* ---------- Logement social 2025 : carte, Paris en 100 logements, budget ---------- */
.ls25 { --c1: #a83d2d; --c2: #d4806f; --c3: #f0cbc1; --c4: #a9b8d2; --c5: #1d2b4f; }
.ls-c1 { fill: var(--c1); background: var(--c1); } .ls-c2 { fill: var(--c2); background: var(--c2); }
.ls-c3 { fill: var(--c3); background: var(--c3); } .ls-c4 { fill: var(--c4); background: var(--c4); }
.ls-c5 { fill: var(--c5); background: var(--c5); }
.ls-carte { display: block; width: 100%; height: auto; margin: .6rem 0 .2rem; }
.ls-carte__arr { stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: opacity .15s; outline: none; }
.ls-carte:hover .ls-carte__arr { opacity: .75; }
.ls-carte .ls-carte__arr:hover, .ls-carte .ls-carte__arr:focus, .ls-carte__arr--actif { opacity: 1 !important; stroke: var(--or); stroke-width: 3; }
.ls-carte__libs text { font: 700 19px var(--titre); fill: var(--nuit); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.ls-carte__libs text.ls-carte__lib--clair { fill: #fff; }
.ls-carte__lecture { min-height: 1.5em; margin: .2rem 0 .4rem; font-size: .9rem; }
.ls-leg--carte { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .76rem; color: var(--texte-n2); margin: .3rem 0 0; }
.ls-leg--carte span { display: inline-flex; align-items: center; gap: .35rem; }
.ls-leg--carte i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; }

.ls-cent__choix { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; margin: .2rem 0 .8rem; }
.ls-cent__choix select { font: inherit; padding: .3rem .5rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; color: var(--nuit); }
.ls-cent { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 22rem; }
.ls-cent i { aspect-ratio: 1; border-radius: 3px; background: #e6eaf1; transition: background .25s; }
.ls-cent i.ls-case--soc { background: var(--nuit); }
.ls-cent i.ls-case--loi { background: transparent; box-shadow: inset 0 0 0 2px var(--rouge); }
.ls-leg--cent .ls-leg__manque::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .35rem; vertical-align: -1px; border-radius: 2px; box-shadow: inset 0 0 0 2px var(--rouge); }
.ls-leg--cent { margin-top: .6rem; }

.ls-bud { display: flex; gap: 2px; height: 3rem; margin: .8rem 0 .4rem; border-radius: 4px; overflow: hidden; }
.ls-bud__seg { min-width: 0; border: 0; padding: 0; cursor: pointer; color: #fff; font: 700 .8rem var(--titre); }
.ls-bud__seg.ls-bud--actif { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px rgba(0, 0, 0, .25); }
.ls-bud__seg span { display: block; overflow: hidden; white-space: nowrap; }
.ls-b1 { background: var(--nuit); } .ls-b2 { background: var(--or); } .ls-b3 { background: #5f7398; } .ls-b4 { background: #a83d2d; }
.ls-bud__liste { list-style: none; margin: .3rem 0 0; padding: 0; }
.ls25 .ls-bud__liste > li { margin: 0; padding: 0; border-bottom: 1px solid var(--trait-n); }
.ls25 .ls-bud__liste > li::before { content: none !important; display: none !important; }
.ls-bud__ligne { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; width: 100%; padding: .6rem 0; border: 0; background: none; font: inherit; color: var(--nuit); text-align: left; cursor: pointer; }
.ls-bud__ligne i { width: .9rem; height: .9rem; border-radius: 2px; }
.ls-bud__ligne.ls-bud--actif .ls-bud__nom { font-weight: 700; }
.ls-bud__val { font: 700 .95rem var(--titre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls-bud__txt { margin: 0 0 .7rem 1.5rem; font-size: .85rem; line-height: 1.5; }

/* ---------- Logement social 2025 : onglets de la page et nouveaux blocs ---------- */
.ls25 h3.ls-titre { margin: 0 0 .5rem; padding: 0; background: none; border: 0; color: var(--nuit); font: 800 clamp(1.25rem, 2vw, 1.55rem)/1.15 var(--titre); letter-spacing: -.01em; text-transform: none; }
.ls25 h3.ls-titre::before { content: none; display: none; }
.ls-onglets { display: flex; gap: 0; margin: 0 0 2.2rem; border-bottom: 2px solid var(--trait-n); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-margin-top: 1rem; }
.ls-onglets::-webkit-scrollbar { display: none; }
.ls-onglets button { flex: 0 0 auto; margin-bottom: -2px; padding: .85rem 1.1rem .75rem; border: 0; border-bottom: 3px solid transparent; background: none; font: 700 .9rem var(--titre); color: var(--texte-n2); cursor: pointer; white-space: nowrap; }
.ls-onglets button:hover { color: var(--nuit); }
.ls-onglets button[aria-selected="true"] { color: var(--nuit); border-bottom-color: var(--dore); }
.ls-onglets button:focus-visible { outline: 2px solid var(--dore); outline-offset: -2px; }
html:not(.ls-js) .ls-onglets { display: none; }
/* Deux niveaux d'onglets (chiffres-cles) : périmètre en haut, rubriques de Paris en dessous (16 oct. 2026) */
.ls-onglets[hidden] { display: none; }
.ls-onglets--haut { margin-bottom: 0; }
.ls25 .ls-onglets.ls-onglets--haut button { padding: .7rem 1.1rem .65rem; font-size: .82rem; }   /* 28 oct. 2026 : même taille d’onglets partout */
.ls25 .ls-onglets.ls-onglets--haut button[aria-selected="true"] { background: var(--nuit); color: #fff; border-bottom-color: var(--dore); }
.ls25 .ls-onglets.ls-onglets--haut button[aria-selected="true"]:hover { color: #fff; }
.ls-onglets--haut + .ls-onglets--sous { margin-top: 0; }
.ls-onglets--sous { border-bottom-width: 1px; background: #fff; }
.ls25 .ls-onglets.ls-onglets--sous button { padding: .7rem 1rem .6rem; font-size: .84rem; margin-bottom: -1px; }
.ls-onglets--haut:has(+ .ls-onglets--sous[hidden]) { margin-bottom: 2.2rem; }
.ls-onglets--haut:not(:has(+ .ls-onglets--sous[hidden])) { margin-bottom: 0; }
.ls-vue { padding-bottom: 1rem; }
html:not(.ls-js) .ls-vue + .ls-vue { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--trait-n); }
.ls-vue__titre { margin: 0 0 1.5rem; padding: 0; background: none; color: var(--or-texte); font: 700 .7rem var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.ls-js .ls-vue__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .ls-onglets { margin: 0 -16px 1.8rem; padding: 0 8px; } .ls-onglets button { padding: .75rem .75rem .65rem; font-size: .84rem; } }

/* Graphiques en colonnes (graphe() du générateur) */
.ls-graph { margin-top: .4rem; }
.ls-graph__lecture { min-height: 2.6em; margin: 0 0 .5rem; font-size: .92rem; line-height: 1.4; color: var(--nuit); }
.ls-graph__lecture small { display: block; font-size: .76rem; color: var(--texte-n2); }
.ls-cols { display: flex; align-items: flex-end; gap: 3px; height: var(--hauteur, 9rem); padding-top: .3rem; border-bottom: 1px solid var(--trait-n); }
.ls-col { flex: 1 1 0; display: flex; align-items: flex-end; height: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.ls-col__pile { display: flex; flex-direction: column-reverse; width: 100%; gap: 1px; opacity: .45; transition: opacity .15s; border-radius: 2px 2px 0 0; overflow: hidden; }
.ls-col__pile span { display: block; min-height: 0; flex-basis: 0; }
.ls-col:hover .ls-col__pile, .ls-col:focus-visible .ls-col__pile, .ls-col--actif .ls-col__pile { opacity: 1; }
.ls-col:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.ls-leg--graph { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0 0 .5rem; font-size: .76rem; color: var(--texte-n2); }
.ls-leg--graph span { display: inline-flex; align-items: center; gap: .35rem; }
.ls-leg--graph i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; }

/* Remonter le temps */
.ls-temps { padding: 1.2rem; background: var(--gris-n, #f3f5f9); border-radius: 6px; }
.ls-temps__an { font: 800 2.6rem/1 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ls-temps input[type="range"] { width: 100%; margin: .8rem 0 1rem; accent-color: var(--nuit); }
.ls-temps__chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin: 0; }
.ls-temps__chiffres dt { font-size: .76rem; color: var(--texte-n2); }
.ls-temps__chiffres dd { margin: .15rem 0 0; font: 800 1.35rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ls-temps__jauge { position: relative; display: block; height: 6px; margin-top: .35rem; background: #dfe4ee; border-radius: 3px; }
.ls-temps__jauge span { display: block; height: 100%; background: var(--nuit); border-radius: 3px; transition: width .2s; }
.ls-temps__jauge i { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--rouge); }
.ls-temps .ls-note:empty { display: none; }

/* En bref */
.ls-bref { list-style: none; margin: .3rem 0 0; padding: 0; }
.ls25 .ls-bref > li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--trait-n); }
.ls25 .ls-bref > li::before { content: none !important; display: none !important; }
.ls-bref b { display: block; font: 700 1rem/1.3 var(--titre); color: var(--nuit); }
.ls-bref span { display: block; margin-top: .2rem; font-size: .85rem; color: var(--texte-n2); }
.ls-aller { margin-top: .4rem; padding: 0; border: 0; background: none; font: 700 .8rem var(--titre); color: var(--or-texte); cursor: pointer; }
.ls-aller:hover { text-decoration: underline; }

/* Fiche d'arrondissement en colonne de droite */
@media (min-width: 1000px) { .ls-bloc--fiche { position: sticky; top: 1rem; } }
.ls-fiche-vide { padding: 1.4rem; border: 1px dashed var(--trait-n); border-radius: 6px; font-size: .9rem; color: var(--texte-n2); }
.ls-fiche-vide__titre { margin: 0 0 .4rem; font: 800 1.15rem var(--titre); color: var(--nuit); }
.ls-fiche-vide__ex { margin-top: .6rem; color: var(--nuit); }
@media (max-width: 999px) { .ls-fiche-vide { display: none; } }

/* Demandes pour un logement attribué */
.ls-ratio__ans { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 1rem; }
.ls-ratio__an { padding: .35rem .7rem; border: 1px solid var(--trait-n); border-radius: 999px; background: #fff; font: 700 .8rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.ls-ratio__an--actif { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ls-ratio { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; max-width: 22rem; }
.ls-ratio i { aspect-ratio: 1; border-radius: 50%; background: #c9d1df; }
.ls-ratio i:first-child { background: var(--or); box-shadow: 0 0 0 3px rgba(166, 125, 74, .25); }
.ls-leg--ratio { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .8rem; font-size: .76rem; color: var(--texte-n2); }
.ls-leg--ratio span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 50%; vertical-align: -1px; }
.ls-leg__att::before { background: var(--or); } .ls-leg__dem::before { background: #c9d1df; }

/* Toutes les opérations */
.ls-filtres { display: flex; flex-wrap: wrap; gap: .6rem .8rem; margin: .4rem 0 .6rem; }
.ls-filtres label { display: flex; flex-direction: column; gap: .2rem; font-size: .72rem; color: var(--texte-n2); }
.ls-filtres select, .ls-filtres input { min-width: 0; max-width: 100%; padding: .4rem .5rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: inherit; font-size: .85rem; color: var(--nuit); }
.ls-filtres__cherche { flex: 1 1 8rem; }
.ls-filtres__compte { margin: .2rem 0 .3rem; font: 700 .82rem var(--titre); color: var(--nuit); }
.ls-liste { list-style: none; margin: 0; padding: 0; }
.ls25 .ls-liste > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--trait-n); }
.ls25 .ls-liste > li::before { content: none !important; display: none !important; }
.ls-liste__g { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ls-liste__d { text-align: right; max-width: 9rem; }
.ls-liste__d small { display: block; font-size: .72rem; line-height: 1.3; color: var(--texte-n2); }
.ls-liste__cout { font: 700 .95rem var(--titre); color: var(--nuit); white-space: nowrap; }
.ls-liste__cout--nr { font: 400 .76rem var(--texte, inherit); color: var(--texte-n2); }
.ls-liste .ls-op__info a { color: var(--texte-n2); }
.ls-plus { margin-top: .8rem; padding: .55rem 1rem; border: 1px solid var(--nuit); border-radius: 4px; background: #fff; font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; }
.ls-plus:hover { background: var(--nuit); color: #fff; }
.ls25 .ls-sources { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--trait-n); background: none; border-left: 0; }
.ls25 .ls-sources h3 { margin: 0 0 .5rem; padding: 0; background: none; border: 0; font: 700 .62rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte); }
.ls25 .ls-sources h3::before, .ls25 .ls-sources h3::after { content: none; }
.ls25 .ls-sources li, .ls25 .ls-sources p { font-size: .8rem; line-height: 1.5; color: var(--texte-n2); }
.ls25 .ls-sources li { margin: 0 0 .3rem; }
.ls25 .ls-sources li::before { content: none; }
.ls25 .ls-sources ul { padding: 0; list-style: none; }
.ls-bref .ls-aller span { display: inline; margin: 0; color: inherit; font-size: inherit; }
/* Budget : une barre horizontale par année */
.ls-bans { list-style: none; margin: .2rem 0 0; padding: 0; }
.ls25 .ls-bans > li { margin: 0; padding: 0; }
.ls25 .ls-bans > li::before { content: none !important; display: none !important; }
.ls-ban { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 5.2rem; align-items: center; gap: .7rem; width: 100%; height: auto; padding: .4rem 0; border-radius: 4px; }
.ls-ban__an { font: 700 .85rem var(--titre); color: var(--texte-n2); text-align: left; }
.ls-ban__piste { display: block; }
.ls-ban__barre { display: flex; gap: 2px; height: 1.6rem; border-radius: 3px; overflow: hidden; }
.ls-ban__barre span { display: block; flex-basis: 0; min-width: 0; }
.ls-ban__val { font: 700 .9rem var(--titre); color: var(--nuit); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls-ban:hover, .ls-ban.ls-col--actif { background: var(--gris-n, #f3f5f9); }
.ls-ban.ls-col--actif .ls-ban__an { color: var(--nuit); }
.ls-graph__lecture--bas { margin: .8rem 0 0; padding: .7rem .9rem; background: var(--gris-n, #f3f5f9); border-radius: 4px; min-height: 0; }

/* Logement social 2025 : onglet Opérations, tableau filtrable */
.ls-onglets button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.ls-vue--large .ls-bloc { max-width: none; }
.ls-erp { margin-top: 1rem; }
.ls-erp__kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--trait-n); border: 1px solid var(--trait-n); border-radius: 6px; overflow: hidden; }
.ls-erp__kpi > div { padding: .9rem 1rem; background: #fff; }
.ls-erp__kpi span { display: block; font-size: .72rem; color: var(--texte-n2); text-transform: uppercase; letter-spacing: .06em; }
.ls-erp__kpi b { display: block; margin-top: .2rem; font: 800 1.5rem/1.1 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ls-erp__kpi small { display: block; margin-top: .15rem; font-size: .7rem; color: var(--texte-n2); }
.ls-erp__filtres { display: grid; grid-template-columns: 2fr repeat(6, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 .5rem; padding: .9rem; background: var(--gris-n, #f3f5f9); border-radius: 6px; }
.ls-erp__filtres label { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.ls-erp__filtres label > span { font-size: .7rem; font-weight: 600; color: var(--texte-n2); }
.ls-erp__filtres select, .ls-erp__filtres input { width: 100%; min-width: 0; height: 2.3rem; padding: 0 .5rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: inherit; font-size: .84rem; color: var(--nuit); }
.ls-erp__filtres select:focus, .ls-erp__filtres input:focus { outline: 2px solid var(--dore); outline-offset: 0; border-color: var(--dore); }
.ls-erp__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.2rem; margin-bottom: .5rem; }
.ls-erp__puces { display: flex; flex-wrap: wrap; gap: .35rem; }
.ls-erp__puce { padding: .3rem .65rem; border: 0; border-radius: 999px; background: var(--nuit); color: #fff; font: 600 .75rem var(--titre); cursor: pointer; }
.ls-erp__puce span { margin-left: .2rem; opacity: .7; }
.ls-erp__puce:hover span { opacity: 1; }
.ls-erp__actions { display: flex; gap: .4rem; margin-left: auto; }
.ls-erp__btn { padding: .4rem .8rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: 700 .78rem var(--titre); color: var(--nuit); cursor: pointer; }
.ls-erp__btn:hover:not(:disabled) { border-color: var(--nuit); }
.ls-erp__btn:disabled { opacity: .35; cursor: default; }
.ls-erp__btn--plein { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ls-erp__table { border: 1px solid var(--trait-n); border-radius: 6px; overflow: clip; }
.ls25 table.ls-tab { width: 100%; margin: 0; border-collapse: collapse; font-size: .84rem; background: #fff; }
.ls25 .ls-tab th { position: sticky; top: 0; z-index: 1; padding: 0; background: var(--nuit); color: #fff; text-align: left; font: 700 .72rem var(--titre); white-space: nowrap; }
.ls25 .ls-tab th:not(:has(button)) { padding: .65rem .7rem; }
.ls-tab th button { display: flex; align-items: center; gap: .3rem; width: 100%; padding: .65rem .7rem; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.ls-tab th.num button { justify-content: flex-end; }
.ls-tab th button::after { content: "↕"; opacity: .35; font-size: .8em; }
.ls-tab th button[aria-sort="descending"]::after { content: "↓"; opacity: 1; color: var(--dore); }
.ls-tab th button[aria-sort="ascending"]::after { content: "↑"; opacity: 1; color: var(--dore); }
.ls-tab th button:hover { background: rgba(255, 255, 255, .08); }
.ls25 .ls-tab td { padding: .6rem .7rem; border-top: 1px solid var(--trait-n); vertical-align: top; color: var(--nuit); }
.ls25 .ls-tab tbody tr:nth-child(even) td { background: #fafbfd; }
.ls25 .ls-tab tbody tr:hover td { background: #eef2f8; }
.ls-tab .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Tableaux des ERP (adresses, préemptions) hors téléphone : le tableau défile dans son cadre, en hauteur et sur le côté ;
   l'en-tête et la première colonne (l'adresse) restent à l'écran (16 oct. 2026). Sur téléphone : fiches, voir plus bas. */
@media (min-width: 761px) {
	.ls-erp__table { overflow: auto; max-height: 75vh; -webkit-overflow-scrolling: touch; }
	.ls25 table.ls-tab { border-collapse: separate; border-spacing: 0; }
	.ls25 .ls-tab tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 12rem; box-shadow: 1px 0 0 var(--trait-n), 6px 0 8px -6px rgba(16, 27, 52, .18); }
	.ls25 .ls-tab td:first-child { background: #fff; }
	.ls25 .ls-tab th:first-child { z-index: 3; }
	.ls25 .ls-tab th { z-index: 2; }
}
.ls-tab__adr span { display: block; font-weight: 600; }
.ls-tab .ls-tab__adr a, .ls-erp__info-adr a, a.lien-gmaps { color: inherit; font-size: inherit; white-space: normal; text-decoration: none; }
a.lien-gmaps:hover, a.lien-gmaps:focus-visible { text-decoration: underline; }   /* adresses → Google Maps (fiches des préemptions) */
.ls-tab__adr a:hover, .ls-tab__adr a:focus-visible, .ls-erp__info-adr a:hover, .ls-erp__info-adr a:focus-visible { text-decoration: underline; }
.ls-tab td small { display: block; font-size: .72rem; color: var(--texte-n2); white-space: normal; }
.ls-tab__cout small { max-width: 8rem; margin-left: auto; }
.ls-tab__nr { color: var(--texte-n2); font-size: .76rem; }
.ls-tab__arr { padding: .1rem .45rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: 700 .78rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
.ls-tab__arr:hover { border-color: var(--nuit); background: var(--nuit); color: #fff; }
.ls-tab__cats { white-space: nowrap; }
.ls-tab__cat { display: inline-block; min-width: 2.1rem; margin-right: 2px; padding: .1rem .3rem; border-radius: 3px; font: 700 .72rem var(--titre); text-align: center; font-variant-numeric: tabular-nums; }
.ls-tab__cat--plai { background: var(--plai); color: #fff; } .ls-tab__cat--plus { background: var(--plus); color: #fff; } .ls-tab__cat--pls { background: var(--pls); color: var(--nuit); }
.ls-tab__cat--zero { background: #eef0f4; color: #b3b9c5; }
.ls-tab a { color: var(--texte-n2); white-space: nowrap; font-size: .78rem; }
.ls-erp__vide { margin: 0; padding: 1.5rem; text-align: center; color: var(--texte-n2); }
.ls-erp__pages { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .7rem; font-size: .8rem; color: var(--texte-n2); }
.ls-erp__pages label { display: inline-flex; align-items: center; gap: .4rem; }
.ls-erp__pages select { padding: .25rem .4rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: inherit; }
.ls-erp__nav { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; }
@media (max-width: 1100px) { .ls-erp__filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ls-erp__cherche { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .ls-erp__kpi { grid-template-columns: 1fr 1fr; }
  .ls-erp__kpi b { font-size: 1.2rem; }
  .ls-erp__filtres { grid-template-columns: 1fr 1fr; }
  .ls-erp__table { border: 0; border-radius: 0; overflow: visible; }
  .ls25 table.ls-tab, .ls25 .ls-tab tbody, .ls25 .ls-tab tr, .ls25 .ls-tab td { display: block; width: auto; }
  .ls25 .ls-tab thead { display: block; }
  .ls25 .ls-tab thead tr { display: flex; overflow-x: auto; gap: 2px; border-radius: 4px; background: var(--nuit); scrollbar-width: none; }
  .ls25 .ls-tab th { position: static; }
  .ls25 .ls-tab th:not(:has(button)) { display: none; }
  .ls25 .ls-tab tbody tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; margin-top: .6rem; padding: .7rem .8rem; border: 1px solid var(--trait-n); border-radius: 6px; }
  .ls25 .ls-tab tbody tr td { padding: 0; border: 0; background: none !important; }
  .ls25 .ls-tab td[data-col="Adresse"] { grid-column: 1; }
  .ls25 .ls-tab td[data-col="Coût"] { grid-column: 2; grid-row: 1 / span 2; }
  .ls25 .ls-tab td[data-col="Pour qui"], .ls25 .ls-tab td[data-col="Logements"] { display: none; }
  .ls25 .ls-tab td[data-col="Arr."], .ls25 .ls-tab td[data-col="Bailleur"] { display: inline; grid-column: 1; font-size: .78rem; }
  .ls25 .ls-tab td[data-col="Arr."] { grid-row: 2; }
  .ls25 .ls-tab td[data-col="Bailleur"] { grid-row: 3; color: var(--texte-n2); }
  .ls25 .ls-tab td[data-col="PLAI · PLUS · PLS"] { grid-column: 1; }
  .ls25 .ls-tab td[data-col="Subvention"], .ls25 .ls-tab td[data-col="Délibération"] { grid-column: 2; text-align: right; font-size: .74rem; }
  .ls25 .ls-tab td[data-col="Subvention"]::before { content: "Subvention "; color: var(--texte-n2); }
  .ls-erp__nav { margin-left: 0; }
}
.ls-erp__table > .table-scroll { margin: 0; overflow: visible; }
/* (16 oct. 2026) le défilement de côté se fait dans .ls-erp__table, avec le vertical : un second bloc qui défile casserait l'en-tête fixe */
.ls25 .ls-tab th { text-transform: none; letter-spacing: 0; }

/* ===== Logement social 2025 : habillage « tableau de bord » ===== */
.ls25 { background: #f3f5f9; padding-top: 1.6rem; }
.ls25 .ls-onglets { position: sticky; top: 0; z-index: 5; margin-bottom: 1.4rem; padding: 0 .3rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ls25 .ls-onglets button { margin-bottom: 0; padding: 1rem 1.1rem .9rem; border-bottom-width: 3px; }
.ls25 .ls-onglets button[aria-selected="true"] { color: var(--nuit); border-bottom-color: var(--or); }
.ls25 .ls25__grille { gap: 1.2rem; }
@media (min-width: 1000px) { .ls25 .ls25__grille { gap: 1.2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ls25 .ls25__col { gap: 1.2rem; }
.ls25 .ls-bloc { padding: 1.4rem 1.5rem 1.3rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ls25 .ls-bloc--fiche { padding: 0; background: none; border: 0; box-shadow: none; }
.ls25 .ls-bloc--fiche .ls-fiche-vide, .ls25 .ls-bloc--fiche .ls-fiche { background: #fff; border-radius: 10px; }
.ls25 .ls-bloc--fiche .ls-fiche { padding: 1.4rem 1.5rem; border: 1px solid #e3e7ef; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ls25 h3.ls-titre { font-size: 1.12rem; letter-spacing: 0; }
.ls25 .ls-titre::after { width: 1.6rem; height: 3px; margin-top: .5rem; background: var(--or); }
.ls25 .ls-lead { font-size: .88rem; margin: .5rem 0 .9rem; }
.ls25 .ls-sources { margin-top: 2rem; padding: 1.2rem 1.5rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; }
@media (max-width: 600px) { .ls25 .ls-bloc { padding: 1.1rem 1rem; } .ls25 .ls-onglets { margin-left: 0; margin-right: 0; border-radius: 8px; } }

/* Indicateurs en tête d'onglet */
.ls-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.2rem; margin-bottom: .4rem; }
.ls-tuile { position: relative; display: flex; flex-direction: column; min-height: 7.4rem; padding: 1rem 1.1rem .9rem; overflow: hidden; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ls-tuile__lib { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-n2); }
.ls-tuile__val { margin-top: .3rem; font: 800 1.75rem/1.05 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ls-tuile__sous { position: relative; z-index: 1; margin-top: .3rem; font-size: .76rem; color: var(--texte-n2); }
.ls-tuile__sous--haut, .ls-tuile__sous--bas { font-weight: 600; color: var(--nuit); }
.ls-tuile__ref { margin-top: .15rem; font-size: .66rem; line-height: 1.3; color: var(--texte-n2); }
.ls25__grille--plus { margin-top: 2.6rem; }
.ls-spark { position: absolute; right: 0; bottom: 0; width: 55%; height: 2.6rem; overflow: visible; }
.ls-tuiles__note { margin: 0 0 1.2rem; font-size: .7rem; color: var(--texte-n2); text-align: right; }
@media (max-width: 600px) { .ls-tuiles { grid-template-columns: 1fr 1fr; gap: .6rem; } .ls-tuile { min-height: 6.6rem; padding: .8rem .8rem .7rem; } .ls-tuile__val { font-size: 1.3rem; } .ls-tuile__lib { font-size: .62rem; } .ls-spark { width: 70%; height: 1.8rem; opacity: .9; } }

/* Graphiques : couleurs pleines, repères gradués, bulle de valeur */
.ls25 .ls-graph__lecture { display: block; min-height: 0; padding: .55rem .75rem; margin-bottom: .9rem; background: #f3f5f9; border-left: 3px solid var(--or); border-radius: 0 6px 6px 0; font-size: .86rem; }
.ls-plot { position: relative; margin-right: 2.6rem; }
.ls-grille { position: absolute; inset: 0; pointer-events: none; }
.ls-grille__l { position: absolute; left: 0; right: 0; border-top: 1px dashed #dde2ea; }
.ls-grille__l em { position: absolute; right: -2.6rem; top: -.55rem; width: 2.4rem; font: normal 600 .62rem var(--titre); color: #8a93a6; text-align: left; white-space: nowrap; }
.ls25 .ls-cols { position: relative; height: var(--hauteur, 11rem); gap: 4px; border-bottom: 2px solid #c9d0dc; }
.ls25 .ls-col__pile { opacity: 1; gap: 2px; border-radius: 4px 4px 0 0; transition: filter .15s, transform .15s; transform-origin: bottom; }
.ls25 .ls-col:hover .ls-col__pile { filter: brightness(1.15); }
.ls25 .ls-cols:has(.ls-col:hover) .ls-col:not(:hover) .ls-col__pile, .ls25 .ls-cols .ls-col:not(.ls-col--actif) .ls-col__pile { filter: saturate(.85) brightness(1.08); }
.ls25 .ls-col--actif .ls-col__pile { filter: none !important; box-shadow: 0 -3px 0 var(--or); }
.ls-bulle { position: absolute; z-index: 2; transform: translateX(-50%); padding: .2rem .5rem; border-radius: 5px; background: var(--nuit); color: #fff; font: 700 .72rem var(--titre); white-space: nowrap; pointer-events: none; transition: left .15s, bottom .15s; }
.ls-bulle::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: var(--nuit); }
.ls-bulle--g { transform: translateX(-15%); } .ls-bulle--g::after { left: 15%; }
.ls-bulle--d { transform: translateX(-85%); } .ls-bulle--d::after { left: 85%; }
.ls-bulle:empty { display: none; }
.ls25 .ls-annees__axe { margin-right: 2.6rem; font-weight: 600; }
.ls25 .ls-leg--graph { margin-bottom: .7rem; }
.ls-tuiles { margin-bottom: 1.2rem; }
.ls-tuiles + .ls-tuiles__note { margin-top: -.9rem; }

/* Logement social 2025 : onglets Loyers, Rénovation, Préemptions */
.ls25 .ls-onglets button { padding-left: .85rem; padding-right: .85rem; }
.ls-sim__surf { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .2rem 1rem; margin-bottom: 1rem; }
.ls-sim__surf > span { font-size: .75rem; font-weight: 600; color: var(--texte-n2); text-transform: uppercase; letter-spacing: .06em; }
.ls-sim__surf b { justify-self: end; font: 800 1.6rem var(--titre); color: var(--nuit); }
.ls-sim__surf input { grid-column: 1 / -1; width: 100%; accent-color: var(--or); }
.ls-sim__liste { list-style: none; margin: 0; padding: 0; }
.ls25 .ls-sim__liste > li::before { content: none !important; display: none !important; }
.ls25 .ls-sim__l { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 5rem; align-items: center; gap: .8rem; margin: 0; padding: .45rem 0; }
.ls-sim__nom { font-size: .85rem; color: var(--nuit); line-height: 1.2; }
.ls-sim__nom small { display: block; font-size: .7rem; color: var(--texte-n2); }
.ls-sim__piste { display: block; height: 1.3rem; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.ls-sim__barre { display: block; height: 100%; border-radius: 3px; }
.ls-sim__val { font: 800 1rem var(--titre); color: var(--nuit); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls-elig, .ls-irl { display: grid; gap: .7rem; }
.ls-elig label, .ls-irl label { display: flex; flex-direction: column; gap: .25rem; }
.ls-elig label > span, .ls-irl label > span { font-size: .72rem; font-weight: 600; color: var(--texte-n2); }
.ls-elig select, .ls-elig input, .ls-irl input { height: 2.5rem; padding: 0 .6rem; border: 1px solid var(--trait-n); border-radius: 5px; background: #fff; font: inherit; font-size: .9rem; color: var(--nuit); }
.ls-elig__res { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .4rem; }
.ls25 .ls-elig__res > li::before { content: none !important; display: none !important; }
.ls25 .ls-elig__l { display: grid; grid-template-columns: 1fr auto; gap: 0 .8rem; margin: 0; padding: .6rem .8rem; border: 1px solid #e3e7ef; border-left: 4px solid #c9d0dc; border-radius: 6px; }
.ls-elig__cat { font: 700 .85rem var(--titre); color: var(--nuit); }
.ls-elig__pl { grid-row: 2; font-size: .75rem; color: var(--texte-n2); }
.ls-elig__l b { grid-row: 1 / span 2; align-self: center; font: 700 .78rem var(--titre); }
.ls25 .ls-elig--oui { border-left-color: #16895a; background: #f1f9f5; } .ls-elig--oui b { color: #16895a; }
.ls25 .ls-elig--non { border-left-color: var(--rouge); background: #fdf4f2; } .ls-elig--non b { color: var(--rouge); }
.ls-irl__res { margin: .2rem 0 0; font-size: .9rem; color: var(--texte-n2); }
.ls-irl__res b { font: 800 1.4rem var(--titre); color: var(--nuit); }
.ls-reno { list-style: none; margin: .4rem 0 0; padding: 0; }
.ls25 .ls-reno > li::before { content: none !important; display: none !important; }
.ls25 .ls-reno__l { display: grid; grid-template-columns: 1fr; gap: .3rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--trait-n); }
.ls-reno__nom { font: 700 .88rem var(--titre); color: var(--nuit); }
.ls-reno__nom small { margin-left: .4rem; font: 400 .75rem var(--texte, inherit); color: var(--texte-n2); }
.ls-reno__piste { display: flex; gap: 2px; height: 1.4rem; border-radius: 3px; overflow: hidden; min-width: 2rem; }
.ls-reno__piste span { flex-basis: 0; }
.ls-reno--livre { background: #16895a; } .ls-reno--travaux { background: var(--or); } .ls-reno--reste { background: #dfe4ec; }
.ls-leg--graph i.ls-reno--livre, .ls-leg--graph i.ls-reno--travaux, .ls-leg--graph i.ls-reno--reste { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; }
.ls-reno__val { font-size: .78rem; color: var(--texte-n2); }
.ls-reno__val b { color: var(--nuit); }
.ls-dpe { display: flex; gap: 3px; height: 4rem; margin-top: .4rem; }
.ls-dpe__seg { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 2.2rem; flex-basis: 0; border-radius: 4px; color: #1b2433; }
.ls-dpe__seg b { font: 800 1.2rem var(--titre); }
.ls-dpe__seg small { font: 700 .72rem var(--titre); }
.ls-pcs { list-style: none; margin: .4rem 0 .5rem; padding: 0; }
.ls25 .ls-pcs > li::before { content: none !important; display: none !important; }
.ls25 .ls-pc { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3.5rem; align-items: center; gap: .8rem; margin: 0; padding: .4rem 0; }
.ls-pc__nom { font-size: .84rem; color: var(--nuit); }
.ls-pc__piste { display: block; height: 1.2rem; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.ls-pc__piste span { display: block; height: 100%; background: #c9d0dc; border-radius: 3px; }
.ls-pc--reel .ls-pc__piste span { background: var(--rouge); }
.ls-pc--reel .ls-pc__nom { font-weight: 700; }
.ls-pc__val { font: 800 .95rem var(--titre); color: var(--nuit); text-align: right; }
.ls-erp__filtres--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin-top: .4rem; }
.ls-pre__tri { display: flex; align-items: center; gap: .3rem; margin: .2rem 0 .3rem; font-size: .78rem; color: var(--texte-n2); }
.ls-pre__tri button { padding: .25rem .6rem; border: 1px solid var(--trait-n); border-radius: 999px; background: #fff; font: 700 .74rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.ls-pre__tri button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
@media (max-width: 600px) {
  .ls25 .ls-sim__l { grid-template-columns: 7rem minmax(0, 1fr) 4.2rem; gap: .5rem; }
  .ls25 .ls-pc { grid-template-columns: 7rem minmax(0, 1fr) 3rem; gap: .5rem; }
  .ls-erp__filtres--3 { grid-template-columns: 1fr 1fr !important; }
}
.ls-arrs--pre .ls-arr { grid-template-columns: 7.5rem minmax(0, 1fr) 5.4rem; }

/* chiffres-cles.html : renvoi vers le tableau de bord de Paris (logement-social-paris-2025.html) */
.cc-erp { margin: 1rem 0 2rem; padding: 1.4rem 1.5rem; background: #f3f5f9; border: 1px solid #e3e7ef; border-radius: 10px; }
.cc-erp__texte { margin: 0 0 1rem; color: var(--nuit); }
.proto-texte .cc-erp__btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 6px; background: var(--nuit); color: #fff; font: 700 .92rem var(--titre); text-decoration: none; }
.proto-texte .cc-erp__btn:hover { background: var(--or-sombre); color: #fff; }
.proto-texte .cc-erp__liens { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; margin: 1.2rem 0 1rem; padding: 0; list-style: none; }
.proto-texte .cc-erp__liens li { margin: 0; padding: 0; }
.proto-texte .cc-erp__liens li::before { content: none; display: none; }
.proto-texte .cc-erp__liens a { display: block; height: 100%; padding: .7rem .85rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 8px; text-decoration: none; color: var(--nuit); }
.proto-texte .cc-erp__liens a:hover { border-color: var(--or); }
.cc-erp__liens b { display: block; font: 700 .9rem var(--titre); }
.cc-erp__liens span { display: block; margin-top: .15rem; font-size: .78rem; color: var(--texte-n2); line-height: 1.35; }
.cc-erp__plus { margin: 0; font-size: .85rem; }
.ls-elig, .ls-irl { min-width: 0; } .ls-elig label, .ls-irl label { min-width: 0; } .ls-elig select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }

/* Logement social 2025 : opérations, onglets Adresses / Carte */
.ls25 .ls-onglets button:focus { outline: none; }
.ls25 .ls-onglets button:focus-visible { box-shadow: inset 0 0 0 2px var(--or); }
.ls-erp__vues { display: inline-flex; gap: 2px; margin: 0 0 .7rem; padding: 3px; background: #e9edf3; border-radius: 8px; }
.ls-erp__vues button { padding: .45rem 1.1rem; border: 0; border-radius: 6px; background: none; font: 700 .82rem var(--titre); color: var(--texte-n2); cursor: pointer; }
.ls-erp__vues button[aria-selected="true"] { background: #fff; color: var(--nuit); box-shadow: 0 1px 2px rgba(16, 27, 52, .12); }
.ls-erp__vues button:focus { outline: none; } .ls-erp__vues button:focus-visible { box-shadow: inset 0 0 0 2px var(--or); }
.ls-erp__carte { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1rem; align-items: start; }
.ls-erp__carte[hidden] { display: none; }
.ls-erp__carte-plan { padding: .8rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 8px; }
.ls-opcarte { display: block; width: 100%; height: auto; }
.ls-opcarte__fond path { fill: #eef1f6; stroke: #fff; stroke-width: 1.5; }
.ls-opcarte__libs text { font: 700 13px var(--titre); fill: #b6bfcd; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.ls-pt { stroke: #fff; stroke-width: 1.2; fill-opacity: .82; cursor: pointer; transition: fill-opacity .15s; }
.ls-pt:hover, .ls-pt:focus { fill-opacity: 1; stroke: var(--nuit); stroke-width: 2; outline: none; }
.ls-pt--choisi { fill-opacity: 1; stroke: var(--or); stroke-width: 3; }
.ls-pt--0 { fill: var(--nuit); background: var(--nuit); } .ls-pt--1 { fill: var(--or); background: var(--or); }
.ls-pt--2 { fill: #5f7398; background: #5f7398; } .ls-pt--3 { fill: #a83d2d; background: #a83d2d; }
.ls-pt--4 { fill: #16895a; background: #16895a; } .ls-pt--5 { fill: #8a5aa8; background: #8a5aa8; }
.ls-opcarte__leg { margin: .6rem 0 0; }
.ls-opcarte__leg i { border-radius: 50% !important; }
.ls-opcarte__taille { font-style: italic; }
.ls-erp__info { position: sticky; top: 5rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 8px; font-size: .84rem; }
.ls-erp__info p { margin: 0 0 .4rem; }
.ls-erp__info-vide { color: var(--texte-n2); }
.ls-erp__info-adr { font: 800 1rem/1.25 var(--titre); color: var(--nuit); }
.ls-erp__info-sous { font-size: .76rem; color: var(--texte-n2); }
.ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .6rem 0; }
.ls-erp__info-dl dt { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--texte-n2); }
.ls-erp__info-dl dd { margin: .1rem 0 0; font: 800 1rem var(--titre); color: var(--nuit); }
.ls-erp__info-dl .ls-erp__info-bs { font-size: .82rem; }
@media (max-width: 900px) { .ls-erp__carte { grid-template-columns: 1fr; } .ls-erp__info { position: static; } }
.ls-erp--annees .ls-erp__filtres { grid-template-columns: 1.6fr repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ls-erp--annees .ls-erp__filtres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ls-erp--annees .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }
.ls25--adresses { padding-top: 1.6rem; }
.ls25--adresses h2.ls-titre { font-size: 1.25rem; }
/* Recherche intelligente */
.ls-erp__aide { margin: -.2rem 0 .6rem; }
.ls-erp__compris { min-height: 0; margin: 0 0 .35rem; font-size: .78rem; color: var(--texte-n2); }
.ls-erp__compris:empty { display: none; }
.ls-erp__compris span { display: inline-block; margin: .15rem .3rem 0 .3rem; padding: .15rem .55rem; border-radius: 999px; background: #fff6e8; border: 1px solid var(--or-bord, #e4cfa9); color: var(--nuit); font: 700 .74rem var(--titre); }
.ls-erp__exemples { margin: 0; font-size: .74rem; color: var(--texte-n2); }
.ls-erp__exemples button { margin: .15rem .25rem 0 0; padding: .2rem .55rem; border: 1px dashed #c9d0dc; border-radius: 999px; background: #fff; font: 600 .72rem var(--titre); color: var(--nuit); cursor: pointer; }
.ls-erp__exemples button:hover { border-style: solid; border-color: var(--or); }
.ls-erp__cherche input { border-color: var(--or) !important; }
.ls-erp__filtres { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ls-erp--annees .ls-erp__filtres { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ls-erp__filtres .ls-erp__cherche { grid-column: 1 / -1; }
.ls-erp__cherche input { height: 2.8rem !important; font-size: 1rem !important; padding-left: 2.2rem !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a67d4a' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat .7rem center !important; }
@media (max-width: 1100px) { .ls-erp__filtres, .ls-erp--annees .ls-erp__filtres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ls-erp__filtres, .ls-erp--annees .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }

/* preemptions-logement-social-paris.html : onglets et module « Tous les biens » (js/preemptions-erp.js) */
.pre-onglets .sommaire { display: none !important; }
.ls25--embarque { padding: 0; background: none; margin: 0 0 2rem; }
.pre-js .pre-onglets main.proto-texte { max-width: none; }
.pre-onglets__barre { position: sticky; top: 0; z-index: 5; margin: 0 0 1.6rem; padding: 0 .3rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.pre-onglets__barre button { margin-bottom: 0; padding: 1rem 1.1rem .9rem; border-bottom-width: 3px; }
.pre-onglets__barre button[aria-selected="true"] { border-bottom-color: var(--or); color: var(--nuit); }
.pre-onglets__barre button:focus { outline: none; } .pre-onglets__barre button:focus-visible { box-shadow: inset 0 0 0 2px var(--or); }
.pre-vue[hidden] { display: none !important; }
.pre-vue > :first-child { margin-top: 0; }
.ls25--embarque .ls-erp__kpi > div, .ls25--embarque .ls-erp__info, .ls25--embarque .ls-erp__carte-plan { background: #fff; }
.proto-texte .ls25--embarque table.ls-tab { margin: 0; font-size: .84rem; }
.proto-texte .ls25--embarque .ls-erp__exemples button, .proto-texte .ls25--embarque .ls-erp__vues button { margin-top: 0; }
.ls-tab--pre .pre-fiche { margin: 0; font-size: .74rem; white-space: nowrap; }
tr.pre-ligne--vue > * { background: #fff6e8 !important; transition: background .4s; }
@media (max-width: 760px) {
  .ls25 .ls-tab--pre td[data-col="Prix"] { grid-column: 2; grid-row: 1 / span 2; }
  .ls25 .ls-tab--pre td[data-col="Décision"], .ls25 .ls-tab--pre td[data-col="Qui préempte"] { display: none; }
  .ls25 .ls-tab--pre td[data-col="Fiche"] { grid-column: 2; text-align: right; }
}
html.pre-js .pre-onglets__barre { display: flex; }
.proto-texte .ls25--embarque p.ls-erp__exemples, .proto-texte .ls25--embarque p.ls-erp__compris { font-size: .74rem; margin: .2rem 0 0; }
.proto-texte .ls25--embarque p.ls-lead { font-size: .9rem; }
.proto-texte .ls25--embarque p.ls-note { font-size: .76rem; }
.proto-texte .ls25--embarque .ls-erp__info p { font-size: .84rem; line-height: 1.4; margin: 0 0 .4rem; }
.proto-texte .ls25--embarque .ls-erp__info p.ls-erp__info-adr { font-size: 1rem; }
.proto-texte .ls25--embarque .ls-erp__info p.ls-erp__info-sous { font-size: .76rem; }
.proto-texte .ls25--embarque p.ls-opcarte__leg { font-size: .76rem; margin: .6rem 0 0; }
.proto-texte .ls25--embarque .ls-erp__info dl { margin: .6rem 0; }
/* Préemptions : sous-onglets et période unique */
.pre-js .proto-texte h3.avec-periode .an__periode { display: none; }
.pre-titre-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 !important; padding: 0 !important; }
.pre-sous { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin: .4rem 0 1.4rem; }
.pre-sous::-webkit-scrollbar { display: none; }
.pre-sous button { flex: 0 0 auto; white-space: nowrap; }
.pre-sous__vue[hidden] { display: none !important; }
.pre-sous__vue > :first-child:not(.pre-titre-cache), .pre-sous__vue > .pre-titre-cache + * { margin-top: 0; }
.proto-texte p.pre-periode { display: inline-flex; align-items: center; gap: .4rem; margin: -.6rem 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: #f3f5f9; font: 600 .82rem var(--texte); color: var(--nuit); }
.pre-periode svg { width: .95rem; height: .95rem; }
.pre-vue h2.partie { margin-top: 0; }
.pre-js .renvoi-preemptions--bas { margin-top: 2.5rem; }
.pre-sous-ligne { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; margin: .4rem 0 1.4rem; }
.pre-sous-ligne .pre-sous { margin: 0; min-width: 0; }
.proto-texte .pre-sous-ligne p.pre-periode { flex: 0 0 auto; margin: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .pre-sous-ligne { flex-direction: column-reverse; align-items: flex-start; }
  .pre-sous-ligne .pre-sous { width: 100%; }
  .proto-texte .pre-sous-ligne p.pre-periode { font-size: .76rem; padding: .2rem .65rem; }
}
/* Préemptions en pleine largeur : les fiches tiennent dans la page, sans débord à droite ni colonne figée */
@media (min-width: 761px) {
  .pre-js body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches),
  .pre-js body[data-page^="preemptions-"] .table-scroll:has(> .releve--fiches) + .recap-releve { margin-right: 0; }
  .pre-js .releve--fiches { width: 100%; min-width: 64rem; }
}
@media (min-width: 761px) {
  .pre-js .releve--fiches { min-width: 62rem; }   /* plus étroit : le tableau défile, l'adresse reste fixe */
  .pre-js .releve--fiches col:nth-child(1) { width: 16%; } .pre-js .releve--fiches col:nth-child(2) { width: 9%; }
  .pre-js .releve--fiches col:nth-child(3) { width: 11%; } .pre-js .releve--fiches col:nth-child(4) { width: 13%; }
  .pre-js .releve--fiches col:nth-child(5) { width: 12%; } .pre-js .releve--fiches col:nth-child(6) { width: 16%; }
  .pre-js .releve--fiches col:nth-child(7) { width: 8%; } .pre-js .releve--fiches col:nth-child(8) { width: 7%; }
  .pre-js .releve--fiches col:nth-child(9) { width: 8%; }
}
@media (min-width: 761px) {
  .pre-js .releve--fiches col:nth-child(1) { width: 15%; } .pre-js .releve--fiches col:nth-child(4) { width: 12%; }
  .pre-js .releve--fiches col:nth-child(5) { width: 11%; } .pre-js .releve--fiches col:nth-child(6) { width: 15%; }
  .pre-js .releve--fiches col:nth-child(8) { width: 9%; } .pre-js .releve--fiches col:nth-child(9) { width: 10%; }
}

/* ===== Le budget de Paris (budget-paris.html, outils/budget-erp.py, js/budget-erp.js) ===== */
.be-themes { display: flex; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 0 1rem; padding-bottom: .2rem; }
.be-themes::-webkit-scrollbar { display: none; }
.be-theme { flex: 0 0 auto; padding: .5rem .95rem; border: 1px solid #d6dbe5; border-radius: 999px; background: #fff; font: 700 .8rem var(--titre); color: var(--nuit); white-space: nowrap; cursor: pointer; }
.be-theme:hover { border-color: var(--nuit); }
.be-theme[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.be-theme:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
@media (min-width: 900px) { .be-themes { flex-wrap: wrap; overflow: visible; } }
.be-tete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 0 0 1.2rem; padding: 1.3rem 1.4rem; background: var(--nuit); border-radius: 12px; color: #fff; }
@media (min-width: 900px) { .be-tete { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 1.6rem; } }
body.theme-nuit #contenu h2.be-tete__titre { margin: 0 0 .4rem; padding: 0; background: none; border: 0; color: #fff; font: 800 1.45rem/1.2 var(--titre); }
.be-tete__texte p { margin: 0 0 .6rem; color: #d7dceb; font-size: .92rem; line-height: 1.5; }
.be .be-tete__lien { color: var(--dore); font: 700 .82rem var(--titre); text-decoration: none; }
.be .be-tete__lien:hover { text-decoration: underline; }
.be-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.be-kpi { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .8rem; background: rgba(255, 255, 255, .07); border-radius: 8px; }
.be-kpi__val { font: 800 1.15rem/1.15 var(--titre); color: var(--dore); white-space: nowrap; }
.be-kpi__lib { font: 700 .8rem/1.3 var(--titre); color: #fff; }
.be-kpi__note { font-size: .72rem; line-height: 1.35; color: #aab3c8; }
.be-kpi__note .bg-kpi__evo, .be-kpi__note span { color: inherit; }
.be-vue .ls-tuiles { margin-bottom: 1.2rem; }
.be-titre { padding-bottom: .4rem; margin-bottom: 1.2rem; }
.be-titre .ls-titre { font-size: 1.35rem !important; }
.be-graph { margin-bottom: 1.2rem; }
.be-graph__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.be-graph__tete .ls-titre { margin: 0; }
.be-graph__vues { margin: 0; }
.be-puces { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 .8rem; }
.be-puce { padding: .3rem .7rem; border: 1px solid #d5dbe5; border-radius: 999px; background: #fff; font: 600 .76rem var(--titre); color: var(--texte-n2); cursor: pointer; text-align: left; }
.be-puce--sous { font-weight: 400; }
.be-puce:hover { border-color: var(--nuit); color: var(--nuit); }
.be-puce--on { background: var(--c); border-color: var(--c); color: #fff; }
.be-puce--on:hover { color: #fff; }
.be-svg { min-height: 12rem; }
.be-svg__svg { display: block; width: 100%; height: auto; max-height: 26rem; }
.be-grille { stroke: #e3e7ef; stroke-dasharray: 3 4; }
.be-axe { stroke: #b8c0ce; stroke-width: 1.5; }
.be-graduation { font: 600 11px var(--titre); fill: #8a93a6; }
.be-an { font: 700 13px var(--titre); fill: var(--nuit); }
.be-val { font: 700 11px var(--titre); fill: var(--nuit); }
.be-barre { cursor: pointer; transition: opacity .15s; }
.be-svg__svg:hover .be-barre { opacity: .55; }
.be-svg__svg .be-barre:hover, .be-barre--vue { opacity: 1 !important; }
.be-barre:focus, .be-point:focus { outline: none; stroke: var(--or); stroke-width: 2; }
.be-point { cursor: pointer; }
.be-lecture { min-height: 2.6em; margin: .6rem 0 0; padding: .55rem .8rem; background: #f3f5f9; border-left: 3px solid var(--or); border-radius: 0 6px 6px 0; font-size: .88rem; color: var(--nuit); }
.be-lecture i { display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 2px; vertical-align: -1px; }
.be-lecture small { display: block; margin-top: .15rem; font-size: .74rem; color: var(--texte-n2); }
.be-vide { padding: 3rem 1rem; text-align: center; color: var(--texte-n2); }
.be-graph__pied { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .8rem; }
.be-corps > * + * { margin-top: 1.4rem; }
.be-tab__titre { margin: 0 0 .5rem; font: 700 .9rem var(--titre); color: var(--nuit); }
.be-tab__defile { overflow-x: auto; border: 1px solid #e3e7ef; border-radius: 8px; }
.ls25 table.be-table { min-width: 44rem; }
.ls25 .be-table th:first-child { width: 38%; }
.ls25 .be-table td { white-space: nowrap; }
.be-choix { display: flex; align-items: center; gap: .55rem; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.be-choix i { flex: 0 0 auto; width: .9rem; height: .9rem; border: 2px solid #c9d0dc; border-radius: 3px; }
.be-choix[aria-pressed="true"] i { border-color: transparent; }
.ls25 .be-table tbody th { padding: .55rem .7rem; border-top: 1px solid #e3e7ef; font-weight: 400; color: var(--nuit); text-align: left; }
.ls25 .be-l--total th, .ls25 .be-l--total td, .ls25 .be-l--fort th, .ls25 .be-l--fort td { font-weight: 700; background: #f3f5f9; }
.ls25 .be-l--sous th { padding-left: 1.8rem; color: var(--texte-n2); }
.ls25 .be-l--on td, .ls25 .be-l--on th { background: #fff6e8 !important; }
.be-evo { color: var(--texte-n2); font-size: .8rem; }
.be-libre .table-scroll { margin: 0; }
.be-encadre aside { margin: 0; }
.be-texte p { margin: 0; font-size: .92rem; }
.ls25 .be-corps .bg-retenir, .ls25 .be-corps .bg-savoir { border-radius: 8px; }
.ls25 .be-h3 { margin-top: 2rem !important; }
@media (max-width: 600px) { .be-graph__pied { justify-content: stretch; } .be-graph__pied .ls-erp__btn { flex: 1; } .be-an { font-size: 15px; } .be-graduation { font-size: 13px; } }
.ls25 .be-table tbody th { position: static; background: #fff; color: var(--nuit); font: 400 .84rem var(--texte, inherit); white-space: normal; }
.ls25 .be-table tbody tr:nth-child(even) th { background: #fafbfd; }
.ls25 .be-l--total th, .ls25 .be-l--fort th { font-weight: 700 !important; background: #f3f5f9 !important; }
.be-puces__groupe { flex: 0 0 100%; margin: .4rem 0 0; font: 700 .66rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--texte-n2); }
.be-puces__groupe:first-child { margin-top: 0; }
.ls25 .be-table tbody th button::after { content: none !important; }
.ls25 .be-table tbody th, .ls25 .be-table td { vertical-align: middle !important; }
.be-tab__defile > .table-scroll, .be-tab__defile .table-scroll { margin: 0; }
@media (max-width: 700px) {
  .be-puces { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .3rem; }
  .be-puces::-webkit-scrollbar { display: none; }
  .be-puce { flex: 0 0 auto; white-space: nowrap; }
  .be-puces__groupe { display: none; }
  .be-svg__svg { max-height: none; }
}

/* Le budget de Paris : encadrés, tableaux de détail et infographies repris des pages budget */
.be .be-encadres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.be .be-encadre:has(.bg-retenir) { grid-column: 1 / -1; }
@media (max-width: 760px) { .be .be-encadres { grid-template-columns: 1fr; } }
.be .bg-etiquette { margin: 0 0 .55rem; font: 700 .66rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); }
.be .bg-retenir { margin: 0; padding: 1.2rem 1.4rem; background: var(--nuit); border-radius: 10px; color: #fff; }
.be .bg-retenir .bg-etiquette { color: var(--or); }
.be .bg-retenir ul { list-style: none; margin: 0; padding: 0; }
.be .bg-retenir li { position: relative; margin: .4rem 0 0; padding: 0 0 0 1.5rem; font-size: .92rem; line-height: 1.5; color: #fff; }
.be .bg-retenir li::before { content: "—" !important; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none !important; color: var(--or); font-weight: 400; }
.be .bg-retenir strong { color: var(--or); font-weight: 700; }
.be .bg-savoir { height: 100%; margin: 0; padding: 1rem 1.2rem 1.1rem; background: #f3f5f9; border: 0; border-top: 3px solid var(--or); border-radius: 0 0 10px 10px; }
.be .bg-savoir p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--nuit); }
.be .bg-savoir p + p { margin-top: .5rem; }
.be .bg-savoir strong { color: var(--nuit); }
.be .be-texte p { margin: 0 0 .6rem; font-size: .93rem; line-height: 1.65; color: var(--nuit); }
.be .be-texte .bg-source-intro { font-size: .78rem; color: var(--texte-n2); }
.be .be-libre .table-scroll, .be .be-libre .bg-table { margin: 0; overflow-x: auto; border: 1px solid #e3e7ef; border-radius: 8px; }
.be .be-libre table.releve { width: 100%; margin: 0; border-collapse: collapse; font-size: .86rem; background: #fff; }
.be .be-libre caption { caption-side: top; padding: 0 0 .5rem; text-align: left; font: 700 .9rem var(--titre); color: var(--nuit); background: #f3f5f9; padding: .75rem .9rem; border-bottom: 1px solid #e3e7ef; }
.be .be-libre thead th { padding: .65rem .8rem; background: var(--nuit); color: #fff; font: 700 .72rem var(--titre); text-align: left; text-transform: none; letter-spacing: 0; border: 0; }
.be .be-libre thead th.num { text-align: right; }
.be .be-libre tbody th, .be .be-libre tbody td { padding: .65rem .8rem; border-top: 1px solid #e3e7ef; background: #fff; vertical-align: top; color: var(--nuit); }
.be .be-libre tbody tr:nth-child(even) th, .be .be-libre tbody tr:nth-child(even) td { background: #fafbfd; }
.be .be-libre tbody th { font-weight: 600; text-align: left; }
.be .be-libre td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.be .be-libre .releve__source { display: block; margin-top: .25rem; font-weight: 400; font-size: .74rem; color: var(--texte-n2); }
.be .be-libre .releve__source a { color: var(--texte-n2); }
.be .be-libre .bg-infographie, .be .be-libre .infographie-document { margin: 0 auto; max-width: 46rem; }
.be .be-libre .infographie-document img { display: block; width: 100%; height: auto; border: 1px solid #e3e7ef; border-radius: 8px; }
.be .be-libre .infographie-document figcaption { margin-top: .5rem; font-size: .76rem; color: var(--texte-n2); text-align: center; }
.be .be-libre .infographie-telecharger { margin: .9rem 0 0; }
.be .be-libre .infographie-telecharger a { border-radius: 6px; }
.be .be-h3 { font-size: 1.15rem !important; }
@media (max-width: 760px) { .be .be-libre table.releve { min-width: 36rem; } }
.be .be-encadres { display: flex; flex-wrap: wrap; gap: 1rem; }
.be .be-encadre { flex: 1 1 22rem; min-width: 0; }
.be .be-encadre:has(.bg-retenir) { flex-basis: 100%; }
.be-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin: 0 0 1rem; padding: 1.1rem 1.5rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.be-entete .ls-titre { margin: 0 !important; font-size: 1.3rem !important; }
.be-entete .ls-titre::after { display: none; }
.be-sous { margin: 0; }
.be-sous button { padding: .5rem 1.2rem; }
.be-panneau[hidden] { display: none !important; }
@media (max-width: 600px) { .be-entete { padding: .9rem 1rem; } .be-sous { width: 100%; } .be-sous button { flex: 1; padding: .5rem .4rem; } }
/* Chiffres et graphique côte à côte */
.be-duo__bascule { display: none; }
@media (min-width: 1150px) {
  .be-duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
  .be-duo__graph { position: sticky; top: 4.8rem; }
  .be-duo__graph .be-graph { margin: 0; }
  .be .be-duo .be-encadre { flex-basis: 100%; }
  .be-duo .be-table th:first-child { width: 34%; }
  .ls25 .be-duo table.be-table { min-width: 0; font-size: .8rem; }
  .ls25 .be-duo .be-table td, .ls25 .be-duo .be-table thead th { padding-left: .45rem; padding-right: .45rem; }
}
@media (max-width: 1149px) {
  .be-duo__bascule { display: flex; margin: 0 0 .9rem; }
  .be-duo__bascule button { flex: 1; }
  .be-duo[data-cote="chiffres"] .be-duo__graph, .be-duo[data-cote="graphique"] .be-duo__chiffres { display: none; }
}
@media (min-width: 1150px) {
  .be-duo { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ls25 .be-duo .be-table th:first-child { width: 30%; }
  .ls25 .be-duo .be-table td, .ls25 .be-duo .be-table thead th { padding-left: .35rem; padding-right: .35rem; }
  .ls25 .be-duo .be-table .be-evo { font-size: .72rem; }
}
/* Tableau par année de la page budget : son propre style (pas celui des fiches des opérations) */
.ls25 table.be-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: .84rem; background: #fff; }
.ls25 .be-table thead th { padding: .65rem .5rem; background: var(--nuit); color: #fff; font: 700 .72rem var(--titre); text-align: left; text-transform: none; letter-spacing: 0; border: 0; white-space: nowrap; }
.ls25 .be-table thead th.num { text-align: right; }
.ls25 .be-table td { padding: .55rem .5rem; border-top: 1px solid #e3e7ef; text-align: right; font-variant-numeric: tabular-nums; color: var(--nuit); background: #fff; }
.ls25 .be-table tbody tr:nth-child(even) td { background: #fafbfd; }
.ls25 .be-table .be-l--total td, .ls25 .be-table .be-l--fort td { background: #f3f5f9; font-weight: 700; }
.ls25 .be-table .be-l--on td, .ls25 .be-table .be-l--on th { background: #fff6e8 !important; }
@media (max-width: 1149px) {
  .ls25 table.be-table { min-width: 38rem; }
  .ls25 .be-table thead th:first-child, .ls25 .be-table tbody th { position: sticky; left: 0; z-index: 1; width: 11rem; min-width: 11rem; box-shadow: 2px 0 0 #e3e7ef; }
  .ls25 .be-table thead th:first-child { background: var(--nuit); z-index: 2; }
}
/* Le budget de Paris : version allégée */
.be-graph__titre { margin: 0; font: 800 1.05rem var(--titre); color: var(--nuit); }
.be-aide { margin: .4rem 0 .6rem; font-size: .8rem; color: var(--texte-n2); }
.be-legende { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .4rem; }
.be-legende__l { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--nuit); }
.be-legende__l i { width: .7rem; height: .7rem; border-radius: 2px; }
.be-legende__l button { padding: 0 .2rem; border: 0; background: none; color: #8a93a6; font-size: 1rem; line-height: 1; cursor: pointer; }
.be-legende__l button:hover { color: var(--rouge); }
@media (min-width: 1150px) {
  .be-puces { display: none; }
  .be-duo { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .ls25 .be-duo .be-table th:first-child { width: 36%; }
}
@media (max-width: 1149px) { .be-legende { display: none; } }
.ls25 .be-table .be-l--on td, .ls25 .be-table .be-l--on th { background: inherit !important; }
.ls25 .be-table tbody tr td, .ls25 .be-table tbody tr th { background: #fff !important; }
.ls25 .be-table .be-l--total td, .ls25 .be-table .be-l--total th, .ls25 .be-table .be-l--fort td, .ls25 .be-table .be-l--fort th { font-weight: 700 !important; background: #fff !important; border-top: 1px solid #c9d0dc; }
.ls25 .be-table tbody th, .ls25 .be-table td { padding-top: .45rem !important; padding-bottom: .45rem !important; }
.ls25 .be-table tbody th { font-size: .82rem !important; line-height: 1.3; }
.be-choix i { width: .8rem; height: .8rem; border-width: 1.5px; }
.be-graph { padding-top: 1.1rem !important; }
.ls25 h3.be-graph__titre { margin: 0; padding: 0; background: none; border: 0; color: var(--nuit); font: 800 1.05rem var(--titre); letter-spacing: 0; text-transform: none; }
.ls25 h3.be-graph__titre::before, .ls25 h3.be-graph__titre::after { content: none; display: none; }

/* Budget de Paris : un camembert par année (js/budget-erp.js, forme « camembert ») */
.be-cam__choix { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .8rem; }
.be-cam__choix button { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; padding: .35rem .7rem; border: 1px solid #d6dbe5; border-radius: 999px; background: #fff; font: 700 .76rem var(--titre); color: var(--nuit); cursor: pointer; }
.be-cam__choix button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.be-cams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.be-cam { display: block; width: 100%; padding: .3rem; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; }
.be-cam:hover { background: #f4f6fa; }
.be-cam--on { border-color: var(--dore); background: #fbf8f1; }
.be-cam:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.be-cam svg { display: block; width: 100%; height: auto; }
.be-tranche { stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.be-cam__an { font: 800 13px var(--titre); fill: var(--nuit); }
.be-cam__tot { font: 600 9.5px var(--texte, sans-serif); fill: #5b6478; }
.be-cam__titre { margin: 1rem 0 .4rem; font-size: .9rem; color: var(--nuit); }
.be-cam__legende { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.be-cam__legende li { display: grid; grid-template-columns: .8rem minmax(0, 1fr) auto 3.2rem; align-items: center; gap: .55rem; padding: .4rem 0; border-top: 1px solid #edf0f5; }
.be .be-cam__legende li::before { content: none; display: none; }
.be-cam__legende i { width: .8rem; height: .8rem; border-radius: 3px; }
.be-cam__legende span { line-height: 1.3; color: #2a3247; }
.be-cam__legende b { white-space: nowrap; color: var(--nuit); }
.be-cam__legende em { font-style: normal; font-weight: 700; text-align: right; color: var(--nuit); }
.be-lecture small { display: block; font-size: .76rem; line-height: 1.4; color: #5b6478; }
@media (max-width: 560px) { .be-cams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; } }
/* Budget de Paris : un graphique par tableau (fonctionnement, investissement, recettes…) */
.be-panneau > * + * { margin-top: 1.2rem; }
.be-panneau > .ls-bloc, .be-duo .ls-bloc { margin-bottom: 0; }
@media (min-width: 1150px) {
  .be-duo { align-items: stretch; }
  .be-duo__graph { position: static; }
  .be-duo__chiffres > .ls-bloc, .be-duo__graph > .be-graph { height: 100%; box-sizing: border-box; }
  .be-duo__graph > .be-graph { display: flex; flex-direction: column; }
  .be-duo__graph .be-graph__pied { margin-top: auto; padding-top: .8rem; }
}
/* Budget de Paris : tableau plus lisible — une ligne sur deux teintée, survol, totaux marqués, lignes du graphique repérées */
.ls25 .be-table tbody tr:nth-child(odd) td, .ls25 .be-table tbody tr:nth-child(odd) th { background: #eff2f8 !important; }
.ls25 .be-table tbody tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total th,
.ls25 .be-table tbody tr.be-l--fort td, .ls25 .be-table tbody tr.be-l--fort th { background: #e9edf5 !important; border-top: 1px solid #c3cbda; }
.ls25 .be-table tbody tr.be-l--on td, .ls25 .be-table tbody tr.be-l--on th { background: #fbf3e2 !important; }
@media (hover: hover) { .ls25 .be-table tbody tr:hover td, .ls25 .be-table tbody tr:hover th { background: #fdf8ee !important; } }
.ls25 .be-table tbody td, .ls25 .be-table tbody th { border-top-color: transparent; }
.ls25 .be-table .be-l--sous .be-choix { padding-left: 1.1rem; }
.ls25 .be-table .be-l--sous .be-choix span { color: #4a5470; }
.ls25 .be-table .be-l--sous td { color: #4a5470; }

/* ===== Logements sociaux financés à Paris (logements-sociaux-finances-paris.html, outils/logements-finances-erp.py, js/finances-erp.js) ===== */
.fe-filtres { margin-bottom: 1.2rem; }
.fe .fe-filtres__champs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; margin: 0; }
@media (max-width: 900px) { .fe .fe-filtres__champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fe .fe-filtres__champs label { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.fe .fe-filtres__champs span { font: 700 .68rem var(--titre); text-transform: uppercase; letter-spacing: .06em; color: #5b6478; }
.fe .fe-filtres__champs select { width: 100%; min-width: 0; padding: .5rem .55rem; border: 1px solid #d6dbe5; border-radius: 8px; background: #fff; font: 600 .86rem var(--texte, inherit); color: var(--nuit); }
.fe-filtres__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.fe-filtres__resume { margin: 0; font-size: .9rem; color: #2a3247; }
.fe-filtres__resume b { color: var(--nuit); }
.fe-vue > * + * { margin-top: 1.2rem; }
.fe-bloc { margin: 0; }
.fe-bloc__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .3rem; }
.ls25 h3.fe-titre { margin: 0; padding: 0; background: none; border: 0; color: var(--nuit); font: 800 1.1rem var(--titre); text-transform: none; letter-spacing: 0; }
.ls25 h3.fe-titre::before, .ls25 h3.fe-titre::after { content: none; display: none; }
.fe-lead { margin: 0 0 1rem; font-size: .88rem; color: #5b6478; }
.fe-note { margin: .6rem 0 0; font-size: .8rem; color: #5b6478; }
.fe-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
@media (min-width: 900px) { .fe-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fe-duo--large { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.fe-lien { padding: 0; border: 0; background: none; font: 700 .82rem var(--titre); color: var(--or, #a67d4a); cursor: pointer; }
.fe-lien:hover { text-decoration: underline; }
.fe-graph { width: 100%; }
.fe-svg { display: block; width: 100%; height: auto; }
.fe-grille { stroke: #e6e9f0; stroke-dasharray: 3 4; }
.fe-axe { stroke: #b9c1d1; }
.fe-grad { font: 500 11px var(--texte, sans-serif); fill: #7a8297; }
.fe-an { font: 700 11px var(--titre); fill: var(--nuit); }
.fe-col { cursor: pointer; outline: none; }
.fe-col__zone { fill: transparent; }
.fe-col:hover .fe-col__zone, .fe-col:focus .fe-col__zone, .fe-col--vue .fe-col__zone { fill: rgba(201, 163, 91, .14); }
.fe-repere { stroke: #c9a35b; stroke-width: 1.5; stroke-dasharray: 3 3; }
.fe-point { fill: #fff; stroke-width: 3; }
.fe-lecture { min-height: 2.6rem; margin: .6rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--dore, #c9a35b); background: #f5f7fb; border-radius: 0 6px 6px 0; font-size: .86rem; color: #2a3247; }
.fe-lecture__p { display: inline-flex; align-items: center; gap: .3rem; margin-right: .7rem; white-space: nowrap; }
.fe-lecture__p i, .fe-pastille { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; }
.fe-pastille { margin-right: .35rem; vertical-align: -1px; }
.fe-repart__barre { display: flex; height: 1.1rem; gap: 2px; border-radius: 4px; overflow: hidden; background: #eef1f6; }
.fe-repart__barre span { min-width: 2px; }
.fe .fe-leg { list-style: none; margin: .7rem 0 0; padding: 0; font-size: .86rem; }
.fe .fe-leg li { display: grid; grid-template-columns: .75rem minmax(0, 1fr) auto 3.4rem; align-items: center; gap: .55rem; padding: .32rem 0; border-top: 1px solid #edf0f5; }
.fe .fe-leg li::before { content: none; display: none; }
.fe-leg i { width: .75rem; height: .75rem; border-radius: 2px; }
.fe-leg b { color: var(--nuit); font-variant-numeric: tabular-nums; }
.fe-leg em { font-style: normal; font-weight: 700; text-align: right; color: var(--nuit); }
.fe .fe-classement { list-style: none; margin: 0; padding: 0; }
.fe .fe-classement li { margin: 0; padding: 0; }
.fe .fe-classement li::before { content: none; display: none; }
.fe-classement__l { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 4.2rem 3.2rem; align-items: center; gap: .6rem; width: 100%; padding: .38rem .3rem; border: 0; border-radius: 6px; background: none; text-align: left; font: inherit; font-size: .85rem; color: #2a3247; cursor: pointer; }
.fe-classement__l:hover { background: #fdf8ee; }
.fe-classement__nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-classement__barre { height: .7rem; background: #eef1f6; border-radius: 3px; overflow: hidden; }
.fe-classement__barre i { display: block; height: 100%; border-radius: 3px; }
.fe-classement__l b { text-align: right; color: var(--nuit); font-variant-numeric: tabular-nums; }
.fe-classement__l em { font-style: normal; text-align: right; color: #5b6478; font-size: .8rem; }
@media (max-width: 480px) { .fe-classement__l { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 3.8rem; } .fe-classement__l em { display: none; } }
.fe-choix { flex-wrap: wrap; }
.fe-table__pied { display: flex; justify-content: flex-end; margin-top: .7rem; }
.ls25 .fe-tab thead th button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.ls25 .fe-tab thead th button[data-sens="1"]::after { content: " ▲"; font-size: .7em; }
.ls25 .fe-tab thead th button[data-sens="-1"]::after { content: " ▼"; font-size: .7em; }
.ls25 .fe-tab tbody th, .ls25 .fe-tab tfoot th { text-align: left; font-weight: 600; }
.ls25 .fe-tab tfoot th, .ls25 .fe-tab tfoot td { padding: .6rem .5rem; border-top: 2px solid #c3cbda; background: #e9edf5; font-weight: 700; color: var(--nuit); }
.ls25 .fe-tab small { color: #7a8297; font-size: .78em; }
.fe-nom { display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--nuit); text-align: left; cursor: pointer; }
.fe-nom:hover { text-decoration: underline; text-decoration-color: var(--dore, #c9a35b); }
.fe-nom i { width: .7rem; height: .7rem; border-radius: 2px; flex: none; }
.fe-cmp__choix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 900px) { .fe-cmp__choix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fe-cmp__sel { display: flex; flex-direction: column; gap: .25rem; padding: .5rem .6rem; border-left: 4px solid var(--c); background: #f5f7fb; border-radius: 0 8px 8px 0; min-width: 0; }
.fe-cmp__sel span { font: 700 .66rem var(--titre); text-transform: uppercase; letter-spacing: .06em; color: #5b6478; }
.fe-cmp__sel select { width: 100%; min-width: 0; padding: .45rem .5rem; border: 1px solid #d6dbe5; border-radius: 6px; background: #fff; font: 600 .86rem var(--texte, inherit); color: var(--nuit); }
.fe-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.2rem; }
.fe-carte { padding: 1rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--c); border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.fe-carte__nom { margin: 0; font: 800 .95rem var(--titre); color: var(--nuit); }
.fe-carte__val { display: block; margin-top: .3rem; font: 800 1.7rem/1.1 var(--titre); color: var(--nuit); }
.fe-carte__sous { font-size: .8rem; color: #5b6478; }
.fe-carte__lib { margin: .9rem 0 .35rem; font: 700 .66rem var(--titre); text-transform: uppercase; letter-spacing: .06em; color: #5b6478; }
.fe-carte .fe-leg { font-size: .78rem; margin-top: .4rem; }
.fe-carte .fe-leg li { grid-template-columns: .65rem minmax(0, 1fr) auto 2.8rem; padding: .2rem 0; }
.fe-textes > * + * { margin-top: 1rem; }
@media (max-width: 760px) { .ls25 .fe-tab tfoot th { position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 0 #e3e7ef; } .ls25 .fe-tab { min-width: 40rem; } }
.ls25 .fe-tab th:first-child { width: auto; }
[data-fe-rendu] > * + * { margin-top: 1.2rem; }
.fe .fe-choix { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.fe .fe-choix::-webkit-scrollbar { display: none; }
.fe .fe-choix button { flex: 0 0 auto; white-space: nowrap; }
.be .be-tete__lien { padding: 0; border: 0; background: none; cursor: pointer; }
.be-methode { margin-top: 1.2rem; padding: 0; }
.be-methode summary { padding: 1rem 1.3rem; font: 700 .9rem var(--titre); color: var(--nuit); cursor: pointer; }
.be-methode__corps { padding: 0 1.3rem 1.1rem; font-size: .86rem; color: #2a3247; }
.be-methode__corps ul { margin: 0; padding-left: 1.1rem; }
.be-methode__corps li + li { margin-top: .4rem; }
.be-lire { margin: 1.4rem 0 1.2rem; }

/* ===== Les préemptions de la Ville de Paris (preemptions-paris.html, outils/preemptions-paris.py, js/preemptions-paris.js) ===== */
.pp .ls-vue > * + * { margin-top: 1.2rem; }
.pp-intro { margin: 0 0 1rem; font-size: .95rem; color: #2a3247; }
.pp-periode { display: inline-block; margin-left: .3rem; padding: .15rem .55rem; border-radius: 999px; background: #e9edf5; font: 700 .74rem var(--titre); color: var(--nuit); white-space: nowrap; }
.pp-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
@media (min-width: 900px) { .pp-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pp-duo > .ls-bloc { margin: 0; }
.pp-duo--graph { margin-bottom: 1.2rem; }
.ls25 h3.pp-h3 { margin: 1.6rem 0 .2rem; padding: 0; background: none; border: 0; color: var(--nuit); font: 800 1.15rem var(--titre); text-transform: none; letter-spacing: 0; }
.ls25 h3.pp-h3::before, .ls25 h3.pp-h3::after { content: none; display: none; }
.ls25 .pp-table small { display: block; font-size: .72rem; color: #7a8297; font-weight: 400; }
.ls25 .pp-table tr.pp-total th, .ls25 .pp-table tr.pp-total td { background: #e9edf5 !important; font-weight: 700; border-top: 2px solid #c3cbda; }
.ls25 .pp-table--biens td small { display: block; }
.ls25 .pp-table--syn thead th { text-align: center; }
.pp-fiches__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .8rem; }
.pp-ans { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pp-ans::-webkit-scrollbar { display: none; }
.pp-ans button { flex: 0 0 auto; }
.pp-vues { margin-right: auto; }   /* Fiches / Carte, juste après le titre ; les années à droite */
.pp-fiches__carte { margin-top: .4rem; }
.pp-plan { height: clamp(22rem, 60vw, 34rem); margin: .4rem 0 .6rem; }
.pp-plan .leaflet-popup-content { margin: .9rem 1rem; }
.pp-plan .leaflet-popup-content p { margin: 0 0 .4rem; }
.pp-plan .ls-erp__info-adr a { color: inherit; }   /* pas le bleu de Leaflet */
.pp-annee__resume { margin: 0 0 .8rem; padding: .6rem .8rem; border-left: 3px solid var(--dore); background: #f5f7fb; border-radius: 0 6px 6px 0; font-size: .9rem; color: #2a3247; }
.ls25 h4.pp-arr { margin: 1.6rem 0 .5rem; font: 800 1rem var(--titre); color: var(--nuit); }
.ls25 h4.pp-arr span { margin-left: .4rem; font: 600 .78rem var(--texte, inherit); color: #7a8297; }
.pp .pp-fiches .table-scroll { margin: 0; }
.pp .recap-releve { margin: .6rem 0 0; }
.pp-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.pp-carte { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid #e3e7ef; border-top: 4px solid var(--nuit); border-radius: 10px; background: #fff; text-align: left; font: inherit; color: #2a3247; cursor: pointer; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.pp-carte:nth-child(2) { border-top-color: #5f7398; } .pp-carte:nth-child(3) { border-top-color: var(--dore); } .pp-carte:nth-child(4) { border-top-color: #16895a; }
.pp-carte:hover { border-color: #c3cbda; }
.pp-carte__nom { font: 800 1rem var(--titre); color: var(--nuit); }
.pp-carte small { font-size: .78rem; color: #7a8297; }
.pp-carte b { margin-top: .4rem; font: 800 1.5rem/1.1 var(--titre); color: var(--nuit); }
.pp-carte__per { font-size: .78rem; color: #7a8297; }
.pp-carte em { margin-top: .4rem; font: 700 .8rem var(--titre); font-style: normal; color: var(--or, #a67d4a); }
.pp-type { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.pp-type::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.ls25 .ls-tab td small { display: block; font-size: .74rem; color: #7a8297; }
.pre-ligne--vue th, .pre-ligne--vue td { background: #fbf3e2 !important; transition: background .3s; }
@media (max-width: 700px) { .pp .n-repart__leg { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .pp .n-repart__nom small { display: block; } }
.pp .n-repart__leg > div { min-width: 0; }
.ls25 .pp-table th:first-child { width: auto; }

/* ==========================================================================
   Vos recours (vos-recours.html, 16 oct. 2026) : onglets en grandes cartes,
   texte sur deux colonnes (texte + colonne fixe : infographie et plan).
   ========================================================================== */
.ls25 .ls-onglets.vr-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2.6rem; padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.ls25 .ls-onglets.vr-onglets button { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: .15rem .9rem; margin: 0; padding: 1.2rem 1.3rem; text-align: left; white-space: normal; background: #fff; border: 1px solid var(--trait-n); border-bottom: 4px solid var(--trait-n); border-radius: 12px; box-shadow: 0 2px 6px rgba(16, 27, 52, .06); color: var(--nuit); transition: transform .15s ease, box-shadow .15s ease; }
.ls25 .ls-onglets.vr-onglets button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 27, 52, .12); border-bottom-color: var(--dore); }
.ls25 .ls-onglets.vr-onglets button[aria-selected="true"] { background: var(--nuit); color: #fff; border-color: var(--nuit); border-bottom-color: var(--dore); box-shadow: 0 10px 24px rgba(16, 27, 52, .22); }
.ls25 .ls-onglets.vr-onglets button:focus-visible { box-shadow: 0 0 0 3px var(--dore); outline: none; }
.vr-onglet__num { grid-row: 1 / 3; font: 800 1.9rem/1 var(--titre); color: var(--dore); }
.vr-onglet__nom { font: 800 1.15rem/1.2 var(--titre); }
.vr-onglet__sous { grid-column: 2; font: 500 .82rem/1.35 var(--texte); color: var(--texte-n2); }
.vr-onglets button[aria-selected="true"] .vr-onglet__sous { color: #c9d0e0; }
.vr-onglet__fleche { grid-row: 1 / 3; grid-column: 3; font-size: 1.3rem; color: var(--dore); transition: transform .15s ease; }
.vr-onglets button:hover .vr-onglet__fleche { transform: translateX(4px); }
@media (max-width: 760px) {
	.ls25 .ls-onglets.vr-onglets { grid-template-columns: 1fr; gap: .6rem; margin: 0 0 2rem; }
	.ls25 .ls-onglets.vr-onglets button { padding: .9rem 1rem; }
	.vr-onglet__num { font-size: 1.5rem; }
	.vr-onglet__nom { font-size: 1.02rem; }
}

.vr-grille { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .vr-grille { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; align-items: start; } }
.vr-aside { display: grid; gap: 1.4rem; }
@media (min-width: 1000px) { .vr-aside { position: sticky; top: 5.5rem; } }
@media (max-width: 999px) { .vr-aside { order: -1; } .vr-plan { display: none; } .vr-info { max-width: 26rem; margin-inline: auto; } }
.vr-info { display: block; padding: .6rem; background: #fff; border: 1px solid var(--trait-n); border-radius: 12px; box-shadow: 0 2px 8px rgba(16, 27, 52, .07); text-decoration: none; transition: box-shadow .15s ease; }
.vr-info:hover { box-shadow: 0 10px 22px rgba(16, 27, 52, .14); }
.vr-info img { display: block; width: 100%; height: auto; border-radius: 6px; }
.vr-info__leg { display: block; padding: .55rem .2rem .1rem; font: 600 .8rem var(--titre); color: var(--or-texte); text-align: center; }
.vr-plan { padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--trait-n); border-radius: 12px; }
.proto-texte .vr-plan__titre { margin: 0 0 .6rem; font: 700 .68rem var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); }
.proto-texte .vr-plan ol { margin: 0; padding: 0; list-style: none; counter-reset: vr; }
.proto-texte .vr-plan li { margin: 0; padding: 0; counter-increment: vr; }
.proto-texte .vr-plan li::before { content: none; }
.proto-texte .vr-plan a { display: grid; grid-template-columns: 1.8rem 1fr; padding: .4rem 0; font-size: .84rem; line-height: 1.35; color: var(--nuit); text-decoration: none; border-top: 1px solid var(--trait-n); }
.proto-texte .vr-plan li:first-child a { border-top: 0; }
.proto-texte .vr-plan a::before { content: counter(vr, decimal-leading-zero); font: 700 .78rem var(--titre); color: var(--dore); }
.proto-texte .vr-plan a:hover { color: var(--or-texte); }
.proto-texte h3.vr-partie { display: flex; align-items: baseline; gap: .7rem; scroll-margin-top: 6rem; }
.vr-partie__num { flex: 0 0 auto; font: 800 .95rem var(--titre); color: var(--dore); }

/* Vos recours, intérieur des onglets (maquettes STH et ADIL, 16 oct. 2026) */
.rc-tete { margin: 0 0 2.4rem; padding: 2rem 2.1rem 1.7rem; background: var(--nuit); border-radius: 12px; color: #fff; }
.rc-tete__titre { margin: 0 0 .8rem; font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.15 var(--titre); color: #fff; max-width: 32ch; }
.rc-tete__chapo { margin: 0; max-width: 60ch; font-size: 1rem; line-height: 1.6; color: #d9dce6; }
.rc-tete .n-kpis { margin-top: 1.8rem; padding-top: 1.4rem; }
.rc-tete .n-kpi__val { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
@media (max-width: 600px) { .rc-tete { padding: 1.4rem 1.2rem 1.2rem; border-radius: 10px; } }
.proto-texte.rc .rc-intro { font-size: 1.08rem; line-height: 1.75; color: var(--encre); }
.proto-texte.rc h3.rc-h { margin: 2.8rem 0 1.2rem; font: 700 clamp(1.35rem, 1.1rem + .9vw, 1.75rem)/1.2 var(--titre); color: var(--nuit); scroll-margin-top: 6rem; }
.proto-texte.rc h3.rc-h::after { content: ""; display: block; width: 2rem; height: 3px; margin-top: .6rem; background: var(--dore); }
.proto-texte.rc h3.rc-h::before { content: none; }
.proto-texte.rc h4.rc-sous { margin: 2rem 0 .7rem; font: 700 1.08rem var(--titre); color: var(--nuit); scroll-margin-top: 6rem; }
.rc-etapes { display: grid; gap: .8rem; margin: 1.2rem 0 1.4rem; }
@media (min-width: 700px) { .rc-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rc-etapes--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-etapes > div { padding: 1.2rem 1.2rem 1.3rem; background: var(--gris-n); border-radius: 4px; }
.rc-etapes__num { display: block; font: 700 1.35rem var(--titre); color: var(--dore-texte); }
.proto-texte .rc-etapes__titre { margin: .5rem 0 .3rem; font: 700 1rem var(--titre); color: var(--nuit); }
.proto-texte .rc-etapes p { margin: 0; font-size: .88rem; line-height: 1.55; }
.proto-texte .rc-etapes p + p { margin-top: .3rem; }
.proto-texte ul.rc-tirets { margin: .8rem 0 1rem; padding: 0; list-style: none; }
.proto-texte ul.rc-tirets li { position: relative; margin: 0; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--trait-n); font-size: .9rem; line-height: 1.5; }
.proto-texte ul.rc-tirets li:last-child { border-bottom: 1px solid var(--trait-n); }
.proto-texte ul.rc-tirets li::before { content: "—"; position: absolute; left: 0; top: .55rem; color: var(--dore); background: none; width: auto; height: auto; border: 0; }
.proto-texte .n-deux ul.rc-tirets { margin: .7rem 0 0; }
.rc-urgence { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin: 1.6rem 0; padding: 1.2rem 1.5rem; border: 1px solid var(--trait-n); border-top: 3px solid var(--nuit); background: #fff; }
.rc-urgence__num { font: 800 2.6rem/1 var(--titre); color: var(--nuit); }
.proto-texte .rc-urgence p { margin: 0; font-size: .9rem; }
.proto-texte .rc-lien a { font: 700 1rem var(--titre); }
.rc-liens { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--trait-n); }
.proto-texte .rc-liens p { margin: .2rem 0; font-size: .84rem; color: var(--texte-n2); }
.proto-texte.rc .n-retenir { border-radius: 4px; }
body.theme-nuit #contenu .rc-tete h2.rc-tete__titre { font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.15 var(--titre); color: #fff; margin: 0 0 .8rem; padding: 0; border: 0; background: none; text-transform: none; letter-spacing: 0; }
body.theme-nuit #contenu .rc-tete h2.rc-tete__titre::after, .ls25 .rc-tete h2.rc-tete__titre::before { content: none; }
.theme-nuit .proto-texte .n-retenir h3.n-retenir__titre { margin: 0 0 1rem; color: #fff; font: 700 1.35rem/1.2 var(--titre); }

/* Préemptions, synthèse : un petit graphique par type (16 oct. 2026) */
.pp-minis { display: grid; gap: .9rem; margin: 1rem 0 .2rem; }
@media (min-width: 700px) { .pp-minis { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pp-minis { grid-template-columns: repeat(4, 1fr); } }
.pp-mini { --c: var(--nuit); padding: 1rem 1.1rem .7rem; border: 1px solid #e3e7ef; border-top: 4px solid var(--c); border-radius: 10px; background: #fff; }
.pp-mini:nth-child(2) { --c: #5f7398; } .pp-mini:nth-child(3) { --c: var(--dore); } .pp-mini:nth-child(4) { --c: #16895a; }
.pp .pp-mini__nom { margin: 0 0 .6rem; font: 700 1rem/1.3 var(--titre); color: var(--nuit); }
.pp-mini__an { display: grid; grid-template-columns: 2.4rem 1fr 6rem; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid #eef0f4; }
.pp-mini__lib { font: 600 .8rem var(--titre); color: #5b6070; }
.pp-mini__piste { height: .7rem; background: #f2f3f6; border-radius: 2px; overflow: hidden; }
.pp-mini__piste > span { display: block; height: 100%; background: var(--c); border-radius: 2px; }
.pp-mini__val { text-align: right; font: 700 .85rem/1.2 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-mini__val small { display: block; font-weight: 400; font-size: .72rem; color: #7a8297; }
.pp-mini__an--vide .pp-mini__val { color: #9aa0ae; }
.pp .n-details .be-tab__defile { margin-top: .6rem; }

/* Préemptions, synthèse : le graphique année par année dans chaque carte (16 oct. 2026) */
.pp-carte { --c: var(--nuit); }
.pp-carte:nth-child(2) { --c: #5f7398; } .pp-carte:nth-child(3) { --c: var(--dore); } .pp-carte:nth-child(4) { --c: #16895a; }
.pp-carte .pp-carte__ans { display: block; margin-top: auto; padding-top: .9rem; }
.pp-carte .pp-mini__an { display: grid; grid-template-columns: 2.4rem 1fr 5.8rem; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid #eef0f4; }
.pp-carte .pp-mini__val, .pp-carte .pp-mini__val small { display: block; }
.pp-carte em { margin-top: .4rem; padding-top: .4rem; }
.pp .pp-cartes__note { margin: 0 0 .9rem; }
.pp-details { margin: 1.2rem 0 0; }

/* Préemptions, synthèse : tableau une ligne par type, une colonne par année (16 oct. 2026) */
.pp-table--syn caption.pp-legende { caption-side: top; text-align: left; padding: 0 0 .6rem; font-size: .8rem; color: #7a8297; }
.pp-table--syn tbody th { white-space: nowrap; font: 700 .9rem var(--titre); color: var(--nuit); }
.pp-table--syn tbody th i { display: inline-block; width: .7rem; height: .7rem; margin-right: .55rem; border-radius: 2px; vertical-align: -.05rem; }
.pp-table--syn .pp-case b { display: block; font: 700 .92rem/1.25 var(--titre); color: var(--nuit); white-space: nowrap; }
.pp-table--syn .pp-case small { display: block; font-size: .75rem; color: #7a8297; white-space: nowrap; }
.pp-table--syn .pp-case--vide { color: #9aa0ae; }
.pp-table--syn .pp-case--total { background: #f6f1e7; }
.pp-table--syn thead th:last-child { color: var(--dore); }
.ls25 .pp-table--syn { table-layout: auto; }
.ls25 .pp-table--syn thead th { text-align: right; padding: .7rem .9rem; font-size: .8rem; border: 0 !important; box-shadow: none; }
.ls25 .pp-table--syn thead th:first-child { text-align: left; width: 13rem; }
.ls25 .pp-table--syn thead th:last-child { color: var(--dore-vif, #e0bf7a); }
.ls25 .pp-table--syn tbody th { width: 13rem; padding: .7rem .9rem; font: 700 .88rem var(--titre); color: var(--nuit); white-space: nowrap; }
.ls25 .pp-table--syn td { padding: .7rem .9rem; border-left: 0 !important; }
.ls25 .pp-table--syn td.pp-case--total { background: #f6f1e7 !important; }
@media (max-width: 700px) { .ls25 .pp-table--syn thead th:first-child, .ls25 .pp-table--syn tbody th { width: 9.5rem; min-width: 9.5rem; white-space: normal; } }
.ls25 .pp .pp-table--syn tbody tr:nth-child(n) td.pp-case--total, .ls25 .pp-table--syn tbody tr:nth-child(n) td.pp-case--total { background: #f6f1e7 !important; }
.pp-carte .pp-carte__log { font-size: .85rem; line-height: 1.4; color: #2a3247; }
.pp-carte .pp-carte__log--sans { color: #9aa0ae; }

/* Simulateur de loyer (loyerhlm.html, js/simulateur-loyer.js, 16 oct. 2026) : le résultat reprend le schéma n-calcul */
.sim-loyer { margin: 1rem 0 .6rem; padding: 1.2rem 1.3rem 1rem; border: 1px solid var(--trait-n); border-top: 3px solid var(--dore); background: #fff; }
.sim-loyer__methode { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; border: 0; }
.sim-loyer__methode legend { width: 100%; margin-bottom: .4rem; font: 700 .7rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte); }
.sim-loyer__methode label { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid var(--trait-n); border-radius: 4px; font: 600 .82rem var(--titre); color: var(--nuit); cursor: pointer; }
.sim-loyer__methode label:has(input:checked) { border-color: var(--nuit); background: var(--nuit); color: #fff; }
.sim-loyer__methode input { accent-color: var(--dore); margin: 0; }
.sim-loyer__champs { display: grid; gap: .9rem 1rem; }
@media (min-width: 640px) { .sim-loyer__champs { grid-template-columns: 1fr 1fr; } }
.sim-loyer__champs label { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; }
.sim-loyer__champs label[hidden] { display: none; }
.sim-loyer__champs label > span:first-child { font: 600 .82rem var(--titre); color: var(--nuit); }
.sim-loyer__champs small { font-size: .72rem; color: var(--texte-n2); }
.sim-loyer__saisie { display: flex; align-items: center; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; }
.sim-loyer__saisie:focus-within, .sim-loyer select:focus { border-color: var(--nuit); outline: 2px solid var(--dore); outline-offset: 1px; }
.sim-loyer__saisie input { flex: 1; min-width: 0; padding: .55rem .7rem; border: 0; background: none; font: 600 1rem var(--titre); color: var(--nuit); }
.sim-loyer__saisie input:focus { outline: none; }
.sim-loyer__saisie i { padding: 0 .7rem; font-style: normal; color: var(--texte-n2); }
.sim-loyer select { padding: .6rem .7rem; border: 1px solid var(--trait-n); border-radius: 4px; background: #fff; font: 600 .9rem var(--titre); color: var(--nuit); }
.sim-loyer__resultat { margin-top: 1.2rem; }
.sim-loyer__resultat .n-calcul__case b { font-size: 1.05rem; }
.sim-loyer__resultat .n-calcul__total { font-size: 1rem; }
.sim-loyer__resultat [data-res="total"] { color: var(--dore); font-size: 1.2rem; }
.n-hero__cta { margin: 1.4rem 0 0; }
.n-hero__cta a.n-bouton { gap: 1rem; padding: 1.05rem 1.7rem; font-size: 1.05rem; font-weight: 700; border-radius: 4px; }   /* bouton « Simuler votre loyer » en haut de loyerhlm.html */
#simulateur { scroll-margin-top: 6rem; }

/* Carte des opérations : mise à jour Paris Habitat sous nos fiches, gardées telles quelles (outils/carte-maj-ph.py, 16 oct. 2026) */
.op-maj { margin: 1.2rem 0 .4rem; padding: .9rem 1.1rem 1rem; background: var(--gris-n, #f2f3f6); border-left: 3px solid var(--dore); }
.op-maj__titre { margin: 0 0 .5rem; font: 700 .9rem var(--titre); color: var(--nuit); }
.op-maj__titre span { font-weight: 400; font-size: .78rem; color: var(--texte-n2); }
.op-maj ul { margin: 0; padding-left: 1.1rem; }
.op-maj li { margin: .25rem 0; font-size: .88rem; line-height: 1.5; }
.op-maj__note { margin: .6rem 0 0; font-size: .76rem; color: var(--texte-n2); }
.op-recap { margin: 0 0 2.5rem; }
.op-recap p { font-size: .92rem; }
.op-recap__table th[scope="row"] { font-weight: 600; text-align: left; }
.op-recap__table small { color: #a3402d; font-weight: 600; }
/* Carte des opérations : onglets (js/carte-onglets.js, 16 oct. 2026) */
.op-onglets { max-width: 82rem; margin: 1.5rem auto 1rem; padding: 0 var(--gouttiere, 1rem); }
html.op-js .ls-onglets.op-onglets { display: flex; }   /* la règle générale cache les onglets sans js/ls25.js */
/* Onglet « Toutes les opérations Paris Habitat » : même outil que les Adresses et les préemptions (classes ls-erp) */
.op-toutes .ls-erp__filtres { grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .op-toutes .ls-erp__filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .op-toutes .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }
.op-toutes__carte { display: inline-block; margin-top: .25rem; padding: .05rem .4rem; border-radius: 3px; background: var(--dore); color: var(--nuit); font: 700 .66rem var(--titre); white-space: nowrap; }
.ls25 .ls-tab--ops td.op-change { background: #fdf1ef !important; }
.ls-tab--ops td.op-change b { color: #b3261e; }
.ls-tab--ops .op-avant { display: block; margin-top: .15rem; font-size: .7rem; color: #b3261e; white-space: nowrap; }
.ls-tab--ops tr.op-ligne--bouge td:first-child { box-shadow: inset 3px 0 0 #b3261e, 1px 0 0 var(--trait-n); }
.op-avant-bloc { margin: .4rem 0; padding: .5rem .6rem; background: #fdf1ef; font-size: .8rem; color: #b3261e; }
.ls-opcarte .op-pt--bouge { stroke: #b3261e; stroke-width: 2.2; }
@media (max-width: 760px) {
  .ls25 .ls-tab--ops td[data-col="Travaux"], .ls25 .ls-tab--ops td[data-col="Phase"], .ls25 .ls-tab--ops td[data-col="Architecte"] { grid-column: 1; font-size: .78rem; }
  .ls25 .ls-tab--ops td[data-col="Livraison"], .ls25 .ls-tab--ops td[data-col="Budget"] { grid-column: 2; text-align: right; }
  .ls25 .ls-tab--ops td[data-col="Mise à jour"] { display: none; }
  .ls25 .ls-tab--ops td[data-col="Livraison"]::before { content: "Livraison "; color: var(--texte-n2); font-size: .72rem; }
}
.ls-tab__adr span.op-toutes__carte { display: inline-block; width: auto; font-weight: 700; }   /* pas étirée comme l'adresse */
/* Carte des opérations (16 oct. 2026) : l'outil est le contenu principal ; nos fiches s'ouvrent dans un panneau à gauche */
html.op-js .op-filtre, html.op-js #about { display: none !important; }
.ls-tab__adr .op-fiche-btn { display: inline-flex; }
.op-orphelines .op-fiche-btn { margin: .3rem .3rem 0 0; }
.op-tiroir { position: fixed; inset: 0; z-index: 1000; }
.op-tiroir[hidden] { display: none; }
.op-tiroir__fond { position: absolute; inset: 0; background: rgba(16, 27, 52, .45); opacity: 0; transition: opacity .25s; }
.op-tiroir__panneau { position: absolute; top: 0; bottom: 0; left: 0; width: min(46rem, 94vw); overflow-y: auto; background: #fff; box-shadow: 8px 0 30px rgba(16, 27, 52, .25); transform: translateX(-100%); transition: transform .25s ease; outline: none; }
.op-tiroir--ouvert .op-tiroir__fond { opacity: 1; }
.op-tiroir--ouvert .op-tiroir__panneau { transform: none; }
.op-tiroir__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.4rem; background: var(--nuit); color: #fff; }
.op-tiroir__sur { margin: 0; font: 700 .72rem var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--dore); }
.op-tiroir__fermer { width: 2.2rem; height: 2.2rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.op-tiroir__fermer:hover, .op-tiroir__fermer:focus-visible { background: #fff; color: var(--nuit); outline: none; }
.op-tiroir__corps { padding: 1.2rem 1.4rem 2.5rem; }
.op-tiroir__corps article + article { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid var(--trait-n); }
.op-tiroir__corps table { display: block; max-width: 100%; overflow-x: auto; }
html.op-tiroir-ouvert, html.op-tiroir-ouvert body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .op-tiroir__fond, .op-tiroir__panneau { transition: none; } }
.op-tiroir__corps .op-adresse { margin-top: .4rem; font-size: clamp(1.15rem, 1rem + .8vw, 1.45rem); line-height: 1.25; }

/* Carte des opérations : fiches mises en forme (js/fiche-nuit.js, 16 oct. 2026) */
.fi .op-adresse { margin: 0 0 1rem; }
.fi-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .7rem; margin: 0 0 2rem; }
.fi-kpi { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem .95rem; background: var(--gris-n, #f2f3f6); border-top: 3px solid var(--dore); }
.fi-kpi__lib { font: 700 .66rem/1.3 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.fi-kpi__val { font: 800 1.35rem/1.15 var(--titre); color: var(--nuit); }
.fi-kpi__note { font-size: .8rem; line-height: 1.45; color: var(--texte-n2, #5b6070); }
.fi-kpi__note a { color: var(--dore-texte, #8c6a2f); }
.proto-texte ol.fi-frise { position: relative; margin: 1rem 0 .4rem; padding: 0 0 0 1.4rem; list-style: none; }
.proto-texte ol.fi-frise::before { content: ""; position: absolute; left: .38rem; top: .5rem; bottom: .9rem; width: 2px; background: var(--trait-n, #e3e5eb); }
.proto-texte .fi-frise__pas { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: .1rem 1rem; margin: 0; padding: .55rem 0 .7rem; border-bottom: 1px solid #eef0f4; }
.proto-texte .fi-frise__pas::before { content: ""; position: absolute; left: -1.4rem; top: .78rem; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; border: 2px solid var(--ardoise, #5a76a6); box-sizing: border-box; }
.proto-texte .fi-frise__pas--fait::before { background: var(--nuit); border-color: var(--nuit); }
.proto-texte .fi-frise__pas--fin::before { background: var(--dore); border-color: var(--dore); }
.fi-frise__date { grid-row: span 2; font: 700 .85rem/1.4 var(--titre); color: var(--nuit); }
.fi-frise__pas--avenir .fi-frise__date { color: var(--ardoise, #5a76a6); }
.fi-frise__etape { font: 700 .9rem/1.35 var(--titre); color: var(--nuit); }
.fi-frise__com { font-size: .82rem; line-height: 1.45; color: var(--texte-n2, #5b6070); }
.proto-texte p.fi-frise__leg { display: flex; gap: 1.2rem; margin: .2rem 0 1.8rem; font-size: .74rem; color: #7a8297; }
.fi-pt { display: inline-block; width: .65rem; height: .65rem; margin-right: .35rem; border-radius: 50%; border: 2px solid var(--ardoise, #5a76a6); vertical-align: -.05rem; box-sizing: border-box; }
.fi-pt--fait { background: var(--nuit); border-color: var(--nuit); }
.proto-texte p.fi-officiel { margin: .6rem 0 1.4rem; }
.proto-texte a.fi-officiel__lien { display: inline-flex; align-items: center; padding: .6rem 1rem; border: 1px solid var(--nuit); color: var(--nuit); font: 700 .82rem var(--titre); text-decoration: none; }
.proto-texte a.fi-officiel__lien:hover { background: var(--nuit); color: #fff; }
@media (max-width: 520px) { .proto-texte .fi-frise__pas { grid-template-columns: 1fr; } .fi-frise__date { grid-row: auto; } }
.op-tiroir__corps p.op-auto-note, p.op-auto-note { margin-top: 1.5rem; font-size: .78rem; line-height: 1.5; color: var(--texte-n2); }
/* Bouton « Fiche » : un seul style, fond blanc et contour bleu nuit (16 oct. 2026) */
.op-fiche-btn { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; padding: .22rem .6rem; border: 1px solid var(--nuit); border-radius: 4px; background: #fff; color: var(--nuit); font: 700 .7rem var(--titre); cursor: pointer; white-space: nowrap; }
.op-fiche-btn:hover, .op-fiche-btn:focus-visible { background: var(--nuit); color: #fff; outline: none; }
/* Adresse du tableau : la rue, puis le code postal et la ville, un peu plus petit */
.ls25 .ls-tab--ops .ls-tab__adr span.op-rue { font-size: .8rem; line-height: 1.3; }
.ls-tab--ops .ls-tab__adr span.op-rue a { white-space: normal; }
.ls-tab--ops .op-cp { display: block; margin-top: .1rem; font-size: .7rem; color: var(--nuit); }
.ls-tab--ops .op-nom { display: block; font-size: .68rem; color: var(--texte-n2); font-style: italic; }
.ls-erp__info .op-cp { color: var(--nuit); }   /* code postal et ville en noir aussi dans la fiche d'un point de la carte */
/* Carte des opérations : 5 chiffres clés (dont la durée financement → livraison) */
.op-toutes .ls-erp__kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .op-toutes .ls-erp__kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .op-toutes .ls-erp__kpi { grid-template-columns: 1fr 1fr; } }
/* Durée de plus de 7 ans entre financement et livraison : carré vert (à sa demande, 16 oct. 2026) */
.op-long { display: inline-block; width: .6rem; height: .6rem; margin-right: .35rem; background: #16895a; border-radius: 1px; vertical-align: .02rem; }
/* Occupation pendant les travaux : carré de couleur devant (16 oct. 2026) */
.op-occ { display: inline-block; width: .6rem; height: .6rem; margin-right: .35rem; border-radius: 1px; vertical-align: .02rem; box-sizing: border-box; }
.op-occ--occupe { background: #c2410c; }
.op-occ--semi { background: linear-gradient(135deg, #c2410c 50%, #fff 50%); border: 1px solid #c2410c; }
.op-occ--vacant { background: #8a93a6; }
.op-occ--neuf { background: #fff; border: 1.5px solid #8a93a6; }
.op-occ-txt { white-space: nowrap; }
.op-toutes .ls-erp__filtres { grid-template-columns: minmax(0, 2fr) repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .op-toutes .ls-erp__filtres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .op-toutes .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }
/* 10 filtres : la recherche sur sa ligne, les listes en dessous, 5 par ligne (16 oct. 2026) */
.op-toutes .ls-erp__filtres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.op-toutes .ls-erp__filtres .ls-erp__cherche { grid-column: 1 / -1; }
@media (max-width: 1000px) { .op-toutes .ls-erp__filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .op-toutes .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }
/* Boutons sous l'adresse : « Fiche » puis « Google Maps », même style (16 oct. 2026) */
.op-btns { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.op-btns .op-fiche-btn { margin-top: 0; text-decoration: none; }
.ls-tab__adr .op-btns { display: flex; }
/* priorité sur les règles des liens et des petits textes du tableau (.ls25 .ls-tab …) */
.ls25 .ls-tab--ops .ls-tab__adr a.op-fiche-btn { font: 700 .7rem var(--titre); color: var(--nuit); white-space: nowrap; }
.ls25 .ls-tab--ops .ls-tab__adr a.op-fiche-btn:hover, .ls25 .ls-tab--ops .ls-tab__adr a.op-fiche-btn:focus-visible { color: #fff; }
.ls25 .ls-tab--ops td small.op-cp { color: var(--nuit); }
/* Le patrimoine de la RIVP (rivp-patrimoine.html, 16 oct. 2026) : même outil que la carte des opérations */
.rv .ls-erp__kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .rv .ls-erp__kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rv .ls-erp__kpi { grid-template-columns: 1fr 1fr; } }
.rv .ls-erp__filtres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rv .ls-erp__filtres .ls-erp__cherche { grid-column: 1 / -1; }
@media (max-width: 1000px) { .rv .ls-erp__filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rv .ls-erp__filtres { grid-template-columns: 1fr 1fr; } }
.ls-tab--rv td[data-col="Autres"] small, .ls-tab--rv td[data-col="Financement"] small { display: block; font-size: .7rem; color: var(--texte-n2); }
.rv-statut { display: inline-block; padding: .05rem .4rem; border-radius: 3px; font: 700 .68rem var(--titre); white-space: nowrap; }
.rv-statut--livree { background: #e8f1ec; color: #16653f; }
.rv-statut--financee { background: #fdecdf; color: #9a3412; }
.ls-tab--rv td[data-col="Statut"] small { display: block; font-size: .66rem; color: var(--texte-n2); }
.ls-opcarte .rv-pt--financee { stroke: #c2410c; stroke-width: 1.6; }

/* Architecte complété d'après PSS-archi : petit lien vers la fiche (16 oct. 2026) */
.op-pss { font-size: .66rem; color: var(--texte-n2); white-space: nowrap; }
/* Contrôle Ancols de Paris Habitat (controle-ancols-paris-habitat.html, 16 oct. 2026) */
.ac .ac-bloc { margin: 1.6rem 0 0; }
.ac .ac-h3 { font: 700 1.05rem var(--titre); color: var(--nuit); margin: 0 0 .7rem; }
.ac .ac-ref { font-size: .7rem; color: var(--texte-n2); margin: .3rem 0 0; }
.ac-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .ac-verdict { grid-template-columns: 1fr; } }
.ac-col { background: #fff; border: 1px solid var(--bordure, #e3e6ee); border-radius: 10px; padding: 1rem; }
.ac-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ac-col__titre { font: 800 1rem var(--titre); margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 3px solid; }
.ac-col__titre--ok { color: #16653f; border-color: #16895a; }
.ac-col__titre--ko { color: #9f1c14; border-color: #b3261e; }
.ac-col__titre--reco { color: #8a5a00; border-color: var(--dore); }
.ac-pt { display: grid; grid-template-columns: 1.6rem 1fr; gap: .55rem; align-items: start; }
.ac-pt__sym { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.ac-pt--ok .ac-pt__sym { background: #16895a; }
.ac-pt--ko .ac-pt__sym { background: #b3261e; }
.ac-pt--reco .ac-pt__sym { background: var(--dore); }
/* Rapports Ancols : compteur sous le titre des colonnes du bilan, et questions en langage courant (26 oct. 2026) */
.ac-col__titre small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 600; color: #4b5263; }
.ac-q__sujet { margin: 0 0 .8rem; font-size: .85rem; color: #4b5263; }
.ac-q__duo { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ac-q__c { padding: .8rem 1rem; border-radius: 10px; background: #f4f6fa; }
.ac-q__c span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4b5263; }
.ac-q__c b { display: block; margin-top: .25rem; font: 800 1.9rem/1.1 var(--titre); color: var(--nuit); }
.ac-q__c--ko { background: #fdf1f0; } .ac-q__c--ko b { color: #9f1c14; }
.ac-q__c--ok { background: #eef8f2; } .ac-q__c--ok b { color: #16653f; }
.ac-q__c--cible b { color: #8a5a00; }
.ac-q__phrase { margin: .9rem 0 0; font-weight: 600; color: var(--nuit); }
.ac-pt__txt b { display: block; font-size: .88rem; color: var(--nuit); line-height: 1.3; }
.ac-pt__txt small { display: block; font-size: .76rem; color: var(--texte-n2); line-height: 1.35; margin-top: .1rem; }
.ac-pt__txt em { display: block; font-style: normal; font-size: .66rem; color: var(--texte-n2); opacity: .8; margin-top: .1rem; }
.ac-col li::before, .ac-col li::marker { content: none; display: none; }
.ac-col li { padding-left: 0; margin: 0; }
.ac .ls-tuiles[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac .ls-tuiles[data-n="3"], .ac .ls-tuiles[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac .ls-tuiles[data-n="5"], .ac .ls-tuiles[data-n="7"], .ac .ls-tuiles[data-n="8"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* plus de 5 tuiles étroites par ligne (26 oct. 2026) */
.ac .ls-tuiles[data-n="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac .ls-tuiles[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .ac .ls-tuiles[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ac .ls-tuiles[data-n] { grid-template-columns: 1fr; } }
/* Menu : section « Bailleurs » avec sous-menu (16 oct. 2026) */
.menu-groupe { position: relative; }
.menu-groupe__lien::after { content: " ▾"; font-size: .8em; }
.barre nav .sous-menu {
	display: none; position: absolute; top: 100%; right: 0; z-index: 50;
	flex-direction: column; gap: 0; min-width: 14rem; margin: 0; padding: .5rem 0;
	background: var(--nuit); border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}
.barre nav .menu-groupe:hover > .sous-menu,
.barre nav .menu-groupe:focus-within > .sous-menu { display: flex; }
.barre nav .sous-menu a, .theme-nuit .barre nav .sous-menu a.menu {
	display: block; padding: .45rem 1rem .45rem 1.6rem; color: #fff; border: 0; white-space: nowrap;
}
.barre nav .sous-menu a:hover, .barre nav .sous-menu a[aria-current="page"] { color: var(--or); border: 0; }
.sous-menu__titre {
	font-family: var(--titre); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--or); padding: .55rem 1rem .2rem;
}
.barre nav .sous-menu__titre { color: var(--or); }
/* menu plein écran (burger) : le sous-menu s'affiche dessous, plus petit */
.navigation .sous-menu { display: flex; flex-direction: column; gap: .15rem; margin-top: .6rem; }
.navigation .sous-menu li a { font-size: clamp(.8rem, .75rem + .4vw, 1rem); letter-spacing: .12em; padding: .2rem .5rem; }
.navigation .sous-menu__titre { margin-top: .5rem; font-size: .66rem; }
.navigation .menu-groupe__lien::after { content: ""; }

/* Bouton « ? » des tuiles et fenêtre d'explication (pages contrôle Ancols, js/ac-aide.js) */
.ac .ac-aide { position: absolute; top: .55rem; right: .55rem; width: 1.35rem; height: 1.35rem; padding: 0; border: 1px solid #c9d0de; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--nuit, #101b34); font-family: inherit; font-size: .72rem; font-weight: 700; line-height: 1; cursor: pointer; }
.ac .ac-aide:hover, .ac .ac-aide:focus-visible { background: var(--nuit, #101b34); border-color: var(--nuit, #101b34); color: #fff; outline: none; }
.ac .ls-tuile:has(.ac-aide) .ls-tuile__lib { padding-right: 1.6rem; }
.ac-dialog { width: min(30rem, calc(100vw - 2rem)); padding: 1.4rem 1.4rem 1.1rem; border: 0; border-radius: 12px; box-shadow: 0 12px 40px rgba(16, 27, 52, .3); color: #1d2433; }
.ac-dialog::backdrop { background: rgba(16, 27, 52, .45); }
.ac-dialog__fermer { position: absolute; top: .5rem; right: .6rem; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: #6b7385; cursor: pointer; }
.ac-dialog__lib { margin: 0 1.5rem .2rem 0; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7385; }
.ac-dialog__val { margin: 0 0 .7rem; font-size: 1.6rem; font-weight: 800; color: var(--nuit, #101b34); }
.ac-dialog__txt { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.55; }
.ac-dialog__txt p { margin: 0 0 .65rem; }   /* bulle « ? » en paragraphes (26 oct. 2026) */
.ac-dialog__txt p:last-child { margin-bottom: 0; }
.ac-dialog__ref { margin: 0; font-size: .72rem; color: #6b7385; }

/* Tuiles au chiffre jugé mauvais par le rapport (croix rouge) et légende — pages contrôle Ancols */
.ac .ls-tuile.ac-ko { background: #fdf3f2; border-color: #efc4bf; }
.ac .ls-tuile.ac-ko .ls-tuile__val { color: #b42318; }
.ac .ac-ko__x { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #b42318; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; }
.ac .ls-tuile .ac-ko__x { position: absolute; top: .55rem; right: 2.15rem; }
.ac .ls-tuile.ac-ko:not(:has(.ac-aide)) .ac-ko__x { right: .55rem; }
.ac .ls-tuile.ac-ko .ls-tuile__lib { padding-right: 3.3rem; }
.ac .ac-legende { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .2rem 0 1rem; font-size: .8rem; color: var(--texte-n2, #5b6476); }
.ac .ac-legende__q { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-left: .6rem; border: 1px solid #c9d0de; border-radius: 50%; background: #fff; color: var(--nuit, #101b34); font-size: .72rem; font-weight: 700; }
@media (min-width: 760px) { .n-essentiel--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .n-essentiel--4 { grid-template-columns: repeat(4, 1fr); } }

/* Lien de source dans le bandeau bleu nuit : lisible (doré clair, souligné) */
body .n-hero .n-hero__source a, body .n-hero .n-hero__source a:visited { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .6); text-underline-offset: 2px; }
body .n-hero .n-hero__source a:hover, body .n-hero .n-hero__source a:focus-visible { color: #fff; text-decoration-color: #fff; }

/* Petit dico des attributions (pages contrôle Ancols) */
.ac .ac-dico { display: grid; gap: .1rem 2rem; margin: .4rem 0 0; }
@media (min-width: 800px) { .ac .ac-dico { grid-template-columns: 1fr 1fr; } }
.ac .ac-dico div { padding: .7rem 0; border-bottom: 1px solid #e3e7ef; }
.ac .ac-dico dt { font-weight: 700; color: var(--nuit, #101b34); margin: 0 0 .2rem; }
.ac .ac-dico dd { margin: 0; font-size: .92rem; line-height: 1.5; color: #3a4252; }

/* Ancols, attributions : barres face à l'objectif de la loi (16 oct. 2026) */
.ac-obj { --nomw: 9rem; --valw: 4.4rem; position: relative; display: grid; gap: .45rem; margin: .4rem 0 .5rem; }
.ac-obj__l { display: grid; grid-template-columns: var(--nomw) 1fr var(--valw); gap: .8rem; align-items: center; }
.ac-obj__nom { font: 700 .82rem/1.25 var(--titre); color: var(--nuit); }
.ac-obj__nom small { display: block; font: 400 .72rem var(--texte, inherit); color: #7a8297; }
.ac-obj__piste { position: relative; height: 1rem; background: #f2f3f6; border-radius: 2px; }
.ac-obj__plein { display: block; height: 100%; border-radius: 2px; background: #c3cbda; }
.ac-obj__l--ko .ac-obj__plein { background: #c8473b; }
.ac-obj__l--ok .ac-obj__plein { background: var(--nuit); }
.ac-obj__val { text-align: right; font: 700 .85rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-obj__l--ko .ac-obj__val { color: #b42318; }
.ac-obj__l--ref .ac-obj__nom, .ac-obj__l--ref .ac-obj__val { color: #7a8297; font-weight: 600; }
.ac-obj__tete .ac-obj__piste { height: 1.1rem; background: none; }
.ac-obj__etiq { position: absolute; left: calc(var(--c) * 100%); bottom: .15rem; transform: translateX(-50%); font: 700 .7rem var(--titre); color: var(--dore-texte, #8c6a2f); white-space: nowrap; }
.ac-obj::after { content: ""; position: absolute; top: 1.35rem; bottom: -.2rem; left: calc(var(--nomw) + .8rem + (100% - var(--nomw) - var(--valw) - 1.6rem) * var(--c)); border-left: 2px dashed var(--dore); pointer-events: none; }
.ac .ac-obj__leg { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .6rem 0 .2rem; font-size: .74rem; color: #5b6070; }
.ac-obj__pt { display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 2px; vertical-align: -.05rem; background: #c3cbda; }
.ac-obj__pt--ko { background: #c8473b; } .ac-obj__pt--ok { background: var(--nuit); }
@media (max-width: 560px) { .ac-obj { --nomw: 5.6rem; --valw: 3.6rem; } .ac-obj__l { gap: .5rem; } .ac-obj::after { left: calc(var(--nomw) + .5rem + (100% - var(--nomw) - var(--valw) - 1rem) * var(--c)); } }
.ac .ac-dico-plie > summary { font: 700 1.05rem var(--titre); color: var(--nuit); }
.ac .ac-dico-plie > summary span { margin-left: .4rem; font: 400 .8rem var(--texte, inherit); color: #7a8297; }
.ac .ac-dico-plie[open] .ac-dico { margin-top: .8rem; }

/* Ancols : comparaisons bailleur / référence par paires (16 oct. 2026) */
.ac-duo { display: grid; gap: .9rem; margin: .4rem 0 .4rem; }
@media (min-width: 900px) { .ac-duo { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem 2rem; } }
.ac-duo__g { padding: .2rem 0 .6rem; border-bottom: 1px solid #eef0f4; }
.ac .ac-duo__tete { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin: 0 0 .4rem; }
.ac-duo__sujet { font: 700 .9rem/1.3 var(--titre); color: var(--nuit); }
.ac-duo__ecart { flex: none; padding: .12rem .5rem; border-radius: 999px; font: 700 .75rem var(--titre); white-space: nowrap; background: #f6efe1; color: var(--dore-texte, #8c6a2f); }
.ac-duo__l { display: grid; grid-template-columns: 7.5rem 1fr 5.4rem; gap: .7rem; align-items: center; padding: .18rem 0; }
.ac-duo__lab { font-size: .76rem; line-height: 1.3; color: var(--nuit); font-weight: 600; }
.ac-duo__l--ref .ac-duo__lab { color: #7a8297; font-weight: 400; }
.ac-duo__piste { height: .8rem; background: #f2f3f6; border-radius: 2px; }
.ac-duo__piste > span { display: block; height: 100%; border-radius: 2px; background: var(--nuit); }
.ac-duo__l--ref .ac-duo__piste > span { background: #c3cbda; }
.ac-duo__val { text-align: right; font: 700 .85rem var(--titre); color: var(--nuit); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ac-duo__l--ref .ac-duo__val { color: #7a8297; font-weight: 600; }
.ac .ac-duo__leg { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .5rem 0 .2rem; font-size: .74rem; color: #5b6070; }
.ac-duo__pt { display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 2px; vertical-align: -.05rem; background: var(--nuit); }
.ac-duo__pt--ref { background: #c3cbda; }
@media (max-width: 520px) { .ac-duo__l { grid-template-columns: 5.6rem 1fr 4.6rem; gap: .5rem; } }
.ac-duo__ecart--max { background: var(--nuit); color: #fff; }
.ac-duo.ac-duo--ans { grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 700px) {
  .ac-duo--ans .ac-duo__g { display: grid; grid-template-columns: 13rem 1fr; column-gap: 1.2rem; align-items: center; }
  .ac .ac-duo--ans .ac-duo__tete { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: .3rem; margin: 0; }
}
/* Fenêtre d'explication « ? » (Ancols) : croix ronde bien à l'intérieur, pas de cadre de focus à l'ouverture (16 oct. 2026) */
.ac-dialog { padding: 1.5rem 1.5rem 1.2rem; border-top: 4px solid var(--dore); overflow: visible; }
.ac-dialog__fermer { top: .75rem; right: .75rem; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid #d5dae4; border-radius: 50%; background: #fff; font-size: 1.15rem; color: var(--nuit, #101b34); }
.ac-dialog__fermer:hover { background: var(--nuit, #101b34); border-color: var(--nuit, #101b34); color: #fff; }
.ac-dialog__fermer:focus { outline: none; }
.ac-dialog__fermer:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.ac-dialog__lib { margin-right: 2.6rem; color: var(--dore-texte, #8c6a2f); }

/* Ancols : petits graphiques dans les tuiles (17 oct. 2026) */
.ac .ac-mini { display: block; margin-top: auto; padding-top: .7rem; }
.ac-mini__piste { position: relative; display: block; height: .5rem; background: #eceef3; border-radius: 999px; }
.ac-mini__plein { display: block; height: 100%; border-radius: 999px; background: var(--nuit); }
.ac-mini--ko .ac-mini__plein { background: #c8473b; }
.ac-mini__rep { position: absolute; top: -.2rem; bottom: -.2rem; width: 0; border-left: 2px solid var(--dore); }
.ac-mini__leg { position: relative; display: flex; justify-content: space-between; margin-top: .25rem; height: .9rem; font-size: .62rem; color: #7a8297; }
.ac-mini__reptxt { position: absolute; top: 0; transform: translateX(-50%); font-weight: 700; color: var(--dore-texte, #8c6a2f); white-space: nowrap; background: inherit; }
.ac-mini--duo { display: grid; gap: .3rem; }
.ac-mini__l { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .45rem; align-items: center; font-size: .64rem; }
.ac-mini__nom { color: var(--nuit); font-weight: 600; line-height: 1.15; }
.ac-mini__v { font-weight: 700; color: var(--nuit); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ac-mini__l--ref .ac-mini__plein { background: #b9c0cf; }
.ac-mini__l--ref .ac-mini__nom, .ac-mini__l--ref .ac-mini__v { color: #7a8297; font-weight: 400; }
.ac-mini--ko .ac-mini__l:not(.ac-mini__l--ref) .ac-mini__v { color: #b42318; }
.ac-mini--pts { display: flex; align-items: center; gap: .6rem; }
.ac-mini__pts { display: flex; gap: .3rem; }
.ac-mini__pt { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--nuit); background: linear-gradient(90deg, var(--nuit) var(--f), transparent var(--f)); }
.ac-mini--ko .ac-mini__pt { border-color: #c8473b; background: linear-gradient(90deg, #c8473b var(--f), transparent var(--f)); }
.ac-mini__ptstxt { font-size: .64rem; color: #7a8297; }
.ac-mini__reptxt--fin { transform: translateX(-100%); }
.ac-mini__reptxt--debut { transform: none; }

/* Ancols : panneaux de tableau de bord (attributions, 17 oct. 2026) */
.ac-pans { display: grid; gap: 1.2rem; margin: .4rem 0 .6rem; }
@media (min-width: 900px) { .ac-pans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ac-pan { display: flex; flex-direction: column; padding: 1.1rem 1.25rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--nuit); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ac-pan--ko { border-top-color: #c8473b; }
.ac-pan__tete { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.ac-pan__lib { flex: 1; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-n2); }
.ac .ac-pan .ac-ko__x { position: static; flex: none; }
.ac-pan__ref { flex: none; font-size: .68rem; color: #7a8297; }
.ac-pan__corps { display: grid; gap: 1rem 1.4rem; align-items: center; }
@media (min-width: 560px) { .ac-pan__corps { grid-template-columns: minmax(9rem, 2fr) 3fr; } .ac-pan--sans .ac-pan__corps { grid-template-columns: 1fr; } }
.ac-pan__val { display: block; font: 800 2.3rem/1.05 var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.ac-pan--ko .ac-pan__val { color: #b42318; }
.ac-pan__sous { display: block; margin-top: .3rem; font-size: .8rem; line-height: 1.4; color: var(--texte-n2); }
.ac .ac-pan__txt { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid #eef0f4; font-size: .86rem; line-height: 1.6; color: #2b3242; }
.ac-pan__txt > span { display: block; margin-bottom: .2rem; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.ac .ac-mini--grand { margin: 0; padding: 0; }
.ac-mini--grand .ac-mini__piste { height: .9rem; }
.ac-mini--grand .ac-mini__leg { font-size: .7rem; height: 1rem; }
.ac-mini--grand .ac-mini__l { grid-template-columns: 5.5rem 1fr auto; font-size: .76rem; }
.ac-mini--grand .ac-mini__pt { width: 1.6rem; height: 1.6rem; }
.ac-mini--grand .ac-mini__ptstxt { font-size: .76rem; }
.ac-pile__barre { display: flex; height: 1.4rem; overflow: hidden; border-radius: 4px; background: #eceef3; }
.ac-pile__barre > span { display: block; height: 100%; }
.ac-pile__barre > span + span { box-shadow: inset 2px 0 0 #fff; }
.ac .ac-pile__leg { display: grid; gap: .25rem; margin: .55rem 0 0; padding: 0; list-style: none; font-size: .76rem; color: var(--texte-n2); }
.ac .ac-pile__leg li { display: flex; align-items: baseline; gap: .4rem; margin: 0; padding: 0; }
.ac .ac-pile__leg li::before { content: none; }
.ac-pile__leg i { flex: none; width: .65rem; height: .65rem; border-radius: 2px; transform: translateY(.05rem); }
.ac-pile__leg b { min-width: 3.2rem; font-weight: 700; color: var(--nuit); font-variant-numeric: tabular-nums; }
.ac .ac-pile__tot { margin: .4rem 0 0; font-size: .7rem; color: #7a8297; }

/* Ancols : légendes plus lisibles, sur fond gris (17 oct. 2026, demande) */
.ac .n-legende, .ac .ac-duo__leg + .n-legende {
    margin: 2rem 0 0;
    padding: .6rem .9rem;
    background: #f2f4f7;
    border-left: 3px solid var(--dore);
    border-radius: 0 6px 6px 0;
    font-size: .85rem;
    line-height: 1.55;
    color: #2b3242;
}
.ac .n-legende:empty { display: none; }
.ac .ac-ref { margin: .35rem 0 0; font-size: .8rem; font-weight: 600; color: #4b5263; }
.ac .ac-duo__leg, .ac .ac-obj__leg { font-size: .84rem; color: #3b4252; }
.ac .ac-pile__tot { font-size: .8rem; color: #4b5263; }
.ac .ac-pile__leg { font-size: .84rem; color: #2b3242; }
.ac .ls-tuile__sous { font-size: .84rem; color: #3b4252; }
.ac .ls-tuile__ref { font-size: .74rem; color: #4b5263; }
.ac .ac-mini__leg { font-size: .7rem; color: #4b5263; }
.ac .n-repart__part { font-size: .85rem; }
.ac .ac-obj__nom { font-size: .9rem; } .ac .ac-obj__nom small { font-size: .78rem; color: #4b5263; }
.ac .ac-duo__lab { font-size: .84rem; }
/* Répartitions à beaucoup de parts : légende sur 4 colonnes, petits % cachés dans la barre (17 oct. 2026) */
.ac .n-repart__leg[style*="--n:6"], .ac .n-repart__leg[style*="--n:7"], .ac .n-repart__leg[style*="--n:8"], .ac .n-repart__leg[style*="--n:9"] { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.1rem; }
@media (max-width: 700px) { .ac .n-repart__leg { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Ancols : blocs en cartes, deux colonnes aérées (comme chiffres-cles, 17 oct. 2026) */
.ac .ls-vue > .ls-bloc { padding: 0; background: none; border: 0; box-shadow: none; display: grid; gap: 1.5rem; align-items: stretch; }
.ac .ls-vue > .ls-bloc > .ls-titre { margin: .4rem 0 0; }
.ac .ls-vue > .ls-bloc > * { grid-column: 1 / -1; min-width: 0; }
.ac .ac-bloc { margin: 0; padding: 1.6rem 1.7rem 1.4rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ac .ac-bloc > .ac-h3 { margin-top: 0; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 1px solid #eef0f4; }
.ac .ac-verdict { margin: 0; }
@media (min-width: 1000px) {
  .ac .ls-vue > .ls-bloc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2rem; grid-auto-flow: row dense; }
  .ac .ls-vue > .ls-bloc > .ac-bloc { grid-column: auto; }
  .ac .ls-vue > .ls-bloc > .ac-bloc--large { grid-column: 1 / -1; }
  .ac .ls-vue > .ls-bloc > .ac-bloc:not(.ac-bloc--large):has(.ls-tuiles[data-n="4"]) .ls-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac .ls-vue > .ls-bloc > .ac-bloc:not(.ac-bloc--large):has(.ls-tuiles[data-n="3"]) .ls-tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ac .ls-vue > .ls-bloc > .ls-note, .ac .ls-vue > .ls-bloc > details { grid-column: 1 / -1; }
@media (min-width: 1000px) { .ac .ls-vue > .ls-bloc > .ac-bloc:has(.ac-dico-plie), .ac .ls-vue > .ls-bloc > .ac-dico-plie { grid-column: 1 / -1; } }
/* Panneaux : « ? » dans l'en-tête (17 oct. 2026) */
.ac .ac-pan .ac-aide { position: static; flex: none; }
/* Répartitions : légende plus discrète (17 oct. 2026, demande) */
.ac .n-repart__nom { font-size: .7rem; letter-spacing: .02em; }
.ac .n-repart__nom i { width: .6rem; height: .6rem; }
.ac .n-repart__val { font-size: .92rem; margin-top: .2rem; }
.ac .n-repart__sous { font-size: .7rem; color: #4b5263; }
.ac .n-repart__part { font-size: .75rem; }
/* Barres « par an » : plus d'air entre les lignes, barres plus fines (17 oct. 2026, demande) */
.ac .n-rangs { gap: 0; margin-top: .4rem; }
.ac .n-rang { padding: .75rem 0; border-bottom: 1px solid #eef0f4; gap: 1.2rem; }
.ac .n-rang:last-child { border-bottom: 0; }
.ac .n-rang__piste { height: .8rem; border-radius: 3px; overflow: hidden; }
.ac .n-rang__plein { border-radius: 3px; }
.ac .n-rang__nom small { margin-top: .15rem; }
.ac .ac-obj { --valw: 5.2rem; }
.ac .ac-obj__val small { display: block; font: 400 .72rem/1.2 var(--texte, inherit); color: #4b5263; white-space: nowrap; }
.ac .ac-bloc { overflow: hidden; }
/* Comparaisons à 3 postes : léger fond sur la colonne du milieu (17 oct. 2026, demande) */
@media (min-width: 1000px) {
  .ac .ac-duo:not(.ac-duo--ans):has(> .ac-duo__g:nth-child(3)) { gap: 1rem 0; }
  .ac .ac-duo:not(.ac-duo--ans):has(> .ac-duo__g:nth-child(3)) > .ac-duo__g { padding: .8rem 1.2rem .9rem; border-bottom: 0; }
  .ac .ac-duo:not(.ac-duo--ans):has(> .ac-duo__g:nth-child(3)) > .ac-duo__g:nth-child(3n+2) { background: #f5f6f9; border-radius: 8px; }
}

/* Actualités : bloc de 2 cartes (cartes des bailleurs, 17 oct. 2026) */
@media (min-width: 760px) { .n-essentiel.n-essentiel--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Menu du bas : pas de cadre doré autour du lien (focus) ; le lien passe en doré souligné (17 oct. 2026, demande) */
.navigation-footer li a:focus, .navigation-footer li a:focus-visible { outline: none; }
body.theme-nuit .navigation-footer li a:focus-visible { color: var(--dore); text-decoration: underline; text-underline-offset: .3em; }

/* Menu plein écran (mobile) : liste claire sur fond bleu nuit (17 oct. 2026, demande « sur mobile c'est très moche ») */
.navigation { background: var(--nuit, #101b34); }
.navigation nav { display: block; min-height: 0; max-width: 30rem; margin: 0 auto; padding: 5.5rem 1.4rem 2.5rem; }
.navigation nav > ul { gap: 0; text-align: left; }
.navigation nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.navigation nav > ul > li > a {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1rem .2rem; font: 600 1.15rem/1.2 var(--titre); letter-spacing: .01em; text-transform: none; color: #fff;
}
.navigation nav > ul > li > a::after { content: "→"; font-weight: 400; color: rgba(255, 255, 255, .35); }
.navigation nav > ul > li > a.menu-groupe__lien::after { content: ""; }
.navigation ul li a[aria-current="page"] { color: var(--dore, #c5a467); text-decoration: none; }
.navigation ul li a:focus { outline: none; }
.navigation ul li a:focus-visible { outline: 2px solid var(--dore, #c5a467); outline-offset: 2px; border-radius: 4px; }
.navigation .menu-groupe > .menu-groupe__lien { padding-bottom: .6rem; }
.navigation .sous-menu { display: block; margin: 0 0 1rem; padding: .3rem .9rem .6rem; background: rgba(255, 255, 255, .05); border-radius: 10px; }
.navigation .sous-menu li { border: 0; }
.navigation .sous-menu .sous-menu__titre { margin: .7rem 0 .25rem; padding: 0; font-size: .64rem; letter-spacing: .14em; color: var(--dore, #c5a467); }
.navigation .sous-menu li a { display: block; padding: .5rem 0; font: 500 1rem/1.25 var(--titre); letter-spacing: .01em; text-transform: none; color: #e6e9f0; }
.navigation .sous-menu li + li:not(.sous-menu__titre) a { border-top: 1px solid rgba(255, 255, 255, .06); }
.navigation nav > ul { width: 100%; align-items: stretch; }
.navigation nav > ul > li, .navigation .sous-menu li { width: 100%; text-align: left; }
.navigation .sous-menu { text-align: left; }

/* Bouton « + » vers le site de l'architecte (cartes Paris Habitat et RIVP, 17 oct. 2026) */
.op-site { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-left: .15rem; border: 1px solid var(--dore, #c5a467); border-radius: 50%; font: 700 .8rem/1 var(--titre, sans-serif); color: var(--dore-texte, #8c6a2f); text-decoration: none; vertical-align: .05rem; }
.op-site:hover, .op-site:focus-visible { background: var(--nuit, #101b34); border-color: var(--nuit, #101b34); color: #fff; }

/* Carte des opérations, « Toutes les opérations » sur mobile (17 oct. 2026) : une carte par opération,
   chaque valeur avec son intitulé (Phase, Livraison, Budget…), sur deux colonnes. */
@media (max-width: 760px) {
  .ls25 table.ls-tab--ops tbody tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; margin-top: .7rem; padding: .95rem .95rem 1rem; border: 1px solid var(--trait-n); border-radius: 8px; background: #fff; }
  .ls25 table.ls-tab--ops tbody tr.op-ligne--bouge { box-shadow: inset 4px 0 0 #b3261e; }
  .ls25 table.ls-tab--ops tbody tr td { display: block; grid-column: auto; grid-row: auto; padding: 0; text-align: left; font-size: .86rem; line-height: 1.35; box-shadow: none; position: static; min-width: 0; }
  .ls25 table.ls-tab--ops tbody tr td:first-child { box-shadow: none; }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] { grid-column: 1 / -1; padding-right: 3.2rem; }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-rue { font: 700 .98rem/1.3 var(--titre); }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
  .ls25 table.ls-tab--ops td[data-col="Arr."] { position: absolute; top: .9rem; right: .9rem; }
  .ls25 table.ls-tab--ops td:not([data-col="Adresse"]):not([data-col="Arr."])::before { content: attr(data-col); display: block; margin-bottom: .15rem; font: 700 .62rem/1.2 var(--titre); letter-spacing: .07em; text-transform: uppercase; color: var(--texte-n2, #5b6070); }
  .ls25 table.ls-tab--ops td[data-col="Travaux"] { grid-column: 1 / -1; }
  .ls25 table.ls-tab--ops td[data-col="Budget"] b, .ls25 table.ls-tab--ops td[data-col="Logements"] b { font: 800 1.05rem var(--titre); color: var(--nuit); }
  .ls25 table.ls-tab--ops td[data-col="Budget"] small, .ls25 table.ls-tab--ops td.op-change small { max-width: none; margin: .1rem 0 0; }
  .ls25 table.ls-tab--ops td.op-change { margin: -.25rem; padding: .25rem; border-radius: 4px; }
  .ls25 table.ls-tab--ops td[data-col="Architecte"], .ls25 table.ls-tab--ops td[data-col="Mise à jour"] { font-size: .78rem; color: var(--texte-n2, #5b6070); }
}
@media (max-width: 760px) {
  .ls25 table.ls-tab--ops tbody tr td[data-col="Arr."] { position: absolute !important; top: .9rem; right: .9rem; }
  .ls25 table.ls-tab--ops tbody tr td, .ls25 table.ls-tab--ops tbody tr td.num { text-align: left !important; }
}
/* Carte des opérations sur mobile, plus lisible (17 oct. 2026, demande) : cases vides cachées, intitulés discrets,
   arrondissement en haut à droite, boutons plus petits, tri en pastilles qui défilent. */
@media (max-width: 760px) {
  .ls25 table.ls-tab--ops tbody tr { position: relative !important; gap: .6rem 1rem; padding: .9rem .9rem .85rem; border-radius: 10px; }
  .ls25 table.ls-tab--ops tbody tr td[data-vide] { display: none !important; }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-rue { font-size: .95rem; }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-cp, .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-nom { font-size: .76rem; }
  .ls25 table.ls-tab--ops td[data-col="Adresse"] .op-btns { gap: .35rem; margin-top: .5rem; }
  .ls25 table.ls-tab--ops .op-fiche-btn { padding: .2rem .55rem; font-size: .72rem; border-width: 1px; border-radius: 6px; }
  .ls25 table.ls-tab--ops td[data-col="Arr."] .ls-tab__arr { font-size: .78rem; padding: .1rem .4rem; }
  .ls25 table.ls-tab--ops td:not([data-col="Adresse"]):not([data-col="Arr."])::before { margin-bottom: .1rem; font-size: .58rem; letter-spacing: .06em; color: #7a8297; }
  .ls25 table.ls-tab--ops tbody tr td { font-size: .82rem; }
  .ls25 table.ls-tab--ops td[data-col="Travaux"] small { display: block; font-size: .72rem; color: #7a8297; }
  .ls25 table.ls-tab--ops td[data-col="Budget"] b { font-size: 1rem; }
  .ls25 table.ls-tab--ops td.op-change small { font-size: .7rem; }
  .ls25 table.ls-tab--ops thead tr { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .3rem; border: 0; }
  .ls25 table.ls-tab--ops thead th { flex: none; border: 0 !important; padding: 0; }
  .ls25 table.ls-tab--ops thead th button { padding: .3rem .65rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; font-size: .74rem; white-space: nowrap; }
}
@media (max-width: 760px) {
  /* l'arrondissement en haut à droite de la fiche, sur la même ligne que l'adresse (superposé dans la grille) */
  .ls25 table.ls-tab--ops tbody tr td[data-col="Adresse"] { grid-row: 1 !important; grid-column: 1 / -1 !important; }
  .ls25 table.ls-tab--ops tbody tr td[data-col="Arr."] { position: static !important; grid-row: 1 !important; grid-column: 2 !important; justify-self: end; align-self: start; z-index: 1; }
}
/* Tri en pastilles sur mobile, plus net (17 oct. 2026) : pas de fond bleu derrière, tri actif en bleu nuit, pas d'anneau doré */
@media (max-width: 760px) {
  .ls25 table.ls-tab--ops thead, .ls25 table.ls-tab--ops thead tr, .ls25 table.ls-tab--ops thead th { background: none !important; box-shadow: none !important; position: static; }
  .ls25 table.ls-tab--ops thead tr { gap: .4rem; margin: 0 0 .2rem; padding: .1rem 0 .4rem; scrollbar-width: none; }
  .ls25 table.ls-tab--ops thead tr::-webkit-scrollbar { display: none; }
  .ls25 table.ls-tab--ops thead th button { width: auto; gap: .25rem; padding: .35rem .8rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; color: var(--nuit); font: 600 .76rem var(--titre); box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
  .ls25 table.ls-tab--ops thead th button::after { opacity: .4; }
  .ls25 table.ls-tab--ops thead th button[aria-sort] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
  .ls25 table.ls-tab--ops thead th button[aria-sort]::after { color: var(--dore); opacity: 1; }
  .ls25 table.ls-tab--ops thead th button:focus { outline: none; }
  .ls25 table.ls-tab--ops thead th button:focus-visible { outline: 2px solid var(--dore); outline-offset: 1px; }
}

/* Chiffres clés › Attributions : « comment ça marche » (17 oct. 2026) */
.cc-comment { margin-top: 1.2rem; }
.cc-etapes { counter-reset: e; display: grid; gap: .8rem; margin: 1rem 0 .4rem; padding: 0; list-style: none; }
@media (min-width: 900px) { .cc-etapes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cc-etapes li { counter-increment: e; position: relative; margin: 0; padding: 2.4rem 1rem 1rem; background: #f5f6f9; border-radius: 10px; }
.cc-etapes li::before { content: counter(e); position: absolute; top: .8rem; left: 1rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--nuit); color: #fff; font: 700 .75rem var(--titre); }
.cc-etapes b { display: block; margin-bottom: .3rem; font: 700 .92rem/1.25 var(--titre); color: var(--nuit); }
.cc-etapes span { display: block; font-size: .84rem; line-height: 1.5; color: #3b4252; }
.cc-mots { margin: .8rem 0 0; border-top: 1px solid #eef0f4; }
.cc-mots summary { cursor: pointer; padding: .8rem 0; font: 700 .95rem var(--titre); color: var(--nuit); }
.cc-mots summary span { margin-left: .5rem; font: 400 .78rem var(--texte, inherit); color: #7a8297; }
.cc-mots dl { display: grid; gap: .6rem 1.6rem; margin: 0 0 .6rem; }
@media (min-width: 760px) { .cc-mots dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-mots dt { font: 700 .86rem var(--titre); color: var(--nuit); }
.cc-mots dd { margin: .15rem 0 0; font-size: .84rem; line-height: 1.5; color: #3b4252; }
/* Camembert (chiffres clés › Attributions, 17 oct. 2026) */
.cc-cam { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin: 1rem 0 .4rem; }
.cc-cam__rond { position: relative; flex: none; width: 10.5rem; height: 10.5rem; border-radius: 50%; }
.cc-cam__rond::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #fff; }
.cc-cam__rond > span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; font-size: .72rem; color: #5b6070; }
.cc-cam__rond b { display: block; font: 800 1.05rem var(--titre); color: var(--nuit); }
.cc-cam__leg { flex: 1 1 12rem; display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.cc-cam__leg li { display: grid; grid-template-columns: .8rem 1fr auto; column-gap: .55rem; align-items: baseline; margin: 0; padding: 0; }
.cc-cam__leg li::before { content: none; }
.cc-cam__leg i { width: .8rem; height: .8rem; border-radius: 2px; transform: translateY(.1rem); }
.cc-cam__nom { font: 700 .86rem var(--titre); color: var(--nuit); }
.cc-cam__leg b { font: 800 1rem var(--titre); color: var(--nuit); }
.cc-cam__leg small { grid-column: 2 / -1; font-size: .76rem; color: #5b6070; }
/* Page logement intermédiaire (17 oct. 2026) */
.pli-def { display: grid; gap: .9rem 1.6rem; }
@media (min-width: 760px) { .pli-def { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ac .pli-txt { margin: 0; font-size: .95rem; line-height: 1.6; color: #2b3242; }
.ac .pli-liste { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; line-height: 1.55; color: #2b3242; }
.ac .pli-liste li { margin: 0; padding: 0 0 0 .9rem; border-left: 3px solid var(--dore); }
.ac .pli-liste li::before { content: none; }
/* Comparatif PLAI / PLUS / PLS / PLI (17 oct. 2026) */
.pli-cmp-wrap { overflow-x: auto; }
.ac .pli-cmp { width: 100%; min-width: 34rem; border-collapse: separate; border-spacing: 0; font-size: .88rem; }
.ac .pli-cmp th, .ac .pli-cmp td { padding: .7rem .8rem; border-bottom: 1px solid #eef0f4; text-align: left; vertical-align: top; }
.ac .pli-cmp thead th { padding-top: .5rem; font: 800 1rem var(--titre); color: var(--nuit); border-bottom: 3px solid currentColor; }
.ac .pli-cmp thead .pli-cmp__plai { color: var(--plai, #16895a); } .ac .pli-cmp thead .pli-cmp__plus { color: var(--plus, var(--nuit)); }
.ac .pli-cmp thead .pli-cmp__pls { color: var(--dore-texte, #8c6a2f); } .ac .pli-cmp thead .pli-cmp__pli { color: #c2410c; }
.ac .pli-cmp tbody th { width: 26%; font: 700 .84rem/1.3 var(--titre); color: var(--nuit); }
.ac .pli-cmp small { display: block; margin-top: .15rem; font: 400 .74rem var(--texte, inherit); color: #6b7385; }
.ac .pli-cmp td { color: #2b3242; font-variant-numeric: tabular-nums; }
.ac .pli-cmp td[data-col="PLI"] { background: #fdf6f0; font-weight: 600; }
.ac .n-rang__val small { font: 400 .78rem var(--texte, inherit); color: #6b7385; }
/* Lexique et FAQ (17 oct. 2026) */
.lx .lx-faq { display: grid; gap: .6rem; }
.lx .lx-q { border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; }
.lx .lx-q summary { cursor: pointer; padding: 1rem 1.2rem; font: 700 1rem/1.35 var(--titre); color: var(--nuit); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lx .lx-q summary::-webkit-details-marker { display: none; }
.lx .lx-q summary::after { content: "+"; flex: none; font-size: 1.2rem; color: var(--dore-texte, #8c6a2f); }
.lx .lx-q[open] summary::after { content: "−"; }
.lx .lx-q p { margin: 0; padding: 0 1.2rem 1.1rem; font-size: .95rem; line-height: 1.6; color: #2b3242; }
.lx .lx-q p a, .lx .lx-lien { color: var(--dore-texte, #8c6a2f); font-weight: 600; white-space: nowrap; }
.lx .lx-cherche { display: block; margin-bottom: .8rem; }
.lx .lx-cherche span { display: block; margin-bottom: .3rem; font: 700 .8rem var(--titre); color: var(--nuit); }
.lx .lx-cherche input { width: 100%; max-width: 28rem; padding: .65rem .9rem; border: 1px solid #d5dae4; border-radius: 8px; font: inherit; font-size: 1rem; }
.lx .lx-az { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1rem; }
.lx .lx-az a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 6px; background: #f2f4f7; font: 700 .85rem var(--titre); color: var(--nuit); text-decoration: none; }
.lx .lx-az a:hover { background: var(--nuit); color: #fff; }
.lx .lx-lettre h3 { margin: 1.4rem 0 .4rem; padding-bottom: .3rem; border-bottom: 2px solid var(--dore); font: 800 1.3rem var(--titre); color: var(--nuit); }
.lx .lx-lettre dl { display: grid; gap: .2rem 2rem; margin: 0; }
@media (min-width: 900px) { .lx .lx-lettre dl { grid-template-columns: 1fr 1fr; } }
.lx .lx-terme { padding: .7rem 0; border-bottom: 1px solid #eef0f4; scroll-margin-top: 5rem; }
.lx .lx-terme dt { font: 700 .98rem var(--titre); color: var(--nuit); }
.lx .lx-terme dd { margin: .25rem 0 0; font-size: .92rem; line-height: 1.55; color: #2b3242; }
.lx .lx-vide { color: #7a8297; }
body .lx .lx-lettre h3 { background: none !important; color: var(--nuit) !important; padding: 0 0 .3rem !important; text-transform: none; letter-spacing: 0; }
/* Actualités, mobile : liens de section en pastilles sur une ligne qui défile (17 oct. 2026) */
@media (max-width: 760px) {
  .n-filtre__ancres { gap: .4rem; overflow-x: auto; flex-wrap: nowrap; margin: 0 -1rem; padding: .2rem 1rem .5rem; scrollbar-width: none; }
  .n-filtre__ancres::-webkit-scrollbar { display: none; }
  .n-filtre__ancres a { flex: none; white-space: nowrap; padding: .35rem .8rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; font: 600 .78rem var(--titre); color: var(--nuit); }
  .n-filtre__pilules { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .n-filtre__pilules button { flex: none; white-space: nowrap; }
}

/* Recherche des chiffres (17 oct. 2026) */
.rch .rch-boite { margin: 1.5rem 0 1rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 12px; }
.rch .rch-boite label { display: block; margin-bottom: .4rem; font: 800 1.05rem var(--titre); color: var(--nuit); }
.rch #rch-q { width: 100%; padding: .85rem 1rem; border: 2px solid var(--nuit); border-radius: 10px; font: inherit; font-size: 1.05rem; }
.rch .rch-aide { margin: .5rem 0 .9rem; font-size: .84rem; color: #5b6070; }
.rch .rch-pil { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .45rem; }
.rch .rch-pil span { margin-right: .3rem; font: 700 .72rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #7a8297; }
.rch .rch-pil button { padding: .3rem .7rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; font: 600 .78rem var(--titre); color: var(--nuit); cursor: pointer; }
.rch .rch-pil button.on, .rch .rch-pil button:hover { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.rch .rch-compte { margin: .6rem 0; font: 700 .9rem var(--titre); color: var(--nuit); }
.rch .rch-g { margin: 1.4rem 0; }
.rch .rch-g h2 { margin: 0 0 .7rem; font: 800 1.1rem var(--titre); color: var(--nuit); }
.rch .rch-g h2 span { font: 600 .8rem var(--texte, inherit); color: #7a8297; }
.rch .rch-cartes { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.rch .rch-c { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; color: inherit; text-decoration: none; }
.rch .rch-c:hover { border-color: var(--nuit); box-shadow: 0 2px 8px rgba(16, 27, 52, .08); }
.rch .rch-c--registre { border-top: 3px solid var(--dore); }
.rch .rch-c b { font: 800 1.4rem/1.15 var(--titre); color: var(--nuit); }
.rch .rch-l { font: 700 .86rem/1.3 var(--titre); color: var(--nuit); }
.rch .rch-p { font-size: .82rem; line-height: 1.45; color: #3b4252; }
.rch .rch-c--phrase .rch-p { font-size: .88rem; }
.rch .rch-bl { font-size: .74rem; color: #7a8297; }
.rch .rch-s { margin-top: .2rem; padding-top: .35rem; border-top: 1px solid #eef0f4; font-size: .74rem; color: #5b6070; }
.rch .rch-v { margin-top: auto; padding-top: .3rem; font: 700 .78rem var(--titre); color: var(--dore-texte, #8c6a2f); }
.barre nav .menu-recherche svg, .navigation .menu-recherche svg { vertical-align: -.15em; }
.navigation nav > ul > li > a.menu-recherche::after { content: "→"; }
.barre nav .menu-recherche { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.rch .rch-pil button:focus { outline: none; } .rch .rch-pil button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }

/* Recherche : passages de texte en liste compacte, sous les chiffres (17 oct. 2026) */
.rch .rch-ph-t { margin: 1rem 0 .3rem; font: 700 .7rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.rch ul.rch-ph { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait-n); }
.rch ul.rch-ph li { margin: 0; padding: 0; border-bottom: 1px solid var(--trait-n); }
.rch ul.rch-ph li::before { content: none; }
.rch ul.rch-ph a { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .55rem .2rem; color: inherit; text-decoration: none; }
.rch ul.rch-ph a:hover { background: #f5f7fb; }
.rch ul.rch-ph b { font: 800 .95rem/1.3 var(--titre); color: var(--nuit); }
.rch ul.rch-ph span { font-size: .82rem; line-height: 1.45; color: #4a5164; }
.rch ul.rch-ph mark { background: #f6efe1; color: var(--nuit); padding: 0 .15rem; border-radius: 2px; }
.rch .rch-plus summary { margin: .5rem 0; cursor: pointer; font: 600 .8rem var(--titre); color: var(--nuit); }
@media (max-width: 560px) { .rch ul.rch-ph a { grid-template-columns: 1fr; gap: .15rem; } }
/* Chiffres clés : deux blocs côte à côte de même hauteur (17 oct. 2026) */
.ls25 .ls25__grille--plus { align-items: stretch; }
.ls25 .ls25__grille--plus > .ls25__col { display: flex; flex-direction: column; }
.ls25 .ls25__grille--plus > .ls25__col > .ls-bloc:last-child { flex: 1; }
/* Chiffres clés › Attributions : comparaison année par année (17 oct. 2026) */
.ls25 .cmp-plein { grid-column: 1 / -1; }
.cmp-wrap { overflow-x: auto; margin: 1rem 0 .4rem; }
.ls25 table.cmp { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .9rem; }
.ls25 table.cmp th, .ls25 table.cmp td { padding: .6rem .7rem; border-bottom: 1px solid #eef0f4; text-align: left; vertical-align: middle; }
.ls25 table.cmp thead th { font: 700 .78rem var(--titre); color: #5b6070; text-transform: none; background: none; }
.ls25 table.cmp tbody th { font: 800 .95rem var(--titre); color: var(--nuit); }
.ls25 table.cmp td b { display: block; margin-top: .2rem; font: 700 .92rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.cmp-b { display: block; height: .55rem; background: #eef0f4; border-radius: 3px; overflow: hidden; }
.cmp-b i { display: block; height: 100%; border-radius: 3px; }
.ls25 table.cmp td.cmp-r { font: 700 .92rem var(--titre); color: #5b6070; white-space: nowrap; }
/* Budget : sous-total et total en deux couleurs (17 oct. 2026, demande) */
.ls25 .be-table tbody tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total th { background: #e6eef9 !important; border-top: 1px solid #c3cfe2; }
.ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total th { background: #f8edd5 !important; border-top: 1px solid #e2cf9f; }

/* Tableaux budget : totaux sans fond coloré, en gras avec un filet (17 oct. 2026) */
.ls25 .be-table tbody tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total th,
.ls25 .be-table tbody tr.be-l--fort td, .ls25 .be-table tbody tr.be-l--fort th,
.ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total th { background: #fff !important; font-weight: 700 !important; border-top: 1px solid #b9c2d3 !important; }
.ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total td, .ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total th { border-top: 2px solid var(--nuit) !important; }
/* Chiffres clés › Île-de-France et France : moins de vide entre les blocs (18 oct. 2026, demande) */
.cc-texte .essentiels { margin-bottom: 1.4rem; }
.cc-texte .perimetre-etiquette { margin: .6rem 0 .2rem !important; }
.cc-texte .perimetre-etiquette + h3, .cc-texte .perimetre-etiquette + h4 { margin-top: .4rem !important; }
.cc-texte h3 { margin-top: 1.6rem !important; margin-bottom: .9rem !important; }
.cc-texte .graphiques { margin-top: .4rem; }
.cc-texte .tous-chiffres { margin: .8rem 0 1.2rem; }
/* Chiffres clés › Île-de-France et France en cartes, deux colonnes (18 oct. 2026) */
.cc-texte .cc-cartes { display: grid; gap: 1.6rem 1.8rem; grid-auto-flow: row dense; margin-top: 1rem; }
@media (min-width: 1000px) { .cc-texte .cc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cc-texte .cc-carte--large { grid-column: 1 / -1; } }
.cc-texte .cc-carte { min-width: 0; margin: 0; padding: 1.5rem 1.6rem 1.3rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.cc-texte .cc-carte > h3:first-child, .cc-texte .cc-carte > .perimetre-etiquette:first-child { margin-top: 0 !important; }
.cc-texte .cc-carte h3 { margin-top: .3rem !important; }
.cc-texte .cc-carte .graphiques { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .cc-texte .cc-carte--large .graphiques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-texte .cc-carte .planche-ancols { margin: 0; }
.cc-texte .cc-carte .planche-ancols img { width: 100%; height: auto; }
.cc-texte .cc-carte .chiffres-cles { margin: .8rem 0; }
.cc-texte .cc-carte .tous-chiffres { margin: 1rem 0 0; }
@media (min-width: 1000px) { .cc-texte .cc-carte--large .graphiques:has(> .planche-ancols:only-child) { grid-template-columns: minmax(0, 46rem); justify-content: center; } }

/* Chiffres clés, Île-de-France : graphiques de l'ANCOLS refaits en HTML (18 oct. 2026) */
.cc-graphiques { display: grid; gap: 1.2rem; margin: 1rem 0 1.4rem; }
@media (min-width: 900px) { .cc-graphiques { grid-template-columns: 1fr 1fr; } }
.cc-fig { min-width: 0; margin: 0; padding: 1.1rem 1.2rem 1rem; background: #fff; border: 1px solid var(--trait-n, #e3e5eb); border-top: 3px solid var(--dore); }
.cc-fig--seul { margin: 1rem 0 1.4rem; }
.cc-fig .cc-titre { margin: 0 0 .8rem; font: 700 .95rem/1.3 var(--titre); color: var(--nuit); }
.cc-rangs { display: grid; gap: .3rem; }
.cc-l { display: grid; grid-template-columns: 11.5rem 1fr 5.4rem 6.6rem; gap: .6rem; align-items: center; font-size: .8rem; color: #4a5164; }
.cc-rangs--court .cc-l { grid-template-columns: 6rem 1fr 6rem; }
.cc-nom { line-height: 1.25; }
.cc-piste { height: .7rem; background: #f2f3f6; border-radius: 2px; }
.cc-piste > span { display: block; height: 100%; background: #c3cbda; border-radius: 2px; }
.cc-val { text-align: right; font: 700 .82rem var(--titre); color: var(--nuit); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-l--fort .cc-nom, .cc-l--fort .cc-val { font-weight: 800; color: var(--nuit); }
.cc-l--fort .cc-piste > span { background: var(--nuit); }
.cc-cat { justify-self: start; padding: .08rem .45rem; border-radius: 999px; font: 600 .66rem var(--titre); white-space: nowrap; background: #f2f3f6; color: #5b6070; }
.cc-cat--b { background: #f6efe1; color: #8c6a2f; } .cc-cat--c { background: #ecd9ad; color: #6d5121; } .cc-cat--d { background: var(--nuit); color: #fff; }
.cc-fig figcaption { margin-top: .8rem; font-size: .72rem; line-height: 1.5; color: #7a8297; }
.cc-fig figcaption a { color: var(--dore-texte, #8c6a2f); }
.cc-leg { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: -.3rem 0 .8rem; font-size: .74rem; color: #5b6070; }
.cc-pt { display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; border-radius: 2px; vertical-align: -.05rem; }
.cc-pt--soc, .cc-b--soc { background: var(--nuit); } .cc-pt--pri, .cc-b--pri { background: #c3cbda; }
.cc-duos { display: grid; gap: .55rem; }
.cc-duo { display: grid; grid-template-columns: 7.5rem 1fr 5rem 3.2rem; gap: .7rem; align-items: center; font-size: .8rem; color: #4a5164; }
.cc-barres { display: grid; gap: 2px; }
.cc-b { display: block; height: .55rem; border-radius: 2px; }
.cc-vals { text-align: right; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cc-vals b { display: block; font: 700 .8rem var(--titre); color: var(--nuit); } .cc-vals span { font-size: .74rem; color: #7a8297; }
.cc-x { justify-self: end; padding: .08rem .4rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font: 700 .7rem var(--titre); }
.cc-duo--fort .cc-nom { font-weight: 800; color: var(--nuit); } .cc-duo--fort .cc-x { background: var(--nuit); color: #fff; }
@media (max-width: 560px) {
  .cc-l { grid-template-columns: 1fr 4.6rem; } .cc-l .cc-piste { grid-column: 1 / -1; grid-row: 2; } .cc-l .cc-cat { grid-column: 1 / -1; grid-row: 3; margin-bottom: .3rem; }
  .cc-rangs--court .cc-l { grid-template-columns: 4.5rem 1fr 4.8rem; } .cc-rangs--court .cc-l .cc-piste { grid-column: auto; grid-row: auto; }
  .cc-duo { grid-template-columns: 5.6rem 1fr 4rem; } .cc-duo .cc-x { display: none; }
}
.cc-barres { } .cc-barres > .cc-b { min-width: 2px; } .cc-fig figcaption { text-align: left; }
/* Cartes pleine largeur (Île-de-France, France) : chiffres à gauche, graphique à droite (18 oct. 2026) */
@media (min-width: 1000px) {
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 2rem; align-items: start; grid-auto-flow: row dense; }
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > * { grid-column: 1 / -1; }
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > .chiffres-cles { grid-column: 1; }
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > .cc-fig,
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > .graphiques { grid-column: 2; grid-row: span 3; margin-top: .8rem; }
  .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > .chiffres-cles .chiffre-cle { min-width: 0; }
}
@media (min-width: 1000px) { .cc-texte .cc-carte--large:has(> .chiffres-cles):has(> .cc-fig, > .graphiques) > .chiffres-cles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } }

/* Cour des comptes, attributions : cartes en deux colonnes avec petits graphiques (18 oct. 2026) */
.cdc-grille { display: grid; gap: 1rem; margin: 1rem 0 1.6rem; }
@media (min-width: 760px) { .cdc-grille { grid-template-columns: 1fr 1fr; } .cdc-carte--large { grid-column: 1 / -1; } }
.cdc-carte { position: relative; display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1rem; background: #fff; border: 1px solid var(--trait-n, #e3e5eb); border-top: 3px solid var(--dore); border-radius: 0 0 8px 8px; }
.proto-texte .cdc-num { position: absolute; top: .7rem; right: 1rem; margin: 0; font: 800 1.6rem/1 var(--titre); color: #eef0f4; }
.proto-texte h3.cdc-titre { margin: 0 2.4rem .9rem 0; padding: 0; font: 700 1.02rem/1.3 var(--titre); color: var(--nuit); border: 0; }
.proto-texte h3.cdc-titre::before, .proto-texte h3.cdc-titre::after { content: none; }
.proto-texte .cdc-txt { margin: .9rem 0 0; font-size: .84rem; line-height: 1.55; color: #4a5164; }
.proto-texte .cdc-p { margin: auto 0 0; padding-top: .6rem; font-size: .68rem; color: #9aa0ae; }
.cdc-rouge { color: #b42318 !important; }

/* entonnoir */
.cdc-entonnoir { display: grid; gap: .35rem; }
.cdc-entonnoir > div { display: flex; align-items: center; gap: .6rem; font-size: .76rem; color: #4a5164; }
.cdc-entonnoir > div b { flex: none; width: max(var(--w), 7.2rem); padding: .45rem .7rem; border-radius: 3px; background: var(--nuit); color: #fff; font: 800 .98rem var(--titre); white-space: nowrap; box-sizing: border-box; }
.cdc-entonnoir > div.cdc-gris b { background: #c3cbda; color: var(--nuit); }
.cdc-entonnoir > div.cdc-or b { background: var(--dore); color: var(--nuit); }
.cdc-entonnoir > div:first-child { flex-direction: column; align-items: flex-start; gap: .2rem; }
.cdc-entonnoir > div:first-child b { width: 100%; }

/* maisons */
.cdc-maisons { display: grid; grid-template-columns: repeat(10, 1fr); gap: .35rem; max-width: 20rem; }
.cdc-maisons i { aspect-ratio: 1; background: #dfe3ec; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
.cdc-maisons i.on { background: var(--dore); }
.cdc-duo { display: flex; align-items: baseline; gap: .4rem .8rem; flex-wrap: wrap; margin-top: .8rem; font-size: .78rem; color: #7a8297; }
.cdc-duo b { font: 800 1.35rem var(--titre); color: var(--nuit); margin-right: .8rem; }

/* barres */
.cdc-barres { display: grid; gap: .55rem; }
.cdc-barres > div { display: grid; grid-template-columns: minmax(7rem, 15rem) 1fr 4.6rem; gap: .7rem; align-items: center; font-size: .8rem; color: #4a5164; }
.cdc-piste { height: .8rem; background: #f2f3f6; border-radius: 2px; }
.cdc-piste > span { display: block; height: 100%; background: var(--nuit); border-radius: 2px; }
.cdc-barres .cdc-gris .cdc-piste > span { background: #c3cbda; }
.cdc-barres .cdc-or .cdc-piste > span { background: var(--dore); }
.cdc-barres b { text-align: right; font: 800 .9rem var(--titre); color: var(--nuit); white-space: nowrap; }

/* anneaux */
.cdc-anneaux { display: grid; grid-template-columns: 4.6rem 1fr; gap: .8rem 1rem; align-items: center; }
.cdc-anneau { width: 4.6rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--dore) calc(var(--p) * 1%), #eef0f4 0); position: relative; }
.cdc-anneau::before { content: ""; position: absolute; inset: .5rem; border-radius: 50%; background: #fff; }
.cdc-anneau b { position: relative; font: 800 .82rem var(--titre); color: var(--nuit); }
.proto-texte .cdc-anneaux p { margin: 0; font-size: .82rem; line-height: 1.4; color: #4a5164; }

/* étapes */
.cdc-etapes { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cdc-etapes span { padding: .45rem .7rem; border-radius: 999px; background: #eef0f4; font: 600 .76rem var(--titre); color: var(--nuit); }
.cdc-etapes span.cdc-or { background: var(--dore); }
.cdc-etapes i { font-style: normal; color: var(--dore-texte, #8c6a2f); font-weight: 700; }

/* ticket */
.cdc-ticket { align-self: flex-start; display: grid; gap: .1rem; padding: .7rem 1.1rem; border: 2px dashed var(--dore); border-radius: 6px; background: #fbf7ee; transform: rotate(-2deg); }
.cdc-ticket span { font: 700 .62rem var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.cdc-ticket b { font: 800 1.2rem var(--titre); color: var(--nuit); }
.cdc-ticket small { font-size: .74rem; color: #b42318; font-weight: 700; }

/* foule */
.cdc-foule { display: grid; grid-template-columns: repeat(12, 1fr); gap: .3rem; max-width: 22rem; }
.cdc-foule i { aspect-ratio: 1; border-radius: 50%; background: #dfe3ec; }
.cdc-foule i.on { background: var(--nuit); box-shadow: 0 0 0 3px var(--dore); }

/* chaises */
.cdc-chaises { display: grid; grid-template-columns: repeat(3, 2.4rem) 1fr; gap: .3rem .5rem; align-items: center; }
.cdc-chaises span { width: 2.4rem; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--nuit); }
.cdc-chaises span.on { background: var(--nuit); }
.cdc-chaises span.demi { background: linear-gradient(90deg, var(--nuit) 40%, transparent 40%); }
.cdc-chaises b { margin-left: .5rem; font: 800 1.15rem var(--titre); color: #b42318; }
.cdc-chaises small { grid-column: 1 / -1; font-size: .76rem; color: #7a8297; }

/* demi-jauge */
.cdc-demi { position: relative; width: 11rem; aspect-ratio: 2; border-radius: 11rem 11rem 0 0; background: conic-gradient(from -90deg at 50% 100%, var(--dore) calc(var(--p) * 1.8deg), #eef0f4 0 180deg, transparent 0); display: grid; align-content: end; justify-items: center; }
.cdc-demi::before { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0; height: calc(100% - 1.1rem); border-radius: 10rem 10rem 0 0; background: #fff; }
.cdc-demi b, .cdc-demi span { position: relative; text-align: center; }
.cdc-demi b { font: 800 .95rem var(--titre); color: var(--nuit); }
.cdc-demi span { display: none; }

/* objectif */
.cdc-objectif { position: relative; display: grid; gap: .55rem; padding-top: 1.3rem; }
.cdc-objectif > div { display: grid; grid-template-columns: 3rem 1fr 4.2rem; gap: .7rem; align-items: center; font: 700 .8rem var(--titre); color: var(--nuit); }
.cdc-objectif .cdc-piste { position: relative; overflow: visible; }
.cdc-objectif .cdc-piste > span { background: #c8473b; }
.cdc-objectif .cdc-piste::after { content: ""; position: absolute; left: calc(var(--c) * 1%); top: -.35rem; bottom: -.35rem; border-left: 2px dashed var(--dore); }
.cdc-objectif b { text-align: right; color: #b42318; }
.proto-texte .cdc-cible { position: absolute; top: 0; left: calc(3.7rem + (100% - 8.6rem) * .625); margin: 0; transform: translateX(-50%); font: 700 .7rem var(--titre); color: var(--dore-texte, #8c6a2f); white-space: nowrap; }

@media (max-width: 560px) {
  .cdc-barres > div { grid-template-columns: 1fr 4.2rem; } .cdc-barres .cdc-piste { grid-column: 1 / -1; grid-row: 2; }
}
.proto-texte .cdc-sous { margin: .5rem 0 0; font-size: .78rem; color: #7a8297; }
/* Pages en cartes (Cour des comptes) : fond gris, blocs blancs, deux colonnes aérées sur ordinateur (18 oct. 2026) */
body:has(.cdc-grille) { background: #f2f4f7; }
body:has(.cdc-grille) main.proto-texte { background: transparent; }
.cdc-grille { gap: 1.5rem 1.6rem; margin: 1.2rem 0 2.4rem; }
.cdc-carte { padding: 1.4rem 1.5rem 1.2rem; border: 1px solid #e3e7ef; border-top: 3px solid var(--dore); border-radius: 0 0 12px 12px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
@media (min-width: 1000px) { .cdc-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
/* Police harmonisée (18 oct. 2026, demande « c'est écrit petit, harmonise la police partout ») :
   texte courant en Open Sans normal (400) au lieu de fin (300) ; titres en Montserrat, inchangés. */
body { font-weight: 400; }
/* Page en cartes (Cour des comptes) : textes des cartes plus grands, blocs « ce que demande la Cour » en blanc */
.proto-texte .cdc-txt { font-size: .95rem; line-height: 1.6; color: #2b3242; }
.proto-texte h3.cdc-titre { font-size: 1.08rem; }
.cdc-duo { font-size: .86rem; }
body:has(.cdc-grille) .n-pas { gap: 1.4rem; }
body:has(.cdc-grille) .n-pas > div { background: #fff; border: 1px solid #e3e7ef; border-top: 3px solid var(--dore); border-radius: 0 0 12px 12px; padding: 1.3rem 1.4rem; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.proto-texte .n-pas p { font-size: .95rem; line-height: 1.55; }
.proto-texte .n-pas p.n-pas__titre { font-size: 1.05rem; }

/* =====================================================================================================
   HIÉRARCHIE TYPOGRAPHIQUE UNIQUE (18 oct. 2026, demande : « une vraie hiérarchisation, identique sur toutes les pages »)
   Titres : Montserrat. Texte : Open Sans. Une seule échelle, les mêmes tailles pour les mêmes rôles partout.
   ===================================================================================================== */
:root {
	--t-h2: 1.6rem;      /* titre de partie (onglet, section) */
	--t-h3: 1.12rem;     /* titre de bloc, de carte */
	--t-h4: .95rem;      /* sous-titre dans un bloc */
	--t-chapo: 1.1rem;   /* phrase d'introduction */
	--t-corps: 1rem;     /* texte courant */
	--t-petit: .875rem;  /* précisions, légendes, notes */
	--t-mini: .78rem;    /* sources, pages du rapport */
	--t-etiq: .72rem;    /* étiquettes en capitales */
	--c-corps: #2b3242; --c-petit: #4b5263; --c-mini: #6b7385;
}
@media (max-width: 700px) { :root { --t-h2: 1.35rem; --t-h3: 1.05rem; --t-chapo: 1.02rem; } }

/* Titre de partie */
.ls-titre:not(h3), .ls-vue__titre, .be-tete__titre, .proto-texte h2, .n-section__tete h2, .lx .ls-titre, .rch .ls-titre {
	font-family: var(--titre) !important; font-size: var(--t-h2) !important; font-weight: 800 !important; line-height: 1.2 !important; color: var(--nuit) !important; letter-spacing: -.01em;
}
/* Titre de bloc / carte */
.ac-h3, h3.ls-titre, .ls25 h3.ls-titre, .proto-texte h3, .proto-texte h3.cdc-titre, .cc-texte h3, .n-cat-panneau__nom, .ac-duo__sujet, .pli-cmp thead th, .rch .rch-g h2 {
	font-family: var(--titre) !important; font-size: var(--t-h3) !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--nuit) !important; text-transform: none !important; letter-spacing: 0 !important;
}
/* Sous-titre */
.proto-texte h4, .cc-texte h4, .ls-sous, .cdc-titre + h4 {
	font-family: var(--titre) !important; font-size: var(--t-h4) !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--nuit) !important; text-transform: none !important;
}
/* Chapô */
.n-chapo, .ls-lead, .proto-texte .n-intro, .proto-texte > p:first-of-type {
	font-family: var(--texte) !important; font-size: var(--t-chapo) !important; font-weight: 400 !important; line-height: 1.55 !important;
}
/* Texte courant */
.proto-texte p, .proto-texte li, .ls25 .ls-bloc > p:not([class]), .ac .pli-txt, .ac .pli-liste, .proto-texte .cdc-txt, .lx .lx-q p, .lx .lx-terme dd, .cc-etapes span, .cc-mots dd, .ac-dialog__txt, .essentiel__libelle {
	font-family: var(--texte); font-size: var(--t-corps) !important; font-weight: 400 !important; line-height: 1.6 !important;
}
/* Petit : précisions, légendes, notes */
.n-legende, .ls-note, .ac .n-legende, .ls-tuile__sous, .ac-pan__sous, .n-kpi__lib + .n-kpi__note, .ac-pile__tot, .ac-duo__leg, .ac-obj__leg, figcaption, .proto-texte figcaption, .cc-cam__leg small, .rch .rch-p, .chiffre-cle span, .n-repart__sous, .n-rang__nom small, .ls-chiffres p, .tous-chiffres > summary {
	font-family: var(--texte) !important; font-size: var(--t-petit) !important; font-weight: 400 !important; line-height: 1.55 !important;
}
.ls-tuile__sous, .ac-pan__sous, .n-repart__sous, .n-rang__nom small, .chiffre-cle span, .rch .rch-p { color: var(--c-petit) !important; }
/* Mini : sources et pages */
.ls-tuile__ref, .ac-pan__ref, .ac-ref, .essentiel__source, .n-hero__source, .cdc-p, .rch .rch-s, .rch .rch-bl, .ac-dialog__ref, .ac-mini__leg, .ac-mini__l, .lx .lx-q p a + small, .n-kpi__note {
	font-family: var(--texte) !important; font-size: var(--t-mini) !important; font-weight: 400 !important; line-height: 1.45 !important;
}
.ls-tuile__ref, .ac-pan__ref, .ac-ref, .essentiel__source, .cdc-p, .rch .rch-s { color: var(--c-mini) !important; }
.ac .ac-ref { font-weight: 600 !important; }
/* Étiquettes en capitales */
.ls-tuile__lib, .ac-pan__lib, .n-etiquette, .perimetre-etiquette, .ac-dialog__lib, .n-surtitre, .ac-pan__txt > span, .n-repart__nom, .sous-menu__titre, .rch .rch-pil span, .n-kpi__lib {
	font-family: var(--titre) !important; font-size: var(--t-etiq) !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; line-height: 1.35 !important;
}
.n-kpi__lib { text-transform: none !important; letter-spacing: 0 !important; font-size: .85rem !important; }
/* Étiquettes écrites en <p> dans un article : la règle du texte courant (.proto-texte p) ne doit pas les grossir (21 oct. 2026, audit) */
.proto-texte p.n-etiquette, .ls25 p.n-etiquette, .proto-texte p.n-surtitre {
	font-family: var(--titre) !important; font-size: var(--t-etiq) !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; line-height: 1.35 !important;
}
/* Chiffres */
.ls-tuile__val, .essentiel__valeur, .chiffre-cle strong, .rch .rch-c b, .cc-cam__leg b { font-family: var(--titre) !important; font-weight: 800 !important; font-size: 1.7rem !important; line-height: 1.1 !important; }
.ac-pan__val { font-family: var(--titre) !important; font-weight: 800 !important; font-size: 2.2rem !important; line-height: 1.05 !important; }
.n-rang__val, .ac-duo__val, .ac-obj__val, .n-repart__val { font-family: var(--titre) !important; font-weight: 700 !important; }
/* « + » à côté d'une page citée : ouvre le document source à cette page (18 oct. 2026) */
.doc-plus { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-left: .2rem; border: 1px solid var(--dore, #c5a467); border-radius: 50%; font: 700 .72rem/1 var(--titre, sans-serif) !important; color: var(--dore-texte, #8c6a2f) !important; text-decoration: none !important; vertical-align: .05rem; letter-spacing: 0 !important; text-transform: none !important; }
.doc-plus:hover, .doc-plus:focus-visible { background: var(--nuit, #101b34); border-color: var(--nuit, #101b34); color: #fff !important; }
/* Cartes Cour des comptes : « En clair », explication dépliable (18 oct. 2026) */
.cdc-clair { margin: .9rem 0 .2rem; border-top: 1px solid #eef0f4; }
.cdc-clair summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; padding: .7rem 0 .2rem; list-style: none; font: 700 var(--t-etiq, .72rem) var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.cdc-clair summary::-webkit-details-marker { display: none; }
.cdc-clair summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border: 1px solid var(--dore); border-radius: 50%; font-size: .8rem; letter-spacing: 0; }
.cdc-clair[open] summary::before { content: "−"; }
.proto-texte .cdc-clair p { margin: .4rem 0 .2rem; padding: .8rem 1rem; background: #f6f7fa; border-radius: 8px; font-size: var(--t-corps, 1rem) !important; line-height: 1.6 !important; color: #2b3242; }
/* Chiffres clés : « Sources et méthode » en une carte, deux colonnes (18 oct. 2026) */
.ls25 .cc-src { margin: 2rem 0 1rem; padding: 1.6rem 1.7rem 1.4rem; background: #fff; border: 1px solid #e3e7ef; border-top: 3px solid var(--dore); border-radius: 0 0 12px 12px; }
.ls25 .cc-src__titre { margin: 0 0 1rem; }
.cc-src__cols { display: grid; gap: 1.6rem 2.4rem; }
@media (min-width: 900px) { .cc-src__cols { grid-template-columns: 1.4fr 1fr; } }
.ls25 .cc-src__sous { margin: 0 0 .6rem; font: 700 var(--t-etiq, .72rem) var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--dore-texte, #8c6a2f); }
.cc-src__liste { margin: 0; display: grid; gap: 0; }
.cc-src__liste > div { display: grid; grid-template-columns: 11rem 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #eef0f4; }
@media (max-width: 600px) { .cc-src__liste > div { grid-template-columns: 1fr; gap: .1rem; } }
.cc-src__liste dt { font: 700 var(--t-petit, .875rem) var(--titre); color: var(--nuit); }
.cc-src__liste dd { margin: 0; font-size: var(--t-petit, .875rem); line-height: 1.5; color: var(--c-petit, #4b5263); }
.ls25 .cc-src__points { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.ls25 .cc-src__points li { margin: 0; padding: 0 0 0 .9rem; border-left: 3px solid var(--dore); font-size: var(--t-petit, .875rem); line-height: 1.55; color: var(--c-petit, #4b5263); }
.ls25 .cc-src__points li::before { content: none; }
.cc-src__points b { color: var(--nuit); }
/* Camembert et répartitions : chiffres moins gros (18 oct. 2026) */
.cc-cam__leg b { font-size: 1.05rem !important; }
.cc-cam__rond b { font-size: 1rem !important; }
.n-repart__val { font-size: 1rem !important; }   /* 28 oct. 2026 : chiffres de légende plus petits, partout */
.ls25 .cc-src__titre { font-family: var(--titre) !important; font-size: var(--t-h2) !important; font-weight: 800 !important; line-height: 1.2 !important; color: var(--nuit) !important; }

/* =====================================================================================================
   BLOC « SOURCES » UNIQUE sur toutes les pages (18 oct. 2026, demande : « adapte la mise en page des sources partout »)
   Même carte que « Sources et méthode » des chiffres clés : fond blanc, filet doré, titre de bloc, liste à filet doré.
   ===================================================================================================== */
.sources-article, .n-sources, .ls-sources, .sourcebox, .ls25 .cc-src,
main.ac > .n-wrap > p.ls-note:last-of-type, main.rch ~ .ls-note {
	margin: 2.2rem 0 1.2rem !important; padding: 1.4rem 1.6rem 1.2rem !important;
	background: #fff !important; border: 1px solid #e3e7ef !important; border-top: 3px solid var(--dore) !important; border-radius: 0 0 12px 12px !important;
	box-shadow: 0 1px 2px rgba(16, 27, 52, .05); color: var(--c-petit, #4b5263) !important;
}
/* titre du bloc */
.sources-article > h2, .sources-article > h3, .n-sources > .n-etiquette:first-child, .ls-sources > h2, .ls-sources > h3, .sourcebox > h2, .ls25 .cc-src__titre {
	display: block; margin: 0 0 .9rem !important; padding: 0 0 .6rem !important; border: 0 !important; border-bottom: 1px solid #eef0f4 !important; background: none !important;
	font-family: var(--titre) !important; font-size: var(--t-h3, 1.12rem) !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--nuit) !important;
}
.sources-article > h2::after, .sources-article > h3::after, .sources-article > h2::before, .sources-article > h3::before, .ls-sources > h3::after, .sourcebox > h2::after { content: none !important; }
/* listes : une ligne par source, filet doré à gauche */
.sources-article ul, .n-sources ul, .ls-sources ul, .sourcebox ul { margin: 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: .6rem; }
.sources-article li, .n-sources li, .ls-sources li, .sourcebox li { margin: 0 !important; padding: 0 0 0 .9rem !important; border-left: 3px solid var(--dore); }
.sources-article li::before, .n-sources li::before, .ls-sources li::before, .sourcebox li::before { content: none !important; }
/* texte des sources : taille « petit » partout */
.sources-article p, .sources-article li, .n-sources p:not(.n-etiquette), .n-sources li, .ls-sources p, .ls-sources li, .sourcebox p, .sourcebox li,
main.ac > .n-wrap > p.ls-note:last-of-type {
	font-family: var(--texte) !important; font-size: var(--t-petit, .875rem) !important; font-weight: 400 !important; line-height: 1.55 !important; color: var(--c-petit, #4b5263) !important;
}
.sources-article p, .n-sources p:not(.n-etiquette), .ls-sources p, .sourcebox p { margin: 0 0 .5rem !important; }
.sources-article a, .n-sources a, .ls-sources a, .sourcebox a, main.ac > .n-wrap > p.ls-note:last-of-type a { color: var(--dore-texte, #8c6a2f) !important; }
.sources-article strong, .n-sources strong, .ls-sources strong, .sourcebox strong { color: var(--nuit); font-weight: 700; }
/* En clair : une phrase par ligne, dans un seul encadré */
.cdc-clair[open] { background: #f6f7fa; border-radius: 8px; padding-bottom: .6rem; }
.proto-texte .cdc-clair p { margin: 0 !important; padding: .35rem 1rem !important; background: none !important; border-radius: 0 !important; }
.proto-texte .cdc-clair p + p { border-top: 1px solid #e9ecf2; }
.cdc-clair[open] summary { padding-left: 1rem; }
/* Chiffres clés : « Ce qu'il faut comprendre » et avertissement (18 oct. 2026) */
.ls25 .cc-comprendre { margin: 1rem 0 .4rem; padding: .7rem .9rem; background: #f6f7fa; border-left: 3px solid var(--nuit); border-radius: 0 6px 6px 0; font-size: var(--t-corps, 1rem); line-height: 1.55; color: #2b3242; }
.ls25 .cc-comprendre b { color: var(--nuit); }
.ls25 .cc-attention { margin: .5rem 0 .4rem; padding: .7rem .9rem; background: #fdf6e6; border-left: 3px solid var(--dore); border-radius: 0 6px 6px 0; font-size: var(--t-petit, .875rem); line-height: 1.5; color: #5b4a1f; }

/* Chiffres clés, France : graphiques de l'ANCOLS refaits (18 oct. 2026) */
.graphiques:has(> .cc-fig) { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 900px) { .graphiques:has(> .cc-fig) { grid-template-columns: 1fr 1fr; } .graphiques > .cc-fig--large { grid-column: 1 / -1; } }
.graphiques > .cc-fig, .cc-fig:not(.cc-fig--seul) { margin: 1rem 0; }
.cc-cols { display: flex; align-items: flex-end; gap: .45rem; height: calc(var(--h) + 2.6rem); padding-top: .4rem; }
.cc-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.cc-col__b { display: block; width: 100%; max-width: 3.4rem; background: #c3cbda; border-radius: 3px 3px 0 0; max-height: var(--h); }
.cc-col--fort .cc-col__b { background: var(--nuit); }
.cc-col__v { font: 700 .72rem var(--titre); color: #5b6070; margin-bottom: .2rem; white-space: nowrap; }
.cc-col--fort .cc-col__v { color: var(--nuit); font-weight: 800; }
.cc-col__a { margin-top: .3rem; font-size: .7rem; color: #7a8297; white-space: nowrap; }
.cc-cols--serre { gap: 3px; } .cc-cols--serre .cc-col__a { font-size: .6rem; } .cc-cols--serre .cc-col__b { max-width: none; }
.cc-taux { margin-bottom: .25rem; padding: .05rem .4rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font: 700 .68rem var(--titre); }
.cc-col--fort .cc-taux { background: #b42318; color: #fff; }
.cc-pastille { display: inline-block; margin-right: .35rem; padding: 0 .35rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font: 700 .65rem var(--titre); font-style: normal; }
.cc-pt--or { background: var(--dore); } .cc-pt--gris { background: #8fa3a0; }
.cc-pile { display: flex; flex-direction: column; width: 100%; max-width: 3.4rem; max-height: var(--h); border-radius: 3px 3px 0 0; overflow: hidden; }
.cc-pile > span { display: flex; align-items: center; justify-content: center; min-height: 0; font: 700 .64rem var(--titre); }
.cc-p1 { background: var(--nuit); color: #fff; } .cc-p2 { background: var(--dore); color: var(--nuit); } .cc-p3 { background: #8fa3a0; }
.cc-svg { display: block; width: 100%; height: auto; }
.cc-g { stroke: #e6e9ef; stroke-dasharray: 3 3; } .cc-ax { font: 600 11px var(--titre, sans-serif); fill: #7a8297; }
.cc-s1 { stroke: var(--nuit); fill: var(--nuit); stroke-width: 2.5; } .cc-s2 { stroke: var(--dore); fill: var(--dore); stroke-width: 2.5; }
polyline.cc-s1, polyline.cc-s2 { fill: none; }
.cc-lab { font: 800 12px var(--titre, sans-serif); fill: var(--nuit); } .cc-lab--or { fill: #8c6a2f; }
.cc-ronds { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.cc-rond { display: grid; justify-items: center; gap: .3rem; }
.cc-rond b { display: grid; place-items: center; width: 100%; max-width: 5.4rem; aspect-ratio: 1; border-radius: 50%; font: 800 .82rem var(--titre); color: var(--nuit);
  background: radial-gradient(closest-side, #fff 80%, transparent 81%), conic-gradient(var(--nuit) calc(var(--p) * 1%), #eef0f4 0); }
.cc-rond span { font-size: .72rem; color: #7a8297; }
.proto-texte .cc-note, .cc-note { margin: .6rem 0 0; font-size: .76rem; color: #5b6070; }
@media (max-width: 560px) { .cc-ronds { grid-template-columns: repeat(3, 1fr); } .cc-col__v { font-size: .6rem; } .cc-cols--serre .cc-col__a { display: none; } }
.cc-col__b, .cc-pile { max-height: none; }
/* Chiffres clés › France / Île-de-France : un graphique seul prend toute la largeur de sa carte (18 oct. 2026) */
.cc-texte .cc-carte .graphiques:has(> :only-child) { grid-template-columns: 1fr !important; justify-content: stretch !important; }
.cc-texte .cc-carte .graphiques > .cc-fig { width: 100%; }
@media (min-width: 1000px) { .cc-texte .cc-carte .graphiques:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Sous-onglets Île-de-France / France collés à la barre du haut, comme Paris (18 oct. 2026) */
.ls-onglets--haut:has(~ .ls-onglets--sous:not([hidden])) { margin-bottom: 0 !important; }
.ls-onglets--haut ~ .ls-onglets--sous { margin-top: 0 !important; }
/* Préemptions : tableau « année par année » replié (18 oct. 2026) */
.pp-detail { margin: 1rem 0 .4rem; border-top: 1px solid #eef0f4; }
.pp-detail > summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; padding: .8rem 0; list-style: none; font: 700 var(--t-petit, .875rem) var(--titre); color: var(--nuit); }
.pp-detail > summary::-webkit-details-marker { display: none; }
.pp-detail > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border: 1px solid var(--dore); border-radius: 50%; color: var(--dore-texte, #8c6a2f); font-size: .9rem; }
.pp-detail[open] > summary::before { content: "−"; }
/* Bouton « Voir plus » (18 oct. 2026) */
.voir-plus { display: inline-flex; align-items: center; gap: .45rem; margin: .8rem 0 .2rem; padding: .45rem .95rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; cursor: pointer; font: 700 var(--t-petit, .875rem) var(--titre); color: var(--nuit); }
.voir-plus::before { content: "+"; color: var(--dore-texte, #8c6a2f); }
.voir-plus[aria-expanded="true"]::before { content: "−"; }
.voir-plus:hover { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.n-rang[hidden], tr[hidden] { display: none !important; }
/* Préemptions : filtres des fiches (19 oct. 2026) */
.pp-filtres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1rem; margin: .8rem 0 1rem; padding: .9rem 1rem; background: #f6f7fa; border-radius: 10px; }
.pp-filtres label { display: grid; gap: .25rem; font: 700 var(--t-etiq, .72rem) var(--titre); letter-spacing: .05em; text-transform: uppercase; color: var(--c-petit, #4b5263); }
.pp-filtres select { min-width: 11rem; padding: .5rem .7rem; border: 1px solid #d5dae4; border-radius: 8px; background: #fff; font: 400 .92rem var(--texte); color: var(--nuit); text-transform: none; letter-spacing: 0; }
.pp-filtres__raz { padding: .5rem .9rem; border: 1px solid #d5dae4; border-radius: 999px; background: #fff; cursor: pointer; font: 600 .82rem var(--titre); color: var(--nuit); }
.pp-filtres__raz:hover { background: var(--nuit); color: #fff; }
.ls25 .pp-filtres__compte { flex-basis: 100%; margin: 0; font: 700 var(--t-petit, .875rem) var(--titre); color: var(--nuit); }
.ls25 .pp-filtres__compte:empty { display: none; }
.pp-arr[hidden], .table-scroll[hidden], .recap-releve[hidden], .pp-annee__resume[hidden] { display: none !important; }

/* ===== Dossier « Présidentielle 2027 et logement » (outils/presidentielle-2027.py, js/presidentielle-2027.js, 19 oct. 2026) =====
   Couleurs neutres du gabarit bleu nuit uniquement : aucune couleur de parti. Les quatre niveaux d'une mesure se
   distinguent par la forme (plein, contour, tirets, pointillés) autant que par la teinte. */
.pr { --pr-ok: #2d5a32; }
.pr ul > li, .pr ol > li { padding-left: 0; margin-bottom: 0; }
.pr ul > li::before, .pr ol > li::before { content: none !important; display: none !important; }
.pr ul, .pr ol { margin: 0; padding: 0; }
.pr [hidden] { display: none !important; }
/* Barre des rubriques : reste en haut de l'écran pendant la lecture */
.pr-barre { position: sticky; top: var(--pr-haut, 64px); z-index: 35; background: #fff; }   /* sous la barre du site, elle aussi collée en haut */
.ls25 .pr-onglets { margin-bottom: 0; }
.ls25 .pr-onglets button { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.05rem .75rem; font-size: .9rem; }
.pr-onglet__n { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--gris-n); font: 700 .66rem var(--titre); color: var(--texte-n2); }
.ls25 .pr-onglets button[aria-selected="true"] .pr-onglet__n { background: var(--dore); color: var(--nuit); }
.pr-maj { margin: .8rem 0 2.2rem; font-size: .78rem; color: var(--texte-n2); }
.pr-maj a { color: var(--nuit); }
.pr-intro { max-width: 52rem; margin: 0 0 1.8rem; }
.pr-intro__lead { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--encre); }
.ls25.pr h4 { margin: 1.4rem 0 .4rem; padding: 0; background: none; border: 0; color: var(--nuit); font: 700 .95rem/1.3 var(--titre); text-transform: none; letter-spacing: 0; }
.ls25.pr h4::before, .ls25.pr h4::after { content: none; }
.pr-section { margin-top: 3rem; }

/* Étiquettes : niveau de la mesure, vérification, statut de candidature */
.pr-niv { display: inline-block; padding: .18rem .55rem; border: 1.5px solid var(--nuit); border-radius: 999px; font: 700 .64rem/1.3 var(--titre); letter-spacing: .02em; color: var(--nuit); background: #fff; white-space: nowrap; }
.pr-niv--programme_2027 { background: var(--nuit); color: #fff; }
.pr-niv--proposition_2026_2027 { background: #fff; }
.pr-niv--position_parti { border-style: dashed; border-color: var(--texte-n2); color: var(--texte-n2); }
.pr-niv--ancienne_2022 { border-style: dotted; border-color: #8b91a0; color: #6b7080; background: var(--gris-n); }
.pr-niv--evenement, .pr-niv--contexte { border-color: var(--dore); color: var(--dore-texte); }
.pr-verif { font: 700 .7rem var(--titre); white-space: nowrap; }
.pr-verif--verifie { color: var(--pr-ok); }
.pr-verif--verifie::before { content: "✓ "; }
.pr-verif--a_confirmer { color: var(--dore-texte); }
.pr-verif--a_confirmer::before { content: "? "; }
.pr-statut { display: inline-block; padding: .14rem .5rem; border-radius: 4px; background: var(--gris-n); font: 700 .64rem/1.3 var(--titre); color: var(--nuit); }
.pr-statut--envisagee, .pr-statut--non_confirmee { background: #fff; border: 1px dashed var(--texte-n2); color: var(--texte-n2); }
.pr-statut--retiree { background: #fff; border: 1px solid var(--trait-n); color: #8b91a0; }
.pr-legende { display: grid; gap: .45rem; margin: 0 0 1.6rem !important; font-size: .8rem; color: var(--texte-n2); }
@media (min-width: 900px) { .pr-legende { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.pr-legende li { display: flex; align-items: baseline; gap: .6rem; }

/* Outils : filtres, recherche, menus */
.pr-outils { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1.4rem; margin: 0 0 1.2rem; }
.pr-pilules { flex-wrap: wrap; border-radius: 1.4rem; }
.ls25 .pr-pilules button { padding: .45rem .95rem; font-size: .84rem; }
.pr-cherche, .pr-select { display: grid; gap: .25rem; font: 600 .72rem var(--titre); color: var(--texte-n2); }
.pr-cherche input, .pr-select select { min-width: 13rem; max-width: 100%; padding: .5rem .7rem; border: 1px solid #cfd4de; border-radius: 6px; background: #fff; font: 400 .9rem var(--texte, inherit); color: var(--encre); }
.pr-cherche input:focus-visible, .pr-select select:focus-visible { outline: 2px solid var(--dore); outline-offset: 1px; }
.pr-case { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; font-size: .84rem; color: var(--encre); }
.pr-compte { margin: 0; font-size: .78rem; color: var(--texte-n2); }
.pr-compte:empty { display: none; }

/* Cartes des candidats */
.pr-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: .9rem; }
.pr-carte { display: grid; gap: .35rem; align-content: start; height: 100%; padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--trait-n); border-top: 3px solid var(--nuit); background: #fff; color: var(--encre); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pr-carte:hover { border-color: var(--dore); box-shadow: 0 6px 18px rgba(16, 27, 52, .08); }
.pr-carte:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.pr-carte__nom { font: 800 1.08rem/1.2 var(--titre); color: var(--nuit); }
.pr-carte__parti { font-size: .82rem; color: var(--texte-n2); }
.pr-carte .pr-statut { justify-self: start; margin-top: .2rem; }
.pr-carte__prog { font-size: .76rem; color: var(--texte-n2); }
.pr-carte__compte { margin-top: .3rem; font-size: .82rem; }
.pr-carte__compte b { font: 800 1.05rem var(--titre); color: var(--nuit); }
.pr-carte__mini { display: flex; gap: .25rem; }
.pr-mini { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.2rem; padding: 0 .3rem; border: 1.5px solid var(--nuit); border-radius: 3px; font: 700 .62rem var(--titre); color: var(--nuit); }
.pr-mini--programme_2027 { background: var(--nuit); color: #fff; }
.pr-mini--position_parti { border-style: dashed; border-color: var(--texte-n2); color: var(--texte-n2); }
.pr-mini--ancienne_2022 { border-style: dotted; border-color: #8b91a0; color: #6b7080; }
.pr-carte__maj { font-size: .7rem; color: #8b91a0; }
.pr-carte--active { border-color: var(--nuit); background: var(--nuit); }
.pr-carte--active .pr-carte__nom, .pr-carte--active .pr-carte__compte b { color: #fff; }
.pr-carte--active .pr-carte__parti, .pr-carte--active .pr-carte__prog, .pr-carte--active .pr-carte__compte, .pr-carte--active .pr-carte__maj { color: #c9cfdb; }
.pr-carte--active .pr-mini { border-color: #c9cfdb; color: #fff; }

/* Fiche d'un candidat */
.pr-fiche { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 2px solid var(--nuit); scroll-margin-top: 4rem; }
.pr-fiche__tete { max-width: 52rem; }
.ls25.pr h3.pr-fiche__nom { margin: 0 0 .6rem; padding: 0; background: none; border: 0; color: var(--nuit); font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--titre); text-transform: none; letter-spacing: -.01em; }
.ls25.pr h3.pr-fiche__nom::before, .ls25.pr h3.pr-fiche__nom::after { content: none; }
.pr-fiche__statut, .pr-fiche__prog, .pr-fiche__maj { margin: .3rem 0 0; font-size: .86rem; color: var(--encre); }
.pr-fiche__maj { font-size: .74rem; color: var(--texte-n2); }
.pr-fiche__synthese { display: grid; gap: 1.2rem; margin: 1.6rem 0; padding: 1.1rem 1.2rem; background: var(--gris-n); border-top: 2px solid var(--dore); }
@media (min-width: 800px) { .pr-fiche__synthese { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.pr-fiche__obj { display: grid; gap: .45rem; }
.pr-fiche__obj li { font-size: .86rem; }
.pr-fiche__obj b { color: var(--nuit); }
.pr-fiche__obj span { color: var(--texte-n2); }
.pr-fiche__obj a { font-size: .74rem; }
.pr-fiche__vide { margin: 0; font-size: .84rem; color: var(--texte-n2); }
.pr-fiche__rem { margin: 0 0 1.6rem; padding: .8rem 1rem; border-left: 3px solid var(--dore); font-size: .88rem; }
.pr-fiche__groupe { margin-top: 2rem; }
.ls25.pr h3.pr-fiche__gtitre { margin: 0 0 .2rem; padding: 0 0 .4rem; background: none; border: 0; border-bottom: 1px solid var(--trait-n); color: var(--dore-texte); font: 700 .7rem var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.ls25.pr h3.pr-fiche__gtitre::before, .ls25.pr h3.pr-fiche__gtitre::after { content: none; }
.pr-fiche__manque { margin: 1rem 0 0; font-size: .8rem; color: var(--texte-n2); }
.pr-fiche__manque b { font-weight: 600; color: var(--encre); }
.pr-fiche__retour { margin: 1.6rem 0 0; font-size: .84rem; }
html:not(.pr-js) .pr-fiche__retour { display: none; }

/* Une mesure */
.pr-props { display: grid; }
.pr-prop { padding: .9rem 0 1rem; border-bottom: 1px solid var(--trait-n); scroll-margin-top: 5rem; }
.pr-prop:last-child { border-bottom: 0; }
.pr-prop__tete { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .4rem; }
.pr-prop__date { font-size: .74rem; color: var(--texte-n2); }
.pr-prop__texte { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--encre); }
.pr-prop__qui { color: var(--nuit); }
.pr-prop__cit { margin: .6rem 0 0; padding: .1rem 0 .1rem .9rem; border-left: 3px solid var(--dore); font-size: .86rem; font-style: italic; line-height: 1.55; color: #3d4252; }
.pr-prop__infos { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: .6rem 0 0; }
.pr-prop__infos dt { font: 700 .62rem var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--texte-n2); }
.pr-prop__infos dd { margin: .1rem 0 0; font: 700 .9rem var(--titre); color: var(--nuit); }
.pr-prop__source { margin: .55rem 0 0; font-size: .74rem; line-height: 1.5; color: var(--texte-n2); }
.pr-prop__source a { color: var(--nuit); }
.pr-prop__sec { padding: 0 .3rem; border: 1px solid var(--trait-n); border-radius: 3px; }
.pr-flash { animation: pr-flash 2.4s ease-out; }
@keyframes pr-flash { from { background: #fbf3e2; } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .pr-flash { animation: none; } .pr-carte { transition: none; } }

/* Encadrés : « Ce qu'il faut comprendre » (n-savoir), « Notre lecture », « À compléter » */
.pr .pr-comprendre { margin: 1.2rem 0 0; }
.pr-comprendre p { margin: .3rem 0 0; }
.pr-analyse { margin: 1.4rem 0; padding: .85rem 1.1rem .95rem; border: 1px dashed #b9bfcc; font-size: .88rem; line-height: 1.6; color: #3d4252; }
.pr-analyse p { margin: 0; }
.pr-analyse .n-etiquette { color: var(--texte-n2); }
.pr-avenir { margin: .8rem 0; padding: .8rem 1rem; border: 1.5px dashed var(--dore); background: #fffdf8; font-size: .86rem; color: var(--encre); }
.pr-avenir .n-etiquette { display: block; }
.pr-aucune { margin: 0; font-size: .82rem; font-style: italic; color: var(--texte-n2); }
.pr-aucune small { display: block; margin-top: .3rem; font-style: normal; }
.pr-nd { font-size: .8rem; font-style: italic; color: var(--texte-n2); }

/* Graphiques : objectifs annoncés tracés sur les colonnes officielles */
.pr-objectif { position: absolute; left: 0; right: 0; z-index: 2; border-top: 2px dashed var(--dore-texte); pointer-events: none; }
.pr-objectif em { position: absolute; left: .3rem; bottom: .15rem; padding: 0 .3rem; background: rgba(255, 255, 255, .9); font: normal 700 .64rem var(--titre); color: var(--dore-texte); white-space: nowrap; }

/* Tableaux (coûts, qui décide, comparateur) */
.pr-tab { width: 100%; margin: 1rem 0; overflow-x: auto; border: 1px solid var(--trait-n); -webkit-overflow-scrolling: touch; }
.pr-tab:focus-visible { outline: 2px solid var(--dore); }
.pr-tab table { width: 100%; min-width: 46rem; margin: 0; border-collapse: collapse; font-size: .86rem; line-height: 1.5; }
.pr-tab th, .pr-tab td { padding: .75rem .8rem; border-bottom: 1px solid var(--trait-n); vertical-align: top; text-align: left; }
.pr-tab thead th { position: sticky; top: 0; background: var(--nuit); color: #fff; font: 700 .78rem var(--titre); }
.pr-tab thead th small { display: block; font-weight: 500; color: #c9cfdb; }
.pr-tab tbody th { font: 700 .86rem var(--titre); color: var(--nuit); }
.pr-tab tbody th small { display: block; margin-top: .35rem; }
.pr-tab td small { display: block; margin-top: .35rem; font-size: .74rem; }
.pr-tab td p { margin: 0 0 .4rem; }
.pr-kpis { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin: 0 0 1.4rem; }
.pr-kpis dt { font-size: .78rem; color: var(--texte-n2); }
.pr-kpis dd { margin: 0; font: 800 1.8rem var(--titre); color: var(--nuit); }

/* Comparateur */
.pr-comp { display: grid; gap: 1.2rem; }
.pr-comp__choix { margin: 0; padding: 0; border: 0; min-width: 0; }
.pr-comp__choix legend { margin-bottom: .6rem; padding: 0; font: 700 .95rem var(--titre); color: var(--nuit); }
.pr-comp__choix legend small { font-weight: 500; color: var(--texte-n2); }
.pr-comp__choix .pr-select { margin-top: .8rem; }
.pr-puces { display: flex; flex-wrap: wrap; gap: .4rem; }
.pr-puces button { padding: .45rem .85rem; border: 1px solid #cfd4de; border-radius: 999px; background: #fff; font: 600 .84rem var(--titre); color: var(--nuit); cursor: pointer; }
.pr-puces button:hover { border-color: var(--nuit); }
.pr-puces button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.pr-puces button[aria-pressed="true"]::after { content: " ✕"; font-size: .72rem; color: var(--dore); }
.pr-puces button:disabled { opacity: .4; cursor: not-allowed; }
.pr-puces button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.pr-comp__vide { margin: 0; padding: 1.4rem; background: var(--gris-n); font-size: .9rem; color: var(--texte-n2); text-align: center; }
.pr-comp__table { table-layout: fixed; }
.pr-comp__table thead th:first-child, .pr-comp__table tbody th { width: 11rem; }
.pr-comp__groupe th { background: var(--gris-n); font: 700 .7rem var(--titre) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--dore-texte) !important; }
.pr-comp__table .pr-prop { padding: .2rem 0 .7rem; }
.pr-comp__table .pr-prop + .pr-prop { padding-top: .7rem; }
.pr-comp__table .pr-prop__texte { font-size: .86rem; }
@media (max-width: 760px) {   /* téléphone : une carte par thème, les candidats l'un sous l'autre */
	.pr-tab--comp { border: 0; overflow: visible; }
	.pr-tab--comp table, .pr-tab--comp tbody, .pr-tab--comp tr, .pr-tab--comp th, .pr-tab--comp td { display: block; width: auto !important; min-width: 0; }
	.pr-tab--comp thead { display: none; }
	.pr-tab--comp tr { margin-bottom: 1rem; border: 1px solid var(--trait-n); }
	.pr-tab--comp tbody th { background: var(--gris-n); }
	.pr-tab--comp td::before { content: attr(data-label); display: block; margin-bottom: .4rem; font: 800 .8rem var(--titre); color: var(--nuit); }
	.pr-tab--comp .pr-comp__groupe { border: 0; margin: 1.6rem 0 .4rem; }
	.pr-tab--comp .pr-comp__groupe th { background: none; padding: 0; }
}
.pr-theme-tous { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--trait-n); }
.pr-theme-tous__liste { display: grid; gap: 0 2.4rem; margin-top: 1rem; }
@media (min-width: 900px) { .pr-theme-tous__liste { grid-template-columns: 1fr 1fr; } }
.pr-theme-tous__c { padding: .8rem 0; border-bottom: 1px solid var(--trait-n); }
.ls25.pr .pr-theme-tous__c h4 { margin: 0; }
.pr-theme-tous__c h4 small { margin-left: .5rem; font-weight: 500; color: var(--texte-n2); }
.pr-theme-tous .pr-aucune { margin-top: 1rem; }

/* Pour vous : profils */
.pr-profils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .6rem; margin: 0 0 1rem; }
.pr-profil { padding: .9rem 1rem; border: 1px solid var(--trait-n); border-left: 3px solid var(--trait-n); background: #fff; font: 700 .9rem/1.3 var(--titre); color: var(--nuit); text-align: left; cursor: pointer; }
.pr-profil:hover { border-left-color: var(--dore); }
.pr-profil[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); border-left-color: var(--dore); color: #fff; }
.pr-profil:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.pr-profil__bloc { margin-top: 1.4rem; }
.pr-profil__bloc + .pr-profil__bloc { margin-top: 3rem; }
.pr-js .pr-profil__bloc + .pr-profil__bloc { margin-top: 1.4rem; }
html:not(.pr-js) .pr-profils { display: none; }
.pr-profil__theme { margin-top: 1.8rem; }
.pr-profil__lecture { margin: .3rem 0 .4rem; padding: .7rem .9rem; background: var(--gris-n); font-size: .88rem; line-height: 1.55; }
.pr-profil__lecture .n-etiquette { display: block; color: var(--texte-n2); }

/* Promesses et chiffres : les étapes */
.pr-etapes { display: grid; gap: .6rem; margin: 1rem 0 0 !important; counter-reset: etape; }
@media (min-width: 900px) { .pr-etapes { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.pr-etapes li { position: relative; display: grid; gap: .3rem; align-content: start; padding: .9rem 1rem; background: var(--gris-n); counter-increment: etape; }
@media (min-width: 900px) {
	.pr-etapes li { margin-right: 1.1rem; }
	.pr-etapes li:not(:last-child)::after { content: "→"; position: absolute; right: -1rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--dore-texte); }
}
.pr-etapes b { font: 800 .95rem var(--titre); color: var(--nuit); }
.pr-etapes b::before { content: counter(etape) ". "; color: var(--dore-texte); }
.pr-etapes span { font-size: .82rem; line-height: 1.5; color: var(--encre); }

/* Chronologie */
.pr-chrono { position: relative; margin-top: 1rem !important; }
.pr-chrono::before { content: ""; position: absolute; left: 7.4rem; top: 0; bottom: 0; width: 2px; background: var(--trait-n); }
.pr-chrono > li { position: relative; display: grid; grid-template-columns: 6.6rem 1fr; gap: 1.6rem; padding: .8rem 0; }
.pr-chrono > li > div::before { content: ""; position: absolute; left: 7.05rem; top: 1.15rem; width: .8rem; height: .8rem; border: 2px solid var(--nuit); border-radius: 50%; background: #fff; }
.pr-chrono time { padding-top: .1rem; font: 700 .78rem/1.3 var(--titre); color: var(--nuit); text-align: right; }
.pr-chrono p { margin: 0; font-size: .9rem; line-height: 1.5; }
.pr-chrono__qui { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .2rem !important; font: 800 .9rem var(--titre); color: var(--nuit); }
.pr-chrono__evol { margin-top: .3rem !important; font-size: .82rem !important; }
.pr-chrono__src { margin-top: .25rem !important; font-size: .74rem !important; color: var(--texte-n2); }
@media (max-width: 600px) {
	.pr-chrono::before { left: .35rem; }
	.pr-chrono > li { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.6rem; }
	.pr-chrono > li > div::before { left: 0; top: 1rem; }
	.pr-chrono time { text-align: left; }
}

/* Sources et méthode */
.pr-regles { display: grid; gap: .7rem; }
.pr-regles li { padding-left: 1rem !important; border-left: 2px solid var(--dore); font-size: .9rem; line-height: 1.55; }
.pr-def { display: grid; gap: .7rem; margin: .4rem 0 1.6rem; }
.pr-def > div { display: grid; grid-template-columns: 11rem 1fr; gap: .8rem; align-items: baseline; }
@media (max-width: 600px) { .pr-def > div { grid-template-columns: 1fr; gap: .2rem; } }
.pr-def dd { margin: 0; font-size: .86rem; }
.pr-sources { display: grid; gap: .8rem; font-size: .84rem; }
.pr-sources ul { display: grid; gap: .25rem; margin-top: .3rem !important; }
.pr-sources ul li { padding-left: .8rem !important; border-left: 1px solid var(--trait-n); color: var(--texte-n2); }
@media (max-width: 600px) { .ls25 .pr-onglets button { padding: .7rem .7rem .6rem; } .pr-onglet__n { display: none; } }
.pr-sans { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--trait-n); }
.pr-sans__liste { display: grid; gap: .7rem 2rem; }
@media (min-width: 800px) { .pr-sans__liste { grid-template-columns: 1fr 1fr; } }
.pr-sans__liste li { font-size: .88rem; }
.pr-sans__liste b { color: var(--nuit); }
.pr-sans__liste span { color: var(--texte-n2); }
.pr-sans__liste small { display: block; margin-top: .15rem; font-size: .74rem; color: var(--texte-n2); }
/* Dossier Présidentielle : la fiche candidat s'ouvre dans un panneau à droite (habillage op-tiroir, 19 oct. 2026) */
.op-tiroir--droite .op-tiroir__panneau { left: auto; right: 0; width: min(52rem, 100vw); box-shadow: -8px 0 30px rgba(16, 27, 52, .25); transform: translateX(100%); }
.op-tiroir--droite.op-tiroir--ouvert .op-tiroir__panneau { transform: none; }
.pr-tiroir__nav { display: flex; align-items: center; gap: .5rem; }
.pr-tiroir__pas { width: 2.2rem; height: 2.2rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: none; color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.pr-tiroir__pas:hover, .pr-tiroir__pas:focus-visible { background: #fff; color: var(--nuit); outline: none; }
.pr-tiroir__rang { min-width: 3.4rem; font: 600 .78rem var(--titre); color: #c9cfdb; text-align: center; }
.pr-tiroir__nav .op-tiroir__fermer { margin-left: .6rem; }
.pr-tiroir__corps { padding: 1.4rem 1.8rem 3rem; }
.pr-tiroir__corps .pr-fiche { margin: 0; padding: 0; border: 0; }
.pr-tiroir__corps .pr-fiche__synthese { grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 900px) { .pr-tiroir__corps .pr-fiche__synthese { grid-template-columns: 1fr 1fr; } }
.pr-tiroir__corps .pr-prop { scroll-margin-top: 4.5rem; }
@media (max-width: 600px) { .pr-tiroir__corps { padding: 1rem 1rem 2.5rem; } .op-tiroir--droite .op-tiroir__tete { padding: .6rem .8rem; } .pr-tiroir__rang { min-width: 2.6rem; } }

/* Présidentielle 2027 : onglet « Explorer » refait (19 oct. 2026) — onglets de sujets, menus déroulants, tableau */
.ex-titre { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.55; color: var(--encre); }
.ex-onglets { display: flex; gap: 0; margin: 0; border-bottom: 2px solid var(--trait-n); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.ex-onglets::-webkit-scrollbar { display: none; }
.ex-onglet { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; margin-bottom: -2px; padding: .75rem 1rem .65rem; border: 0; border-bottom: 3px solid transparent; background: none; font: 700 .88rem var(--titre); color: var(--texte-n2); cursor: pointer; white-space: nowrap; }
.ex-onglet small { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--gris-n); font: 700 .66rem var(--titre); color: var(--texte-n2); }
.ex-onglet:hover { color: var(--nuit); }
.ex-onglet[aria-selected="true"] { color: var(--nuit); border-bottom-color: var(--dore); }
.ex-onglet[aria-selected="true"] small { background: var(--nuit); color: #fff; }
.ex-onglet:focus-visible { outline: 2px solid var(--dore); outline-offset: -2px; }
.ex-filtres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1.4rem; margin: 1.2rem 0 1rem; }
.ex-compte { margin: 0 0 .55rem; font-size: .84rem; color: var(--texte-n2); }
.ex-compte:empty { display: none; }
.ex-tab { border: 1px solid var(--trait-n); background: #fff; }
.ex-tab--entree { animation: ex-entree .25s ease-out; }
@keyframes ex-entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ex-tab--entree { animation: none; } }
.ex-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.ex-table thead th { padding: .7rem 1rem; background: var(--nuit); color: #fff; font: 700 .76rem var(--titre); text-align: left; }
.ex-table th[scope="row"] { width: 14rem; padding: .9rem 1rem; vertical-align: top; text-align: left; }
.ex-table td { padding: .9rem 1rem; vertical-align: top; }
.ex-table tbody tr { border-top: 1px solid var(--trait-n); }
.ex-table tbody tr:hover { background: #fafbfc; }
.ex-nom { padding: 0; border: 0; background: none; font: 800 .95rem/1.25 var(--titre); color: var(--nuit); text-align: left; text-decoration: underline; text-decoration-color: var(--dore); text-underline-offset: 3px; cursor: pointer; }
.ex-nom:hover, .ex-nom:focus-visible { color: var(--dore-texte); outline: none; }
.ex-table th small { display: block; margin-top: .2rem; font: 400 .76rem var(--texte, inherit); color: var(--texte-n2); }
.ex-liste { display: grid; gap: .65rem; }
.ex-liste li { padding-left: .9rem; border-left: 2px solid var(--dore); }
.ex-src { display: block; margin-top: .15rem; font-size: .74rem; color: var(--texte-n2); }
.ex-src a { color: var(--nuit); }
.ex-vide th .ex-nom { color: #8b91a0; text-decoration-color: var(--trait-n); font-weight: 700; }
.ex-aucune { font-size: .82rem; font-style: italic; color: #8b91a0; }
.ex-note { margin: 1rem 0 0; font-size: .78rem; color: var(--texte-n2); }
@media (max-width: 700px) {   /* téléphone : une carte par candidat */
	.ex-table thead { display: none; }
	.ex-table, .ex-table tbody, .ex-table tr, .ex-table th, .ex-table td { display: block; width: auto !important; }
	.ex-table th[scope="row"] { padding: .9rem 1rem .3rem; }
	.ex-table td { padding: .3rem 1rem 1rem; }
	.ex-vide td { padding-top: 0; }
}
.pr .ex-liste li { padding-left: .9rem; }
.ex-sujet-menu { display: none; }
@media (max-width: 700px) { .ex-onglets { display: none; } .ex-sujet-menu { display: grid; } .ex-filtres .pr-select, .ex-filtres select { width: 100%; } }
/* Comparer au format léger de l'Explorer (19 oct. 2026) */
.ex-onglets--court { margin-bottom: 1rem; }
.ex-attente { margin: 0; padding: 1.6rem 1rem; font-size: .9rem; color: var(--texte-n2); text-align: center; }
.ex-rien { margin: .9rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--texte-n2); }
.ex-rien:empty { display: none; }
.ex-rien b { font-weight: 600; color: var(--encre); }
.ex-table--comp { table-layout: fixed; }
.ex-table--comp thead th:first-child { width: 11rem; }
.ex-table--comp th[scope="row"] { width: 11rem; font: 700 .86rem/1.3 var(--titre); color: var(--nuit); }
.ex-nom--blanc { color: #fff; text-decoration-color: var(--dore); }
.ex-nom--blanc:hover, .ex-nom--blanc:focus-visible { color: var(--dore); }
@media (max-width: 700px) {
	.ex-table--comp th[scope="row"] { background: var(--gris-n); padding: .7rem 1rem; }
	.ex-table--comp td { padding-top: .8rem; }
	.ex-table--comp td::before { content: attr(data-label); display: block; margin-bottom: .4rem; font: 800 .8rem var(--titre); color: var(--nuit); }
}
.ex-liste--suite { margin-top: .65rem; }
.ex-plus { margin-top: .6rem; padding: .3rem .8rem; border: 1px solid #cfd4de; border-radius: 999px; background: #fff; font: 700 .76rem var(--titre); color: var(--nuit); cursor: pointer; }
.ex-plus:hover, .ex-plus:focus-visible { border-color: var(--nuit); outline: none; }
/* « Pour vous » : une ligne par mesure, « + » pour la fiche (19 oct. 2026) */
.pr-lignes { display: grid; gap: 0; margin-top: .4rem !important; }
.pr .pr-lignes li { display: flex; align-items: baseline; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--trait-n); font-size: .92rem; line-height: 1.5; }
.pr-lignes li:last-child { border-bottom: 0; }
.pr-lignes b { flex: 0 0 auto; color: var(--nuit); }
.pr-plus { flex: 0 0 auto; margin-left: auto; display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid #cfd4de; border-radius: 50%; background: #fff; font: 700 1rem/1 var(--titre); color: var(--nuit); cursor: pointer; }
.pr-plus:hover, .pr-plus:focus-visible { background: var(--nuit); border-color: var(--nuit); color: #fff; outline: none; }
@media (max-width: 600px) { .pr .pr-lignes li { flex-wrap: wrap; } .pr-lignes b { flex-basis: 100%; } .pr-plus { margin-left: 0; } }

/* Présidentielle 2027 : « Pour vous » plus visuel (19 oct. 2026, js/pr-pourvous.js) */
#vue-pour-vous .pr-profils { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .7rem; }
#vue-pour-vous .pr-profil { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; min-height: 7.2rem; padding: 1rem; border: 1px solid #dfe3ec; border-radius: 12px; background: #fff; text-align: left; font: 700 .86rem/1.3 var(--titre); color: var(--nuit); cursor: pointer; transition: transform .15s, box-shadow .15s; }
#vue-pour-vous .pr-profil:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16,27,52,.08); border-color: var(--dore); }
#vue-pour-vous .pr-profil[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.pv-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #f6efe1; color: #8c6a2f; }
.pv-ic svg { width: 1.4rem; height: 1.4rem; }
.pr-profil[aria-pressed="true"] .pv-ic { background: var(--dore); color: var(--nuit); }
#vue-pour-vous .pr-profil__bloc > .ls-titre { font-size: 1.4rem; }
#vue-pour-vous .pr-profil__bloc { display: grid; gap: 1rem; }
@media (min-width: 900px) { #vue-pour-vous .pr-profil__bloc { grid-template-columns: 1fr 1fr; } #vue-pour-vous .pr-profil__bloc > .ls-titre { grid-column: 1 / -1; } }
#vue-pour-vous .pr-profil__theme { margin: 0; padding: 1rem 1.1rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-top: 3px solid var(--dore); border-radius: 0 0 12px 12px; }
#vue-pour-vous .pr-profil__theme h4 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin: 0 0 .6rem; font: 800 1.05rem var(--titre); color: var(--nuit); }
.pv-compte { font: 600 .72rem var(--titre); color: #8c6a2f; background: #f6efe1; padding: .15rem .55rem; border-radius: 999px; }
#vue-pour-vous .pr-profil__lecture { position: relative; margin: 0 0 .9rem; padding: .7rem .8rem .7rem 2.6rem; background: #f5f7fb; border-radius: 8px; font-size: .84rem; line-height: 1.5; color: #2a3247; }
#vue-pour-vous .pr-profil__lecture::before { content: "💡"; position: absolute; left: .8rem; top: .6rem; font-size: 1.1rem; }
#vue-pour-vous .pr-profil__lecture .n-etiquette { display: block; margin-bottom: .15rem; }
.pv-cands { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }
.pv-cand { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .35rem .25rem .25rem; border: 1px solid #dfe3ec; border-radius: 999px; background: #fff; font: 600 .74rem var(--titre); color: var(--nuit); cursor: pointer; }
.pv-cand i { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #eef0f4; font: 800 .58rem var(--titre); font-style: normal; }
.pv-cand b { display: grid; place-items: center; min-width: 1.2rem; height: 1.2rem; padding: 0 .25rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font-size: .62rem; }
.pv-cand[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.pv-cand[aria-selected="true"] i { background: var(--dore); color: var(--nuit); }
.pv-cand[aria-selected="true"] b { background: #fff; color: var(--nuit); }
.pv-corps ul.pv-liste { margin: 0; padding: 0; list-style: none; }
.pv-corps ul.pv-liste li { position: relative; margin: 0; padding: .55rem 2.2rem .55rem .8rem; border-left: 3px solid var(--dore); background: #fbfaf7; font-size: .86rem; line-height: 1.45; color: #2a3247; animation: pv-in .25s ease; }
.pv-corps ul.pv-liste li + li { margin-top: .35rem; }
.pv-corps ul.pv-liste li::before { content: none; }
.pv-corps ul.pv-liste .pr-plus { position: absolute; right: .5rem; top: .5rem; }
@keyframes pv-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pv-corps ul.pv-liste li { animation: none; } #vue-pour-vous .pr-profil { transition: none; } }

/* Présidentielle 2027, version simple (19 oct. 2026) */
.ps { padding: 0 0 3rem; background: #f4f5f8; }
.ps-plan { position: sticky; top: 0; z-index: 5; display: flex; gap: .3rem; overflow-x: auto; margin: 0 -1rem 1.5rem; padding: .7rem 1rem; background: rgba(244,245,248,.95); backdrop-filter: blur(6px); border-bottom: 1px solid #e3e7ef; scrollbar-width: none; }
.ps-plan a { flex: none; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #dfe3ec; font: 700 .78rem var(--titre); color: var(--nuit); text-decoration: none; }
.ps-plan a:hover { background: var(--nuit); color: #fff; }
.ps-sec { position: relative; margin: 0 0 3rem; scroll-margin-top: 4rem; }
.ps-num { margin: 0; font: 800 3.4rem/1 var(--titre); color: var(--dore); opacity: .5; }
.ps-sec h2 { margin: -.4rem 0 .5rem; font: 800 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.15 var(--titre); color: var(--nuit); }
.ps-lead { max-width: 46rem; margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.55; color: #4a5164; }
.ps-note { margin: .8rem 0 0; font-size: .76rem; color: #7a8297; }
.ps-qs { display: grid; gap: 1rem; }
@media (min-width: 900px) { .ps-qs { grid-template-columns: 1fr 1fr; } .ps-q--large { grid-column: 1 / -1; } }
.ps-q { padding: 1.2rem 1.3rem; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(16,27,52,.06); }
.ps-q__t { margin: 0; font: 800 1.15rem/1.25 var(--titre); color: var(--nuit); }
.ps-q__s { margin: .2rem 0 1rem; font-size: .82rem; color: #7a8297; }
.ps-camps { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .6rem; }
@media (max-width: 560px) { .ps-camps { grid-template-columns: 1fr; } }
.ps-camp { padding: .7rem; border-radius: 10px; background: #f4f5f8; }
.ps-camp--pour { background: #eaf4ee; } .ps-camp--contre { background: #fbecea; } .ps-camp--milieu { background: #f6efe1; }
.ps-camp__t { margin: 0 0 .5rem; font: 800 .78rem var(--titre); color: var(--nuit); }
.ps-camp--pour .ps-camp__t { color: #1e6b3f; } .ps-camp--contre .ps-camp__t { color: #a3271c; } .ps-camp--milieu .ps-camp__t { color: #8c6a2f; }
.ps-vs { display: flex; flex-wrap: wrap; gap: .35rem; }
.ps-v { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem .2rem .2rem; border-radius: 999px; background: #fff; border: 1px solid #fff; font: 700 .72rem var(--titre); color: var(--nuit); text-decoration: none; }
.ps-v i { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--nuit); color: #fff; font: 800 .58rem var(--titre); font-style: normal; }
.ps-v--parti { border: 1px dashed #9aa0ae; background: transparent; }
.ps-v--parti i { background: #9aa0ae; }
.ps-v:hover { border-color: var(--dore); }
.ps-os { display: grid; gap: .5rem; }
.ps-o { display: grid; grid-template-columns: 11rem 1fr 11rem; gap: .8rem; align-items: center; font-size: .82rem; }
.ps-o__n { font: 700 .82rem var(--titre); color: var(--nuit); }
.ps-o__p { height: 1rem; background: #f2f3f6; border-radius: 3px; }
.ps-o__p > span { display: block; height: 100%; background: var(--dore); border-radius: 3px; }
.ps-o__v { font: 800 .9rem var(--titre); color: var(--nuit); }
.ps-o__v small { display: block; font: 400 .68rem var(--texte, inherit); color: #7a8297; }
.ps-o--reel .ps-o__p > span { background: var(--nuit); }
.ps-o--reel .ps-o__n { color: #b3261e; }
@media (max-width: 640px) { .ps-o { grid-template-columns: 1fr auto; } .ps-o__p { grid-column: 1 / -1; grid-row: 2; } .ps-o__v { text-align: right; } }
.ps-ss { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.ps-s { padding: .55rem 1rem; border: 1px solid #dfe3ec; border-radius: 999px; background: #fff; font: 700 .84rem var(--titre); color: var(--nuit); cursor: pointer; }
.ps-s:hover { border-color: var(--dore); }
.ps-s[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ps-res__t { margin: 0 0 .8rem; font-size: .9rem; color: #4a5164; }
.ps-cs { display: grid; gap: .8rem; }
@media (min-width: 760px) { .ps-cs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ps-cs { grid-template-columns: 1fr 1fr 1fr; } }
.ps-cc { padding: 1rem 1.1rem; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,27,52,.06); animation: ps-in .25s ease; }
@keyframes ps-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ps-cc__nom, .ps-f summary { display: flex; align-items: center; gap: .5rem; font: 800 .95rem var(--titre); color: var(--nuit); text-decoration: none; }
.ps-cc__nom i, .ps-f summary i { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--nuit); color: #fff; font: 800 .66rem var(--titre); font-style: normal; }
.ps-cc__nom b, .ps-f summary b { margin-left: auto; display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .3rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font-size: .72rem; }
.ps ul { margin: .6rem 0 0; padding: 0; list-style: none; }
.ps li { margin: 0; padding: .55rem 0; border-top: 1px solid #f0f2f6; font-size: .86rem; line-height: 1.45; color: #2a3247; }
.ps li::before { content: none; }
.ps-src { display: block; margin-top: .2rem; font-size: .7rem; color: #9aa0ae; }
.ps-src a { color: #8c6a2f; }
.ps-tag { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border: 1px dashed #9aa0ae; border-radius: 999px; font-size: .62rem; color: #7a8297; vertical-align: .1rem; }
.ps-obj { display: block; margin-top: .15rem; font-weight: 700; color: var(--nuit); font-size: .8rem; }
.ps-plus summary { margin-top: .3rem; cursor: pointer; font: 700 .78rem var(--titre); color: #8c6a2f; }
.ps-fs { display: grid; gap: .5rem; }
@media (min-width: 900px) { .ps-fs { grid-template-columns: 1fr 1fr; align-items: start; } }
.ps-f { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,27,52,.06); scroll-margin-top: 4.5rem; }
.ps-f summary { padding: .8rem 1rem; cursor: pointer; list-style: none; }
.ps-f summary::-webkit-details-marker { display: none; }
.ps-f__nom small { display: block; font: 400 .72rem var(--texte, inherit); color: #7a8297; }
.ps-f__sujets { display: none; font: 400 .72rem var(--texte, inherit); color: #9aa0ae; }
@media (min-width: 1200px) { .ps-f__sujets { display: block; margin-left: auto; text-align: right; max-width: 12rem; } .ps-f summary b { margin-left: .5rem; } }
.ps-f[open] summary { border-bottom: 1px solid #f0f2f6; }
.ps-f[open] summary i { background: var(--dore); color: var(--nuit); }
.ps-f__corps { padding: .3rem 1rem 1rem; }
.ps-f__th > p { margin: .9rem 0 0; font: 800 .68rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8c6a2f; }
.ps-gs { display: grid; gap: 1rem; }
@media (min-width: 900px) { .ps-gs { grid-template-columns: repeat(3, 1fr); } }
.ps-g { margin: 0; padding: 1.1rem 1.2rem; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,27,52,.06); }
.ps-g__t { margin: 0; font: 700 .86rem var(--titre); color: #4a5164; }
.ps-g__v { margin: .2rem 0 .8rem; font: 800 1.8rem var(--titre); color: var(--nuit); }
.ps-g__v small { font: 400 .8rem var(--texte, inherit); color: #7a8297; }
.ps-cols { display: flex; align-items: flex-end; gap: 4px; height: 7rem; }
.ps-c { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.ps-c__b { display: block; border-radius: 3px 3px 0 0; opacity: .35; }
.ps-c--der .ps-c__b { opacity: 1; }
.ps-c__a { margin-top: .25rem; text-align: center; font-size: .6rem; color: #9aa0ae; }
.ps-g figcaption { margin-top: .7rem; font-size: .7rem; color: #9aa0ae; }
.ps-g figcaption a { color: #8c6a2f; }
.ps-sec--sources p { max-width: 46rem; font-size: .9rem; line-height: 1.6; color: #4a5164; }
.ps-sec--sources a { color: #8c6a2f; }
@media (prefers-reduced-motion: reduce) { .ps-cc { animation: none; } }
/* Présidentielle simple : une couleur par candidat (19 oct. 2026) */
.ps-v i, .ps-cc__nom i, .ps-f summary i { background: var(--cc, var(--nuit)) !important; color: #fff !important; }
.ps-v--parti i { opacity: .55; }
.ps-v { border-color: color-mix(in srgb, var(--cc, #fff) 0%, #fff); }
.ps-v:has(i) { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 0%, transparent); }
.ps-cc { border-top: 4px solid var(--cc, var(--nuit)); }
.ps-cc li { border-left: 3px solid color-mix(in srgb, var(--cc, var(--nuit)) 35%, transparent); padding-left: .6rem; }
.ps-f { border-left: 5px solid var(--cc, var(--nuit)); }
.ps-f[open] summary i { background: var(--cc) !important; }
.ps-o .ps-o__p > span { background: var(--cc, var(--dore)); }
.ps-o__n i { display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 50%; background: var(--cc); vertical-align: -.02rem; }
.ps-o--reel .ps-o__n i { display: none; }
.ps-o--reel .ps-o__p > span { background: var(--nuit) !important; }
.ps-os .ps-note { margin: 0; }
/* Présidentielle 2027 : onglet « Le récap » (19 oct. 2026) — ronds bleu nuit seulement, pas de vert/rouge (neutralité) */
.rc-defile { overflow-x: auto; border: 1px solid var(--trait-n); background: #fff; -webkit-overflow-scrolling: touch; }
.rc-defile:focus-visible { outline: 2px solid var(--dore); }
.rc-table { width: 100%; min-width: 52rem; margin: 0; border-collapse: collapse; }
.rc-table thead th { padding: .9rem .4rem .7rem; vertical-align: bottom; background: var(--nuit); color: #fff; font: 700 .74rem/1.25 var(--titre); text-align: center; }
.rc-table thead th span { display: block; max-width: 8.5rem; margin: 0 auto; }
.rc-table thead th:first-child { text-align: left; padding-left: 1rem; }
.rc-table th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 12rem; padding: .55rem 1rem; background: #fff; text-align: left; white-space: nowrap; border-right: 1px solid var(--trait-n); }
.rc-table tbody tr { border-top: 1px solid var(--trait-n); }
.rc-table tbody tr:nth-child(even), .rc-table tbody tr:nth-child(even) th { background: #fafbfc; }
.rc-table td { padding: .45rem .3rem; text-align: center; vertical-align: middle; }
/* 28 oct. 2026 : pastilles limitées à leur tableau — le « .rc » seul rétrécissait le conteneur de vos-recours.html (classe « rc ») */
.rc-table .rc { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font: 800 .95rem/1 var(--titre); }
.rc-table button.rc { padding: 0; cursor: pointer; transition: transform .12s; }
.rc-table button.rc:hover, .rc-table button.rc:focus-visible { transform: scale(1.15); outline: 2px solid var(--dore); outline-offset: 2px; }
.rc--oui { border: 2px solid var(--nuit); background: var(--nuit); color: #fff; }
.rc--non { border: 2px solid var(--nuit); background: #fff; color: var(--nuit); }
.rc--parti { border-style: dashed; background: #fff; color: var(--nuit); }
.rc--rien { width: auto; height: auto; color: #b9bfcc; font-size: 1.3rem; }
.rc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rc-legende { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1rem 0 0 !important; font-size: .82rem; color: var(--texte-n2); }
.pr .rc-legende li { display: flex; align-items: center; gap: .5rem; }
.rc-legende .rc { width: 1.5rem; height: 1.5rem; font-size: .78rem; }
@media (prefers-reduced-motion: reduce) { button.rc { transition: none; } }
@media (max-width: 600px) { .rc-table th[scope="row"] { width: auto; padding: .5rem .6rem; font-size: .86rem; } .rc-table th[scope="row"] .ex-nom { font-size: .84rem; } }
.pr .rc-defile { padding: 0; }
.pr .rc-table { margin: 0 !important; }
.pr .rc-table caption { display: none; }
.pr .rc-defile .table-scroll { margin: 0; padding: 0; border: 0; box-shadow: none; overflow: visible; }
.pr .rc-defile .table-scroll::before, .pr .rc-defile .table-scroll::after { content: none; display: none; }
.pr .rc-table thead th:first-child { background: var(--nuit) !important; color: #fff; }
/* Chiffres clés, onglet France : séries du dossier Présidentielle (outils/chiffres-cles-france-series.py, 19 oct. 2026) */
.cc-dpe-liste { display: grid; gap: .35rem; margin: .4rem 0 .8rem !important; padding: 0; }
.proto-texte .cc-dpe-liste li, .cc-dpe-liste li { display: grid; grid-template-columns: 1.6rem 1fr 3.4rem; align-items: center; gap: .6rem; margin: 0; padding: 0; }
.proto-texte .cc-dpe-liste li::before { content: none; display: none; }
.cc-dpe__l { display: grid; place-items: center; height: 1.6rem; border-radius: 3px; font: 800 .85rem var(--titre); color: #fff; }
.cc-dpe__b { height: 1.1rem; border-radius: 2px; }
.cc-dpe__v { font: 700 .82rem var(--titre); color: var(--nuit); text-align: right; font-variant-numeric: tabular-nums; }
.cc-dpe--a .cc-dpe__l, .cc-dpe--a .cc-dpe__b { background: #009c6d; }
.cc-dpe--b .cc-dpe__l, .cc-dpe--b .cc-dpe__b { background: #52b153; }
.cc-dpe--c .cc-dpe__l, .cc-dpe--c .cc-dpe__b { background: #78bd76; }
.cc-dpe--d .cc-dpe__l, .cc-dpe--d .cc-dpe__b { background: #c4b200; }
.cc-dpe--e .cc-dpe__l, .cc-dpe--e .cc-dpe__b { background: #e4a400; }
.cc-dpe--f .cc-dpe__l, .cc-dpe--f .cc-dpe__b { background: #e46a17; }
.cc-dpe--g .cc-dpe__l, .cc-dpe--g .cc-dpe__b { background: #d7221f; }
.proto-texte ul.cc-liste { margin: .4rem 0 1.2rem; padding: 0; }
.proto-texte ul.cc-liste li { margin: 0 0 .5rem; padding-left: .9rem; border-left: 2px solid var(--dore); font-size: .9rem; line-height: 1.5; }
.proto-texte ul.cc-liste li::before { content: none; display: none; }

/* Présidentielle simple : le récap (19 oct. 2026) */
.rc2 { margin: 0 0 1.2rem; }
.rc2__defile { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(16,27,52,.06); }
.rc2__t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .8rem; }
.rc2__t thead th { padding: 1rem .4rem .8rem; vertical-align: bottom; border-bottom: 1px solid #eef0f4; background: #fff; }
.rc2__coin { text-align: left; padding-left: 1.1rem !important; font: 700 .7rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ae; }
.rq { display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 6.4rem; text-align: center; }
.rq svg { width: 1.8rem; height: 1.8rem; padding: .35rem; border-radius: 50%; background: #f6efe1; color: #8c6a2f; box-sizing: content-box; }
.rq b { font: 800 .76rem/1.25 var(--titre); color: var(--nuit); }
.rq__n { display: flex; gap: .25rem; }
.rq__n i { font: 700 .6rem var(--titre); font-style: normal; padding: .05rem .4rem; border-radius: 999px; }
.rq__o { background: #eaf4ee; color: #1e6b3f; } .rq__x { background: #fbecea; color: #a3271c; }
.rc2__t tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; padding: .35rem .8rem .35rem 1.1rem; border-left: 4px solid var(--cc); }
.rc2__t tbody th a { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--nuit); }
.rc2__t tbody th i { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cc); color: #fff; font: 800 .64rem var(--titre); font-style: normal; }
.rc2__t tbody th span { font: 800 .84rem/1.15 var(--titre); white-space: nowrap; }
.rc2__t tbody th small { display: block; font: 400 .66rem var(--texte, inherit); color: #9aa0ae; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.rc2__t tbody th a:hover span { text-decoration: underline; }
.rc2__t td { text-align: center; padding: .35rem .3rem; border-top: 1px solid #f3f4f7; }
.rc2__t tbody tr:hover td, .rc2__t tbody tr:hover th { background: #fafbfd; }
.rr { display: inline-grid; place-items: center; min-width: 3rem; height: 1.8rem; padding: 0 .55rem; border-radius: 999px; border: 2px solid transparent; font: 800 .72rem var(--titre); cursor: pointer; transition: transform .12s; }
.rr--oui { background: var(--cc, var(--nuit)); color: #fff; }
.rr--non { background: #fff; border-color: #c8473b; color: #b42318; }
.rr--parti { background: #fff; border: 2px dashed var(--cc, var(--nuit)); color: var(--cc, var(--nuit)); }
.rr--non.rr--parti { border-color: #c8473b; color: #b42318; }
.rr--rien { min-width: .45rem; width: .45rem; height: .45rem; padding: 0; background: #dfe3ec; cursor: default; }
button.rr:hover, .rr--on { transform: scale(1.12); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dore); }
.rc2__leg { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .8rem 0 0; font-size: .74rem; color: #5b6070; }
.rc2__leg > span { display: inline-flex; align-items: center; gap: .4rem; }
.rc2__leg .rr { min-width: 2.4rem; height: 1.4rem; font-size: .62rem; cursor: default; }
.rc2__leg .rr--rien { min-width: .45rem; height: .45rem; }
.rc2__pop { position: fixed; z-index: 50; padding: .9rem 1rem .8rem; background: #fff; border-radius: 12px; border-top: 4px solid var(--cc, var(--dore)); box-shadow: 0 12px 34px rgba(16,27,52,.22); animation: ps-in .18s ease; }
.ps .rc2__pop p { margin: 0; }
.ps .rc2__q { font: 700 .66rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8c6a2f; padding-right: 1.6rem; }
.ps .rc2__n { margin: .2rem 0 .45rem !important; font: 800 .95rem var(--titre); color: var(--nuit); }
.rc2__oui { color: #1e6b3f; } .rc2__non { color: #b42318; }
.ps .rc2__m { font-size: .86rem; line-height: 1.45; color: #2a3247; }
.rc2__x { position: absolute; top: .5rem; right: .5rem; width: 1.8rem; height: 1.8rem; border: 1px solid #dfe3ec; border-radius: 50%; background: #fff; cursor: pointer; font-size: 1rem; }
.ps-qs--seul { grid-template-columns: 1fr !important; }
.rc2__t thead th { vertical-align: top; }
@media (max-width: 700px) {
  .rc2__t tbody th { padding: .3rem .5rem .3rem .6rem; }
  .rc2__t tbody th small { display: none; }
  .rc2__t tbody th span { font-size: .74rem; white-space: normal; max-width: 6.5rem; }
  .rc2__t tbody th i { width: 1.6rem; height: 1.6rem; font-size: .56rem; }
  .rq { min-width: 5rem; } .rq b { font-size: .68rem; }
  .rc2__coin { padding-left: .6rem !important; }
}
.rc2__coin { position: sticky; left: 0; z-index: 2; } .rq__n { flex-wrap: wrap; justify-content: center; } .rq__n i { white-space: nowrap; }
/* Chiffres clés : colonnes Île-de-France et France lisibles au survol (js/ls25.js, 19 oct. 2026) */
.cc-cols { position: relative; }
.cc-col[tabindex] { cursor: pointer; outline: none; }
.cc-col[tabindex]:focus-visible .cc-col__b { outline: 2px solid var(--dore); outline-offset: 2px; }
.cc-col--survol .cc-col__b { background: var(--nuit) !important; }
.cc-col--survol .cc-col__v { visibility: hidden; }
.cc-bulle { position: absolute; z-index: 3; left: 0; top: 0; padding: .3rem .55rem; border-radius: 4px; background: var(--nuit); color: #fff; font: 700 .74rem/1.3 var(--titre); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -100%); transition: opacity .12s; }
.cc-bulle::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--nuit); transform: translateX(-50%) rotate(45deg); }
.cc-bulle--vue { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cc-bulle { transition: none; } }
.cc-cols:has(.cc-col--survol) .cc-col--fort:not(.cc-col--survol) .cc-col__b { background: #c3cbda; }
@media (max-width: 640px) { [data-page="logements-sociaux-vacants-paris"] .n-repart__leg { grid-template-columns: 1fr 1fr !important; gap: .8rem; } }
[data-page="logements-sociaux-vacants-paris"] .proto-texte .n-deux p.n-deux__titre { font: 800 1.25rem/1.25 var(--titre); color: var(--nuit); }
/* Actualités : 5 rapports Ancols (CDC Habitat ajouté le 20 oct. 2026) */
@media (min-width: 1100px) { .n-essentiel--5 { grid-template-columns: repeat(5, 1fr); } }
/* Chiffres clés, L'essentiel : PLAI, PLUS, PLS dans tout le parc, onglets Paris / Île-de-France sans script (20 oct. 2026) */
.lc-ligne { display: block; }
.lc { margin-top: .4rem; }
.lc > input { position: absolute; opacity: 0; pointer-events: none; }
.lc-onglets { display: inline-flex; gap: 0; margin-bottom: 1rem; padding: 3px; border-radius: 999px; background: var(--gris-n, #eef1f6); }
.lc-onglets label { padding: .45rem 1.1rem; border-radius: 999px; font: 700 .84rem var(--titre); color: var(--texte-n2, #5b6070); cursor: pointer; }
#lc-paris:checked ~ .lc-onglets label[for="lc-paris"], #lc-idf:checked ~ .lc-onglets label[for="lc-idf"] { background: var(--nuit); color: #fff; }
#lc-paris:focus-visible ~ .lc-onglets label[for="lc-paris"], #lc-idf:focus-visible ~ .lc-onglets label[for="lc-idf"] { outline: 2px solid var(--dore); outline-offset: 2px; }
.lc-panneau { display: none; }
#lc-paris:checked ~ .lc-panneau--paris, #lc-idf:checked ~ .lc-panneau--idf { display: block; }
.lc-barre { display: flex; gap: 2px; height: 14px; margin-bottom: 1rem; border-radius: 4px; overflow: hidden; }
.lc--plai { background: var(--plai, #101b34); } .lc--plus { background: var(--plus, #5a76a6); } .lc--pls { background: var(--pls, #c9a35b); } .lc--pli { background: #b9c0cf; }
.lc-tab { width: 100%; max-width: 40rem; margin: 0; border-collapse: collapse; font-size: .92rem; }
.lc-tab th, .lc-tab td { padding: .6rem .5rem; border: 0; border-bottom: 1px solid var(--trait-n, #e3e7ef); background: none; }
.lc-tab thead th { font: 700 .7rem var(--titre); letter-spacing: .05em; text-transform: uppercase; color: var(--texte-n2, #5b6070); }
.lc-tab thead th + th, .lc-tab td { text-align: right; font-variant-numeric: tabular-nums; }
.lc-tab tbody th { font: 700 .95rem var(--titre); color: var(--nuit); text-align: left; }
.lc-tab tbody th i { display: inline-block; width: .7rem; height: .7rem; margin-right: .55rem; border-radius: 2px; vertical-align: -.05rem; }
.lc-tab tbody th small { margin-left: .5rem; font: 400 .8rem var(--texte, inherit); color: var(--texte-n2, #5b6070); }
.lc-tab td b { font: 800 1rem var(--titre); color: var(--nuit); }
.lc-tab tfoot th, .lc-tab tfoot td { border-bottom: 0; font-weight: 700; color: var(--nuit); text-align: right; }
.lc-tab tfoot th { text-align: left; }
@media (max-width: 600px) { .lc-tab tbody th small { display: block; margin: .15rem 0 0 1.25rem; } }
.lc { max-width: 44rem; } .lc-tab { max-width: none; }
/* Chiffres clés, L'essentiel : « En bref » en bas, sur toute la largeur, deux colonnes sur grand écran (20 oct. 2026) */
.bref-ligne { margin-top: 1.4rem; }
@media (min-width: 900px) { .bref-ligne .ls-bref { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.4rem; } }
/* Rénovation environnementale des logements (renovation-environnementale-paris.html, 21 oct. 2026) : même outil que la RIVP */
.re-etat { display: inline-block; padding: .05rem .4rem; border-radius: 3px; font: 700 .68rem var(--titre); white-space: nowrap; }
.re-etat--livree { background: #e8edf6; color: var(--nuit); }
.re-etat--cours { background: #f7eedb; color: #7a5a14; }
.re-etat--venir { background: #f1f2f5; color: #5b6070; }
.re-gain { display: block; font: 800 .95rem var(--titre); color: var(--nuit); }
.re-gain--neg { color: #b42318; }
.ls-tab--re td small { display: block; font-size: .72rem; color: var(--texte-n2, #5b6070); white-space: nowrap; }
.ls-opcarte .re-pt--venir { stroke: #5f7398; stroke-width: 1.4; }
.re-lire { margin-top: 1.2rem; }
/* Rénovation : onglet « Analyse par bailleur » (21 oct. 2026) */
.re-onglets { margin-bottom: 1.2rem; }
.re-an__defile { overflow-x: auto; border: 1px solid var(--trait-n, #e3e7ef); background: #fff; }
.re-an__tab { width: 100%; min-width: 46rem; margin: 0; border-collapse: collapse; font-size: .86rem; }
.re-an__tab th, .re-an__tab td { padding: .55rem .7rem; border: 0; border-bottom: 1px solid var(--trait-n, #e3e7ef); background: none; vertical-align: top; text-align: left; }
.re-an__tab thead th { background: var(--nuit); color: #fff; font: 700 .7rem var(--titre); letter-spacing: .04em; text-transform: uppercase; }
.re-an__tab .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.re-an__tab tbody th { font: 700 .86rem var(--titre); color: var(--nuit); }
.re-an__tab small { display: block; font: 400 .7rem var(--texte, inherit); color: var(--texte-n2, #5b6070); }
.re-an__barre { min-width: 11rem; }
.re-an__piste { display: block; height: 6px; margin-bottom: .3rem; border-radius: 3px; background: var(--gris-n, #eef1f6); }
.re-an__piste span { display: block; height: 100%; border-radius: 3px; background: var(--nuit); }
.re-an__prive th, .re-an__prive td { background: #fafbfc; }
.re-an__prive .re-an__piste span { background: var(--dore); }
.re-an__tab tfoot th, .re-an__tab tfoot td { border-bottom: 0; font-weight: 700; color: var(--nuit); background: #f4f6fa; }
.re-an__raisons { margin: .5rem 0; padding-left: 1.1rem; font-size: .86rem; line-height: 1.5; }
.pr .re-an__defile .table-scroll, .re-an__defile .table-scroll { margin: 0; }
/* Rénovation : « De quand à quand ? » (21 oct. 2026) */
.re-periode { margin: 0 0 1.2rem; padding: .8rem 1rem; border-left: 3px solid var(--dore); background: #f7f8fb; font-size: .9rem; line-height: 1.55; color: var(--nuit); }
/* Rénovation : onglet « Objectif et réalité » (21 oct. 2026) */
.re-or__t { margin: 1.6rem 0 .6rem; font: 700 1.05rem var(--titre); color: var(--nuit); }
.re-or__points { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.re-or__points li { padding: .7rem 1rem; border-left: 3px solid var(--dore); background: #f7f8fb; font-size: .92rem; line-height: 1.55; }
.re-or__points li b { color: var(--nuit); }
.re-or__points a, .re-or__tab a { color: inherit; font-size: .8rem; white-space: nowrap; }
.re-or__tab { min-width: 40rem; }
.re-or h3.re-or__t { padding: 0; border: 0; background: none; color: var(--nuit); text-transform: none; letter-spacing: 0; }

/* Rénovation environnementale : les 3 onglets refaits en graphiques (21 oct. 2026) */
.re-quand { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.re-quand > span { display: grid; gap: .1rem; padding: .5rem .8rem; border-radius: 6px; background: #f4f6fa; border-left: 3px solid var(--dore); }
.re-quand small { font: 600 .66rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.re-quand b { font: 800 .98rem var(--titre); color: var(--nuit); }
.ls25 .re-quand p { flex-basis: 100%; margin: .1rem 0 0; font-size: .76rem; color: #7a8297; }
.re-alerte { display: inline-block; margin-left: .3rem; padding: .1rem .5rem; border-radius: 999px; background: #f7eedb; color: #7a5a14; font: 700 .76rem var(--titre); }

/* barre d'avancement */
.re-av { margin: .4rem 0 1.4rem; }
.re-av__barre { display: flex; gap: 2px; height: 14px; border-radius: 3px; overflow: hidden; background: #eef1f6; }
.re-av--grand .re-av__barre { height: 22px; }
.re-av__liv { background: var(--nuit); }
.re-av__cours { background: var(--dore); }
.re-av__venir { background: #c3cbda; }
.re-av__leg { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: .5rem 0 0 !important; font-size: .82rem; color: #4a5164; }
.re-av__leg > span { display: inline-flex; align-items: center; gap: .35rem; }
.re-av__leg i { width: .7rem; height: .7rem; border-radius: 2px; display: inline-block; }
.re-av__leg b { color: var(--nuit); font-family: var(--titre); }
.re-av__leg small { color: #7a8297; }

/* tuiles */
.re-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1.2rem; }
.re-tuiles > div { display: grid; gap: .15rem; padding: .9rem 1rem; border-radius: 8px; background: #fff; border: 1px solid #e3e7ef; }
.re-tuiles small { font: 600 .66rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.re-tuiles b { font: 800 1.6rem/1.1 var(--titre); color: var(--nuit); }
.re-tuiles span { font-size: .78rem; color: #5b6070; }
.re-tuiles .re-tuiles--or { background: var(--nuit); border-color: var(--nuit); }
.re-tuiles .re-tuiles--or b { color: var(--dore); }
.re-tuiles .re-tuiles--or small, .re-tuiles .re-tuiles--or span { color: #c3cbda; }
@media (max-width: 760px) { .re-tuiles { grid-template-columns: 1fr 1fr; } .re-tuiles b { font-size: 1.3rem; } }

/* classement des bailleurs */
.ls25 .re-or__t { margin: 1.6rem 0 .6rem; font: 700 1.05rem var(--titre); color: var(--nuit); }
.re-or__st { margin-left: .4rem; font: 600 .74rem var(--titre); color: #7a8297; }
.ls25 .re-bl__tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 0 0 .3rem; }
.re-bl__tete .re-av__leg { margin: 0 !important; }
.re-bl__tete-g { font: 600 .66rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.ls25 ol.re-bl { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e7ef; }
.re-bl__l { display: grid; grid-template-columns: 1.6rem minmax(9rem, 14rem) 1fr 5.6rem 3.6rem; gap: .8rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid #eef1f6; }
.re-bl__l:hover { background: #f8f9fc; }
.re-bl__rang { font: 800 .8rem var(--titre); color: #b6bdcc; text-align: center; }
.re-bl__nom { display: grid; min-width: 0; }
.re-bl__nom b { font: 700 .9rem/1.25 var(--titre); color: var(--nuit); }
.re-bl__nom small { font-size: .7rem; color: #7a8297; }
.re-bl__piste { display: block; }
.re-bl__pile { display: flex; gap: 1px; height: 16px; border-radius: 3px; overflow: hidden; min-width: 3px; }
.re-bl__n { display: grid; text-align: right; }
.re-bl__n b { font: 800 .98rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.re-bl__n small { font-size: .68rem; color: #7a8297; white-space: nowrap; }
.re-bl__gain { justify-self: end; padding: .15rem .45rem; border-radius: 999px; background: #e7f2ea; color: #1e6b3a; font: 800 .76rem var(--titre); white-space: nowrap; }
.re-bl__gain--vide { background: #f1f2f5; color: #9aa0ae; }
.re-bl--petits .re-bl__l { padding: .35rem 0; }
.re-bl--petits .re-bl__pile { height: 10px; }
.re-bl--petits .re-bl__nom b { font-size: .82rem; }
.re-bl--prive .re-bl__rang { color: var(--dore); }
.re-bl__plus { margin-top: .6rem; }
@media (max-width: 760px) {
  .re-bl__l { grid-template-columns: 1.3rem 1fr auto auto; gap: .2rem .6rem; }
  .re-bl__piste { grid-column: 2 / -1; grid-row: 2; }
  .re-bl__n { grid-column: 3; grid-row: 1; }
  .re-bl__gain { grid-column: 4; grid-row: 1; }
  .re-bl__tete-g { display: none; }
}

/* objectif */
.re-buts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.re-buts > div { display: grid; gap: .25rem; padding: 1.1rem 1.2rem; border-radius: 10px; background: var(--nuit); color: #fff; }
.re-buts small { font: 600 .68rem var(--titre); letter-spacing: .05em; text-transform: uppercase; color: #c3cbda; }
.re-buts b { font: 800 2.3rem/1 var(--titre); color: var(--dore); }
.re-buts b span { margin-left: .35rem; font-size: .95rem; color: #fff; }
.ls25 .re-buts p { margin: 0; font-size: .9rem; line-height: 1.4; color: #fff; }
.re-buts a, .re-cols__src a, .re-fait a { color: inherit; }
.re-buts > div > small:last-child { text-transform: none; letter-spacing: 0; font-weight: 400; }
@media (max-width: 640px) { .re-buts { grid-template-columns: 1fr; } }

.re-cols { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; height: 16rem; padding: 0 .4rem 3.2rem; border-bottom: 2px solid var(--nuit); margin-bottom: 3.4rem; }
.re-cols__obj { position: absolute; left: 0; right: 0; bottom: var(--obj); border-top: 2px dashed var(--dore); z-index: 1; font: 700 .72rem var(--titre); color: #8c6a2f; text-align: right; padding-top: .1rem; }
.re-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.re-col > b { font: 800 .95rem var(--titre); color: var(--nuit); margin-bottom: .3rem; }
.re-col__b { width: min(4.2rem, 80%); background: #8a98b4; border-radius: 4px 4px 0 0; }
.re-col--ok .re-col__b { background: var(--nuit); }
.re-col--ok > b { color: var(--nuit); }
.re-col__an { position: absolute; bottom: -1.7rem; font: 800 .9rem var(--titre); color: var(--nuit); }
.re-col small { position: absolute; bottom: -3.1rem; font-size: .68rem; color: #7a8297; white-space: nowrap; }
.re-cols { height: 14rem; padding-bottom: 0; }
.ls25 .re-cols__tot { margin: 0; font-size: .88rem; color: #4a5164; }
.re-cols__tot b { font-family: var(--titre); color: var(--nuit); }
.re-cols__src { display: block; margin-top: .3rem; font-size: .7rem; color: #9aa0ae; }
@media (max-width: 560px) { .re-cols { gap: .35rem; } .re-col > b { font-size: .78rem; } .re-col small { white-space: normal; text-align: center; font-size: .6rem; line-height: 1.2; } }

.re-faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.re-fait { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 3px solid var(--dore); }
.re-fait > b { font: 800 2rem/1 var(--titre); color: var(--nuit); }
.ls25 .re-fait p { margin: 0; font-size: .86rem; line-height: 1.45; color: #4a5164; }
.re-fait > small { margin-top: auto; padding-top: .3rem; font-size: .68rem; color: #9aa0ae; }
.re-fait--rouge { border-top-color: #b42318; }
.re-fait--rouge > b { color: #b42318; }
.re-fait--gris > b { color: #b6bdcc; font-size: 2.6rem; }
.re-fait--duo { grid-column: span 2; }
.ls25 .re-fait p.re-fait__t { font: 700 .95rem var(--titre); color: var(--nuit); }
.re-duo { display: grid; grid-template-columns: 4rem 1fr 4rem; gap: .6rem; align-items: center; font-size: .8rem; color: #5b6070; }
.re-duo__p { height: 14px; border-radius: 3px; background: #eef1f6; }
.re-duo__p span { display: block; height: 100%; border-radius: 3px; background: #8a98b4; }
.re-duo--or .re-duo__p span { background: var(--dore); }
.re-duo b { text-align: right; font: 800 1.05rem var(--titre); color: var(--nuit); }
@media (max-width: 860px) { .re-faits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .re-faits { grid-template-columns: 1fr; } .re-fait--duo { grid-column: auto; } }

/* Rénovation : retouches (21 oct. 2026) */
.ls25 ol.re-bl > li::before { content: none !important; display: none !important; }
.ls25 ol.re-bl > li::marker { content: ""; }
.re-col__b { position: relative; }
.re-col__b > b { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: .3rem; font: 800 .95rem var(--titre); color: var(--nuit); white-space: nowrap; }
.re-col--ok .re-col__b > b { bottom: auto; top: .5rem; margin: 0; color: var(--dore); }
.re-cols__obj { text-align: left; padding: 0; }
.re-cols__obj::before { content: attr(data-x); }
.re-cols__obj { color: transparent; }
.re-cols__obj::after { content: "objectif 5 000 par an"; position: absolute; left: 0; bottom: .25rem; color: #8c6a2f; font: 700 .72rem var(--titre); }
@media (max-width: 560px) {
  .re-col--ok .re-col__b > b { font-size: .72rem; }
  .re-quand { display: grid; grid-template-columns: 1fr 1fr; }
  .re-quand > span { padding: .4rem .6rem; }
  .re-quand small { font-size: .58rem; }
  .re-quand b { font-size: .88rem; }
  .re-bl__rang { align-self: start; padding-top: .1rem; }
}
/* Rénovation : avertissement carte périmée, en rouge (21 oct. 2026, demande) */
.re-quand p.re-perime { flex-basis: 100%; margin: .2rem 0 0; padding: .55rem .8rem; border-left: 3px solid #c0392b; background: #fdecea; color: #a61b1b; font-size: .86rem; }
.re-quand p.re-perime b { font: 700 .86rem var(--texte, inherit); color: #a61b1b; }
/* Rénovation, colonnes : chiffre au-dessus de la barre aussi pour 2023-2024 (21 oct. 2026, demande) */
.re-col--ok .re-col__b > b { top: auto; bottom: 100%; margin: 0 0 .3rem; color: var(--nuit); }
@media (max-width: 560px) { .re-col--ok .re-col__b > b { font-size: .78rem; } }
.re-cols__obj { height: 0; line-height: 0; overflow: visible; } /* la ligne tombe pile sur 5 000 */
.re-cols__obj::after { line-height: 1; }
.re-col__b > b { z-index: 2; padding: 0 .3rem; background: #fff; border-radius: 3px; }
/* Rénovation : la carte + l'open data (21 oct. 2026) — remplace l'avertissement rouge */
.re-quand p.re-complete { flex-basis: 100%; margin: .2rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--dore); background: #f7f8fb; color: var(--nuit); font-size: .86rem; }
.re-quand p.re-complete b { font: 700 .86rem var(--texte, inherit); color: var(--nuit); }
.re-maj { display: block; margin-top: .25rem; font-size: .72rem; opacity: .75; }
/* Rénovation : logement social / copropriétés privées séparés (21 oct. 2026) */
.re-parcs { margin: .2rem 0 1rem; }
.re-parcs small { margin-left: .3rem; font-weight: 600; opacity: .7; }
.ls-erp .re-cache { display: none; }
/* Rénovation, refonte du 21 oct. 2026 (rien retiré) : onglets L'essentiel / Carte et tableau / Par bailleur / Objectif / Comprendre */
.rv { --re-soc: var(--nuit); --re-pri: #16895a; --re-ilot: #2a9d8f; }
.re-c--soc { background: var(--re-soc); } .re-c--pri { background: var(--re-pri); } .re-c--ilot { background: var(--re-ilot); }
i.re-c--soc, i.re-c--pri, i.re-c--ilot { display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 2px; vertical-align: -.05rem; }
.re-leg { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .6rem; font-size: .78rem; color: #5b6070; }
/* chiffres clés par catégorie */
.re-cles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 1.6rem; }
.re-cle { display: grid; gap: .1rem; padding: 1rem 1.1rem; border: 1px solid #e3e7ef; border-top: 4px solid var(--re-soc); border-radius: 10px; background: #fff; }
.re-cle.re-c--pri { border-top-color: var(--re-pri); background: #fff; } .re-cle.re-c--ilot { border-top-color: var(--re-ilot); background: #fff; } .re-cle.re-c--soc { background: #fff; }
.re-cle__t { margin: 0 0 .3rem; font: 700 .72rem var(--titre); letter-spacing: .05em; text-transform: uppercase; color: #5b6070; }
.re-cle b { font: 800 1.7rem/1.1 var(--titre); color: var(--nuit); }
.re-cle .re-cle__log { margin-top: .5rem; font-size: 1.25rem; }
.re-cle span { font-size: .82rem; color: #5b6070; }
.re-cle small { margin-top: .5rem; font-size: .74rem; color: #7a8297; }
/* avancement par catégorie */
.re-sts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.re-sts:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.re-st { padding: .9rem 1rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; }
.re-st__t { margin: 0 0 .6rem; font: 700 .92rem var(--titre); color: var(--nuit); }
.re-st__l { margin-bottom: .6rem; }
.re-st__m { display: block; margin-bottom: .2rem; font: 600 .66rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.re-st__l small, .re-g__leg { display: block; margin-top: .25rem; font-size: .74rem; color: #5b6070; }
/* arrondissements et années, côte à côte */
.re-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.re-hb { margin: 0; padding: 0; list-style: none; }
.re-hb li { display: grid; grid-template-columns: 2.4rem 1fr 7.5rem; align-items: center; gap: .6rem; padding: .22rem 0; border-bottom: 1px solid #f1f3f7; }
.re-hb__n { font: 700 .82rem var(--titre); color: var(--nuit); }
.re-hb__p { display: flex; height: 10px; background: #f2f3f6; border-radius: 2px; overflow: hidden; }
.re-hb__v { text-align: right; font-variant-numeric: tabular-nums; }
.re-hb__v b { font: 700 .82rem var(--titre); color: var(--nuit); }
.re-hb__v small { display: block; font-size: .66rem; color: #7a8297; }
.re-vc__t { margin: .8rem 0 .3rem; font: 600 .8rem var(--titre); color: var(--nuit); }
.re-vcs { display: flex; align-items: flex-end; gap: 3px; height: 9rem; padding-top: 1.2rem; border-bottom: 2px solid var(--nuit); margin-bottom: 1.8rem; }
.re-vc { position: relative; flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.re-vc__b { position: relative; width: 100%; max-width: 2.2rem; border-radius: 3px 3px 0 0; min-height: 2px; }
.re-vc__b b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font: 700 .58rem var(--titre); color: var(--nuit); white-space: nowrap; }
.re-vc__a { position: absolute; bottom: -1.2rem; font: 700 .66rem var(--titre); color: var(--nuit); }
.re-vc small { position: absolute; bottom: -1.95rem; font-size: .58rem; color: #7a8297; }
/* types et gains */
.re-ty { min-width: 30rem; }
.re-ty i { display: inline-block; width: .6rem; height: .6rem; margin-right: .45rem; border-radius: 2px; }
.re-g0 { background: #0f5a43; } .re-g1 { background: #16895a; } .re-g2 { background: #7cc19c; } .re-g3 { background: #cfe9da; } .re-g4 { background: repeating-linear-gradient(45deg, #e3e7ef 0 4px, #f5f6f9 4px 8px); }
.re-av__leg i.re-g0, .re-av__leg i.re-g1, .re-av__leg i.re-g2, .re-av__leg i.re-g3, .re-av__leg i.re-g4 { width: .7rem; height: .7rem; border-radius: 2px; display: inline-block; }
.re-g__med { margin: .5rem 0 0; font-size: .82rem; color: #2a3247; }
.re-g__med b { font-family: var(--titre); color: var(--nuit); }
/* marqueurs : forme = catégorie, couleur = avancement */
.re-m { display: inline-block; width: 12px; height: 12px; margin-right: .35rem; vertical-align: -1px; background: var(--nuit); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(16, 27, 52, .55); box-sizing: content-box; }
.re-m--soc { border-radius: 50%; }
.re-m--pri { border-radius: 2px; }
.re-m--ilot { width: 0; height: 0; background: none !important; border: 7px solid transparent; border-bottom: 12px solid var(--re-ilot); border-top: 0; box-shadow: none; }
.re-m--rond { border-radius: 50%; }
.re-e--livree { background: var(--nuit); } .re-e--cours { background: var(--dore); } .re-e--venir { background: #fff; box-shadow: 0 0 0 2px var(--nuit); }
.re-m--ilot.re-e--livree { border-bottom-color: var(--nuit); } .re-m--ilot.re-e--cours { border-bottom-color: var(--dore); } .re-m--ilot.re-e--venir { border-bottom-color: var(--re-ilot); }
.re-m--groupe { width: auto; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; background: var(--nuit); color: #fff; font: 800 .68rem/22px var(--titre); text-align: center; font-style: normal; }
.re-m--choisi { transform: scale(1.5); box-shadow: 0 0 0 2px var(--dore); }
.re-rep { background: none; border: 0; display: grid; place-items: center; }
.re-rep .re-m { margin: 0; }
.re-parcs .re-m { width: 9px; height: 9px; }
.re-parcs .re-m--ilot { width: 0; height: 0; border-width: 0 6px 10px; }
/* carte Leaflet + fiche */
.re-carte { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1rem; align-items: start; }
.re-plan { height: clamp(24rem, 62vh, 40rem); border-radius: 10px; border: 1px solid #e3e7ef; z-index: 0; }
.re-carte__leg { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-top: .6rem; font-size: .76rem; }
.re-carte__leg .re-m { width: 9px; height: 9px; }
.re-carte__leg .re-m--ilot { width: 0; height: 0; border-width: 0 6px 10px; }
.re-carte__leg .re-m--groupe { width: auto; height: 18px; font-size: .6rem; line-height: 18px; }
.re-carte__sep { width: 1px; height: 1rem; background: #d5dae4; }
.re-carte__info { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; }
.re-dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: .6rem 0; font-size: .82rem; }
.re-dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid #f1f3f7; }
.re-dl dt { color: #7a8297; } .re-dl dd { margin: 0; color: var(--nuit); font-weight: 600; }
.re-dl dd small { font-weight: 400; color: #7a8297; }
.re-autres { font-size: .8rem; } .re-autres .ls-aller { margin: .15rem .3rem 0 0; font-size: .76rem; }
/* tableau : détails dépliés, ligne retrouvée */
.re-detail td { background: #f7f8fb; padding: .4rem 1rem .8rem !important; }
.re-detail .re-dl { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); column-gap: 1.6rem; }
.ls-tab--re tr.re-choisi > td { background: #fbf6ea; }
.ls-tab--re tr.re-flash > td { animation: re-flash 1.6s ease-out; }
@keyframes re-flash { from { background: #f3e2b8; } to { background: #fbf6ea; } }
.ls-tab--re .ls-tab__adr .re-m { width: 8px; height: 8px; }
.ls-tab--re .ls-tab__adr .re-m--ilot { width: 0; height: 0; border-width: 0 5px 9px; }
.ls-tab--re .op-btns button.op-fiche-btn { cursor: pointer; font: inherit; }
/* Par bailleur : émissions sous le gain, détail sous le nom */
.re-bl__gain small { display: block; font: 600 .62rem var(--titre); color: #7a8297; }
/* Comprendre et sources */
.re-co > p { max-width: 46rem; line-height: 1.6; }
.re-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0 0 .8rem; padding: 0; list-style: none; counter-reset: e; }
.re-etapes li { display: grid; gap: .3rem; padding: .9rem 1rem; border-left: 3px solid var(--dore); background: #f7f8fb; counter-increment: e; }
.re-etapes b { font: 800 1rem var(--titre); color: var(--nuit); }
.re-etapes b::before { content: counter(e) ". "; color: var(--dore); }
.re-etapes span { font-size: .86rem; line-height: 1.5; color: #2a3247; }
.re-dates { margin: 0 0 1rem; padding-left: 1.1rem; font-size: .9rem; line-height: 1.6; max-width: 46rem; }
@media (max-width: 900px) {
  .re-carte { grid-template-columns: 1fr; }
  .re-carte__info { position: static; max-height: none; }
  .re-deux { grid-template-columns: 1fr; gap: .6rem; }
  .re-cles, .re-sts, .re-sts:has(> :nth-child(2):last-child), .re-etapes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .re-plan { height: 70vh; }
  .re-dl > div { grid-template-columns: 9rem 1fr; }
  .re-hb li { grid-template-columns: 2rem 1fr 6rem; }
  .re-vc__b b { display: none; }
  .re-onglets { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .re-onglets button { flex: 0 0 auto; }
}
.ls25 .re-hb, .ls25 .re-hb li { list-style: none; margin-left: 0; padding-left: 0; }
.ls25 .re-hb li::before, .ls25 .re-hb li::marker { content: none; }
.ls25 .re-hb li { grid-template-columns: 2.4rem 1fr 11rem; padding: .3rem 0; margin: 0; }
.re-hb__v { display: flex; align-items: baseline; justify-content: flex-end; gap: .5rem; }
.re-hb__v small { display: inline; white-space: nowrap; }
.re-quand > p { grid-column: 1 / -1; flex-basis: 100%; }
@media (max-width: 560px) { .re-parcs button { display: inline-flex; align-items: center; gap: .3rem; } .re-parcs { overflow-x: auto; flex-wrap: nowrap; } .re-parcs button { flex: 0 0 auto; white-space: nowrap; } }
.re-dl dd { overflow-wrap: anywhere; }
@media (max-width: 560px) { .re-plan { height: clamp(22rem, 70vh, 34rem); } }
.re-etapes > div { display: grid; gap: .3rem; padding: .9rem 1rem; border-left: 3px solid var(--dore); background: #f7f8fb; counter-increment: e; }
.ls25 .re-dates { list-style: disc; padding-left: 1.2rem; }
.ls25 .re-dates li { display: list-item; margin: .15rem 0; }
.re-co .ac-dico { display: grid; gap: 0; margin: 0 0 1rem; max-width: 52rem; }
.re-co .ac-dico > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #eef0f4; }
.re-co .ac-dico dt { font: 700 .86rem var(--titre); color: var(--nuit); }
.re-co .ac-dico dd { margin: 0; font-size: .88rem; line-height: 1.55; color: #2a3247; }
@media (max-width: 560px) { .re-co .ac-dico > div { grid-template-columns: 1fr; gap: .2rem; } }
/* Rénovation : un bloc blanc par partie, comme les autres pages (21 oct. 2026) */
.re-pan { display: grid; gap: 1.2rem; }
.re-pan[hidden] { display: none; }
.re-quandbloc { margin-bottom: 1.2rem; }
.re-quandbloc .re-quand { margin: 0; }
.rv .ls-bloc > .ls-titre + .ls-lead, .rv .ls-bloc > .re-blk__st + .ls-lead { margin-top: .2rem; }
.re-blk__st { margin: -.4rem 0 .9rem; font: 600 .78rem var(--titre); color: #7a8297; }
.rv .ls-bloc > :last-child { margin-bottom: 0; }
.re-deux { gap: 1.2rem; }
.re-deux > .ls-bloc { min-width: 0; }
.rv .ls-bloc .ac-dico { display: grid; gap: 0; margin: 0; max-width: 52rem; }
.rv .ls-bloc .ac-dico > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #eef0f4; }
.rv .ls-bloc .ac-dico dt { font: 700 .86rem var(--titre); color: var(--nuit); }
.rv .ls-bloc .ac-dico dd { margin: 0; font-size: .88rem; line-height: 1.55; color: #2a3247; }
.rv .ls-bloc > p:not(.ls-note):not(.ls-lead):not(.re-blk__st) { max-width: 52rem; line-height: 1.6; }
@media (max-width: 560px) { .rv .ls-bloc .ac-dico > div { grid-template-columns: 1fr; gap: .2rem; } }

/* Rénovation : lisibilité grand public, social et privé séparés (21 oct. 2026, après-midi) */
.re-onglets [role="tab"] .re-m { margin-right: .4rem; vertical-align: -.05rem; }
.re-faces { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; margin-top: 1rem; }
.re-faces__vs { align-self: center; font: 800 .8rem var(--titre); color: #9aa0ae; text-transform: uppercase; letter-spacing: .08em; }
.re-face { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.1rem; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--nuit); }
.re-face--pri { border-top-color: #1f8a5b; }
.ls25 .re-face p { margin: 0; }
.ls25 .re-face .re-face__t { font: 800 1.3rem/1.2 var(--titre); color: var(--nuit); }
.ls25 .re-face .re-face__qui { font-size: .88rem; line-height: 1.45; color: #5b6070; }
.re-face__chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .3rem 0; }
.re-face__chiffres > div { display: grid; padding: .7rem .8rem; border-radius: 8px; background: #f4f6fa; }
.re-face--pri .re-face__chiffres > div { background: #eef7f2; }
.re-face__chiffres b { font: 800 1.8rem/1.05 var(--titre); color: var(--nuit); }
.re-face--pri .re-face__chiffres b { color: #146b45; }
.re-face__chiffres span { font-size: .8rem; color: #5b6070; }
.ls25 .re-face__q, .ls25 p.re-face__q { margin: .5rem 0 .2rem; font: 700 .74rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.re-face__q small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.re-face .re-av__barre { height: 16px; }
.ls25 .re-face .re-face__gain { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.re-face__gain b { font: 800 1.6rem var(--titre); color: #1e6b3a; }
.re-face__gain span { font-size: .78rem; color: #7a8297; }
.ls25 .re-face .re-face__quand { margin-top: auto; padding-top: .4rem; font-size: .76rem; color: #9aa0ae; }
.re-face__go { align-self: flex-start; margin-top: .2rem; padding: .55rem .9rem; border: 0; border-radius: 999px; background: var(--nuit); color: #fff; font: 700 .84rem var(--titre); cursor: pointer; }
.re-face--pri .re-face__go { background: #1f8a5b; }
.re-face__go:hover { filter: brightness(1.15); }
.ls25 .re-ilots { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 8px; background: #f4f6fa; font-size: .86rem; line-height: 1.5; color: #4a5164; }
.re-ilots > i { flex: none; width: .8rem; height: .8rem; margin-top: .3rem; border-radius: 50%; display: inline-block; }
.re-deux--arr { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.re-deux--arr .re-hb { margin-top: .4rem; }
@media (max-width: 760px) {
  .re-faces { grid-template-columns: 1fr; }
  .re-faces__vs { justify-self: center; }
  .re-deux--arr { grid-template-columns: 1fr; }
  .re-face__chiffres b { font-size: 1.5rem; }
}
.re-tuiles--pri .re-tuiles--fonce { background: #146b45; border-color: #146b45; }
.re-tuiles--pri .re-tuiles--fonce b { color: #fff; }
.re-tuiles--pri .re-tuiles--fonce small, .re-tuiles--pri .re-tuiles--fonce span { color: #cfe8db; }
.re-tuiles--pri > div:not(.re-tuiles--fonce) b { color: #146b45; }
.re-blk--pri .re-av__barre { height: 18px; }
.ls25 ol.re-top { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.ls25 ol.re-top > li::before { content: none !important; }
.re-top li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .6rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid #eef1f6; }
.re-top li > b { font: 800 1.05rem var(--titre); color: #146b45; text-align: right; }
.re-top li > span { font: 600 .86rem var(--titre); color: var(--nuit); }
.re-top small { display: block; font: 400 .74rem var(--texte, inherit); color: #7a8297; }
@media (max-width: 640px) { .re-parcs { display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; } .re-parcs [role="tab"] { flex: 1 1 auto; } }
/* Rénovation, graphiques par année : de l'air sous les années (21 oct. 2026, demande) */
.re-vcs { margin-bottom: 3rem; }
.re-vcs + .re-vc__t { margin-top: 1.6rem; }
.re-vcs + .ls-note, .re-vcs + .re-vc__t + .ls-note { margin-top: 1.4rem; }
/* Rénovation, blocs « où en sont les travaux / énergie » : plus d'air entre les barres (21 oct. 2026, demande) */
.rv .ls-bloc > .re-face__q { margin: 1.8rem 0 .6rem; }
.rv .ls-bloc > .re-blk__st + .re-face__q, .rv .ls-bloc > .ls-lead + .re-face__q, .rv .ls-bloc > .re-tuiles + .re-face__q { margin-top: 1.2rem; }
.rv .ls-bloc > .re-av__barre { height: 16px; }
.rv .ls-bloc > .re-av__leg { margin: .6rem 0 0; row-gap: .4rem; }
.rv .ls-bloc > .re-g__med { margin-top: 1.6rem; line-height: 1.6; }
.rv .ls-bloc > .re-g__med + .ls-note { margin-top: 1rem; }
.rv .ls-bloc > p.re-face__q { margin: 1.8rem 0 .6rem; }
.rv .ls-bloc > .re-blk__st + p.re-face__q, .rv .ls-bloc > .ls-lead + p.re-face__q, .rv .ls-bloc > .re-tuiles + p.re-face__q { margin-top: 1.2rem; }
.rv .ls-bloc > p.re-av__leg { margin: .6rem 0 0; }
.rv .ls-bloc > p.re-g__med { margin-top: 1.6rem; }
/* Rénovation, carte : couleur = parc (bleu nuit social, vert copropriétés, bleu-vert îlots), remplissage = avancement (21 oct. 2026, demande) */
.re-m--soc, .re-m--groupe-soc { --pc: var(--re-soc); }
.re-m--pri, .re-m--groupe-pri { --pc: var(--re-pri); }
.re-m--ilot, .re-m--groupe-ilot { --pc: var(--re-ilot); }
.re-m.re-m--soc.re-e--livree, .re-m.re-m--pri.re-e--livree { background: var(--pc); border-color: #fff; box-shadow: 0 0 0 1px rgba(16, 27, 52, .45); }
.re-m.re-m--soc.re-e--cours, .re-m.re-m--pri.re-e--cours { background: var(--pc); border-color: var(--dore); box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(16, 27, 52, .35); }
.re-m.re-m--soc.re-e--venir, .re-m.re-m--pri.re-e--venir { background: #fff; border-color: #fff; box-shadow: 0 0 0 2.5px var(--pc); }
.re-m.re-m--ilot.re-e--livree, .re-m.re-m--ilot.re-e--cours, .re-m.re-m--ilot.re-e--venir { border-bottom-color: var(--pc); }
.re-m.re-m--ilot.re-e--venir { filter: drop-shadow(0 0 0 #fff); opacity: .55; }
.re-m.re-m--groupe { background: var(--pc, var(--nuit)); }
.re-carte__leg .re-m--rond { display: none; }

.vx-mots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0; }
.vx-mot { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--c); }
.vx-mot--loue { --c: var(--nuit); } .vx-mot--vacant { --c: var(--dore); } .vx-mot--hors { --c: #8a93a6; }
.proto-texte .vx-mot p { margin: 0; font-size: .9rem; line-height: 1.45; color: #4a5164; }
.proto-texte .vx-mot p.vx-mot__t { font: 800 1.15rem var(--titre); color: var(--nuit); }
.proto-texte .vx-mot p.vx-mot__n { margin-top: auto; padding-top: .5rem; font: 800 1.6rem var(--titre); color: var(--nuit); }
.vx-mot--vacant p.vx-mot__n { color: #8c6a2f !important; }
.vx-mot--hors p.vx-mot__n { color: #5b6378 !important; }
@media (max-width: 640px) { .vx-mots { grid-template-columns: 1fr; } .proto-texte .vx-mot p.vx-mot__n { font-size: 1.35rem; } }

.vx-cent { display: grid; grid-template-columns: minmax(0, 20rem) 1fr; gap: 1.6rem; align-items: center; margin: 1.2rem 0 1.4rem; }
.vx-grille { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.vx-grille i { aspect-ratio: 1; border-radius: 3px; }
.vx-c--loue { background: var(--nuit); } .vx-c--vacant { background: var(--dore); } .vx-c--hors { background: #b9c0cf; }
.vx-grille i.vx-c--vacant { box-shadow: 0 0 0 3px #f3e3bf; }
.proto-texte .vx-cent__leg p { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .5rem; font-size: 1rem; color: #4a5164; }
.vx-cent__leg i { width: .9rem; height: .9rem; border-radius: 3px; display: inline-block; flex: none; }
.vx-cent__leg b { font: 800 1.7rem var(--titre); color: var(--nuit); min-width: 2.4rem; }
.vx-cent__leg small { font-size: .78rem; color: #7a8297; }
.proto-texte .vx-cent__leg p.vx-cent__note { display: block; margin-top: .8rem; font-size: .78rem; color: #7a8297; }
@media (max-width: 640px) { .vx-cent { grid-template-columns: 1fr; } .vx-grille { max-width: 18rem; } }

.vx-verdict { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0 0; }
.proto-texte .vx-verdict p { display: grid; gap: .2rem; margin: 0; padding: .9rem 1rem; border-radius: 8px; background: var(--nuit); color: #fff; font-size: .86rem; line-height: 1.4; }
.vx-verdict b { font: 800 1.5rem var(--titre); color: var(--dore); }
.vx-verdict span { color: #dfe3ec; }
@media (max-width: 640px) { .vx-verdict { grid-template-columns: 1fr; } }

.vx-ombre { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; margin: 1.2rem 0; }
.vx-ombre__gros { display: grid; align-content: center; padding: 1.2rem; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef0f4 0 10px, #e3e7ef 10px 20px); }
.vx-ombre__gros b { font: 800 2.3rem/1 var(--titre); color: var(--nuit); }
.vx-ombre__gros span { margin-top: .4rem; font-size: .84rem; color: #4a5164; }
.vx-ombre__cases { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.vx-ombre__cases span { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 8px; border: 2px dashed #c3cbda; font: 600 .9rem/1.3 var(--titre); color: var(--nuit); }
.vx-ombre__cases b { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--dore); color: var(--nuit); font: 800 1rem var(--titre); }
@media (max-width: 640px) { .vx-ombre, .vx-ombre__cases { grid-template-columns: 1fr; } }
.proto-texte ol.vx-q { counter-reset: q; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .4rem 0 1.2rem; padding: 0; }
.proto-texte ol.vx-q li { counter-increment: q; display: flex; gap: .7rem; align-items: baseline; margin: 0; padding: .8rem 1rem; border-radius: 8px; background: #f4f6fa; font-size: .95rem; line-height: 1.4; color: #2a3247; }
.proto-texte ol.vx-q li::before { content: counter(q, decimal-leading-zero); position: static; width: auto; height: auto; background: none; border: 0; font: 800 .9rem var(--titre); color: #8c6a2f; }
@media (max-width: 640px) { .proto-texte ol.vx-q { grid-template-columns: 1fr; } }
.proto-texte p.vx-pourquoi { font-size: .9rem; color: #4a5164; }

.vx-frise { position: relative; margin: 2rem .4rem 5.6rem; }
.vx-frise__axe { position: relative; height: 12px; border-radius: 6px; background: #e3e7ef; }
.vx-frise__plein { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: repeating-linear-gradient(45deg, #b3261e 0 8px, #c9473f 8px 16px); }
.vx-frise__ici { position: absolute; top: -1.8rem; transform: translateX(-50%); font: 700 .7rem var(--titre); color: #b3261e; white-space: nowrap; }
.vx-frise__ici::after { content: ""; position: absolute; left: 50%; top: 1.2rem; height: 1.6rem; border-left: 2px solid #b3261e; }
.vx-frise__pts { position: relative; height: 0; }
.vx-frise__pts > div { position: absolute; top: .5rem; display: grid; gap: .1rem; width: 8.5rem; transform: translateX(-50%); text-align: center; }
.vx-frise__pts > div:first-child { transform: none; text-align: left; }
.vx-frise__pts > div:last-child { transform: translateX(-100%); text-align: right; }
.vx-frise__pts > div::before { content: ""; justify-self: center; width: 14px; height: 14px; margin-top: -1.15rem; margin-bottom: .2rem; border-radius: 50%; background: #fff; border: 3px solid var(--nuit); }
.vx-frise__pts > div:first-child::before { justify-self: start; } .vx-frise__pts > div:last-child::before { justify-self: end; }
.vx-frise__pts b { font: 800 1rem var(--titre); color: var(--nuit); }
.vx-frise__pts span { font-size: .74rem; line-height: 1.3; color: #5b6070; }
@media (max-width: 640px) {
  .vx-frise { margin: 1rem 0 1rem; padding-left: 1.6rem; }
  .vx-frise__axe { position: absolute; left: .3rem; top: 0; bottom: 0; width: 10px; height: auto; }
  .vx-frise__plein { width: 100% !important; bottom: auto; height: 81.8%; background: repeating-linear-gradient(-45deg, #b3261e 0 8px, #c9473f 8px 16px); }
  .vx-frise__ici { display: none; }
  .vx-frise__pts { height: auto; display: grid; gap: 1rem; }
  .vx-frise__pts > div, .vx-frise__pts > div:first-child, .vx-frise__pts > div:last-child { position: static; transform: none; width: auto; text-align: left; }
  .vx-frise__pts > div::before { display: none; }
  .vx-frise__pts span br { display: none; }
}
.vx-budget { display: grid; gap: .5rem; margin: 0 0 1rem; }
.proto-texte p.vx-budget__t { margin: 0; font: 700 .74rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.vx-budget > div { display: grid; grid-template-columns: 3rem 1fr 5rem; gap: .7rem; align-items: center; font: 700 .86rem var(--titre); color: var(--nuit); }
.vx-budget__p { height: 16px; border-radius: 3px; background: #eef1f6; }
.vx-budget__p span { display: block; height: 100%; border-radius: 3px; background: var(--nuit); }
.vx-budget--or .vx-budget__p span { background: #b3261e; }
.vx-budget b { text-align: right; font-size: 1rem; }

.vx-quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; }
.vx-quatre > div { display: grid; gap: .3rem; align-content: start; padding: 1rem; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.vx-quatre b { font: 800 1.45rem var(--titre); color: var(--dore); }
.vx-quatre span { font-size: .84rem; line-height: 1.4; color: #dfe3ec; }
@media (max-width: 760px) { .vx-quatre { grid-template-columns: 1fr 1fr; } }
/* vacants : retouches */
.proto-texte.vx .vx-mot p.vx-mot__t { font: 800 1.15rem var(--titre); color: var(--nuit); }
.proto-texte.vx .vx-mot p.vx-mot__n { font: 800 1.7rem var(--titre); }
.proto-texte.vx .vx-mot--vacant p.vx-mot__n { color: #8c6a2f; }
.proto-texte.vx .vx-mot--hors p.vx-mot__n { color: #5b6378; }
.proto-texte.vx .n-deux p.n-deux__titre { font: 800 1.45rem/1.2 var(--titre); color: var(--nuit); }
.proto-texte.vx ol.vx-q li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); }
.proto-texte.vx .n-retenir h2 { color: #fff; }
@media (max-width: 640px) { .proto-texte.vx .vx-mot p.vx-mot__n { font-size: 1.4rem; } }
/* vacants : passer devant la typo commune (.proto-texte p en !important) */
.proto-texte.vx .vx-mot p.vx-mot__t { font-family: var(--titre) !important; font-size: 1.15rem !important; font-weight: 800 !important; }
.proto-texte.vx .vx-mot p.vx-mot__n { font-family: var(--titre) !important; font-size: 1.7rem !important; font-weight: 800 !important; line-height: 1.1 !important; }
.proto-texte.vx .vx-mot p:not(.vx-mot__t):not(.vx-mot__n) { font-size: .92rem !important; line-height: 1.45 !important; }
.proto-texte.vx .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.vx p.vx-budget__t { font-family: var(--titre) !important; font-size: .74rem !important; font-weight: 700 !important; }
.proto-texte.vx .vx-verdict p { font-size: .88rem !important; line-height: 1.4 !important; }
.proto-texte.vx .vx-cent__leg p { font-size: 1rem !important; }
.proto-texte.vx .vx-cent__leg p.vx-cent__note { font-size: .8rem !important; }
.proto-texte.vx .vx-quatre span { font-size: .86rem; }
@media (max-width: 640px) { .proto-texte.vx .vx-mot p.vx-mot__n { font-size: 1.4rem !important; } }
.proto-texte.vx .n-retenir h2.n-retenir__titre { color: #fff !important; }
.proto-texte .vx-budget p.vx-cent__note { margin: .5rem 0 0; font-size: .78rem; line-height: 1.5; color: #7a8297; }
/* Barre d'onglets du site (.ls-onglets) : des liens d'ancre s'y affichent comme les boutons (21 oct. 2026) */
.ls-onglets a { flex: 0 0 auto; padding: .85rem 1.1rem .75rem; border-bottom: 3px solid transparent; font: 700 .9rem var(--titre); color: var(--texte-n2); text-decoration: none; white-space: nowrap; }
.ls25 .ls-onglets a { padding: 1rem 1.1rem .9rem; }
.ls-onglets a:hover, .ls-onglets a:focus-visible { color: var(--nuit); border-bottom-color: var(--or, var(--dore)); }
/* Bloc d'article : étiquette puis titre, sans grand vide entre les deux */
.ls25 .ls-bloc > .n-etiquette + .ls-titre, .ls25 .ls-bloc > .n-etiquette + h2 { margin-top: .3rem; }
.ls25 .ls-bloc h2.ls-titre::after { content: ""; display: block; width: 1.6rem; height: 3px; margin-top: .5rem; background: var(--or, var(--dore)); }

/* France / Europe : page passée au thème du site (21 oct. 2026) */
.fe-split { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.fe-split__l { display: grid; grid-template-columns: 9rem 1fr; gap: .8rem; align-items: center; }
.fe-split__pays { font: 700 .9rem var(--titre); color: var(--nuit); }
.fe-split__barre { display: flex; gap: 2px; height: 2.4rem; border-radius: 4px; overflow: hidden; }
.fe-split__barre > span { display: flex; align-items: center; padding: 0 .7rem; font: 800 .92rem var(--titre); white-space: nowrap; }
.fe-proprio { background: var(--nuit); color: #fff; }
.fe-loc { background: var(--dore); color: var(--nuit); justify-content: flex-end; }
.fe-proprio--ue { background: #5b6b8c; }
.fe-loc--ue { background: #e4cf9f; }
.proto-texte.fe p.fe-split__leg { display: flex; gap: 1.2rem; margin: .2rem 0 0 9.8rem; font-size: .84rem !important; color: #4a5164; }
.fe-split__leg span { display: inline-flex; align-items: center; gap: .4rem; }
.fe-split__leg i { width: .8rem; height: .8rem; border-radius: 2px; display: inline-block; }
@media (max-width: 640px) { .fe-split__l { grid-template-columns: 1fr; gap: .3rem; } .proto-texte.fe p.fe-split__leg { margin-left: 0; } }

.fe-gros { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 .4rem; }
.fe-gros > div { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border-radius: 10px; background: var(--nuit); }
.fe-gros b { font: 800 2.4rem/1 var(--titre); color: var(--dore); }
.fe-gros span { font-size: .9rem; color: #dfe3ec; }
.fe-gros .fe-gros--gris { background: #f4f6fa; }
.fe-gros .fe-gros--gris b { color: var(--nuit); }
.fe-gros .fe-gros--gris span { color: #4a5164; }
@media (max-width: 640px) { .fe-gros { grid-template-columns: 1fr; } .fe-gros b { font-size: 2rem; } }

.n-rang.fe-moy .n-rang__plein { background: var(--dore); }
.n-rang.fe-moy .n-rang__nom { font-style: italic; }

.fe-evo { display: grid; gap: .3rem; margin: .4rem 0; }
.proto-texte.fe .fe-evo p { display: flex; justify-content: space-between; margin: 0; padding: .35rem 0; border-bottom: 1px solid #eef0f4; font-size: .92rem !important; }
.fe-evo b { font: 800 1.1rem var(--titre); color: var(--nuit); }
.proto-texte.fe p.fe-petit { margin: .4rem 0 0; font-size: .78rem !important; color: #7a8297; }

.fe-div { display: grid; gap: .5rem; margin: .6rem 0 .4rem; }
.fe-div > div { display: grid; grid-template-columns: 8rem 1fr 4rem; gap: .8rem; align-items: center; font-size: .9rem; color: #4a5164; }
.fe-div__nom { font: 600 .88rem var(--titre); color: var(--nuit); }
.fe-div__axe { position: relative; height: 18px; background: linear-gradient(90deg, #f2f3f6 0 70%, #f7f8fa 70%); }
.fe-div__axe::after { content: ""; position: absolute; left: 70%; top: -4px; bottom: -4px; border-left: 2px solid var(--nuit); }
.fe-div__neg { position: absolute; right: 30%; top: 0; bottom: 0; max-width: 70%; background: #8a93a6; border-radius: 3px 0 0 3px; }
.fe-div__pos { position: absolute; left: 70%; top: 0; bottom: 0; background: var(--dore); border-radius: 0 3px 3px 0; }
.fe-div--fort .fe-div__neg { background: #b3261e; }
.fe-div--fort .fe-div__nom, .fe-div--fort b { color: #b3261e; }
.fe-div b { text-align: right; font: 800 1rem var(--titre); color: var(--nuit); }
@media (max-width: 640px) { .fe-div > div { grid-template-columns: 5.5rem 1fr 3.4rem; gap: .5rem; } }

.proto-texte.fe .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.fe .n-retenir h2.n-retenir__titre { color: #fff !important; }
.proto-texte.fe .vx-quatre b { font-size: 1.3rem; }

/* Articles « décryptage » (vacants, France/Europe) : barre d'ancres, sections numérotées, encadré « À retenir ».
   Remis le 21 oct. 2026 : ces règles avaient disparu de la feuille. */
/* Mentions légales : titres comme partout ailleurs (audit du 21 oct. 2026) */
main#contenu:not([class]) h2 { font: 800 var(--t-h2, 1.6rem)/1.2 var(--titre) !important; color: var(--nuit); }
.ls25 .ls-bloc > h2.ls-titre:first-child, .ls25 .ls-bloc > .n-etiquette:first-child { margin-top: 0 !important; }

/* Ancols sous-investissement : article refait en visuels, même gabarit que vacants / France-Europe (21 oct. 2026) */
.si .vx-cent { grid-template-columns: minmax(0, 26rem) 1fr; }
.si-grille { grid-template-columns: repeat(28, 1fr) !important; gap: 2px !important; }
.si-grille i { border-radius: 2px !important; }
.si-c--3ans { background: #b3261e; } .si-c--2024 { background: var(--dore); } .si-c--ok { background: #d5dae4; }
.vx-cent__leg i.si-c--3ans, .vx-cent__leg i.si-c--2024, .vx-cent__leg i.si-c--ok { width: .9rem; height: .9rem; border-radius: 3px; display: inline-block; flex: none; }
.si-dix { grid-template-columns: minmax(0, 18rem) 1fr !important; margin-top: 1.6rem; }
.vx-grille--dix { grid-template-columns: repeat(10, 1fr) !important; gap: 5px !important; }
.vx-grille--dix i { aspect-ratio: 1; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); border-radius: 0 !important; }
.si-c--peut { background: #1f8a5b; } .si-c--pas { background: #d5dae4; }
.proto-texte.si .si-dix .vx-cent__leg p { font-size: 1.05rem !important; }
.proto-texte.si .si-dix .vx-cent__leg b { color: #1f8a5b; }

.si-ou { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin: .6rem 0 .4rem; }
.si-ou > div { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border-radius: 10px; background: var(--nuit); }
.si-ou > div:last-child { background: #f4f6fa; }
.si-ou b { font: 800 2.3rem/1 var(--titre); color: var(--dore); }
.si-ou > div:last-child b { color: var(--nuit); }
.si-ou > div span { font-size: .9rem; color: #dfe3ec; }
.si-ou > div:last-child span { color: #4a5164; }
.si-ou__ou { font: 800 .8rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ae; }
@media (max-width: 640px) { .si-ou { grid-template-columns: 1fr; } .si-ou__ou { justify-self: center; } .si-ou b { font-size: 1.9rem; } }

.si-ans { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: .5rem; align-items: stretch; margin: 1rem 0; }
.si-ans > div { display: grid; gap: .4rem; padding: .8rem; border-radius: 8px; background: #fbeeed; border: 2px solid #b3261e; text-align: center; }
.si-ans > div span { font: 800 1.1rem var(--titre); color: #b3261e; }
.si-ans > div i { height: 8px; border-radius: 4px; background: repeating-linear-gradient(45deg, #b3261e 0 6px, #d4524a 6px 12px); }
.proto-texte.si .si-ans p { display: grid; align-content: center; margin: 0; padding: .8rem 1rem; border-radius: 8px; background: var(--nuit); color: #dfe3ec; font-size: .88rem !important; line-height: 1.4 !important; }
.si-ans p b { font: 800 1.5rem var(--titre); color: var(--dore); }
@media (max-width: 640px) { .si-ans { grid-template-columns: repeat(3, 1fr); } .proto-texte.si .si-ans p { grid-column: 1 / -1; } }

.si-cmp { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.si-cmp__l { display: grid; grid-template-columns: 13rem 1fr 6.5rem; gap: .8rem; align-items: center; font: 600 .88rem/1.3 var(--titre); color: var(--nuit); }
.si-cmp__p { position: relative; height: 22px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.si-cmp__p > span { position: absolute; top: 0; bottom: 0; left: 0; }
.si-cmp__fonds { background: #1f8a5b; }
.si-cmp__min { background: #b3261e; }
.si-cmp__besoin { background: repeating-linear-gradient(45deg, #b3261e 0 6px, #f0c9c5 6px 12px); }
.si-cmp__l b { text-align: right; font: 800 1rem var(--titre); }
@media (max-width: 640px) { .si-cmp__l { grid-template-columns: 1fr auto; gap: .3rem .6rem; } .si-cmp__p { grid-column: 1 / -1; grid-row: 2; } }

.si-demandes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0; }
.si-demandes > div { display: grid; gap: .5rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--dore); }
.si-demandes b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--nuit); color: var(--dore); font: 800 1rem var(--titre); }
.proto-texte.si .si-demandes p { margin: 0; font-size: .92rem !important; line-height: 1.5 !important; }
@media (max-width: 760px) { .si-demandes { grid-template-columns: 1fr; } }
.proto-texte.si .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.si .n-retenir h2.n-retenir__titre { color: #fff !important; }

/* Gabarit « décryptage » commun (vx) : règles partagées par toutes les pages refaites (21 oct. 2026) */
.proto-texte.vx .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.vx .n-retenir h2.n-retenir__titre { color: #fff !important; }
.proto-texte.vx .si-demandes p { margin: 0; font-size: .92rem !important; line-height: 1.5 !important; }
.proto-texte.vx .si-ans p { font-size: .88rem !important; }
.proto-texte.vx p.vx-pourquoi { font-size: .9rem !important; }
.proto-texte.vx > aside.n-savoir:first-child { margin-top: 2rem; }
.proto-texte.vx .n-cta { margin-top: 1.4rem; }

/* Accès : calculateur de plafonds */
.ac2-calc { margin: 1rem 0 .6rem; padding: 1.2rem; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ac2-foyers { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.ac2-foyers button { display: grid; gap: .05rem; padding: .55rem .3rem; border: 1px solid #e3e7ef; border-radius: 8px; background: #f4f6fa; color: var(--nuit); cursor: pointer; font-family: var(--titre); }
.ac2-foyers button b { font-size: 1.35rem; font-weight: 800; }
.ac2-foyers button span { font-size: .7rem; color: #5b6070; }
.ac2-foyers button[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ac2-foyers button[aria-selected="true"] b { color: var(--dore); }
.ac2-foyers button[aria-selected="true"] span { color: #dfe3ec; }
.proto-texte.vx p.ac2-equiv { margin: .8rem 0 .6rem; font-size: .88rem !important; color: #5b6070; }
.ac2-barres { display: grid; gap: .6rem; }
.ac2-barres > div { display: grid; grid-template-columns: 11rem 1fr 7rem; gap: .8rem; align-items: center; }
.ac2-nom { display: grid; }
.ac2-nom b { font: 800 1rem var(--titre); color: var(--nuit); }
.ac2-nom small { font-size: .72rem; color: #7a8297; }
.ac2-piste { height: 26px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.ac2-piste > span { display: block; height: 100%; border-radius: 4px; background: var(--c, var(--nuit)); transition: width .35s ease; }
.ac2-barres .c-plai .ac2-piste > span { background: var(--plai, #101b34); }
.ac2-barres .c-plus .ac2-piste > span { background: var(--plus, #3d5a8a); }
.ac2-barres .c-pls .ac2-piste > span { background: var(--pls, #c9a35b); }
.ac2-barres .c-pli .ac2-piste > span { background: var(--pli, #8a93a6); }
.ac2-val { text-align: right; font: 800 1.1rem var(--titre); color: var(--nuit); white-space: nowrap; }
.proto-texte.vx p.ac2-plus { margin: .9rem 0 0; font-size: .8rem !important; color: #5b6070; }
.ac2-tableaux { margin-top: 1rem; }
@media (max-width: 640px) {
  .ac2-foyers { grid-template-columns: repeat(3, 1fr); }
  .ac2-barres > div { grid-template-columns: 1fr auto; gap: .3rem .6rem; }
  .ac2-piste { grid-column: 1 / -1; grid-row: 2; height: 20px; }
}

/* Attente */
.at-evo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; height: 13rem; margin: 1rem 0 .4rem; padding: 0 .5rem; border-bottom: 2px solid var(--nuit); }
.at-evo > div { position: relative; display: flex; flex-direction: column-reverse; align-items: center; height: 100%; }
.at-evo > div > span:first-child { position: absolute; bottom: -1.7rem; font: 700 .82rem var(--titre); color: var(--nuit); white-space: nowrap; }
.at-evo__b { position: relative; width: min(6rem, 80%); border-radius: 6px 6px 0 0; background: #8a98b4; }
.at-evo--fort .at-evo__b { background: var(--nuit); }
.at-evo--or .at-evo__b { background: var(--dore); }
.at-evo__b b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: .3rem; font: 800 1.1rem var(--titre); color: var(--nuit); white-space: nowrap; }
.at-evo + .n-legende { margin-top: 2.4rem !important; }
.at-filtre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0; }
.at-filtre span { padding: .6rem 1rem; border-radius: 999px; background: #f4f6fa; border: 1px solid #e3e7ef; font: 700 .9rem var(--titre); color: var(--nuit); }
.at-filtre i { font: 800 1.1rem var(--titre); font-style: normal; color: #9aa0ae; }
.at-filtre span.at-filtre--or { background: var(--nuit); border-color: var(--nuit); color: var(--dore); }
.at-perdu { background: #c3cbda; color: var(--nuit); justify-content: flex-end; }
.at .fe-split__l { grid-template-columns: 1fr; }
.at .fe-split__barre { height: 3rem; }
.at-raisons > div b { font-size: 1.1rem; }

/* Habitat indigne */
.hi-entonnoir { display: grid; gap: .5rem; margin: 1rem 0 1.4rem; }
.hi-entonnoir > div { display: grid; grid-template-columns: var(--w) 1fr; gap: .8rem; align-items: center; }
.hi-entonnoir b { display: flex; align-items: center; height: 3rem; padding: 0 .9rem; border-radius: 6px; background: var(--nuit); color: #fff; font: 800 1.3rem var(--titre); white-space: nowrap; min-width: 5.5rem; box-sizing: border-box; }
.hi-entonnoir--or b { background: var(--dore) !important; color: var(--nuit) !important; }
.hi-entonnoir span { font-size: .9rem; color: #4a5164; }
.hi-entonnoir > div:first-child { grid-template-columns: 1fr; }
.hi-entonnoir > div:first-child span { order: -1; }
.hi-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 .4rem; }
.hi-trois > div { display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--c); }
.hi-c--secu { --c: var(--dore); } .hi-c--insa { --c: var(--nuit); } .hi-c--plomb { --c: #b3261e; }
.hi-trois b { font: 800 2rem/1 var(--titre); color: var(--nuit); }
.hi-trois span { font-size: .88rem; line-height: 1.45; color: #4a5164; }
@media (max-width: 640px) { .hi-trois { grid-template-columns: 1fr; } }
.hi-condamnations > div b { width: auto; height: auto; padding: .25rem .6rem; border-radius: 999px; justify-self: start; font-size: .9rem; }
.hi-info { margin: 1.6rem 0; }
.hi-info img { display: block; width: 100%; height: auto; margin-top: 1rem; border: 1px solid #e3e7ef; }

/* SRU */
.sru-qui > div b { font-size: 1rem; }
.proto-texte.vx p.sru-leg { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-bottom: .4rem !important; }
.sru-leg span { display: inline-flex; align-items: center; gap: .35rem; }
.sru-leg i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; }
.sru-i--taux { background: var(--nuit); }
.sru-i--obj { width: 3px !important; height: 1rem !important; background: var(--dore); }
.sru-barres { display: grid; gap: .45rem; margin: .6rem 0 .4rem; }
.sru-l { display: grid; grid-template-columns: 11rem 1fr 4.6rem; gap: .8rem; align-items: center; }
.sru-l__nom { display: grid; font: 700 .88rem/1.25 var(--titre); color: var(--nuit); }
.sru-l__nom small { font: 400 .72rem var(--texte, inherit); color: #7a8297; }
.sru-l__piste { position: relative; height: 18px; border-radius: 3px; background: #eef1f6; }
.sru-l__taux { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--nuit); }
.sru-l__piste i { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--dore); }
.sru-l b { text-align: right; font: 800 .95rem var(--titre); color: var(--nuit); }
.sru-l--rouge .sru-l__taux { background: #b3261e; }
.sru-l--rouge b, .sru-l--rouge .sru-l__nom small { color: #b3261e; }
.sru-l--fort .sru-l__taux { background: var(--dore); }
.sru-l--fort .sru-l__nom { color: var(--nuit); }
@media (max-width: 640px) { .sru-l { grid-template-columns: 1fr auto; gap: .2rem .6rem; } .sru-l__piste { grid-column: 1 / -1; grid-row: 2; } }
.sru-jauges { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0 .4rem; }
.sru-jauges > div { display: grid; gap: .35rem; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.sru-jauges .sru-j--paris { background: var(--nuit); border-color: var(--nuit); }
.sru-j--paris b, .sru-j--paris .n-etiquette { color: var(--dore) !important; }
.sru-j--paris small { color: #dfe3ec !important; }
.sru-j { position: relative; display: block; height: 14px; border-radius: 3px; background: #eef1f6; }
.sru-j > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--nuit); }
.sru-j--paris .sru-j { background: rgba(255,255,255,.15); }
.sru-j--paris .sru-j > span { background: var(--dore); }
.sru-j--rouge .sru-j > span { background: #b3261e; }
.sru-j i { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--dore); }
.sru-jauges b { font: 800 1.6rem var(--titre); color: var(--nuit); }
.sru-j--rouge b { color: #b3261e; }
.sru-jauges small { font-size: .82rem; line-height: 1.4; color: #4a5164; }
@media (max-width: 640px) { .sru-jauges { grid-template-columns: 1fr; } }
.sru-mots { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: 1rem 0; }
.sru-mots > div { display: grid; gap: .3rem; align-content: start; padding: .9rem; border-radius: 8px; background: #f4f6fa; border-top: 3px solid var(--dore); }
.sru-mots b { font: 800 .98rem var(--titre); color: var(--nuit); }
.proto-texte.vx .sru-mots p { margin: 0; font-size: .84rem !important; line-height: 1.45 !important; }
@media (max-width: 900px) { .sru-mots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sru-mots { grid-template-columns: 1fr; } }
.at-evo { margin-top: 2.6rem !important; }
/* attente : 1 sur 7, plus lisible que les colonnes */
.at-file { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin: 1rem 0 .4rem; padding: 1.2rem 1.4rem; border-radius: 12px; background: #f4f6fa; }
.at-file__gens { display: flex; gap: .5rem; }
.at-file__gens i { width: 2.2rem; height: 3.4rem; background: #c3cbda; -webkit-mask: radial-gradient(circle at 50% 22%, #000 0 .62rem, transparent .64rem), radial-gradient(ellipse at 50% 100%, #000 0 1.1rem, transparent 1.12rem); mask: radial-gradient(circle at 50% 22%, #000 0 .62rem, transparent .64rem), radial-gradient(ellipse at 50% 100%, #000 0 1.1rem, transparent 1.12rem); }
.at-file__gens i.at-p--oui { background: var(--dore); }
.proto-texte.vx .at-file p { display: grid; gap: .2rem; margin: 0; font-size: .95rem !important; color: #4a5164; }
.at-file p b { font: 800 2.2rem/1 var(--titre); color: var(--nuit); }
.at-hausse { display: grid; grid-template-columns: auto auto auto 1fr; gap: 1rem; align-items: center; margin: 1.2rem 0; }
.at-hausse > div { display: grid; padding: .7rem 1rem; border-radius: 8px; background: #f4f6fa; text-align: center; }
.at-hausse > div span { font: 700 .78rem var(--titre); color: #7a8297; }
.at-hausse > div b { font: 800 1.5rem var(--titre); color: #5b6b8c; }
.at-hausse > div.at-hausse--fort { background: var(--nuit); }
.at-hausse--fort span { color: #c3cbda !important; } .at-hausse--fort b { color: var(--dore) !important; }
.at-hausse > i { font: 800 1.4rem var(--titre); font-style: normal; color: #b3261e; }
.proto-texte.vx .at-hausse p { margin: 0; font-size: .95rem !important; }
@media (max-width: 640px) {
  .at-file { grid-template-columns: 1fr; }
  .at-file__gens i { width: 1.8rem; height: 2.8rem; }
  .at-hausse { grid-template-columns: auto auto auto; } .proto-texte.vx .at-hausse p { grid-column: 1 / -1; }
}
.at-file__gens i { position: relative; -webkit-mask: none !important; mask: none !important; background: none !important; --p: #c3cbda; }
.at-file__gens i.at-p--oui { --p: var(--dore); }
.at-file__gens i::before { content: ""; position: absolute; left: 50%; top: 0; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--p); }
.at-file__gens i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; border-radius: 1.2rem 1.2rem .3rem .3rem; background: var(--p); }

/* Attente : maquette refaite pour être lisible par tous (21 oct. 2026) */
.proto-texte.vx p.at-q { margin: 1.2rem 0 .6rem; padding-left: .8rem; border-left: 3px solid var(--dore); font-family: var(--titre) !important; font-size: 1rem !important; font-weight: 700 !important; color: var(--nuit); }
.at-temps { display: grid; gap: .7rem; margin: .4rem 0; }
.at-temps > div { display: grid; grid-template-columns: 10rem 1fr 8.5rem; gap: .8rem; align-items: center; }
.at-temps__qui { font: 700 .9rem var(--titre); color: var(--nuit); }
.at-temps__axe { height: 26px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.at-temps__axe span { display: block; height: 100%; border-radius: 4px; background: #8a98b4; }
.at-temps--fort .at-temps__axe span { background: var(--nuit); }
.at-temps b { font: 800 1.05rem var(--titre); color: var(--nuit); text-align: right; white-space: nowrap; }
@media (max-width: 640px) { .at-temps > div { grid-template-columns: 1fr auto; gap: .25rem .6rem; } .at-temps__axe { grid-column: 1 / -1; grid-row: 2; } }
.at-cent { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: .6rem 0 .4rem; }
.at-cent > div { display: grid; gap: .5rem; padding: 1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.at-cent > div.at-cent--fort { background: var(--nuit); border-color: var(--nuit); }
.proto-texte.vx .at-cent p { margin: 0; font-family: var(--titre) !important; font-size: .85rem !important; font-weight: 700 !important; color: var(--nuit); }
.at-cent--fort p { color: #dfe3ec !important; }
.at-cent__g { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.at-cent__g i { aspect-ratio: 1; border-radius: 2px; background: #e3e7ef; }
.at-cent__g i.on { background: var(--dore); }
.at-cent--fort .at-cent__g i { background: rgba(255,255,255,.14); }
.at-cent--fort .at-cent__g i.on { background: var(--dore); }
.at-cent b { font: 800 1.4rem var(--titre); color: var(--nuit); }
.at-cent--fort b { color: var(--dore); }
@media (max-width: 640px) { .at-cent { grid-template-columns: 1fr 1fr; } .at-cent > div.at-cent--fort { grid-column: 1 / -1; } }
.at-raisons2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .6rem 0; }
.at-raisons2 > div { display: grid; gap: .45rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--dore); }
.proto-texte.vx .at-raisons2 p { margin: 0; font-size: .9rem !important; line-height: 1.5 !important; }
.proto-texte.vx .at-raisons2 p.at-raisons2__t { font-family: var(--titre) !important; font-size: 1rem !important; font-weight: 800 !important; color: var(--nuit); }
.at-duo { display: grid; grid-template-columns: 1fr; gap: .2rem; font-size: .8rem; color: #4a5164; }
.at-duo { grid-template-columns: 1fr 3rem; }
.at-duo > span:first-child { grid-column: 1 / -1; }
.at-duo__p { height: 14px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.at-duo__p span { display: block; height: 100%; background: var(--nuit); }
.at-duo--or .at-duo__p span { background: var(--dore); }
.at-duo b { text-align: right; font: 800 .95rem var(--titre); color: var(--nuit); }
@media (max-width: 640px) { .at-raisons2 { grid-template-columns: 1fr; } }
.at-une { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; margin: 1rem 0 .4rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: var(--nuit); }
.at-une b { font: 800 2.6rem/1 var(--titre); color: var(--dore); }
.proto-texte.vx .at-une p { margin: 0; color: #dfe3ec; font-size: .95rem !important; }
.at-une p strong { color: #fff; }
.at-sortie { display: flex; gap: 3px; margin: .6rem 0 .4rem; border-radius: 8px; overflow: hidden; }
.at-sortie > div { display: grid; gap: .15rem; align-content: center; min-width: 0; padding: .9rem 1rem; }
.at-sortie__oui { background: var(--nuit); }
.at-sortie__oui b { color: var(--dore); }
.at-sortie__oui span { color: #dfe3ec; }
.at-sortie__non { background: #c3cbda; }
.at-sortie__non b { color: var(--nuit); }
.at-sortie b { font: 800 1.5rem var(--titre); }
.at-sortie span { font-size: .84rem; line-height: 1.35; }
.at-sortie__non span { color: #2a3247; }
@media (max-width: 520px) { .at-sortie b { font-size: 1.2rem; } .at-sortie > div { padding: .7rem; } }
.proto-texte.vx .at-une p { display: block !important; } .proto-texte.vx .at-une p strong { color: #fff !important; display: inline !important; }
.ls25 .ls-bloc > .n-savoir:first-child, .ls25 .ls-bloc > .n-details:first-child { margin-top: 0; }
.ls25 .ls-bloc > .n-savoir:only-child, .ls25 .ls-bloc > .n-details:only-child { margin-bottom: 0; }
/* Pages « rapport Ancols » (ac : rapports Ancols, lexique, logement intermédiaire) alignées sur les autres pages (21 oct. 2026, demande) :
   le titre d'onglet répété au-dessus des blocs est masqué (la barre d'onglets le montre déjà), et le titre de chaque bloc
   blanc a la même taille que partout ailleurs, avec le trait doré. */
.ls-js .ac .ls-vue > .ls-bloc > h2.ls-titre:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.ac .ac-bloc > p.ac-h3:first-child { font: 800 var(--t-h2, 1.6rem)/1.2 var(--titre) !important; color: var(--nuit); letter-spacing: -.01em; border-bottom: 0 !important; padding-bottom: 0 !important; margin: 0 0 1rem !important; }
.ac .ac-bloc > p.ac-h3:first-child::after { content: ""; display: block; width: 1.6rem; height: 3px; margin-top: .5rem; background: var(--or, var(--dore)); }
/* Accès au logement social, « Et ailleurs en France ? » : le tableau prend la couleur de l'onglet choisi (21 oct. 2026, demande) */
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLAI"] { --c: var(--plai); }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLUS"] { --c: var(--plus); }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] { --c: var(--pls); }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLI"] { --c: #8a93a6; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones { border-top: 4px solid var(--c) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones td.num:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2) { background: color-mix(in srgb, var(--c) 13%, #fff) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2)::after { color: var(--c); }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] .n-plafonds-zones thead th:nth-child(2)::after { color: #8c6a2f; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones tbody tr:last-child td.num:nth-child(2) { background: color-mix(in srgb, var(--c) 20%, #fff) !important; }
/* Accès, tableaux des plafonds (21 oct. 2026, demande) : chiffres plus petits, colonne Paris en couleur pleine de l'onglet,
   une ligne sur deux en fond clair */
[data-page="acces-logement-social-paris"] .n-plafonds td.num, [data-page="acces-logement-social-paris"] .n-plafonds-zones td.num { font-size: .9rem !important; font-weight: 700 !important; padding: .65rem 1rem !important; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody th, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody th { font-size: .88rem !important; padding: .65rem 1rem !important; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody tr:nth-child(even) th, [data-page="acces-logement-social-paris"] .n-plafonds tbody tr:nth-child(even) td,
[data-page="acces-logement-social-paris"] .n-plafonds-zones tbody tr:nth-child(even) th, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody tr:nth-child(even) td { background: #f6f7fa; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody tr:nth-child(odd) th, [data-page="acces-logement-social-paris"] .n-plafonds tbody tr:nth-child(odd) td,
[data-page="acces-logement-social-paris"] .n-plafonds-zones tbody tr:nth-child(odd) th, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody tr:nth-child(odd) td { background: #fff; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones td.num:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones tbody tr:last-child td.num:nth-child(2) { background: var(--c) !important; color: #fff !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones tbody tr:nth-child(even) td.num:nth-child(2) { background: color-mix(in srgb, var(--c) 88%, #fff) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2)::after { color: rgba(255,255,255,.8) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] .n-plafonds-zones td.num:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] .n-plafonds-zones thead th:nth-child(2) { color: var(--nuit) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] .n-plafonds-zones thead th:nth-child(2)::after { color: rgba(16,27,52,.7) !important; }
/* Accès, tableaux des plafonds : couleur de colonne Paris en transparence, chiffres plus petits et plus légers (21 oct. 2026, demande) */
[data-page="acces-logement-social-paris"] .n-plafonds td.num, [data-page="acces-logement-social-paris"] .n-plafonds-zones td.num { font-size: .82rem !important; font-weight: 500 !important; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody th, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody th { font-size: .82rem !important; font-weight: 600 !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones td.num:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2),
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones tbody tr:last-child td.num:nth-child(2) { background: color-mix(in srgb, var(--c) 16%, #fff) !important; color: var(--nuit) !important; font-weight: 600 !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones tbody tr:nth-child(even) td.num:nth-child(2) { background: color-mix(in srgb, var(--c) 22%, #fff) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] .n-plafonds-zones thead th:nth-child(2)::after { color: var(--c) !important; }
[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom="PLS"] .n-plafonds-zones thead th:nth-child(2)::after { color: #8c6a2f !important; }
/* Accès, tableaux des plafonds : plus fort que decryptage.css (chargé après) — chiffres et intitulés plus petits (21 oct. 2026) */
body[data-page="acces-logement-social-paris"] table.n-plafonds td.num, body[data-page="acces-logement-social-paris"] table.n-plafonds-zones td.num { font: 500 .82rem/1.3 var(--titre) !important; padding: .6rem .9rem !important; }
body[data-page="acces-logement-social-paris"] table.n-plafonds tbody th, body[data-page="acces-logement-social-paris"] table.n-plafonds-zones tbody th { font: 600 .82rem/1.3 var(--titre) !important; padding: .6rem .9rem !important; }
body[data-page="acces-logement-social-paris"] table.n-plafonds thead th, body[data-page="acces-logement-social-paris"] table.n-plafonds-zones thead th { font: 700 .74rem/1.3 var(--titre) !important; vertical-align: bottom; }
body[data-page="acces-logement-social-paris"] table.n-plafonds-zones thead th small { display: block; margin-top: .2rem; font: 400 .66rem/1.3 var(--texte, inherit); color: #6b7385; text-transform: none; letter-spacing: 0; }
body[data-page="acces-logement-social-paris"] .n-cat-panneau[data-nom] table.n-plafonds-zones td.num:nth-child(2) { font-weight: 600 !important; }
body[data-page="acces-logement-social-paris"] table.n-plafonds-zones thead th { white-space: normal !important; }
body[data-page="acces-logement-social-paris"] table.n-plafonds-zones thead th small { display: block !important; max-width: 11rem; margin-left: auto; white-space: normal; }
body[data-page="acces-logement-social-paris"] table.n-plafonds-zones tbody th, body[data-page="acces-logement-social-paris"] table.n-plafonds tbody th { white-space: nowrap; }

/* Carte des opérations : 4 chiffres clés depuis le retrait de « Ont bougé depuis nos fiches » (21 oct. 2026) — plus de case vide */
.op-toutes .ls-erp__kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .op-toutes .ls-erp__kpi { grid-template-columns: 1fr 1fr; } }

/* Menu « Bailleurs » : les titres de groupe gardent leur marge — la règle .barre nav li { padding: 0 } l'écrasait (22 oct. 2026) */
.barre nav .sous-menu { padding: .7rem 0 .8rem; }
.barre nav .sous-menu .sous-menu__titre { padding: .75rem 1.6rem .3rem; }
.barre nav .sous-menu .sous-menu__titre:first-child { padding-top: .35rem; }

/* Préemptions, fiches des biens : pas de mot coupé (« copropriét/é ») et la ligne « PLAI 6 logements » revient à la ligne
   au lieu de déborder sur la colonne voisine (22 oct. 2026) */
.releve--fiches td { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.releve--fiches td a { overflow-wrap: anywhere; }
.releve--fiches .fi__cat-t { white-space: normal; }
.releve--fiches .fi__cat-t abbr { white-space: nowrap; }

/* Préemptions, fiches des biens sur mobile : cartes à deux colonnes, comme la carte des opérations (22 oct. 2026, demande) */
@media (max-width: 760px) {
	body[data-page^="preemptions-"] .releve--fiches tbody tr {
		display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.1rem; position: relative;
		margin: 0 0 .75rem; padding: 1.1rem 1.1rem 1.15rem 1.3rem;
		border: 1px solid #e3e6ee; border-radius: 14px; background: #fff !important; box-shadow: 0 1px 2px rgba(16, 27, 52, .04);
	}
	body[data-page^="preemptions-"] .releve--fiches tbody tr::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--dore); opacity: .55; }
	body[data-page^="preemptions-"] .releve--fiches tbody tr th,
	body[data-page^="preemptions-"] .releve--fiches tbody tr td,
	body[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(n) td,
	body[data-page^="preemptions-"] .releve--fiches tbody tr:nth-child(n) th,
	body[data-page^="preemptions-"] .releve--fiches tbody tr:hover td,
	body[data-page^="preemptions-"] .releve--fiches tbody tr:hover th {
		display: block; min-width: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
		font-size: .86rem; line-height: 1.4;
	}
	body[data-page^="preemptions-"] .releve--fiches tbody th { grid-column: 1 / -1; }
	body[data-page^="preemptions-"] .releve--fiches td[data-label="Données financières"] { grid-row: span 2; }
	body[data-page^="preemptions-"] .releve--fiches tbody td[data-label="Sources"] { grid-column: 1 / -1; display: block !important; }
	body[data-page^="preemptions-"] .releve--fiches td[data-label="Sources"] > * { display: inline-block !important; margin: .3rem .35rem 0 0 !important; vertical-align: middle; }
	body[data-page^="preemptions-"] .releve--fiches td::before {
		margin-bottom: .22rem; font: 700 .62rem/1.2 var(--titre) !important; letter-spacing: .08em; text-transform: uppercase; color: #8b92a5;
	}
	body[data-page^="preemptions-"] .releve--fiches .fi__puce { margin: .3rem 0 0; }
}

/* Accès au logement social : onglets de zone au-dessus du choix du foyer (22 oct. 2026) */
.ac2-zones { margin-bottom: .8rem; }
@media (max-width: 640px) { .ac2-zones { display: flex; width: 100%; } .ac2-zones button { flex: 1; white-space: normal; line-height: 1.25; } }

/* Budget de Paris : la ligne « = Total logement social » (2e ligne de total, pastille dorée) sur fond doré clair (22 oct. 2026, demande) */
.ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total td,
.ls25 .be-table tbody tr.be-l--total ~ tr.be-l--total th { background: color-mix(in srgb, var(--dore) 18%, #fff) !important; }
/* Préemptions, Logement social : onglets « Les graphiques » / « Les adresses » (22 oct. 2026) */
.pp-parties { margin: .4rem 0 1.4rem; }
.pp-parties button { padding: .7rem 1.5rem; font-size: 1rem; }
/* Préemptions (22 oct. 2026) : deux niveaux d'onglets bien distincts, moins de vide, recherche par adresse */
.pp-parties { margin: .2rem 0 .9rem; }
.pp-parties button[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--dore); }
[data-pp-partie-panneau] > :first-child { margin-top: 0 !important; }
.pp-fiches .ls-erp__vues { background: transparent; }
.pp-fiches .ls-erp__vues button[aria-selected="true"] { background: #e4ecf8; color: var(--nuit); box-shadow: none; }
.pp-fiches .ls-erp__vues button:hover:not([aria-selected="true"]) { background: #f0f4fa; }
.pp-filtres input[type="search"] { min-width: 15rem; padding: .5rem .7rem; border: 1px solid #d5dae4; border-radius: 8px; background: #fff; font: 400 .92rem var(--texte); color: var(--nuit); text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) { .pp-filtres__adr, .pp-filtres input[type="search"] { width: 100%; min-width: 0; } }
/* Préemptions, « Toutes les adresses » : la recherche dans un bloc blanc (22 oct. 2026) */
.ls25 .pp-recherche { margin-bottom: 1rem; }
.pp-recherche .ls-erp__filtres { margin-top: 0; }
.pp-recherche .ls-erp__barre { margin-bottom: 0; }
.ls25 .pp-annee__resume.pp-filtres__compte { flex-basis: auto; margin: 0 0 .8rem; font: inherit; font-size: .9rem; color: #2a3247; }
/* Actualités, rapports Ancols : 6 cartes, en deux lignes de 3 (22 oct. 2026) */
@media (min-width: 1100px) { .n-essentiel--6 { grid-template-columns: repeat(3, 1fr); } }
/* logements-sociaux-finances-paris : accès rapide aux adresses (vue d'ensemble), mêmes champs que la recherche de l'onglet */
.ls-erp__filtres.fe-cherche { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin: 0; }
.fe-cherche .ls-erp__btn { height: 2.3rem; }
.fe-cherche .ls-erp__cherche { grid-column: auto; }

/* Présidentielle 2027 : lisibilité (26 oct. 2026). Mêmes couleurs et polices, textes un peu plus grands. */
.rc2__t { font-size: .86rem; }
.rq b { font-size: .8rem; line-height: 1.25; text-transform: none; letter-spacing: 0; }   /* intitulés courts, en minuscules, lisibles (26 oct. 2026) */
.rq { min-width: 6.4rem; }
.rc2__t tbody th span { font-size: .92rem; }
.rc2__t tbody th small { font-size: .7rem; }
.rc2__t td { padding: .55rem .4rem; }
.rr { min-width: 3.8rem; height: 2.3rem; font-size: .84rem; }
.rc2__defile { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rc2__t tbody th { box-shadow: 6px 0 8px -6px rgba(16,27,52,.18); }
.rc2__t thead th:nth-child(even), .rc2__t tbody td:nth-child(even) { background: #eef3fa; }   /* une colonne sur deux en bleu clair (26 oct. 2026) */
.rc2__t tbody tr:hover td:nth-child(even) { background: #e4ebf6; }
.rr.rr--rien { min-width: .45rem; width: .45rem; height: .45rem; padding: 0; }   /* « rien trouvé » reste un petit point */
.rr--ancien { background: #fff; border: 2px dotted #9aa0ae; color: #5b6070; }
.rr--np { min-width: 0; height: auto; padding: 0 .3rem; background: none; border: 0; font: 600 .64rem var(--titre); color: #9aa0ae; white-space: nowrap; cursor: default; }
.rc2__leg .rr--np { min-width: 0; height: auto; font-size: .64rem; }
.rc2__glisse { display: none; margin: -.4rem 0 .6rem; font-size: .78rem; color: #7a8297; }
@media (max-width: 900px) { .rc2__glisse { display: block; } .rc2__t tbody th span { font-size: .8rem; } .rq b { font-size: .74rem; } .rq { min-width: 5.6rem; } }
.ps-og { margin: 1rem 0 0; padding: .9rem 1rem; border: 1px solid #eef0f4; border-radius: 10px; background: #fcfcfd; }
.ps-og__t { margin: 0 0 .7rem; font: 800 .74rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #8c6a2f; }
.ps-x--court { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ps-suite { display: block; margin: .15rem 0 0; padding: 0; border: 0; background: none; font: 700 .72rem var(--titre); color: #8c6a2f; text-decoration: underline; cursor: pointer; }
.ps-meth { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.ps-meth__b { padding: 1rem 1.1rem; background: #fff; border-top: 3px solid var(--dore); border-radius: 12px; box-shadow: 0 1px 3px rgba(16,27,52,.06); }
.ps-sec--sources .ps-meth__t { margin: 0 0 .4rem; font: 800 .95rem var(--titre); color: var(--nuit); }
.ps-sec--sources .ps-meth__b p { margin: 0; font-size: .86rem; line-height: 1.55; }

/* Actualités : liste déroulante des rapports Ancols à côté du titre (26 oct. 2026) */
.n-aller { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; color: #5b6070; }
.n-aller select { padding: .5rem 2rem .5rem .8rem; border: 1px solid #d6dae3; border-radius: 6px; background: #fff; color: var(--nuit); font: 600 .85rem var(--titre); cursor: pointer; }
.n-aller select:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
@media (max-width: 640px) { .n-section__tete:has(.n-aller) { flex-wrap: wrap; } .n-aller__lib { display: none; } }

/* Autorisations d'urbanisme (autorisations-urbanisme-paris.html, 26 oct. 2026) : 16 onglets sur plusieurs lignes (pas collés
   en haut, trop hauts), liste déroulante .n-aller à leur place sur téléphone ; colonnes de la liste ; fiches sur téléphone */
.ls25 .ls-onglets.ls-onglets--plusieurs { position: static; flex-wrap: wrap; overflow: visible; }
.ls-onglets-choix { display: none; }
@media (max-width: 700px) {
	.ls25 .ls-onglets.ls-onglets--plusieurs { display: none; }
	html.ls-js .ls-onglets-choix { display: flex; margin: 0 0 1.2rem; }
	.ls-onglets-choix select { flex: 1; min-width: 0; }
}
.ls-tab--ur td[data-col="Dépôt"] { white-space: nowrap; }
.ls-tab--ur td[data-col="Description"] { min-width: 18rem; }
.ls-tab--ur td[data-col="Description"] > span { display: block; }
@media (max-width: 760px) {
	.ls25 .ls-tab--ur td[data-col="Dépôt"] { grid-column: 1 / -1; grid-row: 1; font-size: .74rem; color: var(--texte-n2); }
	.ls25 .ls-tab--ur td[data-col="Adresse"] { grid-column: 1; grid-row: 2; }
	.ls25 .ls-tab--ur td[data-col="Arr."] { grid-column: 2; grid-row: 2; }
	.ls25 .ls-tab--ur td[data-col="Dossier"], .ls25 .ls-tab--ur td[data-col="Description"] { grid-column: 1 / -1; }
	.ls25 .ls-tab--ur td[data-col="Décision"] { grid-column: 1; }
	.ls25 .ls-tab--ur td[data-col="Délai"] { grid-column: 2; }
	.ls-tab--ur td[data-col="Description"] { min-width: 0; }
}
.ls-tab--ur td[data-col="Dossier"] small { white-space: nowrap; }
@media (max-width: 700px) { .ls25 .ls-vue .n-repart__leg[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ls25 .ls-vue .n-repart__leg > div { min-width: 0; } }

/* Préemptions (27 oct. 2026) : la carte de l'ancien onglet Synthèse, à côté de sa ligne du tableau, dans chaque onglet */
.pp-resume { display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); gap: 1.2rem; align-items: start; margin: 0 0 1.4rem; }
.pp-resume .pp-details { margin: 0; }
.pp-carte--fixe { cursor: default; }
.pp-carte--fixe:hover { border-color: #e3e7ef; }
@media (max-width: 860px) { .pp-resume { grid-template-columns: minmax(0, 1fr); } }
/* Préemptions : chiffre au-dessus de chaque colonne, année sous chaque colonne (27 oct. 2026) ; la bulle ferait doublon */
.pp .ls-cols { padding-top: 1.5rem; }
.pp .ls-col { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.pp .ls-col__pile { flex-shrink: 0; }
.pp-col__val { display: block; margin-bottom: .25rem; font: 700 .78rem/1.1 var(--titre); color: var(--nuit); text-align: center; white-space: nowrap; }
.pp .ls-bulle { display: none; }
.pp .pp-axe { display: flex; gap: 3px; }
.pp .pp-axe span { flex: 1 1 0; text-align: center; }
/* Préemptions, Logement social › Les graphiques (27 oct. 2026) : graphiques à gauche, les 8 cartes chiffrées à droite l'une sous l'autre ;
   sur téléphone, les cartes passent au-dessus (2 par ligne) */
.pp-cote { display: grid; grid-template-columns: minmax(0, 1fr) 16.5rem; gap: 1.2rem; align-items: start; }
.pp-cote__graph { min-width: 0; }
.pp-cote__cartes .ls-tuiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; margin: 0; }
.pp-cote__cartes .ls-note { margin-top: .8rem; }
.pp-cote .pp-resume { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) {
	.pp-cote { grid-template-columns: minmax(0, 1fr); }
	.pp-cote__cartes { order: -1; }
	.pp-cote__cartes .ls-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .pp-cote__cartes .ls-tuile__val { font-size: 1.4rem; white-space: nowrap; } }
.pp-resume { grid-template-columns: minmax(0, 32rem); }   /* la carte seule, sans le tableau à côté (27 oct. 2026) */
.pp-cote .pp-resume { grid-template-columns: minmax(0, 1fr); }
/* Préemptions, « Année par année » : les chiffres du type sur une ligne (27 oct. 2026) */
.pp-resume__ligne { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 0; margin: 0 0 .4rem; }
.pp-resume__ch { display: flex; flex-direction: column; gap: .15rem; padding: .1rem 1.6rem .1rem 0; margin-right: 1.6rem; border-right: 1px solid #e3e7ef; }
.pp-resume__ch:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pp-carte .pp-resume__ch b { margin: 0; font: 800 1.35rem/1.1 var(--titre); color: var(--nuit); white-space: nowrap; }
.pp-carte .pp-resume__ch:last-child b { font-size: 1rem; line-height: 1.5; font-weight: 700; color: #4a5164; }
.pp-resume__ch small { font-size: .74rem; letter-spacing: .02em; color: #7a8297; }
@media (max-width: 700px) {
	.pp-resume__ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 0; }
	.pp-resume__ch { margin-right: 0; padding-right: .8rem; border-right: 0; }
}
.pp-carte .pp-resume__ch:last-child b { white-space: normal; }
/* 27 oct. 2026 (demande) : colonnes inversées, les cartes chiffrées à gauche, les graphiques à droite */
.pp-cote { grid-template-columns: 16.5rem minmax(0, 1fr); }
.pp-cote__cartes { order: -1; }
@media (max-width: 1000px) { .pp-cote { grid-template-columns: minmax(0, 1fr); } }
/* Préemptions (27 oct. 2026) : onglets « Les adresses / Les chiffres » et la période sur la même ligne, la période à droite */
.pp-parties-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: .2rem 0 .9rem; }
.pp-parties-ligne .pp-parties { margin: 0; }
/* Préemptions › Les chiffres : de l'air entre les blocs de la colonne des graphiques (27 oct. 2026) */
.pp-cote__graph > * + * { margin-top: 1.2rem !important; }
.pp-cote__graph > .pp-h3 { margin-top: 1.8rem !important; }
/* Logements financés › Les adresses (27 oct. 2026) : sans filtre, seules les cartes Coût et Subvention restent (les deux autres répètent le bandeau) */
.fe .ls-erp__kpi:not(.fe-kpi--filtre) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fe .ls-erp__kpi > div[hidden] { display: none; }
/* Logements financés › Les adresses (27 oct. 2026) : lecture plus confortable du tableau, montants plus compacts */
.fe .ls-erp__kpi > div { padding: .6rem 1rem; }
.fe .ls-erp__kpi b { font-size: 1.2rem; }
.fe .ls-erp__kpi small { display: block; margin-top: .15rem; }
.fe .ls-tab td[data-col="Coût"] { min-width: 9.5rem; }
.fe .ls-tab__cout small { max-width: none; margin-left: 0; }
.fe .ls-tab td[data-col="Bailleur"] { min-width: 6.5rem; }
.fe .ls-tab td[data-col="Année"], .fe .ls-tab td[data-col="Logements"] { white-space: nowrap; }
@media (max-width: 760px) { .fe .ls-tab td[data-col="Coût"], .fe .ls-tab td[data-col="Bailleur"] { min-width: 0; } .fe .ls-erp__kpi b { font-size: 1.05rem; white-space: nowrap; } }
.fe .ls-tab__cout small { white-space: nowrap; }
@media (max-width: 760px) { .fe .ls-tab__cout small { white-space: normal; } }
/* Logements financés › Carte (27 oct. 2026) : vrai plan de Paris (Leaflet, fond IGN), même cadre que les préemptions */
.ls-plan { height: clamp(24rem, 60vh, 38rem); margin: 0; }
.ls-plan .leaflet-tile-pane { filter: saturate(.7) brightness(1.04); }
.ls-plan path.ls-pt { stroke: #fff; }
@media (max-width: 760px) { .ls-plan { height: 24rem; } }
/* Préemptions › Plan de Paris (27 oct. 2026) : le repère choisi, entouré d'or ; le plan prend la hauteur de son cadre */
.repere--choisi span { box-shadow: 0 0 0 3px var(--or), 0 2px 5px rgba(0, 0, 0, .3); }
.repere--choisi { z-index: 1000 !important; }
.pp-fiches__carte .pp-plan { margin: 0; }
/* Plans Leaflet (logements financés, opérations Paris Habitat) : point choisi en or, « a bougé » en rouge (27 oct. 2026) */
.ls-plan path.ls-pt--choisi { stroke: var(--or); stroke-width: 3; fill-opacity: 1; }
.ls-plan path.op-pt--bouge { stroke: #b3261e; stroke-width: 2.2; }
/* Préemptions (27 oct. 2026, demande) : boutons « Les adresses / Les chiffres » un peu plus petits */
.pp-parties button { padding: .45rem 1.05rem !important; font-size: .88rem !important; }
.pp-parties { padding: 3px !important; }
/* Préemptions (27 oct. 2026, demande) : noms des onglets du haut un peu plus petits */
.pp .ls-onglets--haut button, .pp .ls-onglets--sous button { font-size: .82rem !important; padding-top: .7rem !important; padding-bottom: .7rem !important; }
.pp-parties-ligne--seule { justify-content: flex-end; }
/* Budget de Paris (27 oct. 2026) : lien « Sources de ce thème » dans le bandeau bleu */
.n-hero .be-tete__lien { padding: 0; border: 0; background: none; font: 700 .85rem var(--titre); color: var(--dore); cursor: pointer; }
/* Budget de Paris (27 oct. 2026, demande) : plus de colonnes « tendance » ni « Évol. » dans les tableaux */
.be-table th.be-evo-h, .be-table td.be-evo { display: none !important; }

/* 28 oct. 2026 : titre des cartes de graphiques (chiffres-cles) en gras, comme les autres titres de cartes */
.ls25 .cc-fig .cc-titre { font: 700 var(--t-h3, 1.12rem)/1.3 var(--titre) !important; color: var(--nuit) !important; }
/* 28 oct. 2026 : barre d’onglets principale à la même taille sur toutes les pages (sauf les grandes cartes-onglets de vos-recours) */
.ls25 .ls-onglets:not(.vr-onglets) > button { font-size: .82rem; }

/* 28 oct. 2026 (demande) : patrimoine de la RIVP sur un vrai plan, comme la carte des opérations de Paris Habitat.
   Encart à gauche (résidence touchée), carte à droite ; sur téléphone la carte passe au-dessus et l'encart dessous. */
[data-page="rivp-patrimoine"] .ls-erp__carte.rv-carte:not([hidden]) { display: block; }
.rv-carte__grille { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.rv-carte__plan { position: relative; min-height: 38rem; border: 1px solid #e3e7ef; border-radius: 8px; overflow: hidden; background: #eef0f4; z-index: 0; }
.rv-encart { position: relative; max-height: 38rem; overflow-y: auto; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 8px; font-size: .84rem; }
.rv-encart .ls-erp__info-vide { margin: .2rem 2rem 0 0; color: var(--texte-n2); }
.rv-encart__fermer { position: absolute; top: .5rem; right: .5rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: #f2f3f6; font: 700 1.1rem/1 var(--titre); color: var(--nuit); cursor: pointer; }
.rv-encart__fermer:hover { background: var(--nuit); color: #fff; }
.rv-encart__statut { margin: 0 2.4rem .35rem 0; font-size: .74rem; color: var(--texte-n2); }
.rv-encart .ls-erp__info-adr { margin-right: 2.2rem; }
.rv-encart .ls-erp__info-dl dd small { display: block; font: 400 .72rem var(--texte); color: var(--texte-n2); }
.rv-lot { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.rv-lot button { display: block; width: 100%; padding: .55rem .7rem; border: 1px solid #e3e7ef; border-radius: 6px; background: #fff; text-align: left; cursor: pointer; font: inherit; }
.rv-lot button:hover { border-color: var(--nuit); }
.rv-lot b { display: block; font: 700 .86rem var(--titre); color: var(--nuit); }
.rv-lot small { color: var(--texte-n2); }
.rv-carte__leg { margin-top: .6rem; }
@media (max-width: 760px) {
  .rv-carte__grille { grid-template-columns: 1fr; }
  .rv-carte__plan { order: -1; min-height: 26rem; }
  .rv-encart { max-height: none; }
}
/* repères et ronds : mêmes dessins que la carte des opérations ; couleur = période de livraison (légende) */
[data-page="rivp-patrimoine"] .op-pin { display: flex; align-items: flex-end; justify-content: center; background: none; border: 0; }
[data-page="rivp-patrimoine"] .op-pin svg { width: 16px; height: 21px; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(16, 27, 52, .35)); transform-origin: 50% 100%; transition: transform .12s; }
[data-page="rivp-patrimoine"] .op-pin path { fill: var(--nuit); stroke: #fff; stroke-width: 1.6; }
[data-page="rivp-patrimoine"] .op-pin circle { fill: #fff; }
[data-page="rivp-patrimoine"] .op-pin:hover svg { transform: scale(1.2); }
[data-page="rivp-patrimoine"] .op-pin:focus-visible { outline: none; }
[data-page="rivp-patrimoine"] .rv-pin--a path { fill: #5f7398; }
[data-page="rivp-patrimoine"] .rv-pin--r path { fill: var(--dore); }
[data-page="rivp-patrimoine"] .rv-pin--nc path { fill: #b3b9c5; }
[data-page="rivp-patrimoine"] .rv-pin--fin path { fill: #fff; stroke: #c2410c; stroke-width: 2.2; }
[data-page="rivp-patrimoine"] .rv-pin--fin circle { fill: #c2410c; }
[data-page="rivp-patrimoine"] .op-pin--choisi svg { width: 24px; height: 31px; filter: drop-shadow(0 2px 4px rgba(16, 27, 52, .45)); }
[data-page="rivp-patrimoine"] .op-pin--choisi path { stroke: var(--or); stroke-width: 2.4; }
[data-page="rivp-patrimoine"] .op-pin--choisi circle { fill: var(--or); }
[data-page="rivp-patrimoine"] .op-grappe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 27, 52, .16); }
[data-page="rivp-patrimoine"] .op-grappe span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #fff; font: 700 .8rem var(--titre); color: #fff; }
[data-page="rivp-patrimoine"] .op-grappe:hover span { background: #24345a; }
[data-page="rivp-patrimoine"] .op-tout button { display: block; padding: .35rem .6rem; border: 0; border-radius: 4px; background: #fff; font: 600 .76rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="rivp-patrimoine"] .op-tout button:hover { background: #f4f4f4; }

/* 28 oct. 2026 : colonne de gauche de la carte RIVP = même système que la carte des opérations (règles reprises de css/decryptage.css) */
[data-page="rivp-patrimoine"] .op-carte__x { position: absolute; top: .5rem; right: .5rem; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%; background: #f1f3f7; font: 400 1.35rem/1 var(--texte); color: var(--nuit); cursor: pointer; }
[data-page="rivp-patrimoine"] .op-carte__x:hover, [data-page="rivp-patrimoine"] .op-carte__x:focus-visible { background: var(--nuit); color: #fff; outline: none; }
[data-page="rivp-patrimoine"] .op-lot__pt { flex: none; width: .6rem; height: .6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nuit); }
[data-page="rivp-patrimoine"] .op-carte__retour { display: block; margin: 0 0 .5rem; padding: 0; border: 0; background: none; font: 600 .8rem var(--titre); color: #8c6a2f; cursor: pointer; }
[data-page="rivp-patrimoine"] .op-carte__retour:hover { text-decoration: underline; }
[data-page="rivp-patrimoine"] .op-cote { height: clamp(30rem, 78vh, 52rem); overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem 0 .15rem; scrollbar-width: thin; }
[data-page="rivp-patrimoine"] .op-cote__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0 .5rem; background: #fff; }
[data-page="rivp-patrimoine"] .op-cote__tete .op-carte__retour { margin: 0; }
[data-page="rivp-patrimoine"] .op-cote__tete .op-carte__x { position: static; flex: none; }
[data-page="rivp-patrimoine"] .op-cote__n { margin: 0; font: 600 .9rem var(--titre); color: var(--nuit); }
[data-page="rivp-patrimoine"] .op-cote__n b { font-weight: 800; }
[data-page="rivp-patrimoine"] .op-cote__l { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
[data-page="rivp-patrimoine"] .op-cote__l li { margin: 0; padding: 0; }
[data-page="rivp-patrimoine"] .op-cote__l li::before { content: none; }
[data-page="rivp-patrimoine"] .op-c { display: grid; gap: .15rem; width: 100%; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: var(--nuit); transition: border-color .12s, box-shadow .12s; }
[data-page="rivp-patrimoine"] .op-c:hover, [data-page="rivp-patrimoine"] .op-c--survol, [data-page="rivp-patrimoine"] .op-c:focus-visible { border-color: #c3cbda; box-shadow: 0 4px 14px rgba(16, 27, 52, .08); outline: none; }
[data-page="rivp-patrimoine"] .op-c--on { border-color: var(--dore); background: #fffaf0; }
[data-page="rivp-patrimoine"] .op-c__fam { display: flex; align-items: center; gap: .45rem; font: 400 .76rem var(--texte); color: #6b7286; }
[data-page="rivp-patrimoine"] .op-c__adr { font: 700 .95rem/1.3 var(--titre); }
[data-page="rivp-patrimoine"] .op-c__sous { font: 400 .78rem/1.4 var(--texte); color: #6b7286; }
[data-page="rivp-patrimoine"] .op-c__bud { margin-top: .15rem; font: 800 .9rem var(--titre); color: var(--nuit); }
[data-page="rivp-patrimoine"] .op-c__bud small { font: 400 .72rem var(--texte); color: #8b92a5; }
[data-page="rivp-patrimoine"] .op-cote__vide, [data-page="rivp-patrimoine"] .op-cote__note { margin: .8rem 0; font: 400 .8rem/1.4 var(--texte); color: #6b7286; }
[data-page="rivp-patrimoine"] .op-cote__fiche { padding: .2rem .1rem 1rem; font-size: .84rem; }
[data-page="rivp-patrimoine"] .op-cote__fiche p { margin: 0 0 .4rem; }
[data-page="rivp-patrimoine"] .op-cote__fiche .ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .8rem 0; }
[data-page="rivp-patrimoine"] .op-zone-btn { position: absolute; top: .75rem; left: 50%; z-index: 850; transform: translateX(-50%); padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(16, 27, 52, .22); font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="rivp-patrimoine"] .op-zone-btn[hidden] { display: none; }
[data-page="rivp-patrimoine"] .op-zone-btn:hover { background: var(--nuit); color: #fff; }
[data-page="rivp-patrimoine"] .op-carte__fiche .op-cote__l { margin-top: .5rem; }
[data-page="rivp-patrimoine"] .op-c__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
[data-page="rivp-patrimoine"] .op-c__pied .op-c__bud { margin: 0; }
[data-page="rivp-patrimoine"] .op-c__voir { flex: none; padding: .25rem .65rem; border: 1px solid #dde1ea; border-radius: 999px; font: 600 .74rem var(--titre); color: var(--nuit); white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
[data-page="rivp-patrimoine"] .op-c:hover .op-c__voir, [data-page="rivp-patrimoine"] .op-c:focus-visible .op-c__voir { border-color: var(--nuit); background: var(--nuit); color: #fff; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-adr { margin: 0 0 .15rem !important; font: 800 1.25rem/1.2 var(--titre) !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous { margin: 0 0 .3rem !important; font-size: .82rem; color: #5b6478; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous.op-cp { margin-bottom: .1rem !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .45rem !important; margin: .9rem 0 1rem !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div { padding: .6rem .75rem; border-radius: 12px; background: #f6f4ee; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:nth-child(-n+2) { background: #eef2f8; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dt { margin: 0 0 .15rem; font: 600 .7rem/1.3 var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #5b6478 !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd { margin: 0 !important; font: 800 1.15rem/1.2 var(--titre) !important; color: var(--nuit) !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd.ls-erp__info-bs { display: flex; align-items: center; gap: .35rem; font-size: .9rem !important; font-weight: 700 !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns { display: flex; gap: .5rem; margin: .4rem 0 0 !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns .op-fiche-btn { flex: 1; justify-content: center; margin: 0; padding: .6rem .9rem !important; border: 1.5px solid var(--nuit) !important; border-radius: 999px !important; font: 700 .85rem var(--titre) !important; text-decoration: none; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns button.op-fiche-btn { background: var(--nuit) !important; color: #fff !important; }
[data-page="rivp-patrimoine"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns a.op-gmaps-btn { background: #fff !important; color: var(--nuit) !important; }
[data-page="rivp-patrimoine"] .rv-encart { padding: 0 .8rem .8rem; height: 38rem; max-height: none; overscroll-behavior: contain; scrollbar-width: thin; }
[data-page="rivp-patrimoine"] .op-lot__pt.rv-pin--m { background: var(--nuit); } [data-page="rivp-patrimoine"] .op-lot__pt.rv-pin--a { background: #5f7398; }
[data-page="rivp-patrimoine"] .op-lot__pt.rv-pin--r { background: var(--dore); } [data-page="rivp-patrimoine"] .op-lot__pt.rv-pin--nc { background: #b3b9c5; }
[data-page="rivp-patrimoine"] .op-lot__pt.rv-pin--fin { background: #fff; box-shadow: inset 0 0 0 2px #c2410c; }
[data-page="rivp-patrimoine"] .op-cote__fiche .ls-erp__info-dl dd small { display: block; font: 400 .72rem var(--texte); color: var(--texte-n2); }
@media (max-width: 760px) { [data-page="rivp-patrimoine"] .rv-encart { height: auto; max-height: 34rem; } }

/* 28 oct. 2026 (demande) : cartes à deux colonnes (Il fait / Il ne fait pas, Ce qui relève du STH…) en blocs blancs, comme le reste du site */
.n-deux > div { background: #fff; }
.rc-etapes > div { background: #fff; border: 1px solid var(--trait-n); }

/* 28 oct. 2026 (demande) : programmes financés sur le même système de carte que Paris Habitat et la RIVP (règles reprises de la carte RIVP) */
[data-page="logements-sociaux-finances-paris"] .ls-erp__carte.rv-carte:not([hidden]) { display: block; }
[data-page="logements-sociaux-finances-paris"] .op-pin { display: flex; align-items: flex-end; justify-content: center; background: none; border: 0; }
[data-page="logements-sociaux-finances-paris"] .op-pin svg { width: 16px; height: 21px; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(16, 27, 52, .35)); transform-origin: 50% 100%; transition: transform .12s; }
[data-page="logements-sociaux-finances-paris"] .op-pin path { fill: var(--nuit); stroke: #fff; stroke-width: 1.6; }
[data-page="logements-sociaux-finances-paris"] .op-pin circle { fill: #fff; }
[data-page="logements-sociaux-finances-paris"] .op-pin:hover svg { transform: scale(1.2); }
[data-page="logements-sociaux-finances-paris"] .op-pin:focus-visible { outline: none; }
[data-page="logements-sociaux-finances-paris"] .op-pin--choisi svg { width: 24px; height: 31px; filter: drop-shadow(0 2px 4px rgba(16, 27, 52, .45)); }
[data-page="logements-sociaux-finances-paris"] .op-pin--choisi path { stroke: var(--or); stroke-width: 2.4; }
[data-page="logements-sociaux-finances-paris"] .op-pin--choisi circle { fill: var(--or); }
[data-page="logements-sociaux-finances-paris"] .op-grappe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 27, 52, .16); }
[data-page="logements-sociaux-finances-paris"] .op-grappe span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #fff; font: 700 .8rem var(--titre); color: #fff; }
[data-page="logements-sociaux-finances-paris"] .op-grappe:hover span { background: #24345a; }
[data-page="logements-sociaux-finances-paris"] .op-tout button { display: block; padding: .35rem .6rem; border: 0; border-radius: 4px; background: #fff; font: 600 .76rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="logements-sociaux-finances-paris"] .op-tout button:hover { background: #f4f4f4; }
[data-page="logements-sociaux-finances-paris"] .op-carte__x { position: absolute; top: .5rem; right: .5rem; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%; background: #f1f3f7; font: 400 1.35rem/1 var(--texte); color: var(--nuit); cursor: pointer; }
[data-page="logements-sociaux-finances-paris"] .op-carte__x:hover, [data-page="logements-sociaux-finances-paris"] .op-carte__x:focus-visible { background: var(--nuit); color: #fff; outline: none; }
[data-page="logements-sociaux-finances-paris"] .op-lot__pt { flex: none; width: .6rem; height: .6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nuit); }
[data-page="logements-sociaux-finances-paris"] .op-carte__retour { display: block; margin: 0 0 .5rem; padding: 0; border: 0; background: none; font: 600 .8rem var(--titre); color: #8c6a2f; cursor: pointer; }
[data-page="logements-sociaux-finances-paris"] .op-carte__retour:hover { text-decoration: underline; }
[data-page="logements-sociaux-finances-paris"] .op-cote { height: clamp(30rem, 78vh, 52rem); overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem 0 .15rem; scrollbar-width: thin; }
[data-page="logements-sociaux-finances-paris"] .op-cote__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0 .5rem; background: #fff; }
[data-page="logements-sociaux-finances-paris"] .op-cote__tete .op-carte__retour { margin: 0; }
[data-page="logements-sociaux-finances-paris"] .op-cote__tete .op-carte__x { position: static; flex: none; }
[data-page="logements-sociaux-finances-paris"] .op-cote__n { margin: 0; font: 600 .9rem var(--titre); color: var(--nuit); }
[data-page="logements-sociaux-finances-paris"] .op-cote__n b { font-weight: 800; }
[data-page="logements-sociaux-finances-paris"] .op-cote__l { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
[data-page="logements-sociaux-finances-paris"] .op-cote__l li { margin: 0; padding: 0; }
[data-page="logements-sociaux-finances-paris"] .op-cote__l li::before { content: none; }
[data-page="logements-sociaux-finances-paris"] .op-c { display: grid; gap: .15rem; width: 100%; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: var(--nuit); transition: border-color .12s, box-shadow .12s; }
[data-page="logements-sociaux-finances-paris"] .op-c:hover, [data-page="logements-sociaux-finances-paris"] .op-c--survol, [data-page="logements-sociaux-finances-paris"] .op-c:focus-visible { border-color: #c3cbda; box-shadow: 0 4px 14px rgba(16, 27, 52, .08); outline: none; }
[data-page="logements-sociaux-finances-paris"] .op-c--on { border-color: var(--dore); background: #fffaf0; }
[data-page="logements-sociaux-finances-paris"] .op-c__fam { display: flex; align-items: center; gap: .45rem; font: 400 .76rem var(--texte); color: #6b7286; }
[data-page="logements-sociaux-finances-paris"] .op-c__adr { font: 700 .95rem/1.3 var(--titre); }
[data-page="logements-sociaux-finances-paris"] .op-c__sous { font: 400 .78rem/1.4 var(--texte); color: #6b7286; }
[data-page="logements-sociaux-finances-paris"] .op-c__bud { margin-top: .15rem; font: 800 .9rem var(--titre); color: var(--nuit); }
[data-page="logements-sociaux-finances-paris"] .op-c__bud small { font: 400 .72rem var(--texte); color: #8b92a5; }
[data-page="logements-sociaux-finances-paris"] .op-cote__vide, [data-page="logements-sociaux-finances-paris"] .op-cote__note { margin: .8rem 0; font: 400 .8rem/1.4 var(--texte); color: #6b7286; }
[data-page="logements-sociaux-finances-paris"] .op-cote__fiche { padding: .2rem .1rem 1rem; font-size: .84rem; }
[data-page="logements-sociaux-finances-paris"] .op-cote__fiche p { margin: 0 0 .4rem; }
[data-page="logements-sociaux-finances-paris"] .op-cote__fiche .ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .8rem 0; }
[data-page="logements-sociaux-finances-paris"] .op-zone-btn { position: absolute; top: .75rem; left: 50%; z-index: 850; transform: translateX(-50%); padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(16, 27, 52, .22); font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="logements-sociaux-finances-paris"] .op-zone-btn[hidden] { display: none; }
[data-page="logements-sociaux-finances-paris"] .op-zone-btn:hover { background: var(--nuit); color: #fff; }
[data-page="logements-sociaux-finances-paris"] .op-carte__fiche .op-cote__l { margin-top: .5rem; }
[data-page="logements-sociaux-finances-paris"] .op-c__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
[data-page="logements-sociaux-finances-paris"] .op-c__pied .op-c__bud { margin: 0; }
[data-page="logements-sociaux-finances-paris"] .op-c__voir { flex: none; padding: .25rem .65rem; border: 1px solid #dde1ea; border-radius: 999px; font: 600 .74rem var(--titre); color: var(--nuit); white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
[data-page="logements-sociaux-finances-paris"] .op-c:hover .op-c__voir, [data-page="logements-sociaux-finances-paris"] .op-c:focus-visible .op-c__voir { border-color: var(--nuit); background: var(--nuit); color: #fff; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-adr { margin: 0 0 .15rem !important; font: 800 1.25rem/1.2 var(--titre) !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous { margin: 0 0 .3rem !important; font-size: .82rem; color: #5b6478; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous.op-cp { margin-bottom: .1rem !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .45rem !important; margin: .9rem 0 1rem !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div { padding: .6rem .75rem; border-radius: 12px; background: #f6f4ee; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:nth-child(-n+2) { background: #eef2f8; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dt { margin: 0 0 .15rem; font: 600 .7rem/1.3 var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #5b6478 !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd { margin: 0 !important; font: 800 1.15rem/1.2 var(--titre) !important; color: var(--nuit) !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd.ls-erp__info-bs { display: flex; align-items: center; gap: .35rem; font-size: .9rem !important; font-weight: 700 !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns { display: flex; gap: .5rem; margin: .4rem 0 0 !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns .op-fiche-btn { flex: 1; justify-content: center; margin: 0; padding: .6rem .9rem !important; border: 1.5px solid var(--nuit) !important; border-radius: 999px !important; font: 700 .85rem var(--titre) !important; text-decoration: none; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns button.op-fiche-btn { background: var(--nuit) !important; color: #fff !important; }
[data-page="logements-sociaux-finances-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns a.op-gmaps-btn { background: #fff !important; color: var(--nuit) !important; }
[data-page="logements-sociaux-finances-paris"] .rv-encart { padding: 0 .8rem .8rem; height: 38rem; max-height: none; overscroll-behavior: contain; scrollbar-width: thin; }
[data-page="logements-sociaux-finances-paris"] .op-cote__fiche .ls-erp__info-dl dd small { display: block; font: 400 .72rem var(--texte); color: var(--texte-n2); }
[data-page="logements-sociaux-finances-paris"] .ls-pin--0 path { fill: var(--nuit); }
[data-page="logements-sociaux-finances-paris"] .ls-pin--1 path { fill: var(--or); }
[data-page="logements-sociaux-finances-paris"] .ls-pin--2 path { fill: #5f7398; }
[data-page="logements-sociaux-finances-paris"] .ls-pin--3 path { fill: #a83d2d; }
[data-page="logements-sociaux-finances-paris"] .ls-pin--4 path { fill: #16895a; }
[data-page="logements-sociaux-finances-paris"] .ls-pin--5 path { fill: #8a5aa8; }
@media (max-width: 760px) { [data-page="logements-sociaux-finances-paris"] .rv-encart { height: auto; max-height: 34rem; } }

/* 28 oct. 2026 (demande) : vos-recours mis en page comme les articles en blocs (ex. logement-social-derriere-les-28-millions-de-demandes) :
   chaque partie dans un bloc blanc arrondi (.ls-bloc), titre de partie au niveau h2, cartes comme .cdc-carte (coins arrondis, ombre légère) */
.vr-texte > .ls-bloc { margin: 0 0 1.4rem; }
.vr-texte > .ls-bloc > :first-child { margin-top: 0 !important; }
.vr-texte > .ls-bloc > :last-child { margin-bottom: 0 !important; }
.vr-texte > .ls-bloc > h3.rc-h:first-child { font: 800 var(--t-h2, 1.6rem)/1.2 var(--titre) !important; color: var(--nuit) !important; margin-bottom: 1.1rem !important; }
.vr-texte .n-deux > div, .vr-texte .rc-etapes > div, .vr-texte .n-pas > div { border: 1px solid #e3e7ef; border-top: 3px solid var(--c, var(--dore)); border-radius: 0 0 12px 12px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); background: #fff; }
.vr-texte .rc-etapes > div, .vr-texte .n-pas > div { --c: var(--dore); }
.vr-texte .rc-liens { margin: 0; padding: 0; border: 0; background: none; }

/* 28 oct. 2026 (demande) : presidentielle-2027, chaque partie (1 à 5) en bloc blanc, mêmes valeurs que .ls25 .ls-bloc */
.ps .ps-sec { padding: 1.6rem 1.6rem 1.5rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); margin: 0 0 1.4rem; }
@media (max-width: 600px) { .ps .ps-sec { padding: 1.1rem 1rem; } }
/* Présidentielle 2027 : « Et moi ? », synthèses en nos mots, ses mesures / celles de son parti séparées (28 oct. 2026) */
.ps-bandeau { margin: 0 0 1rem; padding: .8rem 1rem; border-left: 4px solid var(--dore); background: #f6efe1; font-size: .88rem; line-height: 1.5; color: var(--nuit); }
.ps-moi__th { margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid #e3e7ef; }
.ps-moi__th:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ps-moi__th h3 { margin: 0 0 .6rem; font: 800 var(--t-h3, 1.15rem) var(--titre); color: var(--nuit); }
.ps-moi__clair { margin: 0 0 .7rem; padding: .7rem .9rem; border-radius: 8px; background: #f2f5fa; font-size: .88rem; line-height: 1.5; color: #2a3247; }
.ps-moi__clair b { display: block; margin-bottom: .15rem; font: 800 .68rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8c6a2f; }
.ps-moi__paris { margin: 0 0 .7rem; font-size: .84rem; color: #4a5164; }
.ps-moi__paris a { color: #8c6a2f; font-weight: 700; }
.ps-moi__ls { display: grid; gap: .5rem; }
.ps-cc--ligne { display: grid; grid-template-columns: 13rem 1fr; gap: .4rem 1rem; padding: .7rem .9rem; border-top: 0; border-left: 4px solid var(--cc, var(--nuit)); box-shadow: none; background: #fafbfd; animation: none; }
.ps-cc--ligne .ps-cc__nom { align-self: start; font-size: .86rem; }
.ps-cc--ligne .ps-cc__nom b { margin-left: .2rem; }
@media (max-width: 700px) { .ps-cc--ligne { grid-template-columns: 1fr; } }
.ps-cc__nom > span { min-width: 0; }
.ps-cc__parti { flex: none; margin-left: .3rem; padding: 0 .4rem; border: 1px dashed #9aa0ae; border-radius: 999px; font: 700 .64rem var(--titre); color: #7a8297; white-space: nowrap; }
.ps-cc__nom b + .ps-cc__parti { margin-left: .3rem; }
.ps-cc__nom > .ps-cc__parti:nth-child(3) { margin-left: auto; }
.ps-cc--ligne .ps-cc__nom > .ps-cc__parti:nth-child(3) { margin-left: .3rem; }
.ps-y { margin: .5rem 0 0; font-size: .9rem; line-height: 1.5; color: #1d2638; }
.ps-cc--ligne .ps-y:first-child { margin-top: 0; }
.ps-y b { color: var(--nuit); }
.ps-y--rien { font-size: .82rem; font-style: italic; color: #7a8297; }
.ps-y--parti { padding: .45rem .7rem; border: 1px dashed #b7bdca; border-radius: 8px; font-size: .86rem; color: #4a5164; }
.ps-y--parti p { margin: 0; }
.ps-y--parti p + p { margin-top: .3rem; }
.ps-y__qui { display: block; margin-bottom: .15rem; font: 800 .66rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #7a8297; }
.ps-cc__voir { display: inline-block; margin-top: .4rem; font: 700 .78rem var(--titre); color: #8c6a2f; }
.ps-tag--src { border-style: solid; border-color: #d9dde6; background: #f6f7fa; color: #4a5164; }
.ps-f__rien { margin: .8rem 0 0; padding: .6rem .8rem; border: 1px dashed #b7bdca; border-radius: 8px; font-size: .84rem; color: #4a5164; }
.ps-f summary .ps-cc__parti { margin-left: .3rem; }
.rr__p { display: block; margin-top: .1rem; font: 700 .58rem var(--titre); color: #7a8297; letter-spacing: .04em; }
.ps .ps-moi__th h3 { padding: 0; background: none; border: 0; color: var(--nuit); }
.ps-moi__th h3::before, .ps-moi__th h3::after { content: none; }
.ps-cc--ligne .ps-cc__nom { flex-wrap: wrap; row-gap: .3rem; }
.ps-cc--ligne .ps-cc__nom > span { flex: 1 1 8rem; overflow-wrap: normal; word-break: normal; }
.ps-f__y .ps-y:first-child { margin-top: .3rem; }

/* 28 oct. 2026 (demande) : préemptions, plan de Paris sur le même système que la carte des opérations de Paris Habitat (règles reprises de la carte des programmes financés) */
[data-page="preemptions-paris"] .ls-erp__carte.rv-carte:not([hidden]) { display: block; }
[data-page="preemptions-paris"] .op-grappe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 27, 52, .16); }
[data-page="preemptions-paris"] .op-grappe span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #fff; font: 700 .8rem var(--titre); color: #fff; }
[data-page="preemptions-paris"] .op-grappe:hover span { background: #24345a; }
[data-page="preemptions-paris"] .op-tout button { display: block; padding: .35rem .6rem; border: 0; border-radius: 4px; background: #fff; font: 600 .76rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="preemptions-paris"] .op-tout button:hover { background: #f4f4f4; }
[data-page="preemptions-paris"] .op-carte__x { position: absolute; top: .5rem; right: .5rem; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%; background: #f1f3f7; font: 400 1.35rem/1 var(--texte); color: var(--nuit); cursor: pointer; }
[data-page="preemptions-paris"] .op-carte__x:hover, [data-page="preemptions-paris"] .op-carte__x:focus-visible { background: var(--nuit); color: #fff; outline: none; }
[data-page="preemptions-paris"] .op-lot__pt { flex: none; width: .6rem; height: .6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nuit); }
[data-page="preemptions-paris"] .op-carte__retour { display: block; margin: 0 0 .5rem; padding: 0; border: 0; background: none; font: 600 .8rem var(--titre); color: #8c6a2f; cursor: pointer; }
[data-page="preemptions-paris"] .op-carte__retour:hover { text-decoration: underline; }
[data-page="preemptions-paris"] .op-cote { height: clamp(30rem, 78vh, 52rem); overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem 0 .15rem; scrollbar-width: thin; }
[data-page="preemptions-paris"] .op-cote__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0 .5rem; background: #fff; }
[data-page="preemptions-paris"] .op-cote__tete .op-carte__retour { margin: 0; }
[data-page="preemptions-paris"] .op-cote__tete .op-carte__x { position: static; flex: none; }
[data-page="preemptions-paris"] .op-cote__n { margin: 0; font: 600 .9rem var(--titre); color: var(--nuit); }
[data-page="preemptions-paris"] .op-cote__n b { font-weight: 800; }
[data-page="preemptions-paris"] .op-cote__l { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
[data-page="preemptions-paris"] .op-cote__l li { margin: 0; padding: 0; }
[data-page="preemptions-paris"] .op-cote__l li::before { content: none; }
[data-page="preemptions-paris"] .op-c { display: grid; gap: .15rem; width: 100%; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: var(--nuit); transition: border-color .12s, box-shadow .12s; }
[data-page="preemptions-paris"] .op-c:hover, [data-page="preemptions-paris"] .op-c--survol, [data-page="preemptions-paris"] .op-c:focus-visible { border-color: #c3cbda; box-shadow: 0 4px 14px rgba(16, 27, 52, .08); outline: none; }
[data-page="preemptions-paris"] .op-c--on { border-color: var(--dore); background: #fffaf0; }
[data-page="preemptions-paris"] .op-c__fam { display: flex; align-items: center; gap: .45rem; font: 400 .76rem var(--texte); color: #6b7286; }
[data-page="preemptions-paris"] .op-c__adr { font: 700 .95rem/1.3 var(--titre); }
[data-page="preemptions-paris"] .op-c__sous { font: 400 .78rem/1.4 var(--texte); color: #6b7286; }
[data-page="preemptions-paris"] .op-c__bud { margin-top: .15rem; font: 800 .9rem var(--titre); color: var(--nuit); }
[data-page="preemptions-paris"] .op-c__bud small { font: 400 .72rem var(--texte); color: #8b92a5; }
[data-page="preemptions-paris"] .op-cote__vide, [data-page="preemptions-paris"] .op-cote__note { margin: .8rem 0; font: 400 .8rem/1.4 var(--texte); color: #6b7286; }
[data-page="preemptions-paris"] .op-cote__fiche { padding: .2rem .1rem 1rem; font-size: .84rem; }
[data-page="preemptions-paris"] .op-cote__fiche p { margin: 0 0 .4rem; }
[data-page="preemptions-paris"] .op-cote__fiche .ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .8rem 0; }
[data-page="preemptions-paris"] .op-zone-btn { position: absolute; top: .75rem; left: 50%; z-index: 850; transform: translateX(-50%); padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(16, 27, 52, .22); font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="preemptions-paris"] .op-zone-btn[hidden] { display: none; }
[data-page="preemptions-paris"] .op-zone-btn:hover { background: var(--nuit); color: #fff; }
[data-page="preemptions-paris"] .op-carte__fiche .op-cote__l { margin-top: .5rem; }
[data-page="preemptions-paris"] .op-c__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
[data-page="preemptions-paris"] .op-c__pied .op-c__bud { margin: 0; }
[data-page="preemptions-paris"] .op-c__voir { flex: none; padding: .25rem .65rem; border: 1px solid #dde1ea; border-radius: 999px; font: 600 .74rem var(--titre); color: var(--nuit); white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
[data-page="preemptions-paris"] .op-c:hover .op-c__voir, [data-page="preemptions-paris"] .op-c:focus-visible .op-c__voir { border-color: var(--nuit); background: var(--nuit); color: #fff; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-adr { margin: 0 0 .15rem !important; font: 800 1.25rem/1.2 var(--titre) !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous { margin: 0 0 .3rem !important; font-size: .82rem; color: #5b6478; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous.op-cp { margin-bottom: .1rem !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .45rem !important; margin: .9rem 0 1rem !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div { padding: .6rem .75rem; border-radius: 12px; background: #f6f4ee; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:nth-child(-n+2) { background: #eef2f8; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dt { margin: 0 0 .15rem; font: 600 .7rem/1.3 var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #5b6478 !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd { margin: 0 !important; font: 800 1.15rem/1.2 var(--titre) !important; color: var(--nuit) !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd.ls-erp__info-bs { display: flex; align-items: center; gap: .35rem; font-size: .9rem !important; font-weight: 700 !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns { display: flex; gap: .5rem; margin: .4rem 0 0 !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns .op-fiche-btn { flex: 1; justify-content: center; margin: 0; padding: .6rem .9rem !important; border: 1.5px solid var(--nuit) !important; border-radius: 999px !important; font: 700 .85rem var(--titre) !important; text-decoration: none; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns button.op-fiche-btn { background: var(--nuit) !important; color: #fff !important; }
[data-page="preemptions-paris"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns a.op-gmaps-btn { background: #fff !important; color: var(--nuit) !important; }
[data-page="preemptions-paris"] .rv-encart { padding: 0 .8rem .8rem; height: 38rem; max-height: none; overscroll-behavior: contain; scrollbar-width: thin; }
[data-page="preemptions-paris"] .op-cote__fiche .ls-erp__info-dl dd small { display: block; font: 400 .72rem var(--texte); color: var(--texte-n2); }
@media (max-width: 760px) { [data-page="preemptions-paris"] .rv-encart { height: auto; max-height: 34rem; } }
[data-page="preemptions-paris"] .repere--survol span { box-shadow: 0 0 0 3px var(--or), 0 2px 5px rgba(0, 0, 0, .3); }
[data-page="preemptions-paris"] .repere--survol { z-index: 900 !important; }
[data-page="preemptions-paris"] .op-cote__fiche .ls-erp__info-adr a { color: var(--nuit); text-decoration: none; }
[data-page="preemptions-paris"] .op-cote__fiche .ls-erp__info-adr a:hover { text-decoration: underline; }
[data-page="preemptions-paris"] .rv-carte .ls-aller.pp-fiche { width: 100%; justify-content: center; }
/* préemptions : la fiche complète du bien dans le panneau du plan (28 oct. 2026) */
[data-page="preemptions-paris"] .pp-fc { margin-top: 1rem; display: grid; gap: .55rem; }
[data-page="preemptions-paris"] .pp-fc__dates { margin: 0 0 .2rem !important; font-size: .78rem; line-height: 1.5; color: #5b6478; }
[data-page="preemptions-paris"] .pp-fc__s { padding: .7rem .8rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; }
[data-page="preemptions-paris"] .pp-fc__t { margin: 0 0 .35rem !important; font: 700 .68rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #8c6a2f; }
[data-page="preemptions-paris"] .pp-fc__v { font-size: .84rem; line-height: 1.5; color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__v .f, [data-page="preemptions-paris"] .pp-fc__v .fi__p, [data-page="preemptions-paris"] .pp-fc__v .fi__puce { display: block; margin: .1rem 0; }
[data-page="preemptions-paris"] .pp-fc__v .f__l { color: #6b7286; }
[data-page="preemptions-paris"] .pp-fc__v .f__l::after { content: " :"; }
[data-page="preemptions-paris"] .pp-fc__v .nr, [data-page="preemptions-paris"] .pp-fc__v .f--nr { color: #8b92a5; font-style: italic; }
[data-page="preemptions-paris"] .pp-fc__v .fi__btn { display: inline-flex; margin: .2rem .35rem .2rem 0; padding: .25rem .6rem; border: 1px solid #dfe3ec; border-radius: 6px; font: 700 .76rem var(--titre); color: var(--nuit); text-decoration: none; }
[data-page="preemptions-paris"] .pp-fc__v .fi__btn:hover { border-color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__v .fi__etat { display: block; margin-top: .3rem; font-size: .76rem; color: #16895a; }
/* préemptions, fiche dans le panneau : « Catégories et tailles » lisible (mêmes règles que dans le tableau des fiches) */
[data-page="preemptions-paris"] .pp-fc__v .fi__cat { display: block; margin: 0 0 .65rem; }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat:last-child { margin-bottom: 0; }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t { display: block; font: 700 .86rem var(--titre); color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t abbr { display: inline-block; margin-right: .35rem; padding: .08rem .45rem; border-radius: 4px; background: var(--nuit); color: #fff; font-size: .74rem; letter-spacing: .02em; text-decoration: none; border: 0; }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t abbr.c-plai { background: var(--plai); color: #fff; }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t abbr.c-plus { background: var(--plus); color: #fff; }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t abbr.c-pls { background: var(--pls); color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__v .fi__cat-t abbr.c-pli { background: var(--pli); color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__v .fi__tailles { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
[data-page="preemptions-paris"] .pp-fc__v .fi__tailles span { padding: .12rem .5rem; border: 1px solid #e3e7ef; border-radius: 999px; background: #f7f8fb; font-size: .76rem; white-space: nowrap; color: #4a5164; }
/* Cartes avec liste à gauche (préemptions, RIVP, programmes financés), 28 oct. 2026 (demande) : sur ordinateur, panneau de gauche
   plus large pour lire les adresses ; la carte garde le reste (les règles téléphone, plus haut, ne changent pas) */
@media (min-width: 1000px) { .rv-carte__grille { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
@media (min-width: 1400px) { .rv-carte__grille { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); } }
/* préemptions, plan : synthèse de l'année au-dessus de la carte ; coût global mis en avant dans la fiche (28 oct. 2026) */
[data-page="preemptions-paris"] .pp-plan__resume { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .4rem; margin: 0 0 .8rem !important; }
[data-page="preemptions-paris"] .pp-plan__an { margin-right: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--nuit); color: #fff; font: 800 .78rem var(--titre); }
[data-page="preemptions-paris"] .pp-fc__cout { padding: .85rem 1rem; border-radius: 12px; background: var(--nuit); color: #fff; }
[data-page="preemptions-paris"] .pp-fc__cout .pp-fc__t { color: #e6c98f !important; }
[data-page="preemptions-paris"] .pp-fc__cout-v, [data-page="preemptions-paris"] .pp-fc__cout-v .f__v { font: 800 1.45rem/1.2 var(--titre); color: #fff; }
[data-page="preemptions-paris"] .pp-fc__cout-v .f { display: block; }
[data-page="preemptions-paris"] .pp-fc__cout-v .f__l { display: block; font: 600 .74rem var(--titre); color: #c9d1e3; }
[data-page="preemptions-paris"] .pp-fc__cout--nr { background: #f2f3f6; color: var(--nuit); }
[data-page="preemptions-paris"] .pp-fc__cout--nr .pp-fc__t { color: #8c6a2f !important; }
[data-page="preemptions-paris"] .pp-fc__cout--nr .pp-fc__cout-v { font: italic 500 .9rem var(--texte); color: #7a8297; }
/* préemptions, « Tous les biens » : repères de la couleur du type (28 oct. 2026) */
[data-page="preemptions-paris"] .pp-pin { background: none; border: 0; }
[data-page="preemptions-paris"] .pp-pin svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(16, 27, 52, .35)); }
[data-page="preemptions-paris"] .pp-pin path { stroke: #fff; stroke-width: 1.6; }
[data-page="preemptions-paris"] .pp-pin circle { fill: #fff; }
[data-page="preemptions-paris"] .pp-pin:hover svg { transform: scale(1.15); transform-origin: 50% 100%; }
[data-page="preemptions-paris"] .pp-pin--choisi path { stroke: var(--or); stroke-width: 2.4; }
[data-page="preemptions-paris"] .pp-pin--choisi circle { fill: var(--or); }
[data-page="preemptions-paris"] .pp-plan__note { flex-basis: 100%; font-size: .74rem; color: #7a8297; }
[data-page="preemptions-paris"] .pp-fc__v > small { display: block; margin-top: .1rem; color: #6b7286; }
[data-page="preemptions-paris"] .pp-fc__v .fi__btn + small { display: inline; margin-left: .3rem; }
/* préemptions : carte et panneau de même hauteur fixe (comme RIVP et programmes financés) ; la fiche défile dans le panneau (28 oct. 2026) */
[data-page="preemptions-paris"] .rv-carte__plan { height: 40rem; min-height: 0; }
[data-page="preemptions-paris"] .rv-encart { height: 40rem; max-height: none; padding: 0 .8rem .8rem; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 760px) { [data-page="preemptions-paris"] .rv-carte__plan { height: 26rem; } [data-page="preemptions-paris"] .rv-encart { height: auto; max-height: 34rem; } }
[data-page="preemptions-paris"] .pp-plan__resume { padding: .75rem 1rem !important; background: #fff !important; border: 1px solid #e3e7ef; border-left: 4px solid var(--dore); border-radius: 10px; }
/* préemptions : la carte remonte (28 oct. 2026, demande) — moins d'espace entre onglets, filtres, synthèse et carte */
[data-page="preemptions-paris"] .pp-fiches { padding-top: .9rem !important; }
[data-page="preemptions-paris"] .pp-fiches__tete { margin-bottom: .4rem !important; }
[data-page="preemptions-paris"] .pp-fiches .pp-filtres { margin: .4rem 0 .5rem !important; padding: .55rem .9rem !important; }
[data-page="preemptions-paris"] .pp-fiches .pp-filtres label > span, [data-page="preemptions-paris"] .pp-fiches .pp-filtres .pp-filtres__l { margin-bottom: .2rem !important; }
[data-page="preemptions-paris"] .pp-fiches__carte { margin-top: 0 !important; }
[data-page="preemptions-paris"] .pp-plan__resume { margin-bottom: .55rem !important; padding: .5rem .9rem !important; }
/* préemptions, « Toutes les adresses » : recherche et filtres dans un menu déroulant (28 oct. 2026) ; filtres actifs et export restent visibles */
[data-page="preemptions-paris"] .pp-filtrer > summary { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; font: 700 .95rem var(--titre); color: var(--nuit); cursor: pointer; list-style: none; }
[data-page="preemptions-paris"] .pp-filtrer > summary::-webkit-details-marker { display: none; }
[data-page="preemptions-paris"] .pp-filtrer > summary svg { flex: none; width: 1.1rem; height: 1.1rem; color: #8c6a2f; }
[data-page="preemptions-paris"] .pp-filtrer > summary small { font: 400 .78rem var(--texte); color: #7a8297; }
[data-page="preemptions-paris"] .pp-filtrer > summary::after { content: ""; margin-left: auto; width: .55rem; height: .55rem; border-right: 2px solid #8c6a2f; border-bottom: 2px solid #8c6a2f; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
[data-page="preemptions-paris"] .pp-filtrer[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
[data-page="preemptions-paris"] .pp-filtrer[open] > summary { margin-bottom: .7rem; }
@media (max-width: 700px) { [data-page="preemptions-paris"] .pp-filtrer > summary small { display: none; } }
/* « Toutes les adresses » présenté comme « Logement social » (28 oct. 2026) */
[data-page="preemptions-paris"] .pp-fiches--tous .pp-filtres label { flex: 1 1 10rem; }
[data-page="preemptions-paris"] .pp-fiches--tous .pp-filtres label.pp-filtres__adr { flex: 2 1 16rem; }
[data-page="preemptions-paris"] .pp-fiches--tous .pp-filtres select { min-width: 0; width: 100%; }
[data-page="preemptions-paris"] .pp-fiches--tous .pp-filtres input[type="search"] { min-width: 0; width: 100%; }
[data-page="preemptions-paris"] .pp-fiches--tous .ls-erp__compris:empty { display: none; }
[data-page="preemptions-paris"] .pp-fiches--tous .ls-erp__compris { margin: 0 0 .4rem; font-size: .8rem; color: #5b6478; }
[data-page="preemptions-paris"] .pp-fiches--tous .ls-erp__barre { margin: 0 0 .5rem; }
[data-page="preemptions-paris"] .pp-fiches--tous .ls-erp__puces:empty + .ls-erp__actions { margin-left: auto; }
/* préemptions : « Les adresses / Les chiffres » remonte sous les onglets du haut (28 oct. 2026, demande) */
[data-page="preemptions-paris"] .ls-onglets--haut { margin-bottom: .9rem !important; }
[data-page="preemptions-paris"] .ls-onglets--sous { margin-bottom: .9rem !important; }
[data-page="preemptions-paris"] .ls-vue > .ls-vue__titre { margin-bottom: 0 !important; }
[data-page="preemptions-paris"] .pp-parties-ligne { margin-top: 0 !important; margin-bottom: .7rem !important; }
[data-page="preemptions-paris"] .pp-parties-ligne + div, [data-page="preemptions-paris"] .pp-parties-ligne + div + div { margin-top: 0 !important; }
/* préemptions, fiche : astérisque et renvoi en petit sous la rubrique (28 oct. 2026) */
html body[data-page="preemptions-paris"] .pp-fc__ast { margin-left: .1rem; font-size: .7em; color: #8c6a2f; }
html body[data-page="preemptions-paris"] .pp-fc__renvoi { display: block !important; margin-top: .35rem !important; text-align: left !important; font: italic 400 .74rem var(--texte, inherit) !important; color: #7a8297 !important; }
/* préemptions : carte et panneau tiennent dans l'écran (29 oct. 2026, demande) — plus besoin de faire défiler la page pour lire la fiche */
@media (min-width: 761px) {
  [data-page="preemptions-paris"] .rv-carte__plan, [data-page="preemptions-paris"] .rv-encart { height: min(40rem, calc(100vh - 6.5rem)); min-height: 26rem; }
  [data-page="preemptions-paris"] .rv-carte__grille { scroll-margin-top: 5rem; }
}
/* Cartes avec liste à gauche (RIVP, programmes financés) : carte et panneau tiennent dans l'écran sur ordinateur (29 oct. 2026) */
@media (min-width: 761px) {
  :is([data-page="rivp-patrimoine"], [data-page="logements-sociaux-finances-paris"]) .rv-carte__plan,
  :is([data-page="rivp-patrimoine"], [data-page="logements-sociaux-finances-paris"]) .rv-encart { height: min(40rem, calc(100vh - 6.5rem)) !important; min-height: 26rem !important; max-height: none !important; }
  :is([data-page="rivp-patrimoine"], [data-page="logements-sociaux-finances-paris"], [data-page="preemptions-paris"]) .rv-encart .op-cote { height: 100% !important; }
}
/* « ← Retour à la liste » un peu plus gros dans les panneaux des cartes (29 oct. 2026) */
html body .op-cote__tete .op-carte__retour, html body .rv-encart .op-carte__retour { font-size: .9rem !important; font-weight: 700 !important; }
/* Rapports Ancols : onglet « Le bailleur » discret, en tête (29 oct. 2026) */
.ls-onglets .ac-onglet-bailleur { font-weight: 500 !important; opacity: .75; }
.ls-onglets .ac-onglet-bailleur[aria-selected="true"] { opacity: 1; }
/* contenu en cartes (29 oct. 2026, maquette) : qui | chiffre (bleu nuit) / président | direction / frise de l'histoire / sources */
html body .ac .ac-bl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
html body .ac .ac-bl > .ls-bloc { display: block !important; max-width: none; margin: 0 !important; padding: 1.8rem 1.9rem 1.5rem; background: #fff; border: 1px solid #e3e7ef; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
html body .ac .ac-bl__c--large, html body .ac .ac-bl > .ac-bl__src { grid-column: 1 / -1; }
html body .ac .ac-bl h2.ac-bailleur__t { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.3rem !important; padding: 0; border: 0; background: none; font: 700 1.3rem/1.3 var(--titre); color: var(--nuit); text-transform: none; letter-spacing: 0; }
html body .ac .ac-bl h2.ac-bailleur__t::before, html body .ac .ac-bl h2.ac-bailleur__t::after { content: none; }
.ac-bl__i { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 10px; background: #f7efe2; }
.ac-bl__i svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--or, #a67d4a); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html body .ac .ac-bl p { margin: 0 0 .9rem !important; max-width: none; font-size: 1.02rem; line-height: 1.75; color: #2a3247; }
html body .ac .ac-bl p:last-child { margin-bottom: 0 !important; }
.ac-bl a { color: #8c6a2f; text-underline-offset: 3px; }
/* chiffre : carte bleu nuit */
html body .ac .ac-bl > .ac-bl__c--nuit { background: var(--nuit, #101b34); border-color: var(--nuit, #101b34); }
html body .ac .ac-bl__c--nuit h2.ac-bailleur__t, html body .ac .ac-bl__c--nuit b { color: #fff !important; }
html body .ac .ac-bl__c--nuit p { color: #dfe4ee !important; }
.ac-bl__c--nuit .ac-bl__i { background: rgba(255, 255, 255, .1); }
.ac-bl__c--nuit .ac-bl__i svg { stroke: var(--dore, #c9a35b); }
.ac-bl__c--nuit a { color: var(--dore, #c9a35b); }
html body .ac .ac-bl p.ac-bl__n { margin: 0 0 1.3rem !important; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, .15); line-height: 1.1; }
html body .ac .ac-bl__c--nuit .ac-bl__n b { display: block; font: 800 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--titre); color: var(--dore, #c9a35b) !important; letter-spacing: -.01em; }
.ac-bl__n small { display: block; margin-bottom: .2rem; font: 600 .95rem var(--titre); color: var(--dore, #c9a35b); }
.ac-bl__n span { display: block; margin-top: .45rem; font: 700 1rem var(--titre); color: #fff; }
/* président, direction : pastille aux initiales */
.ac-bl__gens { display: grid; gap: .6rem; margin: 0 0 1.3rem; }
html body .ac .ac-bl p.ac-bl__p { display: flex; align-items: center; gap: 1rem; margin: 0 !important; padding: .9rem 1.1rem; background: #f3f5f9; border-radius: 10px; line-height: 1.2; }
.ac-bl__ini { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--nuit, #101b34); color: #fff; font: 700 1.05rem var(--titre); letter-spacing: .02em; }
.ac-bl__p small { display: block; margin-bottom: .15rem; font: 600 .88rem var(--titre); color: var(--or, #a67d4a); }
html body .ac .ac-bl__p b { display: block; font: 700 1.3rem/1.2 var(--titre); color: var(--nuit, #101b34); }
/* frise : horizontale sur ordinateur, verticale sur téléphone */
.ac-bl__frise { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 1.6rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
html body .ac .ac-bl__frise li { position: relative; margin: 0; padding: 1.9rem 0 0; }
.ac-bl__frise li::before { content: ""; position: absolute; top: .45rem; left: 0; right: -1.6rem; height: 2px; background: #e2cfa8; }
.ac-bl__frise li:last-child::before { right: 0; }
.ac-bl__frise li::after { content: ""; position: absolute; top: 0; left: 0; width: .75rem; height: .75rem; border: 2.5px solid var(--dore, #c9a35b); border-radius: 50%; background: #fff; }
.ac-bl__frise li:last-child::after { background: var(--dore, #c9a35b); }
.ac-bl__frise li > b { display: block; margin-bottom: .35rem; font: 800 1.3rem/1.2 var(--titre); color: var(--nuit, #101b34); }
.ac-bl__frise li > span { display: block; font-size: .98rem; line-height: 1.55; color: #3a4258; }
html body .ac .ac-bl ul { margin: 0 0 .9rem; padding-left: 1.2rem; }
html body .ac .ac-bl li { margin: 0 0 .3rem; font-size: 1.02rem; line-height: 1.6; color: #2a3247; }
html body .ac .ac-bl__c--nuit li { color: #dfe4ee; }
html body .ac .ac-bl p.ac-bl__s { font-size: .82rem; line-height: 1.6; color: #7a8297; }
html body .ac .ac-bl__c--nuit p.ac-bl__s { color: #a9b2c6 !important; }
.ac-bl__frise li > span > b:first-child { display: block; margin-bottom: .2rem; color: var(--nuit, #101b34); }
html body .ac .ac-bl > .ac-bl__src { font-size: .82rem !important; line-height: 1.7; color: #7a8297; padding: 1.1rem 1.6rem; }
@media (max-width: 900px) {
	html body .ac .ac-bl { grid-template-columns: 1fr; gap: 1rem; }
	.ac-bl__frise { grid-template-columns: 1fr; gap: 1rem; padding-left: 1.6rem; }
	html body .ac .ac-bl__frise li { padding-top: 0; }
	.ac-bl__frise li::before { top: .9rem; bottom: -1rem; left: -1.27rem; right: auto; width: 2px; height: auto; }
	.ac-bl__frise li:last-child::before { content: none; }
	.ac-bl__frise li::after { top: .3rem; left: -1.6rem; }
}
@media (max-width: 600px) {
	html body .ac .ac-bl > .ls-bloc { padding: 1.2rem 1.1rem; }
	html body .ac .ac-bl h2.ac-bailleur__t { font-size: 1.1rem; gap: .7rem; }
	.ac-bl__i { width: 2.4rem; height: 2.4rem; }
	html body .ac .ac-bl p { font-size: .96rem; line-height: 1.65; }
	.ac-bl__ini { width: 2.8rem; height: 2.8rem; font-size: .9rem; }
	html body .ac .ac-bl__p b { font-size: 1.1rem; }
}
html body .ac .ls-bloc.ac-bailleur { display: block !important; }   /* .ls-bloc est en grille avec un grand écart : texte suivi ici */
/* Décisions de justice 2026 (decisions-justice-paris-2026, 29 oct. 2026) : même tableau que la page litiges,
   plus recherche, sélecteurs, tri et fiche dans un panneau */
.dj-outils { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .35rem; }
.dj-cherche { flex: 1 1 18rem; }
.dj-cherche input { width: 100%; padding: .55rem .8rem; border: 1px solid var(--filet); border-radius: 8px; background: var(--blanc); font: inherit; font-size: .9rem; }
.dj-cherche input:focus { outline: 2px solid var(--or-bord); outline-offset: 1px; }
.dj-select { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--encre-douce); }
.dj-select select { padding: .4rem .5rem; border: 1px solid var(--filet); border-radius: 8px; background: var(--blanc); font: inherit; font-size: .82rem; font-weight: 400; color: var(--noir); }
.dj-csv { margin-left: auto; }
.proto-texte .dj-tuiles-note { margin: .4rem 0 1.4rem; font-size: .8rem; color: var(--encre-douce); }
.litiges.dj-table { min-width: 72rem; }
.dj-table tbody tr { cursor: pointer; }
.dj-table tbody tr:hover > * { background: #f4efe6; }
.dj-table tbody tr:focus-visible { outline: 2px solid var(--or-bord); outline-offset: -2px; }
.dj-table td:nth-child(2) { width: 7.5rem; }
.dj-table td:nth-child(3) { width: 15rem; }
.dj-table td:nth-child(5) { width: 13rem; }
.dj-table td:nth-child(6) { width: 8rem; }
.dj-table td:last-child { width: 6.5rem; }
.dj-table td:last-child .li__btn { margin-bottom: .3rem; }
.dj__mt { display: block; margin-bottom: .35rem; font-weight: 700; }
.dj__mt small { display: block; font-weight: 400; font-size: .74rem; color: var(--encre-douce); }
.dj__rien { color: var(--encre-douce); }
.litiges .li__sens--partiel { background: color-mix(in srgb, #c08a2e 16%, white); color: #7a5518; }
.litiges .li__sens--defavorable, .dj-f .li__sens--defavorable { background: color-mix(in srgb, #a83d2d 12%, white); color: #8a2f22; }
.litiges .li__sens--sans-decision, .dj-f .li__sens--sans-decision { background: #ececec; color: #4a4a4a; }
.dj-f .li__sens--favorable { background: color-mix(in srgb, #2f7d5c 13%, white); color: #245f46; }
.dj-f .li__sens--partiel { background: color-mix(in srgb, #c08a2e 16%, white); color: #7a5518; }
.dj-fiches { display: none; }
/* panneau de la fiche */
.dj-panneau { position: fixed; inset: 0; z-index: 900; display: flex; justify-content: flex-end; background: rgba(16, 27, 52, .45); }
.dj-panneau[hidden] { display: none; }
html.dj-ouvert { overflow: hidden; }
.dj-panneau__boite { width: min(40rem, 100%); height: 100%; overflow-y: auto; padding: 1.3rem 1.6rem 2rem; background: var(--blanc); box-shadow: -8px 0 24px rgba(16, 27, 52, .18); }
.dj-panneau__retour { position: sticky; top: -1.3rem; z-index: 1; display: block; width: calc(100% + 3.2rem); margin: -1.3rem -1.6rem 1rem; padding: .9rem 1.6rem; border: 0; border-bottom: 1px solid var(--filet); background: var(--blanc); text-align: left; font: 700 .92rem var(--titre); color: var(--nuit, #101b34); cursor: pointer; }
.dj-panneau__retour:hover { color: var(--or-sombre); }
.dj-f__sur { margin: 0 0 .4rem; font-size: .8rem; color: var(--encre-douce); }
.proto-texte .dj-f h2.dj-f__titre, .dj-f h2.dj-f__titre { margin: 0 0 .8rem; padding: 0; border: 0; font: 700 1.25rem/1.3 var(--titre); color: var(--nuit, #101b34); }
.dj-f h2.dj-f__titre::before, .dj-f h2.dj-f__titre::after { content: none; }
.dj-f__badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.dj-f__badges > span { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.dj-f__badges .li__fam { background: color-mix(in srgb, #2f5f9e 10%, white); color: #2f4a78; }
.dj-f__badges .li__stade { border-radius: 4px; background: #f3ece2; font-weight: 400; color: var(--encre-douce); }
.dj-f h3 { margin: 1.1rem 0 .3rem; font: 700 .82rem var(--titre); letter-spacing: .02em; text-transform: uppercase; color: var(--or-sombre); }
.dj-f p, .dj-f li { font-size: .93rem; line-height: 1.6; color: #2a3247; }
.dj-f p { margin: 0 0 .5rem; }
.dj-f ul { margin: 0 0 .5rem; padding-left: 1.1rem; }
.dj-f .li__btn { display: inline-flex; margin-top: 1rem; padding: .45rem .8rem; border: 1px solid var(--or-bord); border-radius: 6px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--or-sombre); }
.dj-f__note { margin-top: .8rem !important; font-size: .8rem !important; color: var(--encre-douce) !important; }
@media (max-width: 760px) {
	.litiges.dj-table { min-width: 0; }
	.dj-csv { margin-left: 0; }
	.dj-panneau__boite { padding: 1.1rem 1.1rem 2rem; }
	.dj-panneau__retour { width: calc(100% + 2.2rem); margin: -1.1rem -1.1rem 1rem; padding: .9rem 1.1rem; top: -1.1rem; }
}
body[data-page="decisions-justice-paris-2026"] .table-scroll { margin: .75rem 0 1.25rem; }
/* décisions 2026 en cartes (29 oct. 2026), même rendu que la page litiges en cartes (js/litiges.js) */
.dj-bilan { margin: 1.2rem 0 .6rem; padding: 1.2rem 1.3rem 1rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; }
.proto-texte .dj-bilan__t { margin: 0 0 .8rem; font: 800 1rem var(--titre); color: var(--nuit); }
.dj-bilan__t span { font: 400 .85rem var(--texte, inherit); color: #6b7387; }
.dj-barre { display: flex; height: 2.4rem; overflow: hidden; border-radius: 8px; }
.dj-barre > i { display: grid; place-items: center; min-width: 2.2rem; font: 800 .95rem var(--titre); font-style: normal; color: #fff; }
.proto-texte .dj-leg { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .4rem 1.4rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .86rem; color: #2a3247; }
.proto-texte .dj-leg li { margin: 0; padding: 0; }
.proto-texte .dj-leg li::before { content: none !important; }
.dj-leg i { display: inline-block; width: .85rem; height: .85rem; margin-right: .4rem; border-radius: 3px; vertical-align: -1px; }
.dj-leg b { font-family: var(--titre); }
.proto-texte h3.dj-sous { margin: 1.6rem 0 .6rem; font: 800 1.05rem var(--titre); color: var(--nuit); }
.proto-texte .dj-fam { display: grid; gap: .5rem; margin: 0 0 .4rem; padding: 0; list-style: none; max-width: 44rem; }
.proto-texte .dj-fam li { display: grid; grid-template-columns: 17rem 1fr 2.2rem; align-items: center; gap: .8rem; margin: 0; padding: 0; font-size: .88rem; color: var(--nuit); }
.proto-texte .dj-fam li::before { content: none !important; }
.dj-fam span.b { height: .7rem; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.dj-fam span.b i { display: block; height: 100%; border-radius: inherit; background: #c9a35b; }
.dj-fam b { text-align: right; font-family: var(--titre); }
.li-filtre[data-lic] { display: inline-flex; align-items: center; gap: .35rem; }
.li-filtre[data-lic]::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.proto-texte .dj-tris { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .4rem 0 .9rem; font-size: .78rem; font-weight: 600; color: var(--encre-douce); }
.dj-tris span { margin-right: .35rem; }
.dj-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1rem; }
.dj-c { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); font-size: .88rem; line-height: 1.5; color: #2a3247; }
.dj-c[hidden] { display: none; }
.dj-c > * { padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
.proto-texte .dj-c p { margin: 0; font-size: .88rem; line-height: 1.5; }
.proto-texte .dj-c .dj-v { display: flex; align-items: center; gap: .6rem; padding-top: .7rem; padding-bottom: .7rem; background: var(--c); color: #fff; font: 800 .92rem var(--titre); }
.dj-v svg { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.dj-v small { margin-left: auto; padding: .1rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .18); font: 600 .72rem var(--titre); }
.proto-texte .dj-c .dj-c__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; padding-top: .9rem; font-size: .78rem; color: #6b7387; }
.dj-c__date { font: 800 .9rem var(--titre); color: var(--nuit); }
.dj-c__stade { padding: .1rem .5rem; border-radius: 999px; background: #f4f1ea; font-size: .72rem; color: #6b5a33; }
.dj-c__org { margin-left: auto; font: 800 .82rem var(--titre); color: var(--nuit); }
.proto-texte .dj-c .dj-c__fam { padding-top: .7rem; }
.dj-c__fam span { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: #eef2f8; font: 700 .7rem var(--titre); color: #2c3e63; }
.proto-texte .dj-c h3.dj-c__titre { margin: .3rem 0 0; padding-top: 0; padding-bottom: 0; border: 0; font: 800 1.02rem/1.35 var(--titre); color: var(--nuit); text-transform: none; letter-spacing: 0; }
.proto-texte .dj-c h3.dj-c__titre::before, .proto-texte .dj-c h3.dj-c__titre::after { content: none; }
.dj-c__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: .8rem; }
.proto-texte .dj-c .dj-c__lab { margin-bottom: .2rem; font: 700 .7rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #8c6a2f; }
.dj-c__juge { margin: .9rem 1.2rem 0; padding: .8rem .9rem !important; border-left: 3px solid var(--c); border-radius: 0 8px 8px 0; background: #f6f7fa; }
.proto-texte .dj-c .dj-c__juge .dj-c__lab { color: #4a5164; }
.dj-c__juge p:last-child { color: #1f2638; }
.dj-c__sommes { padding-top: .8rem; }
.dj-c__sommes .dj__mt { display: block; margin: 0 0 .2rem; font-weight: 700; color: var(--nuit); }
.dj-c__sommes .dj__mt small { font-weight: 400; font-size: .78rem; color: #6b7387; }
.dj-c__sommes .dj__rien { color: #6b7387; }
.proto-texte .dj-c .dj-c__pied { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .9rem; padding-bottom: 1.1rem; }
.dj-c__btn { display: inline-flex; padding: .35rem .85rem; border: 1px solid var(--nuit); border-radius: 999px; background: #fff; font: 700 .78rem var(--titre); color: var(--nuit); text-decoration: none; cursor: pointer; }
.dj-c__btn:hover { background: var(--nuit); color: #fff; }
button.dj-c__btn { background: var(--nuit); color: #fff; }
button.dj-c__btn:hover { background: #26324f; }
.chiffres-cles--deux + .dj-bilan { margin-top: 1rem; }
@media (max-width: 600px) {
	.dj-c__duo { grid-template-columns: 1fr; gap: .8rem; }
	.dj-c__org { margin-left: 0; flex-basis: 100%; }
	.proto-texte .dj-fam li { grid-template-columns: 9rem 1fr 2rem; font-size: .82rem; }
}
/* sous-onglets « Les décisions » / « Les chiffres » sous les onglets d'organisme (29 oct. 2026) */
.ls25 .ls-onglets.dj-sous-onglets { position: static; margin: -.6rem 0 1.4rem; padding: 0; background: none; border: 0; border-bottom: 2px solid var(--trait-n); border-radius: 0; box-shadow: none; }
.ls25 .dj-sous-onglets button { padding: .6rem 1rem .55rem; font-size: .95rem; }
.ls-onglets.dj-onglets button small { margin-left: .25rem; font-weight: 600; opacity: .7; }
section[data-dj-section][hidden] { display: none !important; }
/* cartes des décisions : texte un peu plus petit (29 oct. 2026, demande) */
html body .proto-texte .dj-c, html body .proto-texte .dj-c p, html body .proto-texte .dj-c div { font-size: .8rem; line-height: 1.5; }
html body .proto-texte .dj-c .dj-v { font-size: .84rem; padding-top: .6rem; padding-bottom: .6rem; }
html body .proto-texte .dj-c .dj-c__tete, html body .proto-texte .dj-c .dj-c__tete span { font-size: .72rem; }
html body .proto-texte .dj-c .dj-c__date { font-size: .82rem; }
html body .proto-texte .dj-c .dj-c__org { font-size: .76rem; }
html body .proto-texte .dj-c h3.dj-c__titre { font-size: .92rem; }
html body .proto-texte .dj-c .dj-c__lab { font-size: .64rem; }
html body .proto-texte .dj-c .dj-c__stade, html body .proto-texte .dj-c .dj-c__fam span { font-size: .66rem; }
html body .proto-texte .dj-c .dj__mt small { font-size: .72rem; }
html body .proto-texte .dj-c .dj-c__btn { font-size: .74rem; }
/* la typo commune impose .proto-texte p en !important : on la suit dans les cartes ; litige à droite de l'organisme */
html body .proto-texte .dj-c p, html body .proto-texte .dj-c__duo p, html body .proto-texte .dj-c__juge p { font-size: .8rem !important; line-height: 1.5 !important; }
html body .proto-texte .dj-c p.dj-c__lab { font: 700 .64rem var(--titre) !important; letter-spacing: .04em; }
html body .proto-texte .dj-c p.dj-v { font: 800 .84rem var(--titre) !important; }
html body .proto-texte .dj-c p.dj-c__tete { font-size: .72rem !important; }
.dj-c__qui { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem .5rem; margin-left: auto; }
.dj-c__qui .dj-c__org { margin-left: 0; }
.dj-c__qui .dj-c__fam { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: #eef2f8; font: 700 .66rem var(--titre); color: #2c3e63; }
.proto-texte .dj-c h3.dj-c__titre { margin-top: .7rem; }
@media (max-width: 600px) { .dj-c__qui { margin-left: 0; justify-content: flex-start; flex-basis: 100%; } }
@media (max-width: 600px) {
	.dj-c__qui .dj-c__org { flex-basis: auto; }
	html body .proto-texte .dj-c h3.dj-c__titre { font-size: .95rem !important; line-height: 1.35 !important; }
}
/* le type de litige à droite du bandeau coloré */
html body .proto-texte .dj-c .dj-v .dj-v__fam { margin-left: auto; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .2); font: 700 .7rem var(--titre); color: #fff; text-align: right; }
@media (max-width: 600px) { .dj-c__org { margin-left: 0; flex-basis: 100%; } }
html body .proto-texte .dj-c p.dj-v { flex-wrap: wrap; row-gap: .35rem; }
html body .proto-texte .dj-c .dj-v .dj-v__fam { white-space: nowrap; }
/* une ligne : nombre de décisions à gauche, tri en menu à droite (29 oct. 2026) */
.dj-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: .8rem 0 1rem; }
html body .proto-texte .dj-ligne .li-filtres__compte { margin: 0 !important; }
.dj-trier { display: inline-flex; align-items: center; gap: .5rem; font: 600 .82rem var(--titre); color: #6b7387; }
.dj-trier select { padding: .45rem 2rem .45rem .7rem; border: 1px solid #d5dae4; border-radius: 8px; background: #fff; font: 700 .84rem var(--titre); color: var(--nuit); cursor: pointer; }
/* bloc des décisions resserré sous les sous-onglets (29 oct. 2026) */
html body .ls25 .ls-onglets.dj-sous-onglets { margin-bottom: 0 !important; }
html body .ls25 section[data-dj-section] { padding-top: 1.1rem; }
html body .dj-filtres.djf { gap: .45rem; margin-top: 0; }
html body .dj-filtres.djf .djf-barre { margin: 0; }
html body .dj-filtres.djf .djf-actifs:empty { display: none; }
html body .dj-filtres.djf .dj-ligne { margin: .3rem 0 .8rem; }
/* lien « Télécharger (CSV) » plus discret */
html body .proto-texte .dj-outils a.dj-csv { font-size: .78rem; font-weight: 600; }
/* sous-onglet « Impayés et expulsions » : chiffres + liste compacte (29 oct. 2026) */
.dj-imp-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .dj-imp-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html body .proto-texte p.dj-imp__note { margin: .4rem 0 1rem !important; font-size: .82rem !important; line-height: 1.55 !important; color: #4a5164; }
.dj-imp { width: 100%; border-collapse: collapse; font-size: .8rem; }
.dj-imp th { padding: .5rem .6rem; border-bottom: 2px solid #e3e7ef; background: #f6f7fa; text-align: left; font: 700 .72rem var(--titre); color: #4a5164; white-space: nowrap; }
.dj-imp td { padding: .45rem .6rem; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.dj-imp tr[hidden] { display: none; }
.dj-imp__issue { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.dj-imp__issue::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); }
.dj-imp td.dj-imp__mt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.dj-imp a { color: #8c6a2f; white-space: nowrap; }
@media (max-width: 600px) { .dj-imp th:nth-child(3), .dj-imp td:nth-child(3) { display: none; } }
/* affaire à plusieurs décisions : une plainte par menu déroulant (29 oct. 2026) */
.dj-c--affaire details.dj-pl { margin: .7rem 1.2rem 0; padding: 0 !important; border: 1px solid #e3e7ef; border-radius: 10px; background: #fbfcfe; }
.dj-c--affaire details.dj-pl + details.dj-pl { margin-top: .5rem; }
.dj-c--affaire details.dj-pl:last-of-type { margin-bottom: 1rem; }
.dj-pl > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; padding: .65rem .8rem; cursor: pointer; list-style: none; font-size: .78rem; color: #4a5164; }
.dj-pl > summary::-webkit-details-marker { display: none; }
.dj-pl > summary::after { content: ""; width: .45rem; height: .45rem; margin-left: .2rem; border: solid #4a5164; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); }
.dj-pl[open] > summary::after { transform: rotate(-135deg); }
.dj-pl > summary b { font: 800 .82rem var(--titre); color: var(--nuit); }
.dj-pl > summary small { margin-left: auto; font: 700 .7rem var(--titre); color: #4a5164; }
.dj-pl__res { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.dj-pl[open] > summary { border-bottom: 1px solid #e3e7ef; }
html body .proto-texte .dj-c .dj-pl p.dj-pl__titre { margin: .7rem .8rem 0 !important; font: 700 .84rem/1.4 var(--titre) !important; color: var(--nuit); }
.dj-pl .dj-c__duo, .dj-pl .dj-c__sommes, .dj-pl .dj-c__pied { padding-left: .8rem !important; padding-right: .8rem !important; }
.dj-pl .dj-c__juge { margin-left: .8rem; margin-right: .8rem; }
.dj-pl .dj-c__pied { padding-bottom: .8rem !important; }
.dj-pl > summary { position: relative; padding-right: 2rem; }
.dj-pl > summary::after { position: absolute; right: .9rem; top: 50%; margin: -.3rem 0 0; }
.dj-pl[open] > summary::after { margin-top: -.1rem; }

/* menus déroulants des filtres (copie du style injecté par js/decisions-justice.js) : présents dès le chargement, sans saut */
/* filtres en menus déroulants (29 oct. 2026) */
.dj-filtres.djf .li-filtres__groupe { display: none !important; }
.djf-barre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .7rem 0 .2rem; }
.djf-dd { position: relative; }
.djf-bt { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid #d5dae4; border-radius: 8px; background: #fff; font: 700 .84rem var(--titre); color: var(--nuit); cursor: pointer; }
.djf-bt::after { content: ""; width: .4rem; height: .4rem; margin-left: .15rem; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); }
.djf-bt:hover { border-color: var(--nuit); }
.djf-bt[aria-expanded="true"] { border-color: var(--nuit); box-shadow: 0 0 0 2px rgba(16, 27, 52, .12); }
.djf-bt.on { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.djf-bt .djf-val { font-weight: 600; opacity: .85; }
.djf-bt i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); }
.djf-pan { position: absolute; z-index: 30; top: calc(100% + .35rem); left: 0; min-width: 17rem; max-height: 22rem; overflow-y: auto; padding: .35rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(16, 27, 52, .16); }
.djf-pan[hidden] { display: none; }
.djf-o { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .5rem .6rem; border: 0; border-radius: 6px; background: none; font: 600 .85rem var(--titre); color: var(--nuit); text-align: left; cursor: pointer; }
.djf-o:hover { background: #f4f6fa; }
.djf-o::before { content: ""; flex: 0 0 auto; width: .95rem; height: .95rem; border: 1.6px solid #b5bccb; border-radius: 50%; }
.djf-o[aria-checked="true"]::before { border: 5px solid var(--nuit); }
.djf-o i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.djf-o small { margin-left: auto; font: 600 .74rem var(--titre); color: #8a93a8; }
.djf-o[hidden] { display: none; }
.djf-actifs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .5rem 0 0; min-height: 0; }
.djf-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .4rem .25rem .7rem; border-radius: 999px; background: #eef2f8; font: 700 .76rem var(--titre); color: var(--nuit); border: 0; cursor: pointer; }
.djf-chip::after { content: "×"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; font-size: .85rem; }
.djf-chip:hover::after { background: var(--nuit); color: #fff; }
.djf-raz { border: 0; background: none; font: 700 .76rem var(--titre); color: #8c6a2f; text-decoration: underline; cursor: pointer; }
.dj-filtres.djf .li-filtres__compte { margin: .6rem 0 0; font: 700 .9rem var(--titre); color: var(--nuit); }
@media (max-width: 600px) { .djf-dd { flex: 1 1 45%; } .djf-bt { width: 100%; justify-content: space-between; } .djf-pan { min-width: 0; width: max(100%, 15rem); } }
/* filtres : les pastilles d'origine ne s'affichent jamais (le JS en fait des menus) ; place réservée pour la ligne de menus */
.dj-filtres .li-filtres__groupe { display: none !important; }
.dj-filtres:not(.djf) .dj-outils { margin-bottom: calc(2.15rem + .45rem); }
/* mêmes espacements avant et après la construction des menus (pas de saut au chargement) */
html body .dj-filtres { gap: .45rem; margin-top: 0; }
html body .dj-filtres .dj-ligne { margin: .3rem 0 .8rem; }
.dj-filtres:not(.djf) .dj-outils { margin-bottom: calc(2.45rem + .45rem); }
@media (max-width: 600px) { .dj-filtres:not(.djf) .dj-outils { margin-bottom: 5.9rem; } }
/* détail en trois lignes sous l'issue (impayés, 29 oct. 2026) */
.dj-imp__detail { display: block; margin-top: .25rem; max-width: 34rem; font-size: .76rem; line-height: 1.45; color: #4a5164; }
.dj-imp td { vertical-align: top; }
/* impayés sur téléphone : montants d'un seul tenant, une fiche par ligne */
.dj-imp-tuiles .chiffre-cle strong { white-space: nowrap; }
@media (max-width: 600px) {
	.dj-imp-tuiles .chiffre-cle strong { font-size: 1.2rem; }
	.dj-imp thead { display: none; }
	.dj-imp, .dj-imp tbody, .dj-imp tr, .dj-imp td { display: block; width: auto; }
	.dj-imp tr { padding: .7rem .2rem; border-bottom: 1px solid #e3e7ef; }
	.dj-imp tr[hidden] { display: none; }
	.dj-imp td { padding: .1rem 0; border: 0; }
	.dj-imp td:nth-child(1) { font-weight: 700; color: var(--nuit); }
	.dj-imp td:nth-child(1), .dj-imp td:nth-child(2) { display: inline; }
	.dj-imp td:nth-child(2)::before { content: " · "; }
	.dj-imp th:nth-child(3), .dj-imp td:nth-child(3) { display: none; }
	.dj-imp td.dj-imp__mt { text-align: left; }
	.dj-imp td.dj-imp__mt::before { content: "Arriéré à payer : "; font-weight: 400; color: #6b7387; }
}
@media (max-width: 600px) { .dj-imp-tuiles { grid-template-columns: 1fr 1fr; } .dj-imp-tuiles .chiffre-cle:last-child { grid-column: 1 / -1; } .dj-imp-tuiles .chiffre-cle { min-width: 0; } }
/* impayés : en-têtes triables avec petites flèches */
.dj-imp__tri { display: inline-flex; align-items: center; gap: .35rem; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.dj-imp__tri:hover { color: var(--nuit); }
.dj-imp__tri span { display: inline-flex; flex-direction: column; gap: 2px; }
.dj-imp__tri span::before, .dj-imp__tri span::after { content: ""; border-left: 4px solid transparent; border-right: 4px solid transparent; opacity: .35; }
.dj-imp__tri span::before { border-bottom: 4px solid currentColor; }
.dj-imp__tri span::after { border-top: 4px solid currentColor; }
.dj-imp__tri[aria-sort="ascending"] span::before, .dj-imp__tri[aria-sort="descending"] span::after { opacity: 1; }
.dj-imp th:nth-child(5) .dj-imp__tri { margin-left: auto; }
.dj-imp th:nth-child(5) { text-align: right; }
/* niveau de vérification des fiches, sommes masquées, rubrique méthodologie (audit du 30 oct. 2026) */
.dj-niv { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font: 700 .66rem var(--titre); white-space: nowrap; }
.dj-niv--ok { background: color-mix(in srgb, #2f7d5c 14%, white); color: #245f46; }
.dj-niv--relue { background: #eef0f4; color: #4a5164; }
.dj-niv--av { background: color-mix(in srgb, #c08a2e 20%, white); color: #7a5518; }
html body .proto-texte .dj-c .dj-c__tete .dj-niv { font-size: .64rem; }
.dj__mt--masque { font-weight: 400 !important; font-style: italic; color: #6b7387 !important; }
.dj-c__org small { font-weight: 400; color: #6b7387; }
.dj-csv--2 { margin-left: 0 !important; }
.dj-outils .dj-csv { margin-left: auto; }
#methode .sources-article h3 { margin-top: 1.4rem; }
#methode .sources-article h3:first-child { margin-top: 0; }
#methode .sources-article p { margin: 0 0 .7rem; }
/* impayés : tableau seul (30 oct. 2026) ; donnée incertaine, décision vérifiée à la main */
.dj-imp__av { display: inline-block; padding: .05rem .45rem; border-radius: 999px; background: color-mix(in srgb, #c08a2e 20%, white); font: 700 .68rem var(--titre); color: #7a5518; }
.dj-imp__ok { display: inline-block; margin-top: .25rem; padding: .05rem .45rem; border-radius: 999px; background: color-mix(in srgb, #2f7d5c 14%, white); font: 700 .64rem var(--titre); color: #245f46; }
html body .proto-texte p.dj-imp__note { margin-top: 0 !important; }
.dj-imp__auto { display: inline-block; margin-top: .25rem; padding: .05rem .45rem; border-radius: 999px; background: #eef0f4; font: 600 .64rem var(--titre); color: #4a5164; }
html body .proto-texte p.dj-imp__leg { margin: 0 0 1rem !important; font-size: .78rem !important; line-height: 1.9 !important; color: #4a5164; }
.dj-imp__leg span { margin-right: .3rem; }
/* bandeaux « Décision favorable à … » (30 oct. 2026) : l'icône reste à côté du libellé, plus long */
html body .proto-texte .dj-c p.dj-v > span { flex: 1 1 12rem; min-width: 0; }
.dj-refere { margin: .5rem 0 0 !important; font-size: .76rem !important; font-style: italic; color: #4a5164 !important; }

/* 30 oct. 2026 (demande : « tout sur le même modèle ») : plan + liste de la rénovation environnementale et des autorisations
   d'urbanisme = mêmes règles que le patrimoine RIVP (recopiées, js/plan-liste.js). */
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .ls-erp__carte.rv-carte:not([hidden]) { display: block; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-grappe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 27, 52, .16); }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-grappe span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #fff; font: 700 .8rem var(--titre); color: #fff; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-grappe:hover span { background: #24345a; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-tout button { display: block; padding: .35rem .6rem; border: 0; border-radius: 4px; background: #fff; font: 600 .76rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-tout button:hover { background: #f4f4f4; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__x { position: absolute; top: .5rem; right: .5rem; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%; background: #f1f3f7; font: 400 1.35rem/1 var(--texte); color: var(--nuit); cursor: pointer; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__x:hover, :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__x:focus-visible { background: var(--nuit); color: #fff; outline: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-lot__pt { flex: none; width: .6rem; height: .6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nuit); }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__retour { display: block; margin: 0 0 .5rem; padding: 0; border: 0; background: none; font: 600 .8rem var(--titre); color: #8c6a2f; cursor: pointer; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__retour:hover { text-decoration: underline; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote { height: clamp(30rem, 78vh, 52rem); overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem 0 .15rem; scrollbar-width: thin; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0 .5rem; background: #fff; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__tete .op-carte__retour { margin: 0; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__tete .op-carte__x { position: static; flex: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__n { margin: 0; font: 600 .9rem var(--titre); color: var(--nuit); }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__n b { font-weight: 800; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__l { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__l li { margin: 0; padding: 0; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__l li::before { content: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c { display: grid; gap: .15rem; width: 100%; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: var(--nuit); transition: border-color .12s, box-shadow .12s; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c:hover, :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c--survol, :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c:focus-visible { border-color: #c3cbda; box-shadow: 0 4px 14px rgba(16, 27, 52, .08); outline: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c--on { border-color: var(--dore); background: #fffaf0; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__fam { display: flex; align-items: center; gap: .45rem; font: 400 .76rem var(--texte); color: #6b7286; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__adr { font: 700 .95rem/1.3 var(--titre); }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__sous { font: 400 .78rem/1.4 var(--texte); color: #6b7286; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__bud { margin-top: .15rem; font: 800 .9rem var(--titre); color: var(--nuit); }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__bud small { font: 400 .72rem var(--texte); color: #8b92a5; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__vide, :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__note { margin: .8rem 0; font: 400 .8rem/1.4 var(--texte); color: #6b7286; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__fiche { padding: .2rem .1rem 1rem; font-size: .84rem; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__fiche p { margin: 0 0 .4rem; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__fiche .ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .8rem 0; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-zone-btn { position: absolute; top: .75rem; left: 50%; z-index: 850; transform: translateX(-50%); padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(16, 27, 52, .22); font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-zone-btn[hidden] { display: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-zone-btn:hover { background: var(--nuit); color: #fff; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-carte__fiche .op-cote__l { margin-top: .5rem; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__pied .op-c__bud { margin: 0; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__voir { flex: none; padding: .25rem .65rem; border: 1px solid #dde1ea; border-radius: 999px; font: 600 .74rem var(--titre); color: var(--nuit); white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c:hover .op-c__voir, :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c:focus-visible .op-c__voir { border-color: var(--nuit); background: var(--nuit); color: #fff; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-adr { margin: 0 0 .15rem !important; font: 800 1.25rem/1.2 var(--titre) !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous { margin: 0 0 .3rem !important; font-size: .82rem; color: #5b6478; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous.op-cp { margin-bottom: .1rem !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .45rem !important; margin: .9rem 0 1rem !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div { padding: .6rem .75rem; border-radius: 12px; background: #f6f4ee; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:nth-child(-n+2) { background: #eef2f8; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dt { margin: 0 0 .15rem; font: 600 .7rem/1.3 var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #5b6478 !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd { margin: 0 !important; font: 800 1.15rem/1.2 var(--titre) !important; color: var(--nuit) !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd.ls-erp__info-bs { display: flex; align-items: center; gap: .35rem; font-size: .9rem !important; font-weight: 700 !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.op-btns { display: flex; gap: .5rem; margin: .4rem 0 0 !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.op-btns .op-fiche-btn { flex: 1; justify-content: center; margin: 0; padding: .6rem .9rem !important; border: 1.5px solid var(--nuit) !important; border-radius: 999px !important; font: 700 .85rem var(--titre) !important; text-decoration: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.op-btns button.op-fiche-btn { background: var(--nuit) !important; color: #fff !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) :is(.op-cote__fiche, .op-carte__fiche) p.op-btns a.op-gmaps-btn { background: #fff !important; color: var(--nuit) !important; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .rv-encart { padding: 0 .8rem .8rem; height: 38rem; max-height: none; overscroll-behavior: contain; scrollbar-width: thin; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-cote__fiche .ls-erp__info-dl dd small { display: block; font: 400 .72rem var(--texte); color: var(--texte-n2); }
@media (max-width: 760px) { :is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .rv-encart { height: auto; max-height: 34rem; } }
[data-page="autorisations-urbanisme-paris"] .ur-plan.rv-carte__grille { height: auto; margin: .4rem 0 .6rem; }
[data-page="autorisations-urbanisme-paris"] .op-c__fam .ur-pt { flex: none; }
:is([data-page="renovation-environnementale-paris"], [data-page="autorisations-urbanisme-paris"]) .op-c__fam .re-m { flex: none; }

/* ===== Les contrôles des bailleurs sociaux (outils/controles-bailleurs.py, 30 oct. 2026) : frise des dates, seul graphique propre à la page ===== */
.cb-frise { --cb-org: 7.5rem; position: relative; display: grid; gap: .35rem; margin: .4rem 0 .9rem; padding-bottom: 1.3rem; }
.cb-frise__ligne { display: grid; grid-template-columns: var(--cb-org) 1fr; align-items: center; }
.cb-frise__org { font: 600 .72rem/1.2 var(--titre); color: var(--texte-n2); }
.cb-frise__piste { position: relative; height: 1.1rem; background: #f1f3f7; border-radius: 4px; }
.cb-frise__ans { position: absolute; top: 0; bottom: 0; background: var(--nuit); border-radius: 4px; }
.cb-frise__ctrl { position: absolute; top: .25rem; bottom: .25rem; background: repeating-linear-gradient(135deg, var(--dore) 0 3px, #f3e3bd 3px 6px); border-radius: 3px; }
.cb-frise__pub { position: absolute; top: 50%; width: .8rem; height: .8rem; margin: -.4rem 0 0 -.4rem; background: #b3261e; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #b3261e; }
.cb-frise__axe { position: relative; height: 1rem; margin-left: var(--cb-org); }
.cb-frise__axe span { position: absolute; top: .15rem; transform: translateX(-50%); font-size: .68rem; color: var(--texte-n2); }
.cb-frise__auj { position: absolute; top: -.2rem; bottom: 1.1rem; width: 0; border-left: 2px dashed var(--dore); }
.cb-frise__auj i { position: absolute; bottom: -1.25rem; left: 0; transform: translateX(-100%); padding-right: .25rem; font: 700 .66rem var(--titre); font-style: normal; color: #8c6a2f; white-space: nowrap; }
.cb-frise__leg { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; font-size: .78rem; color: var(--texte-n2); }
.cb-frise__leg span { display: inline-flex; align-items: center; gap: .4rem; }
.cb-frise__leg i { position: static; display: inline-block; width: 1.4rem; height: .7rem; margin: 0; }
.cb-frise__leg i.cb-frise__pub { width: .7rem; height: .7rem; }
.cb-frise__leg i.cb-frise__auj-leg { width: 0; height: .9rem; border-left: 2px dashed var(--dore); }
.cb-rapports { padding-left: 1.1rem; font-size: .88rem; }
.cb-rapports li { margin-bottom: .35rem; }
.cb-theme__bailleur { margin: 1rem 0 0; }
.cb-theme__bailleur > .n-etiquette { margin-bottom: .4rem; }
.cb-theme__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cb-theme__liste li::before { content: none; }
.cb-theme__n { font: 500 .8rem var(--texte, inherit); color: var(--texte-n2); }
@media (max-width: 600px) { .cb-frise { --cb-org: 5.2rem; } }

/* Bas de page (30 oct. 2026, demande) : l'accueil prend le pied de page bleu nuit des autres pages ; moins d'espace autour du texte du bas */
body[data-page="index"] .navigation-footer ul { background: var(--nuit); border-top: 2px solid var(--dore); }
body[data-page="index"] .navigation-footer li a { color: #d9dce6; font-family: var(--titre); font-weight: 600; font-size: .82rem; letter-spacing: .02em; }
body[data-page="index"] .navigation-footer li a:hover, body[data-page="index"] .navigation-footer li a:focus-visible { background: none; color: var(--dore); }
body[data-page="index"] footer { background: #0b1426; color: #aab0c0; border-top: 1px solid rgba(255, 255, 255, .08); }
body[data-page="index"] footer p { color: #aab0c0; }
body[data-page="index"] footer strong { color: #fff; }
body[data-page="index"] footer a { color: var(--dore); }
body[data-page="index"] footer a:hover { color: #fff; }
body[data-page="index"] .n-recours h2 { text-transform: none; letter-spacing: normal; }
.container_footer { padding-top: 1.6rem; padding-bottom: 1.4rem; }
.container_footer p { margin-bottom: .35rem; }

/* Accueil, section « Les actualités » (30 oct. 2026, demande) : conteneur plus large, 4 cartes par ligne, une carte sur deux bleu pâle / blanc (damier) */
body[data-page="index"] #actualites .container_big { max-width: 1320px; }
@media (min-width: 1100px) { body[data-page="index"] #actualites .grille-articles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body[data-page="index"] #actualites .grille-articles > .carte-article, body[data-page="index"] #actualites .grille-articles > .carte-article > a { background: #eaf0f8; }
body[data-page="index"] #actualites .grille-articles > .carte-article > a:hover { background: #dfe7f3; }
body[data-page="index"] #actualites .grille-articles > .carte-article:is(:nth-child(8n+2), :nth-child(8n+4), :nth-child(8n+5), :nth-child(8n+7)), body[data-page="index"] #actualites .grille-articles > .carte-article:is(:nth-child(8n+2), :nth-child(8n+4), :nth-child(8n+5), :nth-child(8n+7)) > a { background: #fff; }
body[data-page="index"] #actualites .grille-articles > .carte-article:is(:nth-child(8n+2), :nth-child(8n+4), :nth-child(8n+5), :nth-child(8n+7)) { box-shadow: inset 0 0 0 1px #e3e7ef; }
body[data-page="index"] #actualites .grille-articles > .carte-article:is(:nth-child(8n+2), :nth-child(8n+4), :nth-child(8n+5), :nth-child(8n+7)) > a:hover { background: #f6f8fb; }
