/* ==========================================================================
   ISIS GUYNA — feuille de style principale
   Palette : ébène, ivoire, or, noyer. Titres : Cormorant Garamond. Texte : Inter.
   ========================================================================== */

/* --- Polices (hébergées dans le thème) ----------------------------------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

/* --- Variables ----------------------------------------------------------- */
:root {
	--ebene: #14110e;
	--ebene-2: #1e1914;
	--ivoire: #f3eee4;
	--papier: #faf7f1;
	--or: #c8a96b;
	--or-vif: #d9bb7c;
	--or-encre: #7a6130;       /* or lisible sur fond clair */
	--noyer: #4a2c1c;
	--pierre: #b8b0a3;
	--texte: #2a241d;
	--discret: #6b645a;
	--filet: rgba(20, 17, 14, 0.12);
	--filet-clair: rgba(243, 238, 228, 0.14);

	--f-titre: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--wrap-texte: 760px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--header-h: 76px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--f-texte);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--texte);
	background: var(--ivoire);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 0.5em; color: var(--ebene); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--filet); margin: 2em 0; }

:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; margin: 0; background: var(--or); color: var(--ebene); padding: 10px 16px; z-index: 10000; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.container--split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.center { text-align: center; }

/* --- Boutons et liens ----------------------------------------------------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	padding: 0.95em 1.7em; border: 1px solid var(--or); border-radius: 2px;
	font-family: var(--f-texte); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	background: var(--ebene); color: var(--or-vif);
	transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover, .wp-block-button__link:hover { background: var(--or); color: var(--ebene); }
.btn--gold { background: var(--or); color: var(--ebene); }
.btn--gold:hover { background: var(--or-vif); border-color: var(--or-vif); }
.btn--outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ebene); border-color: var(--ebene); }
.btn--outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ebene); color: var(--or-vif); }
.btn--small { padding: 0.7em 1.2em; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 500; color: var(--or-encre); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 0.85em; }
.link-plain { color: var(--discret); }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding: 16px 0;
	background: linear-gradient(180deg, rgba(20, 17, 14, 0.82), rgba(20, 17, 14, 0));
	transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { background: rgba(20, 17, 14, 0.94); padding: 10px 0; box-shadow: 0 1px 0 var(--filet-clair); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; color: var(--ivoire); text-decoration: none; font-family: var(--f-titre); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.1em; }
.site-logo__img { max-height: 48px; width: auto; }
.site-logo__text { white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; }
.site-nav__list a { color: var(--ivoire); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.02em; padding: 8px 0; display: inline-block; position: relative; transition: color 0.3s var(--ease); }
.site-nav__list > li > a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--or); transition: width 0.3s var(--ease); }
.site-nav__list > li > a:hover, .site-nav__list > .current-menu-item > a, .site-nav__list > .current-menu-ancestor > a { color: var(--or-vif); }
.site-nav__list > li > a:hover::after, .site-nav__list > .current-menu-item > a::after, .site-nav__list > .current-menu-ancestor > a::after { width: 100%; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 250px; background: rgba(20, 17, 14, 0.98); border: 1px solid var(--filet-clair); border-top: 2px solid var(--or); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.site-nav .sub-menu a { display: block; padding: 10px 20px; font-size: 0.875rem; }
.site-nav .sub-menu a:hover { color: var(--or-vif); background: rgba(200, 169, 107, 0.07); }
.site-nav .has-dropdown:hover > .sub-menu, .site-nav .has-dropdown:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__cta { white-space: nowrap; }

.site-nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.site-nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ivoire); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1060px) {
	.site-nav__toggle { display: flex; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 24px) 28px 40px;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		background: var(--ebene); overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li { border-bottom: 1px solid var(--filet-clair); }
	.site-nav__list a { font-size: 1.15rem; padding: 14px 0; display: block; }
	.site-nav__list > li > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 10px 14px; min-width: 0; }
	.site-nav .sub-menu a { padding: 8px 0; font-size: 1rem; opacity: 0.8; }
	.site-nav__cta { align-self: flex-start; }
	body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   ENTRÉE IMMERSIVE (accueil)
   --S : côté de la façade carrée, calé pour que la porte reste entière à l'écran.
   ========================================================================== */
.hero-experience { position: relative; background: var(--ebene); }
.stage {
	--S: min(110vh, 200vw);
	position: relative; width: 100%; height: 100vh; overflow: hidden; background: var(--ebene);
}
@supports (height: 100svh) { .stage { --S: min(110svh, 200vw); height: 100svh; } }

