/* ----------------------------------------------------------------------------- Lou-Ka — Agrégateur de logements à louer (province de Québec) Auteur : Simon-Pierre Boucher — contact@spboucher.ai fiche/fiche.css : fiche logement premium (refonte 2026-09-04) · Tokens `--lk-*` posés sur :root (les panneaux en portail y accèdent), styles SCOPÉS sous `.lk-fiche` / `.lk-*` — la fiche court terme (CourtTermeFiche) conserve les anciennes classes `.fiche/.f-*` intactes. · Fond cassé #F7F7F5, cartes blanches à bord 1 px #E5E5E1, ombres légères, rayons 10/14/18/22, orange réservé aux CTA / prix / score / états actifs. · Mobile-first ; desktop ≥ 1024 px : colonne principale + aside sticky. · Aucune propriété `order` : ordre DOM = ordre visuel (standard Groupe Ka). ----------------------------------------------------------------------------- */ :root { --lk-bg: #f7f7f5; --lk-surface: #ffffff; --lk-surface-2: #fafaf8; --lk-border: #e5e5e1; --lk-border-2: #d3d3cd; --lk-text: #141814; --lk-text-2: #4d5551; --lk-muted: #7c837e; --lk-orange: #ff6a00; --lk-orange-deep: #c85300; --lk-orange-soft: #fff1e6; --lk-success: #1e7b4a; --lk-success-soft: #e7f4ec; --lk-warning: #a8690a; --lk-warning-soft: #fcf3e1; --lk-danger: #b3423a; --lk-danger-soft: #fbe9e7; --lk-info: #3b5bdb; --lk-info-soft: #e9edfb; --lk-r-sm: 10px; --lk-r-md: 14px; --lk-r-lg: 18px; --lk-r-xl: 22px; --lk-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04); --lk-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.07); --lk-header-h: 56px; --lk-nav-h: 52px; } /* ---- page : fond cassé, header compact, chrome global effacé ---- */ body.lk-fiche-page { background: var(--lk-bg); } body.lk-fiche-page .tabbar { display: none !important; } body.lk-fiche-page .kaa-btn { display: none !important; } /* remplacé par « Demander à Ka » */ body.lk-fiche-page .prefooter { margin-top: 8px; } .header--fiche { background: rgba(247, 247, 245, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--lk-border); } .header--fiche .header-inner { height: var(--lk-header-h); gap: 10px; } .header--fiche .brand { font-size: 22px; } .header--fiche .brand .logo-ico { width: 26px; height: 26px; } .header--fiche .brand-tag { display: none; } .header--fiche .menu-btn { margin-left: 0; border-color: var(--lk-border); box-shadow: none; } .hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; } .hdr-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--lk-border); background: var(--lk-surface); color: var(--lk-text); cursor: pointer; padding: 0; transition: background 0.15s, transform 0.15s; } .hdr-btn:active { transform: scale(0.95); } .hdr-btn.on { color: var(--lk-orange); border-color: var(--lk-orange); background: var(--lk-orange-soft); } @media (hover: hover) { .hdr-btn:hover { background: var(--lk-surface-2); } } .header--fiche .nav { margin-left: 0; } .header--fiche .login-btn { margin-left: 0; } /* connexion : capsule légère ; sur téléphone, icône seule */ .login-btn .login-txt { margin-left: 2px; } @media (max-width: 760px) { .login-btn { padding: 0; width: 40px; height: 40px; justify-content: center; border-radius: 999px; margin-left: 0; } .login-btn .login-txt { display: none; } } /* ---- gabarit ---- */ .lk-fiche { padding: 10px 0 110px; color: var(--lk-text); } .lk-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; } .lk-grid { display: block; } .lk-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; } .lk-aside { display: none; } @media (min-width: 768px) { .lk-wrap { padding: 0 24px; } .lk-fiche { padding-top: 18px; } .lk-main { gap: 16px; } } @media (min-width: 1024px) { .lk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 32px; align-items: start; } .lk-aside { display: block; position: sticky; top: calc(var(--lk-header-h) + 16px); } .lk-fiche { padding-bottom: 80px; } } .lk-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--lk-muted); margin: 0 0 10px; } .lk-crumbs a { color: var(--lk-text-2); } .lk-crumbs span:last-child { color: var(--lk-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; } .lk-fiche section[id] { scroll-margin-top: calc(var(--lk-header-h) + var(--lk-nav-h) + 10px); } /* ---- carte de section ---- */ .lk-card { background: var(--lk-surface); border: 1px solid var(--lk-border); border-radius: var(--lk-r-lg); box-shadow: var(--lk-shadow-sm); padding: 16px; min-width: 0; } @media (min-width: 768px) { .lk-card { padding: 20px 22px; } } .lk-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .lk-card-title { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; color: var(--lk-text); } .lk-card-title svg { color: var(--lk-orange-deep); flex: none; } .lk-card-sub { font-size: 12.5px; color: var(--lk-muted); margin: 3px 0 0; } .lk-card-aside { flex: none; display: flex; align-items: center; gap: 8px; } .lk-link { background: none; border: 0; padding: 0; color: var(--lk-text-2); font: 600 13px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lk-border-2); } .lk-link:hover { color: var(--lk-orange-deep); } .lk-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 12px; padding: 8px 14px; border: 1px solid var(--lk-border); border-radius: var(--lk-r-sm); background: var(--lk-surface); color: var(--lk-text); font: 600 13.5px var(--font-body); cursor: pointer; transition: background 0.15s, border-color 0.15s; } .lk-more:hover { background: var(--lk-surface-2); border-color: var(--lk-border-2); } .lk-more svg { color: var(--lk-muted); } /* ---- boutons ---- */ .lk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; font: 600 14.5px var(--font-body); cursor: pointer; text-decoration: none; transition: transform 0.12s, background 0.15s, box-shadow 0.15s; white-space: nowrap; } .lk-btn:active { transform: translateY(1px); } .lk-btn-primary { background: var(--lk-orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 0, 0.22); } .lk-btn-primary:hover { background: var(--lk-orange-deep); } .lk-btn-ghost { background: var(--lk-surface); border-color: var(--lk-border); color: var(--lk-text); } .lk-btn-ghost:hover { background: var(--lk-surface-2); border-color: var(--lk-border-2); } .lk-btn-icon { width: 46px; padding: 0; flex: none; } .lk-btn-icon.on { color: var(--lk-orange); border-color: var(--lk-orange); background: var(--lk-orange-soft); } /* ---- héro ---- */ .lk-hero { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 0; } .lk-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .lk-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 8.4vw, 38px); line-height: 1; letter-spacing: -0.035em; color: var(--lk-text); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; } .lk-price small { font: 500 14px var(--font-body); color: var(--lk-muted); letter-spacing: 0; } .lk-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .lk-capsule { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 12.5px var(--font-body); border: 1px solid transparent; white-space: nowrap; } .lk-capsule b { font-weight: 700; } .lk-capsule.good { background: var(--lk-success-soft); color: var(--lk-success); } .lk-capsule.ok { background: var(--lk-surface); color: var(--lk-text-2); border-color: var(--lk-border); } .lk-capsule.high { background: var(--lk-warning-soft); color: var(--lk-warning); } .lk-capsule.neutral { background: var(--lk-surface-2); color: var(--lk-muted); border-color: var(--lk-border); } .lk-capsule.brand { background: var(--lk-orange-soft); color: var(--lk-orange-deep); } .lk-h1 { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: 0; color: var(--lk-text); } .lk-h1 .lk-city { display: block; font-weight: 500; font-size: 14px; color: var(--lk-text-2); } .lk-summary { margin: 0; font-size: 14px; color: var(--lk-text-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; } .lk-summary .sep { color: var(--lk-border-2); } .lk-actions { display: flex; gap: 8px; align-items: center; } .lk-actions .lk-btn-primary { flex: 1; } .lk-hero .lk-actions { margin-top: 2px; } @media (min-width: 1024px) { .lk-hero .lk-actions { display: none; } /* actions dans l'aside sticky */ } /* ---- galerie ---- */ .lk-gallery { position: relative; border-radius: var(--lk-r-lg); overflow: hidden; background: #ecece8; } .lk-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; aspect-ratio: 4 / 3; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .lk-gallery-track::-webkit-scrollbar { display: none; } .lk-gallery-track img, .lk-gallery > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; display: block; } .lk-gallery > img { aspect-ratio: 4 / 3; } @media (min-width: 768px) { .lk-gallery-track, .lk-gallery > img { aspect-ratio: 16 / 9; } } .lk-gallery-count { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(20, 24, 20, 0.66); color: #fff; font: 600 12px var(--font-body); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; } .lk-gallery-full, .lk-gallery-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.92); color: var(--lk-text); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); } .lk-gallery-full { right: 12px; bottom: 12px; } .lk-gallery-nav { top: 50%; transform: translateY(-50%); display: none; } .lk-gallery-nav.prev { left: 12px; } .lk-gallery-nav.next { right: 12px; } @media (hover: hover) and (min-width: 768px) { .lk-gallery-nav { display: grid; } } .lk-thumbs { display: none; } @media (min-width: 768px) { .lk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-top: 8px; } .lk-thumbs button { border: 0; padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #ecece8; cursor: pointer; outline-offset: 2px; opacity: 0.75; transition: opacity 0.15s; } .lk-thumbs button.on, .lk-thumbs button:hover { opacity: 1; } .lk-thumbs button.on { outline: 2px solid var(--lk-orange); } .lk-thumbs img { width: 100%; height: 100%; object-fit: cover; } } /* lightbox (plein écran) */ .lk-lightbox { position: fixed; inset: 0; z-index: var(--z-modal, 900); background: rgba(12, 14, 12, 0.96); } .lk-lightbox-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; scrollbar-width: none; touch-action: pan-x pinch-zoom; } .lk-lightbox-track::-webkit-scrollbar { display: none; } .lk-lightbox-cell { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: max(56px, env(safe-area-inset-top)) 10px max(28px, env(safe-area-inset-bottom)); overflow: hidden; } .lk-lightbox-cell img { max-width: 100%; max-height: 100%; border-radius: 10px; user-select: none; -webkit-user-drag: none; will-change: transform; } .lk-lightbox-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.5); color: #fff; display: grid; place-items: center; cursor: pointer; } .lk-lightbox-count { position: fixed; top: max(22px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 3; color: #fff; font: 600 13px var(--font-body); background: rgba(0, 0, 0, 0.45); padding: 4px 12px; border-radius: 999px; } .lk-lightbox .lk-gallery-nav { display: none; } @media (hover: hover) { .lk-lightbox .lk-gallery-nav { display: grid; position: fixed; } } /* ---- Lou-Ka Score ---- */ .lk-score { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; } .lk-score-ring { position: relative; width: 88px; height: 88px; flex: none; } .lk-score-ring svg { width: 88px; height: 88px; transform: rotate(-90deg); } .lk-score-ring .bg { fill: none; stroke: var(--lk-surface-2); stroke-width: 7; } .lk-score-ring .arc { fill: none; stroke: var(--lk-orange); stroke-width: 7; stroke-linecap: round; transition: stroke-dasharray 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); } .lk-score-ring .arc.partial { stroke: var(--lk-text-2); } .lk-score-val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: -0.03em; line-height: 1; } .lk-score-val small { display: block; text-align: center; font: 600 10px var(--font-body); color: var(--lk-muted); margin-top: 2px; letter-spacing: 0.04em; } .lk-score-lbl { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; } .lk-score-sub { font-size: 13px; color: var(--lk-text-2); margin-top: 2px; line-height: 1.4; } .lk-score-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .lk-score-part { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 4px 9px; border-radius: 8px; background: var(--lk-surface-2); border: 1px solid var(--lk-border); color: var(--lk-text-2); } .lk-score-part b { color: var(--lk-text); font-variant-numeric: tabular-nums; } .lk-score-part.na { color: var(--lk-muted); border-style: dashed; } /* ---- En bref ---- */ .lk-brief { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .lk-brief li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; } .lk-brief-ico { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; } .lk-brief-ico.good { background: var(--lk-success-soft); color: var(--lk-success); } .lk-brief-ico.warn { background: var(--lk-warning-soft); color: var(--lk-warning); } .lk-brief-ico.bad { background: var(--lk-danger-soft); color: var(--lk-danger); } .lk-brief-ico.neutral { background: var(--lk-surface-2); color: var(--lk-muted); border: 1px solid var(--lk-border); } .lk-brief-t { font-weight: 600; font-size: 14px; line-height: 1.35; } .lk-brief-d { font-size: 13px; color: var(--lk-text-2); line-height: 1.4; margin-top: 1px; } /* ---- navigation par sections (sticky) ---- */ .lk-nav { position: sticky; top: var(--lk-header-h); z-index: var(--z-sticky, 300); margin: 0 -16px; padding: 6px 16px; background: rgba(247, 247, 245, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--lk-border); } @media (min-width: 768px) { .lk-nav { margin: 0 -24px; padding: 6px 24px; } } @media (min-width: 1024px) { .lk-nav { margin: 0; padding: 6px 0; border-radius: 0; } } .lk-nav-track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .lk-nav-track::-webkit-scrollbar { display: none; } .lk-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border-radius: 999px; font: 600 13px var(--font-body); color: var(--lk-text-2); border: 1px solid transparent; transition: background 0.15s, color 0.15s; scroll-snap-align: start; } .lk-nav a:hover { background: var(--lk-surface); border-color: var(--lk-border); } .lk-nav a.on { background: var(--lk-text); color: #fff; border-color: var(--lk-text); } /* ---- caractéristiques ---- */ .lk-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } @media (min-width: 560px) { .lk-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 900px) { .lk-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } } .lk-fact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--lk-border); border-radius: 12px; background: var(--lk-surface-2); min-width: 0; } .lk-fact-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--lk-surface); border: 1px solid var(--lk-border); display: grid; place-items: center; color: var(--lk-orange-deep); flex: none; } .lk-fact-v { font-weight: 700; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-fact-l { font-size: 11.5px; color: var(--lk-muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-fact-txt { min-width: 0; } .lk-facts-rows { margin-top: 12px; } .lk-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--lk-border); font-size: 13.5px; } .lk-kv .k { color: var(--lk-muted); } .lk-kv .v { font-weight: 600; text-align: right; } .lk-note { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; } .lk-note.good { background: var(--lk-success-soft); color: var(--lk-success); } .lk-note.info { background: var(--lk-info-soft); color: var(--lk-info); } .lk-note.warn { background: var(--lk-warning-soft); color: var(--lk-warning); } /* ---- description ---- */ .lk-desc { position: relative; } .lk-desc-body p { font-size: 15px; line-height: 1.6; color: var(--lk-text-2); margin: 0 0 10px; white-space: pre-line; } .lk-desc-body h4 { margin: 12px 0 3px; font: 700 14px var(--font-body); color: var(--lk-text); } .lk-desc-lead { font-size: 15.5px !important; color: var(--lk-text) !important; font-weight: 500; } .lk-desc.clamped .lk-desc-body { max-height: 200px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); } .lk-desc-orig { margin-top: 8px; } .lk-desc-orig p { font-size: 13.5px; color: var(--lk-muted); } /* ---- inclusions ---- */ .lk-amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } @media (min-width: 640px) { .lk-amen { grid-template-columns: repeat(3, minmax(0, 1fr)); } } .lk-amen-it { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 5px 0; border-bottom: 1px solid var(--lk-border); font-size: 13.5px; min-width: 0; } .lk-amen-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--lk-orange-soft); color: var(--lk-orange-deep); display: grid; place-items: center; flex: none; } .lk-amen-it.unconfirmed { color: var(--lk-text-2); } .lk-amen-it.unconfirmed .lk-amen-ico { background: var(--lk-surface-2); color: var(--lk-muted); border: 1px dashed var(--lk-border-2); } .lk-amen-txt { min-width: 0; line-height: 1.25; } .lk-amen-conf { margin-left: auto; color: var(--lk-success); flex: none; } /* ---- KPI / tuiles ---- */ .lk-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } @media (min-width: 600px) { .lk-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lk-kpi-v { font-size: 20px; } } .lk-kpis.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lk-kpi { padding: 10px 12px; border: 1px solid var(--lk-border); border-radius: 12px; background: var(--lk-surface); min-width: 0; } .lk-kpi.accent { background: var(--lk-orange-soft); border-color: #ffd9bf; } .lk-kpi-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 4.8vw, 20px); letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--lk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lk-kpi-v.wrap { white-space: normal; font-size: 16px; line-height: 1.2; } .lk-kpi-v small { font: 600 11px var(--font-body); color: var(--lk-muted); margin-left: 3px; } .lk-kpi-l { font-size: 11.5px; color: var(--lk-muted); margin-top: 3px; line-height: 1.3; } .lk-kpi.anim .lk-kpi-v { animation: lk-rise 0.5s ease both; } @keyframes lk-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } /* ---- rangées compactes (accessibilité, mesures) ---- */ .lk-rows { display: flex; flex-direction: column; gap: 4px; } .lk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 30px; font-size: 13.5px; } .lk-row-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lk-text); } .lk-row-name small { color: var(--lk-muted); font-size: 12px; margin-left: 4px; } .lk-row-bar { width: 78px; height: 6px; border-radius: 3px; background: var(--lk-surface-2); border: 1px solid var(--lk-border); overflow: hidden; } .lk-row-bar i { display: block; height: 100%; background: var(--lk-text); border-radius: 3px; } .lk-row-bar i.good { background: var(--lk-success); } .lk-row-bar i.warn { background: var(--lk-warning); } .lk-row-bar i.bad { background: var(--lk-danger); } .lk-row-val { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; } .lk-row-lbl { font-size: 12px; color: var(--lk-muted); min-width: 68px; text-align: right; } .lk-row-lbl.good { color: var(--lk-success); } .lk-row-lbl.warn { color: var(--lk-warning); } .lk-row-lbl.bad { color: var(--lk-danger); } /* ---- pastilles d'état ---- */ .lk-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 12px var(--font-body); border: 1px solid transparent; white-space: nowrap; } .lk-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; } .lk-badge.good { background: var(--lk-success-soft); color: var(--lk-success); } .lk-badge.warn { background: var(--lk-warning-soft); color: var(--lk-warning); } .lk-badge.bad { background: var(--lk-danger-soft); color: var(--lk-danger); } .lk-badge.neutral { background: var(--lk-surface-2); color: var(--lk-text-2); border-color: var(--lk-border); } .lk-badge.info { background: var(--lk-info-soft); color: var(--lk-info); } .lk-badge.lg { font-size: 13.5px; padding: 6px 12px; } .lk-pill { display: inline-block; font: 600 10.5px var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 1px; } .lk-pill.included { background: var(--lk-success-soft); color: var(--lk-success); } .lk-pill.observed { background: var(--lk-surface-2); color: var(--lk-text-2); border: 1px solid var(--lk-border); } .lk-pill.estimated { background: var(--lk-orange-soft); color: var(--lk-orange-deep); } .lk-pill.unknown { background: var(--lk-surface-2); color: var(--lk-muted); border: 1px dashed var(--lk-border-2); } /* ---- listes d'items (lieux, comparables, stations) ---- */ .lk-list { list-style: none; margin: 0; padding: 0; } .lk-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--lk-border); min-width: 0; } .lk-list > .lk-item:first-child { border-top: 0; padding-top: 2px; } .lk-item-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--lk-surface-2); border: 1px solid var(--lk-border); color: var(--lk-text-2); } .lk-item-ico svg.cm-ico { width: 26px; height: 26px; } .lk-item-main { flex: 1; min-width: 0; } .lk-item-t { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-item-s { font-size: 12.5px; color: var(--lk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-item-r { text-align: right; flex: none; } .lk-item-v { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; } .lk-item-m { font-size: 12px; color: var(--lk-muted); } .lk-item-best { color: var(--lk-success); font-weight: 700; font-size: 11.5px; margin-left: 6px; } /* ---- carrousel horizontal ---- */ .lk-carousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 2px 16px 6px; } .lk-carousel::-webkit-scrollbar { display: none; } @media (min-width: 768px) { .lk-carousel { margin: 0; padding: 2px 0 6px; } } .lk-ccard { flex: 0 0 44%; min-width: 148px; max-width: 210px; scroll-snap-align: start; border: 1px solid var(--lk-border); border-radius: var(--lk-r-md); padding: 12px; background: var(--lk-surface); display: flex; flex-direction: column; gap: 6px; min-height: 104px; } @media (min-width: 768px) { .lk-ccard { flex-basis: 176px; } } .lk-ccard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .lk-ccard-c { font: 600 10.5px var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--lk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-ccard-d { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; } .lk-ccard-n { font-size: 12.5px; color: var(--lk-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-ccard-m { font-size: 11.5px; color: var(--lk-muted); } /* ---- filtres (chips) ---- */ .lk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 10px; } .lk-chips::-webkit-scrollbar { display: none; } .lk-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--lk-border); background: var(--lk-surface); color: var(--lk-text-2); font: 600 12.5px var(--font-body); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; } .lk-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lk-text)); flex: none; } .lk-chip small { font-weight: 600; opacity: 0.65; } .lk-chip.on { background: var(--lk-text); color: #fff; border-color: var(--lk-text); } .lk-chip:disabled { opacity: 0.45; cursor: default; } /* ---- carte ---- */ .lk-map { position: relative; height: 340px; border-radius: var(--lk-r-lg); overflow: hidden; border: 1px solid var(--lk-border); background: #ecece8; } @media (min-width: 768px) { .lk-map { height: 440px; } } @media (min-width: 1024px) { .lk-map { height: 520px; } } .lk-map .ka-map { position: absolute; inset: 0; --ka-accent: var(--lk-orange); --ka-on-accent: #fff; --ka-surface: var(--lk-surface); --ka-ink: var(--lk-text); --ka-line: var(--lk-border-2); --ka-radius: 10px; --ka-shadow: 0 8px 24px rgba(20, 24, 20, 0.14); --ka-font: var(--font-body); } .lk-map-legend { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--lk-border); font: 500 11px var(--font-body); color: var(--lk-text-2); pointer-events: none; } .lk-map-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--lk-orange); } .lk-map-skel { position: absolute; inset: 0; } .lk-map-hint { font-size: 12px; color: var(--lk-muted); margin: 8px 0 0; } /* ---- accordéon ---- */ .lk-acc { border-top: 1px solid var(--lk-border); } .lk-acc:first-child { border-top: 0; } .lk-acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 0; background: none; border: 0; font: 600 14px var(--font-body); color: var(--lk-text); cursor: pointer; text-align: left; } .lk-acc-btn .lk-acc-meta { font-weight: 500; font-size: 12.5px; color: var(--lk-muted); margin-left: auto; white-space: nowrap; } .lk-acc-btn .chev { color: var(--lk-muted); flex: none; transition: transform 0.2s ease; } .lk-acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); } .lk-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s ease; } .lk-acc-body.open { grid-template-rows: 1fr; } .lk-acc-body > div { min-height: 0; overflow: hidden; } .lk-acc-inner { padding: 0 0 14px; font-size: 13.5px; color: var(--lk-text-2); line-height: 1.5; } .lk-acc-inner p { margin: 0 0 8px; } .lk-acc-inner a { color: var(--lk-text-2); text-decoration: underline; text-underline-offset: 2px; } .lk-acc.sm .lk-acc-btn { min-height: 40px; font-size: 13px; color: var(--lk-text-2); } /* ---- bottom sheet (mobile) / modale (desktop) ---- */ .lk-sheet-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.42); animation: lk-fade 0.18s ease; } .lk-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900); height: var(--lk-sheet-h, 68dvh); max-height: 94dvh; background: var(--lk-surface); border-radius: 20px 20px 0 0; display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18); animation: lk-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); padding-bottom: env(safe-area-inset-bottom); touch-action: pan-y; } .lk-sheet.full { height: 94dvh; } .lk-sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--lk-border-2); margin: 8px auto 0; flex: none; } .lk-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 10px; border-bottom: 1px solid var(--lk-border); flex: none; } .lk-sheet-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; margin: 0; } .lk-sheet-sub { font-size: 12.5px; color: var(--lk-muted); margin: 2px 0 0; } .lk-sheet-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--lk-border); background: var(--lk-surface-2); display: grid; place-items: center; cursor: pointer; color: var(--lk-text); flex: none; } .lk-sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 12px 16px 18px; } .lk-sheet-foot { flex: none; padding: 10px 16px; border-top: 1px solid var(--lk-border); background: var(--lk-surface); } @keyframes lk-up { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } } @keyframes lk-fade { from { opacity: 0; } to { opacity: 1; } } @keyframes lk-pop { from { transform: translate(-50%, -50%) scale(0.97); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } } @media (min-width: 900px) { .lk-sheet, .lk-sheet.full { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(680px, calc(100vw - 48px)); height: auto; max-height: min(82vh, 780px); border-radius: var(--lk-r-lg); animation: lk-pop 0.18s ease; padding-bottom: 0; } .lk-sheet-handle { display: none; } .lk-sheet-head { padding: 16px 20px 12px; } .lk-sheet-body { padding: 14px 20px 20px; } } .lk-sheet-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .lk-seg { display: inline-flex; border: 1px solid var(--lk-border); border-radius: 999px; overflow: hidden; background: var(--lk-surface); } .lk-seg button { border: 0; background: transparent; padding: 7px 12px; min-height: 36px; font: 600 12.5px var(--font-body); color: var(--lk-text-2); cursor: pointer; } .lk-seg button.on { background: var(--lk-text); color: #fff; } .lk-seg button + button { border-left: 1px solid var(--lk-border); } /* ---- CTA sticky ---- */ .lk-cta-bar { position: fixed; left: 0; right: 0; bottom: var(--consent-h, 0px); z-index: var(--z-bottombar, 600); display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--lk-border); transform: translateY(110%); transition: transform 0.25s ease; will-change: transform; } .lk-cta-bar.show { transform: none; } .lk-cta-txt { min-width: 0; flex: 0 1 auto; } .lk-cta-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; } .lk-cta-price small { font: 500 11px var(--font-body); color: var(--lk-muted); letter-spacing: 0; } .lk-cta-sub { font-size: 12px; color: var(--lk-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lk-cta-sub.good { color: var(--lk-success); font-weight: 600; } .lk-cta-bar .lk-btn-primary { flex: 1; min-height: 44px; margin-left: auto; max-width: 260px; } @media (min-width: 1024px) { .lk-cta-bar { display: none; } } /* ---- Demander à Ka ---- */ .lk-ka-btn { position: fixed; right: 14px; bottom: calc(78px + env(safe-area-inset-bottom) + var(--consent-h, 0px)); z-index: var(--z-dropdown, 700); display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 0; background: var(--lk-text); color: #fff; font: 600 13px var(--font-body); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); transition: transform 0.15s, opacity 0.2s; } .lk-ka-btn svg { color: var(--lk-orange); } .lk-ka-btn:active { transform: scale(0.97); } .lk-ka-btn.hide { opacity: 0; pointer-events: none; transform: translateY(8px); } @media (min-width: 1024px) { .lk-ka-btn { display: none; } } /* desktop : bouton dans l'aside */ .lk-ka-intro { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0 12px; } .lk-ka-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--lk-text); color: var(--lk-orange); display: grid; place-items: center; flex: none; } .lk-ka-intro p { margin: 0; font-size: 13.5px; color: var(--lk-text-2); line-height: 1.45; } .lk-ka-ctx { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--lk-surface-2); border: 1px solid var(--lk-border); font-size: 12.5px; color: var(--lk-text-2); margin-bottom: 12px; } .lk-ka-ctx img { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; flex: none; } .lk-ka-ctx b { color: var(--lk-text); display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-ka-sugs { display: flex; flex-direction: column; gap: 6px; } .lk-ka-sug { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--lk-border); background: var(--lk-surface); font: 500 14px var(--font-body); color: var(--lk-text); cursor: pointer; text-align: left; transition: background 0.15s, border-color 0.15s; } .lk-ka-sug:hover { background: var(--lk-orange-soft); border-color: #ffd9bf; } .lk-ka-sug svg { color: var(--lk-muted); flex: none; } .lk-ka-in { display: flex; gap: 8px; align-items: center; } .lk-ka-in input { flex: 1; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--lk-border); background: var(--lk-surface); font: 400 16px var(--font-body); color: var(--lk-text); } .lk-ka-in input:focus { outline: 2px solid var(--lk-orange); outline-offset: 1px; } .lk-ka-in button { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--lk-orange); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; } .lk-ka-in button:disabled { opacity: 0.4; cursor: default; } /* ---- aside desktop ---- */ .lk-aside-card { display: flex; flex-direction: column; gap: 12px; } .lk-aside .lk-btn-primary { white-space: normal; text-align: center; line-height: 1.25; } .lk-aside .lk-ka-inline { justify-content: flex-start; } .lk-aside .lk-ka-inline svg { color: var(--lk-orange); } .lk-aside .lk-price { font-size: 32px; } .lk-aside-addr { font-size: 14px; color: var(--lk-text-2); line-height: 1.4; } .lk-aside-sep { border: 0; border-top: 1px solid var(--lk-border); margin: 4px 0; } .lk-aside-score { display: flex; align-items: center; gap: 12px; } .lk-aside-score .lk-score-ring { width: 56px; height: 56px; } .lk-aside-score .lk-score-ring svg { width: 56px; height: 56px; } .lk-aside-score .lk-score-val { font-size: 18px; } .lk-aside-score .lk-score-val small { display: none; } .lk-aside-score-txt { font-size: 13px; color: var(--lk-text-2); line-height: 1.4; } .lk-aside-score-txt b { display: block; color: var(--lk-text); font-size: 14px; } .lk-aside .lk-brief { gap: 8px; } .lk-aside .lk-brief-t { font-size: 13.5px; } .lk-aside .lk-brief-d { display: none; } .lk-aside-meta { font-size: 12px; color: var(--lk-muted); text-align: center; } /* ---- source & méthodologie (pied de section) ---- */ .lk-source { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--lk-border); font-size: 12px; color: var(--lk-muted); } .lk-source b { font-weight: 600; color: var(--lk-text-2); } .lk-source a, .lk-source button { color: var(--lk-text-2); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--lk-border-2); cursor: pointer; } .lk-source a:hover, .lk-source button:hover { color: var(--lk-orange-deep); } .lk-fine { font-size: 12.5px; color: var(--lk-muted); line-height: 1.5; margin: 8px 0 0; } .lk-fine a { color: var(--lk-text-2); text-decoration: underline; text-underline-offset: 2px; } .lk-fine.meth { margin-top: 0; } /* ---- états : squelettes, vides, erreurs ---- */ .lk-skel { border-radius: 10px; background: linear-gradient(90deg, #ecece8 25%, #f4f4f1 50%, #ecece8 75%); background-size: 400% 100%; animation: lk-shimmer 1.3s infinite linear; } @keyframes lk-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } } .lk-skel-lines { display: flex; flex-direction: column; gap: 8px; } .lk-skel-lines .lk-skel { height: 12px; } .lk-skel-lines .lk-skel.short { width: 55%; } .lk-empty { padding: 14px; border-radius: 12px; background: var(--lk-surface-2); border: 1px dashed var(--lk-border-2); color: var(--lk-muted); font-size: 13.5px; text-align: center; line-height: 1.45; } .lk-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--lk-warning-soft); color: var(--lk-warning); font-size: 13.5px; } .lk-error button { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 6px 12px; font: 600 12.5px var(--font-body); cursor: pointer; min-height: 36px; } .lk-page-error { max-width: 520px; margin: 60px auto; text-align: center; padding: 0 16px; } .lk-page-error h2 { font-family: var(--font-display); letter-spacing: -0.02em; } .lk-page-error p { color: var(--lk-text-2); } .lk-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom) + var(--consent-h, 0px)); transform: translateX(-50%); z-index: var(--z-toast, 950); background: var(--lk-text); color: #fff; font: 600 13px var(--font-body); padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); animation: lk-up 0.25s ease; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ---- prix / marché ---- */ .lk-market-head { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; } .lk-market-big { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; line-height: 1; } .lk-market-big small { font: 500 13px var(--font-body); color: var(--lk-muted); margin-left: 4px; letter-spacing: 0; } .lk-market-sub { font-size: 13px; color: var(--lk-text-2); margin-top: 4px; } .lk-histo { display: block; width: 100%; max-width: 520px; height: auto; margin: 12px 0 4px; } .lk-histo-bar { fill: #dedfd9; } .lk-histo-bar.on { fill: var(--lk-orange); } .lk-histo-lbl { font: 700 10px var(--font-body); fill: var(--lk-text); } .lk-histo-lbl.fv { fill: var(--lk-text-2); } .lk-histo-axis { font: 500 9.5px var(--font-body); fill: var(--lk-muted); } .lk-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--lk-text-2); margin: 6px 0 0; } .lk-meta b { color: var(--lk-text); } /* jauge du registre des loyers */ .lk-gauge { margin: 14px 0 6px; } .lk-gauge-lbls { display: flex; justify-content: space-between; font: 600 11px var(--font-body); color: var(--lk-muted); margin-bottom: 6px; } .lk-gauge-lbls .good { color: var(--lk-success); } .lk-gauge-lbls .bad { color: var(--lk-danger); } .lk-gauge svg { display: block; width: 100%; max-width: 520px; height: auto; overflow: visible; } .lk-gauge, .lk-gauge-lbls { max-width: 520px; } .lk-gauge-track { fill: var(--lk-surface-2); stroke: var(--lk-border); } .lk-gauge-box { fill: #ecece8; } .lk-gauge-med { stroke: var(--lk-text-2); stroke-width: 1.5; } .lk-gauge-me { fill: var(--lk-orange); stroke: #fff; stroke-width: 2.5; } .lk-gauge-txt { font: 600 10.5px var(--font-body); fill: var(--lk-muted); } .lk-gauge-txt.me { fill: var(--lk-text); font-weight: 700; } .lk-bars { display: block; width: 100%; max-width: 520px; height: auto; margin: 6px 0 0; } .lk-bar { fill: #dedfd9; } .lk-bar.on { fill: var(--lk-orange); } .lk-bar-val { font: 600 10px var(--font-body); fill: var(--lk-text-2); } .lk-bar-cat { font: 600 11px var(--font-body); fill: var(--lk-text-2); } .lk-bar-cat.on { fill: var(--lk-text); font-weight: 700; } .lk-bar-n { font: 500 9.5px var(--font-body); fill: var(--lk-muted); } .lk-bars-axe { stroke: var(--lk-border); } /* ---- risques / environnement ---- */ .lk-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .lk-status-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; } .lk-status-d { font-size: 13.5px; color: var(--lk-text-2); margin: 8px 0 0; line-height: 1.5; } .lk-air { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; } @media (max-width: 400px) { .lk-air { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .lk-air-c { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--lk-border); background: var(--lk-surface-2); min-width: 0; } .lk-air-p { font: 600 11.5px var(--font-body); color: var(--lk-muted); text-transform: uppercase; letter-spacing: 0.05em; } .lk-air-v { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; } .lk-air-v small { font: 500 11px var(--font-body); color: var(--lk-muted); margin-left: 3px; } .lk-air-s { font-size: 11.5px; margin-top: 3px; line-height: 1.3; } .lk-air-s.good { color: var(--lk-success); } .lk-air-s.warn { color: var(--lk-warning); } .lk-air-s.bad { color: var(--lk-danger); } .lk-air-s.neutral { color: var(--lk-muted); } /* ---- coût réel ---- */ .lk-cost { list-style: none; margin: 0; padding: 0; } .lk-cost li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--lk-border); font-size: 13.5px; } .lk-cost li:first-child { border-top: 0; } .lk-cost .n { color: var(--lk-text-2); min-width: 0; } .lk-cost .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .lk-cost .v.na { color: var(--lk-muted); font-weight: 500; } .lk-cost li.total { border-top: 1px solid var(--lk-border-2); margin-top: 4px; padding-top: 10px; font-size: 15px; } .lk-cost li.total .n, .lk-cost li.total .v { color: var(--lk-text); font-weight: 700; } .lk-cost li.annuel { font-size: 12.5px; color: var(--lk-muted); border-top: 0; padding-top: 0; } .lk-cost-note { font-size: 12.5px; color: var(--lk-text-2); margin: 8px 0 0; } /* ---- dossier de l'immeuble (accordéons) ---- */ .lk-tl { list-style: none; margin: 4px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--lk-border); display: flex; flex-direction: column; gap: 8px; } .lk-tl li { position: relative; font-size: 13px; color: var(--lk-text-2); } .lk-tl li::before { content: ""; position: absolute; left: -17.5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--lk-surface); border: 2px solid var(--lk-border-2); } .lk-tl li.prix::before { border-color: var(--lk-orange); } .lk-tl li.disparition::before { border-color: var(--lk-danger); } .lk-tl li.reapparition::before { border-color: var(--lk-success); } .lk-tl-date { display: inline-block; min-width: 84px; font: 600 11.5px var(--font-body); color: var(--lk-muted); } .lk-star { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--lk-text); display: inline-flex; align-items: center; gap: 5px; } .lk-star svg { color: #e0a800; } .lk-quote { margin: 10px 0 0; padding: 8px 12px; font-size: 13px; color: var(--lk-text-2); border-left: 3px solid var(--lk-border-2); background: var(--lk-surface-2); border-radius: 8px; } .lk-quote footer { margin-top: 4px; font-size: 11.5px; color: var(--lk-muted); } .lk-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; } .lk-tag { font: 600 11.5px var(--font-body); padding: 2px 8px; border-radius: 999px; background: var(--lk-danger-soft); color: var(--lk-danger); } .lk-tag.n { background: var(--lk-surface-2); color: var(--lk-text-2); border: 1px solid var(--lk-border); } /* ---- KA Scores (cercles compacts) ---- */ .lk-ks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } @media (max-width: 400px) { .lk-ks { grid-template-columns: repeat(3, minmax(0, 1fr)); } } .lk-ks-c { text-align: center; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--lk-border); background: var(--lk-surface-2); min-width: 0; } .lk-ks-c svg { width: 52px; height: 52px; transform: rotate(-90deg); } .lk-ks-c .bg { fill: none; stroke: #e6e6e1; stroke-width: 5; } .lk-ks-c .arc { fill: none; stroke: var(--lk-text); stroke-width: 5; stroke-linecap: round; } .lk-ks-c.haut .arc { stroke: var(--lk-success); } .lk-ks-c.bon .arc { stroke: var(--lk-text); } .lk-ks-c.moyen .arc { stroke: var(--lk-warning); } .lk-ks-c.bas .arc { stroke: var(--lk-danger); } .lk-ks-wrap { position: relative; width: 52px; height: 52px; margin: 0 auto; } .lk-ks-v { position: absolute; inset: 0; display: grid; place-items: center; font: 700 15px var(--font-display); letter-spacing: -0.02em; } .lk-ks-n { font: 600 11.5px var(--font-body); margin-top: 6px; color: var(--lk-text); } .lk-ks-l { font-size: 10.5px; color: var(--lk-muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lk-ks-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 18px; } .lk-ks-detail h4 { margin: 8px 0 4px; font: 700 12.5px var(--font-body); color: var(--lk-text); } .lk-ks-detail ul { margin: 0; padding-left: 16px; font-size: 13px; color: var(--lk-text-2); } .lk-ks-detail li { margin: 2px 0; } /* ---- fin de fiche ---- */ .lk-end { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } @media (min-width: 640px) { .lk-end { grid-template-columns: repeat(4, minmax(0, 1fr)); } } .lk-end a, .lk-end button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--lk-border); background: var(--lk-surface); color: var(--lk-text); font: 600 13px var(--font-body); cursor: pointer; text-align: left; min-height: 64px; } .lk-end a:hover, .lk-end button:hover { background: var(--lk-surface-2); } .lk-end svg { color: var(--lk-orange-deep); } .lk-end small { font-weight: 500; color: var(--lk-muted); font-size: 12px; } .lk-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .lk-sources li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 9px 0; border-top: 1px solid var(--lk-border); font-size: 13px; align-items: center; } .lk-sources li:first-child { border-top: 0; } .lk-sources .n { font-weight: 600; } .lk-sources .r { font-size: 12.5px; color: var(--lk-text-2); grid-column: 1; } .lk-sources .d { font-size: 12px; color: var(--lk-muted); grid-row: 1 / span 2; text-align: right; white-space: nowrap; } .lk-sources a { color: var(--lk-text-2); text-decoration: underline; text-underline-offset: 2px; } /* ---- accessibilité mouvement réduit ---- */ @media (prefers-reduced-motion: reduce) { .lk-sheet, .lk-sheet-backdrop, .lk-toast, .lk-kpi.anim .lk-kpi-v { animation: none; } .lk-score-ring .arc, .lk-acc-body, .lk-cta-bar { transition: none; } } /* ---- utilitaire a11y ---- */ .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }