/* Fiche de bien v4 (2026-11-12). Se charge APRES bien-fiche.css. Genere par outils/fiche_v4.py. */
/* ===== base : bandeau, mosaique, volets, fenetres ===== */

/* ===== Fiche reordonnee : ajouts uniquement, par-dessus la feuille d'origine ===== */
:root { --fr-ln: #e8e2d4; --fr-ink: #14294a; --fr-or: #ab9765; --fr-orc: #c4aa75; --fr-orf: #8c7a4a; }

/* bandeau = ORIGINAL, non retouche. Boutons de la barre collante : */
.fr-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: 600 .95rem/1.2 'Lexend', sans-serif; text-decoration: none; transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s; }
.fr-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.fr-btn-or { background: var(--fr-orc); color: var(--fr-ink); } .fr-btn-or:hover { background: #d3bd8c; }
.fr-btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.38); } .fr-btn-ghost:hover { background: rgba(255,255,255,.16); }
.fr-btn small { font-weight: 400; opacity: .8; }
.fr-btn { padding: 12px 20px; }
/* lecture : trucs en + puis volets */
.fr-lecture { max-width: 1200px; margin: 0 auto; padding: 8px 20px 18px; }
.fr-lecture > * { width: 100%; max-width: 900px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.fr-trucs { display: grid; gap: 12px; background: #fbf7ec; border: 1px solid #eadfc2; border-radius: 16px; padding: 24px 28px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(20,41,74,.04), 0 10px 28px rgba(20,41,74,.05); }
.fr-trucs h2 { margin: 0; font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.35rem; color: var(--fr-ink); display: flex; align-items: center; gap: 12px; } .fr-trucs h2::before { display: none; } .fr-trucs h2 i { color: var(--fr-orf); font-size: 1.05rem; }
.fr-trucs p { margin: 0; line-height: 1.65; color: #3b4960; max-width: 68ch; } .fr-trucs p b { color: var(--fr-ink); font-weight: 600; }
.fr-vol { background: #fff; border: 1px solid var(--fr-ln); border-radius: 16px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(20,41,74,.04), 0 10px 28px rgba(20,41,74,.05); transition: box-shadow .25s ease-out; }
.fr-vol:hover { box-shadow: 0 1px 2px rgba(20,41,74,.05), 0 14px 34px rgba(20,41,74,.09); }
.fr-vol > summary { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; border-radius: 16px; } .fr-vol > summary::-webkit-details-marker { display: none; }
.fr-vol > summary:focus-visible { outline: 2px solid var(--fr-or); outline-offset: 3px; }
.fr-vol .ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--fr-ink); color: #d8c08a; display: grid; place-items: center; font-size: 1rem; }
.fr-vol .tt { flex: 1; min-width: 0; } .fr-vol .tt b { display: block; font-family: var(--serif, 'Fraunces', Georgia, serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--fr-ink); } .fr-vol .tt small { display: block; margin-top: 3px; font-size: .86rem; color: #7b8798; }
.fr-vol .chev { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--fr-ink); box-shadow: inset 0 0 0 1.4px var(--fr-ln); transition: transform .3s ease-out, background .2s; } .fr-vol > summary:hover .chev { background: #f4efe2; } .fr-vol[open] .chev { transform: rotate(180deg); }
.fr-vol .corps { padding: 2px 28px 28px; } .fr-vol .corps > :first-child { margin-top: 0; } .fr-vol .corps p { max-width: 72ch; }
.fr-vol .corps .expresso-list { margin: 0; } .fr-vol .corps .bien-carac-list { margin: 0; }
.fr-vol .collapsible-body p { margin-bottom: 14px; line-height: 1.8; }

.fr-mentions { max-width: 900px; margin: 6px auto 34px; padding: 22px 28px 6px; border-top: 1px solid var(--fr-ln); box-sizing: border-box; width: 100%; color: #5b6779; font-size: .86rem; line-height: 1.65; }
.fr-mentions h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.1rem; color: var(--fr-ink); margin: 0 0 12px; } .fr-mentions h2::before { display: none; }
.fr-mentions h3 { font: 600 .9rem 'Lexend', sans-serif; color: var(--fr-ink); margin: 16px 0 8px; } .fr-mentions p { margin: 0 0 10px; max-width: 78ch; }
.fr-mentions ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; max-width: 78ch; } .fr-mentions li { padding-left: 14px; position: relative; } .fr-mentions li::before { content: ''; position: absolute; left: 0; top: .75em; width: 5px; height: 1px; background: var(--fr-or); }
.fr-mentions a { color: var(--fr-ink); text-decoration-color: var(--fr-or); text-underline-offset: 3px; }
@media (max-width: 768px) { .fr-mentions { padding: 20px 14px 4px; } }
/* bandeau : retouches demandees par Jonathan */
.bien-hero-inner > .bien-back { border: 0; background: none; padding: 0; font-size: .86rem; font-weight: 400; color: rgba(255,255,255,.72); }
.bien-hero-inner > .bien-back:hover { background: none; color: #fff; border: 0; text-decoration: underline; }
.fr-prix { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 14px; } .fr-prix .bien-hero-price { margin: 0; }
.fr-prix .annonce_label { margin: 0; }
.fr-chiffres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; color: rgba(255,255,255,.94); font-size: 1rem; }
.fr-chiffres li { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.22); }
.fr-chiffres li:last-child { border-right: 0; margin-right: 0; padding-right: 0; } .fr-chiffres i { color: var(--fr-orc); font-size: .9rem; }
/* partage : discret, en texte, dans le bandeau */
.fr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 16px; font-size: .84rem; color: rgba(255,255,255,.6); }
.fr-share .share-buttons { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fr-share .share-btn { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 2px 0; font: 400 .84rem 'Lexend', sans-serif; color: rgba(255,255,255,.82); cursor: pointer; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); transition: color .2s, border-color .2s; }
.fr-share .share-btn:hover { background: none; transform: none; color: #fff; border-bottom-color: var(--fr-orc); }
.fr-share .share-btn i { color: var(--fr-orc); margin-right: 6px; font-size: .8rem; }
/* bandeau oblique, comme l'accueil (biais de 26 px) */
.bien-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); padding-bottom: calc(var(--bh-pb, 40px) + 26px); }
@media (prefers-reduced-motion: reduce) { .bien-hero { clip-path: none; } }
/* bouton Partager + fenetre (modale) */
.fr-share { margin-top: 18px; }
.fr-sharebtn { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; padding: 3px 0; font: 500 .9rem 'Lexend', sans-serif; color: rgba(255,255,255,.9); cursor: pointer; transition: color .2s, border-color .2s; }
.fr-sharebtn i { color: var(--fr-orc); font-size: 1rem; } .fr-sharebtn:hover { color: #fff; border-bottom-color: var(--fr-orc); }
.fr-sharebtn:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 4px; }
.fr-dlg { margin: auto; border: 0; padding: 0; border-radius: 20px; width: min(420px, calc(100vw - 32px)); background: #fff; box-shadow: 0 30px 80px rgba(8,22,42,.45); color: var(--fr-ink); }
.fr-dlg::backdrop { background: rgba(10,24,45,.55); backdrop-filter: blur(3px); }
.fr-dlg[open] { animation: frdlg .22s ease-out; } @keyframes frdlg { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.fr-dlg-in { padding: 24px 24px 26px; display: grid; gap: 10px; }
.fr-dlg-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.fr-dlg-h h2 { margin: 0; font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.3rem; color: var(--fr-ink); } .fr-dlg-h h2::before { display: none; }
.fr-dlg-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f4efe2; color: var(--fr-ink); cursor: pointer; } .fr-dlg-x:hover { background: #ebe3cc; }
.fr-dlg .share-buttons { display: grid; gap: 10px; }
.fr-dlg .share-btn { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--fr-ln); background: #fff; color: var(--fr-ink); font: 500 .98rem 'Lexend', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.fr-dlg .share-btn:hover { background: #faf6ea; border-color: var(--fr-or); }
.fr-dlg .share-btn i { width: 22px; text-align: center; color: var(--fr-or); font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .fr-dlg[open] { animation: none; } }
/* CTA visite + fenetre d'appel */
.fr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 20px; }
.fr-share .fr-btn { border: 0; cursor: pointer; padding: 12px 20px; }
.fr-visit { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0; padding: 14px 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); color: #fff; font: 500 .95rem/1 'Lexend', sans-serif; transition: background-color .25s ease-out, border-color .25s ease-out; }
.fr-visit:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.42); }
/* reflet dore qui traverse le bouton (1,3 s toutes les 5 s) */
.fr-visit::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; pointer-events: none; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(100deg, rgba(216,192,138,0) 0%, rgba(216,192,138,.5) 50%, rgba(216,192,138,0) 100%); animation: frReflet 5s ease-in-out 1.2s infinite; }
@keyframes frReflet { 0% { transform: translateX(-130%) skewX(-18deg); } 26% { transform: translateX(260%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
.fr-visit:hover::after { animation-duration: 1.3s; }
.fr-visit:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .fr-visit { transition: none; } .fr-visit::after { animation: none; display: none; } }
.fr-dlg-p { margin: 0 0 6px; line-height: 1.6; color: #3b4960; }
.fr-call { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--fr-ink); color: #fff; text-decoration: none; transition: transform .2s ease-out, box-shadow .2s ease-out; }
.fr-call:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,41,74,.3); }
.fr-call > i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--fr-orc); color: var(--fr-ink); display: grid; place-items: center; }
.fr-call strong { display: block; font-size: 1.05rem; } .fr-call small { display: block; margin-top: 2px; font-size: .95rem; color: #d8c08a; letter-spacing: .02em; }
/* icone Partager a cote du titre */
.fr-titre { display: block; max-width: 100%; } .fr-titre h1 { display: inline; margin: 0; } .fr-titre .fr-sharebtn.fr-icon { display: inline-grid; vertical-align: middle; margin-left: 12px; position: relative; top: -2px; }
.fr-sharebtn.fr-icon { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; cursor: pointer; color: var(--fr-orc); font-size: 1.25rem; transition: background-color .2s, color .2s; }
.fr-sharebtn.fr-icon:hover { background: rgba(255,255,255,.12); color: #fff; } .fr-sharebtn.fr-icon:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 2px; }
.fr-sharebtn.fr-icon i { color: inherit; font-size: inherit; }
/* ===== mosaique de la galerie (croquis de Jonathan) ===== */
@media (min-width: 901px) {
  .fr-mosaic .bien-gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .fr-mosaic .bien-gallery-grid .g-vid { grid-column: 1; grid-row: 1 / 3; } .fr-mosaic .bien-gallery-grid .g-vv { grid-column: 1; grid-row: 3; }
  .fr-mosaic .bien-gallery-grid .g-couv { grid-column: 2 / 4; grid-row: 1 / 3; }
  .fr-mosaic .bien-gallery-grid .g-p1 { grid-column: 4; grid-row: 1; } .fr-mosaic .bien-gallery-grid .g-p2 { grid-column: 4; grid-row: 2; }
  .fr-mosaic .bien-gallery-grid .g-p3 { grid-column: 2; grid-row: 3; } .fr-mosaic .bien-gallery-grid .g-p4 { grid-column: 3; grid-row: 3; } .fr-mosaic .bien-gallery-grid .g-p5 { grid-column: 4; grid-row: 3; }
  .fr-mosaic .bien-gallery-grid { grid-template-rows: 160px 160px 150px; }
}
.fr-mosaic .bien-gallery-grid a:not(.gal-extra) { display: block; min-height: 0; } .fr-mosaic .bien-gallery-grid.show-all a.gal-extra { display: block; min-height: 0; }
.fr-mosaic .bien-gallery-grid img { height: 100%; aspect-ratio: auto; }
.fr-mosaic .bien-gallery-grid a.g-couv img { object-fit: cover; background: none; }
.fr-mosaic .media-tile, .fr-mosaic .media-tile.media-vertical, .fr-mosaic .media-tile.media-tour { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; margin: 0; flex: none; border-radius: 10px; }
.fr-mosaic .bien-gallery-grid .g-vv .media-play { width: 46px; height: 46px; font-size: 1rem; }
.fr-mosaic .bien-gallery-grid .g-vv .media-label { left: 14px; bottom: 10px; } .fr-mosaic .bien-gallery-grid .g-vv .media-label strong { font-size: .92rem; } .fr-mosaic .bien-gallery-grid .g-vv .media-label span { display: none; }
.fr-mosaic .bien-gallery-grid .g-vid .media-label strong { font-size: 1rem; } .fr-mosaic .bien-gallery-grid .g-vid .media-label span { font-size: .8rem; }
@media (max-width: 900px) {
  .fr-mosaic .bien-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .fr-mosaic .bien-gallery-grid .g-couv, .fr-mosaic .bien-gallery-grid .g-vid, .fr-mosaic .bien-gallery-grid .g-vv, .fr-mosaic .bien-gallery-grid .g-p5 { grid-column: 1 / -1; }
  .fr-mosaic .bien-gallery-grid .g-couv img { aspect-ratio: 3 / 2; } .fr-mosaic .bien-gallery-grid .g-vid, .fr-mosaic .bien-gallery-grid .g-vv { aspect-ratio: 16 / 9; height: auto; }
  .fr-mosaic .bien-gallery-grid a img { aspect-ratio: 3 / 2; }
}
/* leger zoom des photos : lent au survol, doux a l'arrivee de la couverture */
.fr-mosaic .bien-gallery-grid a:not(.g-p5) { overflow: hidden; border-radius: 10px; }
.fr-mosaic .bien-gallery-grid a:not(.g-p5) img { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); will-change: transform; }
.fr-mosaic .bien-gallery-grid a:not(.g-p5):hover img { transform: scale(1.06); }
.fr-mosaic .media-tile { overflow: hidden; } .fr-mosaic .media-tile > img, .fr-mosaic .media-tile > picture img { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); } .fr-mosaic .media-tile:hover > img, .fr-mosaic .media-tile:hover > picture img { transform: scale(1.06); }
.fr-mosaic .bien-gallery-grid a.g-couv img { animation: frCouv 9s ease-out both; }
@keyframes frCouv { from { transform: scale(1.07); } to { transform: scale(1); } }
.fr-mosaic .bien-gallery-grid a.g-couv:hover img { animation: none; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .fr-mosaic .bien-gallery-grid a img, .fr-mosaic .media-tile img { transition: none; animation: none !important; transform: none !important; } .fr-mosaic .g-p5 img { transform: scale(1.06) !important; } }
/* tuile floutee "Voir les N photos" + visionneuse */
.fr-mosaic .bien-gallery-grid a.g-p5 { position: relative; overflow: hidden; border-radius: 10px; }
.fr-mosaic .g-p5 img { filter: blur(5px) brightness(.62); transform: scale(1.06); transition: filter .3s ease-out; }
.fr-mosaic .g-p5:hover img { filter: blur(3px) brightness(.5); }
.fr-more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; font: 600 .98rem 'Lexend', sans-serif; text-align: center; padding: 10px; text-shadow: 0 1px 8px rgba(8,16,30,.5); }
.fr-more i { font-size: 1.3rem; color: var(--fr-orc); }
/* DPE / GES : version fine, a droite des trucs en + */
.fr-haut { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-bottom: 18px; }
.fr-haut .fr-trucs { grid-column: 1 / 4; } .fr-haut .fr-dpe-fin { grid-column: 4; }
.fr-haut.seul .fr-dpe-fin { grid-column: 4; } .fr-haut .fr-trucs { margin-bottom: 0; }
.fr-dpe-fin { background: #fff; border: 1px solid var(--fr-ln); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 1px 2px rgba(20,41,74,.04), 0 10px 28px rgba(20,41,74,.05); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.fr-dpe-fin h2 { margin: 0; font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.1rem; color: var(--fr-ink); } .fr-dpe-fin h2::before { display: none; }
.fr-dpe-fin .dpe-row { display: block; margin: 0; }
.fr-dpe-fin .dpe-label { display: block; margin: 0 0 7px; font-size: .74rem; font-weight: 500; color: #5b6779; }
.fr-dpe-fin .dpe-cells { display: flex; gap: 4px; }
.fr-dpe-fin .dpe-cell { flex: 1; width: auto; min-width: 0; height: 24px; display: grid; place-items: center; font-size: .7rem; border-radius: 5px; }
.fr-dpe-fin .dpe-cell.dpe-active { transform: scale(1.18); box-shadow: 0 3px 8px rgba(20,41,74,.22); position: relative; z-index: 1; }
@media (max-width: 900px) { .fr-haut { grid-template-columns: 1fr; } .fr-haut .fr-trucs, .fr-haut .fr-dpe-fin, .fr-haut.seul .fr-dpe-fin { grid-column: 1; } }
/* caracteristiques detaillees : pastilles a icones */
.fr-carac { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.fr-carac li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #faf6ea; border: 1px solid var(--fr-ln); border-radius: 12px; color: var(--fr-ink); font-size: .94rem; line-height: 1.3; }
.fr-carac li i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--fr-ink); color: #d8c08a; display: grid; place-items: center; font-size: .85rem; }
/* UN SEUL AXE a gauche (bord de la galerie) pour toutes les sections, sur ordinateur */
@media (min-width: 901px) {
  .fr-lecture > *, .fr-lecture .fr-vol, .fr-lecture .fr-trucs { max-width: none; margin-left: 0; margin-right: 0; }
  .fr-mentions, .bien-source { max-width: 1200px; padding-left: 20px; padding-right: 20px; margin-left: auto; margin-right: auto; }
}

/* barre collante (ordinateur) */
.fr-bar { position: fixed; top: 64px; left: 0; right: 0; z-index: 40; background: rgba(16,35,63,.97); color: #fff; transform: translateY(-400%); visibility: hidden; transition: transform .3s ease-out, visibility 0s .3s; box-shadow: 0 8px 24px rgba(8,22,42,.3); }
.fr-bar.on { transform: none; visibility: visible; transition: transform .3s ease-out; } .fr-bar .in { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.fr-bar b { font: 600 1.25rem 'Fraunces', Georgia, serif; } .fr-bar .tt span { opacity: .78; font-size: .9rem; margin-left: 8px; } .fr-bar .acts { display: flex; align-items: center; gap: 10px; }
.fr-bar .fr-btn { padding: 10px 18px; font-size: .9rem; } .fr-bar .fr-btn em { font-style: normal; } .fr-bar .fr-btn .sm { display: none; }
.fr-bar .fr-visit { padding: 11px 22px; font-size: .9rem; }
.fr-bar button.fr-btn { border: 0; cursor: pointer; }
.fr-bar .fr-sharebtn.fr-icon { width: 40px; height: 40px; }
body:has(.fr-bar) .bv-bar { display: none; }
@media (max-width: 900px) { .bien-hero-inner > .fr-share { margin-top: 20px; } }
@media (max-width: 768px) { .fr-bar { top: auto; bottom: 0; transform: translateY(400%); box-shadow: 0 -8px 24px rgba(8,22,42,.3); } .fr-bar .tt { display: none; } .fr-bar .in { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); } .fr-bar .acts { width: 100%; } .fr-bar .fr-visit { flex: 1; text-align: center; } .fr-bar .fr-btn { flex: none; } .fr-bar .fr-btn .lg { display: none; } .fr-bar .fr-btn .sm { display: inline; } .fr-bar .fr-btn-or { flex: 1; justify-content: center; } .bien-hero-inner > .fr-dpe { grid-template-columns: 1fr; gap: 14px; max-width: none; } .fr-dpe .dpe-cells { justify-content: space-between; } .fr-dpe .dpe-cell { flex: 1; width: auto; max-width: 44px; height: 30px; } .bien-hero-inner > .fr-actions .fr-btn { flex: 1 1 100%; justify-content: center; } .bien-hero-inner > .bv-fp { margin-bottom: 14px; } .fr-vol > summary { padding: 16px 16px; gap: 12px; } .fr-vol .corps { padding: 0 18px 22px; } .fr-lecture { padding-left: 14px; padding-right: 14px; } .fr-trucs { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .fr-bar, .fr-btn, .fr-vol .chev { transition: none; } }


/* ===== vue Plan et mot de Jonathan ===== */
.v2-vuebar { max-width: 1200px; margin: 26px auto -20px; padding: 0 20px; display: flex; justify-content: flex-end; }
.v2-vues { display: inline-flex; border: 1px solid var(--fr-ln); border-radius: 999px; padding: 3px; background: #fff; }
.v2-vues button { border: 0; background: none; font: 500 .84rem 'Lexend', sans-serif; color: var(--fr-ink); padding: 8px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s, color .2s; }
.v2-vues button.on { background: var(--fr-ink); color: #fff; } .v2-vues button i { font-size: .8rem; color: var(--fr-or); } .v2-vues button.on i { color: var(--fr-orc); }
.v2-vues button:focus-visible { outline: 2px solid var(--fr-or); outline-offset: 2px; }
body.v2-planmode .bien-gallery.fr-mosaic { display: none; } body.v2-planmode .v2-plan { display: block; }
.v2-plan[hidden] { display: none; }
.v2-ets { display: flex; gap: 22px; margin-bottom: 14px; flex-wrap: wrap; }
.v2-et { border: 0; background: none; padding: 4px 0 6px; font: 500 .92rem 'Lexend', sans-serif; color: #7b8798; border-bottom: 2px solid transparent; cursor: pointer; }
.v2-et.on { color: var(--fr-ink); border-bottom-color: var(--fr-or); }
.v2-plan-box { position: relative; background: #fbf9f3; border: 1px solid var(--fr-ln); border-radius: 12px; padding: 18px; }
.v2-svg { display: block; width: 100%; height: auto; max-height: 520px; } .v2-svg[hidden] { display: none; }
.v2-svg .hs { cursor: pointer; outline: none; }
.v2-svg .hs rect { fill: rgba(171,151,101,.07); stroke: var(--fr-or); stroke-width: 1.2; transition: fill .25s, stroke-width .25s; }
.v2-svg .hs:hover rect, .v2-svg .hs:focus-visible rect, .v2-svg .hs.on rect { fill: rgba(171,151,101,.24); stroke-width: 2.2; }
.v2-svg text { text-anchor: middle; pointer-events: none; font-family: 'Lexend', sans-serif; }
.v2-svg .hn { font-size: 15px; font-weight: 500; fill: var(--fr-ink); } .v2-svg .hc { font-size: 11.5px; fill: var(--fr-orf); }
.v2-prev { position: absolute; z-index: 3; width: 230px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(20,41,74,.28); overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; }
.v2-prev.on { opacity: 1; transform: none; } .v2-prev img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; } .v2-prev span { display: block; padding: 8px 12px; font: 500 .84rem 'Lexend', sans-serif; color: var(--fr-ink); }
.v2-note { margin: 10px 0 0; font-size: .82rem; color: #7b8798; }
@media (hover: none) { .v2-prev { display: none; } }
@media (max-width: 640px) { .v2-svg .hn { font-size: 18px; } .v2-svg .hc { display: none; } .v2-plan-box { padding: 8px; } }
.v2-profil { max-width: 1200px; margin: 8px auto 26px; padding: 0 20px; box-sizing: border-box; }
.v2-profil.in-haut { margin: 0; padding: 0; max-width: none; } .v2-profil.in-haut .v2-profil-in { border-top: 0; padding-top: 4px; }
@media (min-width: 901px) { .v2-profil.in-haut { grid-column: 1 / 4; } }
.v2-profil-in { border-top: 1px solid var(--fr-ln); padding-top: 26px; }
.v2-profil h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.5rem; color: var(--fr-ink); margin: 0 0 14px; }
.v2-profil h2::before { display: none; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .v2-chips > span { font-size: .9rem; color: #5b6779; margin-right: 6px; }
.v2-chip { border: 1px solid var(--fr-ln); background: #fff; font: 500 .9rem 'Lexend', sans-serif; color: var(--fr-ink); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.v2-chip:hover { border-color: var(--fr-or); } .v2-chip.on { background: var(--fr-ink); color: #fff; border-color: var(--fr-ink); }
.v2-chip:focus-visible { outline: 2px solid var(--fr-or); outline-offset: 2px; }
.v2-invite { margin: 14px 0 0; color: #7b8798; font-size: .92rem; } .v2-profil.has .v2-invite { display: none; }
.v2-pan { margin-top: 18px; max-width: 760px; animation: v2In .45s ease-out both; } .v2-pan[hidden] { display: none; }
.v2-pan h3 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.2rem; color: var(--fr-ink); margin: 0 0 10px; }
.v2-pan ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; } .v2-pan li { position: relative; padding-left: 20px; line-height: 1.55; color: #33425a; }
.v2-pan li::before { content: ''; position: absolute; left: 0; top: .8em; width: 11px; height: 1px; background: var(--fr-or); }
.v2-lien { border: 0; border-bottom: 1px solid var(--fr-or); background: none; padding: 2px 0 4px; font: 500 .92rem 'Lexend', sans-serif; color: var(--fr-ink); cursor: pointer; }
@keyframes v2In { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.v2-mot { max-width: 1200px; margin: 10px auto 34px; padding: 0 20px; box-sizing: border-box; }
.v2-mot-in { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; border-top: 1px solid var(--fr-ln); border-bottom: 1px solid var(--fr-ln); padding: 26px 0; max-width: 900px; }
.v2-mot img:first-child { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; background: #efe9d9; }
.v2-mot h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.2rem; color: var(--fr-ink); margin: 0 0 8px; } .v2-mot h2::before { display: none; }
.v2-mot p { margin: 0 0 8px; font-family: var(--serif, 'Fraunces', Georgia, serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: #26364f; }
.v2-sign { display: block; height: auto; max-width: 150px; } .v2-essai { display: inline-block; margin-top: 6px; color: #a0a8b5; font-size: .72rem; }
@media (max-width: 640px) { .v2-mot-in { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; } .v2-mot img:first-child { width: 110px; height: 110px; } }
@media (prefers-reduced-motion: reduce) { .v2-pan { animation: none; } .v2-prev { transition: none; } }

/* ===== expresso, onglets, chapitres, energie ===== */
/* ----- bandeau (fond bleu d'origine, oblique de la v1) ----- */
.bien-hero-inner.v3-in { display: block; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.v3-in .bien-back { font-size: .8rem; background: none; border: 0; padding: 0; opacity: .8; display: inline-block; margin-bottom: 16px; }
.v3-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.v3-sur { margin: 0 0 8px; font: 500 .74rem 'Lexend', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.v3-sur em { font-style: normal; color: var(--fr-orc); position: relative; margin-left: 14px; padding-left: 46px; } .v3-sur em::before { content: ''; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--fr-orc); }
.v3-top h1 { margin: 0; font-family: var(--serif, 'Fraunces', Georgia, serif); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; color: #fff; }
.v3-prix { font-family: var(--serif, 'Fraunces', Georgia, serif); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--fr-orc); white-space: nowrap; line-height: 1; }
.v3-bas { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.v3-chiffres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 12px; }
.v3-chiffres li { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.2); } .v3-chiffres li:first-child { padding-left: 0; border-left: 0; }
.v3-chiffres b { display: block; font: 500 1.3rem var(--serif, 'Fraunces', Georgia, serif); color: #fff; line-height: 1.15; } .v3-chiffres span { font-size: .78rem; color: rgba(255,255,255,.68); }
.v3-act { display: flex; align-items: center; gap: 26px; flex: none; }
.v3-lien { border: 0; border-bottom: 1px solid rgba(255,255,255,.45); background: none; color: #fff; font: 500 .9rem 'Lexend', sans-serif; padding: 2px 0 3px; cursor: pointer; transition: border-color .2s; } .v3-lien:hover { border-bottom-color: var(--fr-orc); }
@media (max-width: 800px) { .v3-top { flex-direction: column; align-items: flex-start; gap: 10px; } .v3-bas { flex-direction: column; align-items: flex-start; } .v3-chiffres li { padding: 0 14px; } .v3-act { width: 100%; justify-content: space-between; } }
/* ----- mosaique 3 colonnes ----- */
@media (min-width: 901px) {
  .fr-mosaic .bien-gallery-grid { grid-template-columns: 1fr 2.2fr 1fr; grid-template-rows: 205px 205px; gap: 10px; }
  .fr-mosaic .bien-gallery-grid .g-vid { grid-column: 1; grid-row: 1; } .fr-mosaic .bien-gallery-grid .g-vv { grid-column: 1; grid-row: 2; }
  .fr-mosaic .bien-gallery-grid .g-couv { grid-column: 2; grid-row: 1 / 3; } .fr-mosaic .bien-gallery-grid .g-p1 { grid-column: 3; grid-row: 1; } .fr-mosaic .bien-gallery-grid .g-p2 { grid-column: 3; grid-row: 2; }
}
.fr-mosaic .bien-gallery-grid a.g-p3, .fr-mosaic .bien-gallery-grid a.g-p4, .fr-mosaic .bien-gallery-grid a.g-p5 { display: none; }
.fr-mosaic .bien-gallery-grid a.g-p2 { position: relative; overflow: hidden; border-radius: 10px; }
.fr-mosaic .g-p2 img { filter: blur(5px) brightness(.6); transform: scale(1.06); transition: filter .3s ease-out; } .fr-mosaic .g-p2:hover img { filter: blur(3px) brightness(.5); transform: scale(1.06); }
.fr-more em { font: 500 .8rem 'Lexend', sans-serif; font-style: normal; border: 1px solid rgba(255,255,255,.7); padding: 6px 14px; border-radius: 999px; margin-top: 2px; }
.fr-mosaic .media-tile { position: relative; overflow: hidden; }
.fr-mosaic .media-tile::after { content: ''; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(16,35,63,.94), rgba(16,35,63,0)); pointer-events: none; }
.fr-mosaic .media-tile .media-label { z-index: 2; left: 14px; bottom: 12px; right: 12px; }
.fr-mosaic .bien-gallery-grid .media-label strong { font-size: 1rem; } .fr-mosaic .bien-gallery-grid .media-label span { display: block; font-size: .78rem; opacity: .85; }
.fr-mosaic .bien-gallery-grid .g-vv .media-label span { display: none; }
.fr-mosaic .media-tile .media-play { z-index: 2; } .fr-mosaic .media-play.v3-360 { font: 600 .82rem 'Lexend', sans-serif; letter-spacing: .02em; }
/* ----- expresso : modele fixe ----- */
.v3-w { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.v3-exp { margin: 34px 0 10px; } .v3-k { margin: 0 0 8px; font: 500 .74rem 'Lexend', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-orf); }
.v3-exp h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--fr-ink); margin: 0 0 20px; max-width: 760px; } .v3-exp h2::before { display: none; }
.v3-slots { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--fr-ln); }
.v3-slots li { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--fr-ln); }
.v3-slots i { grid-row: span 2; color: var(--fr-or); font-size: 1.1rem; text-align: center; } .v3-slots b { font: 500 1.05rem var(--serif, 'Fraunces', Georgia, serif); color: var(--fr-ink); line-height: 1.2; } .v3-slots span { font-size: .78rem; color: #6b778a; }
.v3-ligne { margin: 4px 0; color: #33425a; font-size: .95rem; }
@media (max-width: 900px) { .v3-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; } }
/* ----- onglets ----- */
.v3-tabs { margin: 26px 0 34px; }
.v3-tablist { display: flex; gap: 28px; border-bottom: 1px solid var(--fr-ln); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.v3-tablist::-webkit-scrollbar { display: none; }
.v3-tablist button { flex: none; scroll-snap-align: start; border: 0; background: none; padding: 12px 0 13px; margin-bottom: -1px; font: 500 .96rem 'Lexend', sans-serif; color: #7b8798; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.v3-tablist button:hover { color: var(--fr-ink); } .v3-tablist button[aria-selected="true"] { color: var(--fr-ink); border-bottom-color: var(--fr-or); }
.v3-tablist button:focus-visible { outline: 2px solid var(--fr-or); outline-offset: 2px; }
.v3-panel { padding-top: 26px; animation: v2In .4s ease-out both; } .v3-panel[hidden] { display: none; }
@media (max-width: 640px) { .v3-tablist { gap: 22px; margin: 0 -20px; padding: 0 20px; -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); } }
.v3-intro { color: #5b6779; margin: 0 0 22px; max-width: 70ch; } .v3-essai { display: block; font-size: .72rem; color: #a0a8b5; margin-top: 4px; }
.v3-ch { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 22px 0; border-top: 1px solid var(--fr-ln); }
.v3-ch:nth-of-type(even) .v3-ph { order: 2; }
.v3-ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #efe9d9; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.v3-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); } .v3-ph:hover img { transform: scale(1.06); }
.v3-ch.in .v3-ph img { animation: v3Z 8s ease-out both; } .v3-ph:hover img { animation: none; }
@keyframes v3Z { from { transform: scale(1.07); } to { transform: scale(1); } }
.v3-n { position: absolute; left: 12px; top: 10px; font: 500 .74rem 'Lexend', sans-serif; color: #fff; text-shadow: 0 1px 6px rgba(8,16,30,.6); letter-spacing: .06em; }
.v3-ch-t h3 { margin: 0 0 6px; font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.35rem; color: var(--fr-ink); }
.v3-chiffre { margin: 0 0 10px; color: var(--fr-orf); font-size: .9rem; } .v3-chiffre b { font: 500 1.15rem var(--serif, 'Fraunces', Georgia, serif); margin-right: 4px; }
.v3-ch-t p { margin: 0 0 10px; line-height: 1.65; color: #33425a; }
@media (max-width: 800px) { .v3-ch { grid-template-columns: 1fr; gap: 14px; } .v3-ch:nth-of-type(even) .v3-ph { order: 0; } }
.v3-nrj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; } @media (max-width: 800px) { .v3-nrj { grid-template-columns: 1fr; gap: 24px; } }
.v3-nrj h3, .v3-h3 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.2rem; color: var(--fr-ink); margin: 0 0 8px; } .v3-nrj p { color: #33425a; line-height: 1.6; }
.v3-dpe .dpe-label em { font-style: normal; color: var(--fr-orf); margin-left: 8px; font-size: .85em; }
.v3-chauf { list-style: none; margin: 14px 0 0; padding: 0; color: #5b6779; font-size: .9rem; display: grid; gap: 4px; }
.v3-barres { display: grid; gap: 18px; margin: 18px 0; } .v3-bar-l { display: grid; gap: 6px; } .v3-bar-l span { font-size: .85rem; color: #5b6779; } .v3-bar-l b { font: 500 1rem var(--serif, 'Fraunces', Georgia, serif); color: var(--fr-ink); }
.v3-trk { position: relative; height: 10px; border-radius: 5px; background: #efe9d9; } .v3-trk .plage { position: absolute; top: 0; bottom: 0; background: var(--fr-orc); border-radius: 5px; } .v3-trk .pt { position: absolute; top: -4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--fr-ink); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(20,41,74,.35); }
.v3-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; margin-bottom: 30px; } @media (max-width: 900px) { .v3-cats { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .v3-cats { grid-template-columns: 1fr; } }
.v3-cat h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; font: 600 .8rem 'Lexend', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--fr-orf); } .v3-cat h3 i { color: var(--fr-or); }
.v3-cat ul { list-style: none; margin: 0; padding: 0; } .v3-cat li { display: grid; grid-template-columns: 26px 1fr; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--fr-ln); color: #26364f; font-size: .94rem; } .v3-cat li i { color: var(--fr-or); font-size: .95rem; }
.v3-surf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 12px; } @media (max-width: 700px) { .v3-surf { grid-template-columns: 1fr; } }
.v3-surf h4 { margin: 0 0 6px; font: 600 .8rem 'Lexend', sans-serif; color: var(--fr-ink); } .v3-surf dl { margin: 0; }
.v3-sl { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--fr-ln); font-size: .92rem; } .v3-sl dt { color: #33425a; } .v3-sl dt small { display: block; color: #8a94a3; font-size: .76rem; } .v3-sl dd { margin: 0; font-weight: 500; color: var(--fr-ink); }
.v3-sl .tr { grid-column: 1 / -1; position: relative; height: 3px; background: #f1ecde; border-radius: 2px; } .v3-sl .tr i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--fr-or); border-radius: 2px; }
.v3-note { color: #8a94a3; font-size: .8rem; margin: 10px 0 0; }
.v3-viv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; } @media (max-width: 800px) { .v3-viv { grid-template-columns: 1fr; } }
.v3-viv p { line-height: 1.7; color: #33425a; margin: 0 0 12px; }
.v3-carte { background: linear-gradient(160deg, #10233f 0%, #1c3e64 78%); border-radius: 14px; padding: 26px 16px; color: #fff; }
.v3-carte .bien-hero-map { display: block; width: 236px; margin: 0 auto; text-align: center; }
.v2-lien { display: inline-block; border: 0; border-bottom: 1px solid var(--fr-or); background: none; padding: 2px 0 4px; font: 500 .92rem 'Lexend', sans-serif; color: var(--fr-ink); text-decoration: none; margin-top: 6px; }
.v3-ml { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; max-width: 980px; color: #5b6779; font-size: .9rem; line-height: 1.65; } @media (max-width: 760px) { .v3-ml { grid-template-columns: 1fr; } }
.v3-ml h3 { margin: 0 0 6px; font: 600 .8rem 'Lexend', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--fr-orf); } .v3-ml p { margin: 0; } .v3-ml ul { margin: 0; padding-left: 18px; } .v3-ml a { color: var(--fr-ink); text-decoration-color: var(--fr-or); }
/* ----- rappel ----- */
.v3-rap { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--fr-ln); }
.v3-lien2 { border: 0; border-bottom: 1px solid var(--fr-or); background: none; padding: 2px 0 4px; font: 500 .92rem 'Lexend', sans-serif; color: var(--fr-ink); cursor: pointer; }
.v3-form { display: grid; gap: 12px; margin-top: 14px; } .v3-form[hidden] { display: none; }
.v3-form label { display: grid; gap: 4px; font-size: .82rem; color: #5b6779; }
.v3-form input, .v3-form select, .v3-form textarea { font: 400 .95rem 'Lexend', sans-serif; padding: 10px 12px; border: 1px solid var(--fr-ln); border-radius: 8px; background: #fff; color: var(--fr-ink); box-sizing: border-box; width: 100%; }
.v3-form input:focus, .v3-form select:focus, .v3-form textarea:focus { outline: 2px solid var(--fr-or); outline-offset: 1px; }
.v3-send { justify-self: start; border: 0; border-radius: 10px; background: var(--fr-ink); color: #fff; font: 500 .92rem 'Lexend', sans-serif; padding: 12px 24px; cursor: pointer; }
.v3-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 520px) { .v3-2 { grid-template-columns: 1fr; } }
.v3-req { margin: 0; font-size: .78rem; color: #8a94a3; }
.v3-form label.v3-cons { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .86rem; color: #33425a; line-height: 1.45; } .v3-form .v3-cons input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--fr-orf); }
.v3-form [aria-invalid="true"] { border-color: #b4483c; } .v3-form .v3-cons input[aria-invalid="true"] { outline: 2px solid #b4483c; outline-offset: 1px; }
.v3-err { margin: 0; font-size: .84rem; color: #b4483c; } .v3-err[hidden] { display: none; }
.v3-maq, .v3-ok { margin: 0; font-size: .8rem; color: #8a94a3; } .v3-ok { font-size: .95rem; color: var(--fr-ink); margin-top: 14px; } .v3-ok[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .v3-panel { animation: none; } .v3-ch.in .v3-ph img { animation: none; } .v3-ph img { transition: none; } }

/* ===== cappuccino, visionneuse, vivre a, immeuble ===== */
/* ===== v4 : suite des retours de Jonathan ===== */
/* arrondis reduits (reference : maquette Fable) */
.fr-mosaic .bien-gallery-grid a, .fr-mosaic .bien-gallery-grid a.g-p2, .fr-mosaic .media-tile, .v3-ph, .v3-carte, .fr-dpe-fin, .v2-prev, .fr-dlg { border-radius: 4px; }
.fr-visit, .v3-send, .fr-call, .v4-prof, .v3-form input, .v3-form select, .v3-form textarea { border-radius: 6px; }
/* liens : trait dore fin qui reduit au survol (comme la maquette Fable), couleur selon le fond */
.v4-lien, .v3-lien { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0 0 3px; background-color: transparent; font: 400 .92rem 'Lexend', sans-serif; color: #fff; text-decoration: none; cursor: pointer;
  background-image: linear-gradient(var(--fr-orc), var(--fr-orc)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease-out, color .2s; }
.v4-lien:hover, .v3-lien:hover { color: var(--fr-orc); background-size: 40% 1px; }
.v4-lien em { font-style: normal; } .v4-lien i { color: var(--fr-orc); } .v4-lien .sm { display: none; }
.v4-lien:focus-visible, .v3-lien:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 3px; }
.v4-lien-n { color: var(--fr-ink); background-image: linear-gradient(var(--fr-or), var(--fr-or)); } .v4-lien-n:hover { color: var(--fr-orf); } .v4-lien-n i { color: var(--fr-or); }
/* CTA : plus fonce que le bandeau, ombre doree qui pulse tres lentement */
.fr-visit { background: transparent; border: 1px solid var(--fr-orc); color: var(--fr-orc); backdrop-filter: none; font-weight: 500; animation: v4Pulse 6s ease-in-out infinite; transition: background-color .3s, color .3s, border-color .3s; }
.fr-visit::after { display: none; } .fr-visit:hover { background: var(--fr-orc); color: #10233f; border-color: var(--fr-orc); }
.fr-dlg .fr-visit { color: var(--fr-orf); border-color: var(--fr-or); } .fr-dlg .fr-visit:hover { background: var(--fr-or); color: #fff; }
@keyframes v4Pulse { 0%, 100% { box-shadow: 0 0 3px rgba(196,170,117,.15); } 50% { box-shadow: 0 0 22px rgba(196,170,117,.55); } }
@media (prefers-reduced-motion: reduce) { .fr-visit { animation: none; } .v4-lien, .v3-lien { transition: none; } }
/* barre collante : texte, liens, CTA */
.fr-bar .acts { display: flex; align-items: center; gap: 26px; }
.fr-bar .tt span em { font-style: normal; color: var(--fr-orc); }
.v4-lien { white-space: nowrap; } .fr-bar .tt { min-width: 0; } .fr-bar .tt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fr-bar .acts { flex: none; }
@media (max-width: 768px) { .v4-lien .lg { display: none; } .v4-lien .sm { display: inline; } .fr-bar .acts { gap: 14px; width: 100%; justify-content: space-between; } .v4-lien, .v3-lien { font-size: .82rem; } .fr-bar .fr-visit { padding: 12px 16px; } }
/* galerie : colonne de gauche video haute + visite basse */
@media (min-width: 901px) {
  .fr-mosaic .bien-gallery-grid { grid-template-rows: repeat(6, 63px); }
  .fr-mosaic .bien-gallery-grid .g-vid { grid-column: 1; grid-row: 1 / 5; } .fr-mosaic .bien-gallery-grid .g-vv { grid-column: 1; grid-row: 5 / 7; }
  .fr-mosaic .bien-gallery-grid .g-couv { grid-column: 2; grid-row: 1 / 7; }
  .fr-mosaic .bien-gallery-grid .g-p1 { grid-column: 3; grid-row: 1 / 4; } .fr-mosaic .bien-gallery-grid .g-p2 { grid-column: 3; grid-row: 4 / 7; }
}
/* diaporama de la photo claire (une photo toutes les 3 s, fondu doux) */
.fr-mosaic .bien-gallery-grid a.g-p1 { position: relative; overflow: hidden; }
/* (specificite elevee : la regle d'origine .fr-mosaic ... a:not(.g-p5) img imposait sa propre transition et supprimait le fondu) */
.fr-mosaic .bien-gallery-grid a.g-p1 img.v4-sl { position: relative; z-index: 1; opacity: 0; transition: opacity 1.5s ease-in-out; }
.fr-mosaic .bien-gallery-grid a.g-p1 img.v4-sl.v4-prev { opacity: 1; }
.fr-mosaic .bien-gallery-grid a.g-p1 img.v4-sl.v4-on { opacity: 1; z-index: 2; animation: v4Kb 6s ease-out both; }
.fr-mosaic .bien-gallery-grid a.g-p1 img.v4-sl.v4-l2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes v4Kb { from { transform: scale(1.06); } to { transform: scale(1); } }
/* expresso : modele fixe, DPE en carte a droite */
/* cappuccino : bandeau bleu a obliques legers, pour le separer nettement de l'expresso */
.v4-cap { margin: 50px 0 40px; color: #fff; background: linear-gradient(160deg, #10233f 0%, #1c3e64 78%); padding: 78px 0 82px; clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%); }
.v3-exp .v3-k { display: flex; align-items: center; gap: 12px; }
.v4-pic { width: 46px; height: 46px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.v4-titre { margin: 36px 0 20px; } .v4-titre h2 { margin-bottom: 14px; } .v4-titre .v4-lead { margin-bottom: 0; } .v4-expr { margin: 0 0 6px; }
.v4-cap .v3-k { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 500 .74rem 'Lexend', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-orc); }
/* contact de fin de page : un seul bloc, sobre */
.v4-fin { max-width: 1200px; margin: 40px auto 34px; padding: 0 20px; box-sizing: border-box; }
.v4-fin-in { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); gap: 24px 44px; align-items: center; border-top: 1px solid var(--fr-ln); border-bottom: 1px solid var(--fr-ln); padding: 30px 0; }
.v4-fin h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.5rem; color: var(--fr-ink); margin: 0 0 6px; } .v4-fin h2::before { display: none; } .v4-fin p { margin: 0; color: #5b6779; line-height: 1.55; }
.v4-fin .v4-tel { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 15px 26px; color: var(--fr-orf); border-color: var(--fr-or); font: 500 .95rem 'Lexend', sans-serif; }
.v4-fin .v4-tel:hover { background: var(--fr-or); color: #fff; } .v4-fin .v4-tel i { font-size: .9rem; } .v4-fin .v4-tel b { font-weight: 600; letter-spacing: .02em; }
.v4-fin-liens { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 900px) { .v4-fin-in { grid-template-columns: 1fr; } .v4-fin .v4-tel { justify-self: stretch; justify-content: center; } }
/* bandeau cappuccino : texte plus etroit, carte de situation a droite (sans cadre, juste le fondu de l'image) */
.v4-cap-top { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: center; } .v4-cap .v4-cap-t { max-width: 52ch; }
.v4-cap-map .bien-hero-map { display: block; width: 236px; margin: 0 auto; text-align: center; }
@media (max-width: 800px) { .v4-cap-top { grid-template-columns: 1fr; gap: 8px; } .v4-cap-map { order: 2; } }
/* zone du mot de Jonathan + contact */
.v4-mid .v2-mot-in { border-bottom: 0; padding-bottom: 14px; }
.v4-mid { padding: 46px 0 56px; } .v4-mid .v2-mot { margin: 0 auto 38px; } .v4-mid .v4-fin { margin: 0 auto; }
/* carte des lieux utiles (section Vivre a ...) */
.v4-viv .v3-viv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.v4-poi-map { height: 420px; border-radius: 4px; overflow: hidden; background: #e8e4d8; border: 1px solid rgba(255,255,255,.2); }
.v4-poi-leg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v4-chipc { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.32); background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font: 400 .84rem 'Lexend', sans-serif; cursor: pointer; transition: opacity .2s, background-color .2s; }
.v4-chipc i { color: var(--fr-orc); font-size: .8rem; } .v4-chipc small { opacity: .65; } .v4-chipc:not(.on) { opacity: .45; } .v4-chipc:hover { background: rgba(255,255,255,.1); }
.v4-chipc:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 2px; }
.v4-poi-note { margin: 10px 0 0; font-size: .76rem; color: rgba(255,255,255,.6); }
.v4-pinw { background: none; border: 0; } .v4-pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #10233f; border: 2px solid var(--fr-orc); color: var(--fr-orc); font-size: .72rem; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.leaflet-container { font-family: 'Lexend', sans-serif; }
@media (max-width: 800px) { .v4-viv .v3-viv { grid-template-columns: 1fr; } .v4-poi-map { height: 340px; } }
.v4-cap .v3-tabs { margin: 26px 0 0; }
/* onglets sur le bandeau bleu : onglets translucides, panneau clair */
.v4-cap .v3-tablist { border-bottom-color: rgba(255,255,255,.3); }
.v4-cap .v3-tablist button { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.82); }
.v4-cap .v3-tablist button:hover { background: rgba(255,255,255,.16); color: #fff; }
.v4-cap .v3-tablist button[aria-selected="true"] { background: #fff; color: var(--fr-ink); border-color: #fff; box-shadow: inset 0 3px 0 var(--fr-or); }
.v4-cap .v3-panel { border-color: rgba(255,255,255,.3); color: #26364f; } .v4-cap-t { font: 400 1.12rem/1.75 'Lexend', sans-serif; color: rgba(255,255,255,.92); max-width: 78ch; margin: 0 0 16px; }
@media (prefers-reduced-motion: reduce) { .v4-cap { clip-path: none; } }
.v4-haut { margin: 0; } .v4-expl { grid-column: 1 / 4; } .v4-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.v3-exp .fr-dpe-fin h2 { font-size: 1.1rem; margin: 0; max-width: none; line-height: 1.25; }
.v4-lead { font: italic 400 1.1rem var(--serif, 'Fraunces', Georgia, serif); color: #40506a; margin: -6px 0 22px; max-width: 70ch; line-height: 1.5; }
.v4-sous { margin: 22px 0 4px; font: 600 .74rem 'Lexend', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-orf); }
.v4-ext { border-top: 0; } .v4-ext li { border-top: 0; } .v4-ext li b { font: 400 .95rem 'Lexend', sans-serif; color: #26364f; }
@media (max-width: 900px) { .v4-haut { grid-template-columns: 1fr; } .v4-expl, .v4-haut .fr-dpe-fin { grid-column: 1; } .v4-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* vrais onglets */
.v3-tablist { gap: 4px; border-bottom: 1px solid #d9d2bf; }
.v3-tablist button { background: #efeadb; border: 1px solid #ddd5c1; border-bottom: 0; border-radius: 6px 6px 0 0; padding: 13px 24px; margin-bottom: -1px; color: #6b778a; }
.v3-tablist button:hover { background: #f6f2e7; color: var(--fr-ink); }
.v3-tablist button[aria-selected="true"] { background: #fff; color: var(--fr-ink); border-color: #d9d2bf; box-shadow: inset 0 3px 0 var(--fr-or); border-bottom: 1px solid #fff; }
.v3-panel { background: #fff; border: 1px solid #d9d2bf; border-top: 0; border-radius: 0 0 6px 6px; padding: 30px 30px 34px; }
.v3-ch:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 640px) { .v3-tablist { margin: 0; padding: 0; } .v3-tablist button { padding: 12px 16px; } .v3-panel { padding: 20px 16px 24px; } }
/* plan : onglets d'etage encadres */
.v2-ets { gap: 4px; border-bottom: 1px solid #d9d2bf; margin-bottom: 0; }
.v2-et { background: #efeadb; border: 1px solid #ddd5c1; border-bottom: 0; border-radius: 6px 6px 0 0; padding: 12px 24px; margin-bottom: -1px; color: #6b778a; }
.v2-et.on { background: #fbf9f3; color: var(--fr-ink); border-color: #d9d2bf; box-shadow: inset 0 3px 0 var(--fr-or); border-bottom: 1px solid #fbf9f3; }
.v2-plan-box { border: 1px solid #d9d2bf; border-top: 0; border-radius: 0 0 6px 6px; padding: 26px; }
/* visionneuse : bande de miniatures */
.viewer:not(.viewer-embed) .viewer-stage, .viewer:not(.viewer-embed) .viewer-stage > img { max-height: calc(100vh - 190px); }
.viewer { padding-bottom: 80px; box-sizing: border-box; }
.v4-th { position: absolute; left: 0; right: 0; bottom: 44px; height: 78px; display: flex; align-items: center; gap: 8px; padding: 0 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.v4-th::-webkit-scrollbar { display: none; }
.v4-th::before, .v4-th::after { content: ''; flex: 1 0 0; }
.viewer-embed .v4-th, .viewer[hidden] .v4-th { display: none; }
.v4-thb { flex: 0 0 auto; width: 86px; height: 58px; padding: 0; border: 0; border-radius: 3px; background: #0c1626; cursor: pointer; overflow: hidden; opacity: .55; outline: 1px solid rgba(255,255,255,.18); outline-offset: 0; transition: transform .22s ease-out, opacity .22s, outline-color .22s; }
.v4-thb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-thb:hover, .v4-thb:focus-visible { transform: scale(1.14); opacity: 1; position: relative; z-index: 2; }
.v4-thb.on { opacity: 1; outline: 2px solid var(--fr-orc, #c4aa75); }
.v4-thb:focus-visible { outline: 2px solid #fff; }
@media (max-width: 640px) { .v4-thb { width: 64px; height: 44px; } .v4-th { height: 62px; bottom: 40px; padding: 0 12px; } .viewer { padding-bottom: 70px; } .viewer:not(.viewer-embed) .viewer-stage, .viewer:not(.viewer-embed) .viewer-stage > img { max-height: calc(100vh - 170px); } }
@media (prefers-reduced-motion: reduce) { .v4-thb { transition: none; } }
.v4-plan-surf { margin-top: 26px; } .v4-plan-surf .v3-intro { margin: 0 0 4px; }
/* plan : image fournie (photo de l'annonce) */
.v2-plan { width: 100%; box-sizing: border-box; }
.v4-planimg { display: block; width: 100%; padding: 0; border: 1px solid #d9d2bf; border-radius: 4px; background: #fbf9f3; cursor: zoom-in; overflow: hidden; } .v4-planimg img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.v4-planimg:focus-visible { outline: 2px solid var(--fr-or); outline-offset: 2px; }
/* deux plans (un par niveau), cote a cote puis l'un sous l'autre sur mobile */
.v4-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .v4-plans figure { margin: 0; } .v4-plans figcaption { margin-top: 8px; font: 500 .8rem 'Lexend', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--fr-orf); }
@media (max-width: 760px) { .v4-plans { grid-template-columns: 1fr; } }
/* etat locatif d'un immeuble de rapport */
.v4-lot-t { width: 100%; border-collapse: collapse; margin: 14px 0 26px; font: 400 .95rem 'Lexend', sans-serif; color: #26364f; }
.v4-lot-t th, .v4-lot-t td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid #e6dfcd; font-weight: 400; } .v4-lot-t thead th { font: 600 .72rem 'Lexend', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--fr-orf); border-bottom: 1px solid var(--fr-or); }
.v4-lot-t tbody th { font-weight: 500; color: var(--fr-ink); } .v4-lot-t td:last-child, .v4-lot-t th:last-child { text-align: right; padding-right: 0; } .v4-lot-t small { color: #7b8798; font-size: .78em; }
.v4-lot-t tr.vide td:nth-child(3) { color: var(--fr-orf); font-weight: 500; }
.v4-rend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--fr-or); padding-top: 18px; } @media (max-width: 700px) { .v4-rend { grid-template-columns: 1fr; gap: 18px; } }
.v4-rend b { display: block; font: 500 2.1rem var(--serif, 'Fraunces', Georgia, serif); color: var(--fr-ink); line-height: 1.1; } .v4-rend span { display: block; margin-top: 4px; font: 500 .92rem 'Lexend', sans-serif; color: #26364f; } .v4-rend small { display: block; margin-top: 3px; font: 400 .82rem 'Lexend', sans-serif; color: #5b6779; }
.v4-lot-n { margin: 16px 0 0; font: 400 .8rem 'Lexend', sans-serif; color: #7b8798; }
.v4-lead b { font: 600 1.02rem 'Lexend', sans-serif; font-style: normal; color: var(--fr-ink); } .v4-titre .v4-lead + .v4-lead { margin-top: 10px; }
.v2-mot a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--fr-or), var(--fr-or)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; } .v2-mot a:hover { color: var(--fr-orf); }
.v4-trucs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--fr-or); } .v4-trucs > div { padding: 16px 0 18px; border-bottom: 1px solid #e6dfcd; }
.v4-trucs dt { font: 600 .72rem 'Lexend', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-orf); margin: 0 0 6px; } .v4-trucs dd { margin: 0; font: 400 .95rem/1.55 'Lexend', sans-serif; color: #26364f; }
@media (max-width: 760px) { .v4-trucs { grid-template-columns: 1fr; } }
/* carte "video en cours de realisation" : photo floutee, discrete */
.fr-novid { position: relative; overflow: hidden; border-radius: 10px; grid-column: 1; grid-row: 1 / 3; background: #1c3e64; } .fr-novid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(12px) brightness(.7); transform: scale(1.12); }
.fr-novid span { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font: 500 .9rem 'Lexend', sans-serif; display: flex; align-items: center; gap: 8px; } .fr-novid span i { color: var(--fr-orc, #c4aa75); }
@media (max-width: 900px) { .fr-novid { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
/* vivre a ... : section, carte visible */
/* vivre a ... : bandeau bleu, obliques legers en haut et en bas (comme le bandeau du haut) */
.v4-viv { margin: 50px 0; color: #fff; background: linear-gradient(160deg, #10233f 0%, #1c3e64 78%); padding: 80px 0; clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%); }
.v4-viv h2 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.7rem; color: #fff; margin: 0 0 16px; } .v4-viv h2::before { display: none; }
.v4-viv .v3-viv p { color: rgba(255,255,255,.9); }
.v4-viv .v3-carte { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); }
@media (prefers-reduced-motion: reduce) { .v4-viv { clip-path: none; } }
/* fenetre : les plus selon le profil */
.v4-dlg .fr-dlg-in { max-width: 540px; } .v4-profs { display: grid; gap: 8px; margin-top: 8px; }
.v4-prof { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; text-align: left; background: #fff; border: 1px solid var(--fr-ln); padding: 14px 16px; cursor: pointer; font-family: 'Lexend', sans-serif; transition: border-color .2s, background-color .2s; }
.v4-prof b { font-weight: 500; font-size: 1rem; color: var(--fr-ink); } .v4-prof span { grid-column: 1; font-size: .84rem; color: #6b778a; } .v4-prof i { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--fr-or); }
.v4-prof:hover { border-color: var(--fr-or); background: #fbf9f3; }
.v4-pc h3 { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 1.35rem; color: var(--fr-ink); margin: 14px 0 4px; } .v4-pc-t { color: #6b778a; margin: 0 0 12px; }
.v4-pc ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; } .v4-pc li { position: relative; padding-left: 20px; line-height: 1.55; color: #33425a; }
.v4-pc li::before { content: ''; position: absolute; left: 0; top: .8em; width: 11px; height: 1px; background: var(--fr-or); } .v4-pc-cta { width: 100%; padding: 14px; cursor: pointer; font: 500 .95rem 'Lexend', sans-serif; }
.v4-back { margin-bottom: 4px; }
/* ===== annonce en texte continu (bien sans fichier de chapitres) ===== */
.v4-desc { max-width: 760px; } .v4-desc p { margin: 0 0 14px; line-height: 1.75; color: #2a3b55; }
.v3-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* bouton avec icone (etat sous offre, barre collante) */
.fr-visit > i { margin-right: 9px; flex: none; } a.fr-visit { text-decoration: none; justify-content: center; text-align: center; }
@media (max-width: 480px) { .v4-fin .v4-tel { padding: 14px 12px; gap: 8px; font-size: .86rem; } .v4-fin .v4-tel span, .v4-fin .v4-tel b { white-space: nowrap; } }
@media (max-width: 900px) { .fr-more { gap: 4px; font-size: .84rem; padding: 6px; } .fr-more i { font-size: 1.05rem; } .fr-more em { padding: 4px 10px; font-size: .72rem; } }

/* ===== mini-carte de la commune : mise en forme a toutes les largeurs (l'ancienne ne l'avait qu'au-dessus de 900 px) ===== */
.v4-cap-map .bhm-box, .v3-carte .bhm-box { position: relative; width: 236px; height: 236px; }
.v4-cap-map .bhm-box img, .v3-carte .bhm-box img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: radial-gradient(circle farthest-side at 50% 50%, #000 72%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(circle farthest-side at 50% 50%, #000 72%, rgba(0,0,0,0) 100%); }
.v4-cap-map .bhm-fl, .v3-carte .bhm-fl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v4-cap-map .bhm-pin, .v3-carte .bhm-pin { position: absolute; width: 0; height: 0; }
.v4-cap-map .bhm-pin i, .v3-carte .bhm-pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #ab9765; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(196,170,117,0.7); }
.v4-cap-map .bhm-r, .v3-carte .bhm-r { position: absolute; display: block; line-height: 1.15; white-space: nowrap; color: #fff; text-shadow: 0 1px 6px rgba(10,24,45,.7); }
.v4-cap-map .bhm-r b, .v3-carte .bhm-r b { display: block; font-weight: 500; font-size: .9rem; }
.v4-cap-map .bhm-r small, .v3-carte .bhm-r small { display: block; font-size: .78rem; color: var(--pepite-gold-light, #c4aa75); }
.v4-cap-map .bhm-r-g, .v3-carte .bhm-r-g { text-align: left; padding-left: 4px; }
.v4-cap-map .bhm-r-d, .v3-carte .bhm-r-d { text-align: right; padding-right: 4px; }
.v4-cap-map .bhm-r-c, .v3-carte .bhm-r-c { text-align: center; }
.v4-cap-map .bhm-nom, .v3-carte .bhm-nom { display: block; margin-top: 12px; font-family: var(--serif, Georgia, serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: #fff; }
.v4-cap-map .bhm-note, .v3-carte .bhm-note { display: block; margin-top: 2px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ===== chiffres du bandeau sur mobile : grille reguliere (3 par ligne, 2 si quatre), sans trait en debut de ligne ===== */
@media (max-width: 800px) {
  .v3-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 0; width: 100%; }
  .v3-chiffres[data-n="1"] { grid-template-columns: 1fr; } .v3-chiffres[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v3-chiffres[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-chiffres li { padding: 0 8px 0 14px; border-left: 1px solid rgba(255,255,255,.2); }
  .v3-chiffres li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .v3-chiffres[data-n="2"] li:nth-child(3n+1), .v3-chiffres[data-n="4"] li:nth-child(3n+1) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); }
  .v3-chiffres[data-n="2"] li:nth-child(odd), .v3-chiffres[data-n="4"] li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .v3-chiffres li:first-child { padding-left: 0; border-left: 0; }
}
.fr-visit .sm { display: none; }
@media (max-width: 800px) { .v3-chiffres span.nw { white-space: nowrap; } .v3-act .fr-visit .lg { display: none; } .v3-act .fr-visit .sm { display: inline; } }

/* lien du consentement : couleur du site (dore fonce), souligne fin */
.v3-form .v3-cons a { color: var(--fr-orf); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; } .v3-form .v3-cons a:hover { color: var(--fr-ink); } .v3-form .v3-cons a:focus-visible { outline: 2px solid var(--fr-orc); outline-offset: 2px; }

/* liens dans le texte des chapitres et de l expresso */
.v4-trucs dd a, .v3-ch-t p a { color: var(--fr-orf); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; } .v4-trucs dd a:hover, .v3-ch-t p a:hover { color: var(--fr-ink); }

/* ===== telephone tenu en paysage (ecran bas) : galerie et visionneuse a pleine hauteur ===== */
@media (orientation: landscape) and (max-height: 520px) {
  /* visionneuse : la photo prend tout l'ecran, sans bande de miniatures ; compteur et fleches en surimpression */
  .viewer { padding: 0; }
  .viewer:not(.viewer-embed) .viewer-stage, .viewer:not(.viewer-embed) .viewer-stage > img { max-width: calc(100vw - 112px); max-height: 100vh; max-height: 100dvh; }
  .viewer:not(.viewer-embed) .viewer-stage > img { border-radius: 0; }
  /* miniatures : colonne a droite, qu'on fait defiler du doigt vers le haut / le bas comme une molette */
  .viewer:not(.viewer-embed) { padding-right: 104px; }
  .viewer:not(.viewer-embed) .viewer-stage, .viewer:not(.viewer-embed) .viewer-stage > img { max-width: calc(100vw - 104px - 104px); }
  .viewer .v4-th { left: auto; right: 0; top: 0; bottom: 0; width: 104px; height: auto; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 8px 12px; overflow-x: hidden; overflow-y: auto; background: rgba(8,16,30,.72); border-left: 1px solid rgba(255,255,255,.12); touch-action: pan-y; overscroll-behavior: contain; scroll-snap-type: y proximity; -webkit-overflow-scrolling: touch; }
  .viewer .v4-th::before, .viewer .v4-th::after { content: ''; flex: 1 0 8px; }
  .viewer .v4-thb { width: 80px; height: 54px; scroll-snap-align: center; }
  .viewer-close { top: 8px; right: 112px; } .viewer-nav { width: 44px; height: 44px; } .viewer-prev { left: 10px; } .viewer-next { right: 112px; }
  .viewer-count { bottom: 8px; left: calc(50% - 52px); background: rgba(8,16,30,.55); padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
  /* video et visite 360 : hauteur de l'ecran */
  .viewer-embed-box { width: calc(100vw - 24px); height: calc(100vh - 24px); height: calc(100dvh - 24px); }
  .viewer-embed-box.vertical { width: calc((100vh - 24px) * 9 / 16); width: calc((100dvh - 24px) * 9 / 16); }
}
/* mosaique de la fiche : meme rangement qu'a l'ordinateur (3 colonnes), photos plus grandes qu'en pile */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 640px) and (max-width: 900px) {
  .fr-mosaic .bien-gallery-grid { grid-template-columns: 1fr 2.2fr 1fr; grid-template-rows: 150px 150px; grid-auto-rows: 150px; gap: 8px; }
  .fr-mosaic .bien-gallery-grid .g-vid { grid-column: 1; grid-row: 1; } .fr-mosaic .bien-gallery-grid .g-vv { grid-column: 1; grid-row: 2; }
  .fr-mosaic .bien-gallery-grid .g-couv { grid-column: 2; grid-row: 1 / 3; } .fr-mosaic .bien-gallery-grid .g-p1 { grid-column: 3; grid-row: 1; } .fr-mosaic .bien-gallery-grid .g-p2 { grid-column: 3; grid-row: 2; }
  .fr-mosaic .bien-gallery-grid .g-vid, .fr-mosaic .bien-gallery-grid .g-vv { aspect-ratio: auto; height: 100%; }
  .fr-mosaic .bien-gallery-grid a img, .fr-mosaic .bien-gallery-grid .g-couv img { aspect-ratio: auto; }
}

/* invitation a tourner le telephone (visionneuse, portrait, mobile) */
.v4-rot { position: absolute; top: 14px; left: 50%; transform: translate(-50%, -8px); z-index: 3; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 96px); padding: 9px 16px; border-radius: 999px; background: rgba(20,41,74,.92); border: 1px solid rgba(196,170,117,.7); color: #fff; font: 500 .8rem/1.25 'Lexend', sans-serif; pointer-events: none; opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.v4-rot.on { opacity: 1; transform: translate(-50%, 0); }
.v4-rot i { color: var(--fr-orc, #c4aa75); font-size: 1.25rem; animation: v4Tourne 2.2s ease-in-out .4s 2; }
@keyframes v4Tourne { 0%, 25% { transform: rotate(0); } 55%, 100% { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .v4-rot { transition: none; } .v4-rot i { animation: none; } }
@media (orientation: landscape) { .v4-rot { display: none; } }

/* visionneuse : rien ne defile derriere (le doigt hors de la photo ne fait plus bouger la page) ; seule la bande de miniatures se fait defiler */
.viewer { overscroll-behavior: contain; touch-action: none; }
.v4-th { touch-action: pan-x; overscroll-behavior: contain; }
@media (orientation: landscape) and (max-height: 520px) { .viewer .v4-th { touch-action: pan-y; } }