.layer { position: absolute; inset: 0; overflow: hidden; }
.layer picture { display: block; width: 100%; height: 100%; }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.layer--hall img { object-position: 47% 50%; }
@media (max-width: 760px) { .layer--hall img { object-position: 50% 50%; } }

/* État de base (sans animation) : le hall s'affiche directement. */
.layer--hall { z-index: 1; }
.layer--interior, .layer--exterior { display: none; z-index: 2; }
.layer__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 17, 14, 0.15) 0%, rgba(20, 17, 14, 0.62) 100%); }
.hall-brand { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; text-align: center; color: var(--ivoire); padding: 0 24px clamp(48px, 11vh, 120px); pointer-events: none; background: linear-gradient(0deg, rgba(20, 17, 14, 0.7), rgba(20, 17, 14, 0) 45%); }
.hall-brand__name { font-family: var(--f-titre); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.5rem); color: var(--ivoire); line-height: 1.2; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.facade-title, .scroll-hint, .skip-intro { display: none; }

/* Animation active (classe posée par main.js) */
.hero-experience.is-animated { height: calc(100vh + var(--hero-extra, 3200px)); }
@supports (height: 100svh) { .hero-experience.is-animated { height: calc(100svh + var(--hero-extra, 3200px)); } }
.hero-experience.is-animated .stage { position: sticky; top: 0; contain: layout paint; }
.hero-experience.is-animated .layer--interior,
.hero-experience.is-animated .layer--exterior { display: block; }
/* Le navigateur ne réserve de la mémoire GPU que lorsque l'entrée est à l'écran (classe posée par main.js). */
.hero-experience.is-live .facade-scene,
.hero-experience.is-live .leaf,
.hero-experience.is-live .layer--interior img,
.hero-experience.is-live .layer--hall img,
.hero-experience.is-live .layer--exterior,
.hero-experience.is-live .layer--interior,
.hero-experience.is-live .aperture img,
.hero-experience.is-live .facade-title,
.hero-experience.is-live .hall-brand { will-change: transform, opacity; }
.hero-experience.is-animated .hall-brand { opacity: 0; transform: translateY(18px); }
.hero-experience.is-animated .facade-title { display: block; }
.hero-experience.is-animated .scroll-hint { display: flex; }
.hero-experience.is-animated .skip-intro { display: inline-block; }

.layer--interior { z-index: 2; }
.layer--exterior { z-index: 3; background: #0c0a08; }

.facade-backdrop { position: absolute; inset: 0; overflow: hidden; }
.facade-backdrop img { transform: scale(1.04); }

.facade-scene {
	position: absolute; z-index: 1;
	width: var(--S); height: var(--S);
	left: calc(50% - var(--S) / 2);
	top: calc(50% - var(--S) / 2 + var(--S) * 0.01);
	transform-origin: 51.2% 55%;
	perspective: calc(var(--S) * 1.15);
	perspective-origin: 51.2% 55%;
}
.facade-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Ouverture dans le mur : les coordonnées sont celles des vantaux sur la photo. */
.aperture { position: absolute; left: 29.4%; top: 22.6%; width: 43.6%; height: 64.8%; overflow: hidden; background: #0a0806; }
.aperture img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.aperture__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(255, 214, 140, 0.34), rgba(255, 214, 140, 0) 65%); opacity: 0; }

.leaf {
	position: absolute; top: 22.6%; width: 21.8%; height: 64.8%;
	background-image: url("../images/facade-1400.webp"); background-repeat: no-repeat; background-size: 458.7% 154.3%;
	backface-visibility: hidden; will-change: transform;
}
@media (min-width: 1100px) { .leaf { background-image: url("../images/facade-2000.webp"); } }
.leaf--left { left: 29.4%; background-position: 37.6% 64.2%; transform-origin: 0% 50%; }
.leaf--right { left: 51.2%; background-position: 65.5% 64.2%; transform-origin: 100% 50%; }
.leaf__shade { position: absolute; inset: 0; opacity: 0; }
.leaf--left .leaf__shade { background: linear-gradient(90deg, rgba(10, 8, 6, 0.1), rgba(10, 8, 6, 0.92)); }
.leaf--right .leaf__shade { background: linear-gradient(270deg, rgba(10, 8, 6, 0.1), rgba(10, 8, 6, 0.92)); }

