/* ==========================================================================
   Hivin Immobilier — feuille de style principale
   Sommaire :
   1. Polices et variables     8. Estimation et formulaires
   2. Base                     9. À propos, secteurs, bandeau d'appel
   3. Utilitaires et boutons   10. Pages intérieures, blog, article
   4. En-tête                  11. Biens (liste et fiche)
   5. Pied de page             12. Contact, recherche, 404, commentaires
   6. Accueil : hero, bandeau  13. Contenu éditorial (blocs WordPress)
   7. Cartes (biens, articles)
   ========================================================================== */

/* 1. Polices et variables
   ========================================================================== */
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-wght.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--hv-orange: #EB6610;          /* Orange SAFTI : toit, aplats, grands titres */
	--hv-orange-btn: #C4500A;      /* Boutons (texte blanc lisible) */
	--hv-orange-btn-hover: #A94508;
	--hv-orange-ink: #B84C08;      /* Petits textes et liens orange */
	--hv-orange-soft: #FDEEE3;
	--hv-orange-light: #F59A5C;    /* Orange sur fond sombre */
	--hv-ink: #2B3035;             /* Anthracite */
	--hv-ink-2: #22262A;
	--hv-text: #5F646A;
	--hv-muted-dark: #C4C8CC;
	--hv-line: #ECE6DE;
	--hv-line-2: #E2DACF;
	--hv-field: #D9D1C6;
	--hv-sand: #F2EDE6;
	--hv-cream: #F8F5F0;
	--hv-placeholder: #EDE6DC;
	--hv-font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
	--hv-font-body: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
	--hv-container: 1200px;
	--hv-gutter: 20px;
	--hv-section: clamp(56px, 8vw, 112px);
	--hv-radius: 16px;
	--hv-shadow: 0 14px 36px rgba(43, 48, 53, 0.10);
	--hv-shadow-lg: 0 20px 48px rgba(43, 48, 53, 0.12);
	--hv-header-h: 88px;
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hv-header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--hv-font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--hv-ink);
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
video {
	max-width: 100%;
	height: auto;
}

svg {
	flex-shrink: 0;
}

a {
	color: var(--hv-orange-ink);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--hv-orange-btn-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--hv-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--hv-ink);
}

p {
	margin: 0 0 1em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--hv-orange-ink);
	outline-offset: 2px;
}

::selection {
	background: var(--hv-orange);
	color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* 3. Utilitaires et boutons
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--hv-ink);
	color: #FFFFFF;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}

.container {
	width: min(var(--hv-container), calc(100% - 2 * var(--hv-gutter)));
	margin-inline: auto;
}

.container--narrow {
	width: min(760px, calc(100% - 2 * var(--hv-gutter)));
}

.container--wide {
	width: min(1040px, calc(100% - 2 * var(--hv-gutter)));
}

.section {
	padding-block: var(--hv-section);
}

.section--tight {
	padding-block: clamp(40px, 6vw, 72px);
}

.section--cream {
	background: var(--hv-cream);
}

.section--sand {
	background: var(--hv-sand);
}

.section--dark {
	background: var(--hv-ink);
	color: #FFFFFF;
}

.section--dark h2,
.section--dark h3 {
	color: #FFFFFF;
}

.section--dark .lead {
	color: var(--hv-muted-dark);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 48px;
}

.section-head__text {
	max-width: 680px;
}

.section-head__text > :last-child {
	margin-bottom: 0;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--hv-orange-ink);
}

.eyebrow__roof {
	color: var(--hv-orange);
}

.section--dark .eyebrow {
	color: var(--hv-orange-light);
}

.h1 {
	margin: 0;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.h2 {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.1;
}

.h3 {
	font-size: clamp(22px, 2.2vw, 26px);
	line-height: 1.2;
}

.lead {
	margin: 14px 0 0;
	font-size: clamp(16px, 1.4vw, 18px);
	line-height: 1.6;
	color: var(--hv-text);
}

.text-accent {
	color: var(--hv-orange);
}

.icon-tile {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--hv-orange-soft);
	color: var(--hv-orange-ink);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-family: var(--hv-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--hv-orange-btn);
	color: #FFFFFF;
}

.btn--primary:hover {
	background: var(--hv-orange-btn-hover);
	color: #FFFFFF;
}

.btn--outline {
	border-color: var(--hv-ink);
	background: transparent;
	color: var(--hv-ink);
}

.btn--outline:hover {
	background: var(--hv-ink);
	color: #FFFFFF;
}

.btn--light {
	background: #FFFFFF;
	color: var(--hv-ink);
}

.btn--light:hover {
	background: var(--hv-cream);
	color: var(--hv-ink);
}

.btn--ghost-light {
	border: 2px solid #FFFFFF;
	background: transparent;
	color: #FFFFFF;
}

.btn--ghost-light:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #FFFFFF;
}

.btn--lg {
	min-height: 60px;
	padding: 0 28px;
	border-radius: 12px;
	font-size: 19px;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn[disabled],
.btn.is-loading {
	opacity: 0.7;
	cursor: progress;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.link-arrow .icon {
	transition: transform 0.15s;
}

.checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.checks li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hv-text);
}

.checks .icon {
	color: var(--hv-orange-ink);
	stroke-width: 2.4;
}

.checks--column {
	flex-direction: column;
	gap: 12px;
}

.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: var(--hv-placeholder);
}

.placeholder__mark {
	width: 28%;
	max-width: 96px;
	height: auto;
}

