/*
Theme Name: Perspective REIM
Theme URI: https://www.perspectivereim.com/
Author: Perspective REIM
Description: Thème sur mesure de Perspective REIM (Real Estate & Investment Management) : présentation du cabinet, biens à vendre et à louer, actualités marché et juridiques, honoraires et CGV, accès à l'espace client. Responsive, polices hébergées localement.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Propriétaire, usage réservé à Perspective REIM
Text Domain: perspective-reim
*/

/* ==========================================================================
   Polices (hébergées sur le site : aucune connexion à Google)
   ========================================================================== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/source-serif-4-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/source-serif-4-latin-300-italic.woff2") format("woff2"); }

/* ==========================================================================
   Couleurs et typographie
   Bandeaux pleine largeur, contenu sur une grille ; le cube (cuivre / pétrole / sarcelle) rythme les sections.
   ========================================================================== */
:root {
	--bg: #F5F7F8;
	--surface: #FFFFFF;
	--fg: #142B3B;
	--muted: #56697A;
	--line: #D6DEE3;
	--petrol: #173A52;
	--teal: #3E717C;
	--copper: #B97A58;
	--copper-ink: #9A5F40;
	--band: #173A52;
	--band-fg: #EEF3F5;
	--band-muted: #A9BFCB;
	--on-image: #FFFFFF;
	--shade: rgba(10, 26, 38, .62);
	--f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--max: 1180px;
	--gutter: 32px;
	--header-h: 76px;
	--admin-bar: 0px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0D1A23; --surface: #13242F; --fg: #E6EDF1; --muted: #9AAEBB; --line: #24394A;
		--petrol: #9CC3D6; --teal: #7FB1BB; --copper: #D39A79; --copper-ink: #E0AC8C;
		--band: #102633; --band-fg: #EEF3F5; --band-muted: #9DB4C1; --shade: rgba(5, 14, 20, .7);
		color-scheme: dark;
	}
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-bar: 0px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
main:focus { outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--petrol); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: calc(var(--admin-bar) + 12px); }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }
@media (max-width: 640px) { :root { --gutter: 18px; } }

.eyebrow { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-ink); display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--copper); transform: rotate(45deg); flex: none; }
.h2 { font-size: clamp(27px, 3.4vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: var(--fg); }
.lead { font-family: var(--f-serif); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; font-weight: 300; color: var(--fg); max-width: 60ch; }
.muted { color: var(--muted); }
.intro { max-width: 60ch; margin-top: 16px; }
section { padding-block: clamp(64px, 9vw, 128px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 14px 22px; border: 1px solid var(--copper); background: var(--copper); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--copper-ink); border-color: var(--copper-ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--on-image); border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: var(--on-image); }
.btn.outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.outline:hover { border-color: var(--copper); color: var(--copper-ink); }
.more { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 2px; }
.more:hover { color: var(--copper-ink); }

/* ==========================================================================
   En-tête et menu
   ========================================================================== */
.top { position: sticky; top: var(--admin-bar); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-txt { display: grid; line-height: 1.05; }
.brand-txt b { font-family: var(--f-display); font-weight: 400; letter-spacing: .08em; font-size: 15px; color: var(--petrol); }
.brand-txt b + b { font-weight: 700; }
.brand-txt small { font-size: 7.5px; letter-spacing: .14em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.custom-logo-link { display: flex; flex: none; }
.custom-logo-link img { max-height: 52px; width: auto; }
.menu-panel { display: flex; align-items: center; gap: 28px; flex: 1; min-width: 0; }
.nav { margin-left: auto; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; font-size: 13.5px; font-weight: 500; }
.nav a { display: block; text-decoration: none; color: var(--fg); padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; white-space: nowrap; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a, .nav .current-menu-ancestor > a, .nav [aria-current] { border-color: var(--copper); color: var(--copper-ink); }
.top-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.top .btn { padding: 11px 18px; font-size: 12px; }
.extranet { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--petrol); text-decoration: none; padding: 10px 14px; border: 1px solid var(--line); white-space: nowrap; }
.extranet:hover { border-color: var(--petrol); }
.burger { display: none; align-items: center; gap: 10px; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); padding: 10px 14px; font: 600 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.burger-ico { display: grid; gap: 4px; width: 18px; }
.burger-ico i { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-open .burger-ico i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger-ico i:nth-child(2) { opacity: 0; }
.menu-open .burger-ico i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
	:root { --header-h: 68px; }
	.burger { display: inline-flex; }
	.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(10, 26, 38, .35); padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); max-height: calc(100vh - var(--header-h) - var(--admin-bar)); max-height: calc(100dvh - var(--header-h) - var(--admin-bar)); overflow-y: auto; }
	.menu-open .menu-panel { display: flex; }
	.nav { margin: 0; }
	.nav .menu { flex-direction: column; gap: 0; font-size: 17px; }
	.nav .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.top-actions { flex-direction: column; align-items: stretch; gap: 10px; }
	.top-actions .extranet, .top-actions .btn { justify-content: center; padding: 14px; }
}
@media (max-width: 400px) { .burger-txt { display: none; } .brand-txt small { display: none; } }

/* ==========================================================================
   Accueil
   ========================================================================== */
/* Bandeau */
.hero { position: relative; color: var(--on-image); padding: 0; overflow: hidden; background: #1b3b52; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,28,42,.8) 0%, rgba(10,28,42,.52) 50%, rgba(10,28,42,.08) 88%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(80px, 13vw, 176px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-weight: 500; font-size: clamp(31px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.015em; max-width: 17ch; }
.hero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 300; letter-spacing: 0; }
.hero p { max-width: 52ch; font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.88); margin: 26px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: clamp(48px, 8vw, 104px); border-top: 1px solid rgba(255,255,255,.28); padding-top: 22px; max-width: 780px; }
.hero-facts div { padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255,255,255,.22); }
.hero-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.hero-facts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 700px) {
	.hero-facts { grid-template-columns: 1fr; gap: 16px; }
	.hero-facts div { border: 0; margin: 0; padding: 0; }
	.actions .btn { flex: 1 1 220px; }
}

