/* ----------------------------------------------------------------------------- Lou-Ka — Agrégateur de logements à louer (province de Québec) Auteur : Simon-Pierre Boucher — contact@spboucher.ai styles.css : système de design « éditorial sharp » — thème clair · Typo display Space Grotesk / texte Inter / micro-étiquettes JetBrains Mono · Signature : bordures encre + ombres décalées (néo-brutalisme raffiné) · Accent électrique lime #d9f26b sur encre verte profonde · 100 % adaptatif mobile (PWA installable, safe-areas iOS) ----------------------------------------------------------------------------- */ :root { --paper: #f5f3ee; --surface: #ffffff; --surface-2: #faf9f5; --ink: #141814; --ink-2: #4d5551; --ink-3: #8b928c; --line: rgba(20, 24, 20, 0.14); --line-strong: rgba(20, 24, 20, 0.85); --green: #1c5c41; --green-deep: #123f2e; --lime: #d9f26b; --lime-soft: #f0f9d2; --amber: #e8a33d; --amber-soft: #fdf3e2; --danger: #b3423a; --r-card: 10px; --r-ctl: 6px; --shadow-flat: 0 1px 2px rgba(20, 24, 20, 0.05); --shadow-off: 6px 6px 0 var(--ink); --shadow-off-soft: 8px 8px 0 rgba(20, 24, 20, 0.08); --font-display: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, monospace; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); } /* grain subtil — texture signature */ body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); } #root { position: relative; z-index: 1; } h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; } a { color: inherit; text-decoration: none; } button { font-family: inherit; } img { display: block; } ::selection { background: var(--lime); color: var(--ink); } .mono { font-family: var(--font-mono); } .kicker { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--green); display: inline-flex; align-items: center; gap: 8px; } .kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); } .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; } @media (max-width: 640px) { .container { padding: 0 16px; } } /* ================= Header ================= */ .header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 2px solid var(--ink); } .header-inner { display: flex; align-items: center; gap: 20px; height: 64px; } .brand { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1; } .brand .ka { background: var(--ink); color: var(--lime); padding: 2px 7px 4px; border-radius: 6px; margin-left: 3px; transform: rotate(-2deg); transition: transform 0.2s ease; } .brand:hover .ka { transform: rotate(0deg); } .brand-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px; } @media (max-width: 760px) { .brand-tag { display: none; } } .nav { margin-left: auto; display: flex; gap: 4px; } .nav a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); border: 1.5px solid transparent; transition: all 0.15s ease; min-height: 40px; display: inline-flex; align-items: center; } .nav a:hover { border-color: var(--ink); color: var(--ink); } .nav a.active { background: var(--ink); color: var(--lime); } /* ================= Ticker ================= */ .ticker { background: var(--ink); color: var(--lime); overflow: hidden; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 0; white-space: nowrap; border-bottom: 1px solid rgba(217, 242, 107, 0.25); } .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; opacity: 0.5; 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 { padding: 58px 0 22px; } @media (max-width: 640px) { .hero { padding: 34px 0 14px; } } .hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 700; line-height: 0.98; text-transform: uppercase; letter-spacing: -0.035em; max-width: 900px; margin-top: 14px; } .hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); } .hero h1 .hl { background: var(--lime); padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); } .hero p.lede { color: var(--ink-2); font-size: 16.5px; max-width: 640px; margin: 20px 0 0; } .stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; } .stat-chip { background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12); } .stat-chip b { color: var(--ink); font-weight: 700; } .stat-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(217, 242, 107, 0.4); } } /* ================= Filter bar ================= */ .filterbar { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 16px; margin: 30px 0 6px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr auto; gap: 12px; } @media (max-width: 980px) { .filterbar { grid-template-columns: 1fr 1fr 1fr; } } @media (max-width: 640px) { .filterbar { grid-template-columns: 1fr 1fr; padding: 14px; } } .field { display: flex; flex-direction: column; gap: 5px; } .field label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding-left: 2px; } .field input, .field select { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl); padding: 11px 12px; font-size: 15px; color: var(--ink); outline: none; font-family: inherit; transition: border-color 0.15s ease, box-shadow 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(--ink); box-shadow: 3px 3px 0 var(--lime); } .btn { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease; font-family: var(--font-display); letter-spacing: 0.01em; } .btn:active { transform: translate(2px, 2px); box-shadow: none !important; } .btn-primary { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 rgba(20,24,20,0.25); } .btn-primary:hover { background: var(--green-deep); } .btn-ghost { background: transparent; color: var(--ink); } .btn-ghost:hover { background: var(--lime); box-shadow: 4px 4px 0 rgba(20,24,20,0.2); } /* ================= Chips ================= */ .chips { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px; transition: all 0.13s ease; } .chip:hover { background: var(--lime-soft); transform: translateY(-1px); } .chip.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(20,24,20,0.2); } /* ================= Results ================= */ .results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; } .results-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; } .results-head span { font-family: var(--font-mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; } .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(--line-strong); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-flat); transition: transform 0.16s ease, box-shadow 0.16s ease; } .card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); } .card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; } .card-img { position: relative; aspect-ratio: 16/10.5; background: repeating-linear-gradient(45deg, #eceae3 0 12px, #f3f1ea 12px 24px); 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: 6px; padding: 4px 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 1px solid var(--ink); } .badge.type { background: var(--ink); color: var(--lime); border-color: var(--ink); } .badge.right { left: auto; right: 12px; background: rgba(255,255,255,0.92); border-color: transparent; } .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; } .card-price small { font-family: var(--font-mono); font-weight: 500; color: var(--ink-3); font-size: 11px; letter-spacing: 0.05em; } .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; font-family: var(--font-mono); } .card-meta .sep { width: 4px; height: 4px; background: var(--lime); border: 1px solid var(--ink); border-radius: 1px; transform: rotate(45deg); } .card-foot { margin-top: auto; padding-top: 11px; border-top: 1.5px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; } .source-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-deep); background: var(--lime-soft); border: 1px solid var(--green); border-radius: 4px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 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(--line); overflow: hidden; background: var(--surface); } .skel .sk-img, .skel .sk-line { background: linear-gradient(90deg, #eeece5 25%, #f7f5ef 50%, #eeece5 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; } .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 { text-transform: uppercase; } /* ================= Detail page ================= */ .detail { padding: 30px 0 90px; } .crumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .crumbs a { border-bottom: 1.5px solid transparent; } .crumbs a:hover { color: var(--green); border-color: var(--green); } .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: #eceae3; 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: 8px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4/3; background: #eceae3; transition: border-color 0.12s ease, transform 0.12s ease; } .thumbs button:hover { transform: translateY(-2px); } .thumbs button.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); } .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; } .panel .price small { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.05em; } .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(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 10px 13px; } .kv .cell .k { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; } .kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); } .klabel { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; } .amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; } .amenity { background: var(--lime-soft); color: var(--green-deep); font-size: 12px; font-weight: 600; border: 1px solid var(--green); border-radius: 999px; padding: 5px 12px; } .cta { display: block; text-align: center; background: var(--ink); color: var(--lime); font-weight: 700; font-family: var(--font-display); border-radius: var(--r-ctl); padding: 15px; border: 1.5px solid var(--ink); min-height: 48px; box-shadow: 4px 4px 0 rgba(20,24,20,0.25); transition: all 0.14s ease; } .cta:hover { background: var(--lime); color: var(--ink); } .cta:active { transform: translate(2px, 2px); box-shadow: none; } .panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; font-family: var(--font-mono); letter-spacing: 0.02em; } /* ================= Lightbox ================= */ .lightbox { position: fixed; inset: 0; background: rgba(16, 18, 16, 0.94); z-index: 100; display: flex; align-items: center; justify-content: center; cursor: zoom-out; padding: max(16px, env(safe-area-inset-top)) 16px; } .lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 6px; border: 2px solid var(--lime); } /* ================= Sources page ================= */ .sources { padding: 44px 0 90px; } .sources h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 10px 0 6px; } .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-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding: 14px 18px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2); } .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(--surface-2); } .src-table a { color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--lime); } .pill { display: inline-block; border-radius: 4px; padding: 3px 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .pill.ok { background: var(--lime); color: var(--ink); border: 1px solid var(--ink); } .pill.todo { background: var(--amber-soft); color: #8a5a12; border: 1px solid var(--amber); } .count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; } /* ================= Page Statistiques ================= */ .stats-page { padding: 44px 0 90px; } .stats-title { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; margin: 10px 0 6px; } .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: 3px 3px 0 rgba(20, 24, 20, 0.1); } .tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; } .tile-k { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 6px; } .hero-tile { background: var(--ink); color: var(--lime); border-color: var(--ink); } .hero-tile .tile-k { color: rgba(217, 242, 107, 0.7); } .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; text-transform: uppercase; letter-spacing: -0.01em; } .viz-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 20px; } .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, encre verte) */ .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: 1.5px solid var(--ink); } .histo-bar { width: 100%; background: var(--green); border-radius: 4px 4px 0 0; min-height: 2px; transition: background 0.12s ease; } .histo-col:hover .histo-bar { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); } .histo-x { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); text-align: left; height: 18px; padding-top: 5px; overflow: visible; white-space: nowrap; } /* 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 var(--lime); } .hbar-label a:hover { color: var(--green-deep); } .hbar-track { background: var(--surface-2); border-radius: 0 4px 4px 0; height: 18px; overflow: hidden; } .hbar-fill { display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0; min-width: 2px; transition: background 0.12s ease; } .hbar-row:hover .hbar-fill { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); } .hbar-value { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; white-space: nowrap; } .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: 120; pointer-events: none; max-width: 180px; background: var(--ink); color: var(--paper); border-radius: 8px; border: 1px solid var(--lime); padding: 9px 12px; font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35); } .viz-tip-title { font-family: var(--font-display); font-weight: 700; color: var(--lime); margin-bottom: 2px; } /* Vue tableau repliable (accessibilité / relief) */ .viz-table { margin-top: 16px; border-top: 1.5px dashed var(--line); padding-top: 10px; } .viz-table summary { cursor: pointer; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-deep); } .viz-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; } .viz-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 6px 10px; border-bottom: 1.5px solid var(--ink); } .viz-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); } .stats-foot { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 6px; } /* ================= Mobile : feuille de filtres + FAB ================= */ .sheet-head { display: none; } .sheet-apply { display: none; } .sheet-backdrop { display: none; } .fab { display: none; } @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 h1 { font-size: clamp(30px, 9.4vw, 44px); } .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 { display: grid; grid-template-columns: 1fr; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35); animation: sheet-up 0.22s ease; } @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } } .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: -0.01em; position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1.5px 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; } .filterbar.open .sheet-apply { display: block; width: 100%; } .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(16, 18, 16, 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(18px + env(safe-area-inset-bottom)); z-index: 80; background: var(--ink); color: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(20, 24, 20, 0.25); } .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; } } /* Anti-zoom iOS : les champs doivent faire >= 16px */ @media (max-width: 900px) { .field input, .field select { font-size: 16px; } } /* ================= Footer ================= */ .footer { background: var(--ink); color: rgba(245, 243, 238, 0.75); margin-top: 20px; padding: 44px 0 max(40px, env(safe-area-inset-bottom)); font-size: 13px; } .footer .fbrand { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--paper); letter-spacing: -0.04em; margin-bottom: 12px; } .footer .fbrand .ka { color: var(--lime); } .footer b { color: var(--paper); } .footer .frow { display: flex; flex-direction: column; gap: 5px; max-width: 720px; } .footer .fmono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,243,238,0.45); margin-top: 18px; } /* --- Carte interactive (mission 4) --------------------------------------- */ .results-tools { display: flex; align-items: center; gap: 14px; } .view-toggle { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-flat); } .view-toggle button { border: 0; background: transparent; padding: 7px 14px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); } .view-toggle button + button { border-left: 1.5px solid var(--line-strong); } .view-toggle button.on { background: var(--ink); color: var(--lime); } .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(--line-strong); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden; background: var(--surface-2); } .map-loading { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-family: var(--font-mono); 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; } } /* popup MapLibre au style Lou-Ka */ .maplibregl-popup-content { padding: 0; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-off); font-family: var(--font-body); } .maplibregl-popup-close-button { font-size: 18px; padding: 2px 8px; color: var(--paper); 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(--surface-2); } .mv-pop-body { padding: 10px 12px 12px; } .mv-pop-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; } .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-family: var(--font-mono); font-size: 11px; color: var(--ink-2); margin-top: 6px; } .mv-pop-src { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; } .mv-pop-cta { display: block; margin-top: 10px; padding: 8px 10px; text-align: center; background: var(--ink); color: var(--lime); border-radius: var(--r-ctl); font-weight: 600; font-size: 13px; } .mv-pop-cta:hover { background: var(--green-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 dashed 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-family: var(--font-mono); font-size: 11.5px; color: var(--ink); 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: 3px 3px 0 rgba(20, 24, 20, 0.15); transition: box-shadow 0.15s ease, transform 0.15s ease; } .menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(20,24,20,0.15); } .menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); 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); } .mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 18px 30px rgba(20, 24, 20, 0.18); padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.22s ease; } .mobile-menu.open { max-height: 480px; opacity: 1; } .mm-link { display: flex; align-items: center; gap: 12px; padding: 15px 10px; min-height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; border-bottom: 1.5px dashed var(--line); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; } .mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); } .mm-link.active { color: var(--green); } .mm-link.active .mm-arrow { opacity: 1; } .mm-ico { width: 26px; text-align: center; font-size: 17px; } .mm-arrow { margin-left: auto; opacity: 0.25; transition: opacity 0.15s ease; } .mm-link:active { background: var(--lime-soft); border-radius: var(--r-ctl); } .mm-foot { padding: 12px 10px 4px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em; } .mm-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px); } @media (max-width: 760px) { .menu-btn { display: flex; } .nav { display: none; } .mobile-menu { display: block; } } /* --- 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: 2px 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(--ink); } .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(--green); 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; } .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; } .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(--line-strong); 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; } .q-label { font-family: var(--font-mono); font-size: 10.5px; 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(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; } .q-bar-fill { display: block; height: 100%; background: var(--green); border-radius: 999px; } .q-bar-num { flex: 0 0 30px; text-align: right; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; } .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(--line-strong); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; background: var(--surface); } .q-badge.cool { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } .q-badge.hot { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; } .quartier .fine { margin-top: 10px; } /* --- Fiche v2 (mobile-first) ------------------------------------------------ */ /* mobile : flux unique ordonné ; desktop : 2 colonnes (logement | synthèse) */ .fiche { display: flex; flex-direction: column; gap: 22px; } .f-col { display: contents; } .f-galerie { order: 1; } .f-hero { order: 2; } .f-desc { order: 3; } .f-incl { order: 4; } .f-pratique { order: 5; } .f-quartier { order: 6; } .f-poi { order: 7; } @media (min-width: 900px) { .fiche { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; } .f-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; } } .f-bloc { min-width: 0; } .f-bloc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; } .f-bloc:empty { display: none; } /* galerie à balayage natif */ .carousel { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--line-strong); background: var(--surface-2); } .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.82); color: var(--lime); font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; } .carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, 0.92); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; } .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: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line-strong); } .deal-good { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } .deal-ok { background: var(--surface); color: var(--ink-2); } .deal-high { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; } .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(--ink); color: var(--lime); border-radius: 999px; padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; 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: 1.5px dashed var(--line); margin-bottom: 8px; } .ancres::-webkit-scrollbar { display: none; } .ancres a { flex: 0 0 auto; padding: 9px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-radius: var(--r-ctl); min-height: 44px; display: inline-flex; align-items: center; } .ancres a:hover { background: var(--lime-soft); color: var(--ink); } html { scroll-padding-top: 76px; } /* header sticky au-dessus des ancres */ /* description restructurée */ .enbref { background: var(--lime-soft); border: 1.5px solid var(--green); border-radius: var(--r-card); padding: 12px 15px; color: var(--green-deep); 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-family: var(--font-mono); font-size: 12px; 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(--lime-soft); border-color: var(--green); color: var(--green-deep); font-weight: 600; } .amenity.unconfirmed { background: transparent; border-style: dashed; 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(--line-strong); font-size: 13.5px; background: var(--surface); } .prix-histo.down { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); } /* 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(--line); 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-family: var(--font-mono); font-size: 11px; 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; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; background: rgba(245, 243, 238, 0.94); backdrop-filter: blur(12px); border-top: 2px solid var(--ink); 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; } .cta-sticky-prix small { font-family: var(--font-mono); 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; } /* --- 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: 2px 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.04em; display: inline-flex; align-items: center; } .pass-brand .ka { background: var(--ink); color: var(--lime); padding: 2px 7px 4px; border-radius: 6px; margin-left: 3px; transform: rotate(-2deg); } .pass-trajet { display: inline-flex; align-items: center; gap: 5px; } .pass-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); 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(--green); 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(--lime-soft); border: 1.5px solid var(--green); border-radius: 999px; padding: 6px 16px; color: var(--green-deep); } .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: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-bottom: 20px; } .pass-progress-fill { display: block; height: 100%; width: 0; background: var(--lime); border-right: 2px solid var(--ink); } .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: 6px; overflow-x: auto; margin: 26px 0 22px; padding-bottom: 4px; scrollbar-width: none; border-bottom: 2px solid var(--ink); } .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-bottom: 0; border-radius: var(--r-ctl) var(--r-ctl) 0 0; background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 10px 16px; font-weight: 600; font-size: 13.5px; min-height: 44px; transition: background 0.12s ease, color 0.12s ease; } .onglet:hover { background: var(--lime-soft); color: var(--ink); } .onglet.on { background: var(--ink); color: var(--lime); } /* 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 dashed 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-family: var(--font-mono); font-size: 11px; } .baisse-prix { margin-left: auto; } .baisse-prix s { color: var(--ink-3); } .baisse-pct { font-style: normal; font-family: var(--font-mono); font-weight: 700; background: var(--lime-soft); border: 1px solid var(--green); color: var(--green-deep); border-radius: 999px; padding: 2px 8px; 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); }