.facade-vignette {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(12, 10, 8, 0.86) calc(50% - var(--S) / 2 - 40px), rgba(12, 10, 8, 0) calc(50% - var(--S) / 2 + var(--S) * 0.1)),
		linear-gradient(270deg, rgba(12, 10, 8, 0.86) calc(50% - var(--S) / 2 - 40px), rgba(12, 10, 8, 0) calc(50% - var(--S) / 2 + var(--S) * 0.1)),
		linear-gradient(180deg, rgba(12, 10, 8, 0.7), rgba(12, 10, 8, 0) 22%),
		linear-gradient(0deg, rgba(12, 10, 8, 0.8), rgba(12, 10, 8, 0) 28%);
}

.facade-title { position: absolute; z-index: 6; left: clamp(24px, 4vw, 64px); bottom: clamp(90px, 14vh, 150px); max-width: min(440px, calc(50vw - var(--S, 100vh) * 0.30)); color: var(--ivoire); }
.facade-title > * { animation: titleIn 1.2s var(--ease) backwards; }
.facade-title > :nth-child(1) { animation-delay: 0.2s; }
.facade-title > :nth-child(2) { animation-delay: 0.4s; }
.facade-title > :nth-child(3) { animation-delay: 0.7s; }
.facade-title__sign { margin: 0 0 12px; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--pierre); }
.hero-experience.is-lite .facade-vignette, .hero-experience.is-lite .aperture__glow { display: none; }
.hero-experience.is-lite .leaf__shade { opacity: 0 !important; }
.facade-title__main { font-size: clamp(2.2rem, 2.7vw, 3.4rem); white-space: nowrap; letter-spacing: 0.1em; color: var(--or-vif); margin: 0; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55); }
.facade-title__sub { margin: 14px 0 0; font-family: var(--f-titre); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--ivoire); opacity: 0.92; }
@keyframes titleIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; z-index: 6; bottom: 26px; left: 50%; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 10px; color: var(--ivoire); opacity: 0.8; pointer-events: none; }
.scroll-hint__line { display: block; width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--or)); animation: scrollHint 2.2s ease-in-out infinite; }
.scroll-hint__label { font-size: 0.8rem; letter-spacing: 0.08em; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.skip-intro { position: absolute; z-index: 7; right: clamp(20px, 4vw, 56px); bottom: 28px; font-size: 0.85rem; color: var(--ivoire); opacity: 0.75; text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: 2px; transition: opacity 0.3s; }
.skip-intro:hover { opacity: 1; }

/* ==========================================================================
   ACCUEIL — sections
   ========================================================================== */
.presentation { background: var(--ebene); color: var(--ivoire); padding: clamp(80px, 12vw, 140px) 24px; text-align: center; }
.presentation__inner { max-width: 960px; margin: 0 auto; }
.presentation__logo { margin-bottom: 28px; }
.presentation__logo svg { margin: 0 auto; }
.presentation__title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: 0.14em; color: var(--or-vif); margin-bottom: 18px; }
.presentation__tagline { font-family: var(--f-titre); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--ivoire); opacity: 0.92; margin-bottom: 56px; }
.presentation__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(18px, 3.4vw, 44px); }
.menu-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px; width: 118px; color: var(--ivoire); text-decoration: none; font-size: 0.9rem; line-height: 1.3; transition: color 0.3s var(--ease); }
.menu-item__icon { width: 60px; height: 60px; border: 1px solid rgba(200, 169, 107, 0.42); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--or); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease); }
.menu-item:hover { color: var(--or-vif); }
.menu-item:hover .menu-item__icon { border-color: var(--or); transform: translateY(-4px); background: rgba(200, 169, 107, 0.08); }

