/* Site des logements : blanc chaud, encre douce, angles arrondis, ombres légères, Bodoni Moda pour les titres, Jost pour le texte,
   une touche de champagne pour les détails, bouton WhatsApp flottant. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("./Bodoni.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("./Bodoni-italique.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("./Jost.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --fond: #faf9f6; --fond-2: #f2efe9; --blanc: #ffffff;
  --encre: #1c1b19; --encre-2: #4b4741; --doux: #8b857b;
  --filet: #e7e2d9; --filet-2: #f0ece5;
  --or: #a88a5c; --or-clair: #cdb68c; --sable: #f1ebe0;
  --rouge: #a14b3d; --wa: #25d366; --wa-fonce: #1da851;
  --titre: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --texte: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --r: 18px; --r-s: 12px;
  --ombre: 0 1px 2px rgba(28, 27, 25, .04), 0 8px 24px rgba(28, 27, 25, .06);
  --ombre-forte: 0 2px 6px rgba(28, 27, 25, .06), 0 24px 60px rgba(28, 27, 25, .14);
  --gouttiere: 20px; --largeur: 1240px;
  --lent: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 700px) { :root { --gouttiere: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-weight: 300; font-size: 17px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
strong { font-weight: 500; }
.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.doux { color: var(--doux); }
.sur { margin: 0 0 14px; font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--or); }

/* ───────── En-tête ───────── */
.entete { background: rgba(250, 249, 246, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--filet); position: sticky; top: 0; z-index: 20; }
.entete-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 12px; }
.ent-d { text-align: right; }
.nav { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--encre-2); white-space: nowrap; transition: color .3s; font-weight: 400; }
a.nav:hover { color: var(--or); }
.lieu-nav { color: var(--doux); }
.monogramme { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mono { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--or-clair); font-family: var(--titre); font-size: 14px; letter-spacing: .04em; color: var(--encre); }
.mono-nom { font-family: var(--titre); font-size: 19px; color: var(--encre); letter-spacing: .01em; }
@media (max-width: 560px) {
  .entete-in { min-height: 62px; }
  .lieu-nav { display: none; }
  .mono { width: 32px; height: 32px; font-size: 12px; }
  .mono-nom { font-size: 16px; }
  .nav { letter-spacing: .12em; font-size: 11px; }
}
@media (max-width: 370px) { .mono-nom { display: none; } }

/* ───────── Titres ───────── */
h1 { font-family: var(--titre); font-size: clamp(40px, 6.6vw, 68px); line-height: 1.06; letter-spacing: -.015em; font-weight: 400; }
.accroche { margin: 16px auto 0; font-size: clamp(17px, 2vw, 19px); color: var(--encre-2); line-height: 1.6; max-width: 36em; }
h2 { font-family: var(--titre); font-size: clamp(26px, 3vw, 30px); line-height: 1.2; margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; }
h2 .nb { font-family: var(--texte); font-size: 14px; color: var(--doux); }

/* ───────── Accueil ───────── */
.bienvenue { text-align: center; padding-top: 56px; padding-bottom: 32px; }
@media (min-width: 900px) { .bienvenue { padding-top: 88px; padding-bottom: 40px; } }
.dates { margin-bottom: 64px; }
.groupe-cubes { margin-bottom: 72px; }
.titre-groupe { margin-bottom: 26px; }
.titre-groupe em { font-style: italic; color: var(--or); }
.cubes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cubes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cubes { grid-template-columns: 1fr 1fr 1fr; gap: 26px; } }
.cube { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: #fff; background: var(--fond-2); border-radius: var(--r); box-shadow: var(--ombre); isolation: isolate; transition: box-shadow .5s var(--lent), transform .5s var(--lent); }
@media (min-width: 640px) { .cube { aspect-ratio: 1; } }
.cube:hover { box-shadow: var(--ombre-forte); transform: translateY(-3px); }
.cube-img, .cube-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cube-img img { object-fit: cover; transition: transform 1.4s var(--lent), filter .6s; }
.cube::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 16, 13, 0) 50%, rgba(18, 16, 13, .66) 100%); pointer-events: none; }
.cube:hover .cube-img img { transform: scale(1.04); }
.cube-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.cube-nom { font-family: var(--titre); font-size: clamp(25px, 2.4vw, 30px); line-height: 1.12; }
.cube-info { font-size: 13px; letter-spacing: .04em; opacity: .92; }
.cube-sh { align-self: flex-start; margin-top: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 999px; }
.cube-dispo { position: absolute; top: 16px; left: 16px; z-index: 3; background: rgba(255, 255, 255, .94); color: var(--encre); font-size: 12px; font-weight: 400; padding: 6px 13px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.cube-dispo.oui::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--wa-fonce); margin-right: 8px; vertical-align: 1px; }
.cube-dispo.non { color: var(--doux); }
.cube.prise .cube-img img { filter: grayscale(.8) brightness(.92); }

