/* ==========================================================================
   Le Blog Immobilier — styles communs (variables, en-tête, pied, cartes).
   Les blocs de rédaction sont dans blocs.css, chaque gabarit a sa feuille.
   ========================================================================== */

:root {
	--ib-paper: #F7F5F0;
	--ib-sand: #EDE8DD;
	--ib-sand-rule: #D9CFBE;
	--ib-panel: #F4F1EA;
	--ib-soft: #EFECE5;
	--ib-white: #FFFFFF;
	--ib-ink: #16181A;
	--ib-body: #22252A;
	--ib-ink-2: #3A3E42;
	--ib-ink-3: #4A4E52;
	--ib-muted: #5A5E63;
	--ib-faint: #9A9EA2;
	--ib-rule: #D9D5CC;
	--ib-rule-2: #E3E0D8;
	--ib-rule-3: #EFEBE3;
	--ib-accent: #1F5E4E;
	--ib-accent-dark: #174A3D;
	--ib-accent-tint: #E9EFEC;
	--ib-accent-mid: #5A9F86;
	--ib-accent-light: #CFE3DA;
	--ib-accent-on-dark: #9FD3BF;
	--ib-up: #2E7D62;
	--ib-down: #B5452F;
	--ib-red: #A8432E;
	--ib-red-tint: #F8E6E1;
	--ib-red-ink: #5A1E12;
	--ib-amber: #8A5A00;
	--ib-amber-tint: #FBF1DC;
	--ib-amber-ink: #4A3300;
	--ib-amber-rule: #EBD6A8;
	--ib-gold: #C9A24A;
	--ib-blue: #2F5D8A;
	--ib-blue-tint: #E8EEF5;
	--ib-blue-ink: #1D3550;
	--ib-plum: #7A3E6E;
	--ib-plum-tint: #F3E8F1;
	--ib-on-dark: #F2F0EA;
	--ib-on-dark-muted: #B9BFBB;
	--ib-max: 1280px;
	--ib-gutter: 24px;
	--ib-sec: 40px;
	--ib-sec-l: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ib-paper);
	color: var(--ib-ink);
	font-family: var(--ib-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ib-accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="range"] { accent-color: var(--ib-accent); }
:focus-visible { outline: 2px solid var(--ib-accent); outline-offset: 2px; }
.screen-reader-text, .ib-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ib-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ib-ink); color: var(--ib-on-dark); padding: 10px 14px; }
.ib-skip:focus { left: 8px; top: 8px; }

/* Conteneurs -------------------------------------------------------------- */
.ib-wrap { max-width: var(--ib-max); margin: 0 auto; padding: 0 var(--ib-gutter); }
.ib-wrap--1080 { max-width: 1080px; }
.ib-wrap--1180 { max-width: 1180px; }
.ib-wrap--1200 { max-width: 1200px; }
.ib-wrap--1320 { max-width: 1320px; }
/* Espacement vertical seulement : la marge latérale reste celle de .ib-wrap. */
.ib-section { padding-top: var(--ib-sec); padding-bottom: var(--ib-sec); }
.ib-section--l { padding-top: var(--ib-sec-l); padding-bottom: var(--ib-sec-l); }
.ib-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* Typographie commune ----------------------------------------------------- */
.ib-serif { font-family: var(--ib-serif); }
.ib-mono { font-family: var(--ib-mono); }
.ib-kicker {
	font-family: var(--ib-mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ib-accent);
}
.ib-kicker--muted { color: var(--ib-muted); }
.ib-meta { font-size: 12px; color: var(--ib-muted); }
.ib-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	font-family: var(--ib-mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ib-ink);
	margin: 0 0 18px;
	font-weight: 500;
}
.ib-label--accent { border-color: var(--ib-accent); color: var(--ib-accent); }
.ib-label a { color: var(--ib-accent); }
.ib-h1 {
	font-family: var(--ib-serif);
	font-weight: 500;
	font-size: clamp(32px, 4.2vw, 50px);
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 12px 0 0;
	text-wrap: balance;
}
.ib-chapo { font-family: var(--ib-serif); font-size: 20px; line-height: 1.45; color: var(--ib-ink-2); margin: 16px 0 0; max-width: 62ch; }
.ib-num { font-variant-numeric: tabular-nums; }
.ib-up { color: var(--ib-up); }
.ib-down { color: var(--ib-down); }

