/*
Theme Name: Morgane Barrois Immo
Theme URI: https://morganebarroisimmo.com
Author: Morgane Barrois Immo
Description: Thème sur mesure pour l'agence immobilière Morgane Barrois Immo (Marcq-en-Barœul, Wasquehal, Mouvaux). Annonces immobilières, estimation, équipe, formulaires sécurisés.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: mbimmo
License: Propriétaire
*/

:root {
	--ink: #0A2435;
	--text: #3A3A40;
	--muted: #55555C;
	--line: #E6E6EA;
	--soft: #F4F4F6;
	--white: #FFFFFF;
	--accent: #C4A16C;
	--accent-ink: #0A2435;
	--accent-text: #8A6630;
	--gold: #C4A16C;
	--accent-soft: #CCD8E0;
	--dark-2: #0F2F45;
	--dark-line: #2A4C64;
	--dark-muted: #AFC0CC;
	--ok: #0F7A5A;
	--warn: #B4570B;
	--radius-s: 12px;
	--radius: 20px;
	--radius-l: 28px;
	--container: 1320px;
	--gutter: clamp(16px, 3vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 20px; background: var(--ink); color: var(--white); border-radius: 999px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 980px; }
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.muted { color: var(--muted); }
.text { color: var(--text); }

/* Typographie */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent-text); letter-spacing: 0; }
.eyebrow--dot { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; letter-spacing: .04em; }
.eyebrow--dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.display { font-size: clamp(42px, 7vw, 96px); line-height: .98; letter-spacing: -0.045em; }
.title-xl { font-size: clamp(38px, 5.4vw, 80px); line-height: .96; letter-spacing: -0.05em; }
.title-l { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; }
.title-m { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.title-s { font-size: 28px; letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); }
.statement { font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
.statement em { font-style: normal; color: var(--accent-text); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.section-head p { margin: 0; max-width: 460px; color: var(--text); }

/* Boutons & liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, transform .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #B38E57; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #1E4058; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { font-weight: 700; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s; }
.link:hover, .link[aria-current="page"] { background-size: 100% 2px; }

/* Animations */
@keyframes mbUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mbZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.anim-up { animation: mbUp .9s var(--ease) both; }
.delay-1 { animation-delay: .15s; } .delay-2 { animation-delay: .3s; } .delay-3 { animation-delay: .45s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.zoom-hover { overflow: hidden; }
.zoom-hover img { transition: transform .8s var(--ease); }
.zoom-hover:hover img, a:hover .zoom-hover img { transform: scale(1.05); }

/* En-tête */
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid #EDEDF0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; color: var(--white); }
.site-header--overlay .site-header__inner { padding-top: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-transform: lowercase; }
.brand__tag { padding: 3px 9px 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px 30px; font-size: 15px; font-weight: 500; }
.main-nav ul a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s; padding: 6px 0; }
.main-nav ul a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { background-size: 100% 2px; font-weight: 800; }
.site-header--overlay .header-phone { border-color: var(--white); color: var(--white); background: transparent; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; inset: 0; z-index: 30; background: var(--ink); color: var(--white); flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px; padding: 96px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open .nav-toggle { position: relative; z-index: 31; color: var(--white); }
	.main-nav .header-phone { border-color: var(--white); color: var(--white); background: transparent; }
	.nav-open { overflow: hidden; }
}

/* Hero accueil */
.hero { position: relative; min-height: max(640px, 92vh); color: var(--white); display: flex; flex-direction: column; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: mbZoom 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,36,53,.55) 0%, rgba(10,36,53,.25) 35%, rgba(10,36,53,.55) 100%); }
.hero__content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-top: 140px; }
.hero__title { max-width: 980px; }
.search-bar { margin-top: 40px; background: var(--white); color: var(--ink); border-radius: 20px 20px 0 0; padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }

/* Champs */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; width: 100%; }
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.on-dark .field { color: var(--dark-muted); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { background: var(--dark-2); border-color: var(--dark-line); color: var(--white); }
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus { border-color: var(--white); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.on-dark .consent { color: var(--dark-muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.notice { padding: 18px 20px; border-radius: 16px; font-weight: 600; }
.notice--ok { background: var(--ok); color: var(--white); }
.notice--error { background: #7A2617; color: var(--white); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #E1E1E6; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"], .chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip--radio { position: relative; padding: 0; border: 0; background: none; }
.chip--radio input { position: absolute; opacity: 0; }
.chip--radio span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--dark-line); color: var(--white); font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.chip--radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip--radio input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 700; }
.pill--soft { background: var(--soft); }
.pill--ok { background: var(--ok); color: var(--white); }
.pill--warn { background: var(--warn); color: var(--white); }
.pill--accent { background: var(--accent); color: var(--accent-ink); }
.pill--dark { background: var(--ink); color: var(--white); }

/* Intro */
.intro { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; }
.intro .statement { flex: 999 1 640px; min-width: 0; }
.intro__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.intro__side p { margin: 0; color: var(--muted); }

/* Cartes biens */
.grid-biens { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.card-bien { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.card-bien__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card-bien--tall .card-bien__media { aspect-ratio: 4 / 5; }
.card-bien__media img { width: 100%; height: 100%; object-fit: cover; }
.card-bien__tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-bien__body { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.card-bien__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-bien__price { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.card-bien__title { font-weight: 700; font-size: 17px; }
.card-bien__meta { font-size: 14px; color: var(--muted); }
.dpe-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.dpe-badge b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; font-size: 14px; }
.empty-state { padding: 72px 32px; border-radius: 24px; background: var(--soft); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-state strong { font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.center { display: flex; justify-content: center; margin-top: 56px; }

/* Filtres catalogue */
.page-head { padding-top: 64px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-head p { margin: 8px 0 0; color: var(--muted); }
.page-head__count { font-weight: 700; font-size: 18px; }
.filters { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid #EDEDF0; }
.filters form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding-top: 16px; padding-bottom: 20px; }
.filters .field { flex: 1 1 160px; }
.filters .field select { font-weight: 600; }
.segmented { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--soft); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.filters__reset { min-height: 48px; display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.pagination { margin-top: 56px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Accompagnement (onglets) */
.split { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: stretch; }
.split__media { flex: 1 1 420px; min-width: 0; position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.split__body { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.tabs { display: inline-flex; align-self: flex-start; padding: 5px; border-radius: 999px; background: #133650; }
.tabs button { min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; color: var(--white); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.tab-panel[hidden] { display: none; }
.tab-panel { display: flex; flex-direction: column; gap: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.steps li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid #21435B; }
.steps b { font-weight: 800; font-size: 15px; color: var(--accent); }
.steps strong { display: block; font-size: 17px; }
.steps span { font-size: 14px; color: var(--dark-muted); }
.section--light .steps li { border-color: var(--line); }

/* Équipe & stats */
.team-intro { display: flex; flex-wrap: wrap-reverse; gap: 56px 80px; align-items: center; }
.team-intro__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.team-intro__media { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.team-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { padding: 22px; border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.stat b { font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.placeholder { border-radius: 24px; background: var(--soft); border: 2px dashed #D4D4DA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 32px; color: var(--muted); font-size: 14px; }
.placeholder strong { color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member__photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 26px; letter-spacing: -0.03em; }
.member__role { font-weight: 600; color: var(--accent-text); }
.member p { margin: 0; color: var(--muted); font-size: 15px; }

/* Communes */
.communes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.commune { position: relative; border-radius: 22px; overflow: hidden; min-height: 420px; background: #E4E4E8; text-decoration: none; color: var(--ink); display: block; }
.commune img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.commune__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.commune__label { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.commune__label .pill { font-size: 15px; font-weight: 800; padding: 8px 16px; }

/* Avis */
.reviews { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.reviews__head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.reviews__list { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 28px; border-radius: 20px; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 17px; font-weight: 500; }
.review figcaption { font-size: 14px; color: var(--muted); }
.stars { color: var(--accent-text); font-weight: 800; letter-spacing: 2px; }

/* Bandeau CTA */
.cta-band { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; }
.cta-band__text { flex: 1 1 520px; min-width: 0; padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 56px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta-band__text p { margin: 0; font-size: 18px; color: var(--accent-soft); max-width: 480px; }
.cta-band__media { flex: 1 1 360px; min-height: 320px; position: relative; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-dark { border-radius: var(--radius-l); background: var(--ink); color: var(--white); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-dark p { margin: 8px 0 0; color: var(--dark-muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-start; }
.contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__form { flex: 1 1 520px; min-width: 0; }
.panel-dark { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
.panel-dark h2 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 8px; }
.contact-lines { display: flex; flex-direction: column; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1.5px solid var(--line); text-decoration: none; color: inherit; }
.contact-line:last-child { border-bottom: 1.5px solid var(--line); }
.contact-line small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-line strong { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.contact-line .icon { flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; }
.contact-line .icon--dark { background: var(--ink); }
.contact-dark .contact-line { border-color: #1B3D55; }
.contact-dark .contact-line small { color: var(--dark-muted); }
.map { border-radius: 22px; overflow: hidden; min-height: 280px; background: var(--soft); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Pied de page */
.site-footer { background: var(--ink); color: #9FB2C0; font-size: 14px; }
.site-footer a { color: inherit; }
.site-footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__top h2 { font-size: 15px; letter-spacing: 0; color: var(--white); margin-bottom: 14px; }
.site-footer__top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__top a { text-decoration: none; }
.site-footer__top a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer__legal { border-top: 1px solid #1B3D55; padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #2A4C64; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { border-color: var(--white); color: var(--white); }

/* Fiche bien */
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(160px, 260px)); gap: 10px; border-radius: 24px; overflow: hidden; }
.gallery button { position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--soft); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 540px); }
.gallery--1 button:first-child { grid-column: auto; grid-row: auto; }
.gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,36,53,.7); color: var(--white); font-weight: 700; font-size: 16px; }
@media (max-width: 760px) {
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 140px; }
	.gallery button:first-child { grid-column: 1 / span 2; grid-row: 1; }
	.gallery button:nth-child(n+4) { display: none; }
	.gallery button:nth-child(3) .gallery__more-sm { display: flex; }
}
.gallery__more-sm { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,36,53,.96); color: var(--white); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; font-weight: 700; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 16px 24px; }
.lightbox__stage img { max-width: calc(100% - 160px); max-height: 100%; object-fit: contain; border-radius: 12px; }
.round-btn { flex: none; width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; }
.round-btn--ghost { border: 1.5px solid var(--white); background: transparent; color: var(--white); }
@media (max-width: 640px) {
	.lightbox__stage { position: relative; padding: 0 0 24px; }
	.lightbox__stage img { max-width: 100%; border-radius: 0; }
	.lightbox__stage .round-btn { position: absolute; bottom: 32px; }
	.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
}
.bien-layout { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; padding-top: 48px; padding-bottom: 96px; }
.bien-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.bien-aside { flex: 1 1 360px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.bien-head { display: flex; flex-direction: column; gap: 14px; }
.bien-head .city { font-size: 18px; font-weight: 600; color: var(--muted); margin: 0; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.keyfact { padding: 20px; border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 2px; }
.keyfact b { font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.keyfact span { font-size: 13px; color: var(--muted); }
.prose { font-size: 17px; color: var(--text); }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.4em 0 .6em; color: var(--ink); }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; }
.prose h3 { font-size: 21px; letter-spacing: -0.02em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--accent-text); }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #EDEDF0; font-size: 15px; }
.spec-list li span { color: var(--muted); }
.spec-list li b { text-align: right; }
.energy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.energy__scale { display: flex; flex-direction: column; gap: 6px; }
.energy__scale > span { font-weight: 700; font-size: 14px; }
.energy__row { display: flex; align-items: center; gap: 10px; }
.energy__bar { display: flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 0 6px 6px 0; font-weight: 800; font-size: 13px; }
.energy__row.is-active .energy__bar { height: 40px; font-size: 18px; }
.energy__row em { font-style: normal; font-size: 13px; font-weight: 700; }
.legal-box { padding: 28px; border-radius: 20px; border: 1.5px solid #EDEDF0; font-size: 14px; color: var(--text); display: flex; flex-direction: column; gap: 12px; }
.legal-box h2 { font-size: 20px; letter-spacing: -0.02em; }
.legal-box p { margin: 0; }
.legal-box strong { color: var(--ink); }
.visit-card { padding: 28px; border-radius: 24px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 18px; }
.visit-card__price { font-weight: 800; font-size: 40px; letter-spacing: -0.04em; line-height: 1.1; }
.visit-card small { font-size: 13px; color: var(--dark-muted); display: block; }
.visit-card form { display: flex; flex-direction: column; gap: 10px; }
.agent-mini { padding: 20px; border-radius: 20px; background: var(--soft); display: flex; align-items: center; gap: 16px; font-size: 14px; }
.agent-mini img, .agent-mini .avatar-ph { flex: none; width: 56px; height: 56px; border-radius: 999px; object-fit: cover; background: #E1E1E6; }
.agent-mini strong { display: block; font-size: 16px; }
@media (max-width: 1040px) { .bien-aside { position: static; } }

/* Estimation */
.estim { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; padding-top: 72px; padding-bottom: 96px; }
.estim__intro { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.estim__intro .photo { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; }
.estim__intro .photo img { width: 100%; height: 100%; object-fit: cover; }
.estim__form { flex: 1 1 460px; min-width: 0; }
.progress { display: flex; flex-direction: column; gap: 10px; }
.progress__meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--dark-muted); }
.progress__bar { height: 6px; border-radius: 999px; background: #1E4058; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 33%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.step { display: flex; flex-direction: column; gap: 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; padding: 0; margin-bottom: 20px; }
.js .step:not(.is-current) { display: none; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.no-js .step-nav [data-step-prev], .no-js .step-nav [data-step-next] { display: none; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.type-grid .chip--radio span { width: 100%; min-height: 64px; border-radius: 16px; font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { padding: 30px; border-radius: 22px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.card b { font-weight: 800; font-size: 15px; color: var(--accent-text); }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card--soft { background: var(--soft); min-height: 240px; }
.card--soft b { font-size: 56px; letter-spacing: -0.05em; line-height: 1; }
.card--soft h3 { font-size: 26px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; min-height: 72px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-weight: 700; font-size: 19px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background-color .2s, color .2s; }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--white); }
.faq details p { margin: 0; padding: 0 56px 24px 0; color: var(--text); }
.success { display: flex; flex-direction: column; gap: 16px; padding: 12px 0; align-items: flex-start; }
.success__icon { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }

/* Pages génériques */
.page-hero { padding-top: 72px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.page-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.page-hero__text p { margin: 0; }
.page-hero__media { flex: 1 1 400px; min-width: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.history { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.history > div:first-child { flex: 1 1 320px; min-width: 0; }
.history .prose { flex: 2 1 560px; min-width: 0; color: #CCD8E0; font-size: 18px; }
.simple-page { padding-top: 72px; padding-bottom: 104px; }
.simple-page h1 { margin-bottom: 32px; }
.todo { background: #FFF4F1; color: #7A2617; border-radius: 12px; padding: 2px 8px; font-weight: 600; }
.notice-bar { background: #FFF4F1; color: #7A2617; font-size: 13px; font-weight: 600; text-align: center; padding: 10px 24px; }

/* Compléments */
[hidden] { display: none !important; }
.no-js .js-only { display: none; }
.section--dark .panel-dark { background: #0F2F45; }
.section--dark .panel-dark.on-dark .field input,
.section--dark .panel-dark.on-dark .field select,
.section--dark .panel-dark.on-dark .field textarea { background: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; color: var(--ink); background: var(--soft); }
.prose figure { margin: 0; overflow-x: auto; }
.brand__logo { max-height: 44px; width: auto; }
.site-header--overlay .brand__logo { filter: brightness(0) invert(1); }
@media (max-width: 640px) {
	.hero { min-height: 100svh; }
	.hero__content { padding-top: 120px; }
	.search-bar { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 20px 20px 0 0; }
	.btn { padding: 0 22px; }
	.btn-row .btn { flex: 1 1 auto; }
	.cta-dark .btn, .cta-band .btn { width: 100%; }
	.contact-line strong { font-size: 22px; }
	.faq details p { padding-right: 0; }
}
@media (max-width: 640px) {
	.search-bar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px var(--gutter); }
	.search-bar .btn { grid-column: 1 / -1; }
	.search-bar .field select { min-height: 46px; font-size: 14px; }
	.hero { min-height: auto; }
	.hero__content { padding-top: 140px; gap: 22px; }
}

/* Identité Morgane Barrois Immobilier : bleu nuit, or, monogramme */
.section--dark .eyebrow, .on-dark .eyebrow, .cta-band .eyebrow, .cta-dark .eyebrow { color: var(--gold); }
.contact-line .icon { color: var(--accent-ink); }
.contact-line .icon--dark { color: var(--white); }
.success__icon { color: var(--accent-ink); }
.section--dark, .cta-band, .cta-dark { background-image: url("assets/img/monogram-ghost.svg"); background-repeat: no-repeat; background-size: min(560px, 70%) auto; background-position: right -90px bottom -70px; }
.cta-band__media { z-index: 0; }
.brand { line-height: 0; }
.brand__svg { display: block; height: 46px; width: auto; color: var(--ink); }
.site-header--overlay .brand__svg, .site-footer .brand__svg, .nav-open .brand__svg { color: var(--white); }
.site-footer .brand__svg { height: 52px; }
@media (max-width: 640px) { .brand__svg { height: 36px; } }
.hero::after { background: linear-gradient(180deg, rgba(10,36,53,.62) 0%, rgba(10,36,53,.28) 38%, rgba(10,36,53,.62) 100%); }
.site-footer .brand { display: block; max-width: 280px; }
.site-footer .brand__svg { height: auto; width: 100%; }

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

/* Photo d'équipe horizontale */
.team-intro__media.is-landscape, .page-hero__media.is-landscape { aspect-ratio: 4 / 3; }
