/*
 * Grand Site Immobilier — thème sur mesure
 * Direction : « Coastal editorial » — photographie documentaire, grandes marges, précision éditoriale.
 * Couleurs de marque relevées sur le logo officiel : turquoise #009F9D, anthracite #272828.
 */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--teal: #009f9d;          /* turquoise de marque (accents, filets, grands éléments) */
	--teal-ink: #007877;      /* turquoise lisible en texte courant sur fond clair (5,1:1) */
	--teal-btn: #00807e;      /* fond de bouton turquoise avec texte blanc (4,8:1) */
	--deep: #123f3e;          /* turquoise profond : sections sombres */
	--deep-2: #0e3332;
	--on-deep-accent: #7fd6d4;
	--on-deep-muted: #b9c7c6;
	--ink: #272828;           /* anthracite de marque */
	--ink-soft: #5c5f5e;
	--muted: #6b6e6d;
	--paper: #fbfaf7;
	--sand: #f2eee6;
	--stone: #e6e1d8;
	--white: #fff;
	--line: rgba(39, 40, 40, .12);
	--line-strong: rgba(39, 40, 40, .22);
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--teal-bright: #2fd0c9;   /* turquoise lumineux, uniquement sur photo (point du titre) */
	--opal: #e3f1f0;          /* verre de mer : fonds des pictogrammes */
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15.5M13.5 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--wrap: 1320px;
	--gutter: clamp(20px, 5vw, 72px);
	--header-h: 92px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 30px 80px -30px rgba(18, 37, 36, .35), 0 8px 24px -12px rgba(18, 37, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
.prose figure { margin: 1.8em 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.screen-reader-text, .sr-only { 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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ------------------------------------------------------------------ Typographie */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-ink); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow--plain::before { display: none; }
.display { font: 600 clamp(44px, 6vw, 96px)/.98 var(--sans); letter-spacing: -.045em; }
.h-xl { font: 600 clamp(32px, 3.5vw, 54px)/1.06 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.h-lg { font: 600 clamp(27px, 2.6vw, 40px)/1.1 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.h-md { font: 600 clamp(21px, 1.8vw, 26px)/1.2 var(--sans); letter-spacing: -.02em; }
.lede { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.75; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ------------------------------------------------------------------ Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn span[aria-hidden] { display: inline-block; width: 18px; height: 18px; flex: none; font-size: 0; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .25s var(--ease); }
.btn:hover .arrow, .btn:hover span[aria-hidden], .link:hover .arrow, .nav-panel__all:hover .arrow, .nav-panel__feature:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: #111; }
.btn--teal { background: var(--teal-btn); color: var(--white); }
.btn--teal:hover { background: var(--deep); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 11px; gap: 14px; }
.link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--teal); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.link .arrow { width: 16px; height: 16px; }
.link:hover { color: var(--teal-ink); }

/* ------------------------------------------------------------------ En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ink); background: rgba(251, 250, 247, .97); border-bottom: 1px solid var(--line); transition: background .35s var(--ease), color .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 0; }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.brand__white { display: none; }
/* Accueil : en-tête transparent sur la bannière claire — logo couleur officiel, menu anthracite */
.site-header.is-overlay:not(.is-scrolled):not(.nav-is-open) { background: transparent; color: var(--ink); border-color: transparent; }
.site-header.is-overlay:not(.is-scrolled):not(.nav-is-open)::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(251, 250, 247, .55), rgba(251, 250, 247, 0)); pointer-events: none; z-index: -1; }
.site-header.is-overlay:not(.is-scrolled):not(.nav-is-open) .primary-nav__link { font-weight: 500; }
.site-header.is-scrolled { height: 74px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(18, 63, 62, .25); }
.site-header.is-scrolled .brand img { height: 44px; }
.admin-bar .site-header { top: 32px; }

.primary-nav { margin-left: auto; padding-left: 24px; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.primary-nav__item { position: relative; }
.primary-nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; background: none; border: 0; font: 600 14px/1 var(--sans); letter-spacing: .005em; position: relative; }
.primary-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav__link:hover::after, .primary-nav__link[aria-current="page"]::after, .primary-nav__item.is-open > .primary-nav__link::after { transform: scaleX(1); }
.primary-nav__link .chev { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.primary-nav__item.is-open .chev { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 18px); left: -28px; min-width: 520px; padding: 28px 32px 30px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); border-top: 2px solid var(--teal); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.nav-panel::before { content: ""; position: absolute; inset: -22px 0 100%; } /* pont de survol entre le lien et le panneau */
.nav-panel--wide { left: 50%; width: 720px; min-width: 0; padding: 30px 34px 32px; translate: -50% 0; }
.primary-nav__item.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; }
.nav-panel__head .nav-panel__title { margin-bottom: 0; }
.nav-panel__title { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.nav-panel__all { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--sans); color: var(--teal-ink); white-space: nowrap; }
.nav-panel__all .arrow { width: 16px; height: 16px; }
.nav-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; list-style: none; margin: 0; padding: 0; }
.nav-panel__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 6), auto); gap: 0 28px; }
.nav-panel__grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; transition: color .2s, padding .25s var(--ease); }
.nav-panel__grid a:hover { padding-left: 4px; }
.nav-panel__grid a:hover { color: var(--teal-ink); }
.nav-panel__grid small { min-width: 22px; padding: 3px 7px; border-radius: 10px; background: var(--opal); color: var(--teal-ink); font: 700 11px/1 var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.nav-panel__feature { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 24px; padding: 18px 22px; background: var(--deep); color: var(--white); transition: background .25s var(--ease); }
.nav-panel__feature:hover { background: var(--deep-2); }
.nav-panel__feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--on-deep-accent); }
.nav-panel__feature-icon .icon { width: 22px; height: 22px; }
.nav-panel__feature strong { display: block; font: 600 19px/1.2 var(--sans); letter-spacing: -.02em; }
.nav-panel__feature small { display: block; margin-top: 4px; font-size: 13px; color: var(--on-deep-muted); }

