SPB Git forge

spb/resto-ka

Public

Resto·Ka — tous les restaurants du Québec, menus complets et prix réels (famille ·Ka)

52commits 1branches 0releases
11.6 MBsize
maindefault branch
19 days agolast push
Python 69.3% TypeScript 16.7% CSS 7.9% JavaScript 4.7% HTML 1.4%
50.0 KB · 988 lines css
Raw Blame History
1/* -----------------------------------------------------------------------------2  Author: Simon-Pierre Boucher <contact@spboucher.ai>3  File:   styles.css4  Desc:   Identité visuelle Resto·Ka v2 — « éditorial premium » du GROUPE KA.5          Le socle (palette fixe, typo, grain, boutons, cartes…) vient de ka-ui6          (src/ka/tokens.css, importé AVANT ce fichier) ; ici on définit7          l'ACCENT SAFRAN de Resto-Ka + les classes métier.8    · v2 (2026-08-25) : moins de boîtes/ombres, plus de typographie et de9      filets d'encre — bande « signes vitaux » pleine largeur sur fond encre,10      chiffres géants tabulaires, nav soulignée, rangs de plats en lignes11      éditoriales (pointillés conduits), fiches allégées. Aucune logique changée.12    · Accent Resto-Ka : safran #f08c00 (soft #fdeed7 · deep #b96a00)13    · Baseline : « Chaque resto, chaque plat, chaque prix. »14    · 100 % adaptatif mobile (safe-areas iOS)15----------------------------------------------------------------------------- */16:root {17  /* ACCENT du site — seule surcharge de tokens.css (ka-ui) */18  --accent: #f08c00;19  --accent-soft: #fdeed7;20  --accent-deep: #b96a00;21  --on-accent: #141814;2223  /* alias rétro-compatibles (le code historique utilise --lime) */24  --lime: var(--accent);25  --lime-soft: var(--accent-soft);26}2728h1, h2, h3, h4 { font-weight: 700; margin: 0; }29a { text-decoration: none; }30button { font-family: inherit; }31img { display: block; }3233.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }34@media (max-width: 640px) { .container { padding: 0 16px; } }3536/* ================= Primitives éditoriales v2 ================= */37/* pleine largeur depuis n'importe quel parent centré (tokens.css pose38   overflow-x: clip sur html ET body — requis) */39.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }40.band-ink { background: var(--ink); color: var(--paper); }41.rule-ink { border-top: 2px solid var(--ink); }42.rule-hair { border-top: 1px solid var(--line); }43.tnum { font-variant-numeric: tabular-nums; }4445/* ================= Header ================= */46.header {47  position: sticky; top: 0; z-index: var(--z-header, 500);48  background: var(--paper);49  border-bottom: 1.5px solid var(--ink);50}51:root { --header-h: 64px; }  /* hauteur du header (ancre du menu compte fixed) */52.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }53.brand {54  font-family: var(--font-display); font-weight: 700; font-size: 24px;55  letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1;56  color: var(--ink);57}58.brand .logo-ico { margin-right: 11px; flex: none; }59/* « Ka » en pastille safran inclinée — même geste que la carte membre Groupe KA */60.brand .ka {61  background: var(--accent); color: var(--ink);62  padding: 1px 6px 3px; border-radius: 5px; margin-left: 3px;63  display: inline-block; transform: rotate(-2deg);64  transition: transform 0.15s ease;65}66.brand:hover .ka { transform: rotate(0); }67.brand-tag {68  font-family: var(--font-mono); font-size: 10px; font-weight: 500;69  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);70  margin-left: 14px;71}72@media (max-width: 900px) { .brand-tag { display: none; } }73/* nav v2 : liens texte soulignés (trait qui se déploie), plus de pilules */74.nav { margin-left: auto; display: flex; gap: 26px; }75.nav a {76  position: relative; padding: 8px 2px; min-height: 38px;77  display: inline-flex; align-items: center;78  font-family: var(--font-display); font-weight: 700; font-size: 14px;79  color: var(--ink-2); transition: color 0.13s ease;80}81.nav a::after {82  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2.5px;83  background: var(--ink); transform: scaleX(0); transform-origin: left;84  transition: transform 0.18s ease;85}86.nav a:hover { color: var(--ink); }87.nav a:hover::after { transform: scaleX(1); }88.nav a.active { color: var(--ink); }89.nav a.active::after { transform: scaleX(1); background: var(--accent); height: 3px; }9091/* ================= Ticker ================= */92.ticker {93  background: var(--ink); color: rgba(245, 243, 238, 0.85); overflow: hidden;94  font-family: var(--font-mono); font-size: 11px; font-weight: 500;95  letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 0;96  white-space: nowrap; border-bottom: 1.5px solid var(--ink);97}98.ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; }99.ticker span { padding: 0 26px; position: relative; }100.ticker span::after { content: "◆"; position: absolute; right: -6px; color: var(--accent); opacity: 0.9; font-size: 8px; top: 3px; }101@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }102@media (prefers-reduced-motion: reduce) {103  .ticker-track { animation: none; }104  * { transition-duration: 0.01ms !important; }105}106107/* ================= Hero ================= */108.hero { padding: 64px 0 0; }109@media (max-width: 640px) { .hero { padding: 38px 0 0; } }110.hero h1 {111  font-size: clamp(40px, 7.4vw, 92px); font-weight: 700; line-height: 0.99;112  letter-spacing: -0.045em; max-width: 1080px; margin-top: 18px; color: var(--ink);113}114.hero p.lede { color: var(--ink-2); font-size: 17.5px; max-width: 660px; margin: 22px 0 0; line-height: 1.6; }115116/* --- signes vitaux : bande encre pleine largeur, chiffres géants ------------ */117.vitals { margin-top: 40px; padding: 30px 0 36px; }118.vitals-in {119  max-width: 1240px; margin: 0 auto; padding: 0 24px;120  display: grid; grid-template-columns: repeat(4, 1fr);121  gap: 22px 32px; align-items: end;122}123.vitals-live {124  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;125  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;126  text-transform: uppercase; letter-spacing: 0.14em; color: rgba(245, 243, 238, 0.6);127}128.vital { border-top: 1px solid rgba(245, 243, 238, 0.22); padding-top: 14px; min-width: 0; }129.vital-i {130  display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700;131  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 8px;132}133.vital-v {134  display: block; font-family: var(--font-display); font-weight: 700;135  font-size: clamp(30px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em;136  color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap;137}138.vital-k {139  display: block; margin-top: 8px;140  font-family: var(--font-mono); font-size: 10px; font-weight: 600;141  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245, 243, 238, 0.55);142}143@media (max-width: 760px) {144  .vitals { margin-top: 30px; padding: 24px 0 28px; }145  .vitals-in { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 0 16px; }146}147.pulse {148  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);149  box-shadow: 0 0 0 4px rgba(240, 140, 0, 0.25); animation: pulse 2.4s ease infinite;150  flex: none; display: inline-block;151}152@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(240, 140, 0, 0.08); } }153154/* ================= Rangée d'avantages (strip éditorial, sans boîtes) ======= */155.benefits {156  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));157  gap: 0 34px; margin-top: 26px;158}159.benefit {160  display: flex; align-items: center; gap: 11px;161  border-top: 1px solid var(--line); padding: 13px 0;162}163.benefit-ico {164  width: auto; height: auto; border: none; background: none; box-shadow: none;165  flex: none; display: flex; align-items: center; justify-content: center;166  color: var(--accent-deep);167}168.benefit-ico.blue { background: none; color: var(--green); }169.benefit-label {170  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;171  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink);172}173@media (max-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 18px; } }174175/* ================= Filter bar (bande à filets, sans carte) ================= */176.filterbar {177  background: transparent; border: none; border-radius: 0; box-shadow: none;178  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line);179  padding: 18px 0 20px; margin: 26px 0 6px;180  display: flex; flex-direction: column; gap: 0; min-width: 0;181}182.f-primary { display: flex; gap: 14px 22px; align-items: stretch; flex-wrap: wrap; min-width: 0; }183.f-search {184  flex: 1 1 240px; min-width: 0; max-width: 480px; align-self: center;185  display: flex; align-items: center; gap: 9px;186  border: none; border-bottom: 1.5px solid var(--ink); border-radius: 0;187  background: transparent; padding: 0 2px; min-height: 46px; color: var(--ink-2);188  box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;189}190.f-search:focus-within {191  outline: none; border-color: var(--accent-deep);192  box-shadow: 0 1.5px 0 var(--accent-deep); background: transparent;193}194.f-search input {195  border: none; background: none; outline: none; flex: 1; min-width: 0;196  font-size: 15px; color: var(--ink); font-family: inherit;197}198.f-clear {199  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);200  border-radius: 50%; width: 20px; height: 20px; font-size: 10px; cursor: pointer;201  flex: none; display: grid; place-items: center;202}203.f-ctl {204  flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center;205  gap: 3px; border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0;206  background: transparent; padding: 4px 2px 7px; min-height: 52px; cursor: pointer;207  box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;208}209.f-ctl:focus-within { outline: none; border-color: var(--accent-deep); box-shadow: 0 1px 0 var(--accent-deep); }210.f-ctl > span {211  font-family: var(--font-mono); font-size: 9px; font-weight: 700;212  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);213}214.f-ctl select {215  border: none; background: transparent; outline: none; font-family: var(--font-display);216  font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer;217  appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px;218  text-overflow: ellipsis;219  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");220  background-repeat: no-repeat; background-position: right center;221}222223/* pastilles de filtres actifs */224.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 2px; }225.pill {226  display: inline-flex; align-items: center; gap: 7px;227  border: 1px solid var(--ink); background: var(--accent); color: var(--ink);228  border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 700;229  font-family: var(--font-display); cursor: pointer;230  box-shadow: none; transition: all 0.12s ease;231}232.pill:hover { background: var(--ink); color: var(--accent); }233.pill-x { font-size: 10px; opacity: 0.65; }234.pill-clear { background: transparent; border-color: var(--danger); color: var(--danger); }235.pill-clear:hover { background: var(--danger); color: #fff; }236.link-btn {237  background: none; border: none; padding: 0; color: var(--green); font: inherit;238  text-decoration: underline; cursor: pointer;239}240.btn {241  display: inline-flex; align-items: center; justify-content: center; gap: 8px;242  border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 10px 20px;243  font-family: var(--font-display); font-weight: 700; font-size: 14px;244  cursor: pointer; min-height: 44px;245  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;246}247.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }248.btn-primary { background: var(--ink); color: var(--accent); box-shadow: var(--shadow-off-mid); }249.btn-primary:hover { background: var(--green-deep); }250.btn-ghost { background: transparent; color: var(--ink); }251.btn-ghost:hover { background: var(--accent); }252.btn:disabled { opacity: 0.4; cursor: default; }253254/* ================= Chips (cuisines) — pilules à filet, sans ombre ========= */255.chips { display: flex; gap: 8px; margin: 20px 0 4px; overflow-x: auto; padding: 4px 4px 8px 0; scrollbar-width: none; }256.chips::-webkit-scrollbar { display: none; }257.chip {258  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);259  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700;260  cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px;261  box-shadow: none; transition: all 0.13s ease;262}263.chip:hover { background: var(--accent-soft); border-color: var(--ink); transform: none; box-shadow: none; }264.chip.on { background: var(--ink); color: var(--accent); border-color: var(--ink); box-shadow: none; }265266/* ================= Results ================= */267.results-head {268  display: flex; align-items: baseline; gap: 14px; margin: 44px 0 22px;269  border-top: 2px solid var(--ink); padding-top: 16px;270}271.results-head h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.035em; color: var(--ink); }272.results-head span {273  margin-left: auto; text-align: right;274  font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px;275  font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;276  font-variant-numeric: tabular-nums;277}278.grid {279  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));280  gap: 26px; padding-bottom: 30px;281}282@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; } }283284/* récemment consultés — bande horizontale de cartes, défilement latéral */285.recent-row {286  display: grid; grid-auto-flow: column; grid-auto-columns: 290px;287  gap: 20px; overflow-x: auto; padding-bottom: 12px;288  scroll-snap-type: x proximity;289}290.recent-row > .card { scroll-snap-align: start; }291@media (max-width: 640px) {292  .recent-row { grid-auto-columns: 82%; margin-right: -16px; padding-right: 16px; }293}294295/* cartes v2 : filet fin, pas d'ombre au repos — au survol, levée + ombre296   safran dure (signature Resto-Ka) */297.card {298  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card);299  overflow: hidden; display: flex; flex-direction: column; box-shadow: none;300  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;301}302.card:hover { transform: translate(-3px, -3px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--accent); }303.card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }304.card-img { position: relative; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line-strong); }305.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }306.card:hover .card-img img { transform: scale(1.04); }307.card-img .noimg {308  display: flex; align-items: center; justify-content: center; height: 100%;309  color: var(--ink-3);310  background:311    radial-gradient(circle at 82% 20%, var(--accent-soft) 0, transparent 46%),312    radial-gradient(circle at 12% 85%, var(--amber-soft) 0, transparent 42%),313    var(--surface-2);314}315.card-logo { max-width: 46%; max-height: 68%; object-fit: contain; }316.card:hover .card-logo { transform: none; }317.badge {318  position: absolute; top: 10px; left: 10px; border: 1px solid var(--ink);319  border-radius: var(--r-ctl); padding: 3px 10px;320  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.05em;321  background: rgba(255, 255, 255, 0.95); color: var(--ink);322  box-shadow: none;323}324.badge.type { background: var(--ink); color: var(--accent); }325.badge.right { left: auto; right: 10px; }326/* badge de contexte de prix — TOUJOURS visible (un prix sans contexte est inutilisable) */327.badge.ctx-takeout, .ctx-pill.ctx-takeout { background: var(--accent); color: var(--ink); }328.badge.ctx-dine-in, .ctx-pill.ctx-dine-in { background: var(--green); color: #fff; }329.badge.ctx-delivery, .ctx-pill.ctx-delivery { background: var(--amber); color: var(--ink); }330.card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }331.card-price {332  font-family: var(--font-display); font-weight: 700; font-size: 24px;333  letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums;334}335.card-price small { font-family: var(--font-mono); font-weight: 500; color: var(--ink-3); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }336.card-price .no-menu { font-size: 14px; font-weight: 600; color: var(--ink-3); }337.card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); }338.card-meta { color: var(--ink-3); font-size: 12.5px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }339.card-meta .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }340.card-foot { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }341.source-tag {342  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;343  text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-deep);344  background: none; border: none; border-radius: 0; padding: 0;345  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%;346}347.avail { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }348349/* ================= Bascule Restos / Plats ================= */350.mode-toggle {351  display: inline-flex; align-self: center; border: 1.5px solid var(--ink);352  border-radius: var(--r-ctl); overflow: hidden; background: var(--surface);353  box-shadow: none; flex: none;354}355.mode-toggle button {356  border: 0; background: transparent; padding: 12px 20px; cursor: pointer;357  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-2);358  min-height: 46px;359}360.mode-toggle button + button { border-left: 1.5px solid var(--ink); }361.mode-toggle button.on { background: var(--ink); color: var(--accent); }362363/* ================= Résultats par plat — lignes éditoriales ================= */364.dish-list {365  display: flex; flex-direction: column; gap: 0;366  border-top: 2px solid var(--ink); padding-bottom: 10px;367}368.dish-row {369  display: flex; gap: 16px; align-items: flex-start;370  background: transparent; border: none; border-bottom: 1px solid var(--line);371  border-radius: 0; padding: 16px 2px; box-shadow: none;372  transition: background 0.15s ease;373}374.dish-row:hover { transform: none; box-shadow: none; background: var(--surface); }375.dish-row:hover .dish-name {376  text-decoration: underline; text-decoration-color: var(--accent);377  text-decoration-thickness: 2.5px; text-underline-offset: 4px;378}379.dish-img {380  width: 62px; height: 62px; flex: none; object-fit: cover;381  border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface-2);382}383.dish-noimg { display: flex; align-items: center; justify-content: center; color: var(--ink-3); }384.dish-main { flex: 1; min-width: 0; }385.dish-line { display: flex; align-items: baseline; gap: 10px; }386.dish-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }387.dish-price {388  font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--ink);389  white-space: nowrap; font-variant-numeric: tabular-nums;390}391.dish-desc {392  margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 620px;393  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;394}395.dish-meta {396  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;397  margin-top: 7px; font-size: 12px; color: var(--ink-2);398}399.dish-meta b { color: var(--ink); }400.dish-meta .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }401.dish-meta .ctx-pill {402  border: 1px solid var(--ink); border-radius: 4px; padding: 2px 8px;403  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;404  text-transform: uppercase; letter-spacing: 0.05em;405}406407/* ================= Pager (numéroté) ================= */408.pager {409  display: flex; align-items: center; justify-content: center; gap: 6px;410  flex-wrap: wrap; padding: 18px 0 60px;411}412.pg-btn {413  min-width: 40px; min-height: 40px; padding: 0 12px;414  border: 1px solid var(--line-strong); border-radius: var(--r-ctl);415  background: transparent; color: var(--ink); cursor: pointer;416  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;417  box-shadow: none; font-variant-numeric: tabular-nums;418  transition: all 0.12s ease;419}420.pg-btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--ink); }421.pg-btn.on { background: var(--ink); color: var(--accent); border-color: var(--ink); }422.pg-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }423.pg-btn:active:not(:disabled) { transform: translate(1px, 1px); }424.pg-ellipsis { color: var(--ink-3); font-family: var(--font-mono); padding: 0 4px; }425426/* ================= Skeletons ================= */427@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }428.skel { border-radius: var(--r-card); border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface); }429.skel .sk-img, .skel .sk-line {430  background: linear-gradient(90deg, #eceae4 25%, #f6f4ef 50%, #eceae4 75%);431  background-size: 800px 100%; animation: shimmer 1.4s infinite linear;432}433.skel .sk-img { aspect-ratio: 16/9; }434.skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; }435.skel .sk-line.short { width: 45%; }436437/* ================= Empty / error ================= */438.notice { text-align: center; padding: 72px 24px; color: var(--ink-2); }439.notice .big { font-size: 44px; margin-bottom: 10px; color: var(--accent-deep); }440.notice h2 { color: var(--ink); }441442/* ================= Fiche resto ================= */443.detail { padding: 30px 0 90px; }444.crumbs {445  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;446  letter-spacing: 0.08em; text-transform: uppercase;447  color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;448}449.crumbs a { border-bottom: 1.5px solid transparent; }450.crumbs a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }451/* Ordre DOM = ordre visuel (standard Groupe Ka « Ordre des sections — pages452   détail ») : le panneau héro (nom/prix/adresse) est 1er dans le DOM ; sur453   desktop il est placé en colonne 2 via grid-column — pas de `order` ni de454   `column-reverse` pour réordonner entre breakpoints. */455.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }456@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }457.detail-grid > * { min-width: 0; }458@media (min-width: 901px) {459  .detail-grid > .panel { grid-column: 2; grid-row: 1; }460  .detail-grid > .detail-main { grid-column: 1; grid-row: 1; }461}462463.panel {464  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);465  box-shadow: none; padding: 26px; position: sticky; top: 110px;466}467@media (max-width: 900px) { .panel { position: static; } }468.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }469.panel-logo { max-width: 110px; max-height: 54px; object-fit: contain; border-radius: var(--r-ctl); }470.panel .price {471  font-family: var(--font-display); font-size: 32px; font-weight: 700;472  letter-spacing: -0.03em; color: var(--ink);473  background: var(--accent); border-radius: 8px; padding: 0 10px 2px;474  display: inline-block; transform: rotate(-1deg);475}476.panel h1 { font-size: clamp(23px, 2.4vw, 28px); margin: 12px 0 2px; letter-spacing: -0.03em; }477.panel .loc { color: var(--ink-2); font-size: 14px; }478/* fiche d'identité : lignes à filets, plus de cellules boîtes */479.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 20px 0; border-top: 1px solid var(--line); }480@media (max-width: 380px) { .kv { grid-template-columns: 1fr; } }481.kv .cell { background: none; border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }482.kv .cell .k { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }483.kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); color: var(--ink); }484.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; }485.amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }486.amenity {487  background: transparent; color: var(--ink-2); font-size: 11px; font-weight: 700;488  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;489  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px;490}491.cta {492  display: block; text-align: center; background: var(--ink); color: var(--accent);493  font-weight: 700; font-family: var(--font-display); border: 1.5px solid var(--ink);494  border-radius: var(--r-ctl); padding: 14px; min-height: 48px;495  box-shadow: var(--shadow-off-mid); transition: all 0.14s ease;496}497.cta:hover { background: var(--green-deep); }498.cta:active { transform: translate(2px, 2px); box-shadow: none; }499.panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; }500501/* --- menu (sections, items, options) — sections à filets d'encre ----------- */502.view-toggle {503  display: inline-flex; border: 1.5px solid var(--ink);504  border-radius: var(--r-ctl); overflow: hidden; background: var(--surface);505  box-shadow: none;506}507.view-toggle button {508  border: 0; background: transparent; padding: 8px 16px; cursor: pointer;509  font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink-2);510}511.view-toggle button + button { border-left: 1.5px solid var(--ink); }512.view-toggle button.on { background: var(--ink); color: var(--accent); }513.ctx-toggle { margin-bottom: 14px; }514515.menu-block { display: flex; flex-direction: column; gap: 0; }516/* bannière de contexte de prix — TOUJOURS lisible, filet coloré à gauche */517.ctx-banner {518  border: none; border-left: 5px solid var(--ink); border-radius: 0;519  padding: 12px 16px; margin-bottom: 18px;520  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;521  font-size: 12.5px; box-shadow: none;522}523.ctx-banner b { font-family: var(--font-display); font-size: 14px; }524.ctx-banner span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }525.ctx-banner.ctx-takeout { background: var(--accent-soft); border-left-color: var(--accent); }526.ctx-banner.ctx-takeout b { color: var(--accent-deep); }527.ctx-banner.ctx-dine-in { background: var(--surface); border-left-color: var(--green); }528.ctx-banner.ctx-dine-in b { color: var(--green-deep); }529.ctx-banner.ctx-delivery { background: var(--amber-soft); border-left-color: var(--amber); }530.ctx-banner.ctx-delivery b { color: #9a6414; }531532.menu-section {533  background: transparent; border: none; border-top: 2px solid var(--ink);534  border-radius: 0; box-shadow: none; overflow: visible;535}536.menu-section-head {537  width: 100%; display: flex; align-items: center; gap: 12px;538  border: none; background: none; cursor: pointer;539  padding: 15px 2px; text-align: left;540}541.menu-section-head h3 { font-size: 19px; color: var(--ink); letter-spacing: -0.025em; flex: 1; }542.menu-section-head:hover { background: var(--accent-soft); }543.ms-img {544  width: 36px; height: 36px; object-fit: cover; border-radius: var(--r-ctl);545  border: 1px solid var(--line-strong); flex: none;546}547.ms-meta { font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }548.menu-items { list-style: none; margin: 0; padding: 0 2px 18px; }549.menu-item { padding: 12px 0; border-top: 1px solid var(--line); }550.mi-row { display: flex; gap: 14px; align-items: flex-start; }551.mi-main { flex: 1; min-width: 0; }552.mi-line { display: flex; align-items: baseline; gap: 10px; }553.mi-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }554.mi-dots { flex: 1; border-bottom: 2px dotted var(--line-strong); opacity: 0.35; transform: translateY(-3px); min-width: 20px; }555.mi-price { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }556.mi-desc { margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 560px; }557.mi-thumb {558  width: 68px; height: 68px; flex: none; object-fit: cover;559  border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface-2);560  box-shadow: none;561}562.mi-tag {563  font-style: normal; font-family: var(--font-mono); font-size: 9px; font-weight: 700;564  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px;565  padding: 2px 7px; margin-left: 7px;566  background: var(--accent-soft); color: var(--green); border: 1px solid rgba(28, 92, 65, 0.3);567  vertical-align: 2px;568}569.mi-tag-epice { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.5); }570.mi-tag-rupture { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); }571572/* groupes d'options : bloc en retrait à filet, choix en pastilles avec ± prix */573.mi-optgroups {574  margin-top: 10px; display: flex; flex-direction: column; gap: 8px;575  background: transparent; border: none; border-left: 2px solid var(--line-strong);576  border-radius: 0; padding: 8px 0 8px 14px;577}578.og-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }579.og-name {580  font-family: var(--font-mono); font-weight: 700; color: var(--ink);581  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em;582}583.og-req {584  font-family: var(--font-mono); font-size: 9px; font-weight: 700;585  text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; padding: 2px 7px;586  background: var(--surface); color: var(--ink-3); border: 1px solid var(--line);587}588.og-req.on { background: var(--accent); color: var(--ink); border-color: var(--ink); }589.og-choices { display: flex; flex-wrap: wrap; gap: 6px; }590.og-choice {591  display: inline-flex; align-items: center; gap: 6px;592  background: var(--surface); border: 1px solid var(--line-strong);593  border-radius: var(--r-ctl); padding: 4px 10px;594  font-size: 12px; color: var(--ink-2);595}596.og-choice b { font-family: var(--font-mono); font-weight: 700; font-size: 11px; }597.og-choice b.plus { color: #9a6414; }598.og-choice b.moins { color: var(--green); }599600/* ================= Sources page — table à filets ================= */601.sources { padding: 44px 0 90px; }602.sources h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; }603.sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; }604.src-wrap { overflow-x: auto; border: none; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; background: transparent; }605.src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }606.src-table th {607  text-align: left; font-family: var(--font-mono); font-size: 10px;608  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2);609  padding: 13px 18px 13px 2px; border-bottom: 1.5px solid var(--ink); background: transparent;610}611.src-table td { padding: 14px 18px 14px 2px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }612.src-table tr:last-child td { border-bottom: none; }613.src-table tr:hover td { background: var(--accent-soft); }614.src-table a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }615.src-table a:hover { color: var(--accent-deep); }616.src-integrations { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; max-width: 380px; }617.src-table .pill, .pill.ok, .pill.todo {618  display: inline-block; border-radius: 4px; padding: 3px 9px;619  font-family: var(--font-mono); font-size: 10px; font-weight: 700;620  text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--ink);621  box-shadow: none; cursor: default; transform: none;622}623.pill.ok { background: var(--accent); color: var(--ink); }624.pill.todo { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.6); }625.count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }626627/* ================= Page Statistiques ================= */628.stats-page { padding: 44px 0 90px; }629.stats-title { font-size: clamp(32px, 4.8vw, 54px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; }630.stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; }631.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 28px; margin-bottom: 30px; }632.tile {633  background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0;634  padding: 14px 0 4px; box-shadow: none;635}636.tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); font-variant-numeric: tabular-nums; }637.tile-k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 6px; }638.hero-tile { background: var(--ink); color: var(--paper); border: none; border-radius: 10px; padding: 16px 18px 12px; box-shadow: none; }639.hero-tile .tile-v { color: var(--accent); }640.hero-tile .tile-k { color: rgba(245, 243, 238, 0.6); }641642.viz-card {643  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card);644  box-shadow: none; padding: 26px 28px 20px; margin-bottom: 22px;645}646.viz-card h2 { font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }647.viz-sub { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 20px; }648.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }649@media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } }650651.hbars { display: flex; flex-direction: column; gap: 7px; }652.hbar-row {653  display: grid; grid-template-columns: minmax(96px, 190px) 1fr auto;654  gap: 12px; align-items: center; min-height: 26px; cursor: default;655}656.hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }657.hbar-label a { border-bottom: 1.5px solid rgba(28, 92, 65, 0.4); }658.hbar-label a:hover { color: var(--green); }659.hbar-track { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 4px; height: 18px; overflow: hidden; }660.hbar-fill {661  display: block; height: 100%; background: var(--green); border-radius: 0;662  min-width: 2px; transition: background 0.12s ease;663}664.hbar-row:hover .hbar-fill { background: var(--accent); }665.hbar-value { font-family: var(--font-mono); font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }666@media (max-width: 640px) {667  .hbar-row { grid-template-columns: minmax(80px, 120px) 1fr auto; gap: 8px; }668  .viz-card { padding: 20px 16px 14px; }669}670.stats-foot { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 6px; }671672/* ================= Mobile : feuille de filtres + FAB ================= */673.sheet-head { display: none; }674.sheet-apply { display: none; }675.sheet-backdrop { display: none; }676.fab { display: none; }677678@media (max-width: 640px) {679  :root { --header-h: 56px; }680  .brand { font-size: 20px; }681  .ticker { font-size: 10px; padding: 6px 0; }682  .hero h1 { font-size: clamp(34px, 10.4vw, 52px); }683  .hero p.lede { font-size: 15px; }684685  /* la barre de filtres devient une feuille coulissante (bottom sheet) */686  .filterbar { display: none; }687  .filterbar.open .f-primary { flex-direction: column; }688  .filterbar.open .f-search { align-self: stretch; max-width: none; min-height: 46px; }689  .filterbar.open .f-search input { font-size: 16px; }  /* anti-zoom iOS */690  .filterbar.open .f-ctl select { max-width: none; width: 100%; }691  .filterbar.open {692    display: flex; flex-direction: column; gap: 12px;693    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900);694    margin: 0; border-radius: 16px 16px 0 0; border: none; border-top: 2px solid var(--ink);695    background: var(--surface);696    max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;697    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));698    box-shadow: 0 -16px 48px rgba(20, 24, 20, 0.28);699    animation: sheet-up 0.22s ease;700  }701  @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } }702  .filterbar.open .sheet-head {703    display: flex; justify-content: space-between; align-items: center;704    font-family: var(--font-display); font-weight: 700; font-size: 17px;705    letter-spacing: -0.01em; color: var(--ink);706    position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px;707    border-bottom: 1px solid var(--line); margin-bottom: 2px; z-index: 1;708  }709  .sheet-close {710    border: 1.5px solid var(--ink); background: var(--surface); border-radius: var(--r-ctl);711    width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1; color: var(--ink);712  }713  .filterbar.open .sheet-apply { display: flex; width: 100%; }714  .sheet-backdrop {715    display: block; position: fixed; inset: 0; z-index: var(--z-overlay, 800);716    background: rgba(20, 24, 20, 0.45); backdrop-filter: blur(2px);717  }718  .fab {719    display: flex; align-items: center; gap: 6px;720    position: fixed; left: 50%; transform: translateX(-50%);721    bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 80;722    background: var(--ink); color: var(--accent); border: 1.5px solid var(--ink);723    border-radius: var(--r-ctl); padding: 13px 24px; font-family: var(--font-display);724    font-weight: 700; font-size: 15px; cursor: pointer;725    box-shadow: 5px 5px 0 rgba(20, 24, 20, 0.3);726  }727  .fab:active { transform: translateX(-50%) translate(2px, 2px); box-shadow: none; }728729  .detail { padding-top: 20px; }730  .panel { padding: 20px; }731  .panel .price { font-size: 26px; }732  .results-head { margin-top: 28px; }733  .chips { margin-right: -16px; padding-right: 16px; }734  .notice { padding: 48px 16px; }735  .menu-items { padding: 0 2px 14px; }736  .menu-section-head { padding: 13px 2px; }737  .mi-thumb { width: 56px; height: 56px; }738}739740/* ============ Barre de navigation inférieure (mobile) ============741   KA Tabbar commune (src/ka/ka-tabbar.css) — pilule flottante,742   accent orange du site via var(--accent). ============ */743744/* Anti-zoom iOS : les champs doivent faire >= 16px745   (filet global : tokens.css force aussi 16 px au doigt) */746@media (max-width: 900px) {747  .f-search input, .f-ctl select { font-size: 16px; }748}749750/* Cible tactile ≥44 px du logo (138×30 rendus) : zone étendue invisible */751@media (pointer: coarse) {752  .brand { position: relative; }753  .brand::after { content: ""; position: absolute; inset: -8px; }754}755756/* ================= Footer (KaFooter — ka-ui) ================= */757/* Le footer commun vient de tokens.css (.ka-footer) + KaFooter.tsx. On garde758   ici seulement la rangée de nav locale posée au-dessus. */759.prefoot { border-top: 2px solid var(--ink); padding: 22px 0; margin-top: 40px; background: var(--surface-2); }760.ka-footer { margin-top: 0; }761.prefoot-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }762.prefoot-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }763.prefoot-nav a {764  display: inline-flex; align-items: center; min-height: var(--touch);765  padding: 8px 12px; border-radius: var(--r-ctl);766  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink);767}768.prefoot-nav a:hover { background: var(--accent); color: var(--on-accent); }769.prefoot-osm {770  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;771  letter-spacing: 0.03em; color: var(--ink-3);772}773.prefoot-osm a { color: var(--accent-deep); border-bottom: 1px solid rgba(185, 106, 0, 0.4); }774@media (max-width: 640px) { .prefoot-osm { margin-left: 0; } }775776/* --- Compte membre (« Se connecter avec KA ») ------------------------------- */777.login-btn {778  display: inline-flex; align-items: center; gap: 8px;779  border: 1.5px solid var(--ink); border-radius: var(--r-ctl);780  background: var(--surface); color: var(--ink);781  padding: 8px 14px; font-family: var(--font-display);782  font-weight: 700; font-size: 13.5px; min-height: 38px;783  box-shadow: none;784  transition: background 0.13s ease, transform 0.1s ease;785}786.login-btn:hover { background: var(--accent-soft); }787.login-btn:active { transform: translate(1px, 1px); }788.ka-badge {789  display: inline-flex; align-items: center; justify-content: center;790  background: var(--accent); color: var(--ink); border: 1px solid var(--ink);791  padding: 1px 6px 2px; border-radius: 4px;792  font-family: var(--font-display); font-weight: 700; font-size: 11px;793  transform: rotate(-2deg);794}795.account { position: relative; }796.account-btn {797  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;798  border: 1.5px solid var(--ink); background: var(--accent);799  cursor: pointer; padding: 0;800  box-shadow: none;801}802.account-btn img { width: 100%; height: 100%; object-fit: cover; }803.account-initial {804  display: flex; align-items: center; justify-content: center;805  width: 100%; height: 100%;806  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink);807}808/* Backdrop + menu rendus à la racine de <body> via createPortal (un fixed809   descendant du header blurré se re-parentait, et le stacking context z-50 du810   header plaquait le menu sous la tabbar z-85 / le fab z-80). Échelle commune811   tokens.css : voile = --z-overlay (800), menu = --z-modal (900). */812.account-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); }813.account-menu {814  position: fixed;815  right: max(12px, env(safe-area-inset-right));816  top: calc(var(--header-h, 66px) + 10px);817  z-index: var(--z-modal);818  min-width: 230px; background: var(--surface);819  border: 1.5px solid var(--ink); border-radius: var(--r-card);820  box-shadow: var(--shadow-off); padding: 8px; display: flex; flex-direction: column;821}822.account-id { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }823.account-id b { font-family: var(--font-display); font-size: 14.5px; }824.account-id span { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }825.account-kaid {826  font-family: var(--font-mono) !important; font-size: 11px !important;827  color: var(--green) !important; letter-spacing: 0.06em;828}829.account-link, .account-menu button {830  text-align: left; border: none; background: none; cursor: pointer;831  padding: 10px; border-radius: var(--r-ctl);832  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink);833}834.account-link:hover, .account-menu button:hover { background: var(--accent-soft); }835836/* cœur favori sur les cartes */837.fav-btn {838  position: absolute; bottom: 10px; right: 10px;839  width: 34px; height: 34px; border-radius: 50%;840  border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.95);841  color: var(--ink-2); font-size: 16px; line-height: 1; cursor: pointer;842  box-shadow: none;843  transition: transform 0.12s ease, background 0.12s ease;844}845.fav-btn:hover { transform: scale(1.08); }846.fav-btn.on { background: var(--accent); color: var(--ink); }847/* fiche détail : le cœur dans l'en-tête du panneau, en flux (pas absolu) */848.fav-btn.big {849  position: static; flex-shrink: 0; margin-left: auto;850  width: 44px; height: 44px; font-size: 21px;851}852853/* --- Menu déroulant mobile ------------------------------------------------- */854.menu-btn {855  display: none; position: relative; z-index: 60;856  width: 44px; height: 44px; margin-left: auto;857  border: 1.5px solid var(--ink); border-radius: var(--r-ctl);858  background: var(--surface); cursor: pointer; padding: 0;859  flex-direction: column; align-items: center; justify-content: center; gap: 5px;860  box-shadow: none;861  transition: transform 0.15s ease;862}863.menu-btn:active { transform: translate(1px, 1px); }864.menu-btn span {865  display: block; width: 18px; height: 2px; background: var(--ink);866  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;867}868.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }869.menu-btn.open span:nth-child(2) { opacity: 0; }870.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }871872/* KA Nav v2 (2026-08-25) : panneau PLEIN ECRAN fixed inset:0 - visible peu873   importe le scroll (l'ancien dropdown absolute 480px clippait/se coupait). */874.mobile-menu {875  display: none; position: fixed; inset: 0;876  background: var(--paper);877  padding: 76px 16px calc(24px + env(safe-area-inset-bottom));878  overflow-y: auto; overscroll-behavior: contain;879}880.mobile-menu.open { display: block; animation: mm-in 0.16s ease; }881@keyframes mm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }882/* burger masque a l'ouverture : la fermeture passe par le X fixe du panneau */883.header:has(.mobile-menu.open) .menu-btn { visibility: hidden; }884/* bouton de fermeture du panneau : fixe en haut a droite du viewport */885.mm-close {886  position: fixed; top: 10px; right: 14px; z-index: 2;887  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;888  border: 1.5px solid var(--ink); border-radius: 999px;889  background: var(--ink); color: var(--paper);890  font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0;891}892/* verrou du scroll d'arriere-plan quand le menu est ouvert (CSS pur) */893html:has(.mobile-menu.open) { overflow: hidden; }894/* Le drawer vit DANS le header : quand il est ouvert, le header monte au niveau895   modal pour peindre au-dessus du .mm-backdrop (frère du header, overlay 800). */896.header:has(.mobile-menu.open) { z-index: var(--z-modal, 900); }897.mm-link {898  display: flex; align-items: center; gap: 12px;899  padding: 15px 10px; min-height: 52px;900  font-family: var(--font-display); font-weight: 700; font-size: 19px;901  letter-spacing: -0.02em; border-bottom: 1px solid var(--line);902  color: var(--ink);903  opacity: 0; transform: translateY(-8px);904  transition: opacity 0.25s ease, transform 0.25s ease;905}906.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }907.mm-link.active { color: var(--accent-deep); }908.mm-link.active .mm-arrow { opacity: 1; color: var(--accent-deep); }909.mm-ico { width: 26px; text-align: center; font-size: 17px; }910.mm-arrow { margin-left: auto; opacity: 0.25; color: var(--accent-deep); transition: opacity 0.15s ease; }911.mm-link:active { background: var(--accent-soft); border-radius: var(--r-ctl); }912.mm-foot {913  padding: 12px 10px 4px;914  font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.02em;915}916.mm-backdrop {917  position: fixed; inset: 0; z-index: var(--z-overlay, 800);918  background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px);919}920@media (max-width: 760px) {921  .menu-btn { display: flex; }922  .nav { display: none; }923}924925/* ================= Badge « Un service Groupe KA » (ka-ui) ================= */926.hdr-badge { display: none; }927@media (min-width: 900px) { .hdr-badge { display: inline-flex; } }928.mm-badge { padding: 14px 10px 2px; }929930/* ================= Page Contact ================= */931.contact-page { padding: 44px 0 90px; }932.contact-page h1 { font-size: clamp(32px, 4.8vw, 54px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; }933.contact-page .sub { color: var(--ink-2); max-width: 640px; margin: 0 0 30px; }934.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 34px; margin-bottom: 26px; }935.contact-card {936  background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0;937  box-shadow: none; padding: 16px 0 20px;938  display: flex; flex-direction: column; gap: 6px;939}940.contact-card .role {941  font-family: var(--font-mono); font-size: 10px; font-weight: 700;942  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);943}944.contact-card a.mail {945  display: inline-flex; align-items: center; min-height: var(--touch);946  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;947  letter-spacing: -0.01em; color: var(--ink); word-break: break-all;948}949.contact-card a.mail:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }950.contact-note {951  border: none; border-left: 5px solid var(--accent);952  border-radius: 0; background: var(--accent-soft);953  padding: 16px 18px; max-width: 760px; margin-bottom: 26px; font-size: 14px;954  box-shadow: none;955}956.contact-hub { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 38px; }957.contact-hub .hint { font-size: 12.5px; color: var(--ink-2); max-width: 460px; }958.contact-sites { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }959.contact-sites a {960  display: inline-flex; align-items: center; gap: 7px; min-height: var(--touch);961  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;962  padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;963  color: var(--ink); box-shadow: none;964  transition: all 0.13s ease;965}966.contact-sites a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }967.contact-sites .dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(20, 24, 20, 0.35); flex: none; }968969/* ================= Stats — tableau de bord Groupe KA (SPEC ka-ui/stats) ==== */970.stats-page { display: grid; gap: 26px; }971.stats-page .sub { margin-bottom: 0; }972.stats-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; }973.stats-actions { display: grid; gap: 10px; justify-items: start; }974.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; }975.period-bar { padding: 12px 14px; }976.stats-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); gap: 18px; align-items: start; }977.records-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; }978.stats-foot { margin-top: 12px; }979@media (max-width: 767px) {980  .stats-page { gap: 20px; }981  .kpi-grid { grid-template-columns: 1fr 1fr; }982  .stats-head { align-items: flex-start; flex-direction: column; }983}984@media (max-width: 420px) { .kpi-grid { grid-template-columns: 1fr; } }985986/* --- KA ID v2 : badge « Recommandé pour vous » (parcimonieux, serveur) --- */987.badge.ka-reco { top: auto; bottom: 10px; background: var(--ink); color: var(--accent); }988