.admin-hint {
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 1.5px dashed #C9BFB2;
	border-radius: 10px;
	background: #FFFBF6;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hv-ink);
}

.admin-hint a {
	font-weight: 700;
}

.section--dark .admin-hint,
.site-footer .admin-hint {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.3);
	color: #FFFFFF;
}

.site-footer .admin-hint a {
	color: var(--hv-orange-light);
}

/* 4. En-tête
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #FFFFFF;
	border-bottom: 1px solid var(--hv-line);
	transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(43, 48, 53, 0.08);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--hv-header-h);
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 12px;
	color: var(--hv-ink);
	text-decoration: none;
}

.brand:hover {
	color: var(--hv-ink);
}

.brand__mark {
	width: 46px;
	height: 46px;
}

.brand__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.brand__name {
	font-family: var(--hv-font-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
}

.brand__tag {
	font-family: var(--hv-font-display);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.4em;
	color: var(--hv-text);
}

.brand--light,
.brand--light:hover {
	color: #FFFFFF;
}

.brand--light .brand__tag {
	color: var(--hv-muted-dark);
}

.brand--custom .custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.primary-nav__list {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__list a {
	position: relative;
	display: block;
	padding: 8px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--hv-ink);
	text-decoration: none;
}

.primary-nav__list a:hover {
	color: var(--hv-orange-ink);
}

.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a,
.primary-nav__list .current-menu-ancestor > a,
.primary-nav__list .current_page_parent > a {
	color: var(--hv-orange-ink);
}

.primary-nav__list .current-menu-item > a::after,
.primary-nav__list .current_page_item > a::after,
.primary-nav__list .current-menu-ancestor > a::after,
.primary-nav__list .current_page_parent > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--hv-orange);
}

.primary-nav__cta {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--hv-ink);
	text-decoration: none;
	white-space: nowrap;
}

.header-phone:hover {
	color: var(--hv-orange-ink);
}

.header-cta {
	min-height: 48px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--hv-ink);
	color: #FFFFFF;
	cursor: pointer;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
	display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
	display: block;
}

@media (max-width: 1100px) {
	:root {
		--hv-header-h: 72px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.header-actions {
		gap: 8px;
	}

	.header-cta {
		display: none;
	}

	.header-phone {
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid var(--hv-line-2);
		border-radius: 10px;
	}

	.header-phone span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - var(--hv-header-h));
		overflow-y: auto;
		padding: 8px var(--hv-gutter) 24px;
		border-bottom: 1px solid var(--hv-line);
		background: #FFFFFF;
		box-shadow: 0 24px 40px rgba(43, 48, 53, 0.12);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.primary-nav__list a {
		padding: 16px 0;
		border-bottom: 1px solid var(--hv-line);
		font-size: 17px;
	}

	.primary-nav__list .current-menu-item > a::after,
	.primary-nav__list .current_page_item > a::after,
	.primary-nav__list .current-menu-ancestor > a::after,
	.primary-nav__list .current_page_parent > a::after {
		display: none;
	}

	.primary-nav__cta {
		display: flex;
		margin-top: 20px;
	}
}

@media (max-width: 480px) {
	.brand {
		gap: 9px;
	}

	.brand__mark {
		width: 36px;
		height: 36px;
	}

	.brand__name {
		font-size: 22px;
	}

	.brand__tag {
		font-size: 7px;
	}
}

/* 5. Pied de page
   ========================================================================== */
.site-footer {
	padding: 72px 0 40px;
	background: var(--hv-ink-2);
	color: var(--hv-muted-dark);
	font-size: 15px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 48px;
}

.footer-about p {
	margin: 20px 0;
	line-height: 1.6;
}

.footer-title {
	margin: 0 0 16px;
	font-family: var(--hv-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hv-orange-light);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: #E3E5E8;
	text-decoration: none;
}

.footer-links a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #E3E5E8;
}

.footer-contact .icon {
	color: var(--hv-muted-dark);
}

.footer-contact .footer-safti a {
	font-weight: 700;
	color: var(--hv-orange-light);
}

.socials {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: #FFFFFF;
}

.socials a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #A3A9AF;
}

.footer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	font-size: 13px;
}

.footer-meta ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-meta a {
	color: var(--hv-muted-dark);
}

.footer-meta a:hover {
	color: #FFFFFF;
}

.footer-meta .copyright {
	margin-left: auto;
	color: #A3A9AF;
}

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.site-footer {
		padding-top: 48px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.footer-meta .copyright {
		margin-left: 0;
	}
}

.logo-slot {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 128px;
	height: 52px;
	padding: 6px 10px;
	border: 1.5px dashed #C9BFB2;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--hv-text);
	text-decoration: none;
}

.logo-slot img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.logo-slot--img {
	border: 0;
	padding: 0;
}

.logo-slot--text {
	border-style: solid;
	font-family: var(--hv-font-display);
	letter-spacing: 0.08em;
	color: var(--hv-orange-ink);
}

.logo-slot--on-dark {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--hv-muted-dark);
}

.logo-slot--on-dark.logo-slot--img {
	padding: 8px 12px;
	border-radius: 10px;
	background: #FFFFFF;
}

.logo-slot--on-dark.logo-slot--text {
	color: #FFFFFF;
}

/* 6. Accueil : hero et bandeau de confiance
   ========================================================================== */
.hero {
	padding-block: clamp(32px, 6vw, 72px) clamp(44px, 7vw, 88px);
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	align-items: center;
	gap: 64px;
}

.hero .eyebrow {
	margin-bottom: 22px;
}

.hero .lead {
	max-width: 600px;
	margin-top: 24px;
	font-size: clamp(16px, 1.5vw, 19px);
}

.quick-form {
	display: flex;
	align-items: stretch;
	margin-top: 36px;
	padding: 8px;
	border: 1px solid var(--hv-line-2);
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: var(--hv-shadow);
}

.quick-form__field {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	padding: 8px 16px;
}

.quick-form__field--type {
	flex: 0 0 170px;
	border-left: 1px solid var(--hv-line);
}

.quick-form label {
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hv-ink);
}

.quick-form input,
.quick-form select {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16px;
	font-weight: 500;
	color: var(--hv-ink);
}

.quick-form input:focus-visible,
.quick-form select:focus-visible {
	outline-offset: 6px;
}

.quick-form .btn {
	min-height: 60px;
	padding: 0 24px;
	font-size: 16px;
	white-space: nowrap;
}

.hero__aside {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 480px;
}

.hero__visual {
	position: relative;
	aspect-ratio: 480 / 580;
}

.hero__roof {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	color: var(--hv-orange);
}

.hero__photo {
	position: absolute;
	top: 10.345%;
	left: 4.1667%;
	width: 91.667%;
	height: 89.655%;
	overflow: hidden;
	background: var(--hv-placeholder);
	clip-path: polygon(50% 0, 100% 28.85%, 100% 100%, 0 100%, 0 28.85%);
}

.hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__photo .placeholder__mark {
	margin-top: 20%;
}

.hero__badge {
	position: absolute;
	bottom: 48px;
	left: -44px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100% + 20px);
	padding: 16px 20px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 16px 40px rgba(43, 48, 53, 0.14);
}

.hero__badge strong {
	display: block;
	font-size: 16px;
}

.hero__badge span span {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: var(--hv-text);
}

@media (min-width: 1101px) and (max-width: 1280px) {
	.quick-form {
		flex-wrap: wrap;
	}

	.quick-form .btn {
		flex-basis: 100%;
		margin-top: 8px;
	}
}

@media (max-width: 1100px) {
	.hero__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.hero__aside {
		justify-self: center;
		max-width: 440px;
	}

	.hero__badge {
		left: -16px;
	}
}

@media (max-width: 640px) {
	.quick-form {
		flex-direction: column;
		gap: 12px;
		padding: 16px;
	}

	.quick-form__field,
	.quick-form__field--type {
		flex: none;
		padding: 0;
		border: 0;
		gap: 6px;
	}

	.quick-form label {
		font-size: 13px;
		letter-spacing: 0;
	}

	.quick-form input,
	.quick-form select {
		min-height: 50px;
		padding: 0 14px;
		border: 1px solid var(--hv-field);
		border-radius: 10px;
		background-color: #FFFFFF;
	}

	.quick-form .btn {
		min-height: 54px;
	}

	.hero__badge {
		position: relative;
		bottom: auto;
		left: auto;
		width: fit-content;
		max-width: 100%;
		margin: -24px auto 0;
	}
}

.trust {
	padding-block: 32px;
	border-block: 1px solid var(--hv-line);
	background: var(--hv-cream);
}

.trust__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 48px;
}

.trust__network {
	display: flex;
	flex: 0 1 400px;
	align-items: center;
	gap: 20px;
}

.trust__network strong {
	display: block;
	font-size: 16px;
}

.trust__network span {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hv-text);
}

.trust__divider {
	align-self: stretch;
	width: 1px;
	background: var(--hv-line-2);
}

.trust__list {
	display: grid;
	flex: 1 1 560px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trust__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 1100px) {
	.trust__divider {
		display: none;
	}
}

@media (max-width: 760px) {
	.trust__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* 7. Cartes (biens, articles)
   ========================================================================== */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 1024px) {
	.grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 680px) {
	.grid-3 {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.card-bien {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #E7E0D6;
	border-radius: var(--hv-radius);
	background: #FFFFFF;
	transition: box-shadow 0.2s, transform 0.2s;
}

.card-bien:hover {
	box-shadow: var(--hv-shadow-lg);
	transform: translateY(-2px);
}

.card-bien:focus-within {
	box-shadow: 0 0 0 3px var(--hv-orange-ink);
}

.card-bien__media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--hv-placeholder);
}

.card-bien__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.badge {
	position: absolute;
	top: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--hv-ink);
}

.badge--type {
	left: 16px;
}

.badge--status {
	right: 16px;
	background: var(--hv-ink);
	color: #FFFFFF;
}

.badge--vendu {
	background: var(--hv-orange-btn);
}

.badge--inline {
	position: static;
	display: inline-flex;
	border: 1px solid var(--hv-line-2);
}

.card-bien__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.card-bien__price {
	margin: 0;
	font-family: var(--hv-font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.card-bien__fees {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--hv-text);
}

.card-bien__title {
	margin: 10px 0 0;
	font-family: var(--hv-font-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
}

.card-bien__title a {
	color: var(--hv-ink);
	text-decoration: none;
}

.card-bien__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card-bien__title a:focus-visible {
	outline: none;
}

.card-bien__place {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--hv-text);
}

.specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--hv-line);
	list-style: none;
}

.specs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}

.specs .icon {
	color: var(--hv-text);
}

.card-bien__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--hv-orange-ink);
}

.dpe-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 22px;
	padding: 0 6px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 800;
	color: #FFFFFF;
}

.card-post {
	position: relative;
	display: flex;
	flex-direction: column;
}

.card-post__media {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--hv-radius);
	background: var(--hv-placeholder);
}