.header-actions { display: flex; align-items: center; gap: clamp(20px, 1.9vw, 28px); margin-left: clamp(20px, 1.9vw, 28px); }
/* Trait vertical entre la navigation et le téléphone (même espace de part et d'autre) */
.header-actions::before { content: ""; width: 1px; height: 22px; background: currentColor; opacity: .3; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone .icon { width: 17px; height: 17px; color: var(--teal); }
.site-header.is-overlay:not(.is-scrolled):not(.nav-is-open) .header-phone { font-weight: 500; }
.header-phone:hover { color: var(--teal-ink); }
.site-header.is-overlay:not(.is-scrolled):not(.nav-is-open) .btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.nav-is-open .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-is-open .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }
.mobile-only { display: none; }

/* ------------------------------------------------------------------ Hero (accueil) */
.hero { position: relative; min-height: max(640px, calc(100svh - 110px)); color: var(--ink); display: flex; align-items: center; isolation: isolate; overflow: hidden; background: var(--paper); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { animation: hero-in 1.8s var(--ease) both; }
.hero__media img { object-fit: cover; object-position: 62% 42%; }
@keyframes hero-in { from { opacity: .5; } to { opacity: 1; } }

/* Ken Burns « respiration », très discret — seule l'image bouge, jamais le texte, le menu, le voile ou la recherche.
   Zoom lent (1,04 → 1,08 en 48 s) et légère dérive diagonale (64 s), aller-retour adouci, sans rotation :
   aucune coupure, aucun tremblement, aucune sensation de vidéo. Point de fuite sur les falaises.
   L'image démarre agrandie (× 1,04) : la dérive (≤ 0,6 %) ne laisse jamais voir ses bords. Transformations GPU uniquement. */
.hero--breathe .hero__media img {
	--breathe: cubic-bezier(.37, 0, .63, 1);
	transform-origin: 72% 40%;
	scale: 1.04;
	will-change: translate, scale;
	backface-visibility: hidden;
	animation: kb-zoom 48s var(--breathe) infinite alternate both, kb-drift 64s var(--breathe) infinite alternate both;
}
.hero--breathe.is-still .hero__media img { animation-play-state: paused; }
@keyframes kb-zoom { from { scale: 1.04; } to { scale: 1.08; } }
@keyframes kb-drift { from { translate: .5% -.25%; } to { translate: -.6% .3%; } }
@keyframes kb-drift-m { from { translate: .3% -.15%; } to { translate: -.4% .2%; } }
@supports not (scale: 1) {
	.hero--breathe .hero__media img { animation: none; }
}
/* Zone claire à gauche : un voile couleur papier, fixe (il ne suit pas le Ken Burns), qui s'efface vers les falaises.
   Le paysage reste intact à droite ; en haut, un léger voile garde le menu lisible sur le ciel. */
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(251, 250, 247, .5) 0%, rgba(251, 250, 247, 0) 20%),
		radial-gradient(64% 95% at 6% 50%, rgba(251, 250, 247, .97) 0%, rgba(251, 250, 247, .9) 44%, rgba(251, 250, 247, .5) 72%, rgba(251, 250, 247, 0) 100%),
		linear-gradient(90deg, rgba(251, 250, 247, .9) 0%, rgba(251, 250, 247, .8) 34%, rgba(251, 250, 247, .45) 50%, rgba(251, 250, 247, .12) 60%, rgba(251, 250, 247, 0) 70%); }
