/* Fiche villa — modèle "Signature" (complète assets/styles.css) */
.vf-head { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.vf-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin: .75rem 0 1.5rem; }
.vf-title h1 { font-size: var(--step-4); margin: .15rem 0 .35rem; }
.vf-eyebrow { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.vf-sub { margin: 0; color: var(--muted); }
.vf-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.vf-badge { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: var(--step--1); white-space: nowrap; }

/* Galerie mosaïque */
.vf-mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .5rem; height: clamp(320px, 52vw, 560px); border-radius: var(--radius); overflow: hidden; }
.vf-mosaic > button:not(.vf-all) { all: unset; cursor: zoom-in; display: block; overflow: hidden; background: var(--bg-alt); }
.vf-mosaic > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vf-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vf-mosaic > button:hover img { transform: scale(1.03); }
.vf-mosaic > button:not(.vf-all):first-child { grid-row: 1 / 3; }
.vf-mosaic .vf-all { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; background: var(--bg); color: var(--fg); border: 1px solid var(--fg); border-radius: var(--radius); padding: .55rem 1rem; font: 600 var(--step--1) var(--font-body); cursor: pointer; }
@media (max-width: 760px) {
  .vf-mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 70vw; }
  .vf-mosaic > button:not(:first-child):not(.vf-all) { display: none; }
  .vf-mosaic > button:not(.vf-all):first-child { grid-row: auto; }
}

/* Lightbox */
.vf-lightbox { width: min(1100px, 96vw); max-height: 92vh; border: 0; padding: 0; background: var(--bg); color: var(--fg); border-radius: var(--radius); }
.vf-lightbox::backdrop { background: rgba(35, 29, 25, .85); }
.vf-lb-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 1; }
.vf-lb-head h2 { font-size: var(--step-1); margin: 0; }
.vf-close { all: unset; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: .25rem .5rem; }
.vf-lb-grid { columns: 2; column-gap: .75rem; padding: 1rem 1.25rem 1.5rem; }
.vf-lb-grid figure { margin: 0 0 .75rem; break-inside: avoid; }
.vf-lb-grid figcaption { font-size: var(--step--1); color: var(--muted); padding: .35rem .1rem 0; }
@media (max-width: 640px) { .vf-lb-grid { columns: 1; } }

/* Promesses */
.vf-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vf-promises li { padding: 1rem 0; }
.vf-promises strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
.vf-promises span { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) { .vf-promises { grid-template-columns: 1fr; gap: 0; } .vf-promises li + li { border-top: 1px solid var(--line); } }

/* Sous-navigation */
.vf-tabs { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 2rem; }
.vf-tabs .wrap { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.vf-tabs .wrap::-webkit-scrollbar { display: none; }
.vf-tabs a { padding: .95rem 0; text-decoration: none; white-space: nowrap; font-size: var(--step--1); font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.vf-tabs a:hover, .vf-tabs a.is-active { color: var(--fg); border-bottom-color: var(--accent); }

/* Corps + carte de demande */
.vf-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.5rem); }
.vf-body > aside { position: sticky; top: 4.5rem; }
@media (max-width: 900px) { .vf-body { grid-template-columns: minmax(0, 1fr); } .vf-body > aside { position: static; } }
.vf-section { scroll-margin-top: 4.5rem; padding-bottom: clamp(2rem, 5vw, 3rem); margin-bottom: clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.vf-section:last-child { border-bottom: 0; margin-bottom: 0; }
.vf-section h2 { font-size: var(--step-3); margin: 0 0 1.25rem; }
.vf-section > p { max-width: 62ch; margin: 0 0 1rem; }

.vf-spaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.vf-spaces h3 { font-size: var(--step-1); margin: 0 0 .5rem; }
.vf-spaces ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.vf-spaces li { margin: .2rem 0; }
@media (max-width: 640px) { .vf-spaces { grid-template-columns: 1fr; } }

.vf-incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.vf-incl > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.vf-incl h3 { font-size: var(--step-1); margin: 0 0 .75rem; }
.vf-incl ul { margin: 0; padding: 0; list-style: none; }
.vf-incl li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-top: 1px solid var(--line); }
.vf-incl li:first-child { border-top: 0; }
.vf-incl li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.vf-incl .vf-ondemand li::before { content: "+"; }
.vf-incl p { font-size: var(--step--1); color: var(--muted); margin: .75rem 0 0; }
@media (max-width: 640px) { .vf-incl { grid-template-columns: 1fr; } }

.vf-dist { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 1.25rem 0; border-top: 1px solid var(--fg); }
.vf-dist div { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); }
.vf-dist dt { font-size: var(--step--1); color: var(--muted); }
.vf-dist dd { margin: 0; font-weight: 600; }

.vf-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 1rem; background: var(--bg); }
.vf-card h2 { font-size: var(--step-2); margin: 0; }
.vf-price { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }
.vf-price small { display: block; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); }
.vf-card .btn { width: 100%; justify-content: center; }
.vf-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vf-chips legend { font-size: var(--step--1); font-weight: 600; margin-bottom: .5rem; padding: 0; }
.vf-chips label { display: inline-flex; cursor: pointer; }
.vf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.vf-chips span { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: var(--step--1); transition: background .15s, border-color .15s; }
.vf-chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.vf-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.vf-card .fineprint { margin: 0; }
.vf-advisor { display: flex; gap: .75rem; align-items: center; font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.vf-advisor a { color: var(--fg); font-weight: 600; }

.vf-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; max-width: 60rem; }
.vf-more a { text-decoration: none; display: grid; gap: .6rem; }
.vf-more img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
.vf-more h3 { font-size: var(--step-1); margin: 0; }
.vf-more p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.vf-more .vf-ask { border: 1px dashed var(--accent); border-radius: var(--radius); padding: 1.5rem; align-content: center; min-height: 100%; }

/* Barre mobile */
.vf-mbar { display: none; }
@media (max-width: 900px) {
  .vf-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: .75rem; align-items: center; justify-content: space-between; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .vf-mbar p { margin: 0; font-size: var(--step--1); line-height: 1.3; }
  .vf-mbar strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-0); }
  body.has-vf-mbar .wa-float { bottom: 5.5rem; }
  body.has-vf-mbar { padding-bottom: 4.5rem; }
}

/* Avis */
.vf-rating { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.5rem; align-items: center; margin-bottom: 2rem; }
.vf-rating-score { margin: 0; font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.vf-rating-score small { display: block; font-family: var(--font-body); font-size: var(--step--1); color: var(--muted); margin-top: .4rem; }
.vf-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--fg); }
.vf-scores div { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem 1rem .55rem 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.vf-scores dt { color: var(--muted); } .vf-scores dd { margin: 0; font-weight: 600; }
.vf-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; margin-bottom: 1.25rem; }
.vf-review { margin: 0; display: grid; gap: .6rem; align-content: start; }
.vf-review blockquote { margin: 0; }
.vf-review blockquote p { margin: 0; font-size: var(--step-0); line-height: 1.6; }
.vf-review blockquote p::before { content: "« "; color: var(--accent-ink); } .vf-review blockquote p::after { content: " »"; color: var(--accent-ink); }
.vf-review figcaption { font-size: var(--step--1); color: var(--muted); }
.vf-review figcaption strong { color: var(--fg); }
@media (max-width: 760px) { .vf-rating { grid-template-columns: 1fr; } .vf-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vf-reviews { grid-template-columns: 1fr; } }
