/* =============================================================
   Alliance Immobilière Romande — feuille de style du site
   Reprise fidèle du site actuel : police Jost, rouge #C70000,
   encre #1C2127, rose poudré #F8F0ED, conteneur de 1410 px,
   bandeaux 1920 × 500 px. Le moteur immobilier reprend la même
   grammaire (champs soulignés, boutons rouges arrondis).
   ============================================================= */
:root {
  --red: #C70000;
  --red-dark: #A00000;
  --red-on-dark: #FF6B6B;
  --ink: #1C2127;
  --text: #2B2F36;
  --muted: #6B7079;
  --line: #CFCFCF;
  --line-soft: #EAE3E0;
  --blush: #F8F0ED;
  --font: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --container: 1440px;
  --gutter: 15px;
  --header-h: 170px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 30px 70px rgba(28, 33, 39, .14);
  --shadow-soft: 0 10px 30px rgba(28, 33, 39, .07);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2127' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.875; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.3; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--red); }
body.menu-open { overflow: hidden; }

/* ---------- Typographie ---------- */
.section-title { font-size: clamp(1.625rem, 1.05rem + 1.25vw, 2.5rem); text-transform: uppercase; line-height: 1.3; margin-bottom: 28px; }
.section-title.is-centered { text-align: center; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose.is-justified { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.prose.is-centered { text-align: center; }
.prose a { color: var(--red); }
.prose ul { padding-left: 1.2em; margin: 0 0 14px; }
.prose code { font-size: .92em; background: var(--blush); padding: 1px 6px; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; padding: 14px 45px; border: 1px solid var(--red); border-radius: var(--radius); background: var(--red); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .03em; line-height: 1.2; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn .icon { width: 18px; height: 18px; }
.btn-outline { background: transparent; color: var(--red); }
.btn-outline:hover { background: var(--red); border-color: var(--red); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }
.btn-row.is-centered { justify-content: center; }

/* ---------- En-tête ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 60; color: #fff; }
.site-header.is-solid { background: var(--ink); }
body.header-solid main { padding-top: 120px; }
.header-inner { max-width: 1920px; height: var(--header-h); margin: 0 auto; padding: 0 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid .header-inner { height: 120px; }
.header-left, .header-right { display: flex; align-items: center; }
.header-left { gap: 100px; }
.header-right { gap: 44px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; background: none; border: 0; color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.menu-icon { display: grid; gap: 6px; width: 24px; }
.menu-icon span { display: block; height: 1.5px; border-radius: 2px; background: currentColor; transition: width .25s var(--ease); }
.menu-icon span:first-child { width: 24px; }
.menu-icon span:last-child { width: 15px; }
.menu-toggle:hover .menu-icon span:last-child { width: 24px; }
.header-logo { display: block; }
.header-logo img { width: 229px; height: auto; transition: width .3s var(--ease); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; letter-spacing: .02em; text-decoration: none; }
.header-phone .icon { display: none; width: 20px; height: 20px; }
.header-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: 40px; color: #fff; }
.header-social .icon { width: 19px; height: 19px; }
.header-phone:hover, .header-social:hover { opacity: .75; }
/* Barre compacte qui suit le défilement */
.site-header.is-stuck { position: fixed; background: rgba(28, 33, 39, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); animation: header-in .35s var(--ease); }
.site-header.is-stuck .header-inner { height: 80px; }
.site-header.is-stuck .header-logo img { width: 160px; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Menu latéral ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s linear .4s; }
.offcanvas.is-open { visibility: visible; pointer-events: auto; transition: none; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(12, 14, 18, .55); opacity: 0; transition: opacity .35s var(--ease); }
.offcanvas.is-open .offcanvas-backdrop { opacity: 1; }
.offcanvas-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(430px, 100%); display: flex; flex-direction: column; padding: 34px 44px 40px; overflow-y: auto; background: var(--ink); color: #fff; transform: translateX(-100%); transition: transform .4s var(--ease); }
.offcanvas.is-open .offcanvas-panel { transform: none; }
.oc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.oc-logo img { width: 190px; }
.oc-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: #fff; }
.oc-close .icon { width: 26px; height: 26px; }
.oc-menu { list-style: none; }
.oc-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.oc-row { display: flex; align-items: center; justify-content: space-between; }
.oc-row a { flex: 1; padding: 14px 0; color: #fff; font-size: 16px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.oc-row a:hover, .oc-menu > li.is-active > .oc-row a { color: var(--red-on-dark); }
.oc-sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: #fff; }
.oc-sub-toggle .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.oc-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.oc-sub { list-style: none; padding: 0 0 14px 14px; }
.oc-sub a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .72); font-size: 15px; text-decoration: none; line-height: 1.5; }
.oc-sub a:hover, .oc-sub a[aria-current] { color: #fff; }
.oc-foot { display: grid; gap: 4px; margin-top: auto; padding-top: 40px; }
.oc-phone { color: #fff; font-size: 26px; font-weight: 500; text-decoration: none; }
.oc-mail { color: rgba(255, 255, 255, .72); text-decoration: none; }
.oc-social { display: grid; place-items: center; width: 42px; height: 42px; margin-top: 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; }
.oc-social:hover { border-color: #fff; }

/* ---------- Accueil : visuel principal ---------- */
.hero { position: relative; z-index: 2; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 21, 26, .42) 0%, rgba(18, 21, 26, .08) 30%, rgba(18, 21, 26, .12) 72%, rgba(18, 21, 26, .3) 100%), linear-gradient(90deg, rgba(18, 21, 26, .32) 0%, rgba(18, 21, 26, 0) 62%); }
.hero-inner { position: relative; min-height: max(640px, 75vh); display: flex; align-items: center; padding-top: 120px; padding-bottom: 70px; }
.hero-text { width: 100%; max-width: calc(100% - 510px); }
.hero-title { max-width: 11.5em; margin-bottom: 18px; color: #fff; font-size: clamp(2.3rem, 1.2rem + 3vw, 4.5rem); font-weight: 400; line-height: 1.2; text-shadow: 0 2px 24px rgba(0, 0, 0, .15); }
.hero-sub { max-width: 340px; margin: 0; font-size: 16px; line-height: 2; }
.hero-card { position: absolute; right: var(--gutter); bottom: -78px; z-index: 3; width: 450px; }

/* Recherche rapide */
.hero-search { display: flex; align-items: stretch; max-width: 780px; margin-top: 36px; padding: 6px; border-radius: var(--radius); background: #fff; box-shadow: 0 22px 50px rgba(0, 0, 0, .2); color: var(--ink); }
.hs-tx { display: flex; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 6px; background: var(--blush); }
.hs-tx label { position: relative; display: flex; }
.hs-tx input { position: absolute; opacity: 0; pointer-events: none; }
.hs-tx span { display: flex; align-items: center; padding: 0 18px; border-radius: 4px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.hs-tx input:checked + span { background: #fff; color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.hs-tx input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 1px; }
.hs-select, .hs-place input { height: 54px; padding: 0 18px; border: 0; background-color: transparent; color: var(--ink); font-size: 15px; outline: none; }
.hs-select { min-width: 170px; padding-right: 38px; border-left: 1px solid var(--line-soft); -webkit-appearance: none; appearance: none; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; }
.hs-place { flex: 1; min-width: 0; border-left: 1px solid var(--line-soft); }
.hs-place input { width: 100%; }
.hs-select:focus, .hs-place input:focus { background-color: #FCF8F6; }
.hs-submit { display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.hs-submit:hover { background: var(--red-dark); }
.hs-submit .icon { width: 18px; height: 18px; }

/* Suggestions de localités */
.place-field { position: relative; }
.place-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; max-height: 300px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px rgba(28, 33, 39, .2); color: var(--ink); text-align: left; }
.place-list[hidden] { display: none; }
.place-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.place-list li .icon { width: 16px; height: 16px; color: var(--red); }
.place-list li:hover, .place-list li[aria-selected="true"] { background: var(--blush); }

/* ---------- Formulaires de contact ---------- */
.form-card { padding: 46px 50px 50px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); color: var(--text); }
.form-title { margin-bottom: 30px; font-size: 27px; font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-full { grid-column: 1 / -1; }
.f-field input, .f-field textarea { width: 100%; padding: 12px 12px 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 15px; outline: none; transition: border-color .2s; }
.f-field input:focus, .f-field textarea:focus { border-bottom-color: var(--red); }
.f-field ::placeholder { color: #8A8F96; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; opacity: 1; }
.f-field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.btn-send { width: 100%; min-height: 50px; margin-top: 26px; border: 0; border-radius: var(--radius); background: var(--red); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; transition: background-color .2s; }
.btn-send:hover { background: var(--red-dark); }
.f-legal { margin: 14px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.f-legal a { color: inherit; }
.form-errors { margin-bottom: 18px; padding: 12px 16px; border-left: 3px solid var(--red); border-radius: 6px; background: #FFF1F1; color: #7A0000; font-size: 14.5px; line-height: 1.6; }
.form-errors p { margin: 0; }
.form-success { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-left: 3px solid #2E7D4F; border-radius: 6px; background: #F1F8F3; color: #1E4D32; }
.form-success .icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: #2E7D4F; }
.form-success p { margin: 0; line-height: 1.6; }

/* ---------- Sections texte + image ---------- */
.split { padding: 110px 0 95px; }
.split-intro { padding-top: 184px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 570px); column-gap: clamp(40px, 9.5%, 135px); align-items: start; }
.split-grid--second { grid-template-columns: minmax(0, 540px) minmax(0, 690px); justify-content: space-between; align-items: center; }
.split-grid--about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 7%, 100px); align-items: center; }
.split-img { width: 100%; border-radius: var(--radius-lg); }
.split-img--small { width: 600px; margin-top: 64px; }
.split-second { padding: 200px 0 140px; }
.split-second .split-img { aspect-ratio: 689 / 252; object-fit: cover; }
.split-about { padding-top: 110px; }
.split-founder { padding: 40px 0 120px; }
.split-founder .btn { margin-top: 34px; }

/* ---------- Bandeau des services ---------- */
.services-band { margin: 0 20px; padding: 65px 0 72px; border-radius: 20px; background: var(--blush); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px 40px; }
.svc { position: relative; padding: 0 12px; text-align: center; }
.svc-icon { display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 28px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); transition: background-color .25s, color .25s; }
.svc-icon .icon { width: 38px; height: 38px; stroke-width: 1.15; }
.svc-title { margin-bottom: 20px; font-size: clamp(1.05rem, .85rem + .45vw, 1.25rem); line-height: 1.45; text-transform: uppercase; }
.svc-title a { color: inherit; text-decoration: none; }
.svc-title a::after { content: ""; position: absolute; inset: -12px; border-radius: 12px; }
.svc-text { max-width: 410px; margin: 0 auto; font-size: 15px; line-height: 2; }
.svc:hover .svc-icon { background: var(--red); color: #fff; }
.svc:hover .svc-title a { color: var(--red); }

/* ---------- Bandeaux des pages intérieures ---------- */
.page-banner { position: relative; max-width: 1920px; height: 500px; margin: 0 auto; overflow: hidden; background: var(--ink); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-banner::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 210px; background: linear-gradient(180deg, rgba(15, 18, 22, .45), rgba(15, 18, 22, 0)); pointer-events: none; }
.page-banner.is-natural { height: auto; }
.page-banner.is-natural img { height: auto; }
.page-intro { padding: 104px 0 86px; }
.page-intro .prose { max-width: 1388px; margin: 0 auto; }
.page-intro .section-title { margin-bottom: 36px; }
.page-intro--listing { padding-bottom: 54px; }
.page-cta { padding: 20px 0 110px; }
.page-cta .btn-row { margin-top: 50px; }

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; padding: 30px 0 100px; }
.marquee-row { padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); color: var(--ink); font-size: clamp(2.6rem, 1rem + 4.3vw, 7rem); font-weight: 600; line-height: 1.12; text-transform: uppercase; white-space: nowrap; }
.marquee-row + .marquee-row { margin-top: 4px; }
.marquee-row.is-outline { color: transparent; -webkit-text-stroke: 1.2px var(--red); }
.marquee-track { display: inline-flex; animation: marquee 70s linear infinite; will-change: transform; }
.marquee-track span { padding-right: .28em; }
.marquee-row.is-outline .marquee-track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Biens : accueil ---------- */
.home-listings { padding: 40px 0 110px; }
.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-head .section-title { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips-empty { color: var(--muted); text-align: center; }
.home-listings .btn-row { margin-top: 50px; }

/* Vignettes */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-soft), 0 12px 34px rgba(28, 33, 39, .06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-soft), 0 24px 50px rgba(28, 33, 39, .13); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blush); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.card-title { margin-bottom: 8px; font-size: 19px; line-height: 1.35; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { color: var(--red); }
.card-place { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card-place .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--red); }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; list-style: none; font-size: 14px; }
.card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.card-specs .icon { width: 16px; height: 16px; color: var(--muted); }
.card-price { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--red); font-size: 19px; font-weight: 600; }
.card.is-sold .card-media img { filter: grayscale(.6); opacity: .85; }
.tag { pointer-events: none; position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; }
.tag-red { background: var(--red); color: #fff; }
.tag-dark { background: var(--ink); color: #fff; }
.tag-light { background: rgba(255, 255, 255, .94); color: var(--ink); }
.tag-muted { background: #E6E6E6; color: #555; }
.tag-end { right: 16px; left: auto; }

/* ---------- Cartes Google Maps ---------- */
.map-section { padding: 0 20px 40px; }
.map-home { position: relative; }
.map-wrap { position: relative; overflow: hidden; border-radius: 20px; background: #ECE6E3; }
.map { width: 100%; height: 580px; }
.map-wrap--listing { margin-bottom: 12px; }
.map-wrap--listing .map { height: 540px; }
.map-wrap--detail .map { height: 380px; }
.map-consent { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #EFE6E2, var(--blush)); }
.map-consent[hidden] { display: none; }
.map-consent-box { max-width: 430px; text-align: center; }
.map-consent-box > .icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--red); stroke-width: 1.3; }
.mc-title { margin-bottom: 8px; color: var(--ink); font-size: 20px; font-weight: 500; text-transform: uppercase; }
.map-consent-box p { font-size: 14.5px; line-height: 1.7; }
.map-float { position: absolute; top: 40px; left: 40px; z-index: 3; max-width: 390px; padding: 34px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.map-float .section-title { margin-bottom: 12px; font-size: 26px; }
.map-float p { font-size: 15px; line-height: 1.7; }
.map-note { margin-bottom: 30px; color: var(--muted); font-size: 13.5px; }
.gm-card { display: block; width: 240px; color: var(--ink); font-family: var(--font); text-decoration: none; }
.gm-card img { width: 100%; height: 130px; margin-bottom: 8px; border-radius: 6px; object-fit: cover; }
.gm-card strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.gm-card span { display: block; margin: 2px 0; color: var(--muted); font-size: 13px; }
.gm-card em { color: var(--red); font-size: 14.5px; font-style: normal; font-weight: 600; }

/* ---------- Pages de résultats ---------- */
.listing { padding: 0 0 110px; }
.tabs-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; background: var(--blush); }
.tabs--light { border: 1px solid var(--line-soft); background: #fff; }
.tab { padding: 9px 20px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: #fff; color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .07); }
.tabs--light .tab.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.filters { margin-bottom: 34px; padding: 26px 28px 28px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.filters-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 26px; align-items: end; }
.ff label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.ff input, .ff select { width: 100%; height: 46px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background-color: transparent; color: var(--ink); font-size: 15.5px; outline: none; }
.ff select { padding-right: 26px; -webkit-appearance: none; appearance: none; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 4px center; background-size: 15px; }
.ff input:focus, .ff select:focus { border-bottom-color: var(--red); }
.ff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ff-actions .btn { min-height: 48px; padding: 12px 28px; }
.link-reset { color: var(--muted); font-size: 14px; }
.notice { margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--blush); font-size: 15px; }
.notice-warn { background: #FFF4DE; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.results-count { margin: 0; }
.results-count strong { color: var(--red); font-size: 18px; font-weight: 600; }
.results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { color: var(--muted); font-size: 14px; }
.sort-form select { height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line-soft); border-radius: var(--radius); -webkit-appearance: none; appearance: none; background: #fff var(--chevron) no-repeat right 12px center / 14px; font-size: 14.5px; }
.view-toggle { display: inline-flex; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.view-toggle a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; color: var(--muted); font-size: 14px; text-decoration: none; }
.view-toggle a.is-active { background: var(--ink); color: #fff; }
.view-toggle .icon { width: 16px; height: 16px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 50px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--ink); font-weight: 500; text-decoration: none; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .is-current { border-color: var(--red); background: var(--red); color: #fff; }
.pagination .pg-gap { border: 0; }
.pagination .icon { width: 18px; height: 18px; }
.empty-state { padding: 56px 28px; border-radius: var(--radius-lg); background: var(--blush); text-align: center; }
.empty-state p:last-of-type { margin-bottom: 0; }
.empty-title { color: var(--ink); font-size: 20px; font-weight: 500; }
.empty-state a:not(.btn) { color: var(--red); }
.empty-state .btn-row { margin-top: 26px; }

/* ---------- Fiche d'un bien ---------- */
.property { padding: 34px 0 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); }
.pd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 28px; }
.pd-head-main { flex: 1 1 520px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-tags .tag { position: static; }
.pd-tags .tag-light { box-shadow: inset 0 0 0 1px var(--line-soft); }
.pd-title { margin-bottom: 10px; font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.6rem); line-height: 1.2; }
.pd-place { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.pd-place .icon { width: 18px; height: 18px; color: var(--red); }
.pd-price-box { text-align: right; }
.pd-price-label { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.pd-price { margin: 2px 0 0; color: var(--red); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.25; }
.pd-charges { margin: 0; font-size: 15px; }
.pd-ref { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.pd-gallery { display: grid; gap: 10px; margin-bottom: 54px; overflow: hidden; border-radius: var(--radius-lg); }
.pd-gallery--1 { grid-template-columns: 1fr; height: clamp(280px, 42vw, 600px); }
.pd-gallery--2 { grid-template-columns: 1fr 1fr; height: clamp(260px, 36vw, 500px); }
.pd-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(320px, 40vw, 560px); }
.pd-gallery--4, .pd-gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(320px, 40vw, 560px); }
.pd-gallery--3 .pd-shot:first-child, .pd-gallery--4 .pd-shot:first-child, .pd-gallery--5 .pd-shot:first-child { grid-row: 1 / 3; }
.pd-gallery--4 .pd-shot:last-child { grid-column: 2 / 4; }
.pd-shot { position: relative; display: block; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--blush); cursor: zoom-in; }
div.pd-shot { cursor: default; }
.pd-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
button.pd-shot:hover img { transform: scale(1.03); }
.pd-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(28, 33, 39, .55); color: #fff; font-size: 18px; font-weight: 500; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: start; }
.pd-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.pd-section:last-child { margin-bottom: 0; border-bottom: 0; }
.pd-h2 { margin-bottom: 22px; font-size: 22px; text-transform: uppercase; }
.pd-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pd-spec { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: start; padding: 16px; border-radius: 12px; background: var(--blush); }
.pd-spec .icon { grid-row: 1 / 3; width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.pd-spec dt { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }
.pd-spec dd { margin: 0; color: var(--ink); font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.pd-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; list-style: none; }
.pd-features li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.pd-features .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--red); }
.pd-zone-note { color: var(--muted); font-size: 15px; }
.pd-aside { display: grid; gap: 18px; }
@media (min-width: 1025px) and (min-height: 940px) { .pd-aside { position: sticky; top: 100px; } }
.form-card--aside { padding: 34px 32px; }
.form-card--aside .form-title { margin-bottom: 18px; font-size: 22px; }
.agency-card { display: grid; gap: 8px; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.agency-card img { width: 170px; margin-bottom: 6px; }
.agency-card p { margin: 0 0 6px; color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.7; }
.agency-card a { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; text-decoration: none; }
.agency-card a .icon { width: 17px; height: 17px; color: var(--red-on-dark); }
.agency-card a:hover { color: #FFC2C2; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .btn { padding: 9px 10px; }
.pd-doc { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink); font-size: 14.5px; line-height: 1.5; text-decoration: none; }
.pd-doc .icon { width: 20px; height: 20px; color: var(--red); }
.pd-doc:hover { border-color: var(--red); color: var(--red); }
.similar { padding: 30px 0 110px; }
.similar .section-title { margin-bottom: 34px; }

/* ---------- Contact ---------- */
.contact-section { padding: 104px 0 110px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 675px) minmax(0, 555px); justify-content: space-between; gap: 60px; align-items: start; }
.info-block { display: flex; gap: 14px; margin-top: 34px; }
.info-icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; margin-top: 4px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); }
.info-icon .icon { width: 17px; height: 17px; }
.info-title { margin-bottom: 12px; font-size: 22px; line-height: 1.6; }
.info-block p { margin: 0; line-height: 1.9; }
.info-block a { text-decoration: none; }
.info-block a:hover { color: var(--red); }
.contact-form-col { padding-top: 58px; }

/* ---------- Pages légales et 404 ---------- */
.legal { padding: 70px 0 110px; }
.legal-inner { max-width: 920px; }
.legal .prose h2 { margin: 38px 0 12px; font-size: 20px; text-transform: uppercase; }
.legal-updated { margin-top: 40px; color: var(--muted); font-size: 14px; }
.notfound { padding: 90px 0 130px; text-align: center; }
.notfound-inner { max-width: 780px; }
.notfound-code { margin-bottom: 14px; color: transparent; font-size: clamp(6rem, 4rem + 8vw, 11rem); font-weight: 600; line-height: 1; -webkit-text-stroke: 1.5px var(--red); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); padding: 60px 20px 48px; text-align: center; }
.footer-title { margin-bottom: 14px; color: #fff; font-size: 16px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.footer-col p { margin: 0; font-size: 14px; line-height: 2.05; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { color: #FFA3A3; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px; padding: 18px 30px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .72); font-size: 13px; text-decoration: none; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--red); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--red); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s, color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); color: #fff; }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 90; display: flex; justify-content: center; animation: cookie-in .5s .4s both var(--ease); }
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cookie-inner { display: flex; align-items: center; gap: 24px; width: 100%; max-width: 980px; padding: 22px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
.cookie-title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.cookie-title .icon { width: 20px; height: 20px; color: var(--red); }
.cookie-text p { margin: 0; font-size: 14px; line-height: 1.6; }
.cookie-text p + p { margin-top: 2px; }
.cookie-text a { color: var(--red); }
.cookie-current { margin-top: 6px !important; color: var(--muted); font-size: 13px; }
.cookie-current[hidden] { display: none; }
.cookie-actions { display: flex; flex: none; gap: 10px; }

/* ---------- Visionneuse photos ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(12, 14, 18, .94); }
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1400px, 92vw); margin: 0; text-align: center; }
.lb-figure img { width: auto; max-height: 84vh; margin: 0 auto; border-radius: 8px; }
.lb-count { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.lb-close, .lb-prev, .lb-next { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .09); color: #fff; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 20px; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); }
.lightbox .icon { width: 26px; height: 26px; }

/* ---------- Adaptations ---------- */
@media (max-width: 1500px) {
  :root { --gutter: 40px; }
  .header-inner { padding: 0 40px; }
  .header-left { gap: 64px; }
}
@media (max-width: 1200px) {
  .hero-card { width: 410px; }
  .hero-text { max-width: calc(100% - 450px); }
  .hs-select { min-width: 140px; }
  .hs-tx span { padding: 0 12px; }
  .filters-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; }
  .pd-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-intro { padding-top: 160px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 96px; --gutter: 24px; }
  .header-inner { padding: 0 24px; }
  .header-left { gap: 30px; }
  .header-logo img { width: 170px; }
  .header-social { margin-right: 0; }
  .header-right { gap: 20px; }
  .site-header.is-solid .header-inner { height: 90px; }
  body.header-solid main { padding-top: 90px; }
  .hero-inner { flex-direction: column; align-items: stretch; justify-content: center; min-height: 0; padding-top: 150px; padding-bottom: 0; }
  .hero-text { max-width: 720px; }
  .hero-card { position: relative; right: auto; bottom: auto; width: auto; max-width: 560px; margin: 44px 0 -70px; }
  .split-intro { padding-top: 150px; }
  .split, .split-second { padding: 80px 0; }
  .split-grid, .split-grid--second, .split-grid--about { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .split-img--small { margin-top: 30px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 30px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .pd-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contact-form-col { padding-top: 0; }
  .page-banner { height: 380px; }
  .page-intro { padding: 70px 0 60px; }
  .map-float { position: relative; top: auto; left: auto; max-width: none; margin-bottom: 16px; box-shadow: none; border: 1px solid var(--line-soft); }
  .map-home { display: flex; flex-direction: column-reverse; }
  .map { height: 460px; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  :root { --gutter: 20px; --header-h: 84px; }
  .header-inner { padding: 0 20px; }
  .header-left { gap: 16px; }
  .menu-label { display: none; }
  .header-logo img { width: 142px; }
  .site-header.is-stuck .header-logo img { width: 130px; }
  .header-phone span { display: none; }
  .header-phone .icon { display: block; }
  .header-phone, .header-social { width: 40px; height: 40px; justify-content: center; }
  .header-right { gap: 4px; }
  .site-header.is-solid .header-inner, .site-header.is-stuck .header-inner { height: 76px; }
  body.header-solid main { padding-top: 76px; }
  .offcanvas-panel { padding: 26px 26px 34px; }
  .hero-inner { padding-top: 120px; }
  .hero-sub { max-width: none; }
  .hero-search { flex-direction: column; gap: 6px; padding: 10px; }
  .hs-tx label { flex: 1; }
  .hs-tx span { justify-content: center; width: 100%; height: 44px; }
  .hs-select, .hs-place { border-top: 1px solid var(--line-soft); border-left: 0; }
  .hs-select { width: 100%; }
  .hs-submit { justify-content: center; height: 50px; }
  .form-card { padding: 30px 22px; }
  .form-title { font-size: 22px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .services-band { margin: 0 10px; padding: 52px 0; border-radius: 16px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .cards-grid { grid-template-columns: minmax(0, 1fr); }
  .page-banner { height: 240px; }
  .page-intro { padding: 54px 0 46px; }
  .btn { padding: 14px 28px; }
  .btn-row { margin-top: 36px; }
  .tabs-bar { flex-direction: column; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 9px 10px; text-align: center; }
  .filters { padding: 20px 18px; }
  .filters-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
  .ff-place, .ff-actions { grid-column: 1 / -1; }
  .ff-actions .btn { flex: 1; }
  .results-tools { width: 100%; justify-content: space-between; }
  .pd-price-box { text-align: left; }
  .pd-specs, .pd-features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pd-features { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery--3, .pd-gallery--4, .pd-gallery--5 { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 120px; height: auto; }
  .pd-gallery--3 .pd-shot:first-child, .pd-gallery--4 .pd-shot:first-child, .pd-gallery--5 .pd-shot:first-child { grid-column: 1 / -1; grid-row: auto; height: 240px; }
  .pd-gallery--4 .pd-shot:last-child { grid-column: auto; }
  .map { height: 400px; }
  .map-wrap, .services-band { border-radius: 14px; }
  .map-section { padding: 0 10px 30px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 50px 20px 40px; }
  .footer-legal { flex-direction: column; text-align: center; }
  .footer-legal nav { justify-content: center; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; max-height: 70vh; overflow-y: auto; }
  .cookie-actions .btn { flex: 1; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .marquee { padding: 10px 0 70px; }
  .split-img--small { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
}