.section { padding: clamp(72px, 10vw, 130px) 0; }
.home-activities, .home-biens, .home-societes, .home-news, .section--vision { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--ivory { background: var(--ivoire); }
.section--paper { background: var(--papier); }
.section__title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 0.4em; max-width: 22ch; }
.section__title--small { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: none; }
.section__lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.65; color: var(--texte); }
.section__text { color: var(--discret); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section__head .section__title { margin: 0; max-width: none; }

.activity-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.activity { border-bottom: 1px solid var(--filet); }
.activity a { display: grid; grid-template-columns: 56px minmax(200px, 0.9fr) 1.6fr 40px; align-items: center; gap: 24px; padding: 30px 12px; text-decoration: none; transition: background 0.3s var(--ease), padding 0.3s var(--ease); }
.activity a:hover { background: rgba(200, 169, 107, 0.09); padding-left: 24px; }
.activity__icon { color: var(--or-encre); }
.activity__title { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.15; color: var(--ebene); }
.activity__text { color: var(--discret); font-size: 0.98rem; line-height: 1.6; }
.activity__go { color: var(--or-encre); transition: transform 0.3s var(--ease); }
.activity a:hover .activity__go { transform: translateX(6px); }

.section--vision { position: relative; background: var(--ebene) var(--vision-bg) center / cover no-repeat; color: var(--ivoire); text-align: center; isolation: isolate; }
.section--vision::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 17, 14, 0.9), rgba(20, 17, 14, 0.78) 50%, rgba(20, 17, 14, 0.92)); }
.vision__quote { font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.25; color: var(--ivoire); margin-bottom: 36px; }

.signature { position: relative; background: var(--ebene); padding: clamp(90px, 12vw, 150px) 24px; text-align: center; color: var(--ivoire); }
.signature::before { content: ""; position: absolute; inset: 36px; border: 1px solid rgba(200, 169, 107, 0.2); pointer-events: none; }
.signature__inner { position: relative; z-index: 1; }
.signature__inner .monogram { margin: 0 auto 22px; }
.signature__brand { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: 0.14em; color: var(--or-vif); margin-bottom: 12px; }
.signature__tagline { font-size: 0.95rem; letter-spacing: 0.12em; opacity: 0.8; margin-bottom: 32px; }

/* ==========================================================================
   GRILLES ET CARTES
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.bien-card, .post-card { background: var(--papier); border: 1px solid var(--filet); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.bien-card:hover, .post-card:hover { transform: translateY(-4px); border-color: rgba(200, 169, 107, 0.6); box-shadow: 0 18px 40px rgba(20, 17, 14, 0.08); }
.bien-card__media, .post-card__media { position: relative; display: block; aspect-ratio: 10 / 7; background: var(--ebene-2); overflow: hidden; }
.bien-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.bien-card:hover img, .post-card:hover img { transform: scale(1.04); }
.bien-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ivoire); }
.bien-card__badge, .bien-card__status { position: absolute; top: 14px; padding: 5px 12px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em; }
.bien-card__badge { left: 14px; background: var(--ebene); color: var(--or-vif); }
.bien-card__status { right: 14px; background: var(--or); color: var(--ebene); }
.bien-card.is-closed .bien-card__media img { filter: grayscale(0.8) brightness(0.8); }
.bien-card__body, .post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bien-card__place, .post-card__meta { margin: 0 0 6px; font-size: 0.85rem; color: var(--discret); }
.bien-card__title, .post-card__title { font-size: 1.5rem; margin-bottom: 8px; }
.bien-card__title a, .post-card__title a { text-decoration: none; }
.bien-card__title a:hover, .post-card__title a:hover { color: var(--or-encre); }
.bien-card__price { font-family: var(--f-titre); font-size: 1.45rem; font-weight: 600; color: var(--or-encre); margin: 0 0 14px; }
.bien-card__facts { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--discret); }
.bien-card__facts li { display: inline-flex; align-items: center; gap: 6px; }
.post-card__excerpt { color: var(--discret); font-size: 0.97rem; flex: 1; }

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.page-hero { background: var(--ebene); color: var(--ivoire); padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--or), transparent); opacity: 0.5; }
.page-hero::before { content: ""; position: absolute; right: -8%; top: -30%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border: 1px solid rgba(200, 169, 107, 0.14); border-radius: 50%; box-shadow: 0 0 0 36px rgba(200, 169, 107, 0.035), 0 0 0 90px rgba(200, 169, 107, 0.02); pointer-events: none; }
.page-hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.page-hero__eyebrow { color: var(--or); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); color: var(--ivoire); max-width: 18ch; margin-bottom: 0.3em; }
.page-hero__text { font-family: var(--f-titre); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--pierre); max-width: 40ch; margin: 0; }

.breadcrumb { margin-bottom: 22px; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; color: var(--pierre); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--or-vif); }

.page-main { background: var(--ivoire); }
.page-body { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 24px clamp(56px, 8vw, 110px); }
.page-body--wide { max-width: var(--wrap); }

/* Contenu éditorial (éditeur de blocs) */
.entry-content { font-size: 1.0625rem; line-height: 1.8; }
.entry-content > * { max-width: var(--wrap-texte); margin-left: 0; margin-right: auto; }
.entry-content > .alignwide, .entry-content > .wp-block-columns, .entry-content > .wp-block-group { max-width: var(--wrap); }
.entry-content--flush > * { margin-left: 0; margin-right: 0; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-top: 1.5em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content .is-lead { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.4; color: var(--ebene); max-width: 36em; }
.entry-content a:not(.wp-block-button__link) { color: var(--or-encre); }
.entry-content a:not(.wp-block-button__link):hover { color: var(--ebene); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.55em; padding-left: 0.2em; }
.entry-content ul li::marker { color: var(--or); }
.entry-content ol li::marker { color: var(--or-encre); font-family: var(--f-titre); font-weight: 600; font-size: 1.1em; }
.entry-content img { height: auto; }
.entry-content figure { margin: 2em auto; }
.entry-content figcaption { font-size: 0.88rem; color: var(--discret); margin-top: 8px; }
.entry-content blockquote, .wp-block-quote { margin: 2.4em 0; padding: 0 0 0 28px; border-left: 2px solid var(--or); font-family: var(--f-titre); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3; color: var(--ebene); }
.entry-content blockquote p { margin: 0; }
.entry-content cite { display: block; margin-top: 12px; font-family: var(--f-texte); font-style: normal; font-size: 0.9rem; color: var(--discret); }

.wp-block-columns { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 2em; margin-bottom: 2em; }
.wp-block-column { flex: 1 1 240px; min-width: 0; }
.wp-block-column > :first-child { margin-top: 0; }
.wp-block-columns.is-style-values .wp-block-column { border-top: 1px solid var(--or); padding-top: 18px; }
.wp-block-columns.is-style-values h3 { margin-top: 0; }

.wp-block-group.is-style-service { border: 1px solid var(--filet); background: var(--papier); padding: 32px 30px; height: 100%; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.wp-block-group.is-style-service:hover { border-color: rgba(200, 169, 107, 0.7); box-shadow: 0 16px 36px rgba(20, 17, 14, 0.07); }
.wp-block-group.is-style-service h3 { margin-top: 0; }
.wp-block-group.is-style-service h3 a { text-decoration: none; color: var(--ebene); }
.wp-block-group.is-style-service h3 a::after { content: " →"; color: var(--or-encre); }
.wp-block-group.is-style-service h3 a:hover { color: var(--or-encre); }
.wp-block-group.is-style-panel { background: var(--papier); border: 1px solid var(--filet); padding: 28px 32px; }
.wp-block-group.is-style-cta { background: var(--ebene); color: var(--ivoire); text-align: center; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); margin-top: 3.4em; }
.wp-block-group.is-style-cta h3 { color: var(--or-vif); margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.wp-block-group.is-style-cta p { color: var(--ivoire); opacity: 0.9; max-width: 46ch; margin-left: auto; margin-right: auto; }
.wp-block-group.is-style-cta .wp-block-buttons { justify-content: center; }
.wp-block-group.is-style-cta .wp-block-button__link { background: var(--or); color: var(--ebene); }
.wp-block-group.is-style-cta .wp-block-button__link:hover { background: var(--or-vif); }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 0; }
.wp-block-button { margin: 0; }
.wp-block-image img { width: 100%; }
.wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.wp-block-gallery figure { margin: 0; }
.wp-block-table table, .entry-content table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--filet); text-align: left; }

.post-meta { max-width: var(--wrap-texte); margin: 0 0 24px; color: var(--discret); font-size: 0.92rem; }
.post-cover { max-width: 1000px; margin: 0 0 40px; }
.post-cover img { width: 100%; }
.post-nav { max-width: var(--wrap-texte); margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--filet); display: flex; justify-content: space-between; gap: 24px; font-size: 0.95rem; }
.post-nav a { text-decoration: none; color: var(--or-encre); }
.post-nav a:hover { color: var(--ebene); }
.post-nav__next { margin-left: auto; text-align: right; }
.page-links { margin-top: 2em; }

