/* ════════════════════════════════════════════════════════════════════════
   WALDHOF — V5 : fiche d'un bien (refonte complète du 27-10).
   Haut de fiche éditorial : photos à droite, prix / conseiller / contact à gauche ; puis l'essentiel, les
   prestations, l'emplacement (carte dessinée), les étapes animées, le conseiller, les questions, des biens proches.
   Mêmes jetons que v5.css (Manrope, encre, marine, mer, papier) ; aucun flou animé ; curseur du navigateur.
   ════════════════════════════════════════════════════════════════════════ */

.v5-pf { background: #fff; }
html.pf-lock, html.pf-lock body { overflow: hidden; }
.pf { --pf-gap: clamp(28px, 3.6vw, 64px); }
.pf-sec { padding-block: clamp(64px, 7vw, 120px); }
.pf-sec + .pf-sec { border-top: 1px solid var(--line); }
.pf-sec__h { display: grid; gap: 16px; margin-bottom: clamp(32px, 3.6vw, 56px); }
.pf-h1 { font-size: clamp(2rem, 1.25rem + 2.15vw, 3.35rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance; }
.pf-h2 { font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; max-width: 22ch; }
.pf-h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.pf .i { stroke-width: 1.5; }

/* révélations (GSAP via v5.js ; sans script, tout reste visible) */
.v5-anim .v5-pf [data-reveal] { opacity: 0; }

/* ── Haut de fiche ─────────────────────────────────────────────────────── */
.pf-hero { padding-top: calc(var(--hd-h) + clamp(18px, 2vw, 28px)); padding-bottom: clamp(40px, 4vw, 64px); }
.pf-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.2vw, 32px); }
.pf-hero__top .crumbs { min-width: 0; }
.pf-tools { display: flex; align-items: center; gap: 6px; }
.pf-ref { margin-right: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--mute); font-variant-numeric: tabular-nums; }
.pf-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.875rem; font-weight: 600; transition: border-color 0.3s var(--e-out), background-color 0.3s var(--e-out); }
.pf-tool .i { width: 17px; height: 17px; }
.pf-tool:hover { border-color: var(--ink); }
.pf-tool[aria-pressed="true"] .i-heart { fill: #c0392b; stroke: #c0392b; }
.pf-tool[aria-pressed="true"] { border-color: var(--ink); }
.pf-tool.is-copied { background: var(--ink); border-color: var(--ink); color: #fff; }

.pf-hero__g { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: var(--pf-gap); align-items: start; }
.pf-hero--bare .pf-hero__g { grid-template-columns: minmax(0, 760px); }
.pf-hero__i { display: grid; gap: 26px; align-content: start; padding-top: clamp(4px, 1vw, 18px); position: sticky; top: calc(var(--hd-h) + 24px); }
.pf-eb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pf-eb > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.pf-eb .i-pin { width: 16px; height: 16px; color: var(--sea); }
.pf-eb__m { position: relative; padding-left: 14px; }
.pf-eb__m::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--line-2); }
.pf-eb > span:first-child + .pf-eb__m { }
.pf-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.6875rem; letter-spacing: 0.12em; }
.pf-keys { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--line); }
.pf-keys li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 22px 16px 0; margin-right: 22px; }
.pf-keys li + li { padding-left: 22px; border-left: 1px solid var(--line); margin-left: -22px; }
.pf-keys .i { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--sea); }
.pf-keys b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pf-keys span { font-size: 0.8125rem; color: var(--mute); line-height: 1.3; }
.pf-price { display: grid; gap: 4px; }
.pf-price__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pf-price__v small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.pf-price__s { font-size: 0.875rem; color: var(--mute); }
.pf-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-cta { flex: 1 1 260px; }
.pf-wa { flex: 0 1 auto; }
.pf-wa .i-wa { width: 18px; height: 18px; color: #1f9e55; }
.pf-tel { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: -8px; font-size: 0.875rem; color: var(--mute); }
.pf-tel a { display: inline-flex; align-items: center; gap: 8px; padding-block: 4px; transition: color 0.3s var(--e-out); }
.pf-tel a:hover { color: var(--ink); }
.pf-tel .i { width: 16px; height: 16px; }
.pf-mini { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color 0.35s var(--e-out), background-color 0.35s var(--e-out); }
.pf-mini:hover { border-color: var(--line-2); background: var(--bg-soft); }
.pf-mini__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--paper); }
.pf-mini > span { display: grid; flex: 1; line-height: 1.3; min-width: 0; }
.pf-mini small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pf-mini b { font-size: 1rem; font-weight: 600; }
.pf-mini i { font-style: normal; font-size: 0.8125rem; color: var(--mute); }
.pf-mini .i-arrow { width: 18px; height: 18px; color: var(--mute); transition: transform 0.45s var(--e-out), color 0.3s; }
.pf-mini:hover .i-arrow { transform: translateX(3px); color: var(--ink); }
.pf-retired { display: grid; gap: 18px; justify-items: start; padding: 24px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); }
.pf-retired p { display: grid; gap: 6px; color: var(--ink-2); }
.pf-retired b { font-size: 1.125rem; color: var(--ink); }

