spb/ora-ka Public
Ora-Ka — cinq agrégateurs Ka, une barre de recherche hybride (exact + sémantique)
Python 80%
TypeScript 12.9%
CSS 6.8%
1/* -----------------------------------------------------------------------------2 Lou-Ka — Agrégateur de logements à louer (province de Québec)3 Auteur : Simon-Pierre Boucher — contact@spboucher.ai4 styles.css : système de design « éditorial sharp » — thème clair5 · Typo display Space Grotesk / texte Inter / micro-étiquettes JetBrains Mono6 · Signature : bordures encre + ombres décalées (néo-brutalisme raffiné)7 · Accent électrique lime #d9f26b sur encre verte profonde8 · 100 % adaptatif mobile (PWA installable, safe-areas iOS)9----------------------------------------------------------------------------- */10:root {11 --paper: #f5f3ee;12 --surface: #ffffff;13 --surface-2: #faf9f5;14 --ink: #141814;15 --ink-2: #4d5551;16 --ink-3: #8b928c;17 --line: rgba(20, 24, 20, 0.14);18 --line-strong: rgba(20, 24, 20, 0.85);19 --green: #1c5c41;20 --green-deep: #123f2e;21 --lime: #d9f26b;22 --lime-soft: #f0f9d2;23 --amber: #e8a33d;24 --amber-soft: #fdf3e2;25 --danger: #b3423a;26 --r-card: 10px;27 --r-ctl: 6px;28 --shadow-flat: 0 1px 2px rgba(20, 24, 20, 0.05);29 --shadow-off: 6px 6px 0 var(--ink);30 --shadow-off-soft: 8px 8px 0 rgba(20, 24, 20, 0.08);31 --font-display: "Space Grotesk", system-ui, sans-serif;32 --font-body: "Inter", system-ui, sans-serif;33 --font-mono: "JetBrains Mono", ui-monospace, monospace;34}3536* { box-sizing: border-box; }37html { scroll-behavior: smooth; }38body {39 margin: 0;40 background: var(--paper);41 color: var(--ink);42 font-family: var(--font-body);43 font-size: 15px;44 line-height: 1.55;45 -webkit-font-smoothing: antialiased;46 padding-bottom: env(safe-area-inset-bottom);47}48/* grain subtil — texture signature */49body::before {50 content: "";51 position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;52 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");53}54#root { position: relative; z-index: 1; }5556h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; }57a { color: inherit; text-decoration: none; }58button { font-family: inherit; }59img { display: block; }60::selection { background: var(--lime); color: var(--ink); }6162.mono { font-family: var(--font-mono); }63.kicker {64 font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;65 text-transform: uppercase; letter-spacing: 0.14em; color: var(--green);66 display: inline-flex; align-items: center; gap: 8px;67}68.kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); }6970.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }71@media (max-width: 640px) { .container { padding: 0 16px; } }7273/* ================= Header ================= */74.header {75 position: sticky; top: 0; z-index: 50;76 background: rgba(245, 243, 238, 0.88);77 backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);78 border-bottom: 2px solid var(--ink);79}80.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }81.brand {82 font-family: var(--font-display); font-weight: 700; font-size: 26px;83 letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1;84}85.brand .ka {86 background: var(--ink); color: var(--lime); padding: 2px 7px 4px;87 border-radius: 6px; margin-left: 3px; transform: rotate(-2deg);88 transition: transform 0.2s ease;89}90.brand:hover .ka { transform: rotate(0deg); }91.brand-tag {92 font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3);93 letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px;94}95@media (max-width: 760px) { .brand-tag { display: none; } }96.nav { margin-left: auto; display: flex; gap: 4px; }97.nav a {98 padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;99 color: var(--ink-2); border: 1.5px solid transparent;100 transition: all 0.15s ease; min-height: 40px; display: inline-flex; align-items: center;101}102.nav a:hover { border-color: var(--ink); color: var(--ink); }103.nav a.active { background: var(--ink); color: var(--lime); }104105/* ================= Ticker ================= */106.ticker {107 background: var(--ink); color: var(--lime); overflow: hidden;108 font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;109 text-transform: uppercase; padding: 7px 0; white-space: nowrap;110 border-bottom: 1px solid rgba(217, 242, 107, 0.25);111}112.ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; }113.ticker span { padding: 0 26px; position: relative; }114.ticker span::after { content: "◆"; position: absolute; right: -6px; opacity: 0.5; font-size: 8px; top: 3px; }115@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }116@media (prefers-reduced-motion: reduce) {117 .ticker-track { animation: none; }118 * { transition-duration: 0.01ms !important; }119}120121/* ================= Hero ================= */122.hero { padding: 58px 0 22px; }123@media (max-width: 640px) { .hero { padding: 34px 0 14px; } }124.hero h1 {125 font-size: clamp(38px, 6.4vw, 78px); font-weight: 700; line-height: 0.98;126 text-transform: uppercase; letter-spacing: -0.035em; max-width: 900px; margin-top: 14px;127}128.hero h1 .outline {129 color: transparent; -webkit-text-stroke: 2px var(--ink);130}131.hero h1 .hl {132 background: var(--lime); padding: 0 10px; border-radius: 8px; display: inline-block;133 transform: rotate(-1deg);134}135.hero p.lede { color: var(--ink-2); font-size: 16.5px; max-width: 640px; margin: 20px 0 0; }136.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }137.stat-chip {138 background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px;139 padding: 8px 16px; font-family: var(--font-mono); font-size: 12px;140 color: var(--ink-2); display: flex; gap: 8px; align-items: center;141 box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12);142}143.stat-chip b { color: var(--ink); font-weight: 700; }144.stat-chip .pulse {145 width: 8px; height: 8px; border-radius: 50%; background: var(--green);146 box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease infinite;147}148@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(217, 242, 107, 0.4); } }149150/* ================= Filter bar ================= */151.filterbar {152 background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card);153 box-shadow: var(--shadow-off-soft); padding: 14px; margin: 30px 0 6px;154 display: flex; flex-direction: column; gap: 0; min-width: 0;155}156157/* — rangée principale — */158.f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; }159.f-search {160 flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px;161 border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface-2);162 padding: 0 13px; min-height: 52px; color: var(--ink-2);163 transition: box-shadow 0.15s ease;164}165.f-search:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); }166.f-search input {167 border: none; background: none; outline: none; flex: 1; min-width: 0;168 font-size: 15px; color: var(--ink); font-family: inherit;169}170.f-clear {171 border: none; background: var(--line); color: var(--ink-2); border-radius: 50%;172 width: 20px; height: 20px; font-size: 10px; cursor: pointer; flex: none;173 display: grid; place-items: center;174}175.f-ctl {176 flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center;177 gap: 2px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface);178 padding: 7px 12px 6px; min-height: 52px; cursor: pointer;179 transition: box-shadow 0.15s ease;180}181.f-ctl:focus-within { box-shadow: 3px 3px 0 var(--lime); }182.f-ctl > span {183 font-family: var(--font-mono); font-size: 9px; font-weight: 700;184 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);185}186.f-ctl select {187 border: none; background: transparent; outline: none; font-family: var(--font-display);188 font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer;189 appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px;190 text-overflow: ellipsis;191 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5'%3E%3Cpath d='M0 0l4.5 5L9 0z' fill='%23141814'/%3E%3C/svg%3E");192 background-repeat: no-repeat; background-position: right center;193}194.range-pair { display: flex; align-items: center; gap: 4px; }195.range-pair select { max-width: 86px; }196.range-sep { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }197.f-more {198 flex: none; align-self: stretch; border: 1.5px solid var(--ink); border-radius: 9px;199 background: var(--surface); color: var(--ink); padding: 0 18px; cursor: pointer;200 font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px;201 transition: all 0.13s ease;202}203.f-more:hover { background: var(--lime-soft); }204.f-more.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(20,24,20,0.22); }205206/* — panneau avancé — */207.f-adv {208 display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 22px;209 border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 14px; min-width: 0;210 animation: adv-in 0.18s ease;211}212@keyframes adv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }213.f-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }214.f-group > label {215 font-family: var(--font-mono); font-size: 10px; font-weight: 700;216 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);217}218.f-group-end { justify-content: flex-end; }219.f-group .btn:disabled { opacity: 0.4; cursor: default; }220.f-native {221 border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl);222 padding: 10px 30px 10px 12px; font-size: 14px; color: var(--ink); outline: none;223 font-family: inherit; min-height: 42px; width: 100%; min-width: 0;224 appearance: none; -webkit-appearance: none;225 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141814'/%3E%3C/svg%3E");226 background-repeat: no-repeat; background-position: right 12px center;227}228.f-native:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }229230/* segments (pilules soudées) */231.seg { display: inline-flex; flex-wrap: wrap; row-gap: 6px; }232.seg button {233 border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2);234 padding: 8px 13px; font-family: var(--font-display); font-weight: 600; font-size: 13px;235 cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 38px;236 transition: all 0.12s ease;237}238.seg button:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }239.seg button:last-child { border-radius: 0 8px 8px 0; }240.seg button:hover { background: var(--lime-soft); color: var(--ink); }241.seg button.on { background: var(--ink); color: var(--lime); position: relative; z-index: 1; }242243/* pastilles de filtres actifs */244.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }245.pill {246 display: inline-flex; align-items: center; gap: 7px;247 border: 1.5px solid var(--ink); background: var(--lime-soft); color: var(--ink);248 border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600;249 font-family: var(--font-mono); cursor: pointer; transition: all 0.13s ease;250}251.pill:hover { background: var(--lime); }252.pill-x { font-size: 10px; opacity: 0.65; }253.pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); }254.pill-clear:hover { background: var(--danger); color: #fff; }255.chip-sep { width: 1.5px; align-self: stretch; background: var(--line); margin: 4px 4px; flex: none; }256.link-btn {257 background: none; border: none; padding: 0; color: var(--green); font: inherit;258 text-decoration: underline; cursor: pointer;259}260.field { display: flex; flex-direction: column; gap: 5px; }261.field label {262 font-family: var(--font-mono); font-size: 10px; font-weight: 700;263 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding-left: 2px;264}265.field input, .field select {266 border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl);267 padding: 11px 12px; font-size: 15px; color: var(--ink); outline: none; font-family: inherit;268 transition: border-color 0.15s ease, box-shadow 0.15s ease; min-height: 44px;269 appearance: none; -webkit-appearance: none;270}271.field select {272 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141814'/%3E%3C/svg%3E");273 background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px;274}275.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }276.btn {277 border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px;278 font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px;279 transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;280 font-family: var(--font-display); letter-spacing: 0.01em;281}282.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }283.btn-primary { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 rgba(20,24,20,0.25); }284.btn-primary:hover { background: var(--green-deep); }285.btn-ghost { background: transparent; color: var(--ink); }286.btn-ghost:hover { background: var(--lime); box-shadow: 4px 4px 0 rgba(20,24,20,0.2); }287288/* ================= Chips ================= */289.chips { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }290.chips::-webkit-scrollbar { display: none; }291.chip {292 border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);293 border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer;294 font-family: var(--font-display); white-space: nowrap; min-height: 40px;295 transition: all 0.13s ease;296}297.chip:hover { background: var(--lime-soft); transform: translateY(-1px); }298.chip.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(20,24,20,0.2); }299300/* ================= Results ================= */301.results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; }302.results-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; }303.results-head span { font-family: var(--font-mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; }304.grid {305 display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));306 gap: 22px; padding-bottom: 70px;307}308@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; } }309310.card {311 background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-card);312 overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-flat);313 transition: transform 0.16s ease, box-shadow 0.16s ease;314}315.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); }316.card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }317.card-img { position: relative; aspect-ratio: 16/10.5; background: repeating-linear-gradient(45deg, #eceae3 0 12px, #f3f1ea 12px 24px); overflow: hidden; }318.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }319.card:hover .card-img img { transform: scale(1.05); }320.card-img .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-3); font-size: 34px; }321.badge {322 position: absolute; top: 12px; left: 12px; border-radius: 6px; padding: 4px 10px;323 font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;324 background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 1px solid var(--ink);325}326.badge.type { background: var(--ink); color: var(--lime); border-color: var(--ink); }327.badge.right { left: auto; right: 12px; background: rgba(255,255,255,0.92); border-color: transparent; }328.card-body { padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }329.card-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }330.card-price small { font-family: var(--font-mono); font-weight: 500; color: var(--ink-3); font-size: 11px; letter-spacing: 0.05em; }331.card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); }332.card-meta { color: var(--ink-3); font-size: 12.5px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); }333.card-meta .sep { width: 4px; height: 4px; background: var(--lime); border: 1px solid var(--ink); border-radius: 1px; transform: rotate(45deg); }334.card-foot { margin-top: auto; padding-top: 11px; border-top: 1.5px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }335.source-tag {336 font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase;337 letter-spacing: 0.08em; color: var(--green-deep); background: var(--lime-soft);338 border: 1px solid var(--green); border-radius: 4px; padding: 3px 8px;339 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%;340}341.avail { font-size: 11.5px; color: var(--ink-2); font-weight: 500; text-align: right; }342343/* ================= Skeletons ================= */344@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }345.skel { border-radius: var(--r-card); border: 1.5px solid var(--line); overflow: hidden; background: var(--surface); }346.skel .sk-img, .skel .sk-line {347 background: linear-gradient(90deg, #eeece5 25%, #f7f5ef 50%, #eeece5 75%);348 background-size: 800px 100%; animation: shimmer 1.4s infinite linear;349}350.skel .sk-img { aspect-ratio: 16/10.5; }351.skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; }352.skel .sk-line.short { width: 45%; }353354/* ================= Empty / error ================= */355.notice { text-align: center; padding: 72px 24px; color: var(--ink-2); }356.notice .big { font-size: 44px; margin-bottom: 10px; }357.notice h2 { text-transform: uppercase; }358359/* ================= Detail page ================= */360.detail { padding: 30px 0 90px; }361.crumbs {362 font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;363 color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;364}365.crumbs a { border-bottom: 1.5px solid transparent; }366.crumbs a:hover { color: var(--green); border-color: var(--green); }367.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }368@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }369/* les enfants de grille ont min-width:auto par défaut : un contenu large370 (grille du quartier) déborderait de l'écran mobile sans ceci */371.detail-grid > * { min-width: 0; }372373.gallery { display: flex; flex-direction: column; gap: 10px; }374.gallery-main {375 border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--ink);376 aspect-ratio: 16/10; background: #eceae3; cursor: zoom-in; box-shadow: var(--shadow-off-soft);377}378.gallery-main img { width: 100%; height: 100%; object-fit: cover; }379.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }380.thumbs button {381 border: 2px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer;382 aspect-ratio: 4/3; background: #eceae3; transition: border-color 0.12s ease, transform 0.12s ease;383}384.thumbs button:hover { transform: translateY(-2px); }385.thumbs button.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }386.thumbs img { width: 100%; height: 100%; object-fit: cover; }387388.panel {389 background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);390 box-shadow: var(--shadow-off-soft); padding: 26px; position: sticky; top: 120px;391}392@media (max-width: 900px) { .panel { position: static; } }393.panel .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }394.panel .price small { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.05em; }395.panel h1 { font-size: 22px; margin: 8px 0 2px; }396.panel .loc { color: var(--ink-2); font-size: 14px; }397.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }398@media (max-width: 380px) { .kv { grid-template-columns: 1fr; } }399.kv .cell { background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 10px 13px; }400.kv .cell .k { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; }401.kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); }402.klabel { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }403.amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }404.amenity {405 background: var(--lime-soft); color: var(--green-deep); font-size: 12px; font-weight: 600;406 border: 1px solid var(--green); border-radius: 999px; padding: 5px 12px;407}408.cta {409 display: block; text-align: center; background: var(--ink); color: var(--lime);410 font-weight: 700; font-family: var(--font-display); border-radius: var(--r-ctl);411 padding: 15px; border: 1.5px solid var(--ink); min-height: 48px;412 box-shadow: 4px 4px 0 rgba(20,24,20,0.25); transition: all 0.14s ease;413}414.cta:hover { background: var(--lime); color: var(--ink); }415.cta:active { transform: translate(2px, 2px); box-shadow: none; }416.panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; font-family: var(--font-mono); letter-spacing: 0.02em; }417418/* ================= Lightbox ================= */419.lightbox {420 position: fixed; inset: 0; background: rgba(16, 18, 16, 0.94); z-index: 100;421 display: flex; align-items: center; justify-content: center; cursor: zoom-out;422 padding: max(16px, env(safe-area-inset-top)) 16px;423}424.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 6px; border: 2px solid var(--lime); }425426/* ================= Sources page ================= */427.sources { padding: 44px 0 90px; }428.sources h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 10px 0 6px; }429.sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; }430.src-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); background: var(--surface); }431.src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }432.src-table th {433 text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;434 letter-spacing: 0.12em; color: var(--ink-3); padding: 14px 18px;435 border-bottom: 1.5px solid var(--ink); background: var(--surface-2);436}437.src-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }438.src-table tr:last-child td { border-bottom: none; }439.src-table tr:hover td { background: var(--surface-2); }440.src-table a { color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--lime); }441.pill { display: inline-block; border-radius: 4px; padding: 3px 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }442.pill.ok { background: var(--lime); color: var(--ink); border: 1px solid var(--ink); }443.pill.todo { background: var(--amber-soft); color: #8a5a12; border: 1px solid var(--amber); }444.count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; }445446/* ================= Page Statistiques ================= */447.stats-page { padding: 44px 0 90px; }448.stats-title { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; margin: 10px 0 6px; }449.stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; }450451.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; }452.tile {453 background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);454 padding: 18px 20px; box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.1);455}456.tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }457.tile-k { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 6px; }458.hero-tile { background: var(--ink); color: var(--lime); border-color: var(--ink); }459.hero-tile .tile-k { color: rgba(217, 242, 107, 0.7); }460461.viz-card {462 background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);463 box-shadow: var(--shadow-off-soft); padding: 26px 28px 20px; margin-bottom: 22px;464}465.viz-card h2 { font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }466.viz-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 20px; }467.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }468@media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } }469470/* Histogramme (mono-série, encre verte) */471.histo { display: flex; align-items: stretch; gap: 2px; height: 240px; }472.histo-col { flex: 1; display: flex; flex-direction: column; min-width: 0; cursor: default; }473.histo-bar-zone { flex: 1; display: flex; align-items: flex-end; border-bottom: 1.5px solid var(--ink); }474.histo-bar {475 width: 100%; background: var(--green); border-radius: 4px 4px 0 0;476 min-height: 2px; transition: background 0.12s ease;477}478.histo-col:hover .histo-bar { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); }479.histo-x { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); text-align: left; height: 18px; padding-top: 5px; overflow: visible; white-space: nowrap; }480481/* Barres horizontales (mono-série) */482.hbars { display: flex; flex-direction: column; gap: 7px; }483.hbar-row {484 display: grid; grid-template-columns: minmax(96px, 170px) 1fr auto;485 gap: 12px; align-items: center; min-height: 26px; cursor: default;486}487.hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }488.hbar-label a { border-bottom: 1.5px solid var(--lime); }489.hbar-label a:hover { color: var(--green-deep); }490.hbar-track { background: var(--surface-2); border-radius: 0 4px 4px 0; height: 18px; overflow: hidden; }491.hbar-fill {492 display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0;493 min-width: 2px; transition: background 0.12s ease;494}495.hbar-row:hover .hbar-fill { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); }496.hbar-value { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; white-space: nowrap; }497.hbar-value em { font-style: normal; font-weight: 500; color: var(--ink-3); }498@media (max-width: 640px) {499 .hbar-row { grid-template-columns: minmax(80px, 110px) 1fr auto; gap: 8px; }500 .hbar-value em { display: none; }501 .viz-card { padding: 20px 16px 14px; }502 .histo { height: 170px; }503}504505/* Infobulle */506.viz-tip {507 position: fixed; z-index: 120; pointer-events: none; max-width: 180px;508 background: var(--ink); color: var(--paper); border-radius: 8px;509 border: 1px solid var(--lime); padding: 9px 12px; font-size: 12px; line-height: 1.5;510 box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35);511}512.viz-tip-title { font-family: var(--font-display); font-weight: 700; color: var(--lime); margin-bottom: 2px; }513514/* Vue tableau repliable (accessibilité / relief) */515.viz-table { margin-top: 16px; border-top: 1.5px dashed var(--line); padding-top: 10px; }516.viz-table summary {517 cursor: pointer; font-family: var(--font-mono); font-size: 11px; font-weight: 700;518 text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-deep);519}520.viz-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }521.viz-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 6px 10px; border-bottom: 1.5px solid var(--ink); }522.viz-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); }523524.stats-foot { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 6px; }525526/* ================= Mobile : feuille de filtres + FAB ================= */527.sheet-head { display: none; }528.sheet-apply { display: none; }529.sheet-backdrop { display: none; }530.fab { display: none; }531532@media (max-width: 640px) {533 /* En-tête compact */534 .header-inner { height: 56px; }535 .brand { font-size: 21px; }536 .nav a { padding: 8px 13px; font-size: 13.5px; }537 .ticker { font-size: 10.5px; padding: 6px 0; }538539 /* Héro resserré + stats en rangée défilante */540 .hero h1 { font-size: clamp(30px, 9.4vw, 44px); }541 .hero p.lede { font-size: 15px; }542 .stat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }543 .stat-row::-webkit-scrollbar { display: none; }544 .stat-chip { flex: 0 0 auto; white-space: nowrap; }545546 /* La barre de filtres devient une feuille coulissante (bottom sheet) */547 .filterbar { display: none; }548 .filterbar.open .f-primary { flex-direction: column; }549 .filterbar.open .f-ctl select { max-width: none; width: 100%; }550 .filterbar.open .f-more { display: none; }551 .filterbar.open .f-adv { margin-top: 4px; }552 .filterbar.open {553 display: flex; flex-direction: column; gap: 12px;554 position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;555 margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0;556 max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;557 padding: 16px 18px calc(18px + env(safe-area-inset-bottom));558 box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35);559 animation: sheet-up 0.22s ease;560 }561 @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } }562 .filterbar.open .sheet-head {563 display: flex; justify-content: space-between; align-items: center;564 font-family: var(--font-display); font-weight: 700; font-size: 17px;565 text-transform: uppercase; letter-spacing: -0.01em;566 position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px;567 border-bottom: 1.5px solid var(--line); margin-bottom: 2px; z-index: 1;568 }569 .sheet-close {570 border: 1.5px solid var(--ink); background: var(--surface); border-radius: 50%;571 width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1;572 }573 .filterbar.open .sheet-apply { display: block; width: 100%; }574 .sheet-backdrop {575 display: block; position: fixed; inset: 0; z-index: 90;576 background: rgba(16, 18, 16, 0.45); backdrop-filter: blur(2px);577 }578579 /* Bouton flottant */580 .fab {581 display: flex; align-items: center; gap: 6px;582 position: fixed; left: 50%; transform: translateX(-50%);583 bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80;584 background: var(--ink); color: var(--lime); border: 1.5px solid var(--ink);585 border-radius: 999px; padding: 13px 24px; font-family: var(--font-display);586 font-weight: 700; font-size: 15px; cursor: pointer;587 box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(20, 24, 20, 0.25);588 }589 .fab:active { transform: translateX(-50%) scale(0.97); }590591 /* Fiche logement : vignettes en bande défilante + panneau non collant */592 .thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }593 .thumbs::-webkit-scrollbar { display: none; }594 .thumbs button { flex: 0 0 96px; }595 .detail { padding-top: 20px; }596 .panel { padding: 20px; }597 .panel .price { font-size: 28px; }598 .results-head { margin-top: 20px; }599 .chips { margin-right: -16px; padding-right: 16px; }600 .notice { padding: 48px 16px; }601}602603/* Anti-zoom iOS : les champs doivent faire >= 16px */604@media (max-width: 900px) {605 .field input, .field select { font-size: 16px; }606}607608/* ================= Footer ================= */609.footer { background: var(--ink); color: rgba(245, 243, 238, 0.75); margin-top: 20px; padding: 44px 0 max(40px, env(safe-area-inset-bottom)); font-size: 13px; }610.footer .fbrand { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--paper); letter-spacing: -0.04em; margin-bottom: 12px; }611.footer .fbrand .ka { color: var(--lime); }612.footer b { color: var(--paper); }613.footer .frow { display: flex; flex-direction: column; gap: 5px; max-width: 720px; }614.footer .fmono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,243,238,0.45); margin-top: 18px; }615616/* --- Carte interactive (mission 4) --------------------------------------- */617.results-tools { display: flex; align-items: center; gap: 14px; }618.view-toggle {619 display: inline-flex; border: 1.5px solid var(--line-strong);620 border-radius: var(--r-ctl); overflow: hidden; background: var(--surface);621 box-shadow: var(--shadow-flat);622}623.view-toggle button {624 border: 0; background: transparent; padding: 7px 14px; cursor: pointer;625 font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);626}627.view-toggle button + button { border-left: 1.5px solid var(--line-strong); }628.view-toggle button.on { background: var(--ink); color: var(--lime); }629630.map-split {631 display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px;632 height: calc(100dvh - 170px); min-height: 420px;633}634.map-list {635 overflow-y: auto; display: flex; flex-direction: column; gap: 14px;636 padding-right: 4px; scrollbar-width: thin;637}638.map-list .card { margin: 0; flex: 0 0 auto; }639.mapview {640 width: 100%; height: 100%; border: 1.5px solid var(--line-strong);641 border-radius: var(--r-card); box-shadow: var(--shadow-off-soft);642 overflow: hidden; background: var(--surface-2);643}644.map-loading {645 display: flex; align-items: center; justify-content: center;646 color: var(--ink-3); font-family: var(--font-mono); font-size: 13px;647}648649/* mobile d'abord : carte plein écran, liste masquée (bascule via l'onglet) */650@media (max-width: 780px) {651 .map-split { grid-template-columns: 1fr; height: calc(100dvh - 210px); }652 .map-list { display: none; }653 .results-tools { width: 100%; justify-content: space-between; }654}655656/* popup MapLibre au style Lou-Ka */657.maplibregl-popup-content {658 padding: 0; border-radius: var(--r-card); overflow: hidden;659 border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-off);660 font-family: var(--font-body);661}662.maplibregl-popup-close-button {663 font-size: 18px; padding: 2px 8px; color: var(--paper); z-index: 2;664 text-shadow: 0 0 4px rgba(20, 24, 20, 0.8);665}666.mv-pop img, .mv-noimg { width: 100%; height: 130px; object-fit: cover; }667.mv-noimg { display: flex; align-items: center; justify-content: center;668 font-size: 34px; background: var(--surface-2); }669.mv-pop-body { padding: 10px 12px 12px; }670.mv-pop-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; }671.mv-pop-price small { font-weight: 400; color: var(--ink-3); font-size: 12px; }672.mv-pop-title { font-size: 13px; color: var(--ink-2); margin-top: 2px;673 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }674.mv-pop-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); margin-top: 6px; }675.mv-pop-src { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3);676 text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }677.mv-pop-cta {678 display: block; margin-top: 10px; padding: 8px 10px; text-align: center;679 background: var(--ink); color: var(--lime); border-radius: var(--r-ctl);680 font-weight: 600; font-size: 13px;681}682.mv-pop-cta:hover { background: var(--green-deep); }683684/* --- Commodités de proximité (fiche) -------------------------------------- */685.poi-list {686 list-style: none; margin: 0; padding: 0;687 display: flex; flex-direction: column; gap: 2px;688}689.poi-list li {690 display: flex; align-items: center; gap: 9px;691 padding: 5px 2px; border-bottom: 1px dashed var(--line);692 font-size: 13px;693}694.poi-list li:last-child { border-bottom: 0; }695.poi-ico { width: 20px; text-align: center; flex: 0 0 auto; }696.poi-name { flex: 1; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }697.poi-dist { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); font-weight: 600; flex: 0 0 auto; }698699/* --- Menu déroulant mobile ------------------------------------------------- */700.menu-btn {701 display: none; position: relative; z-index: 60;702 width: 44px; height: 44px; margin-left: auto;703 border: 1.5px solid var(--ink); border-radius: var(--r-ctl);704 background: var(--surface); cursor: pointer; padding: 0;705 flex-direction: column; align-items: center; justify-content: center; gap: 5px;706 box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.15);707 transition: box-shadow 0.15s ease, transform 0.15s ease;708}709.menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(20,24,20,0.15); }710.menu-btn span {711 display: block; width: 18px; height: 2px; background: var(--ink);712 border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;713}714.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }715.menu-btn.open span:nth-child(2) { opacity: 0; }716.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }717718.mobile-menu {719 display: none; position: absolute; left: 0; right: 0; top: 100%;720 background: var(--paper); border-bottom: 2px solid var(--ink);721 box-shadow: 0 18px 30px rgba(20, 24, 20, 0.18);722 padding: 8px 16px calc(16px + env(safe-area-inset-bottom));723 max-height: 0; overflow: hidden; opacity: 0;724 transition: max-height 0.3s ease, opacity 0.22s ease;725}726.mobile-menu.open { max-height: 480px; opacity: 1; }727.mm-link {728 display: flex; align-items: center; gap: 12px;729 padding: 15px 10px; min-height: 52px;730 font-family: var(--font-display); font-weight: 700; font-size: 19px;731 letter-spacing: -0.02em; border-bottom: 1.5px dashed var(--line);732 opacity: 0; transform: translateY(-8px);733 transition: opacity 0.25s ease, transform 0.25s ease;734}735.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }736.mm-link.active { color: var(--green); }737.mm-link.active .mm-arrow { opacity: 1; }738.mm-ico { width: 26px; text-align: center; font-size: 17px; }739.mm-arrow { margin-left: auto; opacity: 0.25; transition: opacity 0.15s ease; }740.mm-link:active { background: var(--lime-soft); border-radius: var(--r-ctl); }741.mm-foot {742 padding: 12px 10px 4px; font-family: var(--font-mono);743 font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em;744}745.mm-backdrop {746 position: fixed; inset: 0; z-index: 40;747 background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px);748}749@media (max-width: 760px) {750 .menu-btn { display: flex; }751 .nav { display: none; }752 .mobile-menu { display: block; }753}754755/* --- Bandeau de consentement (témoins) ------------------------------------- */756.cookie-banner {757 position: fixed; left: 12px; right: 12px;758 bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;759 animation: cookie-in 0.35s ease;760}761@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } }762.cookie-inner {763 max-width: 720px; margin: 0 auto; background: var(--surface);764 border: 2px solid var(--ink); border-radius: var(--r-card);765 box-shadow: var(--shadow-off); padding: 16px 18px;766}767.cookie-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }768.cookie-text b { color: var(--ink); }769.cookie-text a { text-decoration: underline; text-underline-offset: 2px; }770.cookie-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }771.cookie-opt {772 display: flex; align-items: flex-start; gap: 10px; font-size: 13px;773 color: var(--ink-2); cursor: pointer;774}775.cookie-opt input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; }776.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-end; }777@media (max-width: 640px) {778 .cookie-actions { justify-content: stretch; }779 .cookie-actions .btn { flex: 1; text-align: center; justify-content: center; }780}781782/* --- Page confidentialité + lien pied de page ------------------------------- */783.legal { padding: 48px 0 70px; max-width: 760px; }784.legal h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 8px; letter-spacing: -0.03em; }785.legal section { margin-top: 26px; }786.legal h3 { font-size: 18px; margin-bottom: 8px; }787.legal p, .legal li { color: var(--ink-2); font-size: 14.5px; }788.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }789.flink {790 border: 0; background: none; padding: 0; cursor: pointer;791 color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px;792}793794/* --- Section « Le quartier » (fiche) --------------------------------------- */795.quartier { margin-top: 34px; }796.quartier h2 { font-size: 24px; letter-spacing: -0.02em; }797.q-sub { color: var(--ink-3); font-size: 13px; margin: 4px 0 16px; }798.q-grid {799 display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;800}801@media (max-width: 640px) { .q-grid { grid-template-columns: repeat(2, 1fr); } }802.q-cell {803 background: var(--surface); border: 1.5px solid var(--line-strong);804 border-radius: var(--r-card); padding: 12px 14px; box-shadow: var(--shadow-flat);805}806.q-val { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }807.q-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3);808 text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }809.q-prox { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }810.q-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; }811.q-bar-label { flex: 0 0 150px; color: var(--ink-2); }812@media (max-width: 640px) { .q-bar-label { flex-basis: 120px; font-size: 12px; } }813.q-bar-track {814 flex: 1; height: 10px; background: var(--surface-2);815 border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden;816}817.q-bar-fill { display: block; height: 100%; background: var(--green); border-radius: 999px; }818.q-bar-num { flex: 0 0 30px; text-align: right; font-family: var(--font-mono);819 font-size: 11.5px; font-weight: 700; }820.q-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }821.q-badge {822 display: inline-flex; align-items: center; gap: 6px;823 border: 1.5px solid var(--line-strong); border-radius: 999px;824 padding: 7px 13px; font-size: 12.5px; background: var(--surface);825}826.q-badge.cool { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); }827.q-badge.hot { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; }828.quartier .fine { margin-top: 10px; }829830/* --- Fiche v2 (mobile-first) ------------------------------------------------ */831/* mobile : flux unique ordonné ; desktop : 2 colonnes (logement | synthèse) */832.fiche { display: flex; flex-direction: column; gap: 22px; }833.f-col { display: contents; }834.f-galerie { order: 1; } .f-hero { order: 2; } .f-desc { order: 3; }835.f-incl { order: 4; } .f-pratique { order: 5; } .f-quartier { order: 6; }836.f-poi { order: 7; }837@media (min-width: 900px) {838 .fiche { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }839 .f-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; }840}841.f-bloc { min-width: 0; }842.f-bloc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }843.f-bloc:empty { display: none; }844845/* galerie à balayage natif */846.carousel { position: relative; border-radius: var(--r-card); overflow: hidden;847 border: 1.5px solid var(--line-strong); background: var(--surface-2); }848.carousel-track {849 display: flex; overflow-x: auto; scroll-snap-type: x mandatory;850 -webkit-overflow-scrolling: touch; scrollbar-width: none; aspect-ratio: 16/11;851}852.carousel-track::-webkit-scrollbar { display: none; }853.carousel-track img {854 flex: 0 0 100%; width: 100%; object-fit: cover; scroll-snap-align: center;855 cursor: zoom-in;856}857.carousel-empty { display: flex; align-items: center; justify-content: center;858 aspect-ratio: 16/11; font-size: 48px; }859.carousel-count {860 position: absolute; right: 12px; bottom: 12px; z-index: 2;861 background: rgba(20, 24, 20, 0.82); color: var(--lime);862 font-family: var(--font-mono); font-size: 12px; font-weight: 700;863 padding: 4px 10px; border-radius: 999px;864}865.carousel-nav {866 position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;867 width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);868 background: rgba(255, 255, 255, 0.92); font-size: 22px; cursor: pointer;869 display: flex; align-items: center; justify-content: center; line-height: 1;870}871.carousel-nav.prev { left: 10px; } .carousel-nav.next { right: 10px; }872@media (max-width: 640px) { .carousel-nav { display: none; } } /* balayage natif */873874/* bandeau prix + badge marché */875.f-hero .price { font-size: clamp(34px, 8vw, 44px); }876.deal-badge {877 display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 4px;878 border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;879 border: 1.5px solid var(--line-strong);880}881.deal-good { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); }882.deal-ok { background: var(--surface); color: var(--ink-2); }883.deal-high { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; }884.f-hero h1 { font-size: clamp(20px, 4.5vw, 26px); margin-top: 8px; }885886/* chips clés à défilement horizontal */887.chips-scroll {888 display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 6px;889 scrollbar-width: none; -webkit-overflow-scrolling: touch;890}891.chips-scroll::-webkit-scrollbar { display: none; }892.chip-key {893 flex: 0 0 auto; background: var(--ink); color: var(--lime);894 border-radius: 999px; padding: 8px 14px; font-family: var(--font-mono);895 font-size: 12px; font-weight: 700; white-space: nowrap; min-height: 34px;896 display: inline-flex; align-items: center;897}898899/* ancres de navigation rapide */900.ancres {901 display: flex; gap: 4px; overflow-x: auto; padding: 6px 0 2px;902 scrollbar-width: none; border-bottom: 1.5px dashed var(--line); margin-bottom: 8px;903}904.ancres::-webkit-scrollbar { display: none; }905.ancres a {906 flex: 0 0 auto; padding: 9px 12px; font-size: 13.5px; font-weight: 600;907 color: var(--ink-2); border-radius: var(--r-ctl); min-height: 44px;908 display: inline-flex; align-items: center;909}910.ancres a:hover { background: var(--lime-soft); color: var(--ink); }911html { scroll-padding-top: 76px; } /* header sticky au-dessus des ancres */912913/* description restructurée */914.enbref {915 background: var(--lime-soft); border: 1.5px solid var(--green);916 border-radius: var(--r-card); padding: 12px 15px; color: var(--green-deep);917 font-size: 15px; margin: 0 0 14px;918}919.desc-section { margin-bottom: 12px; }920.desc-section h4 { font-size: 15px; margin-bottom: 3px; }921.desc-section p { color: var(--ink-2); font-size: 14.5px; margin: 0; white-space: pre-line; }922.texte-original { margin-top: 12px; }923.texte-original summary {924 cursor: pointer; font-family: var(--font-mono); font-size: 12px;925 color: var(--ink-3); min-height: 44px; display: flex; align-items: center;926}927.texte-original p { color: var(--ink-3); font-size: 13px; white-space: pre-line; }928929/* inclusions : confirmées vs mentionnées */930.amenity.confirmed { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); font-weight: 600; }931.amenity.unconfirmed { background: transparent; border-style: dashed; color: var(--ink-3); }932933/* détails pratiques : historique de prix */934.prix-histo {935 margin-top: 12px; padding: 10px 14px; border-radius: var(--r-card);936 border: 1.5px solid var(--line-strong); font-size: 13.5px; background: var(--surface);937}938.prix-histo.down { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); }939940/* quartier compacté sur mobile */941@media (max-width: 640px) {942 .q-cell { padding: 9px 11px; }943 .q-val { font-size: 16px; }944 .q-bar { gap: 8px; font-size: 12px; }945 .q-bar-track { height: 8px; }946}947.q-badge-sub { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }948949/* POI groupés repliables */950.poi-groupe { border: 1.5px solid var(--line); border-radius: var(--r-card);951 margin-bottom: 8px; background: var(--surface); overflow: hidden; }952.poi-groupe summary {953 display: flex; justify-content: space-between; align-items: center; gap: 10px;954 padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 14px;955 min-height: 48px; list-style: none;956}957.poi-groupe summary::-webkit-details-marker { display: none; }958.poi-groupe summary::after { content: "▾"; color: var(--ink-3); transition: transform 0.15s ease; }959.poi-groupe[open] summary::after { transform: rotate(180deg); }960.poi-resume { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); font-weight: 400; }961.poi-groupe .poi-list { padding: 0 14px 10px; }962963/* CTA sticky mobile */964.cta-sticky {965 position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;966 display: flex; align-items: center; gap: 12px;967 background: rgba(245, 243, 238, 0.94); backdrop-filter: blur(12px);968 border-top: 2px solid var(--ink);969 padding: 10px 16px calc(10px + env(safe-area-inset-bottom));970}971.cta-sticky .cta { flex: 1; margin: 0; text-align: center; }972.cta-sticky-prix { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; }973.cta-sticky-prix small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; color: var(--ink-3); }974@media (min-width: 900px) { .cta-sticky { display: none; } }975@media (max-width: 899px) {976 .cta-desktop { display: none; }977 .detail { padding-bottom: 84px; } /* place pour le CTA sticky */978}979.f-foot { margin-top: 26px; }980981/* --- Passerelle vers l'annonce originale ------------------------------------ */982.passerelle {983 min-height: calc(100dvh - 120px); display: flex; align-items: center;984 justify-content: center; padding: 24px 16px;985}986.pass-card {987 width: 100%; max-width: 520px; background: var(--surface);988 border: 2px solid var(--ink); border-radius: var(--r-card);989 box-shadow: var(--shadow-off); padding: 30px 28px; text-align: center;990}991.pass-brands {992 display: flex; align-items: center; justify-content: center; gap: 14px;993 margin-bottom: 22px; flex-wrap: wrap;994}995.pass-brand {996 font-family: var(--font-display); font-weight: 700; font-size: 24px;997 letter-spacing: -0.04em; display: inline-flex; align-items: center;998}999.pass-brand .ka {1000 background: var(--ink); color: var(--lime); padding: 2px 7px 4px;1001 border-radius: 6px; margin-left: 3px; transform: rotate(-2deg);1002}1003.pass-trajet { display: inline-flex; align-items: center; gap: 5px; }1004.pass-dot {1005 width: 6px; height: 6px; border-radius: 50%; background: var(--green);1006 opacity: 0.25; animation: pass-dot 1.2s ease infinite;1007}1008.pass-dot:nth-child(2) { animation-delay: 0.2s; }1009.pass-dot:nth-child(3) { animation-delay: 0.4s; }1010@keyframes pass-dot { 40% { opacity: 1; transform: translateX(2px); } }1011.pass-fleche { color: var(--green); font-size: 18px; }1012.pass-gestionnaire {1013 font-family: var(--font-display); font-weight: 700; font-size: 19px;1014 display: inline-flex; align-items: center; gap: 8px;1015 background: var(--lime-soft); border: 1.5px solid var(--green);1016 border-radius: 999px; padding: 6px 16px; color: var(--green-deep);1017}1018.pass-card h1 { font-size: 20px; letter-spacing: -0.02em; }1019.pass-texte { color: var(--ink-2); font-size: 14.5px; margin: 10px 0 20px; }1020.pass-progress {1021 height: 10px; border: 1.5px solid var(--ink); border-radius: 999px;1022 overflow: hidden; background: var(--surface-2); margin-bottom: 20px;1023}1024.pass-progress-fill {1025 display: block; height: 100%; width: 0; background: var(--lime);1026 border-right: 2px solid var(--ink);1027}1028.pass-progress-fill.go { animation: pass-fill 2.2s linear forwards; }1029@keyframes pass-fill { to { width: 100%; } }1030@media (prefers-reduced-motion: reduce) {1031 .pass-progress-fill.go { animation: none; width: 100%; }1032 .pass-dot { animation: none; opacity: 0.7; }1033}1034.pass-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }10351036/* --- boutons PDF -------------------------------------------------------- */1037.btn-pdf { display: block; text-align: center; margin-top: 10px; width: 100%; }10381039/* --- Onglets de la page Stats -------------------------------------------- */1040.onglets {1041 display: flex; gap: 6px; overflow-x: auto; margin: 26px 0 22px;1042 padding-bottom: 4px; scrollbar-width: none;1043 border-bottom: 2px solid var(--ink);1044}1045.onglets::-webkit-scrollbar { display: none; }1046.onglet {1047 flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;1048 border: 1.5px solid var(--ink); border-bottom: 0;1049 border-radius: var(--r-ctl) var(--r-ctl) 0 0;1050 background: var(--surface); color: var(--ink-2); cursor: pointer;1051 padding: 10px 16px; font-weight: 600; font-size: 13.5px; min-height: 44px;1052 transition: background 0.12s ease, color 0.12s ease;1053}1054.onglet:hover { background: var(--lime-soft); color: var(--ink); }1055.onglet.on { background: var(--ink); color: var(--lime); }10561057/* baisses de prix */1058.baisses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }1059.baisses li {1060 display: flex; align-items: center; gap: 12px; flex-wrap: wrap;1061 padding: 9px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px;1062}1063.baisses li a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }1064.baisse-ville { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }1065.baisse-prix { margin-left: auto; }1066.baisse-prix s { color: var(--ink-3); }1067.baisse-pct {1068 font-style: normal; font-family: var(--font-mono); font-weight: 700;1069 background: var(--lime-soft); border: 1px solid var(--green);1070 color: var(--green-deep); border-radius: 999px; padding: 2px 8px;1071 font-size: 11px; margin-left: 8px;1072}1073.alertes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }1074