.empty-state { text-align: center; max-width: 560px; margin: 24px auto; padding: 56px 24px; border: 1px dashed rgba(122, 97, 48, 0.4); }
.empty-state h2 { font-size: 1.8rem; }
.empty-state p { color: var(--discret); }
.empty-state .btn-row { justify-content: center; margin-top: 24px; }
.result-count { color: var(--discret); font-size: 0.95rem; margin: 28px 0 20px; }

.pagination { margin-top: 56px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.pagination a, .pagination span { display: inline-block; min-width: 44px; padding: 10px 14px; text-align: center; border: 1px solid var(--filet); text-decoration: none; font-size: 0.95rem; background: var(--papier); }
.pagination a:hover { border-color: var(--or); color: var(--or-encre); }
.pagination .current { background: var(--ebene); border-color: var(--ebene); color: var(--or-vif); }

.search-bar { max-width: 560px; margin: 0 auto 40px; }
.search-form { display: flex; gap: 10px; }
.search-form__input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--filet); background: var(--papier); }

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.field { margin: 0 0 20px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--ebene); }
.field .req { color: var(--or-encre); }
.field .opt { font-weight: 400; color: var(--discret); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
	width: 100%; padding: 13px 15px; background: var(--papier); border: 1px solid rgba(20, 17, 14, 0.25); border-radius: 2px;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.28); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--or-encre); flex: none; }
.field--check label { font-weight: 400; font-size: 0.9rem; color: var(--discret); margin: 0; }
.field--check a { color: var(--or-encre); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field-note { font-size: 0.92rem; color: var(--or-encre); margin-bottom: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; margin-bottom: 24px; border-left: 3px solid; font-size: 0.97rem; }
.notice--success { background: #eef4e8; border-color: #4f7a3a; color: #26401a; }
.notice--error { background: #f8e9e4; border-color: #a8412c; color: #5a1f12; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-layout__info { background: var(--ebene); color: var(--ivoire); padding: clamp(28px, 4vw, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-layout__info h2 { color: var(--or-vif); font-size: 1.8rem; margin-top: 0; }
.info-list { list-style: none; margin: 0 0 24px; padding: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--filet-clair); }
.info-list svg { color: var(--or); flex: none; margin-top: 2px; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--or-vif); }
.contact-layout__info .btn--outline { color: var(--ivoire); border-color: var(--or); }
.contact-layout__info .btn--outline:hover { background: var(--or); color: var(--ebene); }
.info-note { margin: 24px 0 0; font-size: 0.92rem; color: var(--pierre); }
.info-note a { color: var(--or-vif); }

/* ==========================================================================
   BIENS
   ========================================================================== */
.bien-filter { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px 16px; align-items: end; background: var(--papier); border: 1px solid var(--filet); padding: 22px 24px; }
.bien-filter .field { margin: 0; }
.bien-filter__actions { margin: 0; display: flex; align-items: center; gap: 14px; }
.bien-filter__actions .btn { height: 48px; }

.bien { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bien__main { margin: 0; background: var(--ebene-2); aspect-ratio: 16 / 10; overflow: hidden; }
.bien__main img { width: 100%; height: 100%; object-fit: cover; }
.bien__main--empty { display: flex; align-items: center; justify-content: center; background: var(--papier); border: 1px solid var(--filet); }
.bien__thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.bien__thumbs button { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid transparent; opacity: 0.75; transition: opacity 0.25s, border-color 0.25s; }
.bien__thumbs button.is-active, .bien__thumbs button:hover { opacity: 1; border-color: var(--or); }
.bien__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bien__content { margin-top: 40px; }
.bien__content > * { max-width: none; }
.bien__side { position: sticky; top: calc(var(--header-h) + 20px); background: var(--papier); border: 1px solid var(--filet); padding: 28px; }
.bien__price { font-family: var(--f-titre); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; color: var(--or-encre); margin: 0 0 8px; line-height: 1.1; }
.bien__status { display: inline-block; background: var(--or); color: var(--ebene); padding: 4px 12px; font-size: 0.85rem; font-weight: 500; margin: 0 0 12px; }
.bien__facts { margin: 16px 0 0; }
.bien__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--filet); font-size: 0.95rem; }
.bien__facts dt { color: var(--discret); }
.bien__facts dd { margin: 0; font-weight: 500; text-align: right; }
.bien__contact { margin-top: 28px; }
.bien__contact h2 { font-size: 1.5rem; margin-bottom: 16px; }
.bien__contact .field-row { grid-template-columns: 1fr; }
.related { margin-top: clamp(56px, 8vw, 96px); }
.related .section__title { margin-bottom: 28px; }