/* Boutons ----------------------------------------------------------------- */
.ib-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
	background: var(--ib-accent);
	color: var(--ib-paper);
	cursor: pointer;
	line-height: 1.2;
}
.ib-btn:hover { background: var(--ib-accent-dark); color: var(--ib-paper); }
.ib-btn--ink { background: var(--ib-ink); }
.ib-btn--ink:hover { background: #000; }
.ib-btn--outline { background: transparent; color: var(--ib-ink); border-color: var(--ib-ink); }
.ib-btn--outline:hover { background: var(--ib-ink); color: var(--ib-paper); }
.ib-btn--light { background: var(--ib-panel); color: var(--ib-ink); }
.ib-btn--light:hover { background: #fff; color: var(--ib-ink); }
.ib-btn--block { width: 100%; justify-content: center; }
.ib-btn[disabled], .ib-btn--off { background: var(--ib-rule-2); color: var(--ib-muted); cursor: default; }

/* Bandeau des marchés ------------------------------------------------------ */
.ib-ticker { background: var(--ib-ink); color: var(--ib-on-dark); font-family: var(--ib-mono); font-size: 12px; overflow-x: auto; scrollbar-width: none; }
.ib-ticker::-webkit-scrollbar { display: none; }
.ib-ticker__in { max-width: var(--ib-max); margin: 0 auto; padding: 9px var(--ib-gutter); display: flex; gap: 32px; white-space: nowrap; }
.ib-ticker__date { color: #9AA39F; }
.ib-ticker__item { display: flex; gap: 8px; }
.ib-ticker__item:hover { color: var(--ib-on-dark); }
.ib-ticker__label { color: var(--ib-on-dark-muted); }
.ib-ticker .ib-up { color: #7FC9A8; }
.ib-ticker .ib-down { color: #E39A85; }

/* En-tête ----------------------------------------------------------------- */
.ib-header { max-width: var(--ib-max); margin: 0 auto; padding: 0 var(--ib-gutter); }
.ib-header__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 13px; color: var(--ib-muted); gap: 16px; flex-wrap: wrap; }
.ib-header__actions { display: flex; gap: 20px; align-items: center; }
.ib-header__nl { background: var(--ib-accent); color: var(--ib-paper); padding: 8px 14px; font-weight: 500; font-size: 13px; }
.ib-header__nl:hover { background: var(--ib-accent-dark); color: var(--ib-paper); }
.ib-masthead { border-top: 3px solid var(--ib-ink); border-bottom: 1px solid var(--ib-ink); padding: 22px 0 18px; text-align: center; }
.ib-logo { font-family: var(--ib-serif); font-weight: 500; letter-spacing: -.03em; line-height: .9; display: block; font-size: clamp(44px, 7.5vw, 92px); }
.ib-logo span { color: var(--ib-accent); }
.ib-logo:hover { color: var(--ib-ink); }
.ib-tagline { font-family: var(--ib-mono); font-size: 11px; letter-spacing: .18em; color: var(--ib-muted); margin-top: 12px; text-transform: uppercase; }
.ib-header--compact .ib-header__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ib-ink); gap: 16px; flex-wrap: wrap; }
.ib-header--compact .ib-logo { font-size: 34px; letter-spacing: -.02em; line-height: 1; }
.ib-nav { border-bottom: 1px solid var(--ib-rule); }
.ib-nav ul { list-style: none; margin: 0; padding: 12px 0 0; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.ib-header--compact .ib-nav ul { justify-content: flex-start; }
.ib-nav a { display: block; padding-bottom: 10px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ib-nav .current-menu-item > a, .ib-nav .current-menu-ancestor > a, .ib-nav .current-menu-parent > a, .ib-nav .is-active > a { color: var(--ib-accent); border-bottom-color: var(--ib-accent); }
.ib-burger, .ib-nav__head, .ib-nav .ib-nav__nl { display: none; }
@media (max-width: 720px) {
	/* Burger en haut à droite, menu plein écran avec le bouton newsletter. */
	.ib-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
	.ib-burger span { display: block; height: 2px; background: var(--ib-ink); }
	.ib-header__bar .ib-header__nl, .ib-header__top .ib-header__nl { display: none; }
	.ib-header--compact .ib-header__bar { flex-wrap: nowrap; padding: 12px 0; }
	.ib-header--compact .ib-logo { font-size: 28px; }
	.ib-nav { display: none; }
	.ib-nav.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000; background: var(--ib-paper); padding: 0 var(--ib-gutter) 32px; overflow-y: auto; border: 0; }
	.ib-nav__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ib-ink); }
	.ib-nav__head .ib-logo { font-size: 28px; letter-spacing: -.02em; line-height: 1; padding: 0; border: 0; }
	.ib-nav__close { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--ib-ink); cursor: pointer; }
	.ib-nav ul { flex-direction: column; gap: 0; padding: 8px 0 24px; font-family: var(--ib-serif); font-size: 26px; font-weight: 500; }
	.ib-nav a { padding: 14px 0; border-bottom: 1px solid var(--ib-rule); margin: 0; }
	.ib-nav .current-menu-item > a, .ib-nav .is-active > a { border-bottom-color: var(--ib-rule); }
	.ib-nav .ib-nav__nl { display: block; margin-top: auto; padding: 16px; text-align: center; font-size: 16px; border: 0; color: var(--ib-paper); }
	body.ib-menu-ouvert { overflow: hidden; }
	/* Accueil : la ligne du haut ne garde que le burger. */
	.ib-header__top { justify-content: flex-end; padding: 6px 0; }
	.ib-header__top > span { display: none; }
}