/* galerie : défilement natif (aimanté), flèches, compteur, barre de progression */
.pf-hero__m { min-width: 0; }
.pf-gal { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); isolation: isolate; }
.pf-gal__t { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-gal__t::-webkit-scrollbar { display: none; }
.pf-gal__t:focus-visible { outline-offset: -4px; }
.pf-gal__s { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pf-gal__s img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.pf-gal__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: 0 8px 26px -10px rgba(14, 20, 23, 0.45);
  transition: opacity 0.35s var(--e-out), transform 0.45s var(--e-out), background-color 0.3s; }
.pf-gal__nav .i { width: 22px; height: 22px; }
.pf-gal__nav--p { left: 18px; } .pf-gal__nav--n { right: 18px; }
.pf-gal__nav:hover { background: #fff; }
.pf-gal__nav:active { transform: scale(0.94); }
.pf-gal__nav[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .pf-gal__nav { opacity: 0; }
  .pf-gal__nav--p { transform: translateX(-8px); } .pf-gal__nav--n { transform: translateX(8px); }
  .pf-gal:hover .pf-gal__nav, .pf-gal:focus-within .pf-gal__nav { opacity: 1; transform: none; }
}
.pf-gal__bar { position: absolute; inset: auto 16px 18px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.pf-gal__c, .pf-gal__all { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(14, 20, 23, 0.62); color: #fff; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-gal__c span { opacity: 0.72; font-weight: 500; }
.pf-gal__all { background: #fff; color: var(--ink); transition: background-color 0.3s; }
.pf-gal__all:hover { background: var(--paper); }
.pf-gal__all .i { width: 17px; height: 17px; }
.pf-gal__prog { position: absolute; inset: auto 0 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, 0.28); }
.pf-gal__prog i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0.04)); transition: transform 0.55s var(--e-out); }
.pf-ths { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
.pf-ths::-webkit-scrollbar { display: none; }
.pf-th { position: relative; flex: none; width: 88px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; scroll-snap-align: start; opacity: 0.55;
  transition: opacity 0.35s var(--e-out); }
.pf-th img { width: 100%; height: 100%; object-fit: cover; }
.pf-th::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.35s var(--e-out); }
.pf-th:hover { opacity: 0.9; }
.pf-th.is-on { opacity: 1; }
.pf-th.is-on::after { box-shadow: inset 0 0 0 2px var(--ink); }

/* ── Barre de section collante ─────────────────────────────────────────── */
.pf-nav { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, 0.96); border-block: 1px solid var(--line);
  transition: top 0.45s var(--e-out); }