.card-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s;
}

.card-post:hover .card-post__media img {
	transform: scale(1.03);
}

.card-post__cat {
	margin: 20px 0 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hv-orange-ink);
}

.card-post__title {
	margin: 10px 0 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.card-post__title a {
	color: var(--hv-ink);
	text-decoration: none;
}

.card-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card-post:hover .card-post__title a {
	color: var(--hv-orange-ink);
}

.card-post__excerpt {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--hv-text);
}

.card-post__meta {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--hv-text);
}

.post-featured {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	margin-bottom: 72px;
}

.post-featured .card-post__media {
	aspect-ratio: 3 / 2;
}

.post-featured .card-post__title {
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.2;
}

.post-featured .card-post__excerpt {
	font-size: 17px;
}

@media (max-width: 860px) {
	.post-featured {
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 48px;
	}
}

.empty-state {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: 32px;
	border: 1px dashed var(--hv-line-2);
	border-radius: var(--hv-radius);
	background: var(--hv-cream);
}

.empty-state p {
	max-width: 620px;
	margin: 0;
	color: var(--hv-text);
}

.empty-state strong {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	color: var(--hv-ink);
}

/* 8. Estimation et formulaires
   ========================================================================== */
.split {
	display: grid;
	grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
	align-items: center;
	gap: 80px;
}

.split--top {
	align-items: start;
}

@media (max-width: 1024px) {
	.split {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

.steps {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.steps li {
	display: flex;
	gap: 18px;
}

.steps__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--hv-orange);
	border-radius: 50%;
	background: #FFFFFF;
	font-family: var(--hv-font-display);
	font-size: 17px;
	font-weight: 700;
	color: var(--hv-orange-ink);
}

.steps__text strong {
	display: block;
	margin: 2px 0 4px;
	font-size: 18px;
}

.steps__text span {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--hv-text);
}

.form-card {
	padding: clamp(24px, 4vw, 40px);
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: var(--hv-shadow-lg);
}

.form-card--bordered {
	border: 1px solid var(--hv-line);
	box-shadow: var(--hv-shadow);
}

.form-card__title {
	margin: 0 0 6px;
	font-size: 24px;
}

.form-card__intro {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--hv-text);
}

.form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.form legend {
	margin-bottom: 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
}

.form__group-title {
	margin: 6px 0 -4px;
	padding-top: 20px;
	border-top: 1px solid var(--hv-line);
	font-family: var(--hv-font-display);
	font-size: 17px;
	letter-spacing: 0;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field label {
	font-size: 14px;
	font-weight: 700;
}

.field .req {
	color: var(--hv-orange-ink);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--hv-field);
	border-radius: 10px;
	background-color: #FFFFFF;
	font-size: 16px;
	font-weight: 500;
	color: var(--hv-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
	min-height: 140px;
	padding: 14px 16px;
	line-height: 1.5;
	resize: vertical;
}

.field select,
.quick-form select,
.filters select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232B3035' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
	cursor: pointer;
}

.quick-form select {
	padding-right: 28px;
	background-position: right 0 center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--hv-orange-ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(235, 102, 16, 0.2);
}

.field input::placeholder,
.field textarea::placeholder,
.quick-form input::placeholder {
	color: #8A8F95;
}

.field__help {
	margin: 0;
	font-size: 13px;
	color: var(--hv-text);
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 560px) {
	.field-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.pills {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 10px;
}

.pill {
	position: relative;
}

.pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pill span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 12px;
	border: 1.5px solid var(--hv-field);
	border-radius: 10px;
	background: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.pill span:hover {
	border-color: var(--hv-ink);
}

.pill input:checked + span {
	border-color: var(--hv-ink);
	background: var(--hv-ink);
	color: #FFFFFF;
	font-weight: 700;
}

.pill input:focus-visible + span {
	outline: 3px solid var(--hv-orange-ink);
	outline-offset: 2px;
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hv-text);
	cursor: pointer;
}

.consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--hv-orange-btn);
}

.form__legal {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--hv-text);
}

.hp-field {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 24px;
	padding: 16px 18px;
	border: 1px solid;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.notice .icon {
	margin-top: 2px;
}

.notice--success {
	border-color: #BFE3CB;
	background: #EAF6EE;
	color: #1D6437;
}

.notice--error {
	border-color: #F2C4C4;
	background: #FDEEEE;
	color: #9B1C1C;
}

/* 9. À propos, secteurs, bandeau d'appel
   ========================================================================== */
.about {
	display: grid;
	grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	align-items: center;
	gap: 88px;
}

.about__media {
	position: relative;
	aspect-ratio: 4 / 5;
}

.about__media::before {
	content: "";
	position: absolute;
	top: -24px;
	left: -24px;
	width: 46%;
	aspect-ratio: 1;
	border-radius: 20px;
	background: var(--hv-orange);
}

.about__photo {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
	background: var(--hv-placeholder);
}

.about__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__badge {
	position: absolute;
	right: -32px;
	bottom: 40px;
	padding: 16px 20px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 16px 40px rgba(43, 48, 53, 0.14);
}

.about__badge strong {
	display: block;
	font-size: 16px;
}

.about__badge span {
	display: block;
	font-size: 13px;
	color: var(--hv-text);
}

.about__text p:not(.eyebrow) {
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--hv-text);
}

.values {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.values li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.values strong {
	display: block;
	font-size: 17px;
}

.values span span {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--hv-text);
}