/* Pied de page ------------------------------------------------------------ */
.ib-footer { border-top: 3px solid var(--ib-ink); background: var(--ib-soft); margin-top: var(--ib-sec-l); }
.ib-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; padding: 40px 0 28px; font-size: 14px; }
@media (max-width: 720px) {
	/* Mobile : deux colonnes de liens, le logo sur toute la largeur. */
	.ib-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.ib-footer__grid > :first-child { grid-column: 1 / -1; }
}
.ib-footer .ib-logo { font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.ib-footer__about { color: var(--ib-muted); margin: 12px 0 0; max-width: 32ch; }
.ib-footer h2 { font-family: var(--ib-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin: 0 0 12px; }
.ib-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ib-footer__bas { border-top: 1px solid var(--ib-rule); padding: 16px 0 28px; font-size: 12px; color: var(--ib-muted); }

/* Fil d'Ariane ------------------------------------------------------------ */
.ib-crumbs { font-size: 13px; color: var(--ib-muted); display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ib-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ib-faint); }
.ib-crumbs li:last-child { color: var(--ib-accent); }
.ib-crumbs--dark { color: rgba(242, 240, 234, .75); }
.ib-crumbs--dark li:last-child { color: var(--ib-on-dark); }

/* Bandeau d'en-tête de page (sable) --------------------------------------- */
.ib-hero { background: var(--ib-sand); border-bottom: 1px solid var(--ib-sand-rule); padding: 28px 0 36px; }
.ib-hero--plain { background: transparent; border-bottom: 1px solid var(--ib-rule); }
.ib-byline { font-size: 14px; color: var(--ib-muted); margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ib-sand-rule); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.ib-byline strong { color: var(--ib-ink); font-weight: 600; }
.ib-byline__ok { color: var(--ib-accent); font-weight: 500; }

/* Images de remplacement -------------------------------------------------- */
.ib-ph { background: repeating-linear-gradient(135deg, #E8E4DB 0 10px, #EFEBE3 10px 20px); display: block; width: 100%; object-fit: cover; }
.ib-ratio-8-5 { aspect-ratio: 8 / 5; }
.ib-ratio-3-2 { aspect-ratio: 3 / 2; }
.ib-ratio-16-10 { aspect-ratio: 16 / 10; }
.ib-ratio-16-9 { aspect-ratio: 16 / 9; }
.ib-ratio-4-3 { aspect-ratio: 4 / 3; }
.ib-ratio-1 { aspect-ratio: 1; }

/* Cartes d'articles ------------------------------------------------------- */
.ib-grid { display: grid; gap: 36px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ib-grid--220 { gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ib-card { display: flex; flex-direction: column; gap: 10px; }
.ib-card__title { font-family: var(--ib-serif); font-weight: 500; font-size: 21px; line-height: 1.2; margin: 0; text-wrap: balance; }
.ib-card__dek { font-size: 14px; color: var(--ib-ink-3); margin: 0; }
.ib-card--sm .ib-card__title { font-size: 19px; }
.ib-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ib-rule); align-items: start; }
.ib-row__title { font-family: var(--ib-serif); font-weight: 500; font-size: 17px; line-height: 1.25; margin: 4px 0 0; }
.ib-row--l { grid-template-columns: minmax(0, 1fr) 112px; padding: 18px 0; }
.ib-row--l .ib-row__title { font-size: 20px; }
.ib-row--noimg { grid-template-columns: 1fr; }
.ib-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--ib-rule); align-items: center; }
.ib-lead__title { font-family: var(--ib-serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 10px 0 0; text-wrap: balance; }
.ib-lead__dek { font-family: var(--ib-serif); font-size: 18px; color: var(--ib-ink-2); margin: 12px 0; }

/* Encadré promo (bordure, filet vert en haut) ----------------------------- */
.ib-promo { display: block; border: 1px solid var(--ib-rule); border-top: 3px solid var(--ib-accent); background: var(--ib-white); padding: 18px; }
.ib-promo__title { font-family: var(--ib-serif); font-size: 20px; font-weight: 500; line-height: 1.2; margin: 8px 0; }
.ib-promo__link { font-size: 14px; font-weight: 600; color: var(--ib-accent); }

/* Puces et onglets -------------------------------------------------------- */
.ib-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ib-chip { border: 1px solid var(--ib-rule-2); background: var(--ib-white); color: var(--ib-ink); padding: 7px 13px; font-size: 13px; font-weight: 500; cursor: pointer; border-radius: 20px; }
.ib-chip.is-active, .ib-chip[aria-pressed="true"] { background: var(--ib-ink); color: #fff; border-color: var(--ib-ink); }
.ib-chips--square .ib-chip { border-radius: 0; }
.ib-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--ib-rule); overflow-x: auto; }
.ib-tabs a, .ib-tabs button { background: none; border: 0; padding: 12px 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; font-size: 14px; white-space: nowrap; cursor: pointer; }
.ib-tabs .is-active { border-bottom-color: var(--ib-accent); color: var(--ib-accent); }
.ib-tabs__count { font-family: var(--ib-mono); font-size: 11px; color: var(--ib-muted); margin-left: 6px; }

/* Marchés et chiffres ----------------------------------------------------- */
.ib-market { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ib-rule); font-size: 14px; }
.ib-market__val { font-family: var(--ib-mono); font-variant-numeric: tabular-nums; }
.ib-market__delta { font-family: var(--ib-mono); font-size: 12px; min-width: 64px; text-align: right; }