/* ───────── Barre des dates (ligne fine) ───────── */
.ligne-dates { position: relative; max-width: 640px; margin: 0 auto; }
.ld-barre { display: flex; align-items: center; background: var(--blanc); border: 1px solid var(--filet); border-radius: 999px; box-shadow: var(--ombre); padding: 4px 8px 4px 4px; }
.ld-champ { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 9px 22px 9px; background: none; border: 0; border-radius: 999px; cursor: pointer; text-align: left; transition: background .25s; }
.ld-champ:hover { background: var(--fond-2); }
.ld-champ.actif { background: var(--fond-2); }
.ld-lab { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.ld-val { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: var(--doux); }
.ld-champ.rempli .ld-val { color: var(--encre); }
.ld-sep { width: 1px; height: 28px; background: var(--filet); flex: none; }
.ld-effacer { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--fond-2); border: 0; padding: 0; font-size: 0; cursor: pointer; position: relative; }
.ld-effacer::before, .ld-effacer::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.3px; background: var(--encre-2); transform: translate(-50%, -50%) rotate(45deg); }
.ld-effacer::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ld-effacer:hover { background: var(--filet); }
.ld-pop { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); width: min(720px, calc(100vw - 2 * var(--gouttiere))); background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; box-shadow: var(--ombre-forte); padding: 28px 30px 22px; z-index: 15; animation: apparait .3s var(--lent); }
@keyframes apparait { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 699px) {
  .ld-pop { position: static; transform: none; width: auto; margin-top: 12px; padding: 22px 14px 16px; animation: none; box-shadow: var(--ombre); }
  .ld-champ { padding: 8px 16px; }
}
.ld-note { margin: 16px 0 0; font-size: 13px; color: var(--doux); text-align: center; }
.verdict { margin: 18px 0 0; text-align: center; font-size: 16px; color: var(--encre-2); }
.verdict:empty { margin: 0; }
.verdict.oui { color: var(--encre); }
.verdict.oui::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wa-fonce); margin-right: 10px; vertical-align: 1px; }
.verdict.non { color: var(--rouge); }
.maj { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--doux); }

