/* Immobilier Sud Périgord — maquette 2026
   Charte : Aurama Studio (Guide de marque 2023)
   Ivoire #edeaea · Taupe #7c726b · Laiton #947c45 · Charbon #211c19
   Titres : Tenor Sans · Texte : Montserrat */

:root {
	--ivoire: #edeaea;
	--paper: #f5f3f2;
	--white: #fbfaf9;
	--taupe: #7c726b;
	--laiton: #947c45;
	--laiton-light: #b39a62;
	--charbon: #211c19;
	--charbon-2: #2b2521;
	--line: rgba(33, 28, 25, .14);
	--line-light: rgba(237, 234, 234, .18);
	--serif: "Tenor Sans", "Didot", Georgia, serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1360px;
	--gutter: clamp(20px, 4vw, 56px);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--charbon);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.75;
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--laiton); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
	font-family: var(--sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--laiton);
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-display, .h1, .h2, .h3 {
	font-family: var(--serif);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .14em;
	line-height: 1.18;
	margin: 0;
}
.h-display { font-size: clamp(28px, 3.8vw, 54px); letter-spacing: .14em; }
.h1 { font-size: clamp(30px, 3.8vw, 52px); }
.h2 { font-size: clamp(24px, 2.6vw, 36px); }
.h3 { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: .12em; }
.lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.85; color: var(--taupe); font-weight: 500; }
.num { font-family: var(--serif); letter-spacing: .1em; }
.muted { color: var(--taupe); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	height: 52px; padding: 0 30px;
	font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
	border: 1px solid var(--charbon); background: var(--charbon); color: var(--ivoire);
	cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
	white-space: nowrap;
}
.btn:hover { background: var(--laiton); border-color: var(--laiton); color: var(--white); }
.btn--ghost { background: transparent; color: var(--charbon); }
.btn--ghost:hover { background: var(--charbon); border-color: var(--charbon); color: var(--ivoire); }
.btn--light { background: transparent; color: var(--ivoire); border-color: rgba(237,234,234,.6); }
.btn--light:hover { background: var(--ivoire); color: var(--charbon); border-color: var(--ivoire); }
.btn--laiton { background: var(--laiton); border-color: var(--laiton); color: var(--white); }
.btn--laiton:hover { background: var(--charbon); border-color: var(--charbon); }
.btn--block { width: 100%; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.link-arrow .arr { width: 34px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.link-arrow .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover .arr { width: 52px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	color: var(--charbon);
	background: rgba(245, 243, 242, .94);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background .5s var(--ease), color .5s var(--ease), height .4s var(--ease), border-color .5s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1600px; }
.logo { display: block; width: 236px; flex: none; position: relative; }
.logo img { width: 100%; height: auto; transition: opacity .4s; }
.logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); }
.nav a {
	font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
	position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 22px; }
.lang { font-weight: 600; font-size: 11px; letter-spacing: .2em; display: flex; gap: 8px; }
.lang span { opacity: .45; cursor: pointer; }
.lang .on { opacity: 1; }
.header-tools .btn { height: 42px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }

/* transparent header on top of hero */
.has-hero .site-header:not(.scrolled) { background: transparent; color: var(--ivoire); border-color: var(--line-light); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.scrolled) .logo-dark { opacity: 0; }
.has-hero .site-header:not(.scrolled) .logo-light { opacity: 1; }
.has-hero .site-header:not(.scrolled) .btn--ghost { color: var(--ivoire); border-color: rgba(237,234,234,.55); }
.has-hero .site-header:not(.scrolled) .btn--ghost:hover { background: var(--ivoire); color: var(--charbon); }
.site-header.scrolled { height: 74px; }