/* ==========================================================================
   COMMENTAIRES
   ========================================================================== */
.comments { max-width: var(--wrap-texte); margin: 64px 0 0; }
.comments__title { font-size: 1.6rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--filet); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-form label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; background: var(--papier); border: 1px solid rgba(20, 17, 14, 0.25); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { background: #0b0907; color: var(--pierre); padding: clamp(60px, 8vw, 96px) 24px 28px; font-size: 0.95rem; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); margin-bottom: 56px; }
.site-footer__brand .monogram { margin-bottom: 18px; }
.site-footer__name { font-family: var(--f-titre); font-size: 1.6rem; letter-spacing: 0.12em; color: var(--or-vif); margin: 0 0 6px; font-weight: 600; }
.site-footer__tagline { margin: 0 0 18px; opacity: 0.75; }
.site-footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
.site-footer h4 { font-family: var(--f-texte); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ivoire); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--or-vif); }
.site-footer__hours { opacity: 0.75; }
.site-footer__bottom { max-width: var(--wrap); margin: 0 auto; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 0.85rem; }
.site-footer__bottom p { margin: 0; opacity: 0.7; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__legal li { margin: 0; }

/* ==========================================================================
   RÉVÉLATION AU DÉFILEMENT (uniquement si JS actif et animations permises)
   ========================================================================== */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.can-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   ADAPTATION
   ========================================================================== */
@media (max-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.bien-filter { grid-template-columns: repeat(2, 1fr); }
	.bien-filter__actions { grid-column: 1 / -1; }
	.activity a { grid-template-columns: 48px 1fr 36px; row-gap: 6px; }
	.activity__text { grid-column: 2 / 3; grid-row: 2; }
	.activity__go { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 860px) {
	.container--split { grid-template-columns: 1fr; gap: 28px; }
	.contact-layout, .bien { grid-template-columns: 1fr; }
	.contact-layout__info, .bien__side { position: static; }
	.section__title { max-width: none; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.grid--3 { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.bien-filter { grid-template-columns: 1fr; }
	.menu-item { width: 96px; }
	.menu-item__icon { width: 54px; height: 54px; }
	.facade-title { right: 24px; }
	.skip-intro { bottom: 76px; right: 24px; }
	.signature::before { inset: 16px; }
	.activity a { padding: 22px 4px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.can-reveal [data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .scroll-hint, .skip-intro, .contact-form, .bien-filter { display: none !important; }
	body { background: #fff; color: #000; }
	.page-hero { background: none; color: #000; padding: 0; }
	.page-hero__title { color: #000; }
}

/* ---- v2.4 : fiche bien, boutons rapides ---- */
.bien__quick { margin: 14px 0 6px; }
.bien__quick .btn { flex: 1 1 140px; text-align: center; justify-content: center; }
@media (max-width: 760px) {
	.facade-title { max-width: none; right: 24px; }
	.facade-title__main { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* --- Page Espace client : formulaire de demande ------------------------- */
.request-types { border: 0; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.request-types legend, .request-title { font-family: var(--f-titre); font-size: 1.5rem; font-weight: 600; color: var(--ebene); margin: 0 0 12px; padding: 0; }
.request-title { margin-top: 8px; }
.request-type { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border: 1px solid var(--filet); background: #fff; cursor: pointer; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); }
.request-type:hover { border-color: var(--or); }
.request-type input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--or-encre); flex: none; }
.request-type__body { display: flex; flex-direction: column; gap: 2px; }
.request-type__body strong { font-weight: 600; color: var(--ebene); }
.request-type__body small { color: var(--discret); font-size: 0.88rem; }
.request-type:has(input:checked) { border-color: var(--or); background: var(--papier); box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.25); }
.request-details[hidden], .request-title[hidden] { display: none; }
.request-steps { list-style: none; counter-reset: step; margin: 0 0 24px; padding: 0; }
.request-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--filet-clair); }
.request-steps li::before { content: counter(step); grid-row: span 2; width: 28px; height: 28px; border: 1px solid var(--or); color: var(--or-vif); display: grid; place-items: center; font-size: 0.85rem; border-radius: 50%; }
.request-steps strong { color: var(--ivoire); font-weight: 600; }
.request-steps span { color: var(--pierre); font-size: 0.9rem; }
@media (max-width: 640px) { .request-type { padding: 12px 14px; } }
