/* « Trouver mon logement » (2.13) : questionnaire intégré à la section, résultats sur place.
   Une seule scène bleu ciel ; les choix sont des pavés blancs qui passent au bleu quand ils sont cochés.
   Aucun verrouillage du défilement, mouvements courts (opacité, petite translation), rien avec
   prefers-reduced-motion. Logique : assets/js/finder.js. */

.pf { position: relative; z-index: 3; padding: clamp(64px, 9vw, 128px) 0; background: var(--lc-paper); scroll-margin-top: calc(var(--lc-nav-h) + 8px); }
.pf__stage {
  position: relative; border-radius: calc(var(--lc-radius) + 8px); background: var(--lc-mist);
  padding: clamp(28px, 5vw, 72px); color: var(--lc-ink);
}

/* ---------- Introduction ---------- */
.pf [hidden] { display: none !important; }
.pf__intro { display: grid; gap: clamp(36px, 4.5vw, 64px); }
/* Titre à gauche sur toute sa largeur (deux lignes), texte et bouton à droite, alignés sur le bas du titre. */
.pf__copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: 'eye eye' 'title lead' 'title cta'; column-gap: clamp(32px, 5vw, 88px); align-items: end; }
.pf__eyebrow { grid-area: eye; }
.pf__title { grid-area: title; }
.pf__lead { grid-area: lead; }
.pf__cta { grid-area: cta; }
.pf__eyebrow { margin: 0 0 20px; font: 600 12.5px/1.3 var(--lc-font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lc-blue); }
html body .pf__title {
  margin: 0; font-family: var(--lc-font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem); text-wrap: balance; color: var(--lc-ink);
}
.pf__lead { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--lc-ink); }
.pf__cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pf__go { min-height: 58px; font-size: 17px; }
.pf__promise { margin: 0; font-size: 15px; font-weight: 600; color: var(--lc-ink-soft); }

