/* ----------------------------------------------------------------------------- Rent-Ka — Rental listings aggregator (Canada, outside Québec) Author: Simon-Pierre Boucher — contact@spboucher.ai styles.css: Rent-Ka LOCAL styles, laid ON TOP of the shared Groupe KA "editorial sharp" design system (frontend/src/ka/tokens.css, imported BEFORE this file in main.tsx). · Shared palette: paper #f5f3ee · ink #141814 · deep green #1c5c41 · Rent-Ka ACCENT: cobalt #2456E6 (+ display font, only tokens.css overrides) · Type: display Bricolage Grotesque / text Inter / micro-labels JetBrains Mono · Signature: 1.5 px ink borders + hard offset shadows, radii 10/6 px · Baseline: "Apartments and homes for rent across Canada." · 100 % mobile adaptive (installable PWA, iOS safe-areas) ----------------------------------------------------------------------------- */ :root { /* ---- Rent-Ka ACCENT + display font (official ka-ui token overrides) ---- */ --accent: #2456e6; --accent-soft: #e9efff; --accent-deep: #1738a8; --on-accent: #ffffff; --lime: var(--accent); --lime-soft: var(--accent-soft); --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif; /* ---- Aliases inherited from the old navy/blue identity — remapped onto the shared tokens (the background goes back to paper via tokens.css) ---- */ --navy: var(--ink); --navy-soft: var(--surface-2); --blue: var(--green); --blue-soft: #e8f0ea; --orange: var(--accent); --orange-soft: var(--accent-soft); --orange-deep: var(--accent-deep); --grey: var(--surface-2); --white: #ffffff; } #root { position: relative; z-index: 1; } a { text-decoration: none; } button { font-family: inherit; } .mono { font-family: var(--font-mono); } /* Garde-fou : jamais de défilement horizontal de la page, même transitoire pendant le chargement (bandeau défilant, polices) — clip ne casse pas position: sticky, contrairement à hidden. */ html, body { overflow-x: clip; } /* ================= Header ================= */ .header { position: sticky; top: 0; z-index: var(--z-header, 500); background: var(--paper); border-bottom: 1px solid var(--line); } .header-inner { display: flex; align-items: center; gap: 20px; height: 64px; } .brand { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; display: flex; align-items: center; line-height: 1; color: var(--navy); } .brand .logo-ico { margin-right: 12px; flex: none; } /* ≈ 40 % de la largeur de l'icône */ .brand .ka { color: var(--orange); } .brand-tag { font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.02em; margin-left: 12px; } @media (max-width: 900px) { .brand-tag { display: none; } } .nav { margin-left: auto; display: flex; gap: 4px; } .nav a { padding: 9px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--navy); transition: all 0.15s ease; min-height: 40px; display: inline-flex; align-items: center; } .nav a:hover { color: var(--orange); background: var(--orange-soft); } .nav a.active { background: var(--navy); color: var(--white); } /* ================= Ticker ================= */ .ticker { background: var(--navy); color: rgba(255, 255, 255, 0.85); overflow: hidden; font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 0; white-space: nowrap; } .ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; } .ticker span { padding: 0 26px; position: relative; } .ticker span::after { content: "◆"; position: absolute; right: -6px; color: var(--orange); opacity: 0.8; font-size: 8px; top: 3px; } @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } } @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } * { transition-duration: 0.01ms !important; } } /* ================= Hero ================= */ .hero { position: relative; padding: 64px 0 26px; } @media (max-width: 640px) { .hero { padding: 36px 0 14px; } } /* halo d'accent + trame de points en fond — purement décoratif, sous le texte */ .hero::before { content: ""; position: absolute; z-index: -1; top: -60px; right: -120px; width: 560px; height: 460px; pointer-events: none; background: radial-gradient(closest-side, rgba(36, 86, 230, 0.13), transparent 72%); } .hero::after { content: ""; position: absolute; z-index: -1; inset: -20px -40px 0 0; pointer-events: none; background-image: radial-gradient(rgba(20, 24, 20, 0.16) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(112deg, transparent 58%, rgba(0, 0, 0, 0.85)); mask-image: linear-gradient(112deg, transparent 58%, rgba(0, 0, 0, 0.85)); } .hero h1 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; max-width: 900px; margin-top: 14px; color: var(--navy); } .hero h1 .outline { color: var(--navy); } .hero p.lede { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 18px 0 0; } .stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } .stat-chip { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-pill); padding: 8px 16px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-flat); transition: transform 0.13s ease, box-shadow 0.13s ease; } @media (hover: hover) { .stat-chip:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } } .stat-chip b { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; } .stat-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); animation: pulse 2.4s ease infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(36, 86, 230, 0.18); } } /* ================= Rangée d'avantages ================= */ .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 30px; } .benefit { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 11px 14px; box-shadow: var(--shadow-flat); transition: transform 0.15s ease, box-shadow 0.15s ease; } @media (hover: hover) { .benefit:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-off-mid); } } .benefit-ico { width: 42px; height: 42px; border-radius: var(--r-pill); flex: none; display: flex; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange); border: 1px solid rgba(36, 86, 230, 0.25); } .benefit-ico.blue { background: var(--blue-soft); color: var(--blue); border-color: rgba(28, 92, 65, 0.25); } .benefit-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); } @media (max-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; gap: 12px; } } /* ================= Filter bar ================= */ .filterbar { background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-off-soft); padding: 14px; margin: 34px 0 6px; display: flex; flex-direction: column; gap: 0; min-width: 0; } /* — rangée principale — */ .f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; } .f-search { flex: 1 1 240px; min-width: 0; max-width: 460px; display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--grey); padding: 0 16px; min-height: 52px; color: var(--ink-2); transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease; } .f-search:focus-within { background: var(--white); border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); color: var(--accent-deep); } .f-search input { border: none; background: none; outline: none; flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink); font-family: inherit; } .f-search input::placeholder { color: var(--ink-3); } .f-clear { border: none; background: var(--line); color: var(--ink-2); border-radius: 50%; width: 22px; height: 22px; font-size: 10px; cursor: pointer; flex: none; display: grid; place-items: center; transition: background 0.12s ease, color 0.12s ease; } .f-clear:hover { background: var(--ink); color: var(--white); } .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: 14px; background: var(--surface); padding: 7px 14px 6px; min-height: 52px; cursor: pointer; transition: box-shadow 0.15s ease, background 0.15s ease; } @media (hover: hover) { .f-ctl:hover { background: var(--grey); } } .f-ctl:focus-within { background: var(--white); box-shadow: 3px 3px 0 var(--accent); } .f-ctl > span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .f-ctl select { border: none; background: transparent; outline: none; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--navy); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px; 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; } .range-pair { display: flex; align-items: center; gap: 4px; } .range-pair select { max-width: 86px; } .range-sep { color: var(--ink-3); font-size: 11px; } .f-more { flex: none; align-self: stretch; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); color: var(--navy); padding: 0 20px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px; transition: transform 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, color 0.13s ease; } .f-more:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } .f-more:active { transform: none; box-shadow: none; } .f-more.on { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--accent); } .f-more.on:hover { transform: none; } .f-more-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; } .f-chev { width: 8px; height: 8px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform 0.18s ease, margin 0.18s ease; } .f-chev.up { transform: rotate(-135deg); margin-top: 4px; } /* — panneau avancé — */ .f-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 26px; border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 16px; min-width: 0; animation: adv-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1); } @keyframes adv-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } } .f-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; } .f-group > label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .f-group-end { justify-content: flex-end; } .f-group .btn:disabled { opacity: 0.4; cursor: default; } .f-native { border: 1.5px solid var(--ink); background: var(--grey); border-radius: var(--r-ctl); padding: 10px 30px 10px 14px; 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; } .f-native:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); background: var(--white); } /* segments (pilules soudées) */ .seg { display: inline-flex; flex-wrap: wrap; row-gap: 6px; } .seg button { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2); padding: 8px 14px; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 40px; transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease; } .seg button:first-child { border-radius: var(--r-pill) 0 0 var(--r-pill); margin-left: 0; padding-left: 16px; } .seg button:last-child { border-radius: 0 var(--r-pill) var(--r-pill) 0; padding-right: 16px; } .seg button:hover { background: var(--orange-soft); color: var(--orange-deep); } .seg button.on { background: var(--ink); border-color: var(--ink); color: var(--white); position: relative; z-index: 1; box-shadow: inset 0 -2.5px 0 var(--accent); } /* pastilles de filtres actifs — survol = intention de retrait (danger) */ .pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; } .pills .pill { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: var(--r-pill); padding: 6px 14px; font-size: 12.5px; font-weight: 600; text-transform: none; letter-spacing: normal; cursor: pointer; transition: all 0.13s ease; box-shadow: 2px 2px 0 var(--orange-soft); animation: pill-in 0.18s ease; } @keyframes pill-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } } .pills .pill:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); box-shadow: none; } .pills .pill:hover .pill-x { opacity: 1; } .pill-x { font-size: 10px; opacity: 0.6; } .pills .pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); box-shadow: none; } .pills .pill-clear:hover { background: var(--danger); color: #fff; } .chip-sep { width: 1px; align-self: stretch; background: var(--line); margin: 4px 4px; flex: none; } .link-btn { background: none; border: none; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; } .field { display: flex; flex-direction: column; gap: 5px; } .field label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); padding-left: 2px; } .field input, .field select { border: 1.5px solid var(--ink); background: var(--grey); border-radius: var(--r-ctl); padding: 11px 14px; font-size: 15px; color: var(--ink); outline: none; font-family: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; min-height: 44px; appearance: none; -webkit-appearance: none; } .field select { 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; padding-right: 30px; } .field input:focus, .field select:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(28, 92, 65, 0.15); } /* .btn / .btn-primary / .btn-ghost : fournis par tokens.css (ka-ui). */ /* ================= Chips ================= */ .chips { display: flex; gap: 8px; margin: 18px 0 4px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: var(--r-pill); padding: 9px 18px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 42px; transition: transform 0.13s, box-shadow 0.13s, background 0.13s, color 0.13s; } .chip:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } .chip:active { transform: none; box-shadow: none; } .chip.on { background: var(--ink); border-color: var(--ink); color: var(--accent); box-shadow: 3px 3px 0 var(--accent); } /* ================= Results ================= */ .results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; } .results-head h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--navy); } .results-head span { color: var(--ink-3); font-size: 12.5px; font-weight: 500; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 70px; } @media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; } } .card { background: var(--surface); border: 1.5px solid var(--ink); 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; } .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-off); } .card:focus-visible { outline: 3px solid rgba(28, 92, 65, 0.4); outline-offset: 2px; } .card-img { position: relative; aspect-ratio: 16/10.5; background: var(--grey); overflow: hidden; } .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .card:hover .card-img img { transform: scale(1.05); } .card-img .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-3); font-size: 34px; } .badge { position: absolute; top: 12px; left: 12px; border-radius: var(--r-pill); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.94); color: var(--navy); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .badge.type { background: var(--orange); color: var(--white); } .badge.right { left: auto; right: 12px; background: rgba(255, 255, 255, 0.92); } .card-body { padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .card-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--navy); } .card-price small { font-weight: 500; color: var(--ink-3); font-size: 11.5px; } .card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); } .card-meta { color: var(--ink-3); font-size: 12.5px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; } .card-meta .sep { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; } .card-foot { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; } .source-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); background: var(--blue-soft); border-radius: var(--r-pill); padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; } .avail { font-size: 11.5px; color: var(--ink-2); font-weight: 500; text-align: right; } /* ================= Skeletons ================= */ @keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } .skel { border-radius: var(--r-card); border: 1.5px solid var(--ink); overflow: hidden; background: var(--surface); } .skel .sk-img, .skel .sk-line { background: linear-gradient(90deg, #ececef 25%, #f7f7f9 50%, #ececef 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; } .skel .sk-img { aspect-ratio: 16/10.5; } .skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; } .skel .sk-line.short { width: 45%; } /* ================= Empty / error ================= */ .notice { text-align: center; padding: 72px 24px; color: var(--ink-2); } .notice .big { font-size: 44px; margin-bottom: 10px; } .notice h2 { color: var(--navy); } /* ================= Detail page ================= */ .detail { padding: 30px 0 90px; } .crumbs { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .crumbs a { border-bottom: 1.5px solid transparent; } .crumbs a:hover { color: var(--blue); border-color: var(--blue); } .detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; } @media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } } /* les enfants de grille ont min-width:auto par défaut : un contenu large (grille du quartier) déborderait de l'écran mobile sans ceci */ .detail-grid > * { min-width: 0; } .gallery { display: flex; flex-direction: column; gap: 10px; } .gallery-main { border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--ink); aspect-ratio: 16/10; background: var(--grey); cursor: zoom-in; box-shadow: var(--shadow-off-soft); } .gallery-main img { width: 100%; height: 100%; object-fit: cover; } .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; } .thumbs button { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4/3; background: var(--grey); transition: border-color 0.12s ease, transform 0.12s ease; } .thumbs button:hover { transform: translateY(-2px); } .thumbs button.on { border-color: var(--orange); } .thumbs img { width: 100%; height: 100%; object-fit: cover; } .panel { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 26px; position: sticky; top: 120px; } @media (max-width: 900px) { .panel { position: static; } } .panel .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); } .panel .price small { font-size: 12.5px; color: var(--ink-3); font-weight: 500; } .panel h1 { font-size: 22px; margin: 8px 0 2px; } .panel .loc { color: var(--ink-2); font-size: 14px; } .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; } @media (max-width: 380px) { .kv { grid-template-columns: 1fr; } } .kv .cell { background: var(--grey); border-radius: var(--r-ctl); padding: 10px 14px; } .kv .cell .k { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; } .kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); color: var(--navy); } /* .klabel : fourni par tokens.css (ka-ui). */ .panel .klabel, .f-bloc .klabel { display: block; margin-bottom: 8px; } .amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; } .amenity { background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 600; border: 1px solid rgba(28, 92, 65, 0.25); border-radius: var(--r-pill); padding: 5px 13px; } .cta { display: block; text-align: center; background: var(--orange); color: var(--white); font-weight: 600; font-family: var(--font-display); border-radius: var(--r-pill); padding: 15px; min-height: 48px; box-shadow: 0 8px 22px rgba(36, 86, 230, 0.34); transition: all 0.14s ease; } .cta:hover { background: var(--orange-deep); } .cta:active { transform: translateY(1px); } .panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; } /* ================= Lightbox ================= */ .lightbox { position: fixed; inset: 0; background: rgba(20, 24, 20, 0.94); z-index: var(--z-modal, 900); display: flex; align-items: center; justify-content: center; cursor: zoom-out; padding: max(16px, env(safe-area-inset-top)) 16px; } .lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 12px; } /* Lightbox v2 : balayage entre photos (scroll-snap) + pincement pour zoomer */ .lightbox-v2 { padding: 0; cursor: default; display: block; } .lightbox-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x pinch-zoom; } .lightbox-track::-webkit-scrollbar { display: none; } .lightbox-cell { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: max(52px, env(safe-area-inset-top)) 10px max(24px, env(safe-area-inset-bottom)); overflow: hidden; } .lightbox-cell img { max-width: 100%; max-height: 100%; border-radius: 10px; user-select: none; -webkit-user-drag: none; will-change: transform; } .lightbox-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); background: rgba(20, 24, 20, 0.6); color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .lightbox-count { position: fixed; left: 50%; transform: translateX(-50%); right: auto; top: max(22px, env(safe-area-inset-top)); bottom: auto; z-index: 3; } .lightbox-v2 .carousel-nav { position: fixed; z-index: 3; } /* visuel de secours (SmartImg) directement sous .carousel (galerie vide) */ .carousel > img { display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; } /* ================= Sources page ================= */ .sources { padding: 44px 0 90px; } .sources h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 6px; color: var(--navy); } .sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; } .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); } .src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; } .src-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); padding: 14px 18px; border-bottom: 1px solid var(--line-strong); background: var(--grey); } .src-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; } .src-table tr:last-child td { border-bottom: none; } .src-table tr:hover td { background: var(--navy-soft); } .src-table a { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid rgba(28, 92, 65, 0.35); } .pill { display: inline-block; border-radius: var(--r-pill); padding: 3px 10px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .pill.ok { background: var(--blue-soft); color: var(--blue); } .pill.todo { background: var(--orange-soft); color: var(--orange-deep); } .count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; color: var(--navy); } /* ================= Page Statistiques ================= */ .stats-page { padding: 44px 0 90px; } .stats-title { font-size: clamp(30px, 4.6vw, 46px); margin: 10px 0 6px; color: var(--navy); } .stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; } .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; } .tile { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 18px 20px; box-shadow: var(--shadow-flat); } .tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); } .tile-k { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 6px; } .hero-tile { background: var(--navy); color: var(--white); border-color: var(--navy); } .hero-tile .tile-v { color: var(--white); } .hero-tile .tile-k { color: rgba(255, 255, 255, 0.6); } .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; } .viz-card h2 { font-size: 19px; letter-spacing: -0.01em; color: var(--navy); } .viz-sub { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 20px; } .viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } @media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } } /* Histogramme (mono-série, bleu vif) */ .histo { display: flex; align-items: stretch; gap: 2px; height: 240px; } .histo-col { flex: 1; display: flex; flex-direction: column; min-width: 0; cursor: default; } .histo-bar-zone { flex: 1; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line-strong); } .histo-bar { width: 100%; background: var(--blue); border-radius: 6px 6px 0 0; min-height: 2px; transition: background 0.12s ease; } .histo-col:hover .histo-bar { background: var(--orange); } .histo-x { font-size: 9.5px; color: var(--ink-3); text-align: left; height: 18px; padding-top: 5px; overflow: visible; white-space: nowrap; } /* Barres horizontales (mono-série) */ .hbars { display: flex; flex-direction: column; gap: 7px; } .hbar-row { display: grid; grid-template-columns: minmax(96px, 170px) 1fr auto; gap: 12px; align-items: center; min-height: 26px; cursor: default; } .hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hbar-label a { border-bottom: 1.5px solid rgba(28, 92, 65, 0.35); } .hbar-label a:hover { color: var(--blue); } .hbar-track { background: var(--grey); border-radius: var(--r-pill); height: 18px; overflow: hidden; } .hbar-fill { display: block; height: 100%; background: var(--blue); border-radius: var(--r-pill); min-width: 2px; transition: background 0.12s ease; } .hbar-row:hover .hbar-fill { background: var(--orange); } .hbar-value { font-size: 11.5px; font-weight: 700; white-space: nowrap; color: var(--navy); } .hbar-value em { font-style: normal; font-weight: 500; color: var(--ink-3); } @media (max-width: 640px) { .hbar-row { grid-template-columns: minmax(80px, 110px) 1fr auto; gap: 8px; } .hbar-value em { display: none; } .viz-card { padding: 20px 16px 14px; } .histo { height: 170px; } } /* Infobulle */ .viz-tip { position: fixed; z-index: var(--z-toast, 950); pointer-events: none; max-width: 180px; background: var(--navy); color: var(--white); border-radius: 12px; padding: 9px 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px rgba(20, 24, 20, 0.35); } .viz-tip-title { font-family: var(--font-display); font-weight: 700; color: var(--orange); margin-bottom: 2px; } /* Vue tableau repliable (accessibilité / relief) */ .viz-table { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; } .viz-table summary { cursor: pointer; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); } .viz-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; } .viz-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 6px 10px; border-bottom: 1px solid var(--line-strong); } .viz-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); } .stats-foot { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 6px; } /* ================= Mobile : feuille de filtres + FAB ================= */ .sheet-head { display: none; } .sheet-handle { display: none; } .sheet-apply { display: none; } .sheet-backdrop { display: none; } .fab { display: none; } .fab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--white); color: var(--accent-deep); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 2px; } @media (max-width: 640px) { /* En-tête compact */ .header-inner { height: 56px; } .brand { font-size: 21px; } .nav a { padding: 8px 13px; font-size: 13.5px; } .ticker { font-size: 10.5px; padding: 6px 0; } /* Héro resserré + stats en rangée défilante */ .hero::before { width: 320px; height: 260px; top: -30px; right: -90px; } .hero h1 { font-size: clamp(30px, 8.6vw, 42px); } .hero p.lede { font-size: 15px; } .stat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; } .stat-row::-webkit-scrollbar { display: none; } .stat-chip { flex: 0 0 auto; white-space: nowrap; } /* La barre de filtres devient une feuille coulissante (bottom sheet) */ .filterbar { display: none; } .filterbar.open .f-primary { flex-direction: column; } .filterbar.open .f-search { align-self: stretch; max-width: none; min-height: 46px; } .filterbar.open .f-search input { font-size: 16px; } /* anti-zoom iOS */ .filterbar.open .f-ctl select { max-width: none; width: 100%; } .filterbar.open .f-more { display: none; } .filterbar.open .f-adv { margin-top: 4px; } .filterbar.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900); margin: 0; border-radius: 24px 24px 0 0; border: none; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(20, 24, 20, 0.28); animation: sheet-up 0.24s cubic-bezier(0.2, 0.9, 0.3, 1); } @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } } .filterbar.open .sheet-handle { display: block; flex: none; width: 44px; height: 5px; border-radius: var(--r-pill); background: var(--line); margin: 0 auto 2px; } .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--navy); position: sticky; top: -10px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px; z-index: 1; } .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; color: var(--navy); } .filterbar.open .sheet-apply { display: block; width: 100%; min-height: 50px; position: sticky; bottom: 0; z-index: 1; box-shadow: 0 -14px 18px -12px rgba(20, 24, 20, 0.35), 5px 5px 0 var(--accent); } .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.45); backdrop-filter: blur(2px); } /* Bouton flottant */ .fab { display: flex; align-items: center; gap: 6px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(74px + env(safe-area-inset-bottom) + var(--consent-h, 0px)); z-index: 80; background: var(--orange); color: var(--white); border: none; border-radius: var(--r-pill); padding: 13px 24px; font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 10px 28px rgba(36, 86, 230, 0.4); } .fab:active { transform: translateX(-50%) scale(0.97); } /* Fiche logement : vignettes en bande défilante + panneau non collant */ .thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .thumbs::-webkit-scrollbar { display: none; } .thumbs button { flex: 0 0 96px; } .detail { padding-top: 20px; } .panel { padding: 20px; } .panel .price { font-size: 28px; } .results-head { margin-top: 20px; } .chips { margin-right: -16px; padding-right: 16px; } .notice { padding: 48px 16px; } } /* ================= Barre de navigation inférieure (mobile) ================= */ .tabbar { display: none; } @media (max-width: 760px) { .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bottombar, 600); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); } .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px; min-height: 48px; justify-content: center; font-size: 10.5px; font-weight: 600; color: var(--ink-3); border-radius: var(--r-ctl); transition: color 0.12s ease; } .tabbar a.active { color: var(--orange); } .tabbar a svg { display: block; } body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } } /* Anti-zoom iOS : les champs doivent faire >= 16px (filet global : tokens.css force aussi 16 px au doigt) */ @media (max-width: 900px) { .field input, .field select, .f-search input, .f-native, .f-ctl select, .ms-sort select { font-size: 16px; } } /* Cible tactile ≥44 px du logo (124×30 rendus) : zone étendue invisible */ @media (pointer: coarse) { .brand { position: relative; } .brand::after { content: ""; position: absolute; inset: -8px; } } /* ================= Footer ================= */ .footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); margin-top: 20px; padding: 44px 0 max(40px, env(safe-area-inset-bottom)); font-size: 13px; } .footer .fbrand { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--white); letter-spacing: -0.03em; margin-bottom: 4px; display: flex; align-items: center; } .footer .fbrand .logo-ico { margin-right: 13px; } .footer .fbrand .ka { color: var(--orange); } .footer .fbaseline { color: rgba(255, 255, 255, 0.65); font-size: 14px; margin-bottom: 16px; } .footer .fbaseline .hl { color: var(--orange); font-weight: 600; } .footer b { color: var(--white); } .footer .frow { display: flex; flex-direction: column; gap: 5px; max-width: 720px; } .footer .fmono { font-size: 11.5px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.42); margin-top: 18px; } /* --- Carte interactive (mission 4) --------------------------------------- */ .results-tools { display: flex; align-items: center; gap: 14px; } .view-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-flat); } .view-toggle button { border: 0; background: transparent; padding: 8px 16px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-2); font-family: var(--font-display); transition: background 0.12s ease, color 0.12s ease; } .view-toggle button:hover { background: var(--grey); color: var(--ink); } /* zone tactile >= 44 px au doigt (coarse pointer = mobile/tablette) */ @media (pointer: coarse) { .view-toggle button { min-height: 44px; padding: 10px 18px; } } .view-toggle button + button { border-left: 1px solid var(--line); } .view-toggle button.on { background: var(--ink); color: var(--white); box-shadow: inset 0 -2.5px 0 var(--accent); } .map-split { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; height: calc(100dvh - 170px); min-height: 420px; } .map-list { overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 4px; scrollbar-width: thin; } .map-list .card { margin: 0; flex: 0 0 auto; } .mapview { width: 100%; height: 100%; border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden; background: var(--grey); } .map-loading { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 13px; } /* mobile d'abord : carte plein écran, liste masquée (bascule via l'onglet) */ @media (max-width: 780px) { .map-split { grid-template-columns: 1fr; height: calc(100dvh - 210px); } .map-list { display: none; } .results-tools { width: 100%; justify-content: space-between; } } /* MapLibre popup in the Rent-Ka style */ .maplibregl-popup-content { padding: 0; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--ink); box-shadow: var(--shadow-off); font-family: var(--font-body); } .maplibregl-popup-close-button { font-size: 18px; padding: 2px 8px; color: var(--white); z-index: 2; text-shadow: 0 0 4px rgba(20, 24, 20, 0.8); } .mv-pop img, .mv-noimg { width: 100%; height: 130px; object-fit: cover; } .mv-noimg { display: flex; align-items: center; justify-content: center; font-size: 34px; background: var(--grey); } .mv-pop-body { padding: 10px 12px 12px; } .mv-pop-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); } .mv-pop-price small { font-weight: 400; color: var(--ink-3); font-size: 12px; } .mv-pop-title { font-size: 13px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mv-pop-meta { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; } .mv-pop-src { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; } .mv-pop-cta { display: block; margin-top: 10px; padding: 9px 10px; text-align: center; background: var(--orange); color: var(--white); border-radius: var(--r-pill); font-weight: 600; font-size: 13px; } .mv-pop-cta:hover { background: var(--orange-deep); } /* --- Commodités de proximité (fiche) -------------------------------------- */ .poi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; } .poi-list li { display: flex; align-items: center; gap: 9px; padding: 5px 2px; border-bottom: 1px solid var(--line); font-size: 13px; } .poi-list li:last-child { border-bottom: 0; } .poi-ico { width: 20px; text-align: center; flex: 0 0 auto; } .poi-name { flex: 1; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .poi-dist { font-size: 11.5px; color: var(--navy); font-weight: 600; flex: 0 0 auto; } /* --- Menu déroulant mobile ------------------------------------------------- */ .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: var(--shadow-flat); transition: box-shadow 0.15s ease, transform 0.15s ease; } .menu-btn:active { transform: scale(0.96); } .menu-btn span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; } .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .menu-btn.open span:nth-child(2) { opacity: 0; } .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* KA Nav v2 (2026-08-25) : panneau PLEIN ECRAN fixed inset:0 - visible peu importe le scroll (l'ancien dropdown absolute 480px clippait/se coupait). */ .mobile-menu { display: none; position: fixed; inset: 0; background: var(--paper); padding: 76px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; } .mobile-menu.open { display: block; animation: mm-in 0.16s ease; } @keyframes mm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } /* burger masque a l'ouverture : la fermeture passe par le X fixe du panneau */ .header:has(.mobile-menu.open) .menu-btn { visibility: hidden; } /* bouton de fermeture du panneau : fixe en haut a droite du viewport */ .mm-close { position: fixed; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; } /* verrou du scroll d'arriere-plan quand le menu est ouvert (CSS pur) */ html:has(.mobile-menu.open) { overflow: hidden; } /* Le drawer vit DANS le header : quand il est ouvert, le header monte au niveau modal pour peindre au-dessus du .mm-backdrop (frère du header, overlay 800). */ .header:has(.mobile-menu.open) { z-index: var(--z-modal, 900); } .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: 1px solid var(--line); color: var(--navy); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; } .mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); } .mm-link.active { color: var(--orange); } .mm-link.active .mm-arrow { opacity: 1; color: var(--orange); } .mm-ico { width: 26px; text-align: center; font-size: 17px; } .mm-arrow { margin-left: auto; opacity: 0.25; color: var(--orange); transition: opacity 0.15s ease; } .mm-link:active { background: var(--orange-soft); border-radius: var(--r-ctl); } .mm-foot { padding: 12px 10px 4px; font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; } .mm-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px); } @media (max-width: 760px) { .menu-btn { display: flex; } .nav { display: none; } } /* --- Bandeau de consentement (témoins) ------------------------------------- */ .cookie-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; animation: cookie-in 0.35s ease; } @keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } } .cookie-inner { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off); padding: 16px 18px; } .cookie-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; } .cookie-text b { color: var(--navy); } .cookie-text a { text-decoration: underline; text-underline-offset: 2px; } .cookie-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } .cookie-opt { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; } .cookie-opt input { margin-top: 2px; accent-color: var(--orange); width: 16px; height: 16px; } .cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-end; } @media (max-width: 640px) { .cookie-actions { justify-content: stretch; } .cookie-actions .btn { flex: 1; text-align: center; justify-content: center; } } /* --- Page confidentialité + lien pied de page ------------------------------- */ .legal { padding: 48px 0 70px; max-width: 760px; } .legal h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 8px; letter-spacing: -0.03em; color: var(--navy); } .legal section { margin-top: 26px; } .legal h3 { font-size: 18px; margin-bottom: 8px; } .legal p, .legal li { color: var(--ink-2); font-size: 14.5px; } .legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; } .flink { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; } /* --- Section « Le quartier » (fiche) --------------------------------------- */ .quartier { margin-top: 34px; } .quartier h2 { font-size: 24px; letter-spacing: -0.02em; color: var(--navy); } .q-sub { color: var(--ink-3); font-size: 13px; margin: 4px 0 16px; } .q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } @media (max-width: 640px) { .q-grid { grid-template-columns: repeat(2, 1fr); } } .q-cell { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 12px 14px; box-shadow: var(--shadow-flat); } .q-val { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--navy); } .q-label { font-size: 10.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; } .q-prox { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; } .q-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; } .q-bar-label { flex: 0 0 150px; color: var(--ink-2); } @media (max-width: 640px) { .q-bar-label { flex-basis: 120px; font-size: 12px; } } .q-bar-track { flex: 1; height: 10px; background: var(--grey); border-radius: var(--r-pill); overflow: hidden; } .q-bar-fill { display: block; height: 100%; background: var(--blue); border-radius: var(--r-pill); } .q-bar-num { flex: 0 0 30px; text-align: right; font-size: 11.5px; font-weight: 700; color: var(--navy); } .q-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .q-badge { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); padding: 7px 14px; font-size: 12.5px; background: var(--surface); } .q-badge.cool { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.3); color: var(--blue); } .q-badge.hot { background: var(--orange-soft); border-color: rgba(36, 86, 230, 0.35); color: var(--orange-deep); } .quartier .fine { margin-top: 10px; } /* --- Fiche v2 (mobile-first) ------------------------------------------------ */ /* Ordre DOM = ordre visuel sur TOUS les breakpoints (standard Groupe Ka « Ordre des sections — pages détail »). Interdit : `order` / `column-reverse` / `display:contents` pour réordonner — les blocs sans `order` retombaient à order:0 et passaient devant la galerie sur mobile. Mobile : colonnes empilées ; desktop : grid 2 colonnes (logement | synthèse). */ .fiche { display: flex; flex-direction: column; gap: 22px; } .f-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; } @media (min-width: 900px) { .fiche { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; } .f-col { gap: 26px; } } .f-bloc { min-width: 0; } .f-bloc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--navy); } .f-bloc:empty { display: none; } /* galerie à balayage natif */ .carousel { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--ink); background: var(--grey); box-shadow: var(--shadow-off-soft); } .carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; aspect-ratio: 16/11; } .carousel-track::-webkit-scrollbar { display: none; } .carousel-track img { flex: 0 0 100%; width: 100%; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; } .carousel-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/11; font-size: 48px; } .carousel-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(20, 24, 20, 0.78); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .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); color: var(--navy); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: var(--shadow-flat); } .carousel-nav.prev { left: 10px; } .carousel-nav.next { right: 10px; } @media (max-width: 640px) { .carousel-nav { display: none; } } /* balayage natif */ /* bandeau prix + badge marché */ .f-hero .price { font-size: clamp(34px, 8vw, 44px); } .deal-badge { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 4px; border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--ink); } .deal-good { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.3); color: var(--blue); } .deal-ok { background: var(--surface); color: var(--ink-2); } .deal-high { background: var(--orange-soft); border-color: rgba(36, 86, 230, 0.35); color: var(--orange-deep); } .f-hero h1 { font-size: clamp(20px, 4.5vw, 26px); margin-top: 8px; } /* chips clés à défilement horizontal */ .chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .chips-scroll::-webkit-scrollbar { display: none; } .chip-key { flex: 0 0 auto; background: var(--navy); color: var(--white); border-radius: var(--r-pill); padding: 8px 15px; font-size: 12px; font-weight: 600; white-space: nowrap; min-height: 34px; display: inline-flex; align-items: center; } /* ancres de navigation rapide */ .ancres { display: flex; gap: 4px; overflow-x: auto; padding: 6px 0 2px; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 8px; } .ancres::-webkit-scrollbar { display: none; } .ancres a { flex: 0 0 auto; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-radius: var(--r-pill); min-height: 44px; display: inline-flex; align-items: center; } .ancres a:hover { background: var(--orange-soft); color: var(--orange); } html { scroll-padding-top: 76px; } /* header sticky au-dessus des ancres */ /* description restructurée */ .enbref { background: var(--blue-soft); border: 1px solid rgba(28, 92, 65, 0.25); border-radius: var(--r-card); padding: 12px 16px; color: var(--navy); font-size: 15px; margin: 0 0 14px; } .desc-section { margin-bottom: 12px; } .desc-section h4 { font-size: 15px; margin-bottom: 3px; } .desc-section p { color: var(--ink-2); font-size: 14.5px; margin: 0; white-space: pre-line; } .texte-original { margin-top: 12px; } .texte-original summary { cursor: pointer; font-size: 12.5px; color: var(--ink-3); min-height: 44px; display: flex; align-items: center; } .texte-original p { color: var(--ink-3); font-size: 13px; white-space: pre-line; } /* inclusions : confirmées vs mentionnées */ .amenity.confirmed { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.25); color: var(--blue); font-weight: 600; } .amenity.unconfirmed { background: transparent; border-style: dashed; border-color: var(--line-strong); color: var(--ink-3); } /* détails pratiques : historique de prix */ .prix-histo { margin-top: 12px; padding: 10px 14px; border-radius: var(--r-card); border: 1.5px solid var(--ink); font-size: 13.5px; background: var(--surface); } .prix-histo.down { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.3); color: var(--blue); } /* quartier compacté sur mobile */ @media (max-width: 640px) { .q-cell { padding: 9px 11px; } .q-val { font-size: 16px; } .q-bar { gap: 8px; font-size: 12px; } .q-bar-track { height: 8px; } } .q-badge-sub { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 400; margin-left: 4px; } /* POI groupés repliables */ .poi-groupe { border: 1.5px solid var(--ink); border-radius: var(--r-card); margin-bottom: 8px; background: var(--surface); overflow: hidden; } .poi-groupe summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 14px; min-height: 48px; list-style: none; } .poi-groupe summary::-webkit-details-marker { display: none; } .poi-groupe summary::after { content: "▾"; color: var(--ink-3); transition: transform 0.15s ease; } .poi-groupe[open] summary::after { transform: rotate(180deg); } .poi-resume { font-size: 11.5px; color: var(--ink-3); font-weight: 400; } .poi-groupe .poi-list { padding: 0 14px 10px; } /* CTA sticky mobile */ .cta-sticky { position: fixed; left: 0; right: 0; z-index: var(--z-dropdown, 700); bottom: var(--consent-h, 0px); display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); } .cta-sticky .cta { flex: 1; margin: 0; text-align: center; } .cta-sticky-prix { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; color: var(--navy); } .cta-sticky-prix small { font-weight: 500; font-size: 10px; color: var(--ink-3); } @media (min-width: 900px) { .cta-sticky { display: none; } } @media (max-width: 899px) { .cta-desktop { display: none; } .detail { padding-bottom: 84px; } /* place pour le CTA sticky */ } .f-foot { margin-top: 26px; } /* --- Fiche court terme : hébergements similaires (pleine largeur) --- */ .f-similaires { margin-top: 22px; } .f-similaires .grid { margin-top: 4px; } /* --- Passerelle vers l'annonce originale ------------------------------------ */ .passerelle { min-height: calc(100dvh - 120px); display: flex; align-items: center; justify-content: center; padding: 24px 16px; } .pass-card { width: 100%; max-width: 520px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off); padding: 30px 28px; text-align: center; } .pass-brands { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; } .pass-brand { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; display: inline-flex; align-items: center; color: var(--navy); } .pass-brand .ka { color: var(--orange); } .pass-trajet { display: inline-flex; align-items: center; gap: 5px; } .pass-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0.25; animation: pass-dot 1.2s ease infinite; } .pass-dot:nth-child(2) { animation-delay: 0.2s; } .pass-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes pass-dot { 40% { opacity: 1; transform: translateX(2px); } } .pass-fleche { color: var(--orange); font-size: 18px; } .pass-gestionnaire { font-family: var(--font-display); font-weight: 700; font-size: 19px; display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft); border: 1px solid rgba(28, 92, 65, 0.25); border-radius: var(--r-pill); padding: 6px 16px; color: var(--blue); } .pass-card h1 { font-size: 20px; letter-spacing: -0.02em; } .pass-texte { color: var(--ink-2); font-size: 14.5px; margin: 10px 0 20px; } .pass-progress { height: 10px; border-radius: var(--r-pill); overflow: hidden; background: var(--grey); margin-bottom: 20px; } .pass-progress-fill { display: block; height: 100%; width: 0; background: var(--orange); border-radius: var(--r-pill); } .pass-progress-fill.go { animation: pass-fill 2.2s linear forwards; } @keyframes pass-fill { to { width: 100%; } } @media (prefers-reduced-motion: reduce) { .pass-progress-fill.go { animation: none; width: 100%; } .pass-dot { animation: none; opacity: 0.7; } } .pass-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; } /* --- boutons PDF -------------------------------------------------------- */ .btn-pdf { display: block; text-align: center; margin-top: 10px; width: 100%; } /* --- Onglets de la page Stats -------------------------------------------- */ .onglets { display: flex; gap: 8px; overflow-x: auto; margin: 26px 0 22px; padding-bottom: 4px; scrollbar-width: none; border-bottom: 1px solid var(--line); } .onglets::-webkit-scrollbar { display: none; } .onglet { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 10px 18px; font-weight: 600; font-size: 13.5px; min-height: 44px; margin-bottom: 8px; transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease; } .onglet:hover { background: var(--blue-soft); color: var(--blue); border-color: var(--blue); } .onglet.on { background: var(--blue); border-color: var(--blue); color: var(--white); } /* baisses de prix */ .baisses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; } .baisses li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; } .baisses li a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; } .baisse-ville { color: var(--ink-3); font-size: 11.5px; } .baisse-prix { margin-left: auto; } .baisse-prix s { color: var(--ink-3); } .baisse-pct { font-style: normal; font-weight: 700; background: var(--blue-soft); color: var(--blue); border-radius: var(--r-pill); padding: 2px 9px; font-size: 11px; margin-left: 8px; } .alertes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); } /* ================= Pagination (12 annonces/page) ================= */ .pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); } .pager-info { font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em; } .pager-info em { font-style: normal; color: var(--ink-3); } .pager-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .pager-btn { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-pill); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--navy); transition: all 0.12s ease; } .pager-btn:hover:not(:disabled):not(.on) { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); } .pager-btn.on { background: var(--navy); border-color: var(--navy); color: var(--white); cursor: default; } .pager-btn:disabled { opacity: 0.35; cursor: not-allowed; } .pager-ellipsis { color: var(--ink-3); padding: 0 2px; } .map-list .pager { margin: 10px 0 4px; } @media (max-width: 640px) { .pager { justify-content: center; } .pager-info { width: 100%; text-align: center; order: 2; } } /* ================= Icônes SVG inline — alignement ================= */ .chip-ico { display: inline-flex; align-items: center; gap: 6px; } .chip-ico svg { flex: none; } .view-toggle button, .seg button { display: inline-flex; align-items: center; gap: 6px; } .fab { align-items: center; gap: 8px; } .fab svg { flex: none; } .mm-ico { display: inline-flex; align-items: center; } .notice .big { display: flex; justify-content: center; color: var(--ink-3); } .notice .big svg { display: block; } .card-img .noimg { color: var(--ink-3); } .badge.right { display: inline-flex; align-items: center; gap: 4px; } .btn-pdf { display: inline-flex; align-items: center; gap: 7px; } .f-search svg { flex: none; color: var(--ink-3); } .mv-noimg { display: flex; align-items: center; justify-content: center; color: var(--ink-3); } /* footer — liens (Groupe KA, courriels, mentions légales) */ .footer .frow a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(36, 86, 230, 0.5); text-underline-offset: 3px; } .footer .frow a:hover { color: var(--orange); } .footer .fmono a:hover { color: var(--orange); } /* ================= Compte (connexion Google) ================= */ .login-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-left: 10px; min-height: 38px; background: var(--navy); border: none; border-radius: var(--r-pill); font-weight: 600; font-size: 13.5px; color: var(--white); transition: all 0.12s ease; white-space: nowrap; box-shadow: 0 4px 14px rgba(20, 24, 20, 0.22); } .login-btn:hover { background: var(--blue); } .account { position: relative; margin-left: 10px; } .account-btn { width: 38px; height: 38px; padding: 0; border: 2px solid var(--orange); border-radius: var(--r-pill); overflow: hidden; cursor: pointer; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; } .account-btn img { width: 100%; height: 100%; object-fit: cover; } .account-initial { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--orange); } /* Click-catcher plein écran rendu via createPortal à la racine de (un fixed descendant du header blurré se re-parentait → 66 px de haut). z-index SOUS le header (50) : le menu .account-menu reste ancré DANS le header et doit peindre au-dessus du voile. */ .account-backdrop { position: fixed; inset: 0; z-index: 40; } .account-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 91; min-width: 220px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off); overflow: hidden; } .account-id { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .account-id b { font-size: 14px; } .account-id span { font-size: 11.5px; color: var(--ink-3); word-break: break-all; } .account-menu button { width: 100%; text-align: left; padding: 11px 14px; border: 0; cursor: pointer; background: transparent; font-weight: 600; font-size: 13.5px; color: var(--danger); } .account-menu button:hover { background: var(--orange-soft); color: var(--navy); } @media (max-width: 640px) { .login-btn { padding: 8px 12px; font-size: 12.5px; } } /* ================= Profil — carte de membre Groupe KA ================= */ .profil { padding-top: 40px; padding-bottom: 60px; } .profil h1 { font-size: clamp(30px, 5vw, 44px); margin: 10px 0 26px; color: var(--navy); } .profil .lede { max-width: 520px; color: var(--ink-2); margin-bottom: 22px; } .pc { position: relative; max-width: 520px; overflow: hidden; background: linear-gradient(135deg, #101a40 0%, var(--navy) 55%, #080e24 100%); color: var(--white); border-radius: 20px; padding: 24px 26px 0; box-shadow: var(--shadow-off); } .pc-watermark { position: absolute; right: -18px; top: -34px; pointer-events: none; font-family: var(--font-display); font-weight: 700; font-size: 170px; letter-spacing: -0.06em; color: rgba(36, 86, 230, 0.07); transform: rotate(-8deg); line-height: 1; } .pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .pc-brand { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; } .pc-ka { color: var(--orange); margin-left: 1px; display: inline-block; } .pc-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.5); } .pc-id-block { margin: 26px 0 22px; display: flex; flex-direction: column; gap: 4px; } .pc-id-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(36, 86, 230, 0.75); } .pc-id { font-weight: 700; color: var(--orange); font-size: clamp(22px, 6vw, 34px); letter-spacing: 0.14em; text-shadow: 0 0 24px rgba(36, 86, 230, 0.35); } .pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-bottom: 18px; } .pc-holder { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pc-holder-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pc-holder-since { font-size: 10.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; } .pc-role-badge { display: inline-block; width: fit-content; margin: 3px 0 2px; background: var(--orange); color: var(--white); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 2px 8px 3px; border-radius: var(--r-pill); } .pc-avatar { width: 52px; height: 52px; border-radius: var(--r-pill); border: 2px solid var(--orange); flex: none; } .pc-strip { display: flex; gap: 5px; margin: 0 -26px; padding: 9px 18px; background: rgba(36, 86, 230, 0.1); border-top: 1px solid rgba(36, 86, 230, 0.25); overflow: hidden; } .pc-strip i { display: block; width: 3px; border-radius: 1px; background: var(--orange); opacity: 0.7; } .pc-strip i:nth-child(3n) { height: 14px; opacity: 0.35; } .pc-strip i:nth-child(3n+1) { height: 9px; } .pc-strip i:nth-child(3n+2) { height: 17px; opacity: 0.9; } .pc-copy { margin-top: 16px; } .pc-copy.ok { background: var(--blue); color: var(--white); } .profil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 30px; max-width: 760px; } .pg-item { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-flat); } .pg-label { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } .pg-value { font-weight: 600; font-size: 14.5px; word-break: break-word; } .pg-value.mono { color: var(--blue); } .profil-note { max-width: 640px; color: var(--ink-2); font-size: 13.5px; margin-top: 22px; } .profil-note a { text-decoration: underline; text-underline-offset: 3px; } .profil-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; } .profil-actions .btn { display: inline-flex; align-items: center; gap: 7px; } .account-kaid { font-size: 10.5px; color: var(--blue); letter-spacing: 0.08em; } .account-link { display: block; width: 100%; text-align: left; padding: 11px 14px; font-weight: 600; font-size: 13.5px; color: var(--navy); border-bottom: 1px solid var(--line); } .account-link:hover { background: var(--orange-soft); } /* profil public — section + lien partageable */ .profil-public { margin-top: 30px; max-width: 640px; } .profil-public h3 { font-size: 18px; margin-bottom: 6px; } .profil-public p { color: var(--ink-2); font-size: 13.5px; margin: 0 0 12px; } .public-link { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; background: var(--blue-soft); border: 1px solid rgba(28, 92, 65, 0.25); border-radius: var(--r-card); } .public-link a { font-size: 13px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; } /* ================= Bienvenue — choix du rôle ================= */ .bienvenue { padding-top: 44px; padding-bottom: 70px; } .bienvenue h1 { font-size: clamp(30px, 5vw, 46px); margin: 10px 0 14px; color: var(--navy); } .bienvenue .lede { max-width: 480px; color: var(--ink-2); margin-bottom: 30px; } .role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 780px; } .role-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; padding: 24px 24px 20px; cursor: pointer; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-flat); font-family: var(--font-body); transition: all 0.15s ease; } .role-card:hover:not(:disabled) { transform: translateY(-4px); box-shadow: var(--shadow-off); border-color: rgba(36, 86, 230, 0.4); } .role-card:disabled { opacity: 0.6; cursor: wait; } .role-ico { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange); border-radius: 16px; } .role-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--navy); } .role-desc { color: var(--ink-2); font-size: 13.5px; } .role-perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; } .role-perks li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); } .role-perks li::before { content: "✓"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .role-cta { margin-top: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); } /* ================= Favoris — cœur sur les cartes ================= */ .fav-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.94); border: none; border-radius: var(--r-pill); cursor: pointer; color: var(--navy); box-shadow: var(--shadow-flat); transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease; } .fav-btn:hover { transform: scale(1.12); } .fav-btn.on { background: var(--white); color: var(--orange); } .fav-btn.on svg { filter: drop-shadow(0 0 3px rgba(36, 86, 230, 0.35)); } /* ================= Espace gestionnaire ================= */ .claim-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; max-width: 640px; } .claim-row select { flex: 1; min-width: 260px; padding: 11px 14px; font-size: 14px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); font-family: var(--font-body); } .claim-error { color: var(--danger); font-size: 13.5px; font-weight: 600; margin-top: 10px; } .org-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 22px; } .org-stat { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); } .org-form { max-width: 640px; display: flex; flex-direction: column; gap: 14px; } .org-form h3 { font-size: 18px; } .org-form label { display: flex; flex-direction: column; gap: 5px; flex: 1; } .org-form label span { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .org-form input, .org-form textarea { padding: 10px 14px; font-size: 14px; font-family: var(--font-body); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); } .org-form textarea { resize: vertical; } .org-form input:focus, .org-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28, 92, 65, 0.15); } .org-form-row { display: flex; gap: 12px; flex-wrap: wrap; } .org-form .btn { align-self: flex-start; } /* ================= Page publique /g/{source} ================= */ .orgpub-head { display: flex; gap: 20px; align-items: flex-start; margin-top: 8px; } .orgpub-logo { width: 84px; height: 84px; object-fit: contain; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 18px; padding: 8px; flex: none; box-shadow: var(--shadow-flat); } .orgpub-id h1 { font-size: clamp(26px, 4.4vw, 40px); margin: 6px 0 8px; color: var(--navy); } .orgpub-tagline { font-size: 16px; color: var(--ink-2); margin: 0 0 12px; max-width: 640px; } .orgpub-meta { display: flex; gap: 8px; flex-wrap: wrap; } .orgpub-meta a.stat-chip:hover { background: var(--blue-soft); } .orgpub-verified { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.3); color: var(--blue); font-weight: 600; } .orgpub-desc { max-width: 720px; color: var(--ink-2); margin: 18px 0 6px; white-space: pre-line; } .orgpub .results-head h2 { display: inline-flex; align-items: center; gap: 8px; } @media (max-width: 560px) { .orgpub-head { flex-direction: column; } } /* ================= Éditeur de profil (photo, bio, réseaux) ================= */ .profil-edit { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-strong); } /* profil géré au hub Groupe KA — lecture seule */ .hub-profile .hub-bio { color: var(--ink-2); font-size: 14px; margin: 0; max-width: 560px; } .hub-profile .pub-meta { display: flex; gap: 8px; flex-wrap: wrap; } .hub-profile .stat-chip { display: inline-flex; align-items: center; gap: 6px; } .hub-profile a.stat-chip:hover { background: var(--blue-soft); } .hub-profile .btn-primary { display: inline-flex; align-items: center; gap: 7px; } .pe-avatar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .pe-avatar { width: 84px; height: 84px; border-radius: var(--r-pill); object-fit: cover; border: 2.5px solid var(--orange); box-shadow: var(--shadow-flat); display: flex; align-items: center; justify-content: center; } .pe-avatar-empty { background: var(--orange-soft); color: var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 34px; } .pe-avatar-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .pe-avatar-actions .btn { display: inline-flex; align-items: center; gap: 7px; } .pe-hint { font-size: 11px; color: var(--ink-3); } .pe-socials-title { font-size: 15px; margin-top: 6px; } .pe-socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; } .pe-social { display: flex !important; flex-direction: row !important; align-items: center; gap: 0 !important; } .pe-social-ico { display: flex; align-items: center; justify-content: center; width: 40px; align-self: stretch; flex: none; background: var(--navy); color: var(--white); border-radius: var(--r-ctl) 0 0 var(--r-ctl); } .pe-social input { flex: 1; border-radius: 0 var(--r-ctl) var(--r-ctl) 0; border-left: 0; } /* profil public — à propos + réseaux */ .pub-about { max-width: 640px; margin-top: 22px; } .pub-bio { font-size: 15.5px; color: var(--ink); margin: 0 0 12px; white-space: pre-line; } .pub-meta { display: flex; gap: 8px; flex-wrap: wrap; } .pub-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; } .pub-social { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 14px; color: var(--navy); transition: all 0.12s ease; } .pub-social:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-off-soft); } /* ----------------------------------------------------------------------------- Rent-Ka Maps (Ka Maps framework by Groupe Ka) Jetons du design system appliqués au chrome de la carte + sync liste↔carte. ----------------------------------------------------------------------------- */ .mapview .ka-map { --ka-accent: var(--accent); --ka-on-accent: var(--on-accent); --ka-surface: var(--surface); --ka-ink: var(--navy); --ka-line: var(--line-strong); --ka-radius: var(--r-ctl); --ka-shadow: 0 8px 24px rgba(20, 24, 20, 0.14); --ka-font: var(--font-body); } .mapview { position: relative; overflow: hidden; } .mapview .ka-map { position: absolute; inset: 0; } /* mini-carte 3D de la fiche (Emplacement) — bâtiment de l'annonce en orange */ .lmap3d { position: relative; height: 340px; border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden; background: var(--grey); } .lmap3d .ka-map { --ka-accent: var(--accent); --ka-on-accent: var(--on-accent); --ka-surface: var(--surface); --ka-ink: var(--navy); --ka-line: var(--line-strong); --ka-radius: var(--r-ctl); --ka-shadow: 0 8px 24px rgba(20, 24, 20, 0.14); --ka-font: var(--font-body); position: absolute; inset: 0; } .lmap3d-skel { background: linear-gradient(90deg, #ececef 25%, #f7f7f9 50%, #ececef 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; } .lmap3d-legende { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); font-size: 10.5px; font-weight: 500; color: var(--ink-2); pointer-events: none; } .lmap3d-legende i { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); border: 1px solid rgba(20, 24, 20, 0.25); } @media (max-width: 780px) { .lmap3d { height: 280px; } } .ka-preview .mv-pop img, .ka-preview .mv-noimg { height: 120px; } .ka-preview-sheet .mv-pop { display: grid; grid-template-columns: 130px 1fr; } .ka-preview-sheet .mv-pop img, .ka-preview-sheet .mv-noimg { height: 100%; min-height: 120px; } /* carte de liste synchronisée avec la carte (survol / sélection) */ .map-card { border-radius: var(--r-card); } .map-card-sel { outline: 2px solid var(--blue); outline-offset: 2px; } /* ============================================================================= HARMONISATION « ÉDITORIAL SHARP » (Groupe KA) — couche finale posée après les styles historiques : géométrie 10/6 px, bordures encre 1,5 px, ombres décalées dures, Rent-Ka cobalt accent. La carte Ka Maps (Mapbox) conserve son propre thème marine/orange à l'intérieur du canevas. ============================================================================= */ /* — contrôles : plus de pilules (les chips/badges gardent --r-pill) — */ .nav a, .login-btn, .cta, .mv-pop-cta, .f-search, .f-more, .pager-btn, .onglet, .view-toggle, .fab, .f-ctl, .pass-gestionnaire, .hbar-track, .q-bar-track, .pass-progress { border-radius: var(--r-ctl); } .seg button:first-child { border-radius: var(--r-ctl) 0 0 var(--r-ctl); } .seg button:last-child { border-radius: 0 var(--r-ctl) var(--r-ctl) 0; } /* — header : papier translucide + trait d'encre — */ .header { background: rgba(245, 243, 238, 0.92); border-bottom: 1.5px solid var(--ink); } .nav a { font-family: var(--font-display); } .nav a:hover { color: var(--accent-deep); background: var(--accent-soft); } .nav a.active { background: var(--ink); color: var(--accent); } .brand .ka { background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 0 6px 2px; margin-left: 2px; transform: rotate(-2deg); } .header .gk-badge { margin-left: 4px; flex: none; } @media (max-width: 1080px) { .header .gk-badge { display: none; } } .mm-badge { display: flex; align-items: center; min-height: var(--touch); padding: 8px 10px 2px; } /* — ticker : encre + mono — */ .ticker { font-family: var(--font-mono); border-bottom: 1.5px solid var(--ink); } /* — états sélectionnés : encre + accent (fini le bleu) — */ .seg button.on, .onglet.on, .view-toggle button.on, .f-more.on { background: var(--ink); border-color: var(--ink); color: var(--accent); } .pager-btn.on { background: var(--ink); border-color: var(--ink); color: var(--accent); } /* — CTA / FAB : aplat accent, bordure encre, ombre décalée — */ .cta, .mv-pop-cta, .fab { background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-display); font-weight: 700; } .cta:hover, .mv-pop-cta:hover, .fab:hover { background: var(--accent-deep); } .cta:active, .fab:active { box-shadow: none; } .fab { box-shadow: 4px 4px 0 var(--ink), 0 10px 28px rgba(20, 24, 20, 0.25); } .login-btn { background: var(--ink); color: var(--accent); border: 1.5px solid var(--ink); box-shadow: none; font-family: var(--font-display); font-weight: 700; } .login-btn:hover { background: var(--accent-deep); color: var(--on-accent); } /* — cartes : levée nette diagonale (signature du groupe) — */ .card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-off); } .role-card:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: var(--shadow-off); border-color: var(--ink); } .badge { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; } .badge.type { background: var(--accent); color: var(--on-accent); } .source-tag { font-family: var(--font-mono); } /* — barre d'onglets mobile : papier + encre, actif = accent orange — */ @media (max-width: 760px) { .tabbar { background: rgba(245, 243, 238, 0.95); border-top: 1.5px solid var(--ink); } .tabbar a { font-family: var(--font-display); } .tabbar a.active { color: var(--accent); } } .mobile-menu { background: var(--paper); border-bottom: 1.5px solid var(--ink); } /* — carte de membre KA : encre plutôt que marine — */ .pc { background: linear-gradient(135deg, #1d231d 0%, var(--ink) 55%, #0b0e0b 100%); } /* — micro-étiquettes en mono (système) — */ .f-ctl > span, .f-group > label, .field label, .tile-k, .pg-label, .pc-label, .pc-id-label, .crumbs, .viz-sub { font-family: var(--font-mono); } /* — page Contact (design system) — */ .contact-page { padding: 44px 0 90px; } .contact-page h1 { margin: 10px 0 8px; } .contact-page .lede { color: var(--ink-2); max-width: 640px; margin: 0 0 26px; } .contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 26px 0; } @media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } } .contact-card { padding: 18px 20px; } .contact-card .klabel { display: block; margin-bottom: 6px; } .contact-card a.mail { font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; color: var(--accent-deep); word-break: break-all; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; } .contact-card p { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; } .contact-note { border-left: 3px solid var(--accent); background: var(--surface); border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 14px 18px; max-width: 720px; color: var(--ink-2); font-size: 14px; } .contact-note b { color: var(--ink); } .contact-sites { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .contact-sites a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; transition: transform 0.12s, box-shadow 0.12s; } .contact-sites a:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } .contact-hub { margin-top: 26px; } /* — rangée de navigation locale au-dessus du footer commun — */ .prefooter { border-top: 1.5px solid var(--ink); background: var(--surface-2); padding: 18px 0; } .prefooter .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; } .prefooter a, .prefooter .flink { color: var(--ink-2); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; min-height: var(--touch); display: inline-flex; align-items: center; } .prefooter a:hover, .prefooter .flink:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; } .prefooter .baseline { width: 100%; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-2); text-transform: none; letter-spacing: 0; } .ka-footer { margin-top: 0; } @media (max-width: 760px) { .ka-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } } /* ============ Juste valeur (fair value) — pastilles & analyse de prix ====== */ .fv-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill); padding: 6px 12px; font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--ink); white-space: nowrap; } .fv-badge .fv-ico { font-size: 10px; line-height: 1; } .fv-badge .fv-pct { margin-left: 4px; } .fv-badge.fv-compact { padding: 2px 8px; font-size: 11px; gap: 4px; margin-left: 8px; vertical-align: 2px; } /* états (mêmes jetons que les badges marché existants — daltonien-compatible : l'icône ▼ ≈ ▲ et le libellé portent l'information, pas la couleur seule) */ .fv-badge.deal-good { background: var(--blue-soft); border-color: rgba(28, 92, 65, 0.35); color: var(--blue); } .fv-badge.deal-ok { background: var(--surface); color: var(--ink-2); } .fv-badge.deal-high { background: var(--orange-soft); border-color: rgba(36, 86, 230, 0.4); color: var(--orange-deep); } .f-fairvalue .fv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; } .f-fairvalue .fv-value { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--navy); } .f-fairvalue .fv-value small { font-size: 12px; font-weight: 500; color: var(--ink-3); } .f-fairvalue .fv-range { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; } .fv-histo { display: block; width: 100%; height: auto; margin: 10px 0 4px; } .fv-histo-lbl { font: 700 10px Inter, system-ui, sans-serif; fill: var(--ink); } .fv-histo-lbl-fv { fill: var(--accent-deep, #1738a8); } .fv-histo-axis { font: 500 9px Inter, system-ui, sans-serif; fill: var(--ink-3); } .fv-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); margin: 6px 0 4px; } .fv-demo { display: flex; flex-wrap: wrap; gap: 8px; } .chip.chip-deal.on { background: var(--blue); border-color: var(--blue); color: var(--white); } /* ============================================================================= MapSearch — recherche synchronisée liste ↔ carte (search/MapSearch.tsx) Une seule vérité partagée : compteur, tri, survols et sélections miroirs. ============================================================================= */ .ms { position: relative; } .ms-list { position: relative; scroll-behavior: smooth; } .ms-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 2px 2px 4px; } .ms-count { font-size: 13.5px; color: var(--ink-2); } .ms-count b { color: var(--ink); font-size: 15px; } .ms-nopos { margin-left: 8px; font-size: 11px; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: var(--r-pill); padding: 2px 8px; cursor: help; } .ms-sort { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); } .ms-sort select { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); padding: 6px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); } .ms-pills { margin: 0 0 4px; } .ms-refit { align-self: flex-start; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow-off-soft); } .ms-refit:hover { background: var(--navy); color: var(--white); border-color: var(--navy); } /* barre de progression fine — jamais d'écran qui clignote */ .ms-progress { position: sticky; top: 0; z-index: 4; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: ms-progress 1s linear infinite; } @keyframes ms-progress { from { background-position: 200% 0; } to { background-position: -200% 0; } } .ms-empty { border: 1.5px dashed var(--line-strong); border-radius: var(--r-card); padding: 26px 18px; text-align: center; color: var(--ink-2); } .ms-empty .big { margin-bottom: 6px; color: var(--ink-3); } .ms-empty h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); } .ms-empty p { margin: 0 0 14px; font-size: 13px; } .ms-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } /* miroirs survol / sélection venus de la carte */ .map-card { transition: transform 0.15s ease, box-shadow 0.15s ease; } .map-card-hover { outline: 2px solid var(--accent); outline-offset: 2px; transform: translateY(-1px); } .map-card-pulse { animation: ms-pulse 0.9s ease 1; } @keyframes ms-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } } /* indicateur discret : l'annonce survolée sur la carte est hors écran */ .ms-hover-hint { position: sticky; z-index: 5; align-self: center; background: var(--navy); color: var(--white); border-radius: var(--r-pill); padding: 5px 12px; font-size: 11.5px; font-weight: 600; pointer-events: none; box-shadow: var(--shadow-off-soft); } .ms-hover-hint.haut { top: 8px; order: -1; } .ms-hover-hint.bas { bottom: 8px; } /* ---------------- carrousel mobile synchronisé aux marqueurs ------------- */ .ms-carousel { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 12; display: flex; gap: 10px; overflow-x: auto; padding: 4px 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .ms-carousel::-webkit-scrollbar { display: none; } .ms-car-item { flex: 0 0 78%; max-width: 340px; scroll-snap-align: center; display: grid; grid-template-columns: 108px 1fr; gap: 0; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-off-soft); text-decoration: none; color: inherit; } .ms-car-item.sel { outline: 2.5px solid var(--accent); outline-offset: 1px; } .ms-car-item img, .ms-car-item .smart-img, .ms-car-item .card-fallback { width: 108px; height: 96px; object-fit: cover; display: block; } .ms-car-body { padding: 9px 12px; min-width: 0; } .ms-car-price { font-size: 14.5px; font-weight: 700; color: var(--ink); display: flex; gap: 6px; align-items: center; } .ms-car-title { font-size: 12px; color: var(--ink-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ms-car-meta { font-size: 11px; color: var(--ink-3); margin-top: 3px; } .ms-car-more { flex: 0 0 auto; scroll-snap-align: center; align-self: stretch; border: 1.5px solid var(--ink); border-radius: var(--r-card); background: var(--navy); color: var(--white); font-size: 12.5px; font-weight: 600; padding: 0 18px; cursor: pointer; } /* mobile : carte plein cadre, liste masquée, carrousel par-dessus la carte */ @media (max-width: 780px) { .ms { height: calc(100dvh - 190px); } .ms-list { display: none; } .ms .mapview { height: 100%; } .ka-search-area { top: 8px; } } @media (min-width: 781px) { .ms-carousel { display: none; } } /* mobile : réorganisation du chrome carte autour du carrousel */ @media (max-width: 780px) { .ms .ka-draw-btn { top: 56px; left: 10px; bottom: auto; } .ms .ka-loading { bottom: 132px; } .ms .ka-empty { transform: translate(-50%, -70%); } } /* l'auto-défilement vers la carte laisse l'entête de résultats visible */ .ms { scroll-margin-top: 108px; } /* mobile, vue carte : chrome sans chevauchement (case en haut, outils sous elle, FAB Filtres au-dessus du carrousel) */ @media (max-width: 780px) { .ms .ka-draw-btn { top: 88px; left: 10px; bottom: auto; } .ms .ka-locate { top: 88px; right: 10px; } .fab-carte { bottom: 148px; } } /* ============================================================================= KA Scores — pastilles, jauges circulaires, page méthodologie ============================================================================= */ .ka-badge { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); padding: 1px 8px 1px 3px; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--surface); line-height: 1.5; vertical-align: middle; } .ka-badge-logo { background: var(--ink); color: var(--white); border-radius: 999px; font-size: 8.5px; font-weight: 800; padding: 1.5px 5px; letter-spacing: 0.4px; } .ka-badge.ka-haut { border-color: var(--green, #256d43); } .ka-badge.ka-haut .ka-badge-logo { background: var(--green, #256d43); } .ka-badge.ka-bon { border-color: var(--accent); } .ka-badge.ka-bon .ka-badge-logo { background: var(--accent); } .ka-badge.ka-moyen { opacity: 0.9; } .ka-badge.ka-bas { opacity: 0.75; } .ka-circles, .ka-demo-circles { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 6px; } .ka-circle { text-align: center; width: 92px; } .ka-circle-fond { fill: none; stroke: var(--line); stroke-width: 6; } .ka-circle-arc { fill: none; stroke: var(--ink-3); stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray 0.6s ease; } .ka-circle.ka-haut .ka-circle-arc { stroke: var(--green, #256d43); } .ka-circle.ka-bon .ka-circle-arc { stroke: var(--accent); } .ka-circle.ka-moyen .ka-circle-arc { stroke: var(--orange, #d97a2b); } .ka-circle.ka-bas .ka-circle-arc { stroke: #b3543f; } .ka-circle-val { font: 700 17px var(--font-body); fill: var(--ink); } .ka-circle-nom { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 4px; } .ka-circle-label { font-size: 10.5px; color: var(--ink-3); } .f-kascores h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .ka-perso { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1.5px dashed var(--line-strong); border-radius: var(--r-pill); padding: 2px 10px; } .ka-detail summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 0; } .ka-detail-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 8px 0 4px; } .ka-detail-grille h4 { margin: 0 0 4px; font-size: 12px; color: var(--ink); } .ka-detail-grille ul { margin: 0 0 10px; padding-left: 16px; font-size: 12.5px; color: var(--ink-2); } .ka-detail-grille li { margin: 2px 0; } .ka-poids { display: grid; gap: 10px; margin: 14px 0; max-width: 460px; } .ka-poids-row { display: grid; grid-template-columns: 90px 1fr 48px; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink); } .ka-poids-row input[type="range"] { accent-color: var(--accent); } .ka-poids-row b { text-align: right; font-variant-numeric: tabular-nums; } .ms-car-price .ka-badge { margin-left: 2px; } @media (max-width: 780px) { .ms .ka-3d { top: 148px; right: 10px; } } /* ---- Registre des loyers (fiche) — bloc citoyen registre-des-loyers.ca ---- */ .f-rdl .rdl-resume { margin: 2px 0 6px; } .f-rdl .rdl-ecart { margin: 0 0 8px; } .rdl-rooms { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 10px; } .rdl-room { font-size: 13px; color: var(--ink-2); white-space: nowrap; } .rdl-room i { font-style: normal; color: var(--ink-3); } .rdl-table { width: 100%; border-collapse: collapse; font-size: 13px; } .rdl-table td { padding: 5px 8px 5px 0; border-top: 1px solid var(--line, #e6e4df); vertical-align: top; } .rdl-table .rdl-addr { max-width: 46%; } .rdl-table .rdl-prix { font-weight: 600; white-space: nowrap; } .rdl-table .rdl-date { white-space: nowrap; color: var(--ink-2); } .rdl-table .rdl-dist { color: var(--ink-3); white-space: nowrap; text-align: right; } .rdl-room-on { background: var(--sand, #f4efe7); border-radius: 6px; padding: 2px 8px; } /* ---- Risque d'inondation (fiche) — BDZI gouv. du Québec ---- */ .f-zi .zi-head { display: flex; align-items: center; gap: 10px; } .zi-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; } .zi-eleve { background: #fde8e8; color: #a12622; } .zi-modere { background: #fdf3e0; color: #8a5a00; } .zi-present { background: #fdf3e0; color: #8a5a00; } .zi-ok { background: #e7f4ea; color: #1e6b34; } .zi-nc { background: var(--sand, #f0ede8); color: var(--ink-3); } .zi-liste { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; } .zi-liste li { padding: 4px 0; border-top: 1px solid var(--line, #e6e4df); } /* ---- Historique TAL (fiche) — décisions SOQUIJ à l'adresse ---- */ .f-tal .tal-pending, .f-tal .tal-ok, .f-tal .tal-resume { margin: 2px 0 8px; } .tal-liste { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; } .tal-liste li { padding: 8px 0; border-top: 1px solid var(--line, #e6e4df); } .tal-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; } .tal-date { font-weight: 600; color: var(--ink-2); } .tal-part { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--sand, #f0ede8); color: var(--ink-2); } .tal-part-locateur { background: #fdf3e0; color: #8a5a00; } .tal-verdict { font-size: 12px; color: var(--ink-3); } .tal-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 3px; } .tal-tag { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #fde8e8; color: #a12622; } .tal-ref { font-size: 12.5px; color: var(--ink-3); } /* ---- Registre des loyers v2 : tuiles, bande de position, barres ---- */ .rdl-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 12px; } .rdl-kpi { flex: 1 1 90px; min-width: 90px; background: var(--surface-2, #f7f5f1); border-radius: 10px; padding: 10px 12px; } .rdl-kpi-v { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); } .rdl-kpi-l { display: block; font-size: 11px; line-height: 1.35; color: var(--ink-3); margin-top: 2px; } .rdl-strip { width: 100%; height: auto; display: block; margin: 2px 0 4px; } .rdl-strip-track { fill: var(--surface-2, #f0ede8); } .rdl-strip-box { fill: var(--accent-soft, #e9efff); stroke: var(--accent, #2456e6); stroke-width: 1; } .rdl-strip-med { stroke: var(--ink-2, #4c4a45); stroke-width: 2; } .rdl-strip-me { stroke: var(--accent-deep, #1738a8); stroke-width: 2; } .rdl-strip-me-dot { fill: var(--accent-deep, #1738a8); stroke: var(--surface, #fff); stroke-width: 2; } .rdl-strip-lbl, .rdl-strip-axis { font-size: 10.5px; fill: var(--ink-3); } .rdl-strip-me-lbl { font-size: 11px; font-weight: 700; fill: var(--accent-deep, #1738a8); } .rdl-bars { width: 100%; height: auto; display: block; margin: 6px 0 2px; } .rdl-bar { fill: var(--accent, #2456e6); opacity: 0.55; } .rdl-bar-on { fill: var(--accent-deep, #1738a8); opacity: 1; } .rdl-bar-val { font-size: 10.5px; fill: var(--ink-2, #4c4a45); } .rdl-bar-cat { font-size: 11px; fill: var(--ink-2, #4c4a45); } .rdl-bar-cat-on { font-weight: 700; fill: var(--ink, #1c1b18); } .rdl-bar-n { font-size: 9.5px; fill: var(--ink-3, #8a877f); } .rdl-bars-axe { stroke: var(--line, #e6e4df); stroke-width: 1; } .rdl-ecart { margin: 4px 0 8px; } .rdl-cap { caption-side: top; text-align: left; font-size: 13px; font-weight: 700; color: var(--navy); padding: 6px 0; } /* ---- Criminalité détaillée SPVM (bloc quartier) ---- */ .q-crime { width: 100%; } .q-crime-cats { list-style: none; margin: 8px 0 0; padding: 0; } .q-crime-cats li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 12.5px; } .q-crime-nom { flex: 0 0 46%; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .q-crime-barre { flex: 1 1 auto; height: 10px; background: var(--surface-2, #f0ede8); border-radius: 5px; overflow: hidden; } .q-crime-barre i { display: block; height: 100%; border-radius: 5px; background: var(--accent, #2456e6); opacity: 0.6; } .q-crime-n { flex: 0 0 52px; text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; } .q-crime-n small { font-weight: 400; color: var(--ink-3); } .q-crime-src { margin-top: 8px; } /* ---- Qualité de l'air (RSQAQ) + Essence à proximité ---- */ .air-liste { list-style: none; margin: 10px 0 0; padding: 0; } .air-liste li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12.5px; } .air-nom { flex: 0 0 44%; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .air-barre { flex: 1 1 auto; height: 10px; background: var(--surface-2, #f0ede8); border-radius: 5px; overflow: hidden; } .air-barre i { display: block; height: 100%; border-radius: 5px; background: #4d9e64; } .air-barre i.air-sur { background: #c96a1f; } .air-val { flex: 0 0 34%; text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .air-val small { font-weight: 400; color: var(--ink-3); } .air-val .air-ref { display: block; font-size: 10px; } .gaz-head th { text-align: left; font-size: 11px; color: var(--ink-3); font-weight: 600; padding: 2px 8px 2px 0; } .gaz-best { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e7f4ea; color: #1e6b34; font-size: 10.5px; font-weight: 700; } .gaz-adr { display: block; font-size: 11px; color: var(--ink-3); } /* ---- Commerces et transport (fiche) ---- */ .cm-grille { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; } @media (max-width: 560px) { .cm-grille { grid-template-columns: 1fr; } } .cm-item { display: flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid var(--line, #eeece7); min-width: 0; } .cm-ico { flex: 0 0 28px; } .cm-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } .cm-nom { font-size: 13px; font-weight: 600; color: var(--ink, #222); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cm-poi { font-size: 11px; color: var(--ink-3, #8a877f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cm-dist { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--ink-2, #4c4a45); white-space: nowrap; } /* ---- Coût d'électricité (Hydro-Québec) ---- */ .hydro-intro { margin: 2px 0 12px; color: var(--ink-2, #4c4a45); } .hydro-btn { appearance: none; border: 0; border-radius: 10px; cursor: pointer; background: var(--accent, #2b7a3b); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 18px; } .hydro-btn:disabled { opacity: 0.6; cursor: progress; } .hydro-montant { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy, #1c1b18); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .hydro-montant small { font-size: 14px; font-weight: 500; color: var(--ink-3); } .hydro-an { font-size: 14px; font-weight: 600; color: var(--ink-2, #4c4a45); } .hydro-vide { color: var(--ink-3, #8a877f); } /* ============================================================================ PASSE DE DESIGN v3 — « éditorial sharp » appliqué à toute la fiche Blocs = cartes encre (bordure 1,5 px + ombre décalée douce), titres à marqueur accent + filet, tuiles KPI blanches à ombre dure, tableaux zébrés, barres en dégradé, pastilles unifiées (mono, point d'état, liseré). Aucune propriété `order` (règle Groupe Ka : ordre DOM = ordre visuel). ========================================================================== */ /* --- Blocs de la fiche : cartes posées sur le papier --- */ .f-bloc:not(.f-galerie):not(.f-hero) { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 18px 20px 16px; box-shadow: var(--shadow-off-soft); } @media (max-width: 640px) { .f-bloc:not(.f-galerie):not(.f-hero) { padding: 15px 15px 13px; } } /* --- Titres de section : carré accent + filet éditorial --- */ .f-bloc h2, .quartier h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 14px; } .f-bloc h2::before, .quartier h2::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; background: var(--accent); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); } .f-bloc h2::after, .quartier h2::after { content: ""; flex: 1 1 auto; height: 1.5px; min-width: 20px; background: var(--line); } /* --- Tuiles KPI : blanches, bord encre, ombre dure accent --- */ .rdl-kpi, .kv .cell { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); box-shadow: 3px 3px 0 var(--accent-soft, #e9efff); } .rdl-kpi-v { font-family: var(--font-display); } .q-cell { box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.1); border-radius: var(--r-ctl); } .q-val { font-size: 20px; } /* --- Tableaux : en-têtes mono, zébrure, survol accent --- */ .rdl-table td { padding: 7px 8px 7px 0; } .rdl-table tbody tr:nth-child(even) td, .rdl-table > tr:nth-child(even) td { background: var(--surface-2, #faf9f5); } .rdl-table tr:hover td { background: var(--accent-soft, #e9efff); } .gaz-head th { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1.5px solid var(--ink); } .rdl-cap { font-family: var(--font-display); } /* --- Barres : pistes bordées + remplissage en dégradé --- */ .q-bar-track, .q-crime-barre, .air-barre { background: var(--surface-2, #faf9f5); border: 1px solid var(--line); height: 12px; } .q-bar-fill { background: linear-gradient(90deg, var(--accent, #2456e6), var(--accent-deep, #1738a8)); } .q-crime-barre i { background: linear-gradient(90deg, #6e92ff, var(--accent, #2456e6)); opacity: 0.9; } .air-barre i { background: linear-gradient(90deg, #6fbc85, #2e7d4a); } .air-barre i.air-sur { background: linear-gradient(90deg, #e08a48, #c96a1f); } /* --- Pastilles d'état unifiées (zi-badge & cie) : mono + point d'état --- */ .zi-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border: 1.5px solid currentColor; } .zi-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .gaz-best { border: 1px solid currentColor; } /* --- Historique TAL : chaque décision devient une mini-carte --- */ .tal-liste { display: flex; flex-direction: column; gap: 8px; } .tal-liste li { border: 1px solid var(--line); border-left: 3px solid var(--accent, #2456e6); border-top: 1px solid var(--line); border-radius: var(--r-ctl); padding: 9px 12px; background: var(--surface-2, #faf9f5); } .tal-part, .tal-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; } .tal-ref { font-family: var(--font-mono); font-size: 11px; } /* --- Notes de bas de bloc : filet pointillé --- */ .f-bloc .fine, .quartier .fine { margin-top: 12px; padding-top: 9px; border-top: 1px dashed var(--line); } /* --- Listes à liseré (inondation) alignées sur le reste --- */ .zi-liste li { padding: 6px 0; } /* ============================================================================ Dossier d'intelligence locative — Listing history, Building, Gestionnaire, Vie quotidienne en hiver ========================================================================== */ /* --- Pastilles de statut de donnée (observed / estimated / …) --- */ .st-pill { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 7px; border: 1.5px solid currentColor; border-radius: 3px; white-space: nowrap; vertical-align: 1px; } .cr-poste .st-pill { margin-left: 8px; } .st-included { color: #2e7d4a; background: #eef7f0; } .st-observed { color: var(--ink); background: var(--surface); } .st-estimated { color: var(--accent-deep, #1738a8); background: var(--accent-soft, #e9efff); } .st-unknown { color: var(--ink-3); background: var(--surface-2, #faf9f5); border-style: dashed; } /* --- Coût réel mensuel --- */ .cr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .cr-table td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; } .cr-table tbody tr:nth-child(even) td { background: var(--surface-2, #faf9f5); } .cr-table tbody tr:hover td { background: var(--accent-soft, #e9efff); } .cr-table tfoot tr:first-child td { background: var(--accent-soft, #e9efff); } .cr-poste { color: var(--ink-2); } .cr-montant { text-align: right; font-family: var(--font-mono); font-weight: 600; white-space: nowrap; } .cr-table tfoot td { border-bottom: none; border-top: 1.5px solid var(--ink); font-weight: 700; padding-top: 9px; } .cr-annuel { color: var(--ink-3); font-weight: 500; font-size: 12px; } .cr-inconnus { margin: 10px 0 0; padding: 8px 12px; font-size: 12.5px; color: var(--ink-2); background: var(--accent-soft, #e9efff); border-left: 3px solid var(--accent, #2456e6); border-radius: var(--r-ctl); } .cr-pi2 { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); } .cr-pi2 b { font-family: var(--font-mono); } /* --- Listing history: timeline --- */ .hl-timeline { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; } .hl-item { position: relative; font-size: 13px; color: var(--ink-2); } .hl-item::before { content: ""; position: absolute; left: -19.5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-3); } .hl-item.hl-prix::before { border-color: var(--accent, #2456e6); background: var(--accent-soft, #e9efff); } .hl-item.hl-disparition::before { border-color: #b3552e; background: #fdeee7; } .hl-item.hl-reapparition::before { border-color: #2e7d4a; background: #eef7f0; } .hl-date { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); display: inline-block; min-width: 92px; } .hl-texte b { font-family: var(--font-mono); } /* --- Vies antérieures (annonces recyclées) --- */ .hl-recyclees { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); } .hl-recyclees h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); } .hl-match { border: 1px solid var(--line); border-left: 3px solid var(--accent, #2456e6); border-radius: var(--r-ctl); background: var(--surface-2, #faf9f5); padding: 8px 12px; margin: 0 0 8px; font-size: 13px; } .hl-signaux { margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.02em; } /* --- Passeport de l'immeuble --- */ .im-parcc { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); } .im-indicateurs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; } .im-indic { font-size: 13px; } .im-indic > .k { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); display: inline-block; margin-right: 4px; } .im-detail { color: var(--ink-2); font-size: 12.5px; } /* --- Qui gère ce logement? --- */ .gest-head { margin-bottom: 10px; } .gest-nom { font-family: var(--font-display); font-weight: 700; font-size: 17px; } .gest-meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; } .gest-google { display: flex; align-items: center; gap: 10px; margin: 10px 0; flex-wrap: wrap; } .gest-note { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent-deep, #1738a8); background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 5px 10px; box-shadow: 3px 3px 0 var(--accent-soft, #e9efff); white-space: nowrap; } .gest-navis { font-size: 12.5px; color: var(--ink-2); } .gest-bars { margin: 10px 0; display: flex; flex-direction: column; gap: 4px; } .gest-bar { display: flex; align-items: center; gap: 8px; } .gb-n { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-2); min-width: 26px; text-align: right; } .gb-track { flex: 1 1 auto; height: 12px; background: var(--surface-2, #faf9f5); border: 1px solid var(--line); overflow: hidden; display: block; } .gb-fill { display: block; height: 100%; background: var(--ink-3); min-width: 0; } .gb-fill.pos { background: linear-gradient(90deg, #6fbc85, #2e7d4a); } .gb-fill.neg { background: linear-gradient(90deg, #e08a48, #c96a1f); } .gb-c { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); min-width: 24px; } .gest-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin: 8px 0; } .gest-themes { font-size: 13px; margin: 8px 0; } .gest-themes > .k { color: var(--ink-2); } .gest-themes .zi-badge { margin: 2px 4px 2px 0; } .gest-avis { margin-top: 10px; } .gest-avis summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); } .gest-citation { margin: 10px 0 0; padding: 8px 12px; font-size: 13px; color: var(--ink-2); border-left: 3px solid var(--line); background: var(--surface-2, #faf9f5); border-radius: var(--r-ctl); } .gest-citation footer { margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); } /* --- Vie quotidienne en hiver --- */ .hiver-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .hiver-score { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 8px 12px; box-shadow: 3px 3px 0 var(--accent-soft, #e9efff); } .hiver-sur { font-size: 12.5px; color: var(--ink-3); } .hiver-detail { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .hiver-detail li { display: flex; align-items: baseline; gap: 8px; font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--line); } .hiver-detail li:last-child { border-bottom: none; } .hd-crit { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); min-width: 110px; } .hd-val { flex: 1 1 auto; color: var(--ink-2); } .hd-score { font-family: var(--font-mono); font-weight: 700; font-size: 12px; min-width: 28px; text-align: right; } /* --- Adaptatif mobile : dossier d'intelligence locative --- */ @media (max-width: 640px) { .cr-table { font-size: 12.5px; } .cr-table td { padding: 6px 6px 6px 0; } .cr-poste .st-pill { margin-left: 6px; } .cr-montant { font-size: 12.5px; } .hl-date { display: block; min-width: 0; margin-bottom: 2px; } .hl-item { font-size: 12.5px; } .hl-match { font-size: 12.5px; } .im-indic .im-detail { display: block; margin-top: 3px; } .gest-nom { font-size: 16px; } .gest-stats { font-size: 12.5px; gap: 8px; } .gest-citation { font-size: 12.5px; } .gb-n { min-width: 24px; font-size: 10.5px; } .gb-c { min-width: 20px; font-size: 10.5px; } .hiver-score { font-size: 26px; padding: 6px 10px; } .hiver-sur { flex-basis: 100%; } .hd-crit { min-width: 86px; font-size: 10px; } .hiver-detail li { font-size: 12.5px; } } /* ============================================================================= REFONTE ÉDITORIALE v2 (2026-08-25) — accueil « produit premium » Direction : moins de boîtes, hiérarchie typographique, hairlines, données vivantes, image dominante. Primitives locales : rayons 0/6/10/18, durées 150/240/350 ms. Couche posée en FIN de fichier : elle a le dernier mot sur la cascade (y compris sur la couche « harmonisation » ci-dessus). ============================================================================= */ :root { --r-0: 0px; --r-1: 6px; --r-2: 10px; --r-3: 18px; --dur-1: 150ms; --dur-2: 240ms; --dur-3: 350ms; --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); --hairline: rgba(20, 24, 20, 0.14); --hairline-strong: rgba(20, 24, 20, 0.6); } /* ---- Héro : composition typographique, zéro boîte ---- */ .hero h1.hero-display { font-size: clamp(44px, 7.2vw, 88px); line-height: 1.0; letter-spacing: -0.045em; max-width: 1020px; margin-top: 18px; } .brush { position: relative; display: inline-block; padding: 0 0.06em; } .brush::after { /* surlignage orange irrégulier (trait SVG) — pas un rectangle */ content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.03em; height: 0.34em; z-index: -1; transform: rotate(-0.6deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M5 17 C 60 8, 118 21, 168 13 S 258 10, 295 15' fill='none' stroke='%232456e6' stroke-width='11' stroke-linecap='round' opacity='0.92'/%3E%3C/svg%3E") no-repeat center / 100% 100%; } .hero p.lede { font-size: 16.5px; max-width: 580px; } .hero::before { opacity: 0.8; } .hero::after { opacity: 0.55; } /* ---- Ligne de données vivantes (mono + filets — plus de chips) ---- */ .live-line { display: flex; flex-wrap: wrap; align-items: baseline; margin-top: 34px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.02em; row-gap: 10px; } .live-flag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--hairline-strong); } .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease infinite; } .live-item { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--hairline); } .live-item:last-child { border-right: 0; padding-right: 0; margin-right: 0; } .live-item b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; } @media (max-width: 640px) { .live-line { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; margin-right: -16px; padding-right: 16px; } .live-line::-webkit-scrollbar { display: none; } } /* ---- Recherche au cœur : grand champ souligné + critères en filets ---- */ .search-zone { margin: 42px 0 0; } .q-big { display: flex; align-items: center; gap: 14px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; padding: 4px 2px 14px; color: var(--ink-3); transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) ease; } .q-big:focus-within { border-color: var(--accent); color: var(--accent-deep); } .q-big svg { flex: none; } .q-big input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.8vw, 28px); letter-spacing: -0.02em; color: var(--ink); } .q-big input::placeholder { color: var(--ink-3); font-weight: 500; } .crit-line { display: flex; align-items: stretch; flex-wrap: wrap; } .crit { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 12px 26px 12px 0; margin-right: 26px; border-right: 1px solid var(--hairline); min-width: 0; cursor: pointer; } .crit > span { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); } .crit select { border: 0; background: transparent; outline: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); appearance: none; -webkit-appearance: none; padding: 2px 18px 2px 0; min-width: 0; max-width: 190px; 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='%238b928c'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; } .crit:hover select { color: var(--accent-deep); } .crit .range-pair select { max-width: 88px; } .crit-more { display: inline-flex; align-items: center; gap: 9px; align-self: center; border: 0; background: none; padding: 12px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); transition: color var(--dur-1) ease; } .crit-more:hover, .crit-more.on { color: var(--accent-deep); } .crit-badge, .rb-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; } /* panneau avancé : filet, pas de boîte (réutilise .f-adv/.f-group/.seg) */ .search-zone .f-adv { border-top: 1px solid var(--hairline); margin-top: 2px; padding-top: 18px; } .search-zone .seg button { border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink-2); min-height: 38px; font-weight: 600; margin-left: -1px; } .search-zone .seg button:first-child { border-radius: var(--r-1) 0 0 var(--r-1); } .search-zone .seg button:last-child { border-radius: 0 var(--r-1) var(--r-1) 0; } .search-zone .seg button:hover { background: var(--accent-soft); color: var(--accent-deep); } .search-zone .seg button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; } .search-zone .f-native { border: 1px solid var(--hairline-strong); background: transparent; } /* résumé mobile des critères — remplace le FAB (voir media 640 plus bas) */ .crit-summary { display: none; } /* ---- Barre de résultats sticky : N logements · Liste|Carte · Filtres ---- */ .results-bar { position: sticky; top: 64px; z-index: var(--z-sticky, 300); display: flex; align-items: center; gap: 16px; margin: 30px 0 22px; padding: 12px 0 11px; border-bottom: 1px solid var(--hairline-strong); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } @supports not (background: color-mix(in srgb, red 50%, blue)) { .results-bar { background: rgba(245, 243, 238, 0.92); } } .rb-count { margin: 0; font-size: clamp(16px, 2vw, 20px); letter-spacing: -0.02em; color: var(--ink); } .rb-count b { font-variant-numeric: tabular-nums; } .rb-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; } .rb-tabs { display: flex; gap: 18px; } .rb-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink-3); transition: color var(--dur-1) ease; } .rb-tab:hover, .rb-tab.on { color: var(--ink); } .rb-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); } .rb-tab.on::after { transform: scaleX(1); } .rb-filters { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 8px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); } .rb-filters:hover { color: var(--accent-deep); } @media (min-width: 641px) { .rb-filters { display: none; } } /* ---- Transition douce liste ↔ carte ---- */ .view-pane { animation: pane-in var(--dur-2) var(--ease-out); } @keyframes pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } /* ---- Chips rapides : plus légères (hairline, texte d'abord) ---- */ .chip { border: 1px solid var(--hairline-strong); background: transparent; min-height: 38px; padding: 7px 15px; font-size: 12.5px; box-shadow: none; } .chip:hover { transform: none; box-shadow: none; background: var(--accent-soft); color: var(--accent-deep); } .chip.on, .chip.chip-deal.on { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; } .chips { margin: 20px 0 0; } /* ---- Pastilles actives : discrètes, survol = retrait ---- */ .pills { margin: 14px 0 0; } .pills .pill { border: 1px solid var(--hairline-strong); background: transparent; box-shadow: none; padding: 5px 12px; font-size: 12px; } .pills .pill:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); } /* ---- Cartes éditoriales : l'image domine, plus de boîte ---- */ .card, .card:hover { background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; } .card-img { border-radius: var(--r-2); aspect-ratio: 4/3; } .card-img img { transition: transform var(--dur-3) var(--ease-out); } @media (hover: hover) { .card:hover .card-img img { transform: scale(1.025); } .card:hover .card-price { color: var(--accent-deep); } } .card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--r-2); } .card-body { padding: 13px 2px 0; gap: 3px; } .card-price { font-size: 22px; letter-spacing: -0.03em; color: var(--ink); transition: color var(--dur-1) ease; } .card-title { font-size: 14px; font-weight: 500; color: var(--ink-2); } .card-meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); } .card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); } .card-foot { border-top: 0; padding-top: 8px; } .source-tag { background: none; border: 0; border-radius: 0; padding: 0; color: var(--ink-3); font-size: 10px; letter-spacing: 0.08em; max-width: 62%; } .avail { font-size: 11px; color: var(--ink-3); } .badge { border: 0; border-radius: 4px; background: rgba(20, 24, 20, 0.78); color: var(--paper); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); font-size: 9.5px; padding: 4px 9px; letter-spacing: 0.08em; } .badge.type { background: var(--accent); color: var(--on-accent); } .badge.right { background: rgba(20, 24, 20, 0.55); } /* ---- Grille à rythme éditorial (accueil) : grand / petits / panoramique ---- */ .grid.grid-edito { grid-template-columns: repeat(3, 1fr); gap: 36px 26px; } @media (max-width: 980px) { .grid.grid-edito { grid-template-columns: 1fr 1fr; gap: 30px 20px; } } @media (max-width: 640px) { .grid.grid-edito { grid-template-columns: 1fr; gap: 32px; } } @media (prefers-reduced-motion: no-preference) { .grid-edito > * { animation: rise 0.5s var(--ease-out) backwards; } .grid-edito > *:nth-child(3n+2) { animation-delay: 60ms; } .grid-edito > *:nth-child(3n) { animation-delay: 120ms; } } @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } /* ---- Squelettes sans boîte ---- */ .skel { border: 0; border-radius: 0; background: transparent; } .skel .sk-img { aspect-ratio: 4/3; border-radius: var(--r-2); } .skel .sk-line { margin: 12px 2px; } /* ---- Pagination éditoriale : chiffres nus, page courante soulignée ---- */ .pager { border-top: 1px solid var(--hairline); padding-top: 16px; } .pager-info { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); } .pager-btn { min-width: 34px; height: 38px; padding: 0 8px; border: 0; border-radius: var(--r-1); background: none; color: var(--ink-2); font-family: var(--font-display); font-size: 13.5px; font-weight: 600; position: relative; } .pager-btn:hover:not(:disabled):not(.on) { background: var(--accent-soft); color: var(--accent-deep); border: 0; } .pager-btn.on { background: none; border: 0; color: var(--ink); font-weight: 700; } .pager-btn.on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2.5px; background: var(--accent); } .pager-arrow { border: 1px solid var(--hairline-strong); } /* ---- Navigation mobile flottante (pilule détachée du bord) ---- */ @media (max-width: 760px) { .tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); border: 1px solid var(--hairline-strong); border-radius: var(--r-3); background: rgba(250, 249, 245, 0.88); box-shadow: 0 14px 34px rgba(20, 24, 20, 0.16); padding: 6px; } .tabbar a { border-radius: 12px; font-size: 10px; color: var(--ink-3); gap: 2px; } .tabbar a.active { color: var(--ink); } .tabbar a.active::after { content: ""; width: 16px; height: 2.5px; border-radius: 2px; background: var(--accent); } body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } .footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); } } /* ---- Mobile : recherche condensée + feuille de critères premium ---- */ @media (max-width: 640px) { .results-bar { top: 56px; gap: 10px; } .search-zone { margin: 30px 0 0; } .crit-line, .search-zone .f-adv, .search-zone .sheet-apply { display: none; } .crit-summary { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-bottom: 1px solid var(--hairline); background: none; padding: 14px 2px; margin: 0; cursor: pointer; text-align: left; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); } .crit-summary svg { flex: none; color: var(--ink); } .crit-summary .cs-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .crit-summary .f-chev { margin: 0 2px 0 0; transform: rotate(45deg); } .search-zone.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900); margin: 0; border-radius: var(--r-3) var(--r-3) 0 0; background: var(--surface); max-height: 86dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 18px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -18px 50px rgba(20, 24, 20, 0.3); animation: sheet-up 0.26s var(--ease-out); } .search-zone.open .sheet-handle { display: block; flex: none; width: 40px; height: 4.5px; border-radius: 999px; background: var(--line); margin: 0 auto; } .search-zone.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); position: sticky; top: -10px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1px solid var(--hairline); z-index: 1; } .search-zone.open .crit-summary { display: none; } .search-zone.open .q-big { padding: 2px 0 10px; } .search-zone.open .q-big input { font-size: 17px; } .search-zone.open .crit-line { display: flex; flex-direction: column; } .search-zone.open .crit { border-right: 0; border-bottom: 1px solid var(--hairline); margin: 0; padding: 10px 0; } .search-zone.open .crit select { max-width: none; width: 100%; font-size: 16px; } .search-zone.open .crit .range-pair select { width: auto; flex: 1; } .search-zone.open .crit-more { display: none; } .search-zone.open .f-adv { display: grid; border-top: 0; padding-top: 4px; margin-top: 0; } .search-zone.open .sheet-apply { display: flex; position: sticky; bottom: 0; z-index: 1; width: 100%; min-height: 50px; box-shadow: 0 -14px 18px -12px rgba(20, 24, 20, 0.35); } } /* ---- Widget KA Agent : dégagé de la tabbar flottante au doigt ---- */ @media (max-width: 760px) { .kaa-btn.kaa-btn { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 14px; } .kaa-panel.kaa-panel:not(.kaa-full) { bottom: calc(152px + env(safe-area-inset-bottom, 0px)); } } /* les fiches s'alignent en haut : pas d'étirement vide sous les petites */ .grid.grid-edito { align-items: start; } /* ---- Header : jamais de débordement à droite ---- La nav ne casse pas de ligne ; sous 960px on passe au menu burger (le contenu complet ne tient plus), le badge Groupe KA disparaît déjà sous 1080px (règle plus haut). ---- */ .nav a { white-space: nowrap; } @media (max-width: 960px) { .nav { display: none; } .menu-btn { display: flex; } } /* le badge Groupe KA lâche prise un peu plus tôt (débordement de ~6px à 1100) */ @media (max-width: 1140px) { .header .gk-badge { display: none; } } /* ---- Fiche logement : DA v2 — sections en filets, icônes contextuelles ---- */ .f-bloc > h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; } .f-bloc > h2::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--accent); flex: none; } .f-hero .price { font-size: clamp(38px, 8.5vw, 54px); letter-spacing: -0.04em; } .f-hero h1 { color: var(--ink); } .f-hero .loc { font-size: 14px; } /* chips clés : hairline + icône contextuelle (plus d'aplat marine) */ .chip-key { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); gap: 7px; font-weight: 600; padding: 7px 13px; } .chip-key svg { color: var(--accent-deep); flex: none; } /* ancres en onglets textes */ .ancres { gap: 18px; border-bottom: 1px solid var(--hairline); } .ancres a { padding: 10px 2px; border-radius: 0; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-3); } .ancres a:hover { background: none; color: var(--accent-deep); box-shadow: inset 0 -2.5px 0 var(--accent); } /* inclusions : grille d'items en filets — chaque commodité a SON icône */ .amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0 28px; margin-bottom: 8px; } .amenity-it { display: flex; align-items: center; gap: 11px; padding: 7px 0; border-bottom: 1px solid var(--hairline); font-size: 13.5px; color: var(--ink); min-height: 46px; } .am-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); flex: none; } .am-txt { min-width: 0; } .am-conf { margin-left: auto; color: var(--green); font-weight: 700; font-size: 12px; } .amenity-it.unconfirmed { color: var(--ink-2); } .amenity-it.unconfirmed .am-ico { background: var(--surface-2); color: var(--ink-3); } /* détails pratiques : rangées en filets (plus de boîtes grises) */ .kv { gap: 0 30px; margin: 14px 0 0; } .kv .cell { background: transparent; border-radius: 0; padding: 9px 0; border-bottom: 1px solid var(--hairline); display: flex; align-items: baseline; justify-content: space-between; gap: 14px; } .kv .cell .k { font-family: var(--font-mono); } .kv .cell .v { margin-top: 0; text-align: right; } /* galerie : cadre allégé, rayon photo 10 */ .carousel { border: 1px solid var(--hairline-strong); box-shadow: none; border-radius: var(--r-2); } .thumbs button { border-radius: 8px; } /* « en bref » : filet accent au lieu d'une boîte pleine */ .enbref { background: transparent; border: 0; border-left: 3px solid var(--accent); border-radius: 0; padding: 2px 0 2px 14px; } /* CTA sticky : sur la fiche, il prend le bas d'écran — la tabbar s'efface */ body:has(.cta-sticky) .tabbar { display: none; } .cta-sticky { border-top: 1px solid var(--hairline-strong); background: rgba(250, 249, 245, 0.92); } @media (max-width: 760px) { body:has(.cta-sticky) { padding-bottom: 0; } } /* colonne éditoriale (gauche) : les sections respirent sans boîte — les modules de données de la colonne droite restent en cartes */ .fiche > .f-col:first-child > .f-bloc:not(.f-galerie):not(.f-hero) { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; } @media (max-width: 640px) { .fiche > .f-col:first-child > .f-bloc:not(.f-galerie):not(.f-hero) { padding: 0; } } /* cellules kv : neutraliser la tuile (bord encre + ombre) de la couche fiche */ .kv .cell { border: 0; border-bottom: 1px solid var(--hairline); box-shadow: none; } /* tiret accent des titres : sans bordure ni ombre héritées de la couche fiche */ .f-bloc > h2::before, .f-bloc h2::before, .quartier h2::before { border: 0; box-shadow: none; } /* ============================================================================= KA MAP SYSTEM v2 — MODE CARTE LOU-KA (shell plein viewport) Jetons du design system appliqués au shell ; la feuille de filtres de la page passe en modale au-dessus du mode carte (body.ka-map-mode). ============================================================================= */ /* le sélecteur .ka-map du framework pose ses défauts DIRECTEMENT sur le canevas : re-déclarer les jetons sur .ka-shell .ka-map, sinon l'accent retombe au noir générique à l'intérieur de la carte */ .ka-shell, .ka-shell .ka-map { --ka-accent: var(--accent); --ka-on-accent: var(--on-accent, #fff); --ka-surface: var(--surface); --ka-ink: var(--ink); --ka-line: var(--line-strong); --ka-radius: var(--r-ctl); --ka-shadow: 0 8px 24px rgba(20, 24, 20, 0.14); --ka-font: var(--font-body); } .ka-shell-fallback { position: fixed; inset: 0; z-index: 640; display: grid; place-items: center; background: var(--surface); color: var(--ink-3); font-size: 13px; } .ms2-brand { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--font-display); min-width: 0; } .ms2-brand b { font-size: 15px; letter-spacing: 0.01em; } .ms2-brand span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 600; } .ka-top-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 12.5px; padding: 8px 13px; cursor: pointer; min-height: 38px; white-space: nowrap; } .ka-top-btn:hover { background: var(--ink); color: var(--white, #fff); } .ka-top-badge { min-width: 17px; height: 17px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; padding: 0 4px; } .ms2-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; } .ms2-count { font-size: 13px; color: var(--ink-2); min-width: 0; } .ms2-count b { color: var(--ink); font-size: 15px; } .ms2-sort select { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); padding: 6px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); max-width: 168px; } .ms2-list { display: flex; flex-direction: column; gap: 14px; position: relative; } .ms2-list .map-card { flex: 0 0 auto; } .ka-sheet .ms2-list { gap: 12px; padding-bottom: 10px; } .ka-sheet .ms2-head { padding-right: 2px; } /* filtres de la page AU-DESSUS du mode carte — desktop : modale centrée */ @media (min-width: 781px) { body.ka-map-mode .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.45); } body.ka-map-mode .search-zone { display: none; } body.ka-map-mode .search-zone.open { display: block; position: fixed; top: 7dvh; left: 50%; transform: translateX(-50%); width: min(760px, 94vw); max-height: 84dvh; overflow-y: auto; z-index: var(--z-modal, 900); background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off); padding: 16px 22px 20px; margin: 0; } body.ka-map-mode .search-zone.open .sheet-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; margin-bottom: 10px; } body.ka-map-mode .search-zone.open .sheet-close { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 14px; } } /* mode carte : le widget Ka Agent s'efface (le sheet occupe son coin) */ body.ka-map-mode .kaa-btn, body.ka-map-mode .kaa-hello { display: none !important; } /* mobile : la puce « sans position » encombre l'en-tête du sheet */ @media (max-width: 780px) { .ka-shell .ms-nopos { display: none; } } /* --- KA ID v2 : badge « Recommandé pour vous » (parcimonieux, serveur) --- */ .badge.ka-reco { top: auto; bottom: 12px; background: var(--ink); color: var(--accent); border-color: var(--ink); } /* ---- Browse by province (Rent-Ka signature home section) ------------------ */ .prov-zone { margin: 26px 0 8px; } .prov-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; } .prov-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); margin: 0; } .prov-sub { color: var(--ink-3); font-size: 13.5px; } .prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; } .prov-card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); cursor: pointer; text-align: left; transition: transform 0.12s ease, box-shadow 0.12s ease; } .prov-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); } .prov-code { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; color: var(--on-accent); background: var(--accent); border-radius: 5px; padding: 2px 7px; } .prov-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--navy); line-height: 1.15; } .prov-n { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; } @media (max-width: 640px) { .prov-grid { grid-template-columns: repeat(2, 1fr); } }