/* Calendrier */
.calendrier { position: relative; }
.cal-nav { position: absolute; top: -4px; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 34px; height: 34px; display: grid; place-items: center; background: var(--blanc); border: 1px solid var(--filet); border-radius: 50%; cursor: pointer; padding: 0; transition: border-color .25s, box-shadow .25s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--encre); box-shadow: var(--ombre); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-nav svg { width: 14px; height: 14px; fill: none; stroke: var(--encre); stroke-width: 1.5; }
.cal-mois-liste { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 700px) { .cal-mois-liste { grid-template-columns: 1fr 1fr; } }
.cal-titre { margin: 0 0 14px; text-align: center; font-size: 16px; font-weight: 500; line-height: 26px; text-transform: capitalize; }
.cal-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-js { text-align: center; font-size: 11px; font-weight: 400; color: var(--doux); padding-bottom: 8px; }
.cal-j { height: 42px; border: 0; background: none; font-size: 15px; font-weight: 400; cursor: pointer; position: relative; padding: 0; font-variant-numeric: tabular-nums; z-index: 0; }
.cal-j::before { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1; transition: background .2s, box-shadow .2s; }
.cal-j:hover:not(.passe)::before { box-shadow: inset 0 0 0 1px var(--encre); }
.cal-j.passe { color: #d2ccc2; cursor: default; }
.cal-j.prise { color: #bbb3a7; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-j.dans { background: var(--sable); text-decoration: none; }
.cal-j.debut, .cal-j.fin { color: #fff; text-decoration: none; }
.cal-j.debut::before, .cal-j.fin::before { background: var(--encre); }
.cal-effacer { display: none; }

/* ───────── Page d'un logement ───────── */
.titre { text-align: center; padding-top: 52px; padding-bottom: 36px; }
@media (min-width: 900px) { .titre { padding-top: 76px; padding-bottom: 46px; } }
.faits { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.faits li { font-size: 14px; color: var(--encre-2); background: var(--blanc); border: 1px solid var(--filet); border-radius: 999px; padding: 5px 14px; }
.avis { margin: 16px 0 0; font-size: 14px; }
.etoile { color: var(--or); }

.galerie { margin-bottom: 48px; }
.mosaique { display: none; position: relative; border-radius: var(--r); overflow: hidden; }
.mosaique button { border: 0; padding: 0; background: var(--fond-2); cursor: zoom-in; overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--lent), filter .4s; }
.mosaique button:hover img { transform: scale(1.03); filter: brightness(.94); }
@media (min-width: 900px) {
  .mosaique { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 8px; }
  .mosaique .m0 { grid-row: 1 / 3; }
  .defile, .compteur-defile { display: none !important; }
}
@media (min-width: 1240px) { .mosaique { grid-template-rows: 285px 285px; } }
.toutes { position: absolute; right: 18px; bottom: 18px; background: var(--blanc) !important; border: 1px solid var(--encre) !important; border-radius: 999px; padding: 9px 18px !important; font-size: 13px; font-weight: 400; cursor: pointer !important; box-shadow: var(--ombre); transition: background .3s, color .3s; }
.toutes:hover { background: var(--encre) !important; color: #fff; }
.defile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere); scrollbar-width: none; overscroll-behavior-x: contain; }
.defile::-webkit-scrollbar { display: none; }
.defile .d { flex: 0 0 86%; scroll-snap-align: center; aspect-ratio: 4 / 3; border: 0; padding: 0; background: var(--fond-2); border-radius: var(--r-s); overflow: hidden; }
.defile img { width: 100%; height: 100%; object-fit: cover; }
.compteur-defile { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--doux); }

.colonnes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 72px; }
@media (min-width: 900px) { .colonnes { grid-template-columns: minmax(0, 1fr) 340px; } }
.bloc { margin-bottom: 56px; padding-bottom: 8px; }
.principal .bloc + .bloc { padding-top: 48px; border-top: 1px solid var(--filet); }
.cap { font-family: var(--titre); font-size: 23px; margin: 0; }
.bloc .doux { margin: 6px 0 0; font-size: 16px; }
.lignes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.lignes li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 18px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--r-s); font-size: 15px; }
.lignes li span:first-child { color: var(--encre); font-weight: 400; }
.lignes li span:last-child { color: var(--doux); text-align: right; }

.shabbat { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--ombre); }
.sh-titre { margin: 0 0 10px; font-family: var(--titre); font-size: 22px; display: flex; align-items: center; gap: 12px; }
.sh-titre::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--or-clair); flex: none; }
.shabbat.oui .sh-titre::before { background: var(--wa-fonce); }
.shabbat.non .sh-titre::before { background: var(--rouge); }
.shabbat ul { margin: 0; padding: 0; list-style: none; color: var(--encre-2); }
.shabbat li { margin: 6px 0; padding-left: 22px; position: relative; font-size: 15px; }
.shabbat li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--or); }

.atouts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .atouts { grid-template-columns: 1fr 1fr 1fr; } }
.atouts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--r-s); font-size: 15px; min-width: 0; }
.atouts svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--or); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.texte p { margin: 0 0 16px; max-width: 40em; color: var(--encre-2); }
.texte .tete { margin-bottom: 6px; color: var(--encre); font-weight: 400; }
.puces { margin: 0 0 18px; padding: 0; list-style: none; max-width: 40em; color: var(--encre-2); }
.puces li { margin: 3px 0; padding-left: 20px; position: relative; }
.puces li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 8px; height: 1px; background: var(--or); }
details.plus summary, .lien-plus, .lien-partage { cursor: pointer; display: inline-flex; align-items: center; font-size: 14px; font-weight: 400; border: 1px solid var(--encre); border-radius: 999px; padding: 9px 20px; background: var(--blanc); list-style: none; color: var(--encre); transition: background .25s, color .25s; }
details.plus summary::-webkit-details-marker { display: none; }
details.plus[open] summary { margin-bottom: 20px; }
details.plus summary:hover, .lien-plus:hover, .lien-partage:hover { background: var(--encre); color: #fff; }
.lien-plus { margin-top: 8px; }

.piece { margin-bottom: 30px; }
.piece h3 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.piece h3 span { font-size: 13px; font-weight: 300; color: var(--doux); margin-left: 8px; }
.vignettes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 640px) { .vignettes { grid-template-columns: 1fr 1fr 1fr; } }
.vignettes button { border: 0; padding: 0; background: var(--fond-2); aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; border-radius: var(--r-s); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--lent); }
.vignettes button:hover img { transform: scale(1.04); }