.pf__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pf-tile {
  width: 100%; height: 100%; min-height: 220px; display: grid; align-content: start; gap: 6px; padding: 26px 24px;
  border: 0; border-radius: var(--lc-radius); background: var(--lc-paper); color: var(--lc-ink); text-align: left; cursor: pointer;
  font: inherit; transition: transform 220ms var(--lc-ease), background-color 220ms var(--lc-ease), color 220ms var(--lc-ease);
}
.pf-tile__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 40px; border-radius: 14px; background: rgba(0, 97, 178, 0.08); color: var(--lc-blue); transition: inherit; }
.pf-tile__icon svg { width: 30px; height: 30px; }
.pf-tile__label { font-size: 19px; font-weight: 700; line-height: 1.2; }
.pf-tile__eg { font-size: 15px; line-height: 1.35; color: var(--lc-ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .pf-tile:hover { transform: translateY(-3px); background: var(--lc-blue); color: #fff; }
  .pf-tile:hover .pf-tile__icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
  .pf-tile:hover .pf-tile__eg { color: rgba(255, 255, 255, 0.82); }
}
.pf-tile:active { transform: scale(0.98); }

/* ---------- Questionnaire ---------- */
.pf__app { max-width: 980px; margin: 0 auto; }
.pf__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 20px; margin-bottom: clamp(26px, 4vw, 44px); }
.pf__count { margin: 0; font-size: 15px; font-weight: 600; color: var(--lc-ink-soft); }
.pf__progress { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pf__progress i { height: 6px; border-radius: 6px; background: var(--lc-mist-2); position: relative; overflow: hidden; }
.pf__progress i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--lc-blue); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--lc-ease); }
.pf__progress i.is-on::after { transform: scaleX(0.5); }
.pf__progress i.is-done::after { transform: scaleX(1); background: var(--lc-blue); }
.pf__quit { grid-column: 2; grid-row: 1; border: 0; background: none; padding: 8px 2px; font: inherit; font-size: 15px; font-weight: 600; color: var(--lc-blue); cursor: pointer; text-decoration: underline; text-decoration-color: var(--lc-mint); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Au-dessus de la barre Précédent / Suivant : la liste des villes (dans l'étape) passe devant les boutons. */
.pf-step { position: relative; z-index: 2; border: 0; margin: 0; padding: 0; min-width: 0; }
.pf-step__q {
  display: block; padding: 0; margin: 0; outline: none; font-family: var(--lc-font-display); font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.9rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; color: var(--lc-ink);
}
.pf-step__hint { margin: 12px 0 0; font-size: 16px; color: var(--lc-ink-soft); }
.pf-step__body { margin-top: clamp(24px, 3vw, 34px); }

.pf-grid { display: grid; gap: 12px; }
.pf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid--budget { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid--rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid--when { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pf-grid--1 { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }

.pf-opt {
  position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 68px; padding: 18px 48px 18px 18px;
  border-radius: var(--lc-radius-s); background: var(--lc-paper); color: var(--lc-ink); cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 200ms var(--lc-ease), color 200ms var(--lc-ease), border-color 200ms var(--lc-ease), transform 160ms var(--lc-ease);
}
.pf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pf-opt__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 97, 178, 0.08); color: var(--lc-blue); }
.pf-opt__icon svg { width: 24px; height: 24px; }
.pf-opt__txt { display: grid; gap: 4px; }
.pf-opt__t { font-size: 17px; font-weight: 700; line-height: 1.25; }
.pf-opt__d { font-size: 15px; line-height: 1.4; color: var(--lc-ink-soft); }
.pf-opt__tick {
  position: absolute; top: 16px; right: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lc-mist); color: transparent; transition: inherit;
}
.pf-opt__tick svg { width: 16px; height: 16px; }
.pf-grid--3 .pf-opt { flex-direction: column; gap: 18px; padding: 22px; min-height: 210px; }
.pf-grid--3 .pf-opt__icon { width: 52px; height: 52px; }
.pf-grid--3 .pf-opt__icon svg { width: 28px; height: 28px; }
.pf-grid--3 .pf-opt__t { font-size: 19px; }
.pf-grid--budget .pf-opt { align-items: center; }
.pf-opt--soft { background: transparent; border-color: var(--lc-mist-2); }
@media (hover: hover) and (pointer: fine) {
  .pf-opt:hover { border-color: var(--lc-blue); }
}
.pf-opt:active { transform: scale(0.985); }
.pf-opt:has(input:focus-visible) { outline: 3px solid var(--lc-mint); outline-offset: 3px; }
.pf-opt:has(input:checked) { background: var(--lc-blue); color: #fff; border-color: var(--lc-blue); }
.pf-opt:has(input:checked) .pf-opt__d { color: rgba(255, 255, 255, 0.84); }
.pf-opt:has(input:checked) .pf-opt__icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.pf-opt:has(input:checked) .pf-opt__tick { background: var(--lc-mint); color: var(--lc-mint-ink); }
.pf-opt:has(input:checked) .pf-opt__tick svg path { stroke-dasharray: 16; stroke-dashoffset: 0; animation: pf-tick 260ms var(--lc-ease) both; }
@keyframes pf-tick { from { stroke-dashoffset: 16; } }

/* Curseur de budget */
.pf-slider {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; margin-top: 16px;
  padding: 20px 22px; border-radius: var(--lc-radius-s); background: var(--lc-paper);
}
.pf-slider__label { font-size: 16px; font-weight: 600; }
.pf-slider__out { font-size: 18px; font-weight: 700; color: var(--lc-blue); font-variant-numeric: tabular-nums; }
.pf-slider__range { --fill: 25%; grid-column: 1 / -1; width: 100%; height: 32px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pf-slider__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--lc-blue) var(--fill), var(--lc-mist-2) var(--fill)); } /* taste-skill-ignore : remplissage net du curseur, pas un dégradé */
.pf-slider__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--lc-mist-2); }
.pf-slider__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--lc-blue); }
.pf-slider__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--lc-blue); border: 4px solid var(--lc-sky, #eef4fa); }
.pf-slider__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--lc-blue); border: 4px solid var(--lc-sky, #eef4fa); }
.pf-slider__range:focus-visible { outline: 3px solid var(--lc-mint); outline-offset: 4px; border-radius: 8px; }
.pf-slider__ends { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 14px; color: var(--lc-ink-soft); }

/* Secteurs */
.pf-place { position: relative; }
.pf-place__field { position: relative; }
.pf-place__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--lc-blue); pointer-events: none; }
.pf-place__icon svg { width: 24px; height: 24px; }
.pf-place__field input {
  width: 100%; min-height: 64px; padding: 0 20px 0 54px; border: 0; border-radius: var(--lc-radius-s); background: var(--lc-paper);
  font: inherit; font-size: 18px; color: var(--lc-ink); border: 2px solid transparent;
}
.pf-place__field input::placeholder { color: #7a8b9b; }
.pf-place__field input:focus { border-color: var(--lc-blue); outline: 3px solid rgba(98, 210, 175, 0.6); outline-offset: 2px; }
.pf-place__list {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px); max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: var(--lc-radius-s); background: var(--lc-paper); box-shadow: 0 18px 40px -18px rgba(4, 31, 58, 0.45); /* taste-skill-ignore : liste déroulante (surcouche) */
}
.pf-place__list [role='option'] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 600; }
.pf-place__list [role='option'] small { font-size: 14px; font-weight: 400; color: var(--lc-ink-soft); }
.pf-place__list [aria-selected='true'] { background: var(--lc-mist); }
.pf-place__list .pf-place__none { cursor: default; font-weight: 400; color: var(--lc-ink-soft); }
.pf-place__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-place__chips:not(:empty) { margin-top: 14px; }
.pf-place__chips button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px 0 16px; border: 0; border-radius: 999px;
  background: var(--lc-blue); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.pf-place__chips button span { font-size: 20px; line-height: 1; opacity: 0.85; }