@media (max-width: 1024px) {
	.about {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.about__media {
		width: calc(100% - 24px);
		max-width: 460px;
		margin-left: 24px;
	}

	.about__badge {
		right: 12px;
	}
}

.sectors {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 80px;
}

.sectors__group + .sectors__group {
	margin-top: 36px;
}

.sectors__label {
	margin: 0 0 14px;
	font-family: var(--hv-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hv-orange-light);
}

@media (max-width: 1024px) {
	.sectors {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
	text-decoration: none;
}

a.chip:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

.chip--primary {
	border-color: #FFFFFF;
	background: #FFFFFF;
	font-weight: 700;
	color: var(--hv-ink);
}

a.chip--primary:hover {
	background: var(--hv-cream);
	color: var(--hv-ink);
}

.chips--light .chip {
	border-color: var(--hv-field);
	color: var(--hv-ink);
}

.chips--light a.chip:hover {
	border-color: var(--hv-ink);
	background: transparent;
	color: var(--hv-ink);
}

.chips--light .chip--primary {
	border-color: var(--hv-ink);
	background: var(--hv-ink);
	color: #FFFFFF;
}

.chips--light a.chip--primary:hover {
	background: #000000;
	color: #FFFFFF;
}

.chips--light a.chip.is-active {
	border-color: var(--hv-ink);
	background: var(--hv-ink);
	color: #FFFFFF;
}

.cta-band {
	padding-block: clamp(48px, 7vw, 88px);
	background: var(--hv-orange);
	color: #FFFFFF;
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px 48px;
}

.cta-band__text {
	flex: 1 1 520px;
}

.cta-band__roof {
	color: #FFFFFF;
}

.cta-band h2 {
	margin: 16px 0 12px;
	font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.1;
	color: #FFFFFF;
}

.cta-band p {
	margin: 0;
	font-size: clamp(19px, 1.6vw, 20px);
	font-weight: 700;
	line-height: 1.5;
}

.cta-band__actions {
	display: flex;
	flex: 0 1 360px;
	flex-direction: column;
	gap: 14px;
}

@media (max-width: 760px) {
	.cta-band__actions {
		flex-basis: 100%;
	}
}

/* 10. Pages intérieures, blog, article
   ========================================================================== */
.page-hero {
	padding-block: clamp(40px, 6vw, 72px);
	border-bottom: 1px solid var(--hv-line);
	background: var(--hv-cream);
}

.page-hero .h1 {
	max-width: 900px;
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.08;
}

.page-hero .lead {
	max-width: 720px;
	margin-top: 18px;
}

.page-hero--center {
	text-align: center;
}

.page-hero--center .h1,
.page-hero--center .lead {
	margin-inline: auto;
}

.page-hero--center .eyebrow,
.page-hero--center .breadcrumbs ol {
	justify-content: center;
}

.page-hero--has-cover {
	padding-bottom: clamp(120px, 14vw, 180px);
}

.breadcrumbs {
	margin-bottom: 22px;
	font-size: 14px;
	color: var(--hv-text);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: #A39A8E;
}

.breadcrumbs a {
	color: var(--hv-text);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--hv-orange-ink);
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	color: var(--hv-ink);
	font-weight: 600;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin-top: 22px;
	font-size: 15px;
	color: var(--hv-text);
}

.article-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.page-hero--center .article-meta {
	justify-content: center;
}

.article-cover {
	margin-top: calc(-1 * clamp(96px, 12vw, 150px));
}

.article-cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: var(--hv-shadow-lg);
}

.article-cover figcaption {
	margin-top: 10px;
	font-size: 14px;
	text-align: center;
	color: var(--hv-text);
}

.article-body {
	padding-block: clamp(40px, 6vw, 72px) var(--hv-section);
}

.article-footer {
	margin-top: 48px;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--hv-field);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hv-ink);
	text-decoration: none;
}

.tags a:hover {
	border-color: var(--hv-ink);
}

.author-box {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	background: var(--hv-cream);
}

.author-box__avatar {
	flex: none;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--hv-placeholder);
}

.author-box__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-box__avatar .placeholder {
	min-height: 0;
}

.author-box__avatar .placeholder__mark {
	width: 54%;
}

.author-box strong {
	display: block;
	font-size: 17px;
}

.author-box p {
	margin: 4px 0 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--hv-text);
}

.author-box a {
	font-size: 15px;
}

@media (max-width: 560px) {
	.author-box {
		flex-direction: column;
		align-items: flex-start;
	}
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.post-nav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--hv-line);
	border-radius: 14px;
	color: var(--hv-ink);
	text-decoration: none;
}

.post-nav a:hover {
	border-color: var(--hv-ink);
}

.post-nav span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hv-orange-ink);
}

.post-nav strong {
	font-size: 16px;
	line-height: 1.4;
}

.post-nav__next {
	text-align: right;
}

@media (max-width: 600px) {
	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav__next {
		text-align: left;
	}
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.filter-bar a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid var(--hv-field);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hv-ink);
	text-decoration: none;
}

.filter-bar a:hover {
	border-color: var(--hv-ink);
}

.filter-bar a.is-active {
	border-color: var(--hv-ink);
	background: var(--hv-ink);
	color: #FFFFFF;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--hv-field);
	border-radius: 10px;
	font-weight: 700;
	color: var(--hv-ink);
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	border-color: var(--hv-ink);
}

.pagination .current {
	border-color: var(--hv-ink);
	background: var(--hv-ink);
	color: #FFFFFF;
}

.pagination .dots {
	min-width: 20px;
	border: 0;
}

/* 11. Biens (liste et fiche)
   ========================================================================== */
