/* =====================================================================
   Pages intérieures alignées sur le SYSTÈME GRAPHIQUE WAYNE
   (vendre, acheter, immeuble, projets-neufs, a-propos, contact, bien)
   Chargé après styles.css et les feuilles propres à chaque page.
   N'invente rien : reprend les jetons du système (--r-*, --s-*, .num, .label).
   ===================================================================== */

/* ---------- 1. Arrondis : 28 cadres et fenêtres / 20 cartes et images / 12 champs / pilule ---------- */
.offer,
.vm-media,
.vente-card,
.form-card,
.pn-card,
.pnx-panel,
.c-map,
.feature-card,
.method,
.member-photo,
.story-media img:not(.inset),
.project-media img,
.listing-media,
.lots { border-radius: var(--r-card) !important; }
.feature-band,
.pn-panel,
.page-hero-media { border-radius: var(--r-frame) !important; }
.pnx-body img,
.story-media img.inset,
.method .formula,
.filters-bar .field select,
.filters-bar .field input { border-radius: var(--r-ctrl) !important; }
.c-map #c-map { border-radius: inherit; }

/* ---------- 2. Verre : uniquement au-dessus d'une photo ---------- */
/* La barre de filtres d'Acheter est sur fond uni : surface pleine, filet fin, pas de flou */
.filters-bar { border-radius: var(--r-card) !important; background: var(--surface) !important; border: 1px solid var(--line) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: var(--shadow); }