@media (hover: hover) and (pointer: fine) { .pf-place__chips button:hover { background: var(--lc-blue-press); } }
.pf-place__loading { margin: 12px 0 0; font-size: 15px; color: var(--lc-ink-soft); }

/* Bas du questionnaire */
.pf__error { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #9b1c17; font-size: 15px; font-weight: 600; }
.pf__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(26px, 3.5vw, 40px); }
.pf__next { margin-left: auto; }
.is-shake { animation: pf-shake 320ms var(--lc-ease-io); }
@keyframes pf-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

/* ---------- Résultats ---------- */
.pf__results { outline: none; }
.pf__done { display: none; }
.pf.is-done .pf__done { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; }
.pf__done svg { width: 56px; height: 56px; fill: none; stroke: var(--lc-blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pf__done circle { fill: var(--lc-mint); stroke: none; }
.pf__done path { stroke: var(--lc-mint-ink); stroke-dasharray: 40; animation: pf-draw 520ms 120ms var(--lc-ease) both; }
@keyframes pf-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

.pf-res__head { max-width: 900px; }
.pf-res__title {
  margin: 0; outline: none; font-family: var(--lc-font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(2rem, 3.8vw, 3.6rem); text-wrap: balance; color: var(--lc-ink);
}
.pf-res__sum { margin: 16px 0 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
.pf-res__crit { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-res__crit button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 9px 0 14px; border: 0; border-radius: 999px;
  background: var(--lc-paper); color: var(--lc-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 200ms var(--lc-ease), color 200ms var(--lc-ease);
}
.pf-res__crit button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 97, 178, 0.1); color: var(--lc-blue); }
.pf-res__crit button svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .pf-res__crit button:hover { background: var(--lc-blue); color: #fff; } .pf-res__crit button:hover span { background: rgba(255, 255, 255, 0.2); color: #fff; } }

.pf-res__state { margin-top: 28px; padding: 22px 24px; border-radius: var(--lc-radius-s); background: var(--lc-paper); }
.pf-res__state p { margin: 0; font-size: 17px; font-weight: 600; }
.pf-res__fix { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pf-res__fix .btn { min-height: 46px; font-size: 15px; }

.pf-res__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pf-res__list:empty { display: none; }
.pf-res__more { margin: 22px 0 0; text-align: center; }
.pf-res__more .btn[hidden] { display: none; }
.pf-skel { min-height: 380px; border-radius: var(--lc-radius); background: var(--lc-mist-2); animation: pf-pulse 1.2s ease-in-out infinite alternate; }
@keyframes pf-pulse { to { opacity: 0.55; } }

.pf-card { display: flex; flex-direction: column; border-radius: var(--lc-radius); background: var(--lc-paper); overflow: hidden; }
.pf-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lc-mist-2); }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--lc-ease); }
@media (hover: hover) and (pointer: fine) { .pf-card:hover .pf-card__media img { transform: scale(1.04); } }
.pf-card__tag { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 999px; background: var(--lc-mint); color: var(--lc-mint-ink); font-size: 13px; font-weight: 700; }
.pf-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pf-card__place { margin: 0; font-size: 14px; font-weight: 600; color: var(--lc-ink-soft); }
html body .pf-card__name { margin: 0; font-family: var(--lc-font-display); font-weight: 500; font-size: 24px; line-height: 1.12; letter-spacing: -0.01em; }
.pf-card__name a { color: var(--lc-ink); text-decoration: none; }
.pf-card__name a::after { content: ''; position: absolute; inset: 0; }
.pf-card { position: relative; }
.pf-card__fit { margin: 0; font-size: 15px; line-height: 1.4; }
.pf-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; }
.pf-card__facts div { padding: 10px 12px; border-radius: 12px; background: var(--lc-mist); }
.pf-card__facts dt { font-size: 13px; color: var(--lc-ink-soft); }
.pf-card__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.pf-card__why { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.pf-card__why li { padding: 8px 12px; border-radius: 10px; background: #fff4dc; color: #6b4a00; font-size: 14px; font-weight: 600; }
.pf-card__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 14px; }
.pf-card__go { min-height: 46px; font-size: 15px; }
.pf-card__call { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 15px; cursor: pointer; }

.pf-res__near { margin-top: clamp(40px, 5vw, 64px); }
.pf-res__h3 { margin: 0; font-family: var(--lc-font-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -0.01em; }
.pf-res__note { margin: 10px 0 0; font-size: 16px; color: var(--lc-ink-soft); }
.pf-res__list--near { margin-top: 22px; }

.pf-lead {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 4vw, 44px); border-radius: var(--lc-radius); background: var(--lc-blue); color: #fff;
  scroll-margin-top: calc(var(--lc-nav-h) + 16px);
}
.pf-lead .pf-res__h3 { color: #fff; }
.pf-lead__intro p:not(.pf-res__h3) { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.pf-lead .field label, .pf-lead .consent, .pf-lead .form-note, .pf-lead [data-form-status] { color: #fff; }
.pf-lead .consent a { color: #fff; }
.pf-lead .btn { --bg: #fff; --fg: var(--lc-night); }
.pf-lead .btn .btn__icon { background: var(--lc-blue); color: #fff; }
@media (hover: hover) and (pointer: fine) { .pf-lead .btn:hover { background: var(--lc-sky); } }
.pf-lead__ok { grid-column: 1 / -1; outline: none; }
.pf-lead__ok p { margin: 10px 0 0; font-size: 18px; line-height: 1.5; }
.pf-lead__ok .pf-res__h3 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }

.pf-res__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.pf-res__restart { border: 0; background: none; padding: 6px 0; font: inherit; cursor: pointer; }

/* ---------- Mouvement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pf-in { animation: pf-in 260ms var(--lc-ease) both; }
  .pf-step--fwd { animation: pf-fwd 240ms var(--lc-ease) both; }
  .pf-step--back { animation: pf-back 240ms var(--lc-ease) both; }
  .pf-res__list > li { animation: pf-in 320ms var(--lc-ease) both; }
  .pf-res__list > li:nth-child(2) { animation-delay: 60ms; }
  .pf-res__list > li:nth-child(3) { animation-delay: 120ms; }
  .pf-res__list > li:nth-child(n + 4) { animation-delay: 160ms; }
}
@keyframes pf-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes pf-fwd { from { opacity: 0; transform: translateX(18px); } }
@keyframes pf-back { from { opacity: 0; transform: translateX(-18px); } }
@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .pf__copy { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'eye' 'title' 'lead' 'cta'; }
  .pf__lead { margin-top: 20px; }
  .pf__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-res__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-grid--when { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-lead { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Téléphone : une colonne, gros pavés pour le pouce, mouvements en opacité seule ---------- */
@media (max-width: 860px) {
  .pf { padding: 40px 0; }
  .pf .wrap { padding-left: 12px; padding-right: 12px; }
  .pf__stage { padding: 28px 18px; border-radius: var(--lc-radius); }
  .pf__eyebrow { letter-spacing: 0.14em; font-size: 12px; }
  .pf__lead { max-width: none; }
  .pf__cta { margin-top: 26px; }
  .pf__go { width: 100%; }
  .pf__promise { width: 100%; text-align: center; font-size: 14px; }
  /* Aperçu des 5 questions : une liste compacte au lieu des grands pavés. */
  .pf__tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pf-tile { min-height: 0; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 12px 14px; }
  .pf-tile__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .pf-tile__icon svg { width: 22px; height: 22px; }
  .pf-tile__label { font-size: 16px; }
  .pf-tile__eg { font-size: 14px; }

  .pf__bar { margin-bottom: 22px; }
  .pf-step__q { font-size: clamp(1.6rem, 7vw, 2rem); }
  .pf-step__hint { font-size: 15px; }
  .pf-step__body { margin-top: 20px; }
  .pf-grid--3, .pf-grid--budget, .pf-grid--when { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pf-grid--rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-grid--3 .pf-opt { flex-direction: row; gap: 14px; min-height: 0; padding: 16px 46px 16px 16px; }
  .pf-grid--3 .pf-opt__icon { width: 44px; height: 44px; }
  .pf-grid--3 .pf-opt__t { font-size: 17px; }
  .pf-opt { min-height: 58px; padding: 15px 44px 15px 16px; }
  .pf-opt--room { flex-direction: column; gap: 2px; padding: 14px 40px 14px 14px; }
  .pf-opt--room .pf-opt__d { font-size: 13.5px; }
  .pf-grid--when .pf-opt__d { font-size: 14px; }
  .pf-place__list { max-height: 260px; }
  .pf__nav { position: static; }
  .pf__nav .btn { min-height: 54px; }
  /* Le bouton « haut de page » ne recouvre pas « Suivant » pendant le questionnaire. */
  body:has(.pf[data-view="app"]) .to-top { display: none; }
  .pf__next { flex: 1; }
  .pf-res__list { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .pf-res__crit { gap: 6px; }
  .pf-res__crit button { min-height: 38px; font-size: 14px; }
  .pf-card__body { padding: 18px; }
  .pf-card__go { flex: 1; }
  .pf-lead { padding: 24px 18px; }
  .pf-res__actions { flex-direction: column; align-items: stretch; text-align: center; }
  /* Mouvements réduits au téléphone : opacité seule. */
  @keyframes pf-in { from { opacity: 0; } }
  @keyframes pf-fwd { from { opacity: 0; } }
  @keyframes pf-back { from { opacity: 0; } }
}
@media (max-width: 340px) {
  .pf-grid--rooms { grid-template-columns: minmax(0, 1fr); }
  .pf-opt--room { flex-direction: row; justify-content: space-between; align-items: center; }
}