/* Filet turquoise : une courbe fine qui relie la zone claire au paysage (décor, sans animation) */
.hero__arc { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; color: var(--teal); opacity: .55; pointer-events: none; }
/* Vidéo : au-dessus de l'image fixe, invisible tant qu'elle ne joue pas (aucun flash, aucun décalage) */
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.hero.is-playing .hero__video { opacity: 1; }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(110px, 14vh, 160px); }
.hero__title { max-width: none; }
.hero__title .eyebrow { color: var(--ink); margin-bottom: 30px; letter-spacing: .26em; }
.hero__title .eyebrow::before { width: 42px; background: var(--teal); }
.hero__line { display: block; font: 650 clamp(54px, 7.6vw, 128px)/.94 var(--sans); letter-spacing: -.048em; color: #1d2122; }
/* Point final turquoise : décoratif (hors du texte du H1), posé sur la ligne de base, à la taille du titre */
.hero__line:last-child::after { content: ""; display: inline-block; width: .14em; height: .14em; margin-left: .05em; border-radius: 50%; background: var(--teal); }
.hero__sub { margin-top: 28px; font: 400 clamp(19px, 1.9vw, 31px)/1.3 var(--sans); letter-spacing: -.015em; color: #3b3f3f; }
.hero__lede { margin-top: 26px; max-width: 46ch; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .92); }
.hero__actions { margin-top: 44px; }
.btn--hero { min-height: 60px; padding: 0 30px; gap: 34px; font-size: 12.5px; letter-spacing: .16em; box-shadow: 0 14px 34px -18px rgba(0, 96, 95, .7); }
.btn--hero:hover { background: var(--deep); }
.hero__credit { position: absolute; z-index: 2; right: var(--gutter); bottom: 96px; font-size: 10.5px; letter-spacing: .04em; color: rgba(39, 40, 40, .62); }
.hero__credit a:hover { color: var(--ink); text-decoration: underline; }
.hero__credit-video { display: none; }
.hero.is-playing .hero__credit-video { display: inline; }
.hero.is-playing .hero__credit-photo { display: none; }

/* Recherche à cheval entre le hero et la section suivante */
.search-dock { position: relative; z-index: 5; margin-top: -64px; }
.search-panel { display: grid; grid-template-columns: 1.15fr 1fr 1fr auto; background: var(--white); box-shadow: 0 28px 60px -32px rgba(18, 37, 36, .3), 0 6px 18px -10px rgba(18, 37, 36, .12); min-height: 116px; }
.search-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px 30px; border-right: 1px solid var(--line); }
.search-field label { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.search-field select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23272828' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center; padding: 6px 26px 6px 0; font: 500 16px/1.3 var(--sans); letter-spacing: -.005em; color: var(--ink); cursor: pointer; }
.search-field select:focus-visible { outline: none; }
.search-panel .search-field select { font: 500 17px/1.3 var(--sans); letter-spacing: -.005em; }
.search-field:focus-within { background: var(--paper); }
/* Accueil : pictogrammes au trait devant chaque critère, libellés anthracite */
.search-dock .search-field label { color: var(--ink); letter-spacing: .16em; }
.search-dock .search-field select { padding-left: 34px; color: var(--ink-soft); background-image: var(--pic), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23272828' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat, no-repeat; background-position: left center, right 2px center; background-size: 20px 20px, 12px 8px; }
.search-dock .search-field:nth-of-type(1) { --pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272828' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.7-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 15.3 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.8' r='2.3'/%3E%3C/svg%3E"); }
.search-dock .search-field:nth-of-type(2) { --pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272828' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11 12 4.5l8.5 6.5M5.8 9.3V20h12.4V9.3M10 20v-5.5h4V20'/%3E%3C/svg%3E"); }
.search-dock .search-field:nth-of-type(3) { --pic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272828' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='11' cy='6.5' rx='6.5' ry='2.5'/%3E%3Cpath d='M4.5 6.5v4c0 1.4 2.9 2.5 6.5 2.5s6.5-1.1 6.5-2.5v-4M4.5 10.5v4c0 1.4 2.9 2.5 6.5 2.5 1 0 2-.1 2.8-.3M4.5 14.5v3c0 1.4 2.9 2.5 6.5 2.5 1 0 2-.1 2.8-.3'/%3E%3Ccircle cx='17.5' cy='16.5' r='3.5'/%3E%3C/svg%3E"); }
.search-panel__submit { display: flex; align-items: stretch; padding: 18px; }
.search-panel__submit .btn { min-height: 100%; padding: 0 30px; }
.search-panel__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------ Sections */
.section { padding-block: clamp(80px, 10vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--after-dock { padding-top: clamp(96px, 10vw, 150px); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head__text { max-width: 760px; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Cartes de biens */
.grid-biens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.grid-biens--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-bien { position: relative; }
.card-bien__link { display: block; height: 100%; }
.card-bien__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-bien__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-bien__link:hover .card-bien__media img { transform: scale(1.045); }
.card-bien__media--empty { display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px 6px; border-radius: var(--radius); background: rgba(255, 255, 255, .95); color: var(--ink); font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .25); }
.badge--state { background: var(--ink); color: var(--white); }
.badge--sold { background: var(--teal-btn); color: var(--white); }
.card-bien__body { padding-top: 18px; display: grid; gap: 8px; }
.card-bien__place { display: flex; align-items: center; gap: 6px; font: 600 13px/1.3 var(--sans); letter-spacing: .01em; color: var(--teal-ink); }
.card-bien__place .icon { width: 16px; height: 16px; }
.card-bien__title { font: 600 20px/1.25 var(--sans); letter-spacing: -.02em; transition: color .2s; }
.card-bien__link:hover .card-bien__title { color: var(--teal-ink); }
.card-bien__specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 2px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.card-bien__specs li { display: inline-flex; align-items: center; gap: 7px; }
.card-bien__specs .icon { width: 17px; height: 17px; color: var(--teal); }
.card-bien__price { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 19px/1 var(--sans); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.card-bien__price small { margin-left: 2px; font-size: 11px; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.card-bien__arrow { width: 34px; height: 34px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s; }
.card-bien__link:hover .card-bien__arrow { background: var(--teal-btn); border-color: var(--teal-btn); color: var(--white); }
.card-bien--compact .card-bien__title { font-size: 18px; }

.empty-state { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: clamp(32px, 4vw, 56px); background: var(--sand); }
.empty-state h3 { font: 600 clamp(22px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.empty-state p { margin-top: 10px; color: var(--ink-soft); max-width: 58ch; }

/* ------------------------------------------------------------------ Agence (accueil) */
.agency { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.agency__photo { position: relative; }
.agency__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.agency__photo figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.agency__text h2 { font: 600 clamp(32px, 3.4vw, 52px)/1.06 var(--sans); letter-spacing: -.035em; margin: 16px 0 26px; }
.agency__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 62ch; }
.agency__text p:last-of-type { font: 600 19px/1.45 var(--sans); letter-spacing: -.01em; color: var(--ink); margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--teal); }
.agency__text h4 { margin-top: 12px; padding-left: 22px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.agency__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 34px; }
.agency--solo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.agency__aside { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 28px; border-top: 1px solid var(--ink); }
.agency__aside h2 { font: 600 clamp(32px, 3.4vw, 52px)/1.06 var(--sans); letter-spacing: -.035em; margin: 16px 0 26px; }
.agency__place { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.agency--solo .agency__text { padding-top: 28px; }

/* ------------------------------------------------------------------ Territoire */
.territory { background: var(--deep); color: var(--white); }
.territory .eyebrow { color: var(--on-deep-accent); }
.territory__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.territory__head .lede { color: var(--on-deep-muted); }
.territory__major { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.territory__major a { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); transition: padding .4s var(--ease), color .3s; }
.territory__major a:hover { padding-left: 14px; color: var(--on-deep-accent); }
.territory__name { font: 500 clamp(30px, 3.6vw, 54px)/1.05 var(--sans); letter-spacing: -.04em; }
.territory__meta { font-size: 14px; color: var(--on-deep-muted); text-align: right; white-space: nowrap; }
.territory__arrow { justify-self: end; width: 44px; height: 44px; padding: 11px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.territory__major a:hover .territory__arrow { background: var(--on-deep-accent); border-color: var(--on-deep-accent); color: var(--deep); }
.territory__others { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; }
.territory__others a { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15.5px; color: rgba(255, 255, 255, .92); }
.territory__others a:hover { color: var(--on-deep-accent); }
.territory__others small { color: var(--on-deep-muted); font-size: 12.5px; }

/* ------------------------------------------------------------------ Contenus éditoriaux (textes repris) */
.prose { font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 600 clamp(24px, 2.2vw, 32px)/1.15 var(--sans); color: var(--ink); margin-top: 1.7em; letter-spacing: -.03em; }
.prose h3 { font: 600 clamp(19px, 1.5vw, 22px)/1.3 var(--sans); color: var(--ink); margin-top: 1.8em; letter-spacing: -.02em; }
.prose h4 { font: 700 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal); }
.prose img { margin-block: 1.6em; width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin-block: 1.6em; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font: 700 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--teal); font: 500 20px/1.5 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.prose .sector-market { padding: 20px 24px; background: var(--sand); border-left: 3px solid var(--teal); color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__aside { position: sticky; top: 120px; }
.why__aside h2 { font: 600 clamp(32px, 3.5vw, 54px)/1.06 var(--sans); letter-spacing: -.035em; margin-top: 16px; text-wrap: balance; }
.why .prose h3 { font-size: clamp(20px, 1.6vw, 24px); }

/* ------------------------------------------------------------------ Avis */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.reviews__score { display: flex; align-items: baseline; gap: 14px; }
.reviews__score strong { font: 700 64px/.9 var(--sans); letter-spacing: -.05em; }
.stars { display: inline-flex; gap: 3px; color: var(--teal); }
.stars svg { width: 14px; height: 14px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.review { position: relative; padding: 30px 30px 28px; background: var(--white); border: 1px solid var(--line); }
.review::before { content: "\201C"; position: absolute; top: 14px; right: 24px; font: 700 64px/1 var(--sans); color: var(--opal); }
.review blockquote { position: relative; margin: 18px 0 22px; font: 500 17px/1.6 var(--sans); letter-spacing: -.005em; color: var(--ink); }
.review cite { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--muted); }

/* ------------------------------------------------------------------ Estimation (bandeau) */
.estimate-band { background: var(--deep-2); color: var(--white); overflow: hidden; position: relative; }
.estimate-band::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46vw; aspect-ratio: 1; border: 1px solid rgba(127, 214, 212, .16); border-radius: 50%; pointer-events: none; }
.estimate-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.estimate-band .eyebrow { color: var(--on-deep-accent); }
.estimate-band h2 { font: 600 clamp(36px, 4.2vw, 64px)/1.04 var(--sans); letter-spacing: -.04em; margin-top: 18px; text-wrap: balance; }
.estimate-band p.lede { color: var(--on-deep-muted); margin-top: 22px; }
.estimate-band__links { margin-top: 30px; }
.estimate-band__links p { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 14px; }
.estimate-band__links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.estimate-band__links a { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.estimate-band__links a:hover { color: var(--on-deep-accent); border-color: currentColor; }

/* ------------------------------------------------------------------ En-têtes de page intérieure */
.page-head { padding-top: calc(var(--header-h) + clamp(44px, 6vw, 88px)); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head--sand { background: var(--sand); border-bottom: 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.page-head h1 { margin-top: 18px; font: 600 clamp(36px, 4.6vw, 70px)/1.03 var(--sans); letter-spacing: -.042em; text-wrap: balance; }
.page-head .lede { margin-top: 22px; }
.page-head__stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 28px; }
.stat strong { display: block; font: 700 34px/1 var(--sans); letter-spacing: -.035em; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.page-head__aside { justify-self: end; display: grid; gap: 12px; }

.breadcrumbs { font-size: 12.5px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink-soft); }

/* ------------------------------------------------------------------ Filtres /acheter */
.filters { position: sticky; top: 74px; z-index: 20; background: rgba(251, 250, 247, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .filters { top: 106px; }
.filters__form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1fr) auto; align-items: stretch; }
.filters .search-field { padding: 16px 22px; border-right: 1px solid var(--line); }
.filters .search-field:first-of-type { padding-left: 0; }
.filters .search-field select { font-size: 15.5px; }
.filters__submit { display: flex; align-items: center; padding-left: 22px; gap: 18px; }
.filters__toggle { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: clamp(32px, 4vw, 52px) 0 clamp(24px, 3vw, 36px); }
.results-bar h2 { font: 500 17px/1.3 var(--sans); letter-spacing: 0; color: var(--ink-soft); }
.results-bar strong { margin-right: 4px; font: 700 26px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.results-bar a { font-size: 13.5px; color: var(--teal-ink); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); font-size: 14px; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

.city-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.city-index a { display: flex; flex-direction: column; gap: 2px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.city-index a:hover { color: var(--teal-ink); }
.city-index small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }

/* ------------------------------------------------------------------ Mise en page avec colonne latérale */
.layout-aside { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.aside-sticky { position: sticky; top: 110px; display: grid; gap: 24px; }
.panel { padding: clamp(24px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line); }
.panel--sand { background: var(--sand); border-color: transparent; }
.panel--deep { background: var(--deep); color: var(--white); border-color: transparent; }
.panel h2, .panel h3 { font: 600 21px/1.25 var(--sans); letter-spacing: -.02em; }
.panel p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.panel--deep p { color: var(--on-deep-muted); }
.panel .btn { margin-top: 20px; width: 100%; }
.agent { display: flex; align-items: center; gap: 16px; }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.agent strong { display: block; font: 600 18px/1.2 var(--sans); letter-spacing: -.015em; }
.agent span { font-size: 13px; color: var(--muted); }
.agent-phone { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font: 700 21px/1 var(--sans); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.agent-phone .icon { width: 20px; height: 20px; color: var(--teal); }
.agent-phone:hover { color: var(--teal-ink); }

/* ------------------------------------------------------------------ Fiche bien */
.bien-head { padding-top: calc(var(--header-h) + 34px); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(380px, 62vh, 660px); margin-top: 24px; }
.gallery__item { position: relative; overflow: hidden; background: var(--stone); padding: 0; border: 0; }
.gallery__item:first-child { grid-row: 1 / span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__more { position: absolute; right: 16px; bottom: 16px; padding: 12px 16px; background: rgba(255, 255, 255, .95); font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.gallery--count-1 { grid-template-columns: 1fr; }
.gallery--count-1 .gallery__item:first-child { grid-row: auto; }
.gallery--count-2 { grid-template-columns: 2fr 1fr; }
.gallery--count-3, .gallery--count-4 { grid-template-columns: 2fr 1fr; }
.gallery--count-3 .gallery__item:nth-child(n+4), .gallery--count-4 .gallery__item:nth-child(n+4) { display: none; }

.bien-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.bien-place { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 14px/1.3 var(--sans); color: var(--teal-ink); }
.bien-place .icon { width: 18px; height: 18px; }
.bien-ref { padding: 4px 9px; border-radius: 12px; background: var(--opal); color: var(--teal-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.bien-title h1 { margin-top: 14px; font: 600 clamp(30px, 3.4vw, 50px)/1.08 var(--sans); letter-spacing: -.038em; text-wrap: balance; }
.bien-price { text-align: right; }
.bien-price strong { display: block; font: 700 clamp(32px, 3.2vw, 46px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
.bien-price span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.bien-badges { display: flex; gap: 8px; margin-top: 16px; }
.bien-badges .badge { position: static; }

/* Caractéristiques : pictogramme, valeur, libellé */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: clamp(28px, 3vw, 40px) 0 0; padding-bottom: clamp(32px, 3.5vw, 48px); border-bottom: 1px solid var(--line); }
.fact { position: relative; display: flex; flex-direction: column-reverse; justify-content: center; gap: 5px; min-height: 86px; padding: 16px 16px 16px 76px; background: var(--white); border: 1px solid var(--line); }
.fact__icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--opal); color: var(--teal-ink); }
.fact__icon .icon { width: 23px; height: 23px; }
.fact dt { font: 500 13px/1.25 var(--sans); color: var(--muted); }
.fact dd { margin: 0; font: 700 22px/1 var(--sans); letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.bien-section { padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.bien-section > h2 { font: 600 clamp(22px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.03em; margin-bottom: 22px; }
.bien-desc { white-space: normal; }
.bien-desc p + p { margin-top: 1em; }

.dpe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dpe figure { margin: 0; }
.dpe img { max-height: 260px; width: auto; }
.dpe figcaption { font: 700 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.dpe figcaption strong { margin-left: 6px; font: 700 20px/1 var(--sans); letter-spacing: 0; color: var(--ink); vertical-align: -2px; }
.dpe-scale { display: grid; gap: 5px; }
.dpe-scale__row { display: flex; align-items: center; gap: 12px; min-height: 24px; }
.dpe-scale__bar { flex: 0 0 auto; width: var(--w); display: flex; align-items: center; height: 22px; padding: 0 10px; color: #fff; font: 700 11.5px/1 var(--sans); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); opacity: .38; }
.dpe-scale__bar.is-dark { color: var(--ink); }
.dpe-scale__row.is-current .dpe-scale__bar { opacity: 1; height: 30px; font-size: 14px; width: calc(var(--w) + 4%); }
.dpe-scale__value { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.dpe__value { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }
.legal-note { font-size: 14px; color: var(--ink-soft); display: grid; gap: 10px; }
.legal-note a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }

.map-placeholder { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; background: var(--sand) repeating-linear-gradient(45deg, transparent 0 22px, rgba(39, 40, 40, .03) 22px 23px); border: 1px solid var(--line); }
.map-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Cartes Plan IGN (Leaflet), tons adoucis pour s'accorder à la charte */
.map-box { position: relative; z-index: 0; aspect-ratio: 16 / 7; min-height: 260px; background: var(--sand); border: 1px solid var(--line); overflow: hidden; }
.aside-sticky .map-box { aspect-ratio: 4 / 3; }
.map-box .leaflet-tile-pane { filter: grayscale(.75) contrast(.96) brightness(1.04); }
.map-box .leaflet-control-zoom { border: 1px solid var(--line); box-shadow: none; border-radius: 0; }
.map-box .leaflet-control-zoom a { border-radius: 0; color: var(--ink); width: 32px; height: 32px; line-height: 30px; }
.map-box .leaflet-control-attribution { font: 400 10.5px/1.6 var(--sans); background: rgba(251, 250, 247, .85); }
.map-box__fallback { padding: 24px; font-size: 14px; color: var(--muted); }
.map-pin { background: var(--teal); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(0, 159, 157, .22), 0 6px 14px rgba(18, 37, 36, .3); }
@media (max-width: 640px) { .map-box { aspect-ratio: 4 / 3; } }


.sticky-cta { display: none; }

/* ------------------------------------------------------------------ Formulaires */
.lead-form { display: grid; gap: 18px; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 700 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: 16px; color: var(--ink); transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 159, 157, .15); }
.field--consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.field--consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--teal-btn); }
.field--consent label { font: 400 13px/1.55 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.field--consent a { text-decoration: underline; }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__notice { padding: 14px 16px; font-size: 14.5px; border-left: 3px solid; }
.lead-form__notice.is-ok { background: #e9f6f5; border-color: var(--teal); }
.lead-form__notice.is-error { background: #fbeceb; border-color: #b4372f; }
.lead-form .btn { justify-self: start; }
.panel--deep .field label { color: var(--on-deep-muted); }
.panel--deep .field--consent label { color: var(--on-deep-muted); }

/* ------------------------------------------------------------------ Pied de page */
.site-footer { background: #1d1f1f; color: rgba(255, 255, 255, .86); padding-top: clamp(64px, 8vw, 110px); font-size: 14.5px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand img { height: 56px; }
.site-footer address { font-style: normal; margin-top: 26px; line-height: 1.8; color: rgba(255, 255, 255, .72); }
.site-footer__phone { display: inline-block; margin-top: 18px; font: 600 26px/1 var(--sans); letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.site-footer h2 { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-accent); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: rgba(255, 255, 255, .78); }
.site-footer ul a:hover { color: var(--white); }
.site-footer ul.site-footer__cols2 { columns: 2; column-gap: 24px; display: block; }
.site-footer__cols2 li { margin-bottom: 8px; break-inside: avoid; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 26px 0 34px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.site-footer__bottom a:hover { color: var(--white); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ------------------------------------------------------------------ Divers */
.notice-404 { padding-top: calc(var(--header-h) + 120px); padding-bottom: 140px; }
.notice-404 h1 { font: 600 clamp(42px, 5.4vw, 84px)/1.02 var(--sans); letter-spacing: -.045em; margin-top: 20px; }
.notice-404 p { margin-top: 20px; }
.notice-404 .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.price-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.price-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.price-links .icon { width: 18px; height: 18px; color: var(--teal); transition: transform .25s var(--ease); }
.price-links a:hover .icon { transform: translateX(4px); }
.price-links a:hover { color: var(--teal-ink); }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1180px) {
	.header-phone { display: none; }
	.nav-panel { min-width: 440px; }
	.nav-panel--wide { width: 660px; min-width: 0; }
	.grid-biens--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.territory__others, .city-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters__form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters__form .search-field:nth-of-type(4), .filters__form .search-field:nth-of-type(5) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.brand img { height: 42px; }
	.site-header.is-scrolled { height: 66px; }
	.site-header.is-scrolled .brand img { height: 38px; }
	.menu-toggle { display: inline-flex; }
	.header-actions { display: none; }
	.mobile-only { display: block; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 24px var(--gutter) 40px; background: var(--paper); color: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
	.nav-is-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__item { border-bottom: 1px solid var(--line); }
	.primary-nav { padding-left: var(--gutter); }
	.primary-nav__link { width: 100%; justify-content: space-between; padding: 20px 0; font: 600 26px/1.15 var(--sans); letter-spacing: -.03em; }
	.primary-nav__link::after { display: none; }
	.primary-nav__link .chev { width: 14px; height: 14px; }
	.nav-panel, .nav-panel--wide { position: static; width: auto; min-width: 0; padding: 0 0 20px; box-shadow: none; border: 0; background: transparent; display: none; opacity: 1; visibility: visible; transform: none; translate: none; }
	.nav-panel::before { display: none; }
	.nav-panel__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-template-rows: none; }
	.primary-nav__item.is-open .nav-panel { display: block; }
	.nav-panel__feature { margin-bottom: 12px; }
	.mobile-actions { display: grid; gap: 12px; margin-top: 32px; }
	.mobile-actions .btn { justify-content: center; }
	body.nav-open { overflow: hidden; }

	/* Tablette et mobile : le paysage en haut, le texte en dessous sur fond clair (jamais sur l'image) */
	.hero { display: block; min-height: 0; }
	.hero__media { position: relative; inset: auto; display: block; height: min(64svh, 600px); overflow: hidden; }
	.hero__media img { object-position: 76% 42%; }
	.hero__shade { bottom: auto; height: min(64svh, 600px); background: linear-gradient(180deg, rgba(251, 250, 247, .6) 0%, rgba(251, 250, 247, 0) 24%), linear-gradient(0deg, var(--paper) 0%, rgba(251, 250, 247, .6) 9%, rgba(251, 250, 247, 0) 26%); }
	.hero__arc { display: none; }
	.hero__content { padding-top: 6px; padding-bottom: 48px; }
	.hero__credit { bottom: 14px; right: 16px; }
	.search-dock { margin-top: 0; width: 100%; }
	.search-panel { grid-template-columns: 1fr; box-shadow: none; border-bottom: 1px solid var(--line); }
	.search-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px var(--gutter); }
	.search-panel__submit { padding: 18px var(--gutter) 24px; }
	.search-panel__submit .btn { width: 100%; min-height: 56px; }
	.section--after-dock { padding-top: 72px; }

	.grid-biens, .grid-biens--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agency, .why, .territory__head, .estimate-band__grid, .layout-aside, .page-head__grid { grid-template-columns: 1fr; }
	.why__aside, .aside-sticky { position: static; }
	.page-head__aside { justify-self: start; }
	.territory__others, .city-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reviews__grid { grid-template-columns: 1fr; }
	.reviews__head { flex-direction: column; align-items: flex-start; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.filters { position: static; }
	/* Filtres repliés derrière un bouton (sans JS : tout reste visible) */
	.filters__form { grid-template-columns: 1fr; }
	.filters__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; background: none; border: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
	.filters__toggle em { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px; border-radius: 10px; background: var(--teal-btn); color: #fff; font-style: normal; letter-spacing: 0; font-size: 11px; }
	.js .filters__form:not(.is-open) > .search-field, .js .filters__form:not(.is-open) > .filters__submit { display: none; }
	.filters .search-field, .filters .search-field:first-of-type { padding: 14px 0; border-right: 0; border-top: 1px solid var(--line); }
	.filters__submit { padding: 16px 0 20px; }
	.filters__submit .btn { width: 100%; justify-content: space-between; }
	.bien-title { grid-template-columns: 1fr; }
	.bien-price { text-align: left; }
	.gallery { height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.gallery::-webkit-scrollbar { display: none; }
	.gallery__item { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
	.gallery--count-3 .gallery__item:nth-child(n+4), .gallery--count-4 .gallery__item:nth-child(n+4) { display: block; }
	.gallery__more { display: none; }
	.sticky-cta { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
	.sticky-cta .btn { justify-content: center; min-height: 48px; padding: 0 12px; }
	.single-bien .site-footer { padding-bottom: 80px; }
	.dpe { grid-template-columns: 1fr; }
	.empty-state { grid-template-columns: 1fr; }
}

/* Mobile : image verticale dédiée, mouvement un peu plus court (écran étroit) */
@media (max-width: 767px) {
	.hero__media img { object-position: 50% 30%; }
	.hero--breathe .hero__media img {
		transform-origin: 60% 35%;
		animation-name: kb-zoom, kb-drift-m;
	}
}

/* Tablette : la recherche reste à cheval sur le hero, en 2 × 2 */
@media (min-width: 641px) and (max-width: 960px) {
	.hero__content { padding-bottom: 140px; }
	.search-dock { margin-top: -72px; width: min(var(--wrap), 100% - 2 * var(--gutter)); }
	.hero__credit { bottom: 86px; }
	.search-panel { grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); border-bottom: 0; }
	.search-panel .search-field { padding: 18px 24px; }
	.search-panel .search-field:nth-of-type(odd) { border-right: 1px solid var(--line); }
	.search-panel__submit { padding: 14px 18px; border-bottom: 0; }
	.search-panel__submit .btn { min-height: 52px; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.hero__media, .hero__shade { height: min(58svh, 470px); }
	.hero__line { font-size: clamp(42px, 12.2vw, 60px); line-height: .98; letter-spacing: -.045em; }
	.hero__sub { margin-top: 14px; font-size: 16px; }
	.hero__title .eyebrow { font-size: 10.5px; letter-spacing: .18em; margin-bottom: 18px; }
	.hero__title .eyebrow::before { width: 22px; }
	.hero__actions .btn { width: 100%; }
	.grid-biens, .grid-biens--4 { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.territory__major a { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 16px; padding: 20px 0; }
	.territory__meta { grid-column: 1; grid-row: 2; text-align: left; }
	.territory__arrow { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; padding: 10px; }
	.territory__others, .city-index { grid-template-columns: 1fr; }
	.lead-form__grid { grid-template-columns: 1fr; }
	/* Caractéristiques : rangées pleines quel que soit le nombre (3 → 3, 4 → 2 + 2, 5 → 3 + 2) */
	/* Caractéristiques en tuiles verticales : 3 par ligne (2 s’il y en a 2 ou 4) */
	.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.facts--2, .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fact { justify-content: flex-start; min-width: 0; min-height: 0; padding: 62px 12px 14px; }
	.fact__icon { top: 14px; left: 12px; translate: none; width: 38px; height: 38px; }
	.fact__icon .icon { width: 20px; height: 20px; }
	.fact dd { font-size: 19px; }
	.fact dt { font-size: 12px; }
	.agency__aside { position: static; }
	.site-footer__top { grid-template-columns: 1fr; }
	.prose { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.hero__media img, .hero--breathe .hero__media img { animation: none !important; scale: none; translate: none; rotate: none; will-change: auto; }
	.hero__video { display: none; }
}

/* Liens vers « Trouver mon village » */
.panel .panel__more { margin-top: 16px; }
.page-head__aside > .link { justify-self: start; }

/* ------------------------------------------------------------------ Fiche bien : copropriété, caractéristiques détaillées (Netty) */
.bien-copro { display: flex; flex-wrap: wrap; align-items: center; margin-top: 14px; font: 600 15px/1.45 var(--sans); color: var(--ink); }
.bien-copro span[aria-hidden] { padding: 0 10px; color: var(--teal); }
@media (max-width: 700px) {
	.bien-copro { font-size: 14px; }
}

/* ------------------------------------------------------------------ Galerie et diaporama de la fiche bien */
.gallery-wrap { position: relative; }
.gallery__item { cursor: zoom-in; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .96); color: var(--ink); font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .5); cursor: pointer; transition: background .2s, color .2s; }
.gallery__all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.gallery__all:hover { background: var(--ink); color: var(--white); }
.gallery__all:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

html.has-lightbox { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #0c1212; color: var(--white); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(8, 12, 12, .94); }
.lightbox:focus { outline: none; }
.lightbox svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lightbox button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 28px; }
.lightbox__count { margin: 0; font: 600 13px/1 var(--sans); letter-spacing: .14em; color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
.lightbox__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }
.lightbox__stage { position: relative; min-height: 0; margin: 0 96px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lightbox__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: opacity .3s var(--ease); -webkit-user-drag: none; }
.lightbox__stage.is-loading .lightbox__img { opacity: 0; }
.lightbox__spinner { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 2px solid rgba(255, 255, 255, .18); border-top-color: var(--white); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s; animation: gsi-spin .8s linear infinite; }
.lightbox__stage.is-loading .lightbox__spinner { opacity: 1; transition-delay: .2s; }
@keyframes gsi-spin { to { transform: rotate(360deg); } }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; padding: 0; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: rgba(12, 18, 18, .5); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, color .2s, border-color .2s, transform .15s; }
.lightbox__nav:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.lightbox__nav:active { transform: scale(.94); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__thumbs { display: flex; justify-content: safe center; gap: 8px; overflow-x: auto; padding: 14px 24px 20px; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb { flex: 0 0 auto; width: 78px; height: 56px; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: #1d2626; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb[aria-current] { opacity: 1; outline-color: var(--teal-bright); }
@media (max-width: 960px) {
	.gallery__all { right: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; }
}
@media (max-width: 700px) {
	.lightbox__bar { padding: 8px 8px 8px 18px; }
	.lightbox__stage { margin: 0; }
	.lightbox__nav { width: 44px; height: 44px; margin-top: -22px; background: rgba(12, 18, 18, .42); }
	.lightbox__nav--prev { left: 8px; }
	.lightbox__nav--next { right: 8px; }
	.lightbox__thumbs { padding: 10px 12px 14px; gap: 6px; }
	.lightbox__thumb { width: 58px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.lightbox__img, .lightbox__nav, .lightbox__thumb { transition: none; }
}

/* Caractéristiques : un seul panneau, une rangée par bloc, un pictogramme par ligne */
.features { background: var(--white); border: 1px solid var(--line); }
.features__group { display: grid; gap: 16px; padding: 24px 28px 26px; border-top: 1px solid var(--line); }
.features__group:first-child { border-top: 0; }
.features__group h3 { margin: 0; font: 700 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.features__group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.features__group li { display: flex; align-items: center; gap: 12px; min-height: 34px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.features__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--opal); color: var(--teal-ink); }
.features__icon .icon { width: 18px; height: 18px; vertical-align: 0; }
@media (max-width: 640px) {
	.features__group { padding: 22px 18px; }
	.features__group ul { grid-template-columns: 1fr; gap: 10px; }
}