/* ---------- 3. Pas de dégradés chargés : offres de Vendre en aplats ---------- */
.offer-side { background: var(--surface) !important; }
.offer-main { background: var(--accent) !important; box-shadow: 0 30px 60px -30px rgba(31, 42, 92, .55) !important; }
.offer h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; letter-spacing: -0.03em; }
.offer-price small { font-size: 11.5px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.offer-main .offer-price small { color: rgba(255, 255, 255, .7) !important; }
.offer-side h3, .offer-side .offer-price b, .offer-side .offer-mark { color: var(--ink) !important; }
.offer-side .offer-mark { background: var(--ink) !important; }
.offer-left .offer-price b { font-weight: 400; letter-spacing: -0.06em !important; }

/* ---------- 4. Échelle typo : sous-titres de composants ---------- */
.vm-text h3,
.pnx-copy h3,
.method h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.member h3,
.milestone h3,
.check-group h3 { font-size: 1.15rem !important; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.member .role { color: var(--muted) !important; font-size: 11.5px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.member a { font-family: var(--font) !important; }
.filters-bar .field label { font-size: 11.5px !important; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 5. Chiffres en style suisse : gros chiffre noir, étiquette en capitales, filets fins ---------- */
.stats { border-top: 0 !important; }
.stat { padding-top: 20px !important; }
.stat b { font-size: clamp(3rem, 5.4vw, 4.8rem) !important; font-weight: 400 !important; letter-spacing: -0.06em !important; line-height: .9 !important; color: var(--ink); white-space: nowrap; }
.stat span { margin-top: 12px !important; font-size: 11.5px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; color: var(--muted) !important; }
.milestone::before { background: var(--ink) !important; }
.milestone { border-top: 0; }
.milestone b { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem) !important; font-weight: 400 !important; letter-spacing: -0.06em !important; line-height: .9; color: var(--ink); }
.feature-card .facts b { font-family: var(--font) !important; font-size: clamp(1.6rem, 2.2vw, 2rem) !important; letter-spacing: -0.05em !important; line-height: 1; }
.feature-card .facts span { font-size: 11px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

.ventes-figs dt { color: var(--ink) !important; font-size: clamp(2.6rem, 4vw, 3.4rem) !important; letter-spacing: -0.06em !important; line-height: .9 !important; }
.ventes-figs dd { font-size: 11.5px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.project-kpis b { font-family: var(--font) !important; font-weight: 400 !important; letter-spacing: -0.06em !important; color: var(--ink); }
.project-kpis span { font-size: 11.5px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 6. Données sur filets : FAQ en liste suisse (filet encre au-dessus, filets fins entre) ---------- */
.faq { gap: 0 !important; }
.faq details { border: 0 !important; border-bottom: 0 !important; border-radius: 0 !important; background: none !important; padding: 0 !important; }
.faq summary { padding: 22px 0 !important; font-size: clamp(1.02rem, 1.3vw, 1.15rem) !important; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px !important; transition: transform var(--t-mid) var(--ease), background-color var(--t-fast), color var(--t-fast); }
.faq details[open] summary i { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq summary:hover i { border-color: var(--ink); }
.lots, .pn-lots { border: 0 !important; border-radius: 0 !important; background: none !important; }
.lots-head, .pn-lot-head { background: none !important; }

/* ---------- 7. Une interaction par section, mouvement discret ---------- */
.vente-card, .pn-card { transition-duration: var(--t-mid) !important; }

/* ---------- 8. Rythme vertical : écarts réguliers entre en-tête et première section ---------- */
.page-hero.ph-std + section.section,
.page-hero.ph-std + .section { padding-top: var(--s-md) !important; }
.ph-filters { margin-bottom: var(--g) !important; }

/* ---------- 9. Contact : carte et formulaire sur la même grille d'arrondis ---------- */
.c-map-link { border-radius: var(--r-pill); }

@media (max-width: 860px) {
  .stat b { font-size: clamp(2.6rem, 12vw, 3.4rem) !important; }
}

/* Fiche d'un bien : les « chiffres » contiennent aussi des mots (catégorie, localité), taille moyenne */
#bien .stat b { font-size: clamp(1.6rem, 2.6vw, 2.4rem) !important; letter-spacing: -0.04em !important; line-height: 1 !important; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) { .stat b { white-space: normal; overflow-wrap: anywhere; } }

/* ---------- Vendre : formules moins hautes, pour tenir sur un écran (2.12.2026) ---------- */
.offers-section { padding-top: clamp(32px, 4vw, 56px) !important; }
.offers-head { max-width: 900px; margin-bottom: clamp(36px, 4vw, 52px); }
.offers-head .lead { margin-top: 12px; font-size: clamp(15px, 1.15vw, 17px); }
.offers { max-width: 1360px; }
.offer { padding: clamp(22px, 2vw, 30px) !important; border-radius: var(--r-frame) !important; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; align-content: start; }
.offer > * { grid-column: 1 / -1; }
.offer .offer-mark { grid-column: 1; width: 40px; height: 24px; margin: 0; }
.offer h3 { grid-column: 2; font-size: clamp(1.2rem, 1.5vw, 1.4rem) !important; }
.offer .offer-badge { height: 32px; font-size: 11.5px; }
.offer-price { margin: 16px 0 16px; padding-bottom: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.offer-price small { margin: 0; }
.offer-price b { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.offer-left .offer-price b { font-size: clamp(2rem, 2.8vw, 2.6rem); }
.offer-price em { font-size: 16px; }
.offer ul { gap: 8px; margin-bottom: 20px; font-size: 14px; line-height: 1.4; }
.offer li { grid-template-columns: 18px 1fr; gap: 10px; }
.offer li i { font-size: 15px; }
.offer-btn { height: 48px; font-size: 13px; align-self: end; }
.offer-side { margin: 18px 0; }
.offers.is-in .offer-main { transform: translateY(-12px); }
@media (max-width: 960px) { .offer { display: flex; } .offer .offer-mark { margin-bottom: 14px; } }
.offer { grid-template-rows: auto auto 1fr auto; }
.offers-section { padding-bottom: clamp(32px, 4vw, 56px) !important; }
.offers-head { max-width: 1100px; margin-bottom: 40px; }
.offers-head .lead { max-width: none; }
.offer ul { gap: 7px; }
.offer ul { align-self: start; }
.offer-price { justify-content: flex-start; gap: 16px; }

/* Vendre : formules regrandies, entre la première version et la version trop serrée (2.12.2026) */
.offer { padding: clamp(28px, 2.5vw, 40px) !important; column-gap: 16px; }
.offer .offer-mark { width: 50px; height: 30px; }
.offer h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem) !important; }
.offer-price { margin: 22px 0 22px; padding-bottom: 22px; }
.offer-price b { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
.offer-left .offer-price b { font-size: clamp(2.4rem, 3.3vw, 3.1rem); }
.offer ul { gap: 11px; margin-bottom: 26px; font-size: 15.5px; line-height: 1.45; }
.offer li { grid-template-columns: 20px 1fr; gap: 12px; }
.offer li i { font-size: 17px; }
.offer-btn { height: 54px; font-size: 14px; }

/* Formules : section remontée d'un rien */
.offers-section { margin-top: -28px; }
.offers-section { padding-bottom: clamp(72px, 8vw, 120px) !important; }