html:has(.hd:not(.is-hidden)) .pf-nav { top: calc(var(--hd-h) - 1px); }
.pf-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.pf-nav__l { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pf-nav__l::-webkit-scrollbar { display: none; }
.pf-nav__l a { position: relative; flex: none; display: inline-flex; align-items: center; height: 62px; padding: 0 14px; font-size: 0.9375rem; font-weight: 600; color: var(--mute); transition: color 0.3s var(--e-out); }
.pf-nav__l a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--e-out); }
.pf-nav__l a:hover, .pf-nav__l a.is-on { color: var(--ink); }
.pf-nav__l a.is-on::after { transform: none; }
.pf-nav__r { display: flex; align-items: center; gap: 16px; flex: none; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.4s var(--e-out), transform 0.5s var(--e-out); }
.pf-nav.is-cta .pf-nav__r { opacity: 1; transform: none; pointer-events: auto; }
.pf-nav__p { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.pf-nav__p b { font-size: 1.0625rem; font-weight: 600; }
.pf-nav__p small { font-size: 0.8125rem; color: var(--mute); }

/* ── L'essentiel ───────────────────────────────────────────────────────── */
.pf-over__g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: var(--pf-gap); align-items: start; }
.pf-over__t { display: grid; gap: 22px; }
.pf-desc { display: grid; gap: 1.05em; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.72; color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }
.pf-desc p:first-child { font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.pf-desc.is-long { position: relative; max-height: 30em; overflow: hidden; transition: max-height 0.8s var(--e-out); }
.pf-desc.is-long::after { content: ""; position: absolute; inset: auto 0 0; height: 7em; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); transition: opacity 0.5s var(--e-out); }
.pf-desc.is-open::after { opacity: 0; }
.pf-more { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-weight: 600; border-bottom: 1px solid currentColor; }
.pf-glance { position: sticky; top: calc(var(--hd-h) + 90px); padding: 28px 30px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.pf-glance dl { display: grid; margin-top: 14px; }
.pf-glance dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.pf-glance dl div:first-child { border-top: 0; }
.pf-glance dt { color: var(--mute); font-size: 0.9375rem; }
.pf-glance dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pf-hl__h { margin-top: clamp(48px, 5vw, 80px); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.pf-hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pf-hl__i { display: grid; align-content: start; gap: 4px; padding: 24px 22px 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff;
  transition: border-color 0.4s var(--e-out), transform 0.6s var(--e-out); }
.pf-hl__i:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pf-hl__i .i { width: 30px; height: 30px; margin-bottom: 22px; color: var(--sea); stroke-width: 1.3; }
.pf-hl__i b { font-size: 1.0625rem; font-weight: 600; }
.pf-hl__i span { font-size: 0.9375rem; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ── Réservation saisonnière ───────────────────────────────────────────── */
.pf-book { background: var(--bg-soft); }
.pf-book__g { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--pf-gap); align-items: start; }
.pf-book__h { display: grid; gap: 18px; position: sticky; top: calc(var(--hd-h) + 90px); }
.pf-rates { display: grid; gap: 0; margin-top: 10px; border-top: 1px solid var(--line-2); }
.pf-rate { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.pf-rate b { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-rate span { font-size: 0.9375rem; color: var(--mute); }
.pf-seasons { display: grid; gap: 8px; }
.pf-seasons li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.pf-cal { display: grid; gap: 20px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pf-cal__f { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.pf-cal__fld { display: grid; gap: 2px; padding: 12px 16px; text-align: left; transition: background-color 0.3s; }
.pf-cal__fld + .pf-cal__fld { border-left: 1px solid var(--line-2); }
.pf-cal__fld small { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pf-cal__fld b { font-weight: 600; }
.pf-cal__fld.is-on { background: var(--bg-soft); box-shadow: inset 0 -2px 0 var(--ink); }
.pf-cal__nav { display: flex; justify-content: space-between; margin-bottom: -52px; position: relative; z-index: 1; pointer-events: none; }
.pf-cal__a { pointer-events: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color 0.3s, background-color 0.3s; }
.pf-cal__a:hover { border-color: var(--ink); }
.pf-cal__a[disabled] { opacity: 0.3; pointer-events: none; }
.pf-cal__a .i { width: 18px; height: 18px; }
.pf-cal__ms { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pf-mo__h { height: 40px; display: grid; place-items: center; font-weight: 600; text-transform: capitalize; }
.pf-mo__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; margin-top: 10px; }
.pf-mo__dh { padding-bottom: 6px; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.pf-d { position: relative; aspect-ratio: 1; display: grid; place-items: center; font-size: 0.875rem; font-variant-numeric: tabular-nums; border-radius: 50%; transition: background-color 0.2s, color 0.2s; }
.pf-d:not([disabled]):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pf-d[disabled] { color: #b4b8ba; cursor: default; }
.pf-d.is-booked { text-decoration: line-through; text-decoration-color: rgba(14, 20, 23, 0.35); }
.pf-d.is-today { font-weight: 700; }
.pf-d.is-in, .pf-d.is-out { background: var(--ink); color: #fff; }
.pf-d.is-mid { border-radius: 0; background: var(--paper-2); }
.pf-cal__err { padding: 12px 16px; border-radius: var(--r-sm); background: #fbeceb; color: #8f2b1f; font-size: 0.9375rem; font-weight: 500; }
.pf-cal__g { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.pf-cal__gl { font-weight: 600; }
.pf-cnt { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.pf-cnt span { margin-right: auto; color: var(--mute); }
.pf-cnt button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color 0.3s; }
.pf-cnt button:hover { border-color: var(--ink); }
.pf-cnt button[disabled] { opacity: 0.3; pointer-events: none; }
.pf-cnt .i { width: 16px; height: 16px; }
.pf-cnt b { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.pf-sum { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--bg-soft); }
.pf-sum div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.pf-sum dt { color: var(--mute); }
.pf-sum div:last-child { padding-top: 10px; border-top: 1px solid var(--line-2); font-weight: 700; }
.pf-cal__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pf-cal__go .btn { flex: 1 1 260px; }
.pf-cal__clr { font-size: 0.9375rem; font-weight: 600; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.pf-cal__clr:hover { color: var(--ink); }
.pf-cal__note { font-size: 0.8125rem; line-height: 1.55; color: var(--mute); }
.pf-cal.is-shake .pf-cal__f { animation: pf-shake 0.5s var(--e-out); }
@keyframes pf-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ── Prestations et performance énergétique ────────────────────────────── */
.pf-feat__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.pf-feat__l li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.pf-feat__l .i { width: 18px; height: 18px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--bg-blue); color: var(--sea); }
.pf-dpe { margin-top: clamp(48px, 5vw, 80px); display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--bg-soft); }
.pf-dpe__g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.pf-dpe__k { margin-bottom: 14px; font-size: 0.9375rem; color: var(--mute); }
.pf-dpe__k strong { margin-left: 6px; color: var(--ink); }
.pf-dpe__l { display: grid; gap: 5px; }
.pf-dpe__r { --w: 30%; position: relative; display: flex; align-items: center; gap: 14px; height: 30px; }
.pf-dpe__r span { display: flex; align-items: center; width: var(--w); height: 100%; padding-left: 12px; border-radius: 0 999px 999px 0; background: var(--c); color: #fff; font-size: 0.8125rem; font-weight: 700;
  opacity: 0.28; transition: opacity 0.6s var(--e-out); }
.pf-dpe__r.is-on span { opacity: 1; box-shadow: 0 6px 16px -8px var(--c); }
.pf-dpe__r b { font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-dpe__r b small { font-size: 0.75rem; font-weight: 500; color: var(--mute); }
.pf-dpe__s--e .pf-dpe__r--a { --c: #009c6d; --w: 22%; } .pf-dpe__s--e .pf-dpe__r--b { --c: #52b153; --w: 30%; } .pf-dpe__s--e .pf-dpe__r--c { --c: #78bd76; --w: 38%; }
.pf-dpe__s--e .pf-dpe__r--d { --c: #f4e70f; --w: 46%; } .pf-dpe__s--e .pf-dpe__r--e { --c: #f0b50f; --w: 54%; } .pf-dpe__s--e .pf-dpe__r--f { --c: #eb8235; --w: 62%; } .pf-dpe__s--e .pf-dpe__r--g { --c: #d7221f; --w: 70%; }
.pf-dpe__s--g .pf-dpe__r--a { --c: #a4dbf8; --w: 22%; } .pf-dpe__s--g .pf-dpe__r--b { --c: #8cb4d3; --w: 30%; } .pf-dpe__s--g .pf-dpe__r--c { --c: #7792b1; --w: 38%; }
.pf-dpe__s--g .pf-dpe__r--d { --c: #646f8f; --w: 46%; } .pf-dpe__s--g .pf-dpe__r--e { --c: #4f4c6e; --w: 54%; } .pf-dpe__s--g .pf-dpe__r--f { --c: #3a3150; --w: 62%; } .pf-dpe__s--g .pf-dpe__r--g { --c: #281b35; --w: 70%; }
.pf-dpe__s--e .pf-dpe__r--d span, .pf-dpe__s--e .pf-dpe__r--e span, .pf-dpe__s--g .pf-dpe__r--a span, .pf-dpe__s--g .pf-dpe__r--b span { color: var(--ink); }
.pf-dpe__n { font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); max-width: 90ch; }

/* ── Emplacement : carte dessinée (littoral réel, à l'échelle de la commune) ─ */
.pf-loc__g { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--pf-gap); align-items: center; }
.pf-loc__t { display: grid; gap: 22px; justify-items: start; }
.pf-loc__p { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.pf-loc__p .i { width: 18px; height: 18px; color: var(--sea); }
.pf-town { display: grid; gap: 10px; max-width: 60ch; }
.pf-town p { color: var(--ink-2); line-height: 1.7; }
.pf-dist { width: 100%; max-width: 520px; }
.pf-dist__h { font-size: 0.8125rem; color: var(--mute); }
.pf-dist ul { margin-top: 10px; border-top: 1px solid var(--line); }
.pf-dist li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pf-dist li .i { width: 18px; height: 18px; color: var(--sea); }
.pf-dist li span { flex: 1; }
.pf-dist li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-loc__m { position: relative; }
.pf-loc__cr { margin-top: 10px; font-size: 0.75rem; color: var(--mute); text-align: right; }

/* ── Étapes (motion : la ligne se trace au défilement, chaque étape s'allume à son passage) ─ */
.pf-steps { background: #fff; overflow: hidden; }
.pf-st { position: relative; }
.pf-st__line { position: absolute; left: 32px; right: auto; width: calc(75% + 8px); top: 31px; height: 2px; background: var(--line); }
.pf-st__line i { position: absolute; inset: 0; display: block; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--pf-line, 1)); }
.pf-st__line b { position: absolute; left: calc(var(--pf-line, 1) * 100%); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sea);
  box-shadow: 0 0 0 6px rgba(44, 106, 138, 0.18); opacity: 0; transition: opacity 0.3s; }
.pf-st.is-run .pf-st__line b { opacity: 1; }
.pf-st__l { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.pf-st__i { display: grid; align-content: start; gap: 12px; }
.pf-st__dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--mute);
  transition: background-color 0.6s var(--e-out), color 0.6s var(--e-out), border-color 0.6s var(--e-out), transform 0.7s var(--e-out); }
.pf-st__dot .i { width: 26px; height: 26px; }
.pf-st__n { margin-top: 18px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; color: var(--mute); font-variant-numeric: tabular-nums; }
.pf-st__t { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.pf-st__p { color: var(--ink-2); line-height: 1.6; max-width: 34ch; }
.pf-st__chip { justify-self: start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--ink-2);
  transition: background-color 0.6s var(--e-out), color 0.6s var(--e-out), border-color 0.6s var(--e-out); }
.pf-st__i.is-on .pf-st__dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.04); }
.pf-st__i.is-on .pf-st__chip { background: var(--bg-blue); border-color: rgba(44, 106, 138, 0.25); color: var(--navy); }
.js .pf-st.is-armed .pf-st__i:not(.is-on) .pf-st__t, .js .pf-st.is-armed .pf-st__i:not(.is-on) .pf-st__p { opacity: 0.45; }
.pf-st__t, .pf-st__p { transition: opacity 0.6s var(--e-out); }

/* ── Conseiller (bandeau marine) ───────────────────────────────────────── */
.pf-adv { background: var(--navy); color: var(--on-navy); padding-block: clamp(72px, 8vw, 128px); }
.pf-adv__g { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: var(--pf-gap); align-items: center; }
.pf-adv__f { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; background: var(--navy-2); }
.pf-adv__f img, .pf-adv__f picture, .pf-adv__f picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pf-adv__t { display: grid; gap: 18px; justify-items: start; }
.pf-adv__n { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.pf-adv__r { font-size: 1rem; color: var(--on-navy-2); }
.pf-adv__p { max-width: 52ch; font-size: 1.0625rem; line-height: 1.7; color: var(--on-navy); }
.pf-adv__b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pf-adv__b .i-wa { color: #1f9e55; }
.pf-cred { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; width: 100%; margin-top: 22px; border-top: 1px solid var(--navy-line); }
.pf-cred li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.pf-cred b { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.pf-cred span { font-size: 0.8125rem; color: var(--on-navy-2); }

/* ── Questions ─────────────────────────────────────────────────────────── */
.pf-faq__g { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--pf-gap); align-items: start; }
.pf-faq__h { display: grid; gap: 16px; justify-items: start; position: sticky; top: calc(var(--hd-h) + 90px); }

/* ── Biens proches ─────────────────────────────────────────────────────── */
.pf-sim { background: var(--bg-soft); }
.pf-sim + .pf-sec, .pf-faq + .pf-sim { border-top: 0; }
.pf-sim__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pf-sim__l .card { min-width: 0; }

/* ── Barre mobile ──────────────────────────────────────────────────────── */
.pf-bar { display: none; }

/* ── Demande (tiroir) ──────────────────────────────────────────────────── */
.pf-ask { position: fixed; inset: 0 0 0 auto; width: min(520px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0;
  background: #fff; color: var(--ink); box-shadow: -30px 0 80px -30px rgba(14, 20, 23, 0.4); overflow: hidden; }
.pf-ask::backdrop { background: rgba(14, 20, 23, 0.42); }
.pf-ask[open] { animation: pf-in 0.55s var(--e-out); }
.pf-ask[open]::backdrop { animation: pf-fade 0.4s var(--e-out); }
@keyframes pf-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes pf-fade { from { opacity: 0; } }
.pf-ask__in { display: grid; gap: 18px; align-content: start; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(20px, 3vw, 32px) 32px; }
.pf-ask__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.pf-ask__h { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.pf-ask__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color 0.3s; }
.pf-ask__x:hover { border-color: var(--ink); }
.pf-ask__prop { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-md); background: var(--bg-soft); }
.pf-ask__prop img { width: 84px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.pf-ask__prop p { display: grid; gap: 2px; min-width: 0; }
.pf-ask__prop b { font-size: 0.9375rem; line-height: 1.35; }
.pf-ask__prop span { font-size: 0.8125rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.pf-ask__who { display: flex; align-items: center; gap: 12px; }
.pf-ask__av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.pf-ask__who p { display: grid; line-height: 1.3; }
.pf-ask__who small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pf-ask__l { margin-top: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--mute); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.pf-chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.875rem; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.pf-chip:hover { border-color: var(--ink); }
.pf-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf-f { display: grid; gap: 6px; }
.pf-f label { font-size: 0.875rem; font-weight: 600; }
.pf-f label span { font-weight: 400; color: var(--mute); }
.pf-f input, .pf-f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.pf-f textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.pf-f input:focus, .pf-f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 106, 138, 0.16); }
.pf-f.is-err input, .pf-f.is-err textarea { border-color: #b3261e; }
.pf-f__e { min-height: 0; font-size: 0.8125rem; color: #b3261e; }
.pf-f__e:empty { display: none; }
.pf-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-pref { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; border: 0; }
.pf-pref legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 0.875rem; font-weight: 600; }
.pf-pref label { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 0.9375rem; cursor: pointer; }
.pf-pref input { width: 18px; height: 18px; accent-color: var(--ink); }
.pf-ask__go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.pf-ask__go .i-wa { color: #3ccf7a; }
.pf-ask__n { font-size: 0.8125rem; line-height: 1.55; color: var(--mute); }
.pf-ask__n a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Visionneuse ───────────────────────────────────────────────────────── */
.pf-lb { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #0b0f11; color: #fff; overflow: hidden; }
.pf-lb::backdrop { background: #0b0f11; }
.pf-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: pf-fade 0.35s var(--e-out); }
.pf-lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 2vw, 28px); }
.pf-lb__c { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.8); }
.pf-lb__b { display: flex; gap: 8px; }
.pf-lb__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: background-color 0.3s; }
.pf-lb__btn:hover { background: rgba(255, 255, 255, 0.2); }
.pf-lb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 clamp(14px, 2vw, 28px) 28px; overflow-y: auto; overscroll-behavior: contain; align-content: start; }
.pf-lb__grid li:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.pf-lb__grid button { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.pf-lb__grid li:nth-child(5n + 1) button { aspect-ratio: auto; }
.pf-lb__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--e-out), opacity 0.4s; }
.pf-lb__grid button:hover img { transform: scale(1.03); }
.pf-lb__one { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px) clamp(12px, 3vh, 28px); }
.pf-lb__one[hidden] { display: none; }
.pf-lb__one img { max-width: 100%; max-height: calc(100dvh - 104px); object-fit: contain; border-radius: 6px; user-select: none; }
.pf-lb__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: background-color 0.3s; }
.pf-lb__nav:hover { background: rgba(255, 255, 255, 0.24); }
.pf-lb__nav--p { left: clamp(8px, 2vw, 28px); } .pf-lb__nav--n { right: clamp(8px, 2vw, 28px); }
.pf-lb__nav .i { width: 24px; height: 24px; }
.pf-lb :focus-visible { outline-color: #fff; }

/* ── Écrans moyens ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .pf-hero__g { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .pf-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-feat__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cal__ms { gap: 20px; }
}
@media (max-width: 1023px) {
  .pf-hero__g, .pf-over__g, .pf-loc__g, .pf-faq__g, .pf-book__g, .pf-adv__g { grid-template-columns: minmax(0, 1fr); }
  .pf-hero__m { order: -1; }
  .pf-hero__i { position: static; padding-top: 0; }
  .pf-glance, .pf-book__h, .pf-faq__h { position: static; }
  .pf-st__l { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pf-st__line { left: 31px; right: auto; top: 32px; bottom: auto; width: 2px; height: calc(100% - 140px); }
  .pf-st__line i { transform-origin: 50% 0; transform: scaleY(var(--pf-line, 1)); }
  .pf-st__line b { left: 50%; top: calc(var(--pf-line, 1) * 100%); }
  .pf-st__i { grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; row-gap: 6px; padding-bottom: 36px; }
  .pf-st__i > :not(.pf-st__dot) { grid-column: 2; }
  .pf-st__dot { grid-row: 1 / span 4; }
  .pf-st__n { margin-top: 6px; }
  .pf-sim__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-adv__f { max-width: 380px; }
}

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .pf-hero { padding-top: calc(var(--hd-h) + 10px); }
  .pf-hero__top { margin-bottom: 14px; }
  .pf-hero__top .crumbs { display: none; }
  .pf-tools { width: 100%; }
  .pf-ref { margin-right: auto; }
  .pf-tool span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pf-tool { width: 42px; padding: 0; justify-content: center; }
  .pf-hero__m { margin-inline: calc(var(--gut) * -1); }
  .pf-gal { border-radius: 0; aspect-ratio: 4 / 3.3; }
  .pf-gal__nav { display: none; }
  .pf-gal__bar { inset: auto 12px 14px; }
  .pf-ths { display: none; }
  .pf-hero__i { gap: 20px; }
  .pf-keys li { padding: 12px 14px 12px 0; margin-right: 14px; }
  .pf-keys li + li { padding-left: 14px; margin-left: -14px; }
  .pf-keys .i { display: none; }
  .pf-keys li { display: grid; grid-template-columns: 1fr; }
  .pf-ctas .btn { flex: 1 1 100%; }
  .pf-tel { display: none; }
  .pf-nav { display: none; }
  .pf-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-hl__i { padding: 18px 16px; }
  .pf-hl__i .i { margin-bottom: 14px; width: 26px; height: 26px; }
  .pf-feat__l { grid-template-columns: minmax(0, 1fr); }
  .pf-dpe__g { grid-template-columns: minmax(0, 1fr); }
  .pf-cal__ms { grid-template-columns: minmax(0, 1fr); }
  .pf-cal__ms > :nth-child(2) { display: none; }
  .pf-cal__g { grid-template-columns: 1fr; }
  .pf-cnt { justify-content: space-between; }
  .pf-sim__l { grid-template-columns: minmax(0, 1fr); }
  .pf-cred { grid-template-columns: minmax(0, 1fr); }
  .pf-adv__b .btn { flex: 1 1 100%; }
  .pf-f2, .pf-ask__go { grid-template-columns: minmax(0, 1fr); }
  .pf-lb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-ask { inset: auto 0 0; width: 100vw; height: auto; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  @keyframes pf-in { from { transform: translateY(40px); opacity: 0; } }
  .pf-bar { position: fixed; inset: auto 0 0; z-index: 120; display: flex; align-items: center; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.5s var(--e-out); }
  .pf-bar.is-on { transform: none; }
  .pf-bar__p { display: grid; flex: 1; min-width: 0; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .pf-bar__p b { font-size: 1.0625rem; font-weight: 700; }
  .pf-bar__p small { font-size: 0.75rem; color: var(--mute); }
  .pf-bar__wa { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: #1f9e55; flex: none; }
  .pf-bar .btn { --bh: 48px; padding: 0 20px; }
  .v5-pf .fab { display: none; }
  .v5-pf .ft { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-gal__t { scroll-behavior: auto; }
  .pf-ask[open], .pf-lb[open] { animation: none; }
}

/* ── Emplacement : carte qui raconte (Côte d'Azur → commune → distances) ─── */
@media (min-width: 1024px) {
  .pf-loc__g { grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); align-items: start; }
  .pf-loc__m { position: sticky; top: calc(var(--hd-h) + 90px); }
}
.pfm { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pfm__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfm__ln { stroke: var(--sea); stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; }
.pfm__ms { position: absolute; inset: 0; }
.pfm__m { position: absolute; transition: opacity 0.6s var(--e-out); }
.pfm__m i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--navy); }
.pfm__m span { position: absolute; left: 14px; top: -11px; white-space: nowrap; font-size: 0.8125rem; font-weight: 600; line-height: 22px; color: var(--ink-2);
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 6px #fff, 0 0 6px #fff; }
.pfm__m.is-flip span { left: auto; right: 14px; }
.pfm__m--on { z-index: 3; }
.pfm__m--on i { left: -9px; top: -9px; width: 18px; height: 18px; background: var(--sea); box-shadow: 0 0 0 6px rgba(44, 106, 138, 0.2); }
.pfm__m--on i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--sea); animation: rv-pulse 2.4s var(--e-out) infinite; }
.pfm__m--on span { left: 18px; top: -14px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.875rem; line-height: 28px; text-shadow: none; }
.pfm__m--on.is-flip span { left: auto; right: 18px; }
.pfm__m.is-up span, .pfm__m.is-down span { left: 0; right: auto; transform: translateX(-50%); }
.pfm__m.is-up span { top: auto; bottom: 14px; }
.pfm__m.is-down span { top: 14px; }
.pfm__m--on.is-up span { bottom: 18px; }
.pfm__m--on.is-down span { top: 18px; }
.pfm__m.is-ur span, .pfm__m.is-dr span { left: 7px; right: auto; }
.pfm__m.is-ul span, .pfm__m.is-dl span { left: auto; right: 7px; }
.pfm__m.is-ur span, .pfm__m.is-ul span { top: auto; bottom: 14px; }
.pfm__m.is-dr span, .pfm__m.is-dl span { top: 14px; }
.pfm__m--on.is-ur span, .pfm__m--on.is-dr span { left: 9px; }
.pfm__m--on.is-ul span, .pfm__m--on.is-dl span { right: 9px; }
.pfm__m--on.is-ur span, .pfm__m--on.is-ul span { bottom: 18px; }
.pfm__m--on.is-dr span, .pfm__m--on.is-dl span { top: 18px; }
.pfm__m.is-hid span { visibility: hidden; }
.pfm__m--ref { z-index: 2; }
.pfm__m--ref i { background: var(--sea); box-shadow: 0 0 0 4px rgba(44, 106, 138, 0.16); }
.pfm__m--ref span { top: -12px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--ink); line-height: 24px; text-shadow: none; box-shadow: 0 2px 12px -4px rgba(14, 20, 23, 0.35); }
.pfm__m--ctx span { font-weight: 500; color: var(--mute); }
.pfm[data-step="1"] .pfm__m--ref, .pfm[data-step="1"] .pfm__m--ctx, .pfm[data-step="2"] .pfm__m--ref { opacity: 0; }
.pfm__steps { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pfm__steps li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px -6px rgba(14, 20, 23, 0.4); font-size: 0.75rem; font-weight: 600; color: var(--mute); transition: background-color 0.4s var(--e-out), color 0.4s; }
.pfm__steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 0.6875rem; transition: background-color 0.4s, color 0.4s; }
.pfm__steps li.is-on { background: var(--ink); color: #fff; }
.pfm__steps li.is-on b { background: #fff; color: var(--ink); }
.pfm__steps li.is-done b { background: var(--sea); color: #fff; }
.pfm__replay { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 12px -5px rgba(14, 20, 23, 0.4); font-size: 0.8125rem; font-weight: 600; transition: opacity 0.4s, background-color 0.3s; }
.pfm__replay:hover { background: #fff; }
.pfm__replay .i { width: 16px; height: 16px; }
.pfm.is-run .pfm__replay { opacity: 0; pointer-events: none; }
@media (max-width: 1023px) {
  .pf-loc__m { position: static; }
}
@media (max-width: 760px) {
  .pf-loc__m { margin-inline: calc(var(--gut) * -1); }
  .pfm { border-radius: 0; border-inline: 0; aspect-ratio: 4 / 3.4; }
  .pfm__steps { left: 10px; top: 10px; gap: 4px; }
  .pfm__steps li { height: 26px; padding: 0 9px 0 4px; font-size: 0.6875rem; gap: 5px; }
  .pfm__steps li:not(.is-on) { padding: 0 4px; gap: 0; font-size: 0; }
  .pfm__steps li:not(.is-on) b { font-size: 0.625rem; }
  .pfm__steps b { width: 18px; height: 18px; font-size: 0.625rem; }
  .pfm__m span { font-size: 0.75rem; }
  .pfm__m--ctx span { display: none; }
  .pfm__m--on span { font-size: 0.8125rem; line-height: 26px; }
  .pfm__replay { right: 10px; bottom: 10px; height: 34px; padding: 0 12px; }
  .pf-loc__cr { padding-inline: var(--gut); }
}
@media (prefers-reduced-motion: reduce) { .pfm__m--on i::after { animation: none; } }

/* ── Avis clients sur le bien (demande de Don, 27-10) : note et répartition animées, avis publiés, volet de dépôt ── */
.pf-rv { padding-block: clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); }
.pf-rv__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.pf-rv__head .pf-sec__h { margin-bottom: 0; }
.pf-rv__w { --bh: 48px; }
.pf-rv__w .i, .pf-rv__empty .btn .i { width: 18px; height: 18px; }
.rvs { width: 100%; height: 100%; fill: currentColor; }
.pf-rv__s { position: relative; display: inline-block; height: 16px; line-height: 0; color: #cfd3d3; }
.pf-rv__s0, .pf-rv__s1 { display: inline-flex; gap: 2px; height: 100%; white-space: nowrap; }
.pf-rv__s0 .rvs, .pf-rv__s1 .rvs { flex: none; width: 16px; height: 16px; }
.pf-rv__s1 { position: absolute; left: 0; top: 0; overflow: hidden; color: #c9a14a; }
.pf-rv__s--lg { height: 22px; }
.pf-rv__s--lg .rvs { width: 22px; height: 22px; }
.pf-rv__sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(28px, 3vw, 44px); padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg); background: var(--bg-soft); }
.pf-rv__sum[hidden] { display: none; }
.pf-rv__avg { display: grid; gap: 8px; justify-items: start; }
.pf-rv__n { display: flex; align-items: baseline; gap: 8px; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.pf-rv__n small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.pf-rv__cnt { font-size: 0.9375rem; color: var(--mute); }
.pf-rv__dist { display: grid; gap: 8px; max-width: 460px; }
.pf-rv__dist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 12px; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.pf-rv__dist span { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.pf-rv__dist span .rvs { width: 12px; height: 12px; color: #c9a14a; }
.pf-rv__dist i { position: relative; height: 6px; border-radius: 6px; background: #e1e4e4; overflow: hidden; }
.pf-rv__dist b { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--e-out); }
.pf-rv__sum.is-in .pf-rv__dist b { transform: scaleX(var(--w, 0)); }
.pf-rv__dist li:nth-child(2) b { transition-delay: 0.06s; } .pf-rv__dist li:nth-child(3) b { transition-delay: 0.12s; }
.pf-rv__dist li:nth-child(4) b { transition-delay: 0.18s; } .pf-rv__dist li:nth-child(5) b { transition-delay: 0.24s; }
.pf-rv__dist em { font-style: normal; color: var(--mute); text-align: right; }
.pf-rv__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf-rv__c { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  animation: rv-in 0.7s var(--e-out) calc(var(--k, 0) * 70ms) both; }
@keyframes rv-in { from { opacity: 0; transform: translateY(14px); } }
.pf-rv__ct { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-rv__v { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(44, 106, 138, 0.1); color: var(--sea); font-size: 0.75rem; font-weight: 700; }
.pf-rv__v::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pf-rv__t { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.pf-rv__b { display: grid; gap: 10px; color: var(--ink-2); line-height: 1.65; }
.pf-rv__m { font-size: 0.8125rem; color: var(--mute); }
.pf-rv__r { margin-top: 4px; padding: 14px 16px; border-left: 2px solid var(--ink); border-radius: 0 12px 12px 0; background: var(--bg-soft); font-size: 0.9375rem; line-height: 1.6; }
.pf-rv__rk { margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.pf-rv__empty { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 4vw, 52px) 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); text-align: center; }
.pf-rv__empty[hidden] { display: none; }
.pf-rv__stars { display: inline-flex; gap: 4px; color: #cfd3d3; }
.pf-rv__stars .rvs { width: 22px; height: 22px; }
.pf-rv__et { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.pf-rv__ep { max-width: 52ch; color: var(--ink-2); line-height: 1.6; }
.pf-rv__empty .btn { margin-top: 6px; }
.pf-rv__more { justify-self: center; margin: 22px auto 0; display: block; height: 46px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; }
.pf-rv__more:hover { border-color: var(--ink); }
.pf-rv__more[hidden] { display: none; }
.pf-rv__foot { display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 36px); }
.pf-rv__note { max-width: 70ch; font-size: 0.875rem; line-height: 1.6; color: var(--mute); }
.pf-rv__acc { border-top: 1px solid var(--line); }
.pf-rv__ch { display: grid; gap: 6px; margin-bottom: 16px; }
.pf-rv__ch h4 { font-size: 0.9375rem; font-weight: 600; }
.pf-rv__ch p, .pf-rv__ch li { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.pf-rv__ch ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
/* volet de dépôt */
.pf-rvd fieldset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-rvd legend { padding: 0; margin-bottom: 10px; font-size: 0.875rem; font-weight: 600; }
.pf-rv__sts { display: inline-flex; gap: 6px; }
.pf-rv__st { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #cfd3d3; cursor: pointer; transition: color 0.2s, transform 0.25s var(--e-out); }
.pf-rv__st input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pf-rv__st .rvs { width: 30px; height: 30px; }
.pf-rv__st.is-on { color: #c9a14a; }
.pf-rv__st:hover { transform: scale(1.08); }
.pf-rv__st:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.pf-rv__rl { min-height: 1.2em; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.pf-rv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-rv__chip { position: relative; }
.pf-rv__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf-rv__chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.875rem; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.pf-rv__chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf-rv__chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pf-rvd select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 1rem; }
.pf-f__h { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--mute); }
.pf-rvd .is-bad input, .pf-rvd .is-bad textarea { border-color: #b3261e; }
.pf-rv__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-rv__consent label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.875rem; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.pf-rv__consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--ink); }
.pf-rv__consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pf-rv__msg { padding: 12px 14px; border-radius: 12px; background: #fdf3f1; color: #8c2a1f; font-size: 0.9375rem; }
.pf-rv__msg[hidden] { display: none; }
[data-rv-send].is-busy { opacity: 0.6; pointer-events: none; }
.pf-rv__done { display: grid; justify-items: center; gap: 14px; align-content: center; height: 100%; padding: 32px; text-align: center; }
.pf-rv__done[hidden] { display: none; }
.pf-rv__done:focus { outline: none; }
.pf-rv__done p { max-width: 36ch; color: var(--ink-2); line-height: 1.6; }
.pf-rv__ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; animation: fv-pop 0.7s var(--e-out) both; }
.pf-rv__ok .i { width: 28px; height: 28px; }
@keyframes fv-pop { from { opacity: 0; transform: scale(0.6); } }
@media (max-width: 760px) {
  .pf-rv__sum { grid-template-columns: minmax(0, 1fr); }
  .pf-rv__l { grid-template-columns: minmax(0, 1fr); }
  .pf-rv__head .pf-rv__w { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pf-rv__c, .pf-rv__ok { animation: none !important; } .pf-rv__dist b { transition: none !important; } }