.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 32px;
	padding: 20px;
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	background: #FFFFFF;
	box-shadow: 0 8px 24px rgba(43, 48, 53, 0.05);
}

.filters .field {
	flex: 1 1 180px;
}

.filters .btn {
	min-height: 52px;
}

.filters__reset {
	align-self: center;
	font-size: 14px;
	font-weight: 600;
}

.results-count {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--hv-text);
}

.bien-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
}

.bien-head__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.bien-head__place {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 17px;
	color: var(--hv-text);
}

.bien-head__price {
	text-align: right;
}

.bien-head__price strong {
	display: block;
	font-family: var(--hv-font-display);
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.1;
}

.bien-head__price span {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: var(--hv-text);
}

@media (max-width: 700px) {
	.bien-head__price {
		text-align: left;
	}
}

.bien-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	align-items: start;
	gap: 56px;
}

.bien-cover {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 20px;
	background: var(--hv-placeholder);
}

.bien-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bien-facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin: 32px 0 48px;
	padding: 0;
	list-style: none;
}

.fact {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--hv-line);
	border-radius: 14px;
	background: #FFFFFF;
}

.fact__label {
	display: block;
	font-size: 13px;
	color: var(--hv-text);
}

.fact__value {
	display: block;
	margin: 2px 0 0;
	font-family: var(--hv-font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.fact .icon-tile {
	width: 40px;
	height: 40px;
}

.bien-block + .bien-block {
	margin-top: 48px;
}

.bien-block > h2 {
	margin-bottom: 18px;
	font-size: clamp(22px, 2.2vw, 26px);
}

.bien-aside {
	position: sticky;
	top: calc(var(--hv-header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.admin-bar .bien-aside {
	top: calc(var(--hv-header-h) + 56px);
}

.contact-card {
	padding: 28px;
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: var(--hv-shadow-lg);
}

.contact-card .contact-card__price {
	margin: 0;
	font-family: var(--hv-font-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.contact-card .contact-card__fees {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--hv-text);
}

.contact-card h2 {
	margin: 24px 0 8px;
	padding-top: 24px;
	border-top: 1px solid var(--hv-line);
	font-size: 19px;
}

.contact-card p {
	font-size: 15px;
	color: var(--hv-text);
}

.contact-card .btn + .btn {
	margin-top: 10px;
}

.contact-card .contact-card__ref {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--hv-text);
}

.agent-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--hv-line);
	border-radius: 16px;
	background: var(--hv-cream);
}

.agent-card__avatar {
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--hv-placeholder);
}

.agent-card__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agent-card__avatar .placeholder {
	min-height: 0;
}

.agent-card__avatar .placeholder__mark {
	width: 56%;
}

.agent-card strong {
	display: block;
	font-size: 16px;
}

.agent-card span {
	display: block;
	font-size: 13px;
	color: var(--hv-text);
}

@media (max-width: 1024px) {
	.bien-layout {
		grid-template-columns: 1fr;
	}

	.bien-aside {
		position: static;
	}
}

.energy {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 640px) {
	.energy {
		grid-template-columns: 1fr;
	}
}

.energy__scale {
	padding: 20px;
	border: 1px solid var(--hv-line);
	border-radius: 14px;
}

.energy__title {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
}

.energy__letters {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
}

.energy__letters span {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	height: 30px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 800;
	opacity: 0.28;
}

.energy__letters span.is-active {
	height: 46px;
	font-size: 20px;
	opacity: 1;
	box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--hv-ink);
}

.energy__value {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--hv-text);
}

.energy__note {
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--hv-text);
}

