/* Cité 300 — corrections rapides (critique Impeccable, 2026-10-31).
 * Lisibilité mobile, cibles tactiles, contraste du code promo, fins de paragraphe. */
p, li, .card-tag { text-wrap: pretty; }
/* Les photos agrandies pendant leur apparition ne créent plus de défilement horizontal. */
main { overflow-x: clip; }
.photo-grid > button, .mosaic > .gallery-launch { overflow: hidden; }
/* Code promo du Guide : rose pâle sur prune (contraste 6:1 au lieu de 2,1:1). */
.deal .code-label { color: #dda5b6; }
/* Cœur de l'accueil : le trait est déjà « non dessiné » avant l'animation, donc rien ne clignote. */
.motion-pending .hero-heart path { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (max-width: 760px) {
  .filters > label:first-child { font-size: 13px; }
  .card-content > .card-book { margin-top: 0; }
  .hero-copy > .text-link,
  .card-content > .text-link,
  .card-content > .card-book,
  .link-row > .text-link,
  .section-head .button,
  .footer-reserve { min-height: 44px; align-items: center; }
  .stay-label, .filters label, .filters .result-count, .filter-note,
  .booking-note, .card-info, .card-content > .text-link, .card-content > .card-book,
  .neighbourhood-list li, .link-row > .text-link,
  .footer-social a, .footer-address a, .footer-citq, .footer-booking a:not(.button), .footer-group p { font-size: 13px; }
  .footer-social a, .footer-address > a, .footer-address-line a, .footer-booking p a { display: inline-flex; align-items: center; min-height: 32px; }
}

/* ---------- Séjour (2026-10-31) ---------- */

/* Téléphone : on dit clairement que c'est l'agent IA. */
.phone-ai { font-weight: 400; opacity: .82; }

/* Prix : « Détails » en mots plutôt qu'un « + » qui ressemble à « ajouter ». */
.card-rate-toggle { width: auto; height: 28px; flex: 0 0 auto; gap: 7px; padding: 0 11px 0 12px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1; }
.card-rate-toggle::before { content: "Détails"; position: static; width: auto; height: auto; background: none; }
:lang(en) .card-rate-toggle::before { content: "Details"; }
.card-rate-toggle::after { content: ""; position: static; width: 6px; height: 6px; background: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.card-rate[open] .card-rate-toggle::after { display: block; transform: translateY(1px) rotate(-135deg); }

/* Filtres : un retour visible vers tous les appartements. */
.filter-reset { appearance: none; border: 0; background: none; padding: 0; min-height: 44px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink, #462b38); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.filter-reset:hover { text-decoration-thickness: 2px; }
.result-count:focus { outline: none; }

/* Carte choisie depuis le sélecteur d'étage. */
.apartment { outline: 3px solid transparent; outline-offset: 10px; border-radius: 16px; transition: outline-color .5s cubic-bezier(.2, .8, .2, 1); }
.apartment.is-picked { outline-color: #dda5b6; }

/* Unité : une sortie quand l'appartement n'est pas libre. */
.booking-alt { grid-column: 1 / -1; flex-basis: 100%; width: 100%; margin: 4px 0 0; font-size: 13px; text-align: center; }
.booking-alt a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sélecteur par étage ---------- */
.floor-picker { --fp-ink: var(--ink, #462b38); --fp-pale: #f3e5e9; --fp-rose: #dda5b6; margin: 0 0 40px; padding: 28px 28px 30px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(70, 43, 56, .06), 0 18px 50px -34px rgba(70, 43, 56, .35); }
.floor-picker figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin: 0 0 22px; }
.fp-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--fp-ink); text-wrap: balance; }
.fp-hint { font-size: 14px; color: #63525c; }
.fp-building { position: relative; display: grid; grid-template-columns: 9.5rem repeat(3, minmax(0, 1fr)) 5.5rem; grid-template-rows: 8.75rem 8.75rem 7.5rem; grid-template-areas: "l2 a313 a316 a336 stair" "l1 a315 a318 a334 stair" "l0 a332 soil a334 stair"; gap: 12px; }
.fp-level { margin: 0; align-self: center; font-size: 15px; font-weight: 800; color: var(--fp-ink); line-height: 1.2; }
.fp-level small { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: #63525c; }
.fp-l2 { grid-area: l2; } .fp-l1 { grid-area: l1; } .fp-l0 { grid-area: l0; }
/* Le niveau de la rue traverse le demi-sous-sol : la moitié du bas est sous terre. */
.fp-soil { grid-column: 1 / -1; grid-row: 3; margin: 0 -28px -30px; border-radius: 0 0 18px 18px; background: linear-gradient(to bottom, transparent calc(42% - 1px), rgba(70, 43, 56, .5) calc(42% - 1px), rgba(70, 43, 56, .5) 42%, var(--fp-pale) 42%); pointer-events: none; }
.fp-soil { position: relative; }
.fp-soil > span { position: absolute; right: 28px; top: calc(42% - 22px); font-size: 12px; font-weight: 700; color: #63525c; white-space: nowrap; }
/* Les planchers entre les étages. */
.fp-floor { grid-column: 1 / -1; align-self: end; margin-bottom: -7px; border-bottom: 1.5px solid rgba(70, 43, 56, .16); pointer-events: none; }
.fp-floor-2 { grid-row: 1; } .fp-floor-1 { grid-row: 2; }
.fp-door { --door: 6.75rem; position: relative; z-index: 1; justify-self: center; width: min(100%, var(--door)); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding: 0 6px 12px; min-height: 44px; border: 1.5px solid var(--fp-ink); border-radius: calc(var(--door) / 2) calc(var(--door) / 2) 6px 6px; background: #fffdfc; color: var(--fp-ink); text-decoration: none; text-align: center; transition: background-color .25s cubic-bezier(.2, .8, .2, 1), transform .25s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
/* L'imposte vitrée au-dessus de la porte, comme sur la 3e Avenue. */
.fp-door::before { content: ""; position: absolute; top: 9px; left: 50%; width: 58%; aspect-ratio: 2 / 1; transform: translateX(-50%); border: 1.5px solid currentColor; border-radius: 999px 999px 0 0; opacity: .3; }
.fp-door b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fp-door span { font-size: 13px; line-height: 1.25; color: #63525c; }
.fp-door:hover { background: var(--fp-pale); transform: translateY(-2px); }
.fp-door:focus-visible { outline: 3px solid var(--fp-rose); outline-offset: 3px; }
.fp-door.is-out { opacity: .38; border-style: dashed; }
.fp-door.is-out:hover { transform: none; }
.fp-door[data-unit="313"] { grid-area: a313; } .fp-door[data-unit="316"] { grid-area: a316; } .fp-door[data-unit="336"] { grid-area: a336; }
.fp-door[data-unit="315"] { grid-area: a315; } .fp-door[data-unit="318"] { grid-area: a318; } .fp-door[data-unit="334"] { grid-area: a334; }
.fp-door[data-unit="332"] { grid-area: a332; }
.fp-door[data-unit="334"]::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; border-top: 1.5px dashed currentColor; opacity: .3; }
.fp-stair { grid-area: stair; width: 100%; height: 100%; color: var(--fp-ink); overflow: visible; }
.fp-stair path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fp-stair .fp-rail { opacity: .45; }

@media (max-width: 760px) {
  .floor-picker { margin: 0 0 28px; padding: 22px 16px 22px; border-radius: 16px; }
  .floor-picker figcaption { margin-bottom: 16px; }
  .fp-floor-2 { grid-row: 2; } .fp-floor-1 { grid-row: 4; }
  .fp-door { --door: 6.1rem; padding: 0 3px 9px; }
  .fp-building { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 8rem auto 8rem auto 7rem; grid-template-areas: "l2 l2 l2" "a313 a316 a336" "l1 l1 l1" "a315 a318 a334" "l0 l0 a334" "a332 soil a334"; gap: 8px 10px; }
  .fp-level { font-size: 14px; padding-top: 6px; }
  .fp-level small { display: inline-block; margin: 0 0 0 6px; }
  .fp-soil { grid-row: 6; margin: 0 -16px -22px; border-radius: 0 0 16px 16px; }
  .fp-soil > span { right: auto; left: 50%; transform: translateX(-50%); }
  .fp-stair { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-door, .apartment, .card-rate-toggle::after { transition: none; }
}
