/* Domini Prestige : ivoire, vert profond, laiton, Bodoni Moda. Lent, centré, éditorial. */
html.t-prestige { --paper: #f4efe6; --paper-2: #ebe3d5; --paper-3: #ded3c2; --white: #fbf8f2; --ink: #1c1b18; --ink-2: #4b463e; --mute: #8a8274; --line: rgba(28,27,24,.14); --line-2: rgba(28,27,24,.07); --forest: #16211b; --brass: #a88b5c; --brass-2: #c9b18a; }
.t-prestige body { background: var(--paper); }
.t-prestige ::selection { background: var(--forest); color: #efe9dd; }
.t-prestige .hd-logo, .t-prestige .ft-logo { --logo-dot: var(--brass); }
.t-prestige .hd-owner { background: var(--forest); color: #efe9dd; }
.t-prestige .hd-ink { background: var(--brass); }
.t-prestige .btn-blue, .t-prestige .btn-ink { background: var(--forest); color: #efe9dd; }
.t-prestige .btn::before { background: var(--brass); }
.t-prestige .ft { background: var(--forest); }
.t-prestige .dlg { background: var(--paper); }
.t-prestige .dlg-t, .t-prestige .fm-t { font-family: var(--didone); font-weight: 400; }
.t-prestige .fl input:focus, .t-prestige .fl textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(22,33,27,.12); }

.pr-k, .pr-no { font-family: var(--sans); font-size: 12.5px; font-weight: 560; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin: 0; }
.pr-h2, .pf-h2 { font-family: var(--didone); font-weight: 400; font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.01em; }
.pr-link { font-family: var(--didone); font-style: italic; font-size: 18px; border-bottom: 1px solid currentColor; }
.pr-btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 2px; background: var(--forest); color: #efe9dd; font-size: 14px; font-weight: 560; letter-spacing: .14em; text-transform: uppercase; transition: background .5s var(--ease), color .5s; }
.pr-btn:hover { background: var(--brass); color: var(--forest); }
.pr-btn.is-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pr-btn.is-line:hover { background: var(--forest); color: #efe9dd; box-shadow: none; }
.pr-btn .ic { width: 18px; height: 18px; }
.pr-save { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.pr-save[aria-pressed="true"] { background: var(--forest); color: #efe9dd; } .pr-save[aria-pressed="true"] path { fill: currentColor; }
.pr-cta { display: inline-flex; gap: 14px; align-items: center; font-family: var(--didone); font-size: 22px; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .5s var(--ease); }
.pr-cta:hover { gap: 24px; }

/* ---------- accueil Prestige ---------- */
.pr-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--forest); color: #f1ebdf; display: grid; place-items: center; text-align: center; }
.pr-hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: prz 24s ease-in-out infinite alternate; }
@keyframes prz { to { transform: scale(1.14); } }
.pr-hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(14,22,17,.35), rgba(14,22,17,.78) 75%); }
.pr-hero-in { position: relative; z-index: 2; padding: 0 var(--gut); display: grid; justify-items: center; gap: 18px; }
.pr-hero .pr-k { color: var(--brass-2); }
.pr-h1 { display: grid; justify-items: center; gap: 16px; font-weight: 400; }
.pr-h1a { font-family: var(--didone); font-size: clamp(76px, 15vw, 270px); line-height: .82; letter-spacing: -.02em; font-weight: 400; }
.pr-h1a .ch { display: inline-block; }
.pr-h1b { font-family: var(--sans); font-size: clamp(14px, 1.1vw, 17px); font-weight: 520; letter-spacing: .28em; text-transform: uppercase; color: #d9cfbd; }
.pr-lead { font-family: var(--didone); font-style: italic; font-size: clamp(19px, 1.7vw, 26px); color: #e6ddcc; max-width: 30em; margin-top: 8px; }
.pr-down { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 30px; height: 50px; border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(241,235,223,.5); z-index: 2; }
.pr-down span { position: absolute; left: 50%; top: 10px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #f1ebdf; animation: prd 2s var(--ease) infinite; }
@keyframes prd { 60% { transform: translateY(16px); opacity: 0; } 61% { transform: none; opacity: 0; } }

.pr-coll { padding: clamp(100px, 12vw, 200px) var(--gut); max-width: 1520px; margin: 0 auto; }
.pr-coll-h { text-align: center; margin-bottom: clamp(70px, 9vw, 140px); }
.pr-count { font-family: var(--didone); font-style: italic; font-size: 20px; color: var(--mute); margin-top: 14px !important; }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(90px, 12vw, 200px); }
.pr-a { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.pr-item.is-r .pr-a { grid-template-columns: 1fr 1.35fr; }
.pr-item.is-r .pr-img { order: 2; }
.pr-img { display: block; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 2px; }
.pr-item:nth-child(3n) .pr-img { aspect-ratio: 4 / 5; }
.pr-img img { width: 100%; height: 114%; object-fit: cover; margin-top: -7%; transition: transform 2s var(--ease), filter 1s; filter: saturate(.92); }
.pr-a:hover .pr-img img { transform: scale(1.035); filter: none; }
.pr-cap { display: grid; gap: 14px; justify-items: start; }
.pr-city { font-family: var(--didone); font-size: clamp(40px, 4.4vw, 76px); line-height: .95; letter-spacing: -.01em; }
.pr-t { font-family: var(--didone); font-style: italic; font-size: clamp(18px, 1.4vw, 22px); color: var(--ink-2); max-width: 24em; line-height: 1.35; }
.pr-f { font-size: 14px; letter-spacing: .06em; color: var(--mute); display: flex; gap: 10px; flex-wrap: wrap; text-transform: uppercase; }
.pr-p { font-family: var(--didone); font-size: 30px; }
.pr-more { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; margin-top: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: gap .5s var(--ease), border-color .4s; }
.pr-a:hover .pr-more { gap: 20px; border-color: var(--ink); }
.pr-more .ic { width: 18px; height: 18px; }

.pr-appr { background: var(--forest); color: #ece5d7; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.pr-appr-in { padding: clamp(80px, 10vw, 170px) var(--gut); display: grid; gap: 28px; align-content: center; }
.pr-appr-p { font-family: var(--didone); font-size: clamp(21px, 1.8vw, 28px); line-height: 1.45; max-width: 26em; color: inherit; opacity: .9; }
.pr-appr-img { overflow: hidden; min-height: 70vh; } .pr-appr-img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.pr-sell { text-align: center; padding: clamp(100px, 12vw, 200px) var(--gut); display: grid; justify-items: center; gap: 28px; }

/* ---------- fiche Prestige ---------- */
.pf-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--forest); }
.pf-hero-img { position: absolute; inset: 0; margin: 0; } .pf-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: pfz 30s ease-out both; }
@keyframes pfz { from { transform: scale(1.12); } }
.pf-hero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(14,22,17,.45), rgba(14,22,17,0) 28%, rgba(14,22,17,0) 70%, rgba(14,22,17,.35)); }
.pf-back { position: absolute; left: var(--gut); bottom: 30px; display: inline-flex; gap: 10px; align-items: center; color: #f1ebdf; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 560; }
.pf-all { top: auto; bottom: 24px; border-radius: 2px; letter-spacing: .06em; }
.pf-title { text-align: center; padding: clamp(70px, 9vw, 140px) var(--gut) clamp(60px, 8vw, 120px); display: grid; justify-items: center; gap: 22px; }
.pf-h1 { font-family: var(--didone); font-weight: 400; font-size: clamp(42px, 6vw, 104px); line-height: .98; letter-spacing: -.012em; max-width: 13em; text-wrap: balance; }
.pf-sub { font-family: var(--didone); font-style: italic; font-size: clamp(19px, 1.6vw, 25px); color: var(--ink-2); max-width: 30em; }
.pf-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pf-facts li { padding: 0 18px; } .pf-facts li + li { border-left: 1px solid var(--line); }
.pf-price { font-family: var(--didone); font-size: clamp(34px, 3.6vw, 58px); margin-top: 10px !important; }
.pf-fai { font-size: 12.5px; color: var(--mute); margin-top: -14px !important; letter-spacing: .06em; }
.pf-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 10px; }
.pf-ch { max-width: 1180px; margin: 0 auto; padding: clamp(70px, 9vw, 150px) var(--gut); border-top: 1px solid var(--line); }
.pf-chn { font-family: var(--didone); font-style: italic; font-size: 22px; color: var(--brass); margin-bottom: 14px; }
.pf-h2 { margin-bottom: clamp(30px, 4vw, 60px); }
.pf-sum { font-family: var(--didone); font-size: clamp(24px, 2.3vw, 36px); line-height: 1.35; max-width: 26em; margin-bottom: 50px; }
.pf-read { max-width: 40em; }
.pf-read h3 { font-family: var(--didone); font-weight: 400; font-size: 28px; margin: 1.4em 0 .5em; line-height: 1.15; }
.pf-read p { break-inside: avoid-column; }
.pf-read > p:first-child::first-letter { font-family: var(--didone); float: left; font-size: 4.2em; line-height: .8; padding: 6px 10px 0 0; color: var(--forest); }
.pf-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 12vw, 200px); gap: 10px; }
.pg { overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.pg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pg:hover img { transform: scale(1.04); }
.pg0 { grid-column: span 4; grid-row: span 3; } .pg1 { grid-column: span 2; grid-row: span 2; } .pg2 { grid-column: span 2; grid-row: span 1; }
.pg3 { grid-column: span 2; grid-row: span 2; } .pg4 { grid-column: span 2; grid-row: span 2; } .pg5 { grid-column: span 2; grid-row: span 2; }
.pf-cols .f-sec { border-color: var(--line); }
.pf-cols .f-h { font-family: var(--didone); font-weight: 400; }
.pf-cols .cost-out { background: var(--forest); } .pf-cols .cost-bar [data-b=loan], .pf-cols .k1 { background: var(--brass); }
.pf-cols .rg input, .pf-cols .sun-day input { accent-color: var(--forest); }
.pf-cols .car-l input:checked + .car-box { background: var(--forest); border-color: var(--forest); }
.pf-cols .sun-dot { fill: var(--brass); }
.pf-adv { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--gut); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.pf-adv img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.pf-advn { font-family: var(--didone); font-size: 36px; margin: 6px 0 8px !important; }
.pf-next { position: relative; display: block; height: 70vh; overflow: hidden; color: #f1ebdf; }
.pf-next-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease); }
.pf-next:hover img { transform: scale(1.04); }
.pf-next::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14,22,17,.5); }
.pf-next-t { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.pf-next .pr-no { color: var(--brass-2); }
.brochure { display: none; }

/* ---------- confier une propriété ---------- */
.pr-sellp { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.pr-sellp-img { position: sticky; top: 0; height: 100vh; overflow: hidden; } .pr-sellp-img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.pr-sellp-in { padding: calc(var(--hd) + 80px) var(--gut) 100px; display: grid; gap: 26px; align-content: start; }
.pr-sellp-in .fm { margin-top: 20px; }
.t-prestige .fm .btn { background: var(--forest); border-radius: 2px; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; }

@media (max-width: 1100px) {
  .pr-a, .pr-item.is-r .pr-a { grid-template-columns: 1fr; }
  .pr-item.is-r .pr-img { order: 0; }
  .pr-appr { grid-template-columns: 1fr; } .pr-appr-img { min-height: 60vh; }
  .pr-sellp { grid-template-columns: 1fr; } .pr-sellp-img { position: relative; height: 56vh; }
  .pf-adv { grid-template-columns: auto 1fr; } .pf-adv .pf-cta { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 700px) {
  .pf-read { columns: 1; }
  .pf-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .pg0 { grid-column: span 2; grid-row: span 2; } .pg1, .pg2, .pg3, .pg4, .pg5 { grid-column: span 1; grid-row: span 1; }
  .pf-facts li { padding: 4px 10px; } .pf-facts li + li { border: 0; }
  .pf-cta { width: 100%; } .pf-cta .pr-btn { flex: 1; justify-content: center; }
  .pf-adv img { width: 72px; height: 72px; }
}

/* ---------- la brochure (impression A4 / PDF) ---------- */
@media print {
  @page { size: A4; margin: 0; }
  html.print-carnet .pf-hero, html.print-carnet .pf-title, html.print-carnet .pf-intro, html.print-carnet .pf-gal, html.print-carnet .pf-adv, html.print-carnet .pf-next, html.print-carnet .pf-chn, html.print-carnet .pf-details > .pf-h2, html.print-carnet .brochure { display: none !important; }
  html.print-carnet .pf-ch { border: 0; padding: 12mm; }
  html:not(.print-carnet) body > *:not(.brochure) { display: none !important; }
  html:not(.print-carnet) .brochure { display: block !important; font-family: var(--sans); color: #1c1b18; }
  .br-cover { position: relative; height: 297mm; overflow: hidden; break-after: page; }
  .br-cover img { width: 100%; height: 100%; object-fit: cover; }
  .br-cover div { position: absolute; left: 0; right: 0; bottom: 0; padding: 18mm; background: linear-gradient(transparent, rgba(14,22,17,.85)); color: #f1ebdf; }
  .br-cover h2 { font-family: var(--didone); font-weight: 400; font-size: 34pt; line-height: 1; margin: 4mm 0; }
  .br-cover p { font-size: 10pt; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
  .br-page { padding: 16mm 18mm; }
  .br-sum { font-family: var(--didone); font-size: 15pt; line-height: 1.4; margin-bottom: 8mm; }
  .br-txt { columns: 2; column-gap: 9mm; font-family: var(--read); font-size: 9.5pt; line-height: 1.5; }
  .br-txt h3 { font-family: var(--didone); font-weight: 400; font-size: 12pt; }
  .br-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; margin-top: 8mm; break-inside: avoid; }
  .br-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .br-foot { margin-top: 8mm; font-size: 8.5pt; letter-spacing: .08em; color: #6b655b; border-top: .3mm solid #c9b18a; padding-top: 4mm; }
}

/* v2 : les titres de chapitres de Prestige gardent leur taille d’origine */
.pf-cols .f-h { font-size: clamp(28px, 2.6vw, 42px); }
.pf-cols .f-sum { font-size: clamp(22px, 1.9vw, 30px); }
