/* EdenHouse Immobilier — site public V2 */
:root {
  --forest: #0E3B2B; --forest-2: #0A2E21; --green: #188C49; --green-d: #146E3C;
  --gold: #C8A55A; --gold-ink: #85671F; --gold-soft: #F2E9D2;
  --ivory: #F7F6F1; --paper: #FFFFFF; --ink: #16201B; --muted: #5E6862; --line: #E6E5DC;
  --rust: #A2552B; --wa: #1FA855;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 18px; --r-lg: 24px; --r-sm: 10px;
  --wrap: 1200px; --gutter: 20px; --sec: 64px;
  --shadow: 0 24px 50px -26px rgba(10, 46, 33, .45);
}
@media (min-width: 700px) { :root { --gutter: 32px; --sec: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green-d); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
svg { width: 1.15em; height: 1.15em; flex: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent; font: 700 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn-primary, .btn-dark { background: var(--forest); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--forest-2); }
.btn-gold:hover { background: #D5B66E; color: var(--forest-2); }
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn-white { background: #fff; color: var(--ink); min-height: 46px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178C46; color: #fff; }
.btn-block { width: 100%; }
.more { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--green-d); white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* En-tete */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
/* Le flou est porte par un pseudo-element : un backdrop-filter sur l'en-tete
   enfermerait le menu mobile (position fixed) dans la hauteur de l'en-tete. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(247,246,241,.95); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-overlay { position: absolute; left: 0; right: 0; border-bottom-color: transparent; }
.site-header.is-overlay::before { display: none; }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-chip { height: 44px; padding: 0 9px; border-radius: 12px; background: #FBF8F1; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(10,46,33,.08), inset 0 0 0 1px rgba(200,165,90,.28); }
.brand-chip img { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 600 1.22rem/1.05 var(--serif); letter-spacing: -.005em; }
.b-eden { color: var(--forest); }
.b-house { color: #B08632; }
.brand-text small { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
.is-overlay .brand, .is-overlay .brand-text small { color: #fff; }
.is-overlay .b-eden, .site-footer .b-eden { color: #fff; }
.is-overlay .b-house, .site-footer .b-house { color: #D9B66A; }
.nav-desk { display: none; gap: 2px; }
.nav-desk a { padding: 8px 10px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.brand { flex: none; }
.nav-desk a:hover { background: rgba(14,59,43,.06); }
.nav-desk a[aria-current] { color: var(--green-d); }
.is-overlay .nav-desk a { color: #fff; }
.is-overlay .nav-desk a:hover { background: rgba(255,255,255,.14); }
.btn-search { display: none; background: var(--forest); color: #fff; min-height: 42px; font-size: .9rem; padding: 0 1.1em; }
.btn-search:hover { color: #fff; background: var(--forest-2); }
.is-overlay .btn-search { background: #fff; color: var(--ink); }
.nav-mob summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: var(--ink); }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob summary svg { width: 24px; height: 24px; }
.is-overlay .nav-mob summary { color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.nav-mob[open] summary { background: var(--paper); color: var(--ink); position: relative; z-index: 2; }
.nav-mob nav { position: fixed; inset: 0; z-index: 1; background: var(--ivory); padding: 90px var(--gutter) 30px; display: grid; align-content: start; overflow: auto; animation: menuIn .22s ease-out; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-mob nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 1.35rem/1.2 var(--serif); }
.nav-mob nav a:first-child { color: var(--green-d); }
.nav-mob nav a.nav-sub { font: 700 1rem/1.2 var(--sans); color: var(--muted); border: 0; padding: 12px 2px 0; }
.nav-mob nav a.nav-sub-first { margin-top: 10px; }
@media (min-width: 1240px) { .nav-desk { display: flex; } .btn-search { display: inline-flex; } .nav-mob { display: none; } }

/* Plaque de reference */
.plaque { display: inline-flex; align-items: center; padding: 4px 9px 3px; border-radius: 6px; background: var(--forest); color: var(--gold); font: 800 .74rem/1.2 var(--sans); letter-spacing: .07em; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(200,165,90,.55); white-space: nowrap; }
.plaque-lg { font-size: .86rem; padding: 6px 11px 5px; }
.motto { font-size: .86rem; font-weight: 700; color: var(--gold); letter-spacing: .02em; margin-bottom: 14px; }

/* Hero */
.hero { position: relative; min-height: 640px; height: 92svh; max-height: 820px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--forest); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: none; } }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,46,33,.55) 0%, rgba(10,46,33,.08) 26%, rgba(10,46,33,.32) 52%, rgba(10,46,33,.95) 90%); }
.hero-in { position: relative; z-index: 2; padding-bottom: 130px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.04; max-width: 13ch; margin-bottom: 16px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-sub { max-width: 46ch; color: rgba(255,255,255,.88); font-size: 1.04rem; margin: 0; }
.hero .motto { text-shadow: 0 1px 12px rgba(0,0,0,.4); }
@media (min-width: 900px) {
  .hero-photo::after { background: linear-gradient(90deg, rgba(10,46,33,.92) 0%, rgba(10,46,33,.6) 45%, rgba(10,46,33,.1) 100%), linear-gradient(180deg, rgba(10,46,33,.5), transparent 30%); }
  .hero { align-items: center; }
  .hero-in { padding-bottom: 60px; }
}

/* Recherche */
.hero-search-wrap { position: relative; z-index: 3; margin-top: -100px; }
.hero-search { background: var(--paper); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow); max-width: 1000px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ivory); border-radius: 16px; padding: 4px; margin: 0 0 4px; border: 0; }
.tabs label { position: relative; }
.tabs input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tabs span { display: block; text-align: center; padding: 11px 6px; border-radius: 13px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.tabs input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.tabs input:focus-visible + span { outline: 3px solid var(--gold); }
.srow { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.srow > svg { color: var(--gold-ink); width: 20px; height: 20px; }
.srow > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.srow small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.srow select, .srow input { border: 0; padding: 2px 0; min-height: 0; background-color: transparent; font: 600 1rem/1.4 var(--sans); color: var(--ink); width: 100%; box-shadow: none; }
.srow select { background-position: right 0 center; padding-right: 24px; }
.srow select:focus, .srow input:focus { box-shadow: none; outline: none; }
.srow:focus-within { background: var(--ivory); border-radius: 12px; }
.hs-go { width: 100%; margin-top: 8px; border-radius: 16px; min-height: 54px; }
.hero-places { margin: 14px 4px 0; font-size: .92rem; color: var(--muted); }
.hero-places a { font-weight: 700; }
@media (min-width: 900px) {
  .hero-search { display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; align-items: center; gap: 0; padding: 10px; }
  .tabs { grid-column: 1 / -1; justify-self: start; min-width: 380px; margin: 0 0 8px; }
  .srow { border-bottom: 0; border-left: 1px solid var(--line); }
  .tabs + .srow { border-left: 0; }
  .hs-go { width: auto; margin: 0 0 0 8px; }
}

/* Sections */
.sec { padding-top: var(--sec); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail .card { flex: 0 0 78%; max-width: 330px; }
@media (min-width: 1000px) { .rail { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); } .rail .card { max-width: none; } .rail .card:nth-child(n+9) { display: none; } }

/* Tuiles */
.rail-tiles .tile { flex: 0 0 44%; max-width: 230px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--forest); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,46,33,.88)); }
.tile-plain { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 10%, #1B5A41, var(--forest-2)); }
.tile-text { position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 2; line-height: 1.25; }
.tile-text b { display: block; font-size: 1.02rem; }
.tile-text small { opacity: .85; font-size: .8rem; }
@media (min-width: 1000px) { .rail-tiles { display: flex; } .rail-tiles .tile { flex: 1; max-width: none; aspect-ratio: 3 / 4; } }

/* Cartes */
.grid { display: grid; gap: 30px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; background: #E6E4DA; }
.card-img img, .card-img .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .card-img img { transform: scale(1.035); }
.card-img .plaque { position: absolute; left: 12px; bottom: 12px; }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: rgba(255,255,255,.92); color: var(--ink); }
.tag-feat { background: var(--gold); color: var(--forest-2); }
.tag-status { background: var(--ink); color: #fff; }
.card-body { padding: 14px 2px 0; }
.card-body p { margin: 0; }
.card-kind { font-size: .78rem; font-weight: 700; color: var(--green-d); }
.card-title { margin: 2px 0 1px; font-size: 1.06rem; font-weight: 700; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.card-place { color: var(--muted); font-size: .92rem; }
.card-price { margin-top: 8px !important; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card-price small, .feature-price small, .p-price small, .mbar-price small { font-weight: 500; font-size: .72em; color: inherit; opacity: .7; }
.card-specs { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .86rem; color: var(--muted); margin-top: 4px !important; }
.card-specs span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin-right: 12px; vertical-align: middle; }
.noimg { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #1B5A41, var(--forest-2)); color: rgba(255,255,255,.75); font-weight: 700; font-size: .9rem; width: 100%; height: 100%; min-height: 160px; }

/* A la une */
.feature { position: relative; display: block; height: 480px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--forest); }
@media (min-width: 900px) { .feature { height: 560px; } }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover img { transform: scale(1.03); }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 38%, rgba(10,46,33,.94)); }
.feature-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; }
.feature-info { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; max-width: 640px; }
.feature h3 { font: 600 clamp(1.5rem, 3.4vw, 2.2rem)/1.15 var(--serif); color: #fff; margin: 10px 0 4px; }
.feature p { margin: 0; opacity: .85; }
.feature-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
.feature-price { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.feature-specs { font-size: .9rem; opacity: .9; }

/* Diaspora */
.dia { position: relative; margin-top: var(--sec); background: var(--forest); color: #fff; overflow: hidden; }
.dia-photo { height: 260px; position: relative; }
.dia-photo img { width: 100%; height: 100%; object-fit: cover; }
.dia-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,59,43,.1) 20%, var(--forest)); }
.dia-in { position: relative; margin-top: -60px; padding-bottom: 56px; display: grid; gap: 34px; }
.dia h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.8rem); max-width: 14ch; }
.dia-text p { color: rgba(255,255,255,.84); max-width: 46ch; }
.dia-actions { display: grid; gap: 10px; margin-top: 22px; }
.dia-more { margin-top: 18px; font-size: .92rem; }
.dia-more a { color: var(--gold); font-weight: 700; }
@media (min-width: 560px) { .dia-actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 960px) {
  .dia { display: grid; grid-template-columns: 1fr; }
  .dia-photo { position: absolute; inset: 0 0 0 55%; height: auto; }
  .dia-photo::after { background: linear-gradient(90deg, var(--forest), rgba(14,59,43,.2)); }
  .dia-in { margin-top: 0; padding: 96px var(--gutter); grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
}
.path { list-style: none; counter-reset: s; padding: 0; margin: 0; position: relative; }
.path::before { content: ''; position: absolute; left: 16px; top: 16px; bottom: 26px; width: 1px; background: rgba(200,165,90,.45); }
.path li { counter-increment: s; position: relative; padding: 0 0 20px 52px; }
.path li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 33px; height: 33px; border-radius: 50%; background: var(--forest); border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: .84rem; }
.path b { display: block; font-size: 1.02rem; }
.path span { display: block; color: rgba(255,255,255,.72); font-size: .93rem; }
@media (min-width: 960px) { .dia .path { background: rgba(10,46,33,.55); backdrop-filter: blur(6px); border: 1px solid rgba(200,165,90,.25); border-radius: var(--r-lg); padding: 28px 28px 10px; } .dia .path::before { left: 44px; top: 44px; } .dia .path li { padding-left: 52px; } }

