spb/food-ka Public
Food-Ka — agrégateur de produits d'épicerie du Québec — www.food-ka.com
Python 57.7%
TypeScript 24.9%
CSS 16.7%
HTML 0.6%
1/* -----------------------------------------------------------------------------2 Food-Ka — Agrégateur de produits d'épicerie (province de Québec)3 Auteur : Simon-Pierre Boucher — contact@spboucher.ai4 styles.css : système de design « éditorial sharp » — thème clair « marché frais »5 · Typo display Space Grotesk / texte Inter / micro-étiquettes JetBrains Mono6 · Signature : bordures encre + ombres décalées (néo-brutalisme raffiné)7 · Palette épicerie : papier crème, encre vert-noir, vert marché #1f7a4d,8 lime #d9f26b en surlignage ponctuel, tomate #e8542f réservée aux soldes9 · Packshots produits : object-fit contain sur fond blanc10 · 100 % adaptatif mobile (PWA installable, safe-areas iOS)11----------------------------------------------------------------------------- */12:root {13 --paper: #faf6ee;14 --surface: #ffffff;15 --surface-2: #f7f2e7;16 --ink: #14231a;17 --ink-2: #47564c;18 --ink-3: #839187;19 --line: rgba(20, 35, 26, 0.14);20 --line-strong: rgba(20, 35, 26, 0.85);21 --green: #1f7a4d;22 --green-bright: #2e9e63;23 --green-deep: #14523a;24 --lime: #d9f26b;25 --lime-soft: #eef6d4;26 --tomato: #e8542f;27 --tomato-deep: #b83c1c;28 --tomato-soft: #fcebe3;29 --amber: #e8a33d;30 --amber-soft: #fdf3e2;31 --danger: #b3423a;32 --r-card: 10px;33 --r-ctl: 6px;34 --shadow-flat: 0 1px 2px rgba(20, 35, 26, 0.05);35 --shadow-off: 6px 6px 0 var(--ink);36 --shadow-off-soft: 8px 8px 0 rgba(20, 35, 26, 0.08);37 --font-display: "Space Grotesk", system-ui, sans-serif;38 --font-body: "Inter", system-ui, sans-serif;39 --font-mono: "JetBrains Mono", ui-monospace, monospace;40}4142* { box-sizing: border-box; }43html { scroll-behavior: smooth; }44body {45 margin: 0;46 background: var(--paper);47 color: var(--ink);48 font-family: var(--font-body);49 font-size: 15px;50 line-height: 1.55;51 -webkit-font-smoothing: antialiased;52 padding-bottom: env(safe-area-inset-bottom);53}54/* grain subtil — texture signature */55body::before {56 content: "";57 position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;58 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");59}60#root { position: relative; z-index: 1; }6162h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; }63a { color: inherit; text-decoration: none; }64button { font-family: inherit; }65img { display: block; }66::selection { background: var(--lime); color: var(--ink); }6768.mono { font-family: var(--font-mono); }69.kicker {70 font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;71 text-transform: uppercase; letter-spacing: 0.14em; color: var(--green);72 display: inline-flex; align-items: center; gap: 8px;73}74.kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); }7576.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }77@media (max-width: 640px) { .container { padding: 0 16px; } }7879/* ================= Header ================= */80.header {81 position: sticky; top: 0; z-index: 50;82 background: rgba(250, 246, 238, 0.88);83 backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);84 border-bottom: 2px solid var(--ink);85}86.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }87.brand {88 font-family: var(--font-display); font-weight: 700; font-size: 26px;89 letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1;90}91.brand .ka {92 background: var(--green-deep); color: var(--lime); padding: 2px 7px 4px;93 border-radius: 6px; margin-left: 3px; transform: rotate(-2deg);94 transition: transform 0.2s ease;95}96.brand:hover .ka { transform: rotate(0deg); }97/* marque panier — pictogramme épicerie à côté du nom */98.brand-mark {99 width: 30px; height: 30px; margin-right: 10px; flex: none;100 display: inline-flex; align-items: center; justify-content: center;101 background: var(--lime); color: var(--ink); border: 1.5px solid var(--ink);102 border-radius: 8px; transform: rotate(-5deg); transition: transform 0.2s ease;103 box-shadow: 2px 2px 0 rgba(20, 35, 26, 0.2);104}105.brand:hover .brand-mark { transform: rotate(0deg); }106.brand-mark svg { width: 17px; height: 17px; }107@media (max-width: 640px) { .brand-mark { width: 26px; height: 26px; margin-right: 8px; } .brand-mark svg { width: 15px; height: 15px; } }108.brand-tag {109 font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3);110 letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px;111}112@media (max-width: 760px) { .brand-tag { display: none; } }113.nav { margin-left: auto; display: flex; gap: 4px; }114.nav a {115 padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;116 color: var(--ink-2); border: 1.5px solid transparent;117 transition: all 0.15s ease; min-height: 40px; display: inline-flex; align-items: center;118}119.nav a:hover { border-color: var(--ink); color: var(--ink); }120.nav a.active { background: var(--green-deep); color: var(--lime); }121122/* ================= Ticker — bande « ruban de caisse » ================= */123.ticker {124 background: var(--surface); color: var(--ink-2); overflow: hidden;125 font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;126 text-transform: uppercase; padding: 7px 0; white-space: nowrap;127 border-bottom: 2px dashed var(--line-strong);128 box-shadow: inset 0 -6px 12px -10px rgba(20, 35, 26, 0.35);129}130.ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; }131.ticker span { padding: 0 26px; position: relative; font-variant-numeric: tabular-nums; }132.ticker span::after { content: "◆"; position: absolute; right: -6px; opacity: 0.6; font-size: 8px; top: 3px; color: var(--green); }133@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }134@media (prefers-reduced-motion: reduce) {135 .ticker-track { animation: none; }136 * { transition-duration: 0.01ms !important; }137}138139/* ================= Hero ================= */140.hero { padding: 58px 0 22px; }141@media (max-width: 640px) { .hero { padding: 34px 0 14px; } }142.hero h1 {143 font-size: clamp(38px, 6.4vw, 78px); font-weight: 700; line-height: 0.98;144 text-transform: uppercase; letter-spacing: -0.035em; max-width: 900px; margin-top: 14px;145}146.hero h1 .outline {147 color: transparent; -webkit-text-stroke: 2px var(--ink);148}149.hero h1 .hl {150 background: var(--lime); padding: 0 10px; border-radius: 8px; display: inline-block;151 transform: rotate(-1deg);152}153/* variante « aubaines » : surlignage tomate (rabais) */154.hero h1 .hl-tomato { background: var(--tomato); color: #fff; }155.kicker-sale { color: var(--tomato-deep); }156.kicker-sale::before { background: var(--tomato); }157.hero p.lede { color: var(--ink-2); font-size: 16.5px; max-width: 640px; margin: 20px 0 0; }158.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }159.stat-chip {160 background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px;161 padding: 8px 16px; font-family: var(--font-mono); font-size: 12px;162 color: var(--ink-2); display: flex; gap: 8px; align-items: center;163 box-shadow: 3px 3px 0 rgba(20, 35, 26, 0.12);164}165.stat-chip b { color: var(--ink); font-weight: 700; }166.stat-chip .pulse {167 width: 8px; height: 8px; border-radius: 50%; background: var(--green);168 box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease infinite;169}170@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(217, 242, 107, 0.4); } }171172/* ================= Filter bar ================= */173.filterbar {174 background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card);175 box-shadow: var(--shadow-off-soft); padding: 14px; margin: 30px 0 6px;176 display: flex; flex-direction: column; gap: 0; min-width: 0;177}178179/* — rangée principale — */180.f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; }181.f-search {182 flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px;183 border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface-2);184 padding: 0 13px; min-height: 52px; color: var(--ink-2);185 transition: box-shadow 0.15s ease;186}187.f-search:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); }188.f-search input {189 border: none; background: none; outline: none; flex: 1; min-width: 0;190 font-size: 15px; color: var(--ink); font-family: inherit;191}192.f-clear {193 border: none; background: var(--line); color: var(--ink-2); border-radius: 50%;194 width: 20px; height: 20px; font-size: 10px; cursor: pointer; flex: none;195 display: grid; place-items: center;196}197.f-ctl {198 flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center;199 gap: 2px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface);200 padding: 7px 12px 6px; min-height: 52px; cursor: pointer;201 transition: box-shadow 0.15s ease;202}203.f-ctl:focus-within { box-shadow: 3px 3px 0 var(--lime); }204.f-ctl > span {205 font-family: var(--font-mono); font-size: 9px; font-weight: 700;206 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);207}208.f-ctl select {209 border: none; background: transparent; outline: none; font-family: var(--font-display);210 font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer;211 appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px;212 text-overflow: ellipsis;213 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");214 background-repeat: no-repeat; background-position: right center;215}216.range-pair { display: flex; align-items: center; gap: 4px; }217.range-pair select { max-width: 86px; }218.range-sep { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }219.f-more {220 flex: none; align-self: stretch; border: 1.5px solid var(--ink); border-radius: 9px;221 background: var(--surface); color: var(--ink); padding: 0 18px; cursor: pointer;222 font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px;223 transition: all 0.13s ease;224}225.f-more:hover { background: var(--lime-soft); }226.f-more.on { background: var(--green-deep); color: var(--lime); box-shadow: 3px 3px 0 rgba(20,35,26,0.22); }227228/* — panneau avancé — */229.f-adv {230 display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 22px;231 border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 14px; min-width: 0;232 animation: adv-in 0.18s ease;233}234@keyframes adv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }235.f-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }236.f-group > label {237 font-family: var(--font-mono); font-size: 10px; font-weight: 700;238 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);239}240.f-group-end { justify-content: flex-end; }241.f-group .btn:disabled { opacity: 0.4; cursor: default; }242.f-native {243 border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl);244 padding: 10px 30px 10px 12px; font-size: 14px; color: var(--ink); outline: none;245 font-family: inherit; min-height: 42px; width: 100%; min-width: 0;246 appearance: none; -webkit-appearance: none;247 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");248 background-repeat: no-repeat; background-position: right 12px center;249}250.f-native:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }251252/* segments (pilules soudées) */253.seg { display: inline-flex; flex-wrap: wrap; row-gap: 6px; }254.seg button {255 border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2);256 padding: 8px 13px; font-family: var(--font-display); font-weight: 600; font-size: 13px;257 cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 38px;258 transition: all 0.12s ease;259}260.seg button:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }261.seg button:last-child { border-radius: 0 8px 8px 0; }262.seg button:hover { background: var(--lime-soft); color: var(--ink); }263.seg button.on { background: var(--green-deep); color: var(--lime); position: relative; z-index: 1; }264265/* pastilles de filtres actifs */266.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }267.pill {268 display: inline-flex; align-items: center; gap: 7px;269 border: 1.5px solid var(--ink); background: var(--lime-soft); color: var(--ink);270 border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600;271 font-family: var(--font-mono); cursor: pointer; transition: all 0.13s ease;272}273.pill:hover { background: var(--lime); }274.pill-x { font-size: 10px; opacity: 0.65; }275.pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); }276.pill-clear:hover { background: var(--danger); color: #fff; }277.chip-sep { width: 1.5px; align-self: stretch; background: var(--line); margin: 4px 4px; flex: none; }278.link-btn {279 background: none; border: none; padding: 0; color: var(--green); font: inherit;280 text-decoration: underline; cursor: pointer;281}282.field { display: flex; flex-direction: column; gap: 5px; }283.field label {284 font-family: var(--font-mono); font-size: 10px; font-weight: 700;285 text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding-left: 2px;286}287.field input, .field select {288 border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl);289 padding: 11px 12px; font-size: 15px; color: var(--ink); outline: none; font-family: inherit;290 transition: border-color 0.15s ease, box-shadow 0.15s ease; min-height: 44px;291 appearance: none; -webkit-appearance: none;292}293.field select {294 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");295 background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px;296}297.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }298.btn {299 border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px;300 font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px;301 transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;302 font-family: var(--font-display); letter-spacing: 0.01em;303}304.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }305.btn-primary { background: var(--green-deep); color: var(--lime); box-shadow: 4px 4px 0 rgba(20,35,26,0.25); }306.btn-primary:hover { background: var(--ink); }307.btn-ghost { background: transparent; color: var(--ink); }308.btn-ghost:hover { background: var(--lime); box-shadow: 4px 4px 0 rgba(20,35,26,0.2); }309310/* ================= Chips ================= */311.chips { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }312.chips::-webkit-scrollbar { display: none; }313.chip {314 border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);315 border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer;316 font-family: var(--font-display); white-space: nowrap; min-height: 40px;317 transition: all 0.13s ease;318}319.chip:hover { background: var(--lime-soft); transform: translateY(-1px); }320.chip.on { background: var(--green-deep); color: var(--lime); box-shadow: 3px 3px 0 rgba(20,35,26,0.2); }321322/* ================= Results ================= */323.results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; }324.results-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; }325.results-head span { font-family: var(--font-mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; }326.grid {327 display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));328 gap: 22px; padding-bottom: 26px;329}330@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 24px; } }331332.card {333 background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-card);334 overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-flat);335 transition: transform 0.16s ease, box-shadow 0.16s ease;336}337.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); }338.card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }339.card-img { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }340.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }341/* packshot produit : image entière sur fond blanc, jamais recadrée */342.card-img.packshot { border-bottom: 1.5px dashed var(--line); }343.card-img.packshot img { object-fit: contain; padding: 14px; }344.card:hover .card-img img { transform: scale(1.05); }345.card-img .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-3); font-size: 34px; }346.badge {347 position: absolute; top: 12px; left: 12px; border-radius: 6px; padding: 4px 10px;348 font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;349 background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 1px solid var(--ink);350}351.badge.sale { background: var(--tomato); color: #fff; border-color: var(--tomato-deep); }352.badge.right { left: auto; right: 12px; background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; }353.card-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }354.card-price {355 font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em;356 display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;357}358.price-old {359 font-family: var(--font-mono); font-weight: 500; color: var(--ink-3); font-size: 12.5px;360 letter-spacing: 0.02em;361 text-decoration: line-through; text-decoration-color: var(--tomato);362}363.price-old.big { font-size: 16px; margin-left: 10px; }364.card-unit { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }365.card-title { font-weight: 600; font-size: 14px; color: var(--ink); }366.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); }367.card-meta .sep { width: 4px; height: 4px; background: var(--lime); border: 1px solid var(--ink); border-radius: 1px; transform: rotate(45deg); }368.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; }369.source-tag {370 font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase;371 letter-spacing: 0.08em; color: var(--green-deep); background: var(--lime-soft);372 border: 1px solid var(--green); border-radius: 4px; padding: 3px 8px;373 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%;374}375.avail { font-size: 11.5px; color: var(--ink-2); font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }376377/* pagination « Charger plus » */378.load-more { display: flex; justify-content: center; padding: 4px 0 70px; }379@media (max-width: 640px) { .load-more { padding-bottom: 90px; } }380381/* ================= Skeletons ================= */382@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }383.skel { border-radius: var(--r-card); border: 1.5px solid var(--line); overflow: hidden; background: var(--surface); }384.skel .sk-img, .skel .sk-line {385 background: linear-gradient(90deg, #efe9db 25%, #f9f5eb 50%, #efe9db 75%);386 background-size: 800px 100%; animation: shimmer 1.4s infinite linear;387}388.skel .sk-img { aspect-ratio: 1/1; }389.skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; }390.skel .sk-line.short { width: 45%; }391392/* ================= Empty / error ================= */393.notice { text-align: center; padding: 72px 24px; color: var(--ink-2); }394.notice .big { font-size: 44px; margin-bottom: 10px; }395.notice h2 { text-transform: uppercase; }396397/* ================= Fiche produit ================= */398.detail { padding: 30px 0 90px; }399.crumbs {400 font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;401 color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;402}403.crumbs a { border-bottom: 1.5px solid transparent; }404.crumbs a:hover { color: var(--green); border-color: var(--green); }405406/* mobile : flux unique ordonné ; desktop : 2 colonnes (produit | synthèse) */407.fiche { display: flex; flex-direction: column; gap: 22px; }408.f-col { display: contents; }409.f-galerie { order: 1; } .f-hero { order: 2; } .f-compare { order: 3; }410.f-desc { order: 4; } .f-pratique { order: 5; }411@media (min-width: 900px) {412 .fiche { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }413 .f-col { display: flex; flex-direction: column; gap: 26px; min-width: 0; }414}415.f-bloc { min-width: 0; }416.f-bloc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }417.f-bloc:empty { display: none; }418419/* galerie à balayage natif — packshots entiers, fond blanc */420.carousel { position: relative; border-radius: var(--r-card); overflow: hidden;421 border: 1.5px solid var(--line-strong); background: #fff; }422.carousel-track {423 display: flex; overflow-x: auto; scroll-snap-type: x mandatory;424 -webkit-overflow-scrolling: touch; scrollbar-width: none; aspect-ratio: 1/1;425}426.carousel-track::-webkit-scrollbar { display: none; }427.carousel-track img {428 flex: 0 0 100%; width: 100%; object-fit: cover; scroll-snap-align: center;429 cursor: zoom-in;430}431.carousel.packshot .carousel-track { aspect-ratio: 4/3; }432.carousel.packshot .carousel-track img { object-fit: contain; padding: 24px; }433.carousel-empty { display: flex; align-items: center; justify-content: center;434 aspect-ratio: 4/3; font-size: 48px; }435.carousel-count {436 position: absolute; right: 12px; bottom: 12px; z-index: 2;437 background: rgba(20, 35, 26, 0.82); color: var(--lime);438 font-family: var(--font-mono); font-size: 12px; font-weight: 700;439 padding: 4px 10px; border-radius: 999px;440}441.carousel-nav {442 position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;443 width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);444 background: rgba(255, 255, 255, 0.92); font-size: 22px; cursor: pointer;445 display: flex; align-items: center; justify-content: center; line-height: 1;446}447.carousel-nav.prev { left: 10px; } .carousel-nav.next { right: 10px; }448@media (max-width: 640px) { .carousel-nav { display: none; } } /* balayage natif */449.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }450.thumbs button {451 border: 2px solid var(--line); border-radius: 8px; overflow: hidden; padding: 6px; cursor: pointer;452 aspect-ratio: 1/1; background: #fff; transition: border-color 0.12s ease, transform 0.12s ease;453}454.thumbs button:hover { transform: translateY(-2px); }455.thumbs button.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }456.thumbs img { width: 100%; height: 100%; object-fit: contain; }457458/* bandeau prix */459.f-hero .price {460 font-family: var(--font-display); font-size: clamp(34px, 8vw, 44px); font-weight: 700;461 letter-spacing: -0.03em; display: flex; align-items: baseline; flex-wrap: wrap;462}463.unit-price {464 font-family: var(--font-mono); font-size: 13px; color: var(--ink-2);465 letter-spacing: 0.04em; margin-top: 4px;466}467.deal-badge {468 display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 4px;469 border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;470 border: 1.5px solid var(--line-strong);471}472.deal-good { background: var(--tomato-soft); border-color: var(--tomato); color: var(--tomato-deep); }473.deal-ok { background: var(--surface); color: var(--ink-2); }474.deal-high { background: var(--amber-soft); border-color: var(--amber); color: #8a5a12; }475.f-hero h1 { font-size: clamp(20px, 4.5vw, 26px); margin-top: 8px; }476.f-hero .loc { color: var(--ink-2); font-size: 14px; }477478/* chips clés à défilement horizontal */479.chips-scroll {480 display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 6px;481 scrollbar-width: none; -webkit-overflow-scrolling: touch;482}483.chips-scroll::-webkit-scrollbar { display: none; }484.chip-key {485 flex: 0 0 auto; background: var(--green-deep); color: var(--lime);486 border-radius: 999px; padding: 8px 14px; font-family: var(--font-mono);487 font-size: 12px; font-weight: 700; white-space: nowrap; min-height: 34px;488 display: inline-flex; align-items: center;489}490491.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }492@media (max-width: 380px) { .kv { grid-template-columns: 1fr; } }493.kv .cell { background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 10px 13px; }494.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; }495.kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); }496.amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }497.amenity {498 background: var(--lime-soft); color: var(--green-deep); font-size: 12px; font-weight: 600;499 border: 1px solid var(--green); border-radius: 999px; padding: 5px 12px;500}501.amenity.confirmed { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); font-weight: 600; }502.cta {503 display: flex; align-items: center; justify-content: center; gap: 10px;504 text-align: center; background: var(--green-deep); color: var(--lime);505 font-weight: 700; font-family: var(--font-display); border-radius: var(--r-ctl);506 padding: 12px 15px; border: 1.5px solid var(--ink); min-height: 48px;507 box-shadow: 4px 4px 0 rgba(20,35,26,0.25); transition: all 0.14s ease;508 margin-top: 14px;509}510.cta:hover { background: var(--lime); color: var(--ink); }511.cta:active { transform: translate(2px, 2px); box-shadow: none; }512.fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; font-family: var(--font-mono); letter-spacing: 0.02em; }513514/* historique de prix */515.prix-histo {516 margin-top: 12px; padding: 10px 14px; border-radius: var(--r-card);517 border: 1.5px solid var(--line-strong); font-size: 13.5px; background: var(--surface);518}519.prix-histo.down { background: var(--lime-soft); border-color: var(--green); color: var(--green-deep); }520.texte-original { margin-top: 12px; }521.texte-original summary {522 cursor: pointer; font-family: var(--font-mono); font-size: 12px;523 color: var(--ink-3); min-height: 44px; display: flex; align-items: center;524}525.histo-prix-liste { list-style: none; margin: 0; padding: 0; }526.histo-prix-liste li {527 display: flex; justify-content: space-between; align-items: baseline; gap: 12px;528 padding: 7px 2px; border-bottom: 1px dashed var(--line); font-size: 13px;529}530.histo-prix-liste li:last-child { border-bottom: 0; }531.hp-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }532.hp-prix { font-family: var(--font-display); }533534/* ================= Comparer les prix ================= */535.q-sub { color: var(--ink-3); font-size: 13px; margin: 4px 0 16px; }536.cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }537.cmp-list li {538 background: var(--surface); border: 1.5px solid var(--line-strong);539 border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-flat);540 transition: transform 0.14s ease, box-shadow 0.14s ease;541}542.cmp-list li:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }543.cmp-list li.best { border-color: var(--green); background: var(--lime-soft); }544.cmp-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }545.cmp-img {546 flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid var(--line);547 border-radius: 8px; background: #fff; overflow: hidden;548 display: flex; align-items: center; justify-content: center;549}550.cmp-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }551.cmp-img .noimg { font-size: 22px; color: var(--ink-3); }552.cmp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }553.cmp-name { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis;554 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }555.cmp-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }556.cmp-main .source-tag { align-self: flex-start; max-width: 100%; }557.cmp-price { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }558.cmp-price b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }559.cmp-unit { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }560.cmp-best {561 font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase;562 letter-spacing: 0.08em; background: var(--green); color: var(--lime);563 border-radius: 4px; padding: 2px 7px;564}565.baisse-pct {566 font-style: normal; font-family: var(--font-mono); font-weight: 700;567 background: var(--tomato-soft); border: 1px solid var(--tomato);568 color: var(--tomato-deep); border-radius: 999px; padding: 2px 8px;569 font-size: 11px;570}571572/* ================= Lightbox ================= */573.lightbox {574 position: fixed; inset: 0; background: rgba(16, 18, 16, 0.94); z-index: 100;575 display: flex; align-items: center; justify-content: center; cursor: zoom-out;576 padding: max(16px, env(safe-area-inset-top)) 16px;577}578.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 6px; border: 2px solid var(--lime); background: #fff; }579580/* ================= Sources page ================= */581.sources { padding: 44px 0 90px; }582.sources h1 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; margin: 10px 0 6px; }583.sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; }584.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); }585.src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }586.src-table th {587 text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;588 letter-spacing: 0.12em; color: var(--ink-3); padding: 14px 18px;589 border-bottom: 1.5px solid var(--ink); background: var(--surface-2);590}591.src-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }592.src-table tr:last-child td { border-bottom: none; }593.src-table tr:hover td { background: var(--surface-2); }594.src-table a { color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--lime); }595.pill.ok { background: var(--lime); color: var(--ink); border: 1px solid var(--ink); border-radius: 4px; padding: 3px 10px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; }596.pill.todo { background: var(--amber-soft); color: #8a5a12; border: 1px solid var(--amber); border-radius: 4px; padding: 3px 10px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; }597.count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; }598599/* ================= Page Statistiques ================= */600.stats-page { padding: 44px 0 90px; }601.stats-title { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; margin: 10px 0 6px; }602.stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; }603604.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; }605.tile {606 background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);607 padding: 18px 20px; box-shadow: 3px 3px 0 rgba(20, 35, 26, 0.1);608}609.tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }610.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; }611.hero-tile { background: var(--green-deep); color: var(--lime); border-color: var(--green-deep); }612.hero-tile .tile-k { color: rgba(217, 242, 107, 0.7); }613614.viz-card {615 background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);616 box-shadow: var(--shadow-off-soft); padding: 26px 28px 20px; margin-bottom: 22px;617}618.viz-card h2 { font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }619.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; }620.viz-card .deals-grid { padding-bottom: 8px; }621622/* Barres horizontales (mono-série) */623.hbars { display: flex; flex-direction: column; gap: 7px; }624.hbar-row {625 display: grid; grid-template-columns: minmax(96px, 170px) 1fr auto;626 gap: 12px; align-items: center; min-height: 26px; cursor: default;627}628.hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }629.hbar-label a { border-bottom: 1.5px solid var(--lime); }630.hbar-label a:hover { color: var(--green-deep); }631.hbar-track { background: var(--surface-2); border-radius: 0 4px 4px 0; height: 18px; overflow: hidden; }632.hbar-fill {633 display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0;634 min-width: 2px; transition: background 0.12s ease;635}636.hbar-row:hover .hbar-fill { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); }637.hbar-value { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; white-space: nowrap; }638.hbar-value em { font-style: normal; font-weight: 500; color: var(--ink-3); }639@media (max-width: 640px) {640 .hbar-row { grid-template-columns: minmax(80px, 110px) 1fr auto; gap: 8px; }641 .hbar-value em { display: none; }642 .viz-card { padding: 20px 16px 14px; }643}644645/* Infobulle */646.viz-tip {647 position: fixed; z-index: 120; pointer-events: none; max-width: 180px;648 background: var(--ink); color: var(--paper); border-radius: 8px;649 border: 1px solid var(--lime); padding: 9px 12px; font-size: 12px; line-height: 1.5;650 box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35);651}652.viz-tip-title { font-family: var(--font-display); font-weight: 700; color: var(--lime); margin-bottom: 2px; }653654/* Vue tableau repliable (accessibilité / relief) */655.viz-table { margin-top: 16px; border-top: 1.5px dashed var(--line); padding-top: 10px; }656.viz-table summary {657 cursor: pointer; font-family: var(--font-mono); font-size: 11px; font-weight: 700;658 text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-deep);659}660.viz-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }661.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); }662.viz-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); }663664.stats-foot { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 6px; }665.alertes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }666667/* ================= Mobile : feuille de filtres + FAB ================= */668.sheet-head { display: none; }669.sheet-apply { display: none; }670.sheet-backdrop { display: none; }671.fab { display: none; }672673@media (max-width: 640px) {674 /* En-tête compact */675 .header-inner { height: 56px; }676 .brand { font-size: 21px; }677 .nav a { padding: 8px 13px; font-size: 13.5px; }678 .ticker { font-size: 10.5px; padding: 6px 0; }679680 /* Héro resserré + stats en rangée défilante */681 .hero h1 { font-size: clamp(30px, 9.4vw, 44px); }682 .hero p.lede { font-size: 15px; }683 .stat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }684 .stat-row::-webkit-scrollbar { display: none; }685 .stat-chip { flex: 0 0 auto; white-space: nowrap; }686687 /* La barre de filtres devient une feuille coulissante (bottom sheet) */688 .filterbar { display: none; }689 .filterbar.open .f-primary { flex-direction: column; }690 .filterbar.open .f-ctl select { max-width: none; width: 100%; }691 .filterbar.open .f-more { display: none; }692 .filterbar.open .f-adv { margin-top: 4px; }693 .filterbar.open {694 display: flex; flex-direction: column; gap: 12px;695 position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;696 margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0;697 max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;698 padding: 16px 18px calc(18px + env(safe-area-inset-bottom));699 box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35);700 animation: sheet-up 0.22s ease;701 }702 @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } }703 .filterbar.open .sheet-head {704 display: flex; justify-content: space-between; align-items: center;705 font-family: var(--font-display); font-weight: 700; font-size: 17px;706 text-transform: uppercase; letter-spacing: -0.01em;707 position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px;708 border-bottom: 1.5px solid var(--line); margin-bottom: 2px; z-index: 1;709 }710 .sheet-close {711 border: 1.5px solid var(--ink); background: var(--surface); border-radius: 50%;712 width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1;713 }714 .filterbar.open .sheet-apply { display: block; width: 100%; }715 .sheet-backdrop {716 display: block; position: fixed; inset: 0; z-index: 90;717 background: rgba(16, 18, 16, 0.45); backdrop-filter: blur(2px);718 }719720 /* Bouton flottant */721 .fab {722 display: flex; align-items: center; gap: 6px;723 position: fixed; left: 50%; transform: translateX(-50%);724 bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80;725 background: var(--green-deep); color: var(--lime); border: 1.5px solid var(--ink);726 border-radius: 999px; padding: 13px 24px; font-family: var(--font-display);727 font-weight: 700; font-size: 15px; cursor: pointer;728 box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(20, 35, 26, 0.25);729 }730 .fab:active { transform: translateX(-50%) scale(0.97); }731732 /* Fiche produit : vignettes en bande défilante */733 .thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }734 .thumbs::-webkit-scrollbar { display: none; }735 .thumbs button { flex: 0 0 96px; }736 .detail { padding-top: 20px; }737 .results-head { margin-top: 20px; }738 .chips { margin-right: -16px; padding-right: 16px; }739 .notice { padding: 48px 16px; }740 .cmp-link { padding: 8px 10px; gap: 10px; }741 .cmp-img { flex-basis: 48px; width: 48px; height: 48px; }742}743744/* Anti-zoom iOS : les champs doivent faire >= 16px */745@media (max-width: 900px) {746 .field input, .field select { font-size: 16px; }747}748749/* ================= Footer ================= */750.footer { background: var(--ink); color: rgba(250, 246, 238, 0.75); margin-top: 20px; padding: 44px 0 max(40px, env(safe-area-inset-bottom)); font-size: 13px; }751.footer .fbrand { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--paper); letter-spacing: -0.04em; margin-bottom: 12px; }752.footer .fbrand .ka { color: var(--lime); }753.footer b { color: var(--paper); }754.footer .frow { display: flex; flex-direction: column; gap: 5px; max-width: 720px; }755.footer .fmono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,246,238,0.45); margin-top: 18px; }756.footer .fmono a { text-decoration: underline; text-underline-offset: 2px; }757758/* --- Menu déroulant mobile ------------------------------------------------- */759.menu-btn {760 display: none; position: relative; z-index: 60;761 width: 44px; height: 44px; margin-left: auto;762 border: 1.5px solid var(--ink); border-radius: var(--r-ctl);763 background: var(--surface); cursor: pointer; padding: 0;764 flex-direction: column; align-items: center; justify-content: center; gap: 5px;765 box-shadow: 3px 3px 0 rgba(20, 35, 26, 0.15);766 transition: box-shadow 0.15s ease, transform 0.15s ease;767}768.menu-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(20,35,26,0.15); }769.menu-btn span {770 display: block; width: 18px; height: 2px; background: var(--ink);771 border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;772}773.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }774.menu-btn.open span:nth-child(2) { opacity: 0; }775.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }776777.mobile-menu {778 display: none; position: absolute; left: 0; right: 0; top: 100%;779 background: var(--paper); border-bottom: 2px solid var(--ink);780 box-shadow: 0 18px 30px rgba(20, 35, 26, 0.18);781 padding: 8px 16px calc(16px + env(safe-area-inset-bottom));782 max-height: 0; overflow: hidden; opacity: 0;783 transition: max-height 0.3s ease, opacity 0.22s ease;784}785.mobile-menu.open { max-height: 480px; opacity: 1; }786.mm-link {787 display: flex; align-items: center; gap: 12px;788 padding: 15px 10px; min-height: 52px;789 font-family: var(--font-display); font-weight: 700; font-size: 19px;790 letter-spacing: -0.02em; border-bottom: 1.5px dashed var(--line);791 opacity: 0; transform: translateY(-8px);792 transition: opacity 0.25s ease, transform 0.25s ease;793}794.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }795.mm-link.active { color: var(--green); }796.mm-link.active .mm-arrow { opacity: 1; }797.mm-ico { width: 26px; text-align: center; font-size: 17px; }798.mm-arrow { margin-left: auto; opacity: 0.25; transition: opacity 0.15s ease; }799.mm-link:active { background: var(--lime-soft); border-radius: var(--r-ctl); }800.mm-foot {801 padding: 12px 10px 4px; font-family: var(--font-mono);802 font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em;803}804.mm-backdrop {805 position: fixed; inset: 0; z-index: 40;806 background: rgba(20, 35, 26, 0.35); backdrop-filter: blur(2px);807}808@media (max-width: 760px) {809 .menu-btn { display: flex; }810 .nav { display: none; }811 .mobile-menu { display: block; }812}813814/* --- Bandeau de consentement (témoins) ------------------------------------- */815.cookie-banner {816 position: fixed; left: 12px; right: 12px;817 bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;818 animation: cookie-in 0.35s ease;819}820@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } }821.cookie-inner {822 max-width: 720px; margin: 0 auto; background: var(--surface);823 border: 2px solid var(--ink); border-radius: var(--r-card);824 box-shadow: var(--shadow-off); padding: 16px 18px;825}826.cookie-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }827.cookie-text b { color: var(--ink); }828.cookie-text a { text-decoration: underline; text-underline-offset: 2px; }829.cookie-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }830.cookie-opt {831 display: flex; align-items: flex-start; gap: 10px; font-size: 13px;832 color: var(--ink-2); cursor: pointer;833}834.cookie-opt input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; }835.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: flex-end; }836@media (max-width: 640px) {837 .cookie-actions { justify-content: stretch; }838 .cookie-actions .btn { flex: 1; text-align: center; justify-content: center; }839}840841/* --- Page confidentialité + lien pied de page ------------------------------- */842.legal { padding: 48px 0 70px; max-width: 760px; }843.legal h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 8px; letter-spacing: -0.03em; }844.legal section { margin-top: 26px; }845.legal h3 { font-size: 18px; margin-bottom: 8px; }846.legal p, .legal li { color: var(--ink-2); font-size: 14.5px; }847.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }848.flink {849 border: 0; background: none; padding: 0; cursor: pointer;850 color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px;851}852853/* --- CTA sticky mobile (fiche produit) -------------------------------------- */854.cta-sticky {855 position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;856 display: flex; align-items: center; gap: 12px;857 background: rgba(250, 246, 238, 0.94); backdrop-filter: blur(12px);858 border-top: 2px solid var(--ink);859 padding: 10px 16px calc(10px + env(safe-area-inset-bottom));860}861.cta-sticky .cta { flex: 1; margin: 0; text-align: center; }862.cta-sticky-prix { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; }863.cta-sticky-prix small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; color: var(--ink-3); }864@media (min-width: 900px) { .cta-sticky { display: none; } }865@media (max-width: 899px) {866 .cta-desktop { display: none; }867 .detail { padding-bottom: 84px; } /* place pour le CTA sticky */868}869.f-foot { margin-top: 26px; }870871/* ================= Logos de bannières ================= */872.src-logo { display: inline-flex; align-items: center; gap: 8px; min-width: 0; vertical-align: middle; }873.src-logo img {874 border-radius: 6px; background: #fff; border: 1px solid var(--line);875 object-fit: contain; padding: 2px; flex: none;876}877.src-logo-name {878 font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;879 text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-deep);880 overflow: hidden; text-overflow: ellipsis; white-space: nowrap;881}882.card-foot .src-logo { max-width: 60%; }883.cta .src-logo img { border-color: rgba(255, 255, 255, 0.6); }884.cta:hover .src-logo img { border-color: var(--ink); }885.src-cell { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }886.src-cell .src-logo img { padding: 3px; }887888/* ================= Stats — panier comparatif ================= */889.basket-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }890.basket-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 13px; }891.basket-table thead th {892 padding: 10px 8px; border-bottom: 2px solid var(--ink); vertical-align: bottom;893 font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;894 letter-spacing: 0.06em; color: var(--ink-3); text-align: center;895}896.basket-table thead th:first-child { text-align: left; }897.basket-th { display: flex; flex-direction: column; align-items: center; gap: 6px; }898.basket-th .src-logo img { padding: 3px; }899.basket-table tbody th {900 text-align: left; padding: 8px 10px; font-weight: 600; font-size: 13.5px;901 border-bottom: 1px solid var(--line); white-space: nowrap;902}903.basket-table td {904 padding: 8px; border-bottom: 1px solid var(--line); text-align: center;905 font-family: var(--font-mono); font-size: 12.5px; font-variant-numeric: tabular-nums;906 white-space: nowrap;907}908.basket-table td.cell-best { color: var(--green-deep); font-weight: 700; }909.basket-table .best-col { background: rgba(46, 158, 99, 0.13); }910.basket-table tfoot th, .basket-table tfoot td {911 border-top: 2px solid var(--ink); border-bottom: none;912 font-family: var(--font-display); font-weight: 700; font-size: 14.5px; padding: 10px 8px;913}914.basket-table tfoot th { text-align: left; font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }915.basket-table tfoot small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; color: var(--ink-3); margin-top: 2px; }916.basket-callout {917 display: inline-flex; align-items: center; gap: 9px; margin: 16px 0 2px;918 border: 1.5px solid var(--green); background: var(--lime-soft); color: var(--green-deep);919 border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 13.5px;920 box-shadow: 3px 3px 0 rgba(20, 35, 26, 0.12);921}922923/* ================= Stats — tableau bannières & matrice ================= */924.stat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }925.stat-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13px; }926.stat-table th {927 padding: 9px 10px; border-bottom: 2px solid var(--ink); text-align: right;928 font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;929 letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap;930}931.stat-table th:first-child { text-align: left; }932.stat-table th.sortable { cursor: pointer; user-select: none; }933.stat-table th.sortable:hover { color: var(--ink); }934.stat-table th.sorted { color: var(--green-deep); }935.stat-table td {936 padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right;937 font-family: var(--font-mono); font-size: 12.5px; font-variant-numeric: tabular-nums;938 white-space: nowrap;939}940.stat-table td:first-child { text-align: left; }941.stat-table tr:hover td { background: var(--surface-2); }942.stat-table a { display: inline-flex; }943.stat-table .pct-sale { color: var(--tomato-deep); font-weight: 700; }944.mini-track {945 display: inline-block; width: 74px; height: 8px; margin-left: 10px;946 background: var(--surface-2); border-radius: 4px; overflow: hidden; vertical-align: middle;947}948.mini-fill { display: block; height: 100%; background: var(--green); border-radius: 4px; min-width: 2px; }949950.matrix-table td { min-width: 74px; text-align: center; }951.matrix-table td:first-child { text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 13px; white-space: nowrap; }952.matrix-table th { text-align: center; }953.matrix-table th:first-child { text-align: left; }954.matrix-table td.cell-best { color: var(--green-deep); font-weight: 700; }955.matrix-table tr:hover td { background: inherit; }956.matrix-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }957.matrix-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); vertical-align: -2px; margin-right: 6px; }958959/* ================= Stats — baisses de prix ================= */960.drops-list { list-style: none; margin: 0; padding: 0; }961.drops-list li { border-bottom: 1px dashed var(--line); }962.drops-list li:last-child { border-bottom: none; }963.drops-list a {964 display: flex; align-items: center; gap: 12px; padding: 10px 6px;965 border-radius: var(--r-ctl); transition: background 0.12s ease;966}967.drops-list a:hover { background: var(--surface-2); }968.drop-name {969 flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;970 font-weight: 600; font-size: 13.5px;971}972.drop-prices { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }973.drop-prices s { text-decoration-color: var(--tomato); color: var(--ink-3); }974.drop-prices b { color: var(--ink); }975.drop-pct {976 font-family: var(--font-mono); font-weight: 700; font-size: 11px; white-space: nowrap;977 background: var(--tomato-soft); border: 1px solid var(--tomato); color: var(--tomato-deep);978 border-radius: 999px; padding: 2px 8px; flex: none;979}980@media (max-width: 640px) {981 .drop-prices s { display: none; }982 .drops-list a { gap: 9px; }983}984985/* ancres de navigation rapide */986html { scroll-padding-top: 76px; } /* header sticky au-dessus des ancres */987988/* ---- bouton rapport PDF (page Stats) ---- */989.stats-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }990.btn-pdf { text-decoration: none; white-space: nowrap; }991