.dpe-A { background: #009C6D; color: #FFFFFF; }
.dpe-B { background: #52B153; color: #FFFFFF; }
.dpe-C { background: #A5CC74; color: #1F2A12; }
.dpe-D { background: #F4E70F; color: #2B2A05; }
.dpe-E { background: #F0B50F; color: #2E2204; }
.dpe-F { background: #EB8235; color: #2B1405; }
.dpe-G { background: #D7221F; color: #FFFFFF; }
.ges-A { background: #F6EDFD; color: #3B1A55; }
.ges-B { background: #E4C7FA; color: #3B1A55; }
.ges-C { background: #D5AAF6; color: #3B1A55; }
.ges-D { background: #CB95F3; color: #2A0F40; }
.ges-E { background: #BA72EF; color: #FFFFFF; }
.ges-F { background: #A94CEE; color: #FFFFFF; }
.ges-G { background: #8A19DF; color: #FFFFFF; }

.info-box {
	padding: 20px 22px;
	border-radius: 14px;
	background: var(--hv-cream);
	font-size: 15px;
	line-height: 1.6;
	color: var(--hv-ink);
}

.info-box p:last-child {
	margin-bottom: 0;
}

/* 12. Contact, recherche, 404, commentaires
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	align-items: start;
	gap: 64px;
}

@media (max-width: 1024px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.info-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.info-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	background: #FFFFFF;
}

.info-card strong {
	display: block;
	margin-bottom: 2px;
	font-size: 16px;
}

.info-card a,
.info-card span {
	font-size: 15px;
	line-height: 1.5;
	color: var(--hv-text);
	overflow-wrap: anywhere;
}

.info-card a {
	font-weight: 700;
	color: var(--hv-ink);
	text-decoration: none;
}

.info-card a:hover {
	color: var(--hv-orange-ink);
	text-decoration: underline;
}

.contact-aside .prose {
	margin-top: 28px;
	font-size: 16px;
}

.search-form {
	display: flex;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--hv-field);
	border-radius: 14px;
	background: #FFFFFF;
}

.search-form:focus-within {
	border-color: var(--hv-orange-ink);
	box-shadow: 0 0 0 3px rgba(235, 102, 16, 0.2);
}

.search-form label {
	display: flex;
	flex: 1;
	min-width: 0;
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	font-size: 16px;
	font-weight: 500;
	outline: none;
}

.search-form .btn {
	min-height: 48px;
}

@media (max-width: 480px) {
	.search-form .btn {
		padding: 0 14px;
	}

	.search-form .btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
}

.page-hero .search-form {
	max-width: 560px;
	margin-top: 28px;
}

.page-hero--center .search-form {
	margin-inline: auto;
}

.search-results {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.search-result {
	position: relative;
	padding: 22px 24px;
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	background: #FFFFFF;
}

.search-result:hover {
	border-color: var(--hv-ink);
}

.search-result__type {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hv-orange-ink);
}

.search-result h2 {
	margin: 0;
	font-size: 20px;
}

.search-result h2 a {
	color: var(--hv-ink);
	text-decoration: none;
}

.search-result h2 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.search-result p {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--hv-text);
}

.error-404 {
	padding-block: clamp(56px, 9vw, 128px);
	text-align: center;
}

.error-404__art {
	display: block;
	width: min(340px, 78%);
	height: auto;
	margin: 0 auto 36px;
}

.error-404 .h1 {
	max-width: 720px;
	margin-inline: auto;
}

.error-404 .lead {
	max-width: 560px;
	margin-inline: auto;
}

.error-404 .search-form {
	max-width: 520px;
	margin: 32px auto 0;
}

.error-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.comments {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid var(--hv-line);
}

.comments__title {
	font-size: 26px;
}

.comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding-left: 32px;
	list-style: none;
}

.comment-body {
	margin-bottom: 16px;
	padding: 20px 22px;
	border: 1px solid var(--hv-line);
	border-radius: 14px;
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--hv-text);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--hv-ink);
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata a {
	color: var(--hv-text);
	text-decoration: none;
}

.comment-content p {
	margin: 0 0 0.8em;
	font-size: 16px;
}

.reply a {
	font-size: 14px;
	font-weight: 700;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-form p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.comment-form label {
	font-size: 14px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--hv-field);
	border-radius: 10px;
	font-size: 16px;
}

.comment-form .comment-form-cookies-consent {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
}

.comment-form .form-submit input {
	align-self: flex-start;
	min-height: 50px;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	background: var(--hv-orange-btn);
	color: #FFFFFF;
	font-weight: 700;
	cursor: pointer;
}

/* 13. Contenu éditorial (blocs WordPress)
   ========================================================================== */
.prose {
	font-size: 18px;
	line-height: 1.75;
	color: #3A3F45;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

.prose > * {
	margin-top: 0;
	margin-bottom: 0;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2 {
	margin-top: 1.9em;
	margin-bottom: -0.3em;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
}

.prose h3 {
	margin-top: 1.7em;
	margin-bottom: -0.4em;
	font-size: clamp(20px, 2vw, 23px);
	line-height: 1.3;
}

.prose h4 {
	margin-top: 1.5em;
	margin-bottom: -0.5em;
	font-size: 19px;
}

.prose > :first-child {
	margin-top: 0;
}

.prose a {
	color: var(--hv-orange-ink);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
}

.prose strong {
	color: var(--hv-ink);
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: 0.45em;
}

.prose ul li::marker {
	color: var(--hv-orange);
}

.prose ol li::marker {
	font-weight: 700;
	color: var(--hv-orange-ink);
}

.prose blockquote,
.prose .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--hv-orange);
	font-family: var(--hv-font-display);
	font-size: 21px;
	line-height: 1.5;
	color: var(--hv-ink);
}

.prose blockquote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--hv-font-body);
	font-size: 15px;
	font-style: normal;
	color: var(--hv-text);
}

.prose img {
	border-radius: 14px;
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 10px;
	font-size: 14px;
	text-align: center;
	color: var(--hv-text);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.prose th,
.prose td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--hv-line);
	text-align: left;
}

.prose th {
	background: var(--hv-cream);
	font-weight: 700;
	color: var(--hv-ink);
}

.prose .wp-block-table {
	overflow-x: auto;
}

.prose hr {
	margin-block: 2.4em;
	border: 0;
	border-top: 1px solid var(--hv-line);
}

.prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--hv-cream);
	font-size: 0.88em;
}

.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 10px;
	background: var(--hv-orange-btn);
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
	text-decoration: none;
}

.prose .wp-block-button__link:hover {
	background: var(--hv-orange-btn-hover);
	color: #FFFFFF;
}

.prose .is-style-outline .wp-block-button__link {
	border: 1.5px solid var(--hv-ink);
	background: transparent;
	color: var(--hv-ink);
}

.prose .alignwide {
	width: min(1040px, 100vw - 2 * var(--hv-gutter));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose .alignfull img {
	border-radius: 0;
}

.prose .alignleft {
	float: left;
	max-width: 50%;
	margin: 0.3em 1.6em 1em 0;
}

.prose .alignright {
	float: right;
	max-width: 50%;
	margin: 0.3em 0 1em 1.6em;
}

.prose .aligncenter {
	margin-inline: auto;
}

.prose .wp-block-embed iframe {
	width: 100%;
	border-radius: 14px;
}

.prose .wp-block-separator {
	margin-block: 2.4em;
	border: 0;
	border-top: 1px solid var(--hv-line);
}

.prose .has-background {
	padding: 1.2em 1.4em;
	border-radius: 14px;
}

.prose--compact {
	font-size: 16px;
	line-height: 1.7;
}

.page-links {
	margin-top: 32px;
	font-weight: 700;
}

.sticky .card-post__title::before {
	content: "";
}

.bypostauthor {
	display: block;
}

.wp-caption-text,
.gallery-caption {
	font-size: 14px;
	color: var(--hv-text);
}


/* 14. Estimation en ligne (étapes, suggestions d'adresses, résultat)
   ========================================================================== */
.estim-form [hidden],
.estim-progress[hidden],
.autocomplete__list[hidden] {
	display: none !important;
}

.estim-progress {
	margin: 0 0 24px;
}

.estim-progress__label {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--hv-ink);
}

.estim-progress__bar {
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--hv-sand);
}

.estim-progress__bar span {
	display: block;
	width: 33%;
	height: 100%;
	border-radius: inherit;
	background: var(--hv-orange);
	transition: width 0.3s ease;
}

.estim-step {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.estim-step + .estim-step {
	padding-top: 20px;
	border-top: 1px solid var(--hv-line);
}

.estim-step[hidden] + .estim-step,
.estim-step:not([hidden]):first-of-type {
	padding-top: 0;
	border-top: 0;
}

.estim-step__title {
	margin: 0;
	font-family: var(--hv-font-display);
	font-size: 17px;
	font-weight: 700;
}

.estim-step__intro {
	margin-top: -8px;
}

.pills--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pills--2 .pill span {
	min-height: 52px;
	padding: 6px 12px;
	text-align: center;
	line-height: 1.3;
}

.pill input[type="checkbox"]:checked + span::before {
	content: "✓";
	margin-right: 6px;
}

.estim-nav {
	display: flex;
	gap: 12px;
	margin-top: 4px;
}

.estim-nav .btn--primary {
	flex: 1;
}

.consent--cgu {
	padding: 16px;
	border: 1px solid var(--hv-line-2);
	border-radius: 12px;
	background: var(--hv-cream);
	color: var(--hv-ink);
}

.consent--cgu a {
	color: var(--hv-orange-ink);
	text-decoration: underline;
}

/* Suggestions d'adresses */
.autocomplete__box {
	position: relative;
}

.autocomplete__list {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	z-index: 20;
	margin: 0;
	padding: 6px;
	border: 1px solid var(--hv-field);
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: var(--hv-shadow-lg);
	list-style: none;
}

.autocomplete__list li {
	display: flex;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
}

.autocomplete__list li span {
	font-size: 13px;
	color: var(--hv-text);
}

.autocomplete__list li:hover,
.autocomplete__list li[aria-selected="true"] {
	background: var(--hv-orange-soft);
}

/* Résultat */
.estim-result .notice {
	margin-bottom: 20px;
}

.estim-result__label {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hv-text);
}

.estim-result__title {
	margin: 0;
	font-size: 22px;
}

.estim-result__price {
	margin: 6px 0 18px;
	font-family: var(--hv-font-display);
	font-size: clamp(36px, 6vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--hv-orange-ink);
}

.estim-range__bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--hv-orange-soft), var(--hv-orange-light), var(--hv-orange-soft));
}

.estim-range__marker {
	position: absolute;
	top: 50%;
	width: 20px;
	height: 20px;
	border: 4px solid #FFFFFF;
	border-radius: 50%;
	background: var(--hv-orange-btn);
	box-shadow: 0 2px 6px rgba(43, 48, 53, 0.25);
	transform: translate(-50%, -50%);
}

.estim-range__ends {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-weight: 700;
}

.estim-range__ends span:last-child {
	text-align: right;
}

.estim-range__ends small {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--hv-text);
}

.estim-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0 16px;
}

.estim-facts div {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--hv-cream);
}

.estim-facts dt {
	font-size: 12px;
	font-weight: 600;
	color: var(--hv-text);
}

.estim-facts dd {
	margin: 4px 0 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--hv-ink);
}