/* Sommaire latéral -------------------------------------------------------- */
.ib-layout-article { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.ib-layout-article > .ib-aside { flex: 1 1 220px; max-width: 260px; position: sticky; top: 24px; order: -1; }
.ib-layout-article > .ib-article { flex: 1 1 520px; min-width: 0; max-width: 720px; }
.ib-toc { font-size: 14px; }
.ib-toc ol { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 2px; }
.ib-toc a { display: block; padding: 6px 0 6px 12px; border-left: 3px solid transparent; color: var(--ib-ink-3); }
.ib-toc a.is-active { border-left-color: var(--ib-accent); color: var(--ib-accent); font-weight: 600; }
@media (max-width: 860px) {
	.ib-layout-article > .ib-aside { position: static; max-width: none; order: 0; }
	.ib-toc ol { display: none; }
	.ib-toc.is-open ol { display: grid; }
	.ib-toc .ib-label { cursor: pointer; }
}

/* Encadré auteur ---------------------------------------------------------- */
.ib-author { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--ib-rule); border-bottom: 1px solid var(--ib-rule); font-family: var(--ib-sans); font-size: 14px; }
.ib-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--ib-ink); color: var(--ib-on-dark); display: grid; place-items: center; font-family: var(--ib-serif); font-size: 18px; overflow: hidden; }
.ib-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ib-author__bio { color: var(--ib-muted); font-size: 13px; margin: 4px 0 0; }

