| 1 |
|
−/* ----------------------------------------------------------------------------- |
| 2 |
|
− Immo-Ka — Agrégateur de propriétés à vendre (province de Québec) |
| 3 |
|
− Auteur : Simon-Pierre Boucher — contact@spboucher.ai |
| 4 |
|
− styles.css : système de design « éditorial sharp » — thème clair |
| 5 |
|
− · Typo display Space Grotesk / texte Inter / micro-étiquettes JetBrains Mono |
| 6 |
|
− · Bordures encre + ombres décalées (néo-brutalisme raffiné) |
| 7 |
|
− · Accent rouge vif sur encre chocolat · 100 % adaptatif mobile |
| 8 |
|
−----------------------------------------------------------------------------- */ |
| 9 |
|
−:root { |
| 10 |
|
− /* Palette ROUGE — distincte de Lou-Ka (lime/vert). Noms de tokens conservés : |
| 11 |
|
− `--lime` = accent vif (rouge), `--green` = rouge profond (secondaire). */ |
| 12 |
|
− --paper: #f7f1ef; |
| 13 |
|
− --surface: #ffffff; |
| 14 |
|
− --surface-2: #fdf6f5; |
| 15 |
|
− --ink: #1a1214; /* encre chocolat/near-black chaud */ |
| 16 |
|
− --ink-2: #5a4d50; |
| 17 |
|
− --ink-3: #9b8b8e; |
| 18 |
|
− --line: rgba(26, 18, 20, 0.14); |
| 19 |
|
− --line-strong: rgba(26, 18, 20, 0.85); |
| 20 |
|
− --green: #b3202b; /* rouge profond (accent secondaire / kicker) */ |
| 21 |
|
− --green-deep: #7f1620; |
| 22 |
|
− --lime: #e23744; /* rouge vif (accent principal) */ |
| 23 |
|
− --lime-soft: #fbe0e2; |
| 24 |
|
− --amber: #e8a33d; |
| 25 |
|
− --amber-soft: #fdf3e2; |
| 26 |
|
− --danger: #b3202b; |
| 27 |
|
− --r-card: 14px; |
| 28 |
|
− --r-ctl: 8px; |
| 29 |
|
− --shadow-flat: 0 1px 2px rgba(26, 18, 20, 0.06); |
| 30 |
|
− --shadow-off: 6px 6px 0 var(--ink); |
| 31 |
|
− --shadow-off-soft: 8px 8px 0 rgba(226, 55, 68, 0.14); |
| 32 |
|
− --font-display: "Space Grotesk", system-ui, sans-serif; |
| 33 |
|
− --font-body: "Inter", system-ui, sans-serif; |
| 34 |
|
− --font-mono: "JetBrains Mono", ui-monospace, monospace; |
| 35 |
|
−} |
| 36 |
|
− |
| 37 |
|
−* { box-sizing: border-box; } |
| 38 |
|
−html { scroll-behavior: smooth; scroll-padding-top: 76px; } |
| 39 |
|
−body { |
| 40 |
|
− margin: 0; background: var(--paper); color: var(--ink); |
| 41 |
|
− font-family: var(--font-body); font-size: 15px; line-height: 1.55; |
| 42 |
|
− -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); |
| 43 |
|
−} |
| 44 |
|
−body::before { |
| 45 |
|
− content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35; |
| 46 |
|
− 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"); |
| 47 |
|
−} |
| 48 |
|
−#root { position: relative; z-index: 1; } |
| 49 |
|
− |
| 50 |
|
−h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; } |
| 51 |
|
−a { color: inherit; text-decoration: none; } |
| 52 |
|
−button { font-family: inherit; } |
| 53 |
|
−img { display: block; } |
| 54 |
|
−::selection { background: var(--lime); color: #fff; } |
| 55 |
|
− |
| 56 |
|
−.mono { font-family: var(--font-mono); } |
| 57 |
|
−.kicker { |
| 58 |
|
− font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; |
| 59 |
|
− text-transform: uppercase; letter-spacing: 0.14em; color: var(--green); |
| 60 |
|
− display: inline-flex; align-items: center; gap: 8px; |
| 61 |
|
−} |
| 62 |
|
−.kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); } |
| 63 |
|
− |
| 64 |
|
−.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; } |
| 65 |
|
−@media (max-width: 640px) { .container { padding: 0 16px; } } |
| 66 |
|
− |
| 67 |
|
−/* ================= Header ================= */ |
| 68 |
|
−.header { |
| 69 |
|
− position: sticky; top: 0; z-index: 50; |
| 70 |
|
− background: rgba(247, 241, 239, 0.88); |
| 71 |
|
− backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); |
| 72 |
|
− border-bottom: 2px solid var(--ink); |
| 73 |
|
−} |
| 74 |
|
−.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; } |
| 75 |
|
−.brand { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1; } |
| 76 |
|
−.brand .ka { background: var(--ink); color: var(--lime); padding: 2px 7px 4px; border-radius: 6px; margin-left: 3px; transform: rotate(-2deg); transition: transform 0.2s ease; } |
| 77 |
|
−.brand:hover .ka { transform: rotate(0deg); } |
| 78 |
|
−.brand-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px; } |
| 79 |
|
−@media (max-width: 860px) { .brand-tag { display: none; } } |
| 80 |
|
−.nav { margin-left: auto; display: flex; gap: 4px; } |
| 81 |
|
−.nav a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); border: 1.5px solid transparent; transition: all 0.15s ease; min-height: 40px; display: inline-flex; align-items: center; } |
| 82 |
|
−.nav a:hover { border-color: var(--ink); color: var(--ink); } |
| 83 |
|
−.nav a.active { background: var(--ink); color: var(--lime); } |
| 84 |
|
− |
| 85 |
|
−/* ================= Ticker ================= */ |
| 86 |
|
−.ticker { background: var(--ink); color: var(--lime); overflow: hidden; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 0; white-space: nowrap; border-bottom: 1px solid rgba(226, 55, 68, 0.25); } |
| 87 |
|
−.ticker-track { display: inline-flex; gap: 0; animation: ticker 48s linear infinite; will-change: transform; } |
| 88 |
|
−.ticker span { padding: 0 26px; position: relative; } |
| 89 |
|
−.ticker span::after { content: "◆"; position: absolute; right: -6px; opacity: 0.5; font-size: 8px; top: 3px; } |
| 90 |
|
−@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } } |
| 91 |
|
−@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } * { transition-duration: 0.01ms !important; } } |
| 92 |
|
− |
| 93 |
|
−/* ================= Hero ================= */ |
| 94 |
|
−.hero { padding: 58px 0 22px; } |
| 95 |
|
−@media (max-width: 640px) { .hero { padding: 34px 0 14px; } } |
| 96 |
|
−.hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 700; line-height: 0.98; text-transform: uppercase; letter-spacing: -0.035em; max-width: 940px; margin-top: 14px; } |
| 97 |
|
−.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); } |
| 98 |
|
−.hero h1 .hl { background: var(--lime); color: #fff; padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); } |
| 99 |
|
−.hero p.lede { color: var(--ink-2); font-size: 16.5px; max-width: 680px; margin: 20px 0 0; } |
| 100 |
|
−.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; } |
| 101 |
|
−.stat-chip { background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.12); } |
| 102 |
|
−.stat-chip b { color: var(--ink); font-weight: 700; } |
| 103 |
|
−.stat-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease infinite; } |
| 104 |
|
−@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(226, 55, 68, 0.4); } } |
| 105 |
|
− |
| 106 |
|
−/* ================= Filter bar ================= */ |
| 107 |
|
−.filterbar { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 14px; margin: 30px 0 6px; display: flex; flex-direction: column; gap: 0; min-width: 0; } |
| 108 |
|
−.f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; } |
| 109 |
|
−.f-search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface-2); padding: 0 13px; min-height: 52px; color: var(--ink-2); transition: box-shadow 0.15s ease; } |
| 110 |
|
−.f-search:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); } |
| 111 |
|
−.f-search input { border: none; background: none; outline: none; flex: 1; min-width: 0; font-size: 15px; color: var(--ink); font-family: inherit; } |
| 112 |
|
−.f-clear { border: none; background: var(--line); color: var(--ink-2); border-radius: 50%; width: 20px; height: 20px; font-size: 10px; cursor: pointer; flex: none; display: grid; place-items: center; } |
| 113 |
|
−.f-ctl { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); padding: 7px 12px 6px; min-height: 52px; cursor: pointer; transition: box-shadow 0.15s ease; } |
| 114 |
|
−.f-ctl:focus-within { box-shadow: 3px 3px 0 var(--lime); } |
| 115 |
|
−.f-ctl > span { font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } |
| 116 |
|
−.f-ctl select { border: none; background: transparent; outline: none; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 180px; text-overflow: ellipsis; 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"); background-repeat: no-repeat; background-position: right center; } |
| 117 |
|
−.range-pair { display: flex; align-items: center; gap: 4px; } |
| 118 |
|
−.range-pair select { max-width: 92px; } |
| 119 |
|
−.range-sep { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; } |
| 120 |
|
−.f-more { flex: none; align-self: stretch; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); color: var(--ink); padding: 0 18px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px; transition: all 0.13s ease; } |
| 121 |
|
−.f-more:hover { background: var(--lime-soft); } |
| 122 |
|
−.f-more.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(26, 18, 20,0.22); } |
| 123 |
|
−.f-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 22px; border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 14px; min-width: 0; animation: adv-in 0.18s ease; } |
| 124 |
|
−@keyframes adv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } } |
| 125 |
|
−.f-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; } |
| 126 |
|
−.f-group > label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } |
| 127 |
|
−.f-group-end { justify-content: flex-end; } |
| 128 |
|
−.f-group .btn:disabled { opacity: 0.4; cursor: default; } |
| 129 |
|
−.f-native { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl); padding: 10px 30px 10px 12px; font-size: 14px; color: var(--ink); outline: none; font-family: inherit; min-height: 42px; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; 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"); background-repeat: no-repeat; background-position: right 12px center; } |
| 130 |
|
−.f-native:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); } |
| 131 |
|
−.seg { display: inline-flex; flex-wrap: wrap; row-gap: 6px; } |
| 132 |
|
−.seg button { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2); padding: 8px 13px; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 38px; transition: all 0.12s ease; } |
| 133 |
|
−.seg button:first-child { border-radius: 8px 0 0 8px; margin-left: 0; } |
| 134 |
|
−.seg button:last-child { border-radius: 0 8px 8px 0; } |
| 135 |
|
−.seg button:hover { background: var(--lime-soft); color: var(--ink); } |
| 136 |
|
−.seg button.on { background: var(--ink); color: var(--lime); position: relative; z-index: 1; } |
| 137 |
|
− |
| 138 |
|
−.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; } |
| 139 |
|
−.pill { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--lime-soft); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; font-family: var(--font-mono); cursor: pointer; transition: all 0.13s ease; } |
| 140 |
|
−.pill:hover { background: var(--lime); color: #fff; } |
| 141 |
|
−.pill-x { font-size: 10px; opacity: 0.65; } |
| 142 |
|
−.pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); } |
| 143 |
|
−.pill-clear:hover { background: var(--danger); color: #fff; } |
| 144 |
|
−.link-btn { background: none; border: none; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; } |
| 145 |
|
− |
| 146 |
|
−.btn { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease; font-family: var(--font-display); letter-spacing: 0.01em; } |
| 147 |
|
−.btn:active { transform: translate(2px, 2px); box-shadow: none !important; } |
| 148 |
|
−.btn-primary { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 rgba(26, 18, 20,0.25); } |
| 149 |
|
−.btn-primary:hover { background: var(--green-deep); } |
| 150 |
|
−.btn-ghost { background: transparent; color: var(--ink); } |
| 151 |
|
−.btn-ghost:hover { background: var(--lime); color: #fff; box-shadow: 4px 4px 0 rgba(26, 18, 20,0.2); } |
| 152 |
|
− |
| 153 |
|
−/* ================= Chips ================= */ |
| 154 |
|
−.chips { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } |
| 155 |
|
−.chips::-webkit-scrollbar { display: none; } |
| 156 |
|
−.chip { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px; transition: all 0.13s ease; } |
| 157 |
|
−.chip:hover { background: var(--lime-soft); transform: translateY(-1px); } |
| 158 |
|
−.chip.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(26, 18, 20,0.2); } |
| 159 |
|
− |
| 160 |
|
−/* ================= Results ================= */ |
| 161 |
|
−.results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; } |
| 162 |
|
−.results-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; } |
| 163 |
|
−.results-head > span { font-family: var(--font-mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; } |
| 164 |
|
−.results-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; } |
| 165 |
|
−.sort-ctl select { border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: var(--r-ctl); padding: 7px 28px 7px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; 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"); background-repeat: no-repeat; background-position: right 10px center; } |
| 166 |
|
−.view-toggle { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-flat); } |
| 167 |
|
−.view-toggle button { border: 0; background: transparent; padding: 7px 14px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); } |
| 168 |
|
−.view-toggle button + button { border-left: 1.5px solid var(--line-strong); } |
| 169 |
|
−.view-toggle button.on { background: var(--ink); color: var(--lime); } |
| 170 |
|
− |
| 171 |
|
−.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 20px; } |
| 172 |
|
−@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 16px; } } |
| 173 |
|
−.more-wrap { display: flex; justify-content: center; padding: 8px 0 70px; } |
| 174 |
|
− |
| 175 |
|
−.card { background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-flat); transition: transform 0.16s ease, box-shadow 0.16s ease; } |
| 176 |
|
−.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); } |
| 177 |
|
−.card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; } |
| 178 |
|
−.card-img { position: relative; aspect-ratio: 16/10.5; background: repeating-linear-gradient(45deg, #eceae3 0 12px, #f3f1ea 12px 24px); overflow: hidden; } |
| 179 |
|
−.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } |
| 180 |
|
−.card:hover .card-img img { transform: scale(1.05); } |
| 181 |
|
−.card-img .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-3); font-size: 34px; } |
| 182 |
|
−.badge { position: absolute; top: 12px; left: 12px; border-radius: 6px; padding: 4px 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 1px solid var(--ink); } |
| 183 |
|
−.badge.type { background: var(--ink); color: var(--lime); border-color: var(--ink); } |
| 184 |
|
−.badge.right { left: auto; right: 12px; background: rgba(255,255,255,0.92); border-color: transparent; } |
| 185 |
|
−.card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; } |
| 186 |
|
−.card-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; } |
| 187 |
|
−.card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 188 |
|
−.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); } |
| 189 |
|
−.card-meta .sep { width: 4px; height: 4px; background: var(--lime); border: 1px solid var(--ink); border-radius: 1px; transform: rotate(45deg); } |
| 190 |
|
−.card-specs { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink-2); font-family: var(--font-mono); } |
| 191 |
|
−.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; } |
| 192 |
|
−.source-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-deep); background: var(--lime-soft); border: 1px solid var(--green); border-radius: 4px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; } |
| 193 |
|
−.avail { font-size: 11px; color: var(--ink-3); font-weight: 500; text-align: right; font-family: var(--font-mono); } |
| 194 |
|
− |
| 195 |
|
−/* ================= Skeletons ================= */ |
| 196 |
|
−@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } |
| 197 |
|
−.skel { border-radius: var(--r-card); border: 1.5px solid var(--line); overflow: hidden; background: var(--surface); } |
| 198 |
|
−.skel .sk-img, .skel .sk-line { background: linear-gradient(90deg, #eeece5 25%, #f7f5ef 50%, #eeece5 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; } |
| 199 |
|
−.skel .sk-img { aspect-ratio: 16/10.5; } |
| 200 |
|
−.skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; } |
| 201 |
|
−.skel .sk-line.short { width: 45%; } |
| 202 |
|
− |
| 203 |
|
−/* ================= Empty / error ================= */ |
| 204 |
|
−.notice { text-align: center; padding: 72px 24px; color: var(--ink-2); } |
| 205 |
|
−.notice .big { font-size: 44px; margin-bottom: 10px; } |
| 206 |
|
−.notice h2 { text-transform: uppercase; } |
| 207 |
|
− |
| 208 |
|
−/* ================= Detail page ================= */ |
| 209 |
|
−.detail { padding: 30px 0 90px; } |
| 210 |
|
−.crumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } |
| 211 |
|
−.crumbs a { border-bottom: 1.5px solid transparent; } |
| 212 |
|
−.crumbs a:hover { color: var(--green); border-color: var(--green); } |
| 213 |
|
− |
| 214 |
|
−.fiche { display: flex; flex-direction: column; gap: 22px; } |
| 215 |
|
−.f-col { display: contents; } |
| 216 |
|
−.f-galerie { order: 1; } .f-hero { order: 2; } |
| 217 |
|
−.f-desc { order: 3; } #caracteristiques { order: 4; } #pieces { order: 5; } |
| 218 |
|
−#inclusions { order: 6; } #carte { order: 7; } |
| 219 |
|
−@media (min-width: 900px) { |
| 220 |
|
− .fiche { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; } |
| 221 |
|
− .f-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; } |
| 222 |
|
− .f-col:last-child { position: sticky; top: 88px; } |
| 223 |
|
−} |
| 224 |
|
−.f-bloc { min-width: 0; } |
| 225 |
|
−.f-bloc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; border-left: 4px solid var(--lime); padding-left: 10px; } |
| 226 |
|
−.f-bloc:empty { display: none; } |
| 227 |
|
− |
| 228 |
|
−/* galerie */ |
| 229 |
|
−.carousel { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--line-strong); background: var(--surface-2); box-shadow: var(--shadow-off-soft); } |
| 230 |
|
−.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; aspect-ratio: 16/11; } |
| 231 |
|
−.carousel-track::-webkit-scrollbar { display: none; } |
| 232 |
|
−.carousel-track img { flex: 0 0 100%; width: 100%; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; } |
| 233 |
|
−.carousel-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/11; font-size: 48px; } |
| 234 |
|
−.carousel-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(26, 18, 20, 0.82); color: var(--lime); font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; } |
| 235 |
|
−.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, 0.92); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; } |
| 236 |
|
−.carousel-nav.prev { left: 10px; } .carousel-nav.next { right: 10px; } |
| 237 |
|
−@media (max-width: 640px) { .carousel-nav { display: none; } } |
| 238 |
|
−.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; } |
| 239 |
|
−.thumbs button { border: 2px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4/3; background: #eceae3; transition: border-color 0.12s ease, transform 0.12s ease; } |
| 240 |
|
−.thumbs button:hover { transform: translateY(-2px); } |
| 241 |
|
−.thumbs button.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); } |
| 242 |
|
−.thumbs img { width: 100%; height: 100%; object-fit: cover; } |
| 243 |
|
−@media (max-width: 640px) { .thumbs { display: flex; overflow-x: auto; scrollbar-width: none; } .thumbs::-webkit-scrollbar { display: none; } .thumbs button { flex: 0 0 84px; } } |
| 244 |
|
− |
| 245 |
|
−/* lightbox */ |
| 246 |
|
−.lightbox { position: fixed; inset: 0; background: rgba(16, 18, 16, 0.94); z-index: 100; display: flex; align-items: center; justify-content: center; cursor: zoom-out; padding: max(16px, env(safe-area-inset-top)) 16px; } |
| 247 |
|
−.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 6px; border: 2px solid var(--lime); object-fit: contain; } |
| 248 |
|
−.lb-close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; } |
| 249 |
|
−.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--lime); font-size: 52px; cursor: pointer; padding: 0 22px; user-select: none; } |
| 250 |
|
−.lb-nav.prev { left: 6px; } .lb-nav.next { right: 6px; } |
| 251 |
|
−.lb-count { position: absolute; bottom: 24px; color: #c9ccc2; font-family: var(--font-mono); font-size: 13px; } |
| 252 |
|
− |
| 253 |
|
−/* hero panneau (colonne droite) */ |
| 254 |
|
−.f-hero { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 26px; } |
| 255 |
|
−.f-hero .price { font-family: var(--font-display); font-size: clamp(30px, 6vw, 40px); font-weight: 700; letter-spacing: -0.03em; } |
| 256 |
|
−.f-hero h1 { font-size: clamp(20px, 4.5vw, 24px); margin-top: 8px; } |
| 257 |
|
−.f-hero .loc { color: var(--ink-2); font-size: 14px; margin-top: 2px; } |
| 258 |
|
−.deal-badge { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 4px; border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; border: 1.5px solid var(--line-strong); } |
| 259 |
|
−.deal-ok { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } |
| 260 |
|
− |
| 261 |
|
−.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 18px 0; } |
| 262 |
|
−.spec { border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl); padding: 9px 11px; background: var(--surface-2); } |
| 263 |
|
−.spec b { display: block; font-family: var(--font-display); font-size: 16px; } |
| 264 |
|
−.spec span { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); } |
| 265 |
|
− |
| 266 |
|
−.broker { margin: 16px 0; padding: 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-ctl); background: var(--surface-2); } |
| 267 |
|
−.broker-k { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } |
| 268 |
|
−.broker-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 3px; } |
| 269 |
|
−.broker-tel { display: inline-block; margin-top: 6px; color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--lime); } |
| 270 |
|
− |
| 271 |
|
−.cta { display: block; text-align: center; background: var(--ink); color: var(--lime); font-weight: 700; font-family: var(--font-display); border-radius: var(--r-ctl); padding: 15px; border: 1.5px solid var(--ink); min-height: 48px; box-shadow: 4px 4px 0 rgba(26, 18, 20,0.25); transition: all 0.14s ease; margin-top: 6px; } |
| 272 |
|
−.cta:hover { background: var(--lime); color: #fff; } |
| 273 |
|
−.cta:active { transform: translate(2px, 2px); box-shadow: none; } |
| 274 |
|
−.f-hero .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; font-family: var(--font-mono); letter-spacing: 0.02em; } |
| 275 |
|
− |
| 276 |
|
−.desc-text { color: var(--ink-2); font-size: 14.5px; white-space: pre-line; line-height: 1.6; margin: 0; } |
| 277 |
|
− |
| 278 |
|
−/* tableau caractéristiques */ |
| 279 |
|
−.dtable { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 22px; } |
| 280 |
|
−.drow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; } |
| 281 |
|
−.drow span { color: var(--ink-3); } .drow b { text-align: right; font-family: var(--font-display); } |
| 282 |
|
− |
| 283 |
|
−/* tableau pièces */ |
| 284 |
|
−.rooms-wrap { overflow-x: auto; border: 1.5px solid var(--line-strong); border-radius: var(--r-card); } |
| 285 |
|
−table.rooms { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 460px; } |
| 286 |
|
−table.rooms th { text-align: left; background: var(--ink); color: var(--paper); padding: 9px 12px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; } |
| 287 |
|
−table.rooms td { padding: 8px 12px; border-bottom: 1px solid var(--line); } |
| 288 |
|
−table.rooms tr:last-child td { border-bottom: none; } |
| 289 |
|
−table.rooms tr:nth-child(even) td { background: var(--surface-2); } |
| 290 |
|
− |
| 291 |
|
−.amenity-row { display: flex; flex-wrap: wrap; gap: 7px; } |
| 292 |
|
−.amenity { background: var(--lime-soft); color: var(--green-deep); font-size: 12px; font-weight: 600; border: 1px solid var(--green); border-radius: 999px; padding: 5px 12px; } |
| 293 |
|
− |
| 294 |
|
−.prix-histo { margin-top: 14px; padding: 10px 14px; border-radius: var(--r-card); border: 1.5px solid var(--line-strong); font-size: 13.5px; background: var(--surface); } |
| 295 |
|
−.prix-histo.down { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } |
| 296 |
|
− |
| 297 |
|
−.mini-map { height: 320px; border: 1.5px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; } |
| 298 |
|
−.mini-map .mapview { border: none; border-radius: 0; box-shadow: none; height: 100%; } |
| 299 |
|
− |
| 300 |
|
−.cta-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; background: rgba(247, 241, 239, 0.94); backdrop-filter: blur(12px); border-top: 2px solid var(--ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); } |
| 301 |
|
−.cta-sticky .cta { flex: 1; margin: 0; } |
| 302 |
|
−.cta-sticky-prix { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; } |
| 303 |
|
−@media (min-width: 900px) { .cta-sticky { display: none; } } |
| 304 |
|
−@media (max-width: 899px) { .detail { padding-bottom: 84px; } } |
| 305 |
|
−.f-foot { margin-top: 26px; } |
| 306 |
|
−.fine { font-size: 12px; color: var(--ink-3); } |
| 307 |
|
− |
| 308 |
|
−/* ================= Sources / Agences ================= */ |
| 309 |
|
−.sources { padding: 44px 0 90px; } |
| 310 |
|
−.sources h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 10px 0 6px; } |
| 311 |
|
−.sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 720px; } |
| 312 |
|
−.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); } |
| 313 |
|
−.src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; } |
| 314 |
|
−.src-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding: 14px 18px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2); } |
| 315 |
|
−.src-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; } |
| 316 |
|
−.src-table tr:last-child td { border-bottom: none; } |
| 317 |
|
−.src-table tr:hover td { background: var(--surface-2); } |
| 318 |
|
−.src-table a { color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--lime); } |
| 319 |
|
−.pill.ok { background: var(--lime); color: #fff; border: 1px solid var(--ink); border-radius: 4px; padding: 3px 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; } |
| 320 |
|
−.pill.todo { background: var(--amber-soft); color: #8a5a12; border: 1px solid var(--amber); border-radius: 4px; padding: 3px 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; } |
| 321 |
|
−.count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; border-bottom: 1.5px solid var(--lime); } |
| 322 |
|
− |
| 323 |
|
−/* ================= Stats ================= */ |
| 324 |
|
−.stats-page { padding: 44px 0 90px; } |
| 325 |
|
−.stats-title { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; margin: 10px 0 6px; } |
| 326 |
|
−.stats-page .sub { color: var(--ink-2); max-width: 660px; margin-bottom: 30px; } |
| 327 |
|
−.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; } |
| 328 |
|
−.tile { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 18px 20px; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.1); } |
| 329 |
|
−.tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.05; } |
| 330 |
|
−.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; } |
| 331 |
|
−.hero-tile { background: var(--ink); color: var(--lime); border-color: var(--ink); } |
| 332 |
|
−.hero-tile .tile-k { color: rgba(226, 55, 68, 0.7); } |
| 333 |
|
−.viz-card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 26px 28px 20px; margin-bottom: 22px; } |
| 334 |
|
−.viz-card h2 { font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; } |
| 335 |
|
−.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; } |
| 336 |
|
−.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } |
| 337 |
|
−@media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } } |
| 338 |
|
−.hbars { display: flex; flex-direction: column; gap: 7px; } |
| 339 |
|
−.hbar-row { display: grid; grid-template-columns: minmax(96px, 180px) 1fr auto; gap: 12px; align-items: center; min-height: 26px; } |
| 340 |
|
−.hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 341 |
|
−.hbar-label a { border-bottom: 1.5px solid var(--lime); } |
| 342 |
|
−.hbar-label a:hover { color: var(--green-deep); } |
| 343 |
|
−.hbar-track { background: var(--surface-2); border-radius: 0 4px 4px 0; height: 18px; overflow: hidden; } |
| 344 |
|
−.hbar-fill { display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0; min-width: 2px; transition: background 0.12s ease; } |
| 345 |
|
−.hbar-row:hover .hbar-fill { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); } |
| 346 |
|
−.hbar-value { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; white-space: nowrap; } |
| 347 |
|
−.hbar-value em { font-style: normal; font-weight: 500; color: var(--ink-3); } |
| 348 |
|
−.viz-table { margin-top: 4px; } |
| 349 |
|
−.viz-table table { width: 100%; border-collapse: collapse; font-size: 13px; } |
| 350 |
|
−.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); } |
| 351 |
|
−.viz-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); } |
| 352 |
|
−.stats-foot { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 6px; } |
| 353 |
|
− |
| 354 |
|
−/* ================= Carte ================= */ |
| 355 |
|
−.map-split { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; height: calc(100dvh - 200px); min-height: 420px; } |
| 356 |
|
−.map-list { overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 4px; scrollbar-width: thin; } |
| 357 |
|
−.map-list .card { margin: 0; flex: 0 0 auto; } |
| 358 |
|
−.mapview { width: 100%; height: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden; background: var(--surface-2); } |
| 359 |
|
−.map-loading { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-family: var(--font-mono); font-size: 13px; } |
| 360 |
|
−@media (max-width: 780px) { .map-split { grid-template-columns: 1fr; height: calc(100dvh - 230px); } .map-list { display: none; } .results-tools { width: 100%; justify-content: space-between; } } |
| 361 |
|
−.maplibregl-popup-content { padding: 0; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-off); font-family: var(--font-body); } |
| 362 |
|
−.maplibregl-popup-close-button { font-size: 18px; padding: 2px 8px; color: var(--paper); z-index: 2; text-shadow: 0 0 4px rgba(26, 18, 20, 0.8); } |
| 363 |
|
−.mv-pop img, .mv-noimg { width: 100%; height: 130px; object-fit: cover; } |
| 364 |
|
−.mv-noimg { display: flex; align-items: center; justify-content: center; font-size: 34px; background: var(--surface-2); } |
| 365 |
|
−.mv-pop-body { padding: 10px 12px 12px; } |
| 366 |
|
−.mv-pop-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; } |
| 367 |
|
−.mv-pop-title { font-size: 13px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 368 |
|
−.mv-pop-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); margin-top: 6px; } |
| 369 |
|
−.mv-pop-src { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; } |
| 370 |
|
−.mv-pop-cta { display: block; margin-top: 10px; padding: 8px 10px; text-align: center; background: var(--ink); color: var(--lime); border-radius: var(--r-ctl); font-weight: 600; font-size: 13px; } |
| 371 |
|
−.mv-pop-cta:hover { background: var(--green-deep); } |
| 372 |
|
− |
| 373 |
|
−/* ================= Menu mobile ================= */ |
| 374 |
|
−.menu-btn { display: none; position: relative; z-index: 60; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.15); transition: box-shadow 0.15s ease, transform 0.15s ease; } |
| 375 |
|
−.menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(26, 18, 20,0.15); } |
| 376 |
|
−.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; } |
| 377 |
|
−.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } |
| 378 |
|
−.menu-btn.open span:nth-child(2) { opacity: 0; } |
| 379 |
|
−.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } |
| 380 |
|
−.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 18px 30px rgba(26, 18, 20, 0.18); padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.22s ease; } |
| 381 |
|
−.mobile-menu.open { max-height: 480px; opacity: 1; } |
| 382 |
|
−.mm-link { display: flex; align-items: center; gap: 12px; padding: 15px 10px; min-height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; border-bottom: 1.5px dashed var(--line); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; } |
| 383 |
|
−.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); } |
| 384 |
|
−.mm-link.active { color: var(--green); } |
| 385 |
|
−.mm-ico { width: 26px; text-align: center; font-size: 17px; } |
| 386 |
|
−.mm-arrow { margin-left: auto; opacity: 0.25; } |
| 387 |
|
−.mm-link:active { background: var(--lime-soft); border-radius: var(--r-ctl); } |
| 388 |
|
−.mm-foot { padding: 12px 10px 4px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em; } |
| 389 |
|
−.mm-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(26, 18, 20, 0.35); backdrop-filter: blur(2px); } |
| 390 |
|
−@media (max-width: 760px) { .menu-btn { display: flex; } .nav { display: none; } .mobile-menu { display: block; } } |
| 391 |
|
− |
| 392 |
|
−/* ================= Footer ================= */ |
| 393 |
|
−.footer { background: var(--ink); color: rgba(247, 241, 239, 0.75); margin-top: 20px; padding: 44px 0 max(40px, env(safe-area-inset-bottom)); font-size: 13px; position: relative; z-index: 1; } |
| 394 |
|
−.footer .fbrand { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--paper); letter-spacing: -0.04em; margin-bottom: 12px; } |
| 395 |
|
−.footer .fbrand .ka { color: var(--lime); } |
| 396 |
|
−.footer b { color: var(--paper); } |
| 397 |
|
−.footer .frow { display: flex; flex-direction: column; gap: 5px; max-width: 760px; } |
| 398 |
|
−.footer .fmono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247, 241, 239,0.45); margin-top: 18px; } |
| 399 |
|
− |
| 400 |
|
−/* ================= Mobile : feuille de filtres + FAB ================= */ |
| 401 |
|
−.sheet-head { display: none; } |
| 402 |
|
−.sheet-apply { display: none; } |
| 403 |
|
−.sheet-backdrop { display: none; } |
| 404 |
|
−.fab { display: none; } |
| 405 |
|
−@media (max-width: 640px) { |
| 406 |
|
− .header-inner { height: 56px; } |
| 407 |
|
− .brand { font-size: 21px; } |
| 408 |
|
− .hero h1 { font-size: clamp(30px, 9.4vw, 44px); } |
| 409 |
|
− .hero p.lede { font-size: 15px; } |
| 410 |
|
− .stat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; } |
| 411 |
|
− .stat-row::-webkit-scrollbar { display: none; } |
| 412 |
|
− .stat-chip { flex: 0 0 auto; white-space: nowrap; } |
| 413 |
|
− .filterbar { display: none; } |
| 414 |
|
− .filterbar.open .f-primary { flex-direction: column; } |
| 415 |
|
− .filterbar.open .f-ctl select { max-width: none; width: 100%; } |
| 416 |
|
− .filterbar.open .f-more { display: none; } |
| 417 |
|
− .filterbar.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35); animation: sheet-up 0.22s ease; } |
| 418 |
|
− @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } } |
| 419 |
|
− .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1.5px solid var(--line); margin-bottom: 2px; z-index: 1; } |
| 420 |
|
− .sheet-close { border: 1.5px solid var(--ink); background: var(--surface); border-radius: 50%; width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1; } |
| 421 |
|
− .filterbar.open .sheet-apply { display: block; width: 100%; } |
| 422 |
|
− .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(16, 18, 16, 0.45); backdrop-filter: blur(2px); } |
| 423 |
|
− .fab { display: flex; align-items: center; gap: 6px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; background: var(--ink); color: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(26, 18, 20, 0.25); } |
| 424 |
|
− .fab:active { transform: translateX(-50%) scale(0.97); } |
| 425 |
|
− .results-head { margin-top: 20px; } |
| 426 |
|
− .chips { margin-right: -16px; padding-right: 16px; } |
| 427 |
|
− .notice { padding: 48px 16px; } |
| 428 |
|
−} |
| 429 |
|
−@media (max-width: 900px) { .f-search input, .f-native, .f-ctl select { font-size: 16px; } } |
| 430 |
|
− |
| 431 |
|
−/* --- Sources : bannières → sous-agences -------------------------------- */ |
| 432 |
|
−.franchise-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; } |
| 433 |
|
−.franchise { border: 2px solid var(--ink); background: var(--surface); box-shadow: var(--shadow-off-soft); } |
| 434 |
|
−.franchise-head { |
| 435 |
|
− width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; |
| 436 |
|
− background: none; border: 0; cursor: pointer; font-family: var(--font-display); |
| 437 |
|
− font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; |
| 438 |
|
−} |
| 439 |
|
−.franchise-head:hover { background: var(--surface-2); } |
| 440 |
|
−.fh-caret { color: var(--green); width: 14px; } |
| 441 |
|
−.fh-name { flex: 1; } |
| 442 |
|
−.fh-sub { font-size: 12px; font-weight: 500; color: var(--ink-3); font-family: var(--font-mono); } |
| 443 |
|
−.fh-count { |
| 444 |
|
− font-family: var(--font-mono); font-weight: 700; background: var(--ink); |
| 445 |
|
− color: var(--lime); padding: 3px 10px; min-width: 64px; text-align: right; |
| 446 |
|
−} |
| 447 |
|
−.subagency-list { list-style: none; margin: 0; padding: 0 16px 10px 40px; border-top: 1px solid var(--line); } |
| 448 |
|
−.subagency-list li { |
| 449 |
|
− display: flex; align-items: center; justify-content: space-between; gap: 12px; |
| 450 |
|
− padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 14px; |
| 451 |
|
−} |
| 452 |
|
−.subagency-list li:last-child { border-bottom: 0; } |
| 453 |
|
−.sa-name { color: var(--ink-2); } |
| 454 |
|
− |
| 455 |
|
−/* --- Pagination (accueil) ---------------------------------------------- */ |
| 456 |
|
−.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; |
| 457 |
|
− gap: 6px; margin: 32px 0 8px; } |
| 458 |
|
−.pager-btn { |
| 459 |
|
− font-family: var(--font-mono); font-size: 14px; min-width: 40px; padding: 8px 12px; |
| 460 |
|
− border: 2px solid var(--ink); background: var(--surface); color: var(--ink); |
| 461 |
|
− cursor: pointer; box-shadow: var(--shadow-off-soft); |
| 462 |
|
−} |
| 463 |
|
−.pager-btn:hover:not(:disabled) { background: var(--lime-soft); } |
| 464 |
|
−.pager-btn.on { background: var(--ink); color: var(--lime); font-weight: 700; } |
| 465 |
|
−.pager-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; } |
| 466 |
|
−.pager-gap { padding: 0 4px; color: var(--ink-3); } |
| 467 |
|
−.pager-info { width: 100%; text-align: center; margin-top: 8px; font-size: 12px; |
| 468 |
|
− color: var(--ink-3); font-family: var(--font-mono); } |
| 469 |
|
− |
| 470 |
|
− |
| 471 |
|
− |
| 472 |
|
−/* --- Le quartier (census / proximité / chaleur / crime) — porté de Lou-Ka --- */ |
| 473 |
|
−/* --- Section « Le quartier » (fiche) --------------------------------------- */ |
| 474 |
|
−.quartier { margin-top: 34px; } |
| 475 |
|
−.quartier h2 { font-size: 24px; letter-spacing: -0.02em; } |
| 476 |
|
−.q-sub { color: var(--ink-3); font-size: 13px; margin: 4px 0 16px; } |
| 477 |
|
−.q-grid { |
| 478 |
|
− display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; |
| 479 |
|
−} |
| 480 |
|
−.q-grid { grid-template-columns: repeat(2, 1fr); } |
| 481 |
|
−.q-cell { |
| 482 |
|
− background: var(--surface); border: 1.5px solid var(--line-strong); |
| 483 |
|
− border-radius: var(--r-card); padding: 12px 14px; box-shadow: var(--shadow-flat); |
| 484 |
|
−} |
| 485 |
|
−.q-val { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; } |
| 486 |
|
−.q-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); |
| 487 |
|
− text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; } |
| 488 |
|
−.q-prox { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; } |
| 489 |
|
−.q-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; } |
| 490 |
|
−.q-bar-label { flex: 0 0 150px; color: var(--ink-2); } |
| 491 |
|
−.q-bar-label { flex-basis: 120px; font-size: 12px; } |
| 492 |
|
−.q-bar-track { |
| 493 |
|
− flex: 1; height: 10px; background: var(--surface-2); |
| 494 |
|
− border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; |
| 495 |
|
−} |
| 496 |
|
−.q-bar-fill { display: block; height: 100%; background: var(--green); border-radius: 999px; } |
| 497 |
|
−.q-bar-num { flex: 0 0 30px; text-align: right; font-family: var(--font-mono); |
| 498 |
|
− font-size: 11.5px; font-weight: 700; } |
| 499 |
|
−.q-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } |
| 500 |
|
−.q-badge { |
| 501 |
|
− display: inline-flex; align-items: center; gap: 6px; |
| 502 |
|
− border: 1.5px solid var(--line-strong); border-radius: 999px; |
| 503 |
|
− padding: 7px 13px; font-size: 12.5px; background: var(--surface); |
| 504 |
|
−} |
| 505 |
|
−.q-badge.cool { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } |
| 506 |
|
−.q-badge.hot { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; } |
| 507 |
|
−.quartier .fine { margin-top: 10px; } |
| 508 |
|
−.q-cell { padding: 9px 11px; } |
| 509 |
|
−.q-val { font-size: 16px; } |
| 510 |
|
−.q-bar { gap: 8px; font-size: 12px; } |
| 511 |
|
−.q-bar-track { height: 8px; } |
| 512 |
|
−.q-badge-sub { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 400; margin-left: 4px; } |
| 513 |
|
− |
| 514 |
|
−/* --- Vrai-Prix : estimation de valeur ---------------------------------- */ |
| 515 |
|
−.vraiprix { border: 2px solid var(--ink); background: var(--surface-2); |
| 516 |
|
− box-shadow: var(--shadow-off-soft); padding: 14px; margin: 14px 0; } |
| 517 |
|
−.vp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } |
| 518 |
|
−.vp-logo { font-family: var(--font-display); font-weight: 700; color: var(--green-deep); |
| 519 |
|
− letter-spacing: -.3px; } |
| 520 |
|
−.vp-conf { font-family: var(--font-mono); font-size: 11px; padding: 2px 7px; border: 1px solid var(--ink); } |
| 521 |
|
−.vp-conf-A { background: var(--lime); color: #fff; } .vp-conf-B { background: var(--lime-soft); } |
| 522 |
|
−.vp-conf-C { background: var(--amber-soft); } .vp-conf-D { background: #f0d9d9; } |
| 523 |
|
−.vp-k { font-size: 11px; color: var(--ink-3); text-transform: uppercase; |
| 524 |
|
− letter-spacing: .5px; margin-top: 8px; } |
| 525 |
|
−.vp-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; |
| 526 |
|
− letter-spacing: -1px; color: var(--ink); } |
| 527 |
|
−.vp-range { font-size: 12px; color: var(--ink-2); font-family: var(--font-mono); } |
| 528 |
|
−.vp-delta { font-size: 13px; margin-top: 8px; padding: 6px 8px; border-radius: var(--r-ctl); } |
| 529 |
|
−.vp-over { background: #f6e2e2; color: #8a2b2b; } |
| 530 |
|
−.vp-under { background: #e2f0e6; color: #1c5c41; } |
| 531 |
|
−.vp-fair { background: var(--surface); color: var(--ink-2); } |
| 532 |
|
−.vp-link { display: block; text-align: center; margin-top: 10px; font-weight: 700; |
| 533 |
|
− font-size: 13px; padding: 8px; background: var(--green-deep); color: #fff; |
| 534 |
|
− text-decoration: none; } |
| 535 |
|
−.vp-link:hover { background: var(--green); } |
| 536 |
|
|