.estim-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 14px;
}

.estim-badge--elevee {
	background: #EAF6EE;
	color: #1D6437;
}

.estim-badge--moyenne {
	background: var(--hv-orange-soft);
	color: var(--hv-orange-ink);
}

.estim-badge--indicative {
	background: var(--hv-sand);
	color: var(--hv-ink);
}

.estim-result__basis {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--hv-text);
}

.estim-result__subtitle {
	margin: 0 0 10px;
	font-family: var(--hv-font-display);
	font-size: 16px;
}

.estim-table-wrap {
	margin-bottom: 20px;
	overflow-x: auto;
}

.estim-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.estim-table th {
	padding: 8px 10px;
	border-bottom: 2px solid var(--hv-line);
	font-size: 12px;
	font-weight: 700;
	text-align: left;
	color: var(--hv-text);
}

.estim-table td {
	padding: 10px;
	border-bottom: 1px solid var(--hv-line);
	vertical-align: top;
	font-weight: 600;
	color: var(--hv-ink);
}

.estim-table small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--hv-text);
}

.estim-cta {
	margin-top: 24px;
	padding: 20px;
	border-radius: 14px;
	background: var(--hv-sand);
}

.estim-cta p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
}

.estim-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 560px) {
	.estim-facts {
		grid-template-columns: 1fr;
	}

	.estim-facts div {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.estim-facts dd {
		margin: 0;
	}

	.estim-nav {
		flex-direction: column-reverse;
	}
}