/* Newsletter -------------------------------------------------------------- */
.ib-newsletter { background: var(--ib-accent); color: var(--ib-panel); padding: 48px 0; }
.ib-newsletter__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.ib-newsletter .ib-kicker { color: var(--ib-accent-light); }
.ib-newsletter__title { font-family: var(--ib-serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 8px 0 0; max-width: 24ch; }
.ib-newsletter--sand { background: var(--ib-sand); color: var(--ib-ink); }
.ib-newsletter--sand .ib-kicker { color: var(--ib-accent); }
.ib-nl-form { display: flex; gap: 0; flex: 1 1 360px; max-width: 520px; }
.ib-nl-form input[type="email"] { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font-size: 15px; background: #fff; color: var(--ib-ink); }
.ib-nl-form button { border: 0; background: var(--ib-ink); color: var(--ib-on-dark); padding: 0 22px; font-weight: 600; cursor: pointer; }
.ib-nl-msg { font-family: var(--ib-serif); font-size: 20px; }

/* Pagination et chargement ------------------------------------------------ */
.ib-more { display: flex; justify-content: center; margin-top: 40px; }
.ib-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.ib-pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--ib-rule); font-size: 14px; }
.ib-pagination .current { background: var(--ib-ink); color: #fff; border-color: var(--ib-ink); }

/* Pages simples ----------------------------------------------------------- */
.ib-page { max-width: 760px; margin: 0 auto; }
.ib-empty { padding: 40px; text-align: center; border: 1px dashed var(--ib-rule); color: var(--ib-muted); }

/* Article ------------------------------------------------------------------ */
.ib-single .ib-hero { padding: 22px 0 36px; }
.ib-single__hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; margin-top: 22px; }
.ib-single__head { flex: 999 1 480px; min-width: 0; }
.ib-single__head .ib-kicker { margin-bottom: 2px; }
.ib-single__fig { margin: 0; flex: 1 1 240px; max-width: 340px; min-width: 0; }
.ib-single__img { position: relative; box-shadow: 14px 14px 0 var(--ib-accent); margin: 0 14px 14px 0; background: var(--ib-rule); }
.ib-single__img img { width: 100%; object-fit: cover; }
.ib-single__badge { position: absolute; left: -14px; bottom: 18px; background: #fff; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 6px 18px rgba(22, 24, 26, .14); }
.ib-single__badge-label { font-family: var(--ib-mono); font-size: 10px; letter-spacing: .14em; color: var(--ib-muted); text-transform: uppercase; }
.ib-single__badge strong { font-weight: 600; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ib-single__badge em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ib-up); }
.ib-single__fig figcaption { font-size: 12px; color: var(--ib-muted); padding-top: 6px; }
.ib-article .ib-author { margin-top: 40px; }
.ib-article .b-suivant { margin-top: 28px; }

/* Commentaires ----------------------------------------------------------- */
.ib-comments { max-width: 720px; margin: 0 0 0 auto; padding: var(--ib-sec) 0; }
.ib-comments__title { font-family: var(--ib-serif); font-weight: 500; font-size: 26px; margin: 0 0 6px; }
.ib-comments__note { font-size: 13px; color: var(--ib-muted); margin: 0 0 18px; }
.ib-comments ol { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ib-comments .children { margin: 10px 0 0 24px; }
.ib-comments .comment-body { background: #fff; border: 1px solid var(--ib-rule); padding: 14px 16px; font-size: 15px; }
.ib-comments .comment-meta { font-size: 13px; color: var(--ib-muted); margin-bottom: 6px; }
.ib-comments .comment-meta b { color: var(--ib-ink); }
.ib-comments .avatar { display: none; }
.ib-comments .reply { font-size: 13px; margin-top: 6px; }
.ib-comments .reply a { color: var(--ib-accent); font-weight: 500; }
.comment-form { display: grid; gap: 10px; }
.comment-form label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--ib-rule); background: #fff; padding: 10px 12px; font-size: 15px; }
.comment-form .submit { background: var(--ib-accent); color: var(--ib-paper); border: 0; padding: 11px 18px; font-weight: 600; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }

/* Rubrique ----------------------------------------------------------------- */
.ib-rubrique { padding-top: 32px; }
.ib-rubrique__hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; align-items: end; padding: 24px 0 32px; border-bottom: 3px solid var(--ib-ink); }
.ib-rubrique__titre { grid-column: span 2; min-width: 0; }
@media (max-width: 640px) { .ib-rubrique__titre { grid-column: auto; } }
.ib-rubrique__titre h1 { font-family: var(--ib-serif); font-weight: 500; font-size: clamp(44px, 6vw, 80px); line-height: .95; letter-spacing: -.03em; margin: 8px 0 0; }
.ib-rubrique__titre p { font-family: var(--ib-serif); font-size: 20px; line-height: 1.45; color: var(--ib-ink-2); margin: 16px 0 0; max-width: 60ch; }
.ib-rubrique__kpi { border: 1px solid var(--ib-rule); padding: 18px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.ib-rubrique__kpi-val { font-family: var(--ib-serif); font-size: 40px; line-height: 1; }
.ib-rubrique__kpi-delta { font-family: var(--ib-mono); font-size: 12px; }
.ib-rubrique__filtres { padding: 20px 0; border-bottom: 1px solid var(--ib-rule); margin-bottom: 32px; }
.ib-rubrique__liste .ib-lead { margin-top: 0; }
.ib-rubrique__hero + .ib-rubrique__liste { margin-top: 32px; }

/* Formulaire de recherche --------------------------------------------------- */
.ib-recherche { display: flex; gap: 8px; max-width: 560px; margin-top: 20px; }
.ib-recherche input { flex: 1; min-width: 0; border: 1px solid var(--ib-rule); background: #fff; padding: 11px 14px; font-size: 15px; }