/* Cabinet */
.cabinet .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cabinet .grid > * { min-width: 0; }
.cabinet .body p { max-width: 62ch; color: var(--muted); }
.cabinet .body p.lead { color: var(--fg); margin-bottom: 28px; }
.since { margin-top: 40px; display: flex; align-items: baseline; gap: 16px; }
.since b { font-family: var(--f-display); font-weight: 300; font-size: clamp(56px, 7vw, 88px); line-height: .9; color: var(--petrol); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.since span { font-size: 13px; color: var(--muted); max-width: 18ch; line-height: 1.4; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.principles > div { padding: 28px 28px 0 0; min-width: 0; }
.principles > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.principles h3 svg { width: 14px; height: 14px; flex: none; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }
.kpis { margin-top: clamp(56px, 7vw, 88px); }
.kpis dl { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 2px solid var(--petrol); }
.kpis dl.n4 { grid-template-columns: repeat(4, 1fr); }
.kpis dl.n3 { grid-template-columns: repeat(3, 1fr); }
.kpis dl.n2 { grid-template-columns: repeat(2, 1fr); }
.kpis dl.n1 { grid-template-columns: 1fr; }
.kpis dl > div { padding: 22px 20px 0 0; min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.kpis dl > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.kpis dt { font-size: 13px; color: var(--muted); line-height: 1.4; }
.kpis dd { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: var(--petrol); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis dd small { font-size: .42em; font-weight: 500; margin-left: 6px; letter-spacing: 0; color: var(--copper-ink); }
@media (max-width: 960px) {
	.kpis dl, .kpis dl.n4, .kpis dl.n3 { grid-template-columns: repeat(2, 1fr); }
	.kpis dl > div, .kpis dl > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.kpis dl > div:nth-child(odd) { padding-right: 16px; }
	.kpis dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.cabinet .grid { grid-template-columns: 1fr; }
	.principles { grid-template-columns: 1fr; }
	.principles > div, .principles > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Cycle de vie */
.cycle { background: var(--band); color: var(--band-fg); }
.cycle .h2 { color: var(--band-fg); }
.cycle .eyebrow { color: var(--copper); }
.cycle .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: none; margin: 0; }
.cycle .intro p { color: var(--band-muted); margin: 0; max-width: 52ch; }
.steps { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 26px 20px 0 0; border-top: 1px solid rgba(255,255,255,.22); min-width: 0; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--copper); transform: rotate(45deg); }
.steps li span { display: block; font-size: 12px; letter-spacing: .14em; color: var(--band-muted); font-variant-numeric: tabular-nums; }
.steps li span::before { content: "0" counter(s) " "; }
.steps li b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 500; margin: 6px 0 8px; }
.steps li p { margin: 0; font-size: 14px; color: var(--band-muted); line-height: 1.55; }
@media (max-width: 900px) {
	.cycle .intro { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; border-left: 1px solid rgba(255,255,255,.22); margin-left: 4px; }
	.steps li { border-top: 0; padding: 0 0 26px 26px; }
	.steps li::before { top: 6px; left: -5px; }
}

/* Expertises */
.exp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.exp-head > * { min-width: 0; }
.exp-head p { margin: 0; color: var(--muted); max-width: 56ch; }
.exp { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.exp > * { min-width: 0; }
.exp figure { margin: 0; position: relative; min-height: 420px; }
.exp figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-list { border-top: 1px solid var(--line); }
.exp-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.exp-item > div { min-width: 0; }
.exp-item svg { width: 44px; height: 44px; fill: none; stroke-width: 2; }
.exp-item svg .s-line { stroke: var(--line); stroke-width: 1; }
.exp-item svg .s-copper { stroke: var(--copper); }
.exp-item svg .s-teal { stroke: var(--teal); }
.exp-item svg .s-petrol { stroke: var(--petrol); }
.exp-item h3 { font-size: 21px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.exp-item > div > p { margin: 0 0 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border: 1px solid var(--line); color: var(--fg); background: var(--surface); }
@media (max-width: 900px) {
	.exp-head, .exp { grid-template-columns: 1fr; }
	.exp figure { min-height: 0; aspect-ratio: 16/10; }
}
@media (max-width: 480px) { .exp-item { grid-template-columns: 1fr; gap: 12px; } }

/* Restructuration */
.restr { background: var(--surface); border-top: 1px solid var(--line); }
.aud { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--petrol); }
.aud article { padding: 28px 28px 28px 0; min-width: 0; }
.aud article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.aud article:last-child { padding-right: 0; }
.aud h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.aud article > p { margin: 0 0 16px; color: var(--muted); }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { position: relative; padding-left: 22px; font-size: 15px; }
.aud li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--copper); transform: rotate(45deg); }
.rsteps { list-style: none; counter-reset: r; padding: 0; margin: clamp(40px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rsteps li { counter-increment: r; background: var(--bg); border: 1px solid var(--line); padding: 22px 20px; min-width: 0; }
.rsteps li::before { content: "0" counter(r); display: block; font-family: var(--f-display); font-weight: 300; font-size: 30px; line-height: 1; color: var(--copper-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.rsteps b { display: block; font-family: var(--f-display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.rsteps p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.restr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.restr-foot p { margin: 0; color: var(--muted); font-size: 14px; max-width: 60ch; }
@media (max-width: 960px) {
	.aud { grid-template-columns: 1fr; }
	.aud article, .aud article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.rsteps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .rsteps { grid-template-columns: 1fr; } }

/* Aperçu des biens */
.teaser { background: var(--band); color: var(--band-fg); padding-block: clamp(56px, 7vw, 88px); }
.teaser .wrap { display: grid; grid-template-columns: 6fr 4fr auto; gap: 32px 48px; align-items: end; }
.teaser .wrap > * { min-width: 0; }
.teaser .h2 { color: var(--band-fg); }
.teaser .eyebrow { color: var(--copper); }
.teaser p:not(.eyebrow) { color: var(--band-muted); margin: 14px 0 0; max-width: 52ch; }
.tz-stats { display: flex; gap: 40px; }
.tz-stats a { text-decoration: none; }
.tz-stats b { display: block; font-family: var(--f-display); font-weight: 300; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.tz-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.tz-stats a:hover span { color: var(--copper); }
@media (max-width: 900px) { .teaser .wrap { grid-template-columns: 1fr; align-items: start; } .teaser .btn { justify-self: start; } }

/* Actualités */
.news { background: var(--surface); border-block: 1px solid var(--line); }
.news-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.news-head .muted { max-width: 56ch; margin: 16px 0 0; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--line); }
.post-card { min-width: 0; padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.post-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.post-card.feature .thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.post-card.feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card.feature:hover .thumb img { transform: scale(1.02); }
.post-card.feature h3 { font-size: clamp(22px, 2.4vw, 30px); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.cat { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-ink); text-decoration: none; }
.cat-juridique { color: var(--teal); }
.post-card h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--copper-ink); }
.post-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.post-card .more { margin-top: auto; }
@media (min-width: 901px) {
	.news-list .post-card:not(.feature) { padding-right: 0; }
	.news-list .post-card:not(.feature) + .post-card:not(.feature) { position: relative; }
	.news-list .post-card:not(.feature) + .post-card:not(.feature)::before { content: ""; position: absolute; left: -16px; top: 28px; bottom: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } .post-card.feature { grid-template-columns: 1fr; } }

/* Implantations */
.impl .grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.impl .grid.no-map { grid-template-columns: 1fr; max-width: 760px; }
.impl .grid > * { min-width: 0; }
.impl figure { margin: 0; background: #F3F4F4; border: 1px solid var(--line); }
.impl figure img { display: block; width: 100%; mix-blend-mode: multiply; }
.impl p { color: var(--muted); max-width: 52ch; }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.cities h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sq { width: 12px; height: 12px; flex: none; display: inline-block; }
.sq.copper { background: var(--copper); }
.sq.teal { background: var(--teal); }
.cities ul { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.9; }
@media (max-width: 860px) { .impl .grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cities { grid-template-columns: 1fr; } }

/* Citation */
.quote { position: relative; padding: 0; color: var(--on-image); overflow: hidden; background: #2a4a61; }
.quote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.quote::after { content: ""; position: absolute; inset: 0; background: var(--shade); }
.quote .wrap { position: relative; z-index: 1; padding-top: clamp(88px, 12vw, 168px); padding-bottom: clamp(88px, 12vw, 168px); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(27px, 4vw, 52px); line-height: 1.18; max-width: 20ch; padding-left: 28px; border-left: 4px solid var(--copper); }

/* Espace client */
.access { padding-block: clamp(48px, 6vw, 72px); background: var(--bg); border-bottom: 1px solid var(--line); }
.access .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.access .wrap > div { min-width: 0; max-width: 640px; }
.access .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.access p:not(.eyebrow) { color: var(--muted); margin: 12px 0 0; }

/* ==========================================================================
   Contact et formulaires
   ========================================================================== */
.contact .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact .grid > * { min-width: 0; }
.coords { margin-top: 36px; display: grid; gap: 22px; }
.coords div { display: grid; gap: 2px; justify-items: start; }
.coords span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.coords b, .coords .val { font-weight: 500; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.coords .val:hover { color: var(--copper-ink); }
.copy { font: 500 12px var(--f-body); color: var(--copper-ink); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.contact-form .full, .contact-form .notice { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea, .lst-tools select, .calc input, .calc select { font: 400 16px var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); padding: 12px 14px; width: 100%; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .lst-tools select:focus, .calc input:focus, .calc select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-form .consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--copper); padding: 0; }
.contact-form .consent a { color: var(--fg); }
.form-foot { display: flex; justify-content: flex-end; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 14px 16px; border-left: 3px solid var(--teal); background: var(--bg); font-size: 14px; }
.notice.is-ok { border-color: #2E8B57; }
.notice.is-err { border-color: #C4302B; }
@media (max-width: 860px) { .contact .grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ==========================================================================
   En-têtes de page, contenus éditoriaux
   ========================================================================== */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 36px); }
.page-head .h2 { font-size: clamp(30px, 4vw, 48px); }
.back { display: inline-block; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.back:hover { color: var(--copper-ink); }
.page-body { padding-block: 8px clamp(64px, 9vw, 120px); }
.narrow-content { max-width: 760px; }

.entry-content { font-size: 17px; line-height: 1.75; min-width: 0; }
.entry-content > * { margin-block: 0 1.1em; }
.entry-content h2 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 500; margin: 1.9em 0 .6em; padding-top: 28px; border-top: 1px solid var(--line); }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 18px; font-weight: 600; margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 16px; font-weight: 600; margin: 1.4em 0 .4em; }
.entry-content p, .entry-content li { color: var(--fg); }
.entry-content a { color: var(--copper-ink); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--copper); font-family: var(--f-serif); font-weight: 300; font-size: 1.2em; }
.entry-content img { height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content mark { background: #FBEBD9; color: #6B3E24; padding: 0 4px; }
.entry-content .note, .entry-content .edition { font-size: 14px; color: var(--muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .wp-block-image.alignwide, .entry-content .alignwide { margin-inline: 0; }
.entry-content .wp-block-button__link { background: var(--copper); color: #fff; border-radius: 0; text-decoration: none; font-weight: 600; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.entry-content th, .entry-content td { text-align: left; padding: 12px 16px 12px 0; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.entry-content .pr-tarifs td:first-child { width: 58%; }
.entry-content .pr-tarifs td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; padding-right: 0; }
@media (max-width: 560px) {
	.entry-content { font-size: 16px; }
	.entry-content .pr-tarifs tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
	.entry-content .pr-tarifs td { border: 0; padding: 0; width: auto !important; }
	.entry-content .pr-tarifs td:last-child { margin-top: 4px; }
}

/* Page avec sommaire (Honoraires et CGV) */
.toc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc-grid .entry-content { max-width: 820px; }
.toc { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 24px); display: grid; font-size: 14px; border-left: 1px solid var(--line); max-height: calc(100vh - var(--header-h) - var(--admin-bar) - 48px); overflow-y: auto; }
.toc p { margin: 0 0 8px; padding-left: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc a { text-decoration: none; color: var(--muted); padding: 5px 0 5px 16px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.4; }
.toc a:hover, .toc a[aria-current] { color: var(--fg); border-color: var(--copper); }
@media (max-width: 900px) {
	.toc-grid { grid-template-columns: 1fr; }
	.toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; border: 0; max-height: none; }
	.toc p { width: 100%; padding: 0; }
	.toc a { border: 1px solid var(--line); padding: 6px 12px; margin: 0; font-size: 13px; }
}

/* Calcul ALUR */
.alur { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--line); padding: 24px; margin: 24px 0; font-size: 15px; }
.alur > * { min-width: 0; }
.alur h4 { margin: 0 0 8px; font-size: 15px; }
.alur p { margin: 0; color: var(--muted); font-size: 14px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; min-width: 0; }
.calc .res { grid-column: 1 / -1; display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.calc .res span { font-size: 12px; color: var(--muted); }
.calc .res b { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--copper-ink); font-variant-numeric: tabular-nums; }
.calc .res small { font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .alur { grid-template-columns: 1fr; } }

/* Article */
.article .page-head { padding-bottom: 28px; }
.article .lead { margin: 20px 0 0; color: var(--muted); }
.article-photo { margin-bottom: 40px; }
.article-photo img { width: 100%; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 600; font-size: 15px; display: grid; gap: 4px; }
.post-nav a span { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav a:hover { color: var(--copper-ink); }
.article-cta { background: var(--band); color: var(--band-fg); padding-block: 40px; margin-top: clamp(56px, 7vw, 88px); }
.article-cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.article-cta p { margin: 0; font-size: 19px; font-weight: 500; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; text-align: left; } }

/* Filtres et pagination */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a, .filters button { font: 500 13px var(--f-body); padding: 9px 16px; border: 1px solid var(--line); background: transparent; color: var(--fg); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.filters a:hover { border-color: var(--copper); }
.filters a[aria-current] { background: var(--petrol); border-color: var(--petrol); color: var(--bg); }
.page-head .filters { margin-top: 28px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-variant-numeric: tabular-nums; }
.pagination .page-numbers.current { background: var(--petrol); border-color: var(--petrol); color: var(--bg); }
.pagination a.page-numbers:hover { border-color: var(--copper); }
.empty { padding: 40px; background: var(--surface); border: 1px solid var(--line); max-width: 720px; }
.empty p { color: var(--muted); }
.empty p b { color: var(--fg); }

/* ==========================================================================
   Biens
   ========================================================================== */
.lst-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.sel { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.lst-tools select { min-width: 220px; padding: 9px 12px; background: var(--surface); font-size: 15px; }
.count { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lst { padding-block: 8px clamp(64px, 9vw, 120px); }
.lst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--copper); box-shadow: 0 14px 30px -20px rgba(10, 26, 38, .4); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.ph { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--line), var(--bg)); display: grid; place-items: center; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl { width: 56px; height: 56px; opacity: .55; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; color: #fff; background: #9A5F40; }
.badge.loc { background: #3E717C; }
.badge.is-sous_offre { background: #173A52; }
.badge.is-vendu, .badge.is-loue { background: #56697A; }
.card .in { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .k { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 18px; font-weight: 600; margin: 6px 0 4px; line-height: 1.3; }
.where { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin: 0 0 14px; padding: 12px 0; border-block: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); }
.price { font-family: var(--f-display); font-size: 21px; font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-na { font-size: 17px; }
.card .desc { font-size: 14px; color: var(--muted); margin: 10px 0 16px; }
.dpe { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.dpe b { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #fff; font-size: 12px; }
.ask { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--copper); padding-bottom: 2px; }
.card:hover .ask { color: var(--copper-ink); }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 40px; max-width: 80ch; }
.fine a { color: var(--fg); }
@media (max-width: 960px) { .lst-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.lst-grid { grid-template-columns: 1fr; }
	.count { margin-left: 0; }
	.sel, .lst-tools select { width: 100%; min-width: 0; }
}

/* Classes énergie */
.e-A { background: #2E8B57; } .e-B { background: #55A84B; } .e-C { background: #9CC63E; } .e-D { background: #E2C531; } .e-E { background: #E89A2C; } .e-F { background: #DB6327; } .e-G { background: #C4302B; }
.energy { display: grid; gap: 6px; margin-top: 16px; }
.energy-l { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.energy-na { font-size: 14px; }
.energy-scale { display: flex; gap: 3px; align-items: center; }
.energy-scale i { flex: 1; display: grid; place-items: center; height: 22px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; opacity: .3; }
.energy-scale i.on { opacity: 1; height: 32px; font-size: 15px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--fg); }
.energy-ges .e-A { background: #F2E6F7; color: #4B2A5B; } .energy-ges .e-B { background: #DFC2EA; color: #4B2A5B; } .energy-ges .e-C { background: #CDA3DD; } .energy-ges .e-D { background: #B985CE; } .energy-ges .e-E { background: #A266BC; } .energy-ges .e-F { background: #8749A3; } .energy-ges .e-G { background: #6A2D85; }

/* Fiche bien */
.bien-head .where { font-size: 17px; margin: 10px 0 0; }
.bien { padding-block: 8px clamp(48px, 6vw, 80px); }
.bien-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.bien-photo { position: relative; margin: 0 0 32px; aspect-ratio: 3/2; background: linear-gradient(135deg, var(--line), var(--bg)); display: grid; place-items: center; overflow: hidden; }
.bien-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bien-photo .pl { width: 80px; height: 80px; }
.bien-side { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 24px); }
.bien-card { background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.bien-card .price { font-size: 28px; line-height: 1.2; }
.bien-card .price small { display: block; margin: 4px 0 0; }
.bien-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.bien-facts dt { color: var(--muted); }
.bien-facts dd { margin: 0; font-weight: 500; }
.mentions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.55; }
.mentions p { margin: 0 0 .6em; }
.bien-card .fine { margin: 16px 0 0; }
.bien-contact { background: var(--surface); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .bien-grid { grid-template-columns: 1fr; } .bien-side { position: static; } }

/* 404 */
.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound .actions { margin-top: 28px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-foot { background: var(--band); color: var(--band-muted); font-size: 13px; }
.site-foot .wrap { padding-top: 56px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-brand p { margin: 18px 0 0; line-height: 1.7; }
.site-foot .brand-txt b { color: var(--band-fg); }
.site-foot .brand-txt small { color: var(--band-muted); }
.foot-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 28px; max-width: 640px; }
.foot-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-nav a { color: var(--band-fg); text-decoration: none; }
.foot-nav a:hover { color: var(--copper); }
.foot-extranet { display: inline-flex; align-items: center; gap: 8px; }
.legal { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; line-height: 1.6; }
.legal a { color: var(--band-fg); }
@media (prefers-color-scheme: dark) { .site-foot, .cycle, .teaser, .article-cta { background: #091620; } }

/* ==========================================================================
   Impression
   ========================================================================== */
@media print {
	.top, .site-foot, .toc, .contact-form, .article-cta, .burger { display: none !important; }
	body { background: #fff; color: #000; }
	.toc-grid { display: block; }
}