/* Confiance */
.trust { display: grid; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.tr { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.tr i { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-ink); }
.tr h3 { margin: 0 0 4px; }
.tr p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Proprietaires */
.own { position: relative; display: block; height: 340px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; }
.own img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.own:hover img { transform: scale(1.03); }
.own::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,46,33,.2), rgba(10,46,33,.92)); }
.own-in { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; max-width: 560px; }
.own h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2rem); }
.own p { color: rgba(255,255,255,.86); }
@media (min-width: 900px) { .own { height: 400px; } .own::after { background: linear-gradient(90deg, rgba(10,46,33,.92), rgba(10,46,33,.15)); } .own-in { top: 50%; bottom: auto; transform: translateY(-50%); left: 48px; } }

/* Etats vides, bandeaux */
.empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 24px; text-align: center; }
.empty-left { text-align: left; }
.empty h2 { font-size: 1.5rem; }
.empty p { color: var(--muted); max-width: 54ch; margin-left: auto; margin-right: auto; }
.empty-left p { margin-left: 0; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.empty-left .empty-actions, .done .empty-actions { justify-content: flex-start; }
.band { background: var(--forest); color: #fff; padding: 56px 0; margin-top: var(--sec); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.82); margin: 0; max-width: 60ch; }
.band-in { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .band-in { grid-template-columns: 1fr auto; } }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Pages internes */
.page-top { padding-top: 22px; padding-bottom: 12px; }
.page-top h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 8px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: #B5B5A8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px; font-size: .9rem; }
.chips > span { color: var(--muted); font-weight: 600; }
.chips a { padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.chips b, .type-count b { color: var(--green-d); }
.type-count { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }

/* Liste + filtres */
.listing-layout { display: grid; gap: 22px; padding-bottom: 40px; }
@media (min-width: 1050px) { .listing-layout { grid-template-columns: 290px 1fr; gap: 36px; align-items: start; } .listing-side { position: sticky; top: 90px; } }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.filters summary { cursor: pointer; padding: 15px 18px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 10px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--muted); }
.filters[open] summary::after { content: '–'; }
.filters summary b { background: var(--forest); color: var(--gold); font-size: .76rem; border-radius: 999px; padding: 1px 8px; }
.filter-form { display: grid; gap: 14px; padding: 0 18px 18px; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-actions .btn { flex: 1; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-bar p { margin: 0; }
.sort select { min-height: 42px; padding-top: 8px; padding-bottom: 8px; width: auto; border-radius: 999px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; }
.pager span { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Champs */
.field { display: grid; gap: 6px; }
.field > span, .choice legend, .seg legend { font-size: .84rem; font-weight: 700; color: var(--muted); }
.field small { color: var(--muted); font-size: .82rem; }
input, select, textarea { width: 100%; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #DAD9CE; border-radius: 12px; padding: 12px 14px; min-height: 50px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235E6862' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(14,59,43,.12); }
.field-pair { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.choice, .seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend, .seg legend { padding: 0 0 8px; width: 100%; float: left; }
.choice label, .seg label { position: relative; }
.choice input, .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; min-height: 0; }
.choice span, .seg span { display: block; padding: 10px 16px; border: 1px solid #DAD9CE; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .95rem; }
.choice input:checked + span, .seg input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.choice input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: #FBEDE4; border: 1px solid #EBC3A8; color: #6E3415; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; }

/* Fiche bien */
.is-property .site-header { position: sticky; }
.p-crumbs { display: none; }
@media (min-width: 900px) { .p-crumbs { display: block; } }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.g-bar { position: absolute; top: 14px; left: var(--gutter); z-index: 3; }
.circ { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 4.6; background: #E1E0D5; }
.g-open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-open:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.g-slide img, .g-slide .noimg { width: 100%; height: 100%; object-fit: cover; }
.g-ui { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 2; }
.g-count { background: rgba(10,46,33,.8); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-variant-numeric: tabular-nums; }
.g-full { pointer-events: auto; display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.94); border: 0; border-radius: 999px; padding: 9px 15px; font: 700 .86rem var(--sans); cursor: pointer; color: var(--ink); }
.gallery-empty { aspect-ratio: 4 / 3; }
.sheet { position: relative; z-index: 3; margin: -26px calc(var(--gutter) * -1) 0; padding: 26px var(--gutter) 0; background: var(--ivory); border-radius: 26px 26px 0 0; }
@media (min-width: 900px) {
  .is-property .site-header { position: sticky; }
  .gallery { margin: 8px 0 0; border-radius: var(--r-lg); overflow: hidden; }
  .g-bar { display: none; }
  .g-track { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; overflow: visible; }
  .g-slide { aspect-ratio: auto; }
  .g-slide:first-child { grid-row: span 2; }
  .g-slide:nth-child(n+6) { display: none; }
  .gallery[data-count="1"] .g-track { grid-template-columns: 1fr; grid-template-rows: 488px; }
  .gallery[data-count="2"] .g-track, .gallery[data-count="3"] .g-track { grid-template-columns: 2fr 1fr; }
  .gallery[data-count="2"] .g-slide:nth-child(2) { grid-row: span 2; }
  .gallery[data-count="4"] .g-slide:nth-child(4) { grid-column: span 2; }
  .g-count { display: none; }
  .g-ui { justify-content: flex-end; bottom: 16px; }
  .sheet { margin: 0; padding: 30px 0 0; border-radius: 0; background: transparent; }
}
.p-head { display: grid; gap: 4px; }
.p-title .plaque { margin-bottom: 14px; }
.p-title h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 8px; max-width: 24ch; }
.p-place { display: flex; gap: 6px; align-items: center; color: var(--muted); margin: 0; }
.p-pricebox { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-top: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-price { margin: 0; font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--forest-2); }
.p-nego { margin: 0; color: var(--gold-ink); font-weight: 700; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.keys div { text-align: center; padding: 2px 4px; }
.keys div + div { border-left: 1px solid var(--line); }
.keys svg { color: var(--gold-ink); width: 24px; height: 24px; margin: 0 auto 6px; display: block; }
.keys b { display: block; font-size: 1.1rem; }
.keys span { font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) {
  .p-head { grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  .p-pricebox { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-end; border: 0; margin: 0; padding: 0 0 8px; }
  .keys { grid-column: 1 / -1; justify-content: start; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .keys div { text-align: left; display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; padding: 0 30px; }
  .keys div:first-child { padding-left: 0; }
  .keys svg { grid-row: span 2; margin: 0; }
}
.p-actions { display: none; }
@media (min-width: 900px) { .p-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } }
.p-layout { display: grid; gap: 30px; padding-top: 8px; padding-bottom: 30px; }
@media (min-width: 1050px) { .p-layout { grid-template-columns: 1fr 380px; gap: 56px; align-items: start; } .p-side { position: sticky; top: 92px; } }
.block { padding: 34px 0 0; }
.block h2 { font-size: 1.45rem; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.facts-loc { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.facts-loc dd { font-weight: 600; }
.prose { max-width: 68ch; }
.amen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.doc { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.doc::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); margin-top: 8px; flex: none; box-shadow: 0 0 0 5px rgba(94,104,98,.15); }
.doc-ok::before { background: var(--green); box-shadow: 0 0 0 5px rgba(24,140,73,.15); }
.doc-mid::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(200,165,90,.22); }
.doc-low::before { background: var(--rust); box-shadow: 0 0 0 5px rgba(162,85,43,.15); }
.doc > div { flex: 1; }
.doc-status { font-weight: 800; margin: 0 0 2px; }
.doc p { margin: 0; color: var(--muted); font-size: .94rem; }
.doc p.doc-status { color: var(--ink); }
.doc-facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 0; }
.doc-facts dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.doc-facts dd { margin: 0; font-weight: 700; }
.doc-notes { margin-top: 10px !important; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.more-links { margin: 12px 0 0; font-weight: 700; }
.remote { margin-top: 34px; background: var(--forest); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; }
.remote h2 { color: #fff; font-size: 1.45rem; }
.remote p { color: rgba(255,255,255,.84); margin: 0 0 18px; }
.remote-actions { display: grid; gap: 10px; }
@media (min-width: 600px) { .remote-actions { display: flex; flex-wrap: wrap; } .remote { padding: 30px 32px; } }
.video { width: 100%; border-radius: var(--r); overflow: hidden; background: #000; }
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 800; }
.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.updated { color: var(--muted); font-size: .88rem; margin: 22px 0 0; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; scroll-margin-top: 90px; }
.side-card h2 { font-size: 1.4rem; }
.side-ref { display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; font-size: .92rem; }
.visit-form { display: grid; gap: 14px; }
.side-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.side-contacts a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .8rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 4px; border-radius: 12px; }
.side-contacts a:hover { background: var(--ivory); }
.side-contacts svg { width: 22px; height: 22px; color: var(--green-d); }
.closed { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; border-radius: var(--r); padding: 14px 18px; margin: 12px 0; }
.closed p { margin: 0; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.mbar .btn { min-height: 48px; padding: 0 1.1em; }
.mbar-price { line-height: 1.15; min-width: 0; }
.mbar-price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; opacity: 1; }
.mbar-price b { font-size: 1.02rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.is-property { padding-bottom: 80px; }
@media (min-width: 1050px) { .mbar { display: none; } .is-property { padding-bottom: 0; } }

/* Lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: #070E0B; color: #fff; }
.lb::backdrop { background: #070E0B; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; }
.lb-track img { max-width: 100%; max-height: 100dvh; object-fit: contain; }
.lb-bar { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(#070E0B, transparent); }
.lb-close { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.lb-close svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: fixed; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; cursor: pointer; display: none; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (min-width: 900px) { .lb-prev, .lb-next { display: block; } }

/* Formulaires */
.form-layout { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } .form-intro { position: sticky; top: 100px; } }
.form-intro h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
.lead-form { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
@media (min-width: 700px) { .lead-form { padding: 34px; } }
.direct { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.direct p { width: 100%; margin: 0; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.coords { display: grid; gap: 14px; margin: 20px 0; }
.coords dt { font-size: .82rem; color: var(--muted); font-weight: 700; }
.coords dd { margin: 0; font-weight: 700; }
.done { padding-top: 70px; padding-bottom: 90px; }
.done .plaque { margin-bottom: 18px; }
.ref-search { display: flex; gap: 10px; align-items: end; margin: 18px 0; max-width: 440px; }
.ref-search .field { flex: 1; }
.steps-mini { list-style: none; counter-reset: s; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.steps-mini li { counter-increment: s; position: relative; padding: 0 0 0 46px; color: var(--muted); }
.steps-mini li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.steps-mini b { color: var(--ink); }

/* Services, a propos, diaspora */
.svc-list { display: grid; padding: 10px 0 20px; }
.svc { display: grid; gap: 6px 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.svc h2 { font-size: 1.5rem; margin: 0; }
.svc-sub { color: var(--gold-ink); font-weight: 700; margin: 2px 0 0; font-size: .93rem; }
.svc p { margin: 0; color: var(--muted); }
@media (min-width: 860px) { .svc { grid-template-columns: 300px 1fr auto; align-items: center; } }
.prose-page { padding-bottom: 60px; }
.prose-page section { padding: 26px 0; border-top: 1px solid var(--line); }
.prose-page section:first-child { border-top: 0; }
.method { padding-left: 1.2em; display: grid; gap: 8px; }
.steps { list-style: none; counter-reset: s; padding: 18px 0 0; margin: 0; display: grid; gap: 0; position: relative; max-width: 760px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 28px 62px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(200,165,90,.6); }
.steps li::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h2 { font-size: 1.3rem; margin-bottom: 4px; padding-top: 6px; }
.steps p { margin: 0; color: var(--muted); }
.faq { padding: 56px 0 70px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--forest-2); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: var(--sec); }
.band + .site-footer, .dia + .site-footer { margin-top: 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.6); }
.foot-top { display: grid; gap: 34px; }
@media (min-width: 800px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .motto { margin: 18px 0 4px; }
.foot-col { display: grid; gap: 9px; align-content: start; font-size: .94rem; }
.foot-col h2 { font: 700 .92rem var(--sans); color: #fff; margin: 0 0 4px; }
.foot-col a { color: rgba(255,255,255,.75); text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.foot-bottom a { color: rgba(255,255,255,.7); }

/* WhatsApp flottant (pastille, apparait apres le hero) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 12px 26px -10px rgba(10,46,33,.6); transition: opacity .25s, transform .25s; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { color: #fff; background: #178C46; }
.is-home .wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; }
.is-home.scrolled .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* Liste des documents */
.doc-list { list-style: none; padding: 0; margin: 12px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.doc-item { display: grid; grid-template-columns: 10px 1fr; column-gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.doc-item:first-child { border-top: 0; }
.doc-item::before { content: ''; grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: var(--muted); box-shadow: 0 0 0 4px rgba(94,104,98,.14); }
.doc-item.doc-ok::before { background: var(--green); box-shadow: 0 0 0 4px rgba(24,140,73,.15); }
.doc-item.doc-mid::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(200,165,90,.22); }
.doc-item b { font-weight: 700; }
.doc-item span { color: var(--muted); font-size: .92rem; }
.doc + .doc-list { margin-top: 10px; }

/* Barre du bas : prix sur deux lignes */
.mbar { grid-template-columns: minmax(0, 1fr) auto auto; }
.mbar-price b { display: block; font-size: 1.12rem; line-height: 1.1; }
.mbar-price small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; opacity: 1; margin-top: 2px; white-space: nowrap; }

/* Menu mobile ouvert : la page ne defile plus derriere */
body.menu-open { overflow: hidden; }
.nav-mob nav { z-index: 50; }
.nav-mob[open] summary { z-index: 51; }

/* Images : apercu flou pendant le chargement */
img.lqip { background-size: cover; background-position: center; background-color: #E3E1D6; }
img.lqip.is-loaded { background-image: none !important; }
.card-img, .g-slide, .tile, .feature, .own, .hero-photo { background-color: #E3E1D6; }

/* Carte du quartier */
.map-box { position: relative; height: 240px; border-radius: var(--r); overflow: hidden; background: #E3E1D6; margin: 4px 0 12px; border: 1px solid var(--line); }
.map-box .leaflet-container { width: 100%; height: 100%; font: inherit; }
.map-note { position: absolute; left: 10px; bottom: 10px; z-index: 500; background: rgba(255,255,255,.94); padding: 6px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ink); pointer-events: none; }
.map-load { all: unset; position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; font-weight: 700; color: var(--ink); background: radial-gradient(circle at 50% 50%, rgba(200,165,90,.25) 0 70px, transparent 71px), repeating-linear-gradient(45deg, #E9E7DC 0 14px, #E3E1D5 14px 28px); }
.map-load span { background: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.1); }

/* Consentement */
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--forest); }
.legal h2 { font-size: 1.3rem; }
.legal dl { display: grid; gap: 10px; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; color: var(--muted); }

/* EdenHouse — Magazine (articles). Charge apres site.css. */

/* Barre de lecture */
.read-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 60; transition: width .1s linear; }

/* Filtres de categorie */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1) 26px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cat-chips a[aria-current] { background: var(--forest); border-color: var(--forest); color: #fff; }
.cat-chips a b { font-weight: 700; color: var(--gold-ink); margin-left: 2px; }
.cat-chips a[aria-current] b { color: var(--gold); }
.list-cats { margin-top: 14px; margin-bottom: 4px; }
@media (min-width: 700px) { .list-cats { flex-wrap: wrap; margin: 16px 0 6px; padding: 0; } }

/* Liste : article a la une */
.a-cat { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--gold-ink); text-decoration: none; letter-spacing: .01em; }
.a-meta { color: var(--muted); font-size: .86rem; margin: 0; }
.a-lead { display: block; text-decoration: none; color: inherit; margin-bottom: 30px; }
.a-lead-img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #E3E1D6; margin-bottom: 16px; }
.a-lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.a-lead:hover img { transform: scale(1.03); }
.a-lead h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); margin: 6px 0 8px; }
.a-lead p.a-sum { color: var(--muted); font-size: 1.02rem; margin: 0 0 10px; max-width: 60ch; }
@media (min-width: 900px) {
  .a-lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
  .a-lead-img { margin: 0; }
}

/* Liste : autres articles */
.a-list { display: grid; }
.a-row { display: grid; grid-template-columns: 1fr 104px; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.a-row h3 { font: 600 1.12rem/1.25 var(--serif); margin: 4px 0 6px; }
.a-row:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.a-row-img { width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: #E3E1D6; }
.a-row-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .a-list { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
  .a-row { grid-template-columns: 1fr; grid-template-areas: "img" "txt"; border: 0; padding: 0; }
  .a-row > div:first-child { grid-area: txt; }
  .a-row-img { grid-area: img; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--r); }
  .a-row h3 { font-size: 1.25rem; }
}

/* Article : en-tete */
.art-head { max-width: 760px; margin: 0 auto; padding: 20px var(--gutter) 0; }
.art-head h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 10px 0 14px; }
.art-standfirst { font-size: 1.14rem; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.art-meta .by { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; margin-right: auto; }
.art-meta .by img { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.lang a, .lang span { padding: 4px 11px; font-weight: 800; font-size: .76rem; text-decoration: none; color: var(--muted); }
.lang [aria-current] { background: var(--forest); color: #fff; }
.art-cover { max-width: 1100px; margin: 22px auto 0; }
.art-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #E3E1D6; }
@media (min-width: 900px) { .art-cover { padding: 0 var(--gutter); } .art-cover img { border-radius: var(--r-lg); } }

/* Article : corps */
.art-body { max-width: 700px; margin: 0 auto; padding: 30px var(--gutter) 10px; font-size: 1.08rem; line-height: 1.75; }
.art-body > * { margin: 0 0 1.15em; }
.art-body h2 { font-size: clamp(1.4rem, 3.6vw, 1.75rem); line-height: 1.2; margin: 1.9em 0 .6em; }
.art-body a { color: var(--green-d); font-weight: 600; }
.art-body strong { color: var(--ink); font-weight: 700; }
.art-body ul.bullets { list-style: none; padding: 0; }
.art-body ul.bullets li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.art-body ul.bullets li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 10px; height: 2px; background: var(--gold); }
.art-body ol.steps-art { list-style: none; counter-reset: s; padding: 0; position: relative; }
.art-body ol.steps-art li { counter-increment: s; position: relative; padding: 4px 0 18px 54px; }
.art-body ol.steps-art li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; font: 800 .9rem var(--sans); box-shadow: inset 0 0 0 1px rgba(200,165,90,.6); }
.art-body ol.steps-art li::after { content: ''; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 1px; background: var(--line); }
.art-body ol.steps-art li:last-child::after { display: none; }
.callout { border-radius: 16px; padding: 16px 18px 16px 52px; position: relative; font-size: 1rem; line-height: 1.6; }
.callout svg { position: absolute; left: 17px; top: 17px; width: 22px; height: 22px; }
.callout b { display: block; font-size: .95rem; margin-bottom: 2px; }
.callout p { margin: 0; }
.callout-tip { background: #EAF4EC; color: #173B26; } .callout-tip svg { color: var(--green); }
.callout-info { background: #F4EEDC; color: #3F3517; } .callout-info svg { color: var(--gold-ink); }
.callout-warning { background: #FBEBE2; color: #5C2A12; } .callout-warning svg { color: var(--rust); }
.art-quote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.art-quote p { font: 500 1.3rem/1.45 var(--serif); color: var(--ink); margin: 0; }
.art-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: .88rem; color: var(--muted); font-weight: 700; }
.art-fig { margin: 1.6em 0; }
.art-fig img { width: 100%; border-radius: 16px; background: #E3E1D6; }
.art-fig figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); -webkit-overflow-scrolling: touch; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.45; }
.table-wrap th { background: var(--forest); color: #fff; text-align: left; font-weight: 700; padding: 12px 14px; }
.table-wrap td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #FAF9F5; }
.table-hint { font-size: .8rem; color: var(--muted); margin: -.6em 0 1.15em; }
@media (min-width: 560px) { .table-hint { display: none; } }
.prop-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--forest); color: #fff !important; text-decoration: none; font-weight: 700 !important; }
.prop-link svg { width: 24px; height: 24px; color: var(--gold); }
.prop-link span { flex: 1; line-height: 1.35; }
.prop-link small { display: block; font-weight: 500; opacity: .75; font-size: .82rem; }
.prop-link:hover { background: var(--forest-2); }

/* Article : fin */
.art-end { max-width: 700px; margin: 0 auto; padding: 10px var(--gutter) 0; }
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-share p { margin: 0 auto 0 0; font-weight: 700; }
.art-share .btn { min-height: 44px; }
.art-author { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 22px 0; }
.art-author img { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); }
.art-author p { margin: 0; color: var(--muted); font-size: .94rem; }
.art-author b { color: var(--ink); display: block; }

/* Fiche bien : lien vers l'article du quartier */
.hood-link { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; margin-top: 16px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.hood-link img, .hood-link .ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: #E3E1D6; }
.hood-link small { display: block; color: var(--gold-ink); font-weight: 800; font-size: .78rem; }
.hood-link b { font: 600 1.02rem/1.3 var(--serif); display: block; margin: 2px 0; }
.hood-link span { font-size: .86rem; color: var(--green-d); font-weight: 700; }

/* Sur un article, le partage WhatsApp est dans le texte : pas de bouton flottant */
.is-article .wa-float { display: none; }

.table-wrap.is-wide table { min-width: 480px; }

/* Page application Dashboard Immobilier */
.app-top { padding: 0 0 6px; }
.app-crumbs { display: none; }
.app-grid { display: grid; gap: 20px; }
.app-media, .app-intro { min-width: 0; }
.app-eyebrow { margin: 0; font: 800 .72rem/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.app-intro h1 { font-size: clamp(1.85rem, 5.6vw, 2.6rem); margin: 6px 0 12px; max-width: 18ch; }
.app-lede { color: var(--muted); font-size: 1.03rem; max-width: 52ch; margin: 0 0 20px; }
.inst-desk { display: none; background: var(--gold-soft); border: 1px solid #E5D4A8; border-radius: 12px; padding: 12px 16px; color: var(--ink); font-weight: 600; max-width: 520px; margin: 0 0 14px; }
.not-android .inst-desk { display: block; }
.inst-dl { width: 100%; max-width: 440px; min-height: 58px; font-size: 1.02rem; white-space: normal; text-align: center; box-shadow: 0 16px 30px -18px rgba(14,59,43,.75); }
.inst-dl svg { width: 22px; height: 22px; flex: none; }
.inst-dl > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.inst-dl small { font-weight: 600; font-size: .78rem; opacity: .72; letter-spacing: .01em; }
.inst-dl { justify-content: flex-start; gap: 14px; padding: 10px 26px 10px 22px; min-height: 62px; }
.app-next { display: flex; gap: 12px; align-items: center; margin-top: 12px; max-width: 440px; padding: 11px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.35; }
.app-next:hover { border-color: var(--gold); color: var(--ink); }
.app-next b { display: block; font-size: .98rem; }
.app-next > span:last-child { font-size: .88rem; color: var(--muted); }
.app-next-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--forest-2); display: grid; place-items: center; animation: nudge 1.8s ease-in-out infinite; }
.app-next-ic svg { width: 20px; height: 20px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .app-next-ic { animation: none; } }
.app-gal .g-slide { aspect-ratio: 5 / 3; background: #E9EDF1; }
.app-gal picture { display: block; width: 100%; height: 100%; }
.app-gal .g-ui { bottom: 12px; }
.g-arrow { display: none; }
.app-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter) 2px; margin: 0 calc(var(--gutter) * -1); }
.app-chips::-webkit-scrollbar { display: none; }
.app-chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .88rem/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.app-chip:hover { border-color: var(--ink); }
.app-chip.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }
@media (min-width: 700px) {
  .app-top { padding-top: 22px; }
  .app-gal { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
  .app-gal .g-slide { aspect-ratio: 1944 / 809; }
  .app-chips { margin: 0; padding: 14px 0 0; flex-wrap: wrap; }
  .g-arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
  .g-arrow svg { width: 20px; height: 20px; }
  .g-prev { left: 12px; } .g-next { right: 12px; }
}
@media (min-width: 900px) {
  .app-crumbs { display: block; }
  .app-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; margin-top: 6px; }
  .app-intro h1 { font-size: 2.35rem; max-width: none; }
  .app-media { grid-column: 2; grid-row: 1; }
  .app-intro { grid-column: 1; grid-row: 1; }
  .app-gal .g-track { display: flex; overflow-x: auto; gap: 0; grid-template-columns: none; grid-template-rows: none; }
  .app-gal .g-slide:nth-child(n) { display: block; grid-row: auto; aspect-ratio: 1944 / 809; }
  .app-gal .g-count { display: inline-block; }
  .app-gal .g-ui { justify-content: space-between; bottom: 12px; }
}
.app-steps { padding-top: 34px; scroll-margin-top: 70px; }
.steps-head { max-width: 720px; margin-bottom: 20px; }
.steps-head h2 { font-size: clamp(1.6rem, 4.6vw, 2.2rem); margin: 6px 0 8px; }
.steps-head p:last-child { color: var(--muted); margin: 0; }
.inst-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.inst-step { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px 16px 10px 8px; }
.inst-step.is-key { border-color: #E2C98C; box-shadow: inset 4px 0 0 var(--gold); }
.st-shot { all: unset; display: block; cursor: zoom-in; line-height: 0; border-radius: 10px; }
.st-shot:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.st-shot img { display: block; width: 100%; height: auto; }
.st-txt p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.5; font-weight: 500; }
.st-txt .st-num { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; font: 800 .76rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.st-num span { padding: 3px 8px; border-radius: 999px; background: var(--gold-soft); font-size: .68rem; letter-spacing: .05em; }
@media (min-width: 640px) { .inst-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) {
  .app-steps { padding-top: 64px; }
  .inst-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .inst-step { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 16px 18px 20px; }
  .st-shot { width: 170px; margin: 0 auto; }
}
.sec-help { padding-top: 40px; }
.inst-help { display: grid; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; }
.inst-help h2 { font-size: 1.45rem; }
.inst-help p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .inst-help { grid-template-columns: 1fr auto; padding: 30px 34px; } }
.why { display: grid; gap: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 28px; }
.why-poster { margin: 0; }
.why-poster img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: #EEF1F4; }
.why-text h2 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); margin: 8px 0 8px; }
.why-lede { color: var(--muted); margin: 0 0 20px; }
.why-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.why-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.why-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
.why-ic svg { width: 17px; height: 17px; }
.why-pb { display: block; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.why-list b { display: block; font-weight: 700; color: var(--ink); line-height: 1.45; }
.why-alt { margin: 12px 0 0; font-size: .9rem; }
@media (min-width: 900px) { .why { grid-template-columns: 400px 1fr; gap: 50px; padding: 36px; align-items: center; } }
.app-promo { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.app-promo:hover { color: var(--ink); border-color: #DCCB9F; box-shadow: var(--shadow); }
.app-promo-img { display: block; aspect-ratio: 16 / 7; overflow: hidden; background: #E9EDF1; }
.app-promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.app-promo-txt { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.app-promo-txt small { font: 800 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.app-promo-txt b { font: 600 1.3rem/1.25 var(--serif); }
.app-promo-txt > span { color: var(--muted); font-size: .95rem; }
.app-promo-txt em { font-style: normal; font-weight: 700; color: var(--green-d); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.app-promo-txt em svg { width: 18px; height: 18px; transition: transform .2s; }
.app-promo:hover em svg { transform: translateX(3px); }
@media (min-width: 760px) {
  .app-promo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .app-promo-img { aspect-ratio: auto; height: 100%; min-height: 200px; }
  .app-promo-txt { padding: 26px 32px; }
}