.mobile-menu {
	position: fixed; inset: 0; z-index: 49; background: var(--charbon); color: var(--ivoire);
	display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
	opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.mobile-menu a { font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu .small { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: none; border: 0; color: var(--laiton-light); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .site-header { background: transparent; color: var(--ivoire); border-color: transparent; backdrop-filter: none; }
.menu-open .site-header .logo-dark { opacity: 0; }
.menu-open .site-header .logo-light { opacity: 1; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 90vh; min-height: 600px; max-height: 1000px; color: var(--ivoire); background: var(--charbon); }
.hero-slides { overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 9s linear; image-rendering: -webkit-optimize-contrast; }
.hero-slide.on { opacity: 1; }
.hero-slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,28,25,.55) 0%, rgba(33,28,25,.08) 34%, rgba(33,28,25,.15) 58%, rgba(33,28,25,.78) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(90px, 12vh, 130px); }
.hero-content .eyebrow { color: var(--ivoire); text-shadow: 0 1px 12px rgba(33,28,25,.6); }
.hero-content .h-display { margin: 20px 0 20px; max-width: 16em; text-shadow: 0 2px 30px rgba(33,28,25,.55), 0 1px 3px rgba(33,28,25,.35); }
.hero-content .lead { color: rgba(237,234,234,.92); max-width: 34em; text-shadow: 0 1px 14px rgba(33,28,25,.7); }
.hero-meta { position: absolute; z-index: 3; right: var(--gutter); bottom: 70px; display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 2px; padding: 0; border: 0; background: rgba(237,234,234,.35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--ivoire); animation: dot 6.5s linear forwards; transform-origin: left; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Search bar */
.search {
	position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: -46px;
	max-width: 1060px; margin: 0 auto;
	display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
	background: rgba(245,243,242,.97); color: var(--charbon);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.search .field { padding: 14px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.search label { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.search select, .search input { border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211c19' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 14px; padding: 4px 22px 0 0; font-weight: 500; font-size: 15px; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; width: 100%; }
.search .btn { height: auto; min-height: 92px; padding: 0 40px; }
.search .field { padding-top: 20px; padding-bottom: 20px; }
.hero + .section { padding-top: clamp(130px, 14vw, 200px); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.section--dark { background: var(--charbon); color: var(--ivoire); }
.section--dark .lead, .section--dark .muted { color: rgba(237,234,234,.62); }
.section--ivoire { background: var(--ivoire); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(40px, 5vw, 70px); }
.section-head .h1, .section-head .h2 { margin-top: 18px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5.2; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.intro-visual { position: relative; }
.intro-visual .arch { width: 78%; }
.intro-visual .arch--small { position: absolute; width: 42%; right: 0; bottom: -8%; border: 10px solid var(--paper); aspect-ratio: 4 / 5; }
.intro-visual .seal { position: absolute; width: 130px; left: 62%; top: 4%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-text .h1 { margin: 22px 0 30px; }
.intro-text p { margin: 0 0 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.stat { padding: 26px 18px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat .num { font-size: clamp(30px, 3vw, 44px); line-height: 1; display: block; white-space: nowrap; }
.stat .num.sm { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.375; }
.stat small { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--taupe); }

/* Featured property */
.featured { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 640px; background: var(--charbon); color: var(--ivoire); }
.featured-img { position: relative; overflow: hidden; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.featured:hover .featured-img img { transform: scale(1.04); }
.featured-body { padding: clamp(40px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.featured-body .h2 { margin: 22px 0 18px; }
.featured-body .place { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--laiton-light); font-weight: 600; }
.featured-body p { color: rgba(237,234,234,.7); margin: 0 0 30px; }
.featured-body .price { font-family: var(--serif); font-size: 30px; letter-spacing: .1em; margin-bottom: 34px; }
.specs-inline { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 34px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.specs-inline div { flex: 1; padding: 18px 0; text-align: center; min-width: 90px; }
.specs-inline div + div { border-left: 1px solid var(--line-light); }
.specs-inline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .08em; }
.specs-inline span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(237,234,234,.55); font-weight: 600; }

/* Carousel of cards */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel--4 { grid-auto-columns: calc((100% - 3 * 28px) / 4); }
.carousel-nav.off { visibility: hidden; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows .round-btn { width: 44px; height: 44px; color: var(--ivoire); border-color: rgba(237,234,234,.5); background: rgba(33,28,25,.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-arrows .round-btn:hover { background: var(--ivoire); color: var(--charbon); border-color: var(--ivoire); }
@media (max-width: 1180px) { .carousel--4 { grid-auto-columns: calc((100% - 28px) / 2.3); } }
.carousel-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.round-btn svg { width: 18px; height: 18px; }
.card { scroll-snap-align: start; display: block; }
.card-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3.68; background: var(--ivoire); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.tag { position: absolute; top: 18px; left: 18px; background: var(--paper); color: var(--charbon); font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; padding: 8px 12px; }
.tag--laiton { background: var(--laiton); color: var(--white); }
.card-body { padding: 22px 0 0; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-meta .row-ref { font-size: 10px; white-space: nowrap; }
.card-meta .card-place { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-place { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--laiton); }
.card-title { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; line-height: 1.45; margin: 10px 0 10px; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-text { margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: var(--taupe); font-weight: 500; min-height: 3.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 500; }
.card-specs div { display: flex; align-items: center; gap: 8px; }
.card-specs img { width: 20px; height: 20px; opacity: .8; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.card-price { font-family: var(--serif); font-size: 21px; letter-spacing: .08em; }
.card:hover .link-arrow .arr { width: 52px; }

/* Villages list with hover image */
.villages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.village-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.village-list a { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.village-list .vname { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: .14em; }
.village-list .vcount { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.village-list a:hover { padding-left: 18px; color: var(--laiton); }
.village-visual { position: relative; aspect-ratio: 4 / 5; }
.village-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease), transform 1.4s var(--ease); transform: scale(1.04); border-radius: 999px 999px 0 0; }
.village-visual img.on { opacity: 1; transform: scale(1); }

/* Reviews */
.stars { display: inline-flex; gap: 3px; color: var(--laiton); }
.stars svg { width: 14px; height: 14px; }
.review-quote { max-width: 980px; margin: 0 auto; text-align: center; }
.review-quote blockquote { margin: 34px 0 30px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 31px); line-height: 1.55; letter-spacing: .03em; }
.review-quote cite { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--laiton-light); }
.review-slider { position: relative; min-height: 360px; }
.review-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.review-slide.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 40px; }
.section--dark .round-btn { border-color: var(--line-light); color: var(--ivoire); }
.section--dark .round-btn:hover { background: var(--ivoire); color: var(--charbon); }
.review-count { font-family: var(--serif); letter-spacing: .2em; font-size: 13px; min-width: 70px; text-align: center; }
.qmark { font-family: var(--serif); font-size: 90px; line-height: 1; color: var(--laiton); display: block; height: 44px; margin-top: 46px; }

/* Estimation CTA */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.cta-split .cta-img { position: relative; overflow: hidden; }
.cta-split .cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-split .cta-body { padding: clamp(40px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; background: var(--ivoire); }
.cta-split .h1 { margin: 22px 0 22px; }
.cta-steps { list-style: none; padding: 0; margin: 10px 0 38px; counter-reset: s; }
.cta-steps li { counter-increment: s; display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cta-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--laiton); letter-spacing: .1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charbon); color: rgba(237,234,234,.72); padding: 100px 0 36px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 128px; margin-bottom: 28px; }
.footer-brand p { max-width: 24em; margin: 0; }
.site-footer h4 { font-family: var(--sans); font-weight: 600; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--laiton-light); margin: 0 0 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--ivoire); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,234,234,.4); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: calc(var(--header-h) + clamp(60px, 8vw, 110px)) 0 clamp(40px, 5vw, 70px); }
.page-head .h1 { margin-top: 20px; }
.page-head .lead { margin: 22px 0 0; max-width: 40em; }
.crumbs { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); display: flex; gap: 12px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--laiton); }
.crumbs span::before { content: "/"; margin-right: 12px; opacity: .5; }

/* ---------- List view ---------- */
.filters {
	position: sticky; top: 74px; z-index: 20;
	background: rgba(245,243,242,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.filters .wrap { display: flex; align-items: stretch; gap: 0; }
.filters .f { padding: 12px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 150px; }
.filters .f:first-child { padding-left: 0; }
.filters label { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.filters select { border: 0; background: transparent; font-weight: 500; font-size: 13.5px; padding: 2px 0 0; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.filters .toggle { flex-direction: row; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch { width: 38px; height: 20px; border-radius: 20px; border: 1px solid var(--charbon); position: relative; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--charbon); transition: transform .3s var(--ease), background .3s; }
.toggle.on .switch { background: var(--charbon); }
.toggle.on .switch::after { transform: translateX(18px); background: var(--ivoire); }
.filters .count { margin-left: auto; display: flex; align-items: center; gap: 22px; padding-left: 22px; }
.filters .count b { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .08em; }
.filters .count span { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }

.listing { list-style: none; margin: 0; padding: 0; }
.row {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 4.5vw, 72px); padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--line);
	align-items: center;
}
.row-media { display: grid; grid-template-columns: 2.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16 / 9.2; }
.row-media .m { position: relative; overflow: hidden; background: var(--ivoire); }
.row-media .m:first-child { grid-row: 1 / 3; }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.row:hover .row-media img { transform: scale(1.045); }
.row-media.single { grid-template-columns: 1fr; }
.row-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.row-ref { font-size: 10.5px; letter-spacing: .22em; font-weight: 600; color: var(--taupe); text-transform: uppercase; }
.row-title { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.38; letter-spacing: .05em; margin: 16px 0 16px; }
.row-title a:hover { color: var(--laiton); }
.row-text { color: var(--taupe); font-weight: 500; font-size: 14px; margin: 0 0 26px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.picto-specs { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 30px; }
.picto-specs div { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.picto-specs img { width: 26px; height: 26px; opacity: .85; }
.row-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.row-price { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); letter-spacing: .08em; }
.row-price small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-top: 4px; }
.fav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; transition: all .3s; }
.fav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.fav.on { background: var(--charbon); color: var(--ivoire); }
.fav.on svg { fill: currentColor; }
.more-wrap { text-align: center; padding: 70px 0 20px; }
.more-wrap p { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin: 0 0 20px; }
.progress { width: 220px; height: 1px; background: var(--line); margin: 0 auto 30px; position: relative; }
.progress i { position: absolute; inset: 0 auto 0 0; background: var(--charbon); }
.empty { padding: 120px 0; text-align: center; }

/* ---------- Detail view ---------- */
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(76vh, 760px); margin-top: var(--header-h); padding: 8px; }
.gallery .g { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ivoire); }
.gallery .g:first-child { grid-row: 1 / 3; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .all-photos { position: absolute; right: 24px; bottom: 24px; z-index: 2; height: 46px; padding: 0 22px; background: var(--paper); color: var(--charbon); border: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.gallery .all-photos svg { width: 16px; height: 16px; }

.detail-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 60px 0 46px; border-bottom: 1px solid var(--line); }
.detail-top .h1 { font-size: clamp(26px, 3vw, 42px); margin: 18px 0 18px; max-width: 18em; line-height: 1.25; }
.detail-place { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--taupe); }
.detail-place .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--laiton); }
.detail-price { text-align: right; }
.detail-price .num { font-size: clamp(30px, 3.4vw, 46px); display: block; line-height: 1; }
.detail-price small { display: block; margin-top: 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

.keyfacts { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.keyfacts div { padding: 30px 10px; text-align: center; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts img { width: 34px; height: 34px; margin: 0 auto 14px; opacity: .85; }
.keyfacts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .08em; line-height: 1.1; }
.keyfacts span { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 100px); padding: 80px 0 40px; align-items: start; }
.detail-section { padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section > .h3 { margin-bottom: 30px; }
.desc h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--laiton); margin: 34px 0 10px; }
.desc h4:first-child { margin-top: 0; }
.desc p { margin: 0 0 14px; font-weight: 500; color: #4a423d; }
.desc.clamped { max-height: 520px; overflow: hidden; position: relative; }
.desc.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--paper)); }
.read-more { margin-top: 26px; background: none; border: 0; padding: 0; cursor: pointer; }
.lead-quote { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.6; letter-spacing: .03em; margin: 0 0 40px; padding-left: 28px; border-left: 1px solid var(--laiton); }

.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--taupe); font-weight: 500; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.energy { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.energy h5 { margin: 0 0 18px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.scale { display: grid; gap: 4px; }
.scale div { height: 24px; display: flex; align-items: center; padding: 0 10px; font-size: 11px; font-weight: 700; color: #fff; position: relative; }
.scale div.cur { height: 34px; outline: 1px solid var(--charbon); outline-offset: 2px; }
.scale div.cur::after { content: attr(data-val); position: absolute; left: calc(100% + 14px); white-space: nowrap; color: var(--charbon); font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.energy p { font-size: 12.5px; color: var(--taupe); margin: 18px 0 0; }

.nearby { display: grid; grid-template-columns: repeat(4, 1fr); }
.nearby div { padding: 6px 20px; text-align: center; }
.nearby div + div { border-left: 1px solid var(--line); }
.nearby b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: .06em; }
.nearby span { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

.map-frame { position: relative; aspect-ratio: 16 / 8; background: var(--ivoire); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) contrast(.95); }
.map-frame .pin { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; border: 1px solid var(--laiton); background: rgba(148,124,69,.12); pointer-events: none; }
.map-note { margin: 14px 0 0; font-size: 12.5px; color: var(--taupe); }

.aside { position: sticky; top: 104px; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 38px 34px; }
.contact-card .agent { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.contact-card .agent-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--charbon); display: grid; place-items: center; flex: none; }
.contact-card .agent-mark img { width: 30px; }
.contact-card .agent b { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; display: block; }
.contact-card .agent span { font-size: 12.5px; color: var(--taupe); }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input { position: relative; }
.input input, .input textarea, .input select {
	width: 100%; border: 0; border-bottom: 1px solid rgba(33,28,25,.3); background: transparent;
	padding: 22px 0 9px; font-size: 14px; font-weight: 500; outline: none; border-radius: 0;
	transition: border-color .3s; appearance: none; -webkit-appearance: none;
}
.input textarea { resize: vertical; min-height: 96px; }
.input label { position: absolute; left: 0; top: 22px; font-size: 13px; color: var(--taupe); pointer-events: none; transition: all .3s var(--ease); }
.input input:focus, .input textarea:focus, .input select:focus { border-color: var(--laiton); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label,
.input select + label { top: 0; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--taupe); margin: 6px 0 4px; }
.check input { accent-color: var(--charbon); margin-top: 3px; }
.contact-card .direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.contact-card .direct .btn { height: 46px; padding: 0 10px; font-size: 10px; letter-spacing: .18em; }
.aside-note { margin-top: 18px; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--taupe); }
.aside-note .stars svg { width: 12px; height: 12px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(23,19,17,.97); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); color: var(--ivoire); border-color: var(--line-light); }
.lightbox .lb-prev { left: 30px; }
.lightbox .lb-next { right: 30px; }
.lightbox .lb-close { position: absolute; top: 26px; right: 30px; color: var(--ivoire); border-color: var(--line-light); }
.lightbox .lb-count { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--ivoire); font-family: var(--serif); letter-spacing: .2em; font-size: 13px; }
.lightbox .round-btn:hover { background: var(--ivoire); color: var(--charbon); }

/* ---------- Reviews page ---------- */
.reviews-summary { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-summary .big { font-family: var(--serif); font-size: clamp(56px, 6vw, 86px); line-height: 1; letter-spacing: .04em; }
.reviews-summary .stars svg { width: 20px; height: 20px; }
.reviews-summary .themes { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; background: transparent; cursor: pointer; transition: all .3s; }
.chip b { font-weight: 600; color: var(--laiton); }
.chip.on, .chip:hover { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.chip.on b, .chip:hover b { color: var(--laiton-light); }
.review-grid { columns: 3; column-gap: 28px; padding: 60px 0 0; }
.review-card { break-inside: avoid; background: var(--white); border: 1px solid var(--line); padding: 38px 34px 32px; margin: 0 0 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(33,28,25,.35); }
.review-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.review-card .kind { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.review-card p { margin: 0 0 26px; font-size: 14.5px; font-weight: 500; color: #4a423d; line-height: 1.8; }
.review-card .who { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card .who b { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 13.5px; }
.review-card .who span { font-size: 11px; color: var(--taupe); letter-spacing: .06em; }
.review-card.featured-r { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.review-card.featured-r p { color: rgba(237,234,234,.82); font-family: var(--serif); font-size: 18px; letter-spacing: .02em; line-height: 1.65; }
.review-card.featured-r .who { border-color: var(--line-light); }
.review-card.featured-r .kind, .review-card.featured-r .who span { color: rgba(237,234,234,.5); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); padding-bottom: clamp(80px, 9vw, 130px); }
.contact-info dl { margin: 0; }
.contact-info .item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.contact-info dt { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--laiton); padding-top: 4px; }
.contact-info dd { margin: 0; font-family: var(--serif); font-size: 19px; letter-spacing: .05em; line-height: 1.55; }
.contact-info dd a:hover { color: var(--laiton); }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(32px, 4vw, 60px); }
.contact-form .h2 { margin: 18px 0 34px; }
.subject { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.contact-map { position: relative; height: 520px; background: var(--ivoire); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.15) contrast(.92); }
.contact-map .map-card { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); background: var(--charbon); color: var(--ivoire); padding: 44px 40px; width: 340px; }
.contact-map .map-card img { width: 64px; margin-bottom: 22px; }
.contact-map .map-card p { margin: 0 0 20px; color: rgba(237,234,234,.7); }

.thanks { display: none; text-align: center; padding: 60px 0; }
.thanks.on { display: block; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav, .header-tools .btn, .lang, .hero-meta > #hero-label, .hero-dots { display: none; }
	.hero-meta { top: calc(var(--header-h) + 24px); bottom: auto; }
	.hero-content { padding-bottom: 150px; }
	.search { bottom: -90px; }
	.burger { display: block; }
	.search { grid-template-columns: 1fr 1fr; }
	.search .field:nth-child(2) { border-right: 0; }
	.search .field:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.search .btn { grid-column: span 2; min-height: 60px; }
	.search .field:nth-child(4) { border-right: 0; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.detail-body { grid-template-columns: 1fr; }
	.aside { position: static; }
	.keyfacts { grid-template-columns: repeat(3, 1fr); }
	.keyfacts div:nth-child(4) { border-left: 0; }
	.keyfacts div:nth-child(n+4) { border-top: 1px solid var(--line); }
	.review-grid { columns: 2; }
	.filters .wrap { overflow-x: auto; scrollbar-width: none; }
	.filters .f { min-width: 140px; flex: none; }
}
@media (max-width: 900px) {
	:root { --header-h: 76px; }
	.logo { width: 190px; }
	.intro, .villages, .cta-split, .featured, .contact-grid { grid-template-columns: 1fr; }
	.featured-img { min-height: 62vw; }
	.cta-split .cta-img { min-height: 70vw; }
	.carousel { grid-auto-columns: 78%; }
	.row { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vh; }
	.gallery .g:first-child { grid-column: 1 / 3; grid-row: 1; }
	.gallery .g:nth-child(n+4) { display: none; }
	.detail-top { grid-template-columns: 1fr; }
	.detail-price { text-align: left; }
	.facts, .energy { grid-template-columns: 1fr; }
	.nearby { grid-template-columns: 1fr 1fr; }
	.nearby div:nth-child(3) { border-left: 0; }
	.nearby div:nth-child(n+3) { margin-top: 24px; }
	.reviews-summary { grid-template-columns: 1fr; }
	.review-grid { columns: 1; }
	.village-visual { display: none; }
	.contact-map .map-card { position: relative; left: auto; top: auto; transform: none; width: auto; }
	.contact-map { height: auto; }
	.contact-map iframe { height: 380px; }
	.section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	body { font-size: 14.5px; }
	.hero { height: auto; min-height: 0; max-height: none; }
	.hero::after { background: linear-gradient(180deg, rgba(33,28,25,.5) 0%, rgba(33,28,25,.1) 25%, rgba(33,28,25,.75) 55%, rgba(33,28,25,.95) 100%); }
	.hero-content { position: relative; padding: 42vh 0 0; }
	.search { position: relative; left: 0; right: 0; bottom: 0; grid-template-columns: 1fr; margin: 34px var(--gutter) 0; max-width: none; }
	.hero-content { padding-bottom: 40px; }
	.hero + .section { padding-top: clamp(80px, 11vw, 160px); }
	.search .field { border-right: 0 !important; border-bottom: 1px solid var(--line); }
	.search .btn { grid-column: auto; }
	.stats { grid-template-columns: 1fr 1fr 1fr; }
	.stat + .stat { padding-left: 12px; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
	.keyfacts { grid-template-columns: 1fr 1fr; }
	.keyfacts div:nth-child(odd) { border-left: 0; }
	.keyfacts div:nth-child(4) { border-left: 1px solid var(--line); }
	.keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.form .two, .contact-card .direct { grid-template-columns: 1fr; }
	.contact-info .item { grid-template-columns: 1fr; gap: 6px; }
	.row-media { aspect-ratio: 4 / 3; grid-template-columns: 1fr; grid-template-rows: 1fr; }
	.row-media .m:not(:first-child) { display: none; }
	.row-media .m:first-child { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Maquette only: switch between homepage variants */
.variant-switch {
	position: fixed; left: 20px; bottom: 20px; z-index: 60;
	display: flex; align-items: center; gap: 4px; padding: 5px;
	background: rgba(33,28,25,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-radius: 40px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
	font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.variant-switch span { color: var(--laiton-light); padding: 0 10px 0 12px; }
.variant-switch a { color: rgba(237,234,234,.7); padding: 9px 14px; border-radius: 30px; transition: background .3s, color .3s; }
.variant-switch a:hover { color: var(--ivoire); }
.variant-switch a.on { background: var(--ivoire); color: var(--charbon); }

/* Variant A: wide shopfront frame so the agency sign is fully visible */
.intro-visual--wide .arch { width: 100%; aspect-ratio: 4 / 3; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
.intro-visual--wide .arch--small { width: 26%; right: -13%; bottom: -16%; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.intro-visual--wide .seal { left: auto; right: -2%; top: -9%; width: 120px; }
.intro:has(.intro-visual--wide) { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .intro:has(.intro-visual--wide) { grid-template-columns: 1fr; } .intro-visual--wide { margin-bottom: 60px; } }

/* ---------- Detail v2 (inspired by editorial property pages) ---------- */
.pslider { position: relative; margin-top: var(--header-h); height: min(74vh, 780px); min-height: 420px; background: var(--charbon); }
.pslider-track { position: relative; height: 100%; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pslider-track::-webkit-scrollbar { display: none; }
.pslide { flex: none; height: 100%; scroll-snap-align: start; cursor: zoom-in; overflow: hidden; }
.pslide img { height: 100%; width: auto; max-width: none; display: block; transition: transform 1.2s var(--ease), opacity .4s; }
.pslide:hover img { transform: scale(1.02); }
.pslider-all { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; height: 46px; padding: 0 22px; background: var(--paper); color: var(--charbon); border: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.pslider-all svg { width: 16px; height: 16px; }
.pslider-nav { position: absolute; right: var(--gutter); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.pslider-nav .round-btn { color: var(--ivoire); border-color: rgba(237,234,234,.55); background: rgba(33,28,25,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pslider-nav .round-btn:hover { background: var(--ivoire); color: var(--charbon); }
.pslider-count { font-family: var(--serif); letter-spacing: .2em; font-size: 13px; color: var(--ivoire); margin-right: 6px; height: 52px; padding: 0 20px; display: flex; align-items: center; border-radius: 30px; background: rgba(33,28,25,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.ptitle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 54px 0 40px; }
.ptitle .h1 { font-size: clamp(26px, 3vw, 42px); margin: 18px 0 0; max-width: 20em; line-height: 1.25; }
.pfacts { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pfacts-list { display: flex; flex-wrap: wrap; gap: 18px 44px; }
.pfacts-list > div { display: flex; align-items: center; gap: 14px; }
.pfacts-list img { width: 32px; height: 32px; opacity: .85; }
.pfacts-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: .06em; line-height: 1.1; }
.pfacts-list small { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 7vw, 120px); padding-top: 80px; padding-bottom: 100px; align-items: start; }
.pbody main { max-width: 760px; }
.pbody .lead-quote { margin-top: 28px; }
.psummary { position: sticky; top: 104px; }
.psummary-card { background: var(--white); border: 1px solid var(--line); padding: 32px 30px; }
.psummary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.psummary-row span { color: var(--taupe); font-weight: 500; }
.psummary-row b { font-weight: 600; }
.psummary-card .direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.psummary-card .direct .btn { height: 46px; padding: 0 10px; font-size: 10px; letter-spacing: .18em; }

.pband { padding: 0 8px; }
.pband-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; height: min(62vh, 620px); }
.pband figure, .pwide figure { margin: 0; overflow: hidden; cursor: zoom-in; position: relative; height: 100%; }
.pband img, .pwide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pband figure:hover img, .pwide figure:hover img { transform: scale(1.03); }

.pdetails { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); padding-top: 100px; padding-bottom: 100px; }
.pdetails .h3 { margin-bottom: 30px; }
.pdetails .facts { grid-template-columns: 1fr 1fr; column-gap: 36px; }
.pdetails .energy { grid-template-columns: 1fr; gap: 34px; }
.pdetails .scale { max-width: 340px; }

.pwide { height: min(82vh, 820px); padding: 0 8px; }

.pgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pgallery figure { margin: 0; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.pgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pgallery figure:hover img { transform: scale(1.03); }
.pgallery figure.span2 { grid-column: span 2; aspect-ratio: auto; }
.pgallery figure.span3 { grid-column: span 3; aspect-ratio: 9 / 2; }

.pcontact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.pcontact-direct { margin-top: 40px; border-top: 1px solid var(--line-light); }
.pcontact-direct a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 18px; letter-spacing: .05em; }
.pcontact-direct a:hover { color: var(--laiton-light); }
.pcontact-direct small { display: block; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--laiton-light); margin-bottom: 4px; }
.pcontact-form { background: var(--charbon-2); border: 1px solid var(--line-light); padding: clamp(28px, 4vw, 50px); }
.pcontact .input input, .pcontact .input textarea, .pcontact .input select { border-color: rgba(237,234,234,.3); color: var(--ivoire); }
.pcontact .input select option { color: var(--charbon); }
.pcontact .input label { color: rgba(237,234,234,.6); }
.pcontact .check { color: rgba(237,234,234,.6); }
.pcontact .check input { accent-color: var(--laiton); }

.plocation { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.nearby--list { display: block; margin-top: 26px; border-top: 1px solid var(--line); }
.nearby--list div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; border-left: 0 !important; margin: 0 !important; }
.nearby--list b { font-size: 20px; order: 2; }
.nearby--list span { order: 1; }

.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(245,243,242,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .5s var(--ease); }
.pbar.on { transform: none; }
.pbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.pbar-title { min-width: 0; }
.pbar-title b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar-title span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.pbar-right { display: flex; align-items: center; gap: 24px; flex: none; }
.pbar-right .num { font-size: 22px; }
.pbar-right .btn { height: 46px; }

@media (max-width: 1180px) {
	.pbody { grid-template-columns: 1fr; }
	.psummary { position: static; max-width: 520px; }
	.pdetails { grid-template-columns: 1fr; }
	.pgallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.pslider { height: 58vh; }
	.ptitle { grid-template-columns: 1fr; }
	.ptitle .detail-price { text-align: left; }
	.pfacts { flex-direction: column; align-items: flex-start; }
	.pband-grid { grid-template-columns: 1fr 1fr; height: auto; }
	.pband-grid figure { aspect-ratio: 4 / 3; height: auto; }
	.pband-grid figure:first-child { grid-column: 1 / 3; }
	.pwide { height: 56vh; }
	.pcontact-grid, .plocation { grid-template-columns: 1fr; }
	.pbar-title { display: none; }
	.pbar .wrap { justify-content: space-between; width: 100%; }
}
@media (max-width: 600px) {
	.pslide img { width: 100vw; object-fit: cover; }
	.pslider-all span { display: none; }
	.pslider-all { padding: 0 14px; }
	.pgallery { grid-template-columns: 1fr; }
	.pdetails .facts { grid-template-columns: 1fr; }
	.pbar-right .num { font-size: 18px; }
	.pbar-right .btn { padding: 0 16px; }
}

/* Detail v2: split hero (slider left, info panel right) */
.phero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(380px, 1fr); margin-top: var(--header-h); height: min(80vh, 820px); min-height: 560px; }
.phero .pslider { margin-top: 0; height: 100%; min-height: 0; }
.phero .pslider-track { gap: 0; }
.phero .pslide { width: 100%; }
.phero .pslide img { width: 100%; height: 100%; object-fit: cover; }
.phero-info { background: var(--ivoire); padding: clamp(36px, 4.5vw, 70px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: auto; }
.phero-info .crumbs { margin-bottom: 34px; }
.phero-info .h1 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.28; margin: 18px 0 22px; }
.phero-price { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 42px); letter-spacing: .08em; color: var(--laiton); line-height: 1; }
.phero-fees { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--charbon); max-width: 34em; }
.phero-ref { margin-top: 12px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.phero-facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 30px 0 22px; border-top: 1px solid var(--line); }
.phero-facts > div { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.phero-facts > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.phero-facts img { width: 28px; height: 28px; opacity: .85; }
.phero-facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: .06em; line-height: 1.1; }
.phero-facts small { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.phero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.phero-chips .chip { height: 34px; cursor: default; background: var(--paper); }
.phero-chips .chip:hover { background: var(--paper); color: inherit; border-color: var(--line); }
.phero .pslider-all { bottom: 24px; }
.phero .pslider-nav { bottom: 24px; right: 24px; }
.psummary-card { border-top: 2px solid var(--laiton); }
.psummary-card .btn--block + .btn--block { display: flex; }

@media (max-width: 1180px) {
	.phero { grid-template-columns: 1fr; height: auto; }
	.phero .pslider { height: 62vh; }
}
@media (max-width: 600px) {
	.phero .pslider { height: 48vh; }
	.phero .pslide img { width: 100%; }
}
.phero-info > * { flex-shrink: 0; }
.phero-info .btn { min-height: 52px; }
/* hero fits the screen: photo never taller than the viewport, info panel compacts */
.phero { height: calc(100vh - var(--header-h)); min-height: 520px; max-height: 860px; }
.phero .pslider { height: 100%; }
.phero-info { padding: clamp(28px, 3.6vw, 60px); }
.phero-info .crumbs { margin-bottom: clamp(14px, 2.4vh, 26px); }
.phero-info .h1 { font-size: clamp(22px, min(2vw, 3.6vh), 32px); margin: clamp(10px, 1.6vh, 18px) 0 clamp(12px, 2vh, 22px); }
.phero-facts { margin: clamp(16px, 2.6vh, 30px) 0 clamp(14px, 2vh, 22px); }
.phero-facts > div { padding: clamp(10px, 1.5vh, 16px) 0; }
.phero-chips { margin-bottom: clamp(16px, 2.6vh, 30px); }
@media (max-width: 1180px) { .phero { height: auto; min-height: 0; max-height: none; } .phero .pslider { height: 62vh; } }
@media (max-width: 600px) { .phero .pslider { height: 48vh; } }

/* Gallery: 1 large + 2 small per row, alternating; every row the same width so edges line up */
.pgallery { display: flex; flex-direction: column; gap: 8px; }
.pg-row { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(340px, 40vw, 620px); }
.pg-row figure { margin: 0; overflow: hidden; cursor: zoom-in; aspect-ratio: auto !important; min-height: 0; }
.pg-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pg-row figure:hover img { transform: scale(1.03); }
.pg-row figure:first-child { grid-row: 1 / 3; }
.pg-row.rev { grid-template-columns: 1fr 2fr; }
.pg-row.rev figure:first-child { grid-column: 2; grid-row: 1 / 3; }
.pg-row.rev figure:nth-child(2) { grid-column: 1; grid-row: 1; }
.pg-row.rev figure:nth-child(3) { grid-column: 1; grid-row: 2; }
.pg-row.two { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: clamp(220px, 26vw, 400px); }
.pg-row.one { grid-template-columns: 1fr; grid-template-rows: 1fr; height: clamp(240px, 32vw, 500px); }
.pg-row.two figure:first-child, .pg-row.one figure:first-child { grid-row: auto; }
@media (max-width: 600px) {
	.pg-row { height: 92vw; }
	.pg-row.two { height: 44vw; }
	.pg-row.one { height: 60vw; }
}

/* legal mentions under the description */
.desc-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.desc .desc-legal p { font-size: 12.5px; line-height: 1.65; color: var(--taupe); margin: 0 0 6px; }
.desc-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* hero actions + virtual tour */
.phero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.phero-actions .btn { flex-shrink: 0; }
.ptour { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; background: var(--charbon) center / cover no-repeat; overflow: hidden; }
.ptour::before { content: ''; position: absolute; inset: 0; background: rgba(33,28,25,.38); transition: background .4s; }
.ptour:hover::before { background: rgba(33,28,25,.25); }
.ptour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ptour-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; background: none; border: 0; cursor: pointer; color: var(--ivoire); font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.ptour-icon { width: 112px; height: 112px; border-radius: 50%; border: 1px solid rgba(237,234,234,.7); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; letter-spacing: .08em; text-transform: none; background: rgba(33,28,25,.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .5s, background .4s; }
.ptour-play:hover .ptour-icon { transform: scale(1.06); background: var(--laiton); border-color: var(--laiton); }
@media (max-width: 600px) { .ptour { aspect-ratio: 4 / 5; } .ptour-icon { width: 88px; height: 88px; font-size: 20px; } }

/* ==========================================================
   Joomla integration (template isp)
   ========================================================== */
.lang a { opacity: .45; transition: opacity .3s; }
.lang a:hover { opacity: 1; }
.mobile-menu .nav { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
.mobile-menu .nav a::after { display: none; }
.footer-social { display: flex; gap: 18px; }
.site-main { min-height: 40vh; }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }
.is-home .site-main { padding-top: 0; }

/* article pages (agence, région, mentions légales) */
.article { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) 110px; }
.article h2 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 24px; margin: 56px 0 18px; }
.article h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .06em; font-size: 19px; margin: 40px 0 12px; }
.article p, .article li { color: var(--charbon-2); }
.article a { color: var(--laiton); border-bottom: 1px solid currentColor; }
.article img { margin: 36px 0; }
.article .arch { margin: 40px auto; max-width: 520px; }

/* team (L'agence) */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 56px 36px; margin: 40px 0 0; }
.team-member .arch { aspect-ratio: 4 / 5; margin-bottom: 22px; background: var(--ivoire); }
.team-member h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 17px; margin: 0 0 4px; }
.team-member .role { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--laiton); }
.team-member p { font-size: 14px; color: var(--taupe); margin: 14px 0 0; }
.team-member a { font-size: 13px; color: var(--charbon); }

/* RSForm in the maquette style */
.rsform .formRed, .rsform .formError { color: #a33; font-size: 12px; }
.rsform .formControlLabel, .rsform .form-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.rsform input[type=text], .rsform input[type=email], .rsform input[type=tel], .rsform select, .rsform textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 0; font-size: 15px; outline: none; }
.rsform input:focus, .rsform textarea:focus, .rsform select:focus { border-color: var(--laiton); }
.section--dark .rsform input, .section--dark .rsform textarea, .section--dark .rsform select { border-color: var(--line-light); color: var(--ivoire); }
.rsform .formBody > div, .rsform .rsform-block { margin-bottom: 18px; }
