/* Pages appartements */
.top { position: sticky; top: 0; z-index: 20; background: rgba(240, 232, 213, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ap-nav { display: flex; gap: 1.4rem; font-family: 'DM Mono', monospace; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ap-nav a { text-decoration: none; color: var(--moss-light); padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.ap-nav a[aria-current="page"], .ap-nav a:hover { color: var(--ink); border-bottom-color: var(--ochre); }
.ap { max-width: 1240px; padding-top: 2.5rem; }
.ap-crumbs { font-size: 0.88rem; color: var(--moss-light); margin-bottom: 2rem; }
.ap-crumbs a { color: var(--moss-light); }
.ap h1 { margin-bottom: 2rem; }
.ap h2 { font-size: 1.6rem; }
.ap-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 0.7rem; margin-bottom: 3.5rem; }
.ap-photo { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #d8ccb0; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.ap-photo:hover img, .ap-photo:focus-visible img { transform: scale(1.05); }
.ap-photo:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.ap-photo--big { grid-column: span 2; grid-row: span 2; }
.ap-photo--wide { grid-column: span 2; }
@media (max-width: 900px) { .ap-photo--wide { grid-column: auto; } }
.ap-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.ap-lead { font-family: 'Fraunces', serif; font-weight: 300; font-size: 1.45rem; line-height: 1.55; color: var(--moss-deep); }
.ap-specs { display: flex; gap: 2.5rem; padding: 1.6rem 0; margin: 1.8rem 0 0.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ap-specs span { display: block; font-family: 'Fraunces', serif; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--ochre); }
.ap-specs small { font-size: 0.85rem; color: var(--moss-light); }
.ap-feats { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.ap-feats li { position: relative; padding-left: 1.4rem; }
.ap-feats li::before { content: '✦'; position: absolute; left: 0; color: var(--ochre); font-size: 0.8rem; top: 0.25rem; }
.ap-side { position: sticky; top: 6rem; background: var(--moss-deep); color: var(--paper); border-radius: 16px; padding: 2rem; }
.ap-side a { color: var(--gold); }
.ap-tarif { padding: 1.2rem 0; border-bottom: 1px solid rgba(240, 232, 213, 0.14); }
.ap-tarif:first-child { padding-top: 0; }
.ap-tarif-type { font-family: 'DM Mono', monospace; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.ap-tarif-prix { font-family: 'Fraunces', serif; font-weight: 300; font-size: 3rem; line-height: 1; margin-bottom: 0.3rem; }
.ap-tarif-prix span { font-size: 1.4rem; color: var(--gold); }
.ap-tarif-sub { font-size: 0.9rem; opacity: 0.8; margin-bottom: 0.5rem; }
.ap-tarif ul { list-style: none; padding: 0; margin: 0; font-family: 'DM Mono', monospace; font-size: 0.85rem; opacity: 0.85; }
.ap-note { font-size: 0.88rem; line-height: 1.55; opacity: 0.75; margin: 1.2rem 0; }
.ap-cta { display: block; text-align: center; background: var(--gold) !important; color: var(--ink) !important; margin-top: 0; }
.ap-tel { text-align: center; margin-top: 0.8rem; font-size: 0.95rem; }
.ap-pdf { text-align: center; font-size: 0.9rem; margin: 0; }
.ap-others { margin-top: 5rem; }
.ap-others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ap-other { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; text-decoration: none; color: var(--paper); }
.ap-other img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.ap-other::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13, 17, 9, 0.8)); }
.ap-other:hover img { transform: scale(1.05); }
.ap-other-num, .ap-other-nom { position: absolute; left: 1.4rem; z-index: 1; }
.ap-other-num { bottom: 3.6rem; font-family: 'DM Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.ap-other-nom { bottom: 1.2rem; font-family: 'Fraunces', serif; font-weight: 300; font-size: 2rem; }
.ap-other-nom em { color: var(--gold); }
.ap-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(13, 17, 9, 0.94); display: flex; align-items: center; justify-content: center; padding: 3rem 4.5rem; }
.ap-lightbox[hidden] { display: none; }
.ap-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.ap-lightbox button { position: absolute; background: rgba(240, 232, 213, 0.1); color: var(--paper); border: 1px solid rgba(240, 232, 213, 0.3); width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.ap-lightbox button:hover { background: var(--gold); color: var(--ink); }
.ap-lb-close { top: 1.2rem; right: 1.2rem; }
.ap-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ap-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.ap-lb-cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(240, 232, 213, 0.8); font-size: 0.95rem; }
@media (max-width: 900px) {
  .ap-nav { display: none; }
  .ap-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .ap-grid, .ap-others-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ap-side { position: static; }
  .ap-feats { grid-template-columns: 1fr; }
  .ap-lightbox { padding: 3.5rem 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .ap-photo img, .ap-other img { transition: none; } }