.equip { display: grid; grid-template-columns: 1fr; gap: 8px 40px; }
@media (min-width: 640px) { .equip { grid-template-columns: 1fr 1fr; } }
.equip.replie { max-height: 400px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.groupe h3 { font-size: 15px; font-weight: 500; margin: 8px 0 6px; }
.groupe ul { list-style: none; padding: 0; margin: 0 0 18px; }
.groupe li { padding: 8px 0; border-bottom: 1px solid var(--filet-2); font-size: 15px; color: var(--encre-2); }

/* Contact */
.cote { display: none; }
@media (min-width: 900px) { .cote { display: block; } .contact { position: sticky; top: 100px; background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; box-shadow: var(--ombre-forte); padding: 32px 28px 28px; text-align: center; } }
.contact-titre { margin: 0; font-family: var(--titre); font-size: 30px; line-height: 1.1; }
.contact .doux { font-size: 15px; margin: 12px 0 22px; }
.bouton { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 10px; padding: 13px 20px; background: var(--encre); color: #fff; border: 1px solid var(--encre); border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 400; cursor: pointer; text-align: center; transition: background .3s, border-color .3s, color .3s, transform .2s; }
.bouton:hover { background: #3a3732; border-color: #3a3732; }
.bouton:active { transform: scale(.98); }
.bouton.wa { background: var(--wa); border-color: var(--wa); color: #fff; font-weight: 500; }
.bouton.wa:hover { background: var(--wa-fonce); border-color: var(--wa-fonce); }
.bouton svg.logo-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }
.bouton.second { background: var(--blanc); color: var(--encre); border-color: var(--filet); }
.bouton.second:hover { border-color: var(--encre); }
.contact .lien-partage { margin-top: 20px; }
.barre-bas { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 249, 246, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--filet); }
.barre-bas .bouton { margin: 0; }
.barre-bas .carre-btn { width: 52px; flex: none; padding: 0; }
.barre-bas .carre-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (min-width: 900px) { .barre-bas { display: none; } }
@media (max-width: 899px) { body:has(.barre-bas) .pied { padding-bottom: 110px; } body:has(.barre-bas) .wa-flottant { display: none; } }

/* Bouton WhatsApp flottant (en bas à droite) */
.wa-flottant { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .3s var(--lent), background .3s; }
.wa-flottant:hover { transform: scale(1.06); background: var(--wa-fonce); }
.wa-flottant svg { width: 32px; height: 32px; fill: currentColor; }
@media (min-width: 900px) { .wa-flottant { right: 32px; bottom: 32px; } }

/* Pied de page */
.pied { border-top: 1px solid var(--filet); padding: 52px 0 48px; margin-top: 24px; text-align: center; background: var(--blanc); }
.pied-in { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pied-txt { margin: 6px 0 0; color: var(--encre-2); font-size: 15px; }
.pied-contact { margin: 0; font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.pied-contact a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.pied-contact a:hover { color: var(--or); }
.pied-contact svg { width: 18px; height: 18px; fill: var(--wa-fonce); }
.pied-contact span { color: var(--or-clair); }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: #121110; color: #f3efe8; display: grid; grid-template-rows: auto 1fr; animation: fondu .25s ease; }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.visionneuse[hidden] { display: none; }
.v-haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gouttiere); padding-top: calc(14px + env(safe-area-inset-top)); }
.v-info { margin: 0; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#v-num { font-size: 13px; color: #a49c90; margin-left: 12px; }
.v-fermer { background: rgba(255, 255, 255, .08); border: 0; color: #f3efe8; padding: 9px 18px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.v-fermer:hover { background: rgba(255, 255, 255, .16); }
.v-scene { display: grid; place-items: center; padding: 0 0 calc(16px + env(safe-area-inset-bottom)); min-height: 0; touch-action: pan-y; }
.v-scene img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; border-radius: 6px; }
.v-prec, .v-suiv { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 0; cursor: pointer; z-index: 2; display: grid; place-items: center; transition: background .25s; }
.v-prec:hover, .v-suiv:hover { background: rgba(255, 255, 255, .2); }
.v-prec { left: 12px; } .v-suiv { right: 12px; }
.v-prec svg, .v-suiv svg { width: 22px; height: 22px; fill: none; stroke: #f3efe8; stroke-width: 1.5; }
@media (min-width: 900px) { .v-scene { padding: 0 104px 40px; } .v-prec { left: 28px; } .v-suiv { right: 28px; } }
@media (hover: none) and (max-width: 899px) { .v-prec, .v-suiv { display: none; } }
body.fige { overflow: hidden; }

:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Ajustements */
@media (max-width: 560px) { .mono-nom { display: none; } .nav .long { display: none; } }
.cube::after { background: linear-gradient(180deg, rgba(18, 16, 13, 0) 40%, rgba(18, 16, 13, .74) 100%); }
.cube-nom { font-weight: 500; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.cube-info { text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.cal-j.dans { border-radius: 0; }

/* Logement sans photo */
.sans-photo { aspect-ratio: 21 / 8; border-radius: var(--r); background: linear-gradient(135deg, var(--sable), var(--fond-2)); display: grid; place-items: center; align-content: center; gap: 14px; color: var(--doux); }
.sans-photo p { margin: 0; font-family: var(--titre); font-style: italic; font-size: 18px; }
.sans-photo .mono { width: 52px; height: 52px; font-size: 18px; }
.cube.sans-img { color: var(--encre); background: linear-gradient(150deg, var(--sable) 0%, #e9e0d0 100%); }
.cube.sans-img::after { display: none; }
.cube-vide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-bottom: 70px; font-family: var(--titre); font-style: italic; color: var(--doux); font-size: 16px; }
.cube-vide .mono { font-style: normal; width: 48px; height: 48px; font-size: 16px; }
.cube.sans-img .cube-nom, .cube.sans-img .cube-info { text-shadow: none; }
.note-long { text-align: center; margin: 0 auto 18px; max-width: 34em; font-family: var(--titre); font-style: italic; color: var(--encre-2); font-size: 18px; }

/* Lien « Poser une question » */
.lien-question { display: block; margin-top: 18px; font-size: 14px; color: var(--encre-2); text-decoration: underline; text-decoration-color: var(--or-clair); text-underline-offset: 4px; }
.lien-question:hover { color: var(--or); }
.contact .lien-partage { margin-top: 14px; }

/* Page contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 72px; align-items: start; }
@media (min-width: 900px) { .contact-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; } }
.formulaire { background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; box-shadow: var(--ombre-forte); padding: 32px 28px 26px; }
@media (max-width: 560px) { .formulaire { padding: 26px 18px 22px; border-radius: 20px; } }
.form-titre { margin: 0 0 20px; font-family: var(--titre); font-size: 28px; line-height: 1.15; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ.demi { grid-column: auto; }
.champ > span { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.champ input, .champ select, .champ textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; font-weight: 300; color: var(--encre); background: var(--fond); border: 1px solid var(--filet); border-radius: var(--r-s); padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.champ select { background-image: linear-gradient(45deg, transparent 50%, var(--encre-2) 50%), linear-gradient(135deg, var(--encre-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.champ input[type="date"] { min-height: 49px; }
.champ textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or); background: var(--blanc); box-shadow: 0 0 0 4px rgba(168, 138, 92, .12); }
.case { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--filet); border-radius: var(--r-s); background: var(--fond); font-size: 15px; cursor: pointer; }
.case input { width: 20px; height: 20px; accent-color: var(--encre); flex: none; margin: 0; }
.form-erreur { margin: 14px 0 0; color: var(--rouge); font-size: 15px; min-height: 0; }
.form-erreur:empty { margin: 0; }
.formulaire .bouton { margin-top: 20px; }
.form-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--doux); }
.accueil-carte { background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; overflow: hidden; box-shadow: var(--ombre); }
@media (min-width: 900px) { .accueil-carte { position: sticky; top: 100px; } }
.ac-photo { position: relative; aspect-ratio: 4 / 3; }
.ac-photo img { width: 100%; height: 100%; object-fit: cover; }
.ac-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 16, 13, .6)); }
.ac-photo p { position: absolute; left: 24px; bottom: 18px; margin: 0; z-index: 1; color: #fff; font-family: var(--titre); font-size: 28px; line-height: 1.1; }
.ac-liste { list-style: none; margin: 0; padding: 8px 24px 16px; }
.ac-liste li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--filet-2); font-size: 16px; }
.ac-liste li:last-child { border-bottom: 0; }
.ac-lab { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.ac-liste a { text-decoration: none; }
.ac-liste a:hover { color: var(--or); }
.cube[data-long].prise .cube-img img { filter: none; }
.cube.sans-img .cube-sh { background: rgba(255, 255, 255, .7); }
