/* Sites « hôtel proche » (genre 'proche' de PDM_SITES : pfr, ppa) — habillage de l'accueil et des pages lieu.
   Chargé SEULEMENT sur ces sites (views/layout.php), après s.css ; tout est sous body.g-proche : aucun effet sur les
   sites « hôtel près de moi ». À chaque modification : incrémenter PDM_V (pdm/inc/app.php). 16/11/2026. */
.g-proche { --nuit: #0b1220; --nuit-2: #15223b; --clair-n: #cbd5e1; --halo: color-mix(in srgb, var(--accent) 55%, #fff); }

/* ---------- en-tête : lien de retour vers le site (section d'un annuaire) */
.g-proche .retour-site { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 12px; color: var(--texte);
  text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.g-proche .retour-site:hover { background: var(--gris); color: var(--encre); }
.g-proche .retour-site .ic.retour { rotate: 180deg; }
.g-proche .tete-cta { display: none; }   /* le bouton « proche de moi » de l'en-tête ferait doublon avec la recherche */

/* ---------- bandeau de l'accueil */
.g-proche .ph { position: relative; padding: 46px 0 0; color: #fff; overflow: hidden;
  background: radial-gradient(900px 480px at 82% 12%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
              radial-gradient(700px 420px at 4% 96%, color-mix(in srgb, var(--bleu) 22%, transparent), transparent 70%),
              linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.g-proche .ph-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 30px; align-items: center; }
.g-proche .ph h1, .g-proche .lh h1 { color: #fff; margin-bottom: .35em; }
.g-proche .ph h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.g-proche .ph-sur { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.g-proche .ph-sur .ic { color: var(--halo); }
.g-proche .ph-sous { margin: 0 0 24px; max-width: 58ch; font-size: 1.1rem; line-height: 1.55; color: var(--clair-n); }

.g-proche .ph-cherche { max-width: 620px; min-height: 64px; padding: 8px 8px 8px 20px; border: 0; border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.g-proche .ph-cherche input { font-size: 1.06rem; color: var(--encre); }
.g-proche .ph-cherche .bouton { min-height: 48px; border-radius: 14px; }
.g-proche .ph-cherche .sugg { color: var(--texte); }
.g-proche .ph-rapide { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.g-proche .ph-rapide a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 14px; border-radius: 999px; color: #fff; text-decoration: none;
  font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); transition: background .12s, border-color .12s; }
.g-proche .ph-rapide a:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.g-proche .ph-geo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 22px 0 0; font-size: .82rem; color: #94a3b8; }
.g-proche .ph-geo-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 12px; cursor: pointer;
  background: transparent; color: #fff; font-weight: 700; font-size: .92rem; border: 1px solid rgba(255,255,255,.3); }
.g-proche .ph-geo-btn:hover { background: rgba(255,255,255,.1); }
.g-proche .ph-geo-btn .ic { color: var(--halo); }
.g-proche .ph .etat { color: #fff; min-height: 0; margin: 10px 0 0; }

/* grande roue (dessin maison) */
.g-proche .ph-art { display: grid; place-items: center; }
.g-proche .grande-roue { width: min(100%, 400px); height: auto; overflow: visible; }
.g-proche .gr-halo { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.g-proche .gr-jante { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 4; }
.g-proche .gr-jante.fin { stroke: rgba(255,255,255,.28); stroke-width: 2; }
.g-proche .gr-rayon { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 2; }
.g-proche .gr-nacelles rect { fill: var(--halo); }
.g-proche .gr-nacelles rect:nth-child(odd) { fill: #fff; }
.g-proche .gr-moyeu { fill: var(--accent); stroke: #fff; stroke-width: 4; }
.g-proche .gr-pied { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 5; stroke-linecap: round; }
.g-proche .gr-pin path { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.g-proche .gr-pin circle { fill: #fff; }
.g-proche .gr-pin.petit path { fill: #fff; stroke: none; opacity: .85; }
.g-proche .gr-pin.petit circle { fill: var(--nuit-2); }
.g-proche .gr-roue { transform-origin: 220px 180px; animation: gr-tourne 80s linear infinite; }
@keyframes gr-tourne { to { rotate: 360deg; } }

.g-proche .ph-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.g-proche .ph-chiffres li { display: flex; align-items: center; gap: 10px; padding: 18px 16px 20px 0; font-size: .86rem; color: var(--clair-n); }
.g-proche .ph-chiffres b { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.g-proche .ph-chiffres b .ic { width: 22px; height: 22px; color: var(--halo); }

/* ---------- cartes des lieux les plus recherchés */
.g-proche .vedettes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.g-proche .vedettes a { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; padding: 14px; border-radius: var(--r);
  overflow: hidden; color: #fff; text-decoration: none; background-color: var(--nuit-2); isolation: isolate; box-shadow: var(--ombre); transition: translate .18s, box-shadow .18s; }
.g-proche .vedettes a::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--photo, none) center / cover no-repeat; transition: scale .5s; }
.g-proche .vedettes a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,18,32,.28) 0%, rgba(11,18,32,.1) 34%, rgba(11,18,32,.9) 100%); }
.g-proche .vedettes a:hover { translate: 0 -4px; box-shadow: var(--ombre-f); }
.g-proche .vedettes a:hover::before { scale: 1.06; }
.g-proche .vedettes li:first-child { grid-column: span 2; }
.g-proche .v-rang { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .82rem; font-weight: 800;
  background: rgba(255,255,255,.92); color: var(--encre); }
.g-proche .v-type { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  background: rgba(11,18,32,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.g-proche .v-bas { display: flex; flex-direction: column; gap: 3px; }
.g-proche .v-bas > b { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.g-proche .vedettes li:first-child .v-bas > b { font-size: 1.7rem; }
.g-proche .v-ville { font-size: .84rem; color: #e2e8f0; }
.g-proche .v-faits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 8px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.22); font-size: .82rem; color: #e2e8f0; }
.g-proche .v-faits small { margin-right: 4px; }
.g-proche .v-faits b { font-size: 1.12rem; font-weight: 800; color: #fff; }

/* ---------- tous les lieux : onglets, filtre, listes */
.g-proche .filtre-lieux { display: flex; align-items: center; gap: 8px; min-height: 46px; width: min(100%, 320px); padding: 0 14px; border: 1px solid var(--trait); border-radius: 14px; background: var(--surface); }
.g-proche .filtre-lieux:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-doux); }
.g-proche .filtre-lieux input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: .95rem; }
.g-proche .filtre-lieux .ic { color: var(--doux); }
.g-proche .onglets-types { margin: 18px 0 6px; }
.g-proche .onglets-types small { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: var(--gris); color: var(--doux); font-size: .74rem; font-weight: 700; }
.g-proche .groupe-lieux { margin-top: 30px; scroll-margin-top: calc(var(--tete) + 16px); }
.g-proche .groupe-lieux h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.16rem; font-weight: 800; }
.g-proche .groupe-lieux h3 .pic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-doux); color: var(--accent-f); }
.g-proche .lieux-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 8px; margin-top: 14px; }
.g-proche .lieux-liste a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; min-height: 58px; padding: 10px 14px; border: 1px solid var(--trait);
  border-radius: var(--r-s); background: var(--surface); text-decoration: none; transition: border-color .12s, background .12s, translate .12s; }
.g-proche .lieux-liste a:hover { border-color: var(--accent); background: var(--accent-doux); }
.g-proche .lieux-liste a > span { display: flex; flex-direction: column; min-width: 0; }
.g-proche .lieux-liste b { color: var(--encre); font-weight: 700; line-height: 1.25; }
.g-proche .lieux-liste small { color: var(--doux); font-size: .78rem; }
.g-proche .lieux-liste .ic { color: var(--doux); flex: none; transition: translate .12s, color .12s; }
.g-proche .lieux-liste a:hover .ic { translate: 3px 0; color: var(--accent-f); }
.g-proche .aucun-lieu { margin-top: 24px; padding: 18px; border: 1px dashed var(--trait); border-radius: var(--r-s); text-align: center; color: var(--doux); }

/* ---------- en-tête d'une page lieu */
.g-proche .lh { padding: 26px 0 60px; color: #fff;
  background: radial-gradient(760px 380px at 88% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.g-proche .lh .fil, .g-proche .lh .fil a { color: #cbd5e1; }
.g-proche .lh .fil a:hover { color: #fff; }
.g-proche .lh h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.g-proche .lh .ph-sous { margin-bottom: 16px; font-size: 1.04rem; }
.g-proche .lh-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 6px; }
.g-proche .lh-fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: .9rem; color: var(--clair-n); }
.g-proche .lh-fiche > .ic { color: var(--halo); }
.g-proche .lh-fiche a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 13px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700;
  font-size: .86rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.g-proche .lh-fiche a:hover { background: rgba(255,255,255,.2); }
.g-proche .lh-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.g-proche .lh-chiffres li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }
.g-proche .lh-chiffres .pic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--halo); }
.g-proche .lh-chiffres b { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.g-proche .lh-chiffres b small { font-size: .78rem; font-weight: 600; color: var(--clair-n); }
.g-proche .lh-chiffres li > span:last-child { font-size: .78rem; color: var(--clair-n); }

/* ---------- les trois repères : le plus proche, le mieux noté, le moins cher */
.g-proche .reperes-bloc { padding-block: 0; margin-top: -34px; position: relative; z-index: 2; }
.g-proche .reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.g-proche .reperes a { display: flex; height: 100%; border: 1px solid var(--trait); border-radius: var(--r); background: var(--surface); overflow: hidden; text-decoration: none;
  color: var(--texte); box-shadow: var(--ombre-f); transition: translate .15s, border-color .15s; }
.g-proche .reperes a:hover { translate: 0 -3px; border-color: var(--accent); }
.g-proche .reperes img { width: 104px; height: auto; min-height: 100%; object-fit: cover; flex: none; background: var(--gris); }
.g-proche .rp-corps { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; }
.g-proche .rp-etq { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; background: var(--accent-doux); color: var(--accent-f); }
.g-proche .rp-corps > b { color: var(--encre); font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-proche .rp-faits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: auto; font-size: .82rem; color: var(--doux); }
.g-proche .rp-faits .ic { width: 14px; height: 14px; margin-right: 3px; }
.g-proche .rp-prix { margin-left: auto; font-size: 1.05rem; font-weight: 800; color: var(--encre); }
.g-proche .rp-prix small { margin-right: 4px; font-size: .74rem; font-weight: 600; color: var(--doux); }

/* ---------- prix selon la distance, en barres */
.g-proche .pd { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: center; padding: 26px 28px; border: 1px solid var(--trait);
  border-radius: var(--r); background: var(--surface); box-shadow: var(--ombre); }
.g-proche .pd h2 { font-size: 1.3rem; margin-bottom: .5em; }
.g-proche .pd-synthese { font-size: 1.06rem; font-weight: 700; color: var(--encre); margin-bottom: .6em; }
.g-proche .pd-barres { display: flex; flex-direction: column; gap: 14px; }
.g-proche .pd-barres li { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; }
.g-proche .pd-lib { display: flex; flex-direction: column; }
.g-proche .pd-lib b { color: var(--encre); font-size: .92rem; font-weight: 700; }
.g-proche .pd-lib small { color: var(--doux); font-size: .76rem; }
.g-proche .pd-barre { height: 14px; border-radius: 999px; background: var(--gris); overflow: hidden; }
.g-proche .pd-barre i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent)); }
.g-proche .pd-prix { min-width: 62px; text-align: right; font-size: 1.14rem; font-weight: 800; color: var(--encre); }

/* ---------- barre d'outils de la liste : filtres, séjour, tri */
.g-proche .outils { position: sticky; top: var(--tete); z-index: 20; display: flex; flex-direction: column; gap: 10px; margin: 0 -20px 18px; padding: 12px 20px;
  background: color-mix(in srgb, var(--fond) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait); }
.g-proche .outils .filtres-lieu { margin: 0; }
.g-proche .outils-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.g-proche .outils-bas .quand { margin: 0; }
.g-proche .liste-titre { font-size: 1.3rem; margin: 6px 0 16px; }
.g-proche .resultats .plan { top: calc(var(--tete) + 132px); }

/* ---------- lieux voisins */
.g-proche .lieux-liste.voisins { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

/* ---------- téléphone et tablette */
@media (max-width: 980px) {
  .g-proche .ph-grille, .g-proche .lh-grille, .g-proche .pd { grid-template-columns: minmax(0, 1fr); }
  .g-proche .ph-art { display: none; }
  .g-proche .vedettes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-proche .lh-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g-proche .lh-chiffres li { grid-template-columns: 1fr; padding: 12px; }
  .g-proche .lh-chiffres .pic { display: none; }
}
@media (max-width: 640px) {
  .g-proche .ph { padding-top: 26px; }
  .g-proche .ph-sous { font-size: 1rem; margin-bottom: 18px; }
  .g-proche .ph-cherche { min-height: 56px; padding-left: 14px; border-radius: 16px; }
  .g-proche .ph-cherche .bouton { padding-inline: 14px; }
  .g-proche .ph-rapide { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .g-proche .ph-rapide::-webkit-scrollbar { display: none; }
  .g-proche .ph-rapide a { white-space: nowrap; }
  .g-proche .ph-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
  .g-proche .ph-chiffres li { padding: 12px 8px 12px 0; font-size: .8rem; }
  .g-proche .ph-chiffres li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .g-proche .ph-chiffres b { font-size: 1.25rem; }
  .g-proche .vedettes { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 2px 20px 10px; scrollbar-width: none; }
  .g-proche .vedettes::-webkit-scrollbar { display: none; }
  .g-proche .vedettes li { flex: 0 0 78%; scroll-snap-align: center; }
  .g-proche .vedettes li:first-child .v-bas > b { font-size: 1.22rem; }
  .g-proche .vedettes a { min-height: 230px; }
  .g-proche .filtre-lieux { width: 100%; }
  .g-proche .onglets-types { margin-inline: -20px; padding-inline: 20px; }
  .g-proche .lh { padding: 18px 0 30px; }
  .g-proche .lh-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-proche .lh-chiffres b { font-size: 1.25rem; }
  .g-proche .reperes { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .g-proche .reperes::-webkit-scrollbar { display: none; }
  .g-proche .reperes li { flex: 0 0 86%; scroll-snap-align: center; }
  .g-proche .pd { padding: 20px 16px; }
  .g-proche .pd-barres li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .g-proche .pd-barre { grid-column: 1 / -1; order: 3; }
  .g-proche .outils { gap: 8px; padding-block: 10px; }
  .g-proche .outils .filtres-lieu { margin-inline: -20px; padding-inline: 20px; }
  .g-proche .outils-bas { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .g-proche .outils-bas::-webkit-scrollbar { display: none; }
  .g-proche .outils-bas > * { flex: none; overflow: visible; }
  .g-proche .lh { padding-bottom: 50px; }
  .g-proche .retour-site span { display: none; }
  .g-proche .retour-site { margin-left: auto; padding-inline: 10px; border: 1px solid var(--trait); }
}
@media (prefers-reduced-motion: reduce) {
  .g-proche .gr-roue { animation: none; }
  .g-proche .vedettes a, .g-proche .vedettes a::before, .g-proche .reperes a { transition: none; }
}
