SPB Git

spb/resto-ka

Public

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

46.6 KB · 907 lines css
1/* -----------------------------------------------------------------------------2  Author: Simon-Pierre Boucher <contact@spboucher.ai>3  File:   styles.css4  Desc:   Identité visuelle Resto·Ka — système de design « éditorial sharp »5          du GROUPE KA. Le socle (palette fixe, typo, grain, boutons, cartes…)6          vient de ka-ui (src/ka/tokens.css, importé AVANT ce fichier) ; ici on7          ne définit que l'ACCENT SAFRAN de Resto-Ka + les classes métier.8    · Accent Resto-Ka : safran #f08c00 (soft #fdeed7 · deep #b96a00)9    · Baseline : « Chaque resto, chaque plat, chaque prix. »10    · 100 % adaptatif mobile (safe-areas iOS)11----------------------------------------------------------------------------- */12:root {13  /* ACCENT du site — seule surcharge de tokens.css (ka-ui) */14  --accent: #f08c00;15  --accent-soft: #fdeed7;16  --accent-deep: #b96a00;17  --on-accent: #141814;1819  /* alias rétro-compatibles (le code historique utilise --lime) */20  --lime: var(--accent);21  --lime-soft: var(--accent-soft);22}2324h1, h2, h3, h4 { font-weight: 700; margin: 0; }25a { text-decoration: none; }26button { font-family: inherit; }27img { display: block; }2829.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }30@media (max-width: 640px) { .container { padding: 0 16px; } }3132/* ================= Header ================= */33.header {34  position: sticky; top: 0; z-index: var(--z-header, 500);35  background: var(--paper);36  border-bottom: 1.5px solid var(--ink);37}38:root { --header-h: 64px; }  /* hauteur du header (ancre du menu compte fixed) */39.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }40.brand {41  font-family: var(--font-display); font-weight: 700; font-size: 24px;42  letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1;43  color: var(--ink);44}45.brand .logo-ico { margin-right: 11px; flex: none; }46/* « Ka » en pastille lime inclinée — même geste que la carte membre Groupe KA */47.brand .ka {48  background: var(--accent); color: var(--ink);49  padding: 1px 6px 3px; border-radius: 5px; margin-left: 3px;50  display: inline-block; transform: rotate(-2deg);51}52.brand-tag {53  font-family: var(--font-mono); font-size: 10px; font-weight: 500;54  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);55  margin-left: 14px;56}57@media (max-width: 900px) { .brand-tag { display: none; } }58.nav { margin-left: auto; display: flex; gap: 6px; }59.nav a {60  padding: 8px 16px; border: 1.5px solid transparent; border-radius: var(--r-ctl);61  font-family: var(--font-display); font-weight: 700; font-size: 14px;62  color: var(--ink); transition: all 0.13s ease; min-height: 38px;63  display: inline-flex; align-items: center;64}65.nav a:hover { background: var(--accent); border-color: var(--ink); }66.nav a.active { background: var(--ink); color: var(--accent); border-color: var(--ink); }6768/* ================= Ticker ================= */69.ticker {70  background: var(--ink); color: rgba(245, 243, 238, 0.85); overflow: hidden;71  font-family: var(--font-mono); font-size: 11px; font-weight: 500;72  letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 0;73  white-space: nowrap; border-bottom: 1.5px solid var(--ink);74}75.ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; }76.ticker span { padding: 0 26px; position: relative; }77.ticker span::after { content: "◆"; position: absolute; right: -6px; color: var(--accent); opacity: 0.9; font-size: 8px; top: 3px; }78@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }79@media (prefers-reduced-motion: reduce) {80  .ticker-track { animation: none; }81  * { transition-duration: 0.01ms !important; }82}8384/* ================= Hero ================= */85.hero { padding: 58px 0 22px; }86@media (max-width: 640px) { .hero { padding: 34px 0 14px; } }87.hero h1 {88  font-size: clamp(36px, 5.4vw, 58px); font-weight: 700; line-height: 1.04;89  letter-spacing: -0.04em; max-width: 920px; margin-top: 16px; color: var(--ink);90}91.hero p.lede { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 18px 0 0; }92.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }93.stat-chip {94  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl);95  padding: 7px 14px; font-size: 12.5px; font-weight: 500;96  color: var(--ink-2); display: flex; gap: 8px; align-items: center;97  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12);98}99.stat-chip b { color: var(--ink); font-weight: 700; font-family: var(--font-display); }100.stat-chip .pulse {101  width: 8px; height: 8px; border-radius: 50%; background: var(--green);102  box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s ease infinite;103}104@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(28, 92, 65, 0.18); } }105106/* ================= Rangée d'avantages ================= */107.benefits {108  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));109  gap: 14px; margin-top: 30px;110}111.benefit { display: flex; align-items: center; gap: 12px; }112.benefit-ico {113  width: 42px; height: 42px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl);114  flex: none; display: flex; align-items: center; justify-content: center;115  background: var(--accent); color: var(--ink); box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.15);116}117.benefit-ico.blue { background: var(--surface); color: var(--green); }118.benefit-label {119  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;120  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink);121}122@media (max-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; gap: 12px; } }123124/* ================= Filter bar ================= */125.filterbar {126  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);127  box-shadow: var(--shadow-off-soft); padding: 14px; margin: 20px 0 6px;128  display: flex; flex-direction: column; gap: 0; min-width: 0;129}130.f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; }131.f-search {132  flex: 1 1 220px; min-width: 0; max-width: 440px; align-self: center;133  display: flex; align-items: center; gap: 8px;134  border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface-2);135  padding: 0 13px; min-height: 46px; color: var(--ink-2);136  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.08);137  transition: box-shadow 0.15s ease, background 0.15s ease;138}139.f-search:focus-within {140  background: var(--white, #fff); outline: 2px solid var(--green); outline-offset: 1px;141  box-shadow: 3px 3px 0 rgba(28, 92, 65, 0.25);142}143.f-search input {144  border: none; background: none; outline: none; flex: 1; min-width: 0;145  font-size: 14px; color: var(--ink); font-family: inherit;146}147.f-clear {148  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);149  border-radius: 50%; width: 20px; height: 20px; font-size: 10px; cursor: pointer;150  flex: none; display: grid; place-items: center;151}152.f-ctl {153  flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center;154  gap: 2px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface);155  padding: 7px 14px 6px; min-height: 52px; cursor: pointer;156  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.08);157  transition: box-shadow 0.15s ease;158}159.f-ctl:focus-within { outline: 2px solid var(--green); outline-offset: 1px; box-shadow: 3px 3px 0 rgba(28, 92, 65, 0.25); }160.f-ctl > span {161  font-family: var(--font-mono); font-size: 9px; font-weight: 700;162  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);163}164.f-ctl select {165  border: none; background: transparent; outline: none; font-family: var(--font-display);166  font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer;167  appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px;168  text-overflow: ellipsis;169  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");170  background-repeat: no-repeat; background-position: right center;171}172173/* pastilles de filtres actifs */174.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }175.pill {176  display: inline-flex; align-items: center; gap: 7px;177  border: 1.5px solid var(--ink); background: var(--accent); color: var(--ink);178  border-radius: var(--r-ctl); padding: 5px 12px; font-size: 12.5px; font-weight: 700;179  font-family: var(--font-display); cursor: pointer;180  box-shadow: 2px 2px 0 rgba(20, 24, 20, 0.2); transition: all 0.12s ease;181}182.pill:hover { background: var(--ink); color: var(--accent); }183.pill-x { font-size: 10px; opacity: 0.65; }184.pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); }185.pill-clear:hover { background: var(--danger); color: #fff; }186.link-btn {187  background: none; border: none; padding: 0; color: var(--green); font: inherit;188  text-decoration: underline; cursor: pointer;189}190.btn {191  display: inline-flex; align-items: center; justify-content: center; gap: 8px;192  border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 10px 20px;193  font-family: var(--font-display); font-weight: 700; font-size: 14px;194  cursor: pointer; min-height: 44px;195  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;196}197.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }198.btn-primary { background: var(--ink); color: var(--accent); box-shadow: var(--shadow-off-mid); }199.btn-primary:hover { background: var(--green-deep); }200.btn-ghost { background: transparent; color: var(--ink); }201.btn-ghost:hover { background: var(--accent); }202.btn:disabled { opacity: 0.4; cursor: default; }203204/* ================= Chips ================= */205.chips { display: flex; gap: 8px; margin: 18px 0 4px; overflow-x: auto; padding: 4px 4px 8px 0; scrollbar-width: none; }206.chips::-webkit-scrollbar { display: none; }207.chip {208  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);209  border-radius: var(--r-ctl); padding: 8px 16px; font-size: 13px; font-weight: 700;210  cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px;211  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.1); transition: all 0.13s ease;212}213.chip:hover { background: var(--accent-soft); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.15); }214.chip.on { background: var(--ink); color: var(--accent); box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.3); }215216/* ================= Results ================= */217.results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; }218.results-head h2 { font-size: 23px; letter-spacing: -0.03em; color: var(--ink); }219.results-head span { font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }220.grid {221  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));222  gap: 22px; padding-bottom: 30px;223}224@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 24px; } }225226.card {227  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);228  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-off-soft);229  transition: transform 0.18s ease, box-shadow 0.18s ease;230}231.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); }232.card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }233.card-img { position: relative; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; border-bottom: 1.5px solid var(--ink); }234.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }235.card:hover .card-img img { transform: scale(1.04); }236.card-img .noimg {237  display: flex; align-items: center; justify-content: center; height: 100%;238  color: var(--ink-3);239  background:240    radial-gradient(circle at 82% 20%, var(--accent-soft) 0, transparent 46%),241    radial-gradient(circle at 12% 85%, var(--amber-soft) 0, transparent 42%),242    var(--surface-2);243}244.card-logo { max-width: 46%; max-height: 68%; object-fit: contain; }245.card:hover .card-logo { transform: none; }246.badge {247  position: absolute; top: 10px; left: 10px; border: 1.5px solid var(--ink);248  border-radius: var(--r-ctl); padding: 3px 10px;249  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.05em;250  background: rgba(255, 255, 255, 0.95); color: var(--ink);251  box-shadow: 2px 2px 0 rgba(20, 24, 20, 0.25);252}253.badge.type { background: var(--ink); color: var(--accent); }254.badge.right { left: auto; right: 10px; }255/* badge de contexte de prix — TOUJOURS visible (un prix sans contexte est inutilisable) */256.badge.ctx-takeout, .ctx-pill.ctx-takeout { background: var(--accent); color: var(--ink); }257.badge.ctx-dine-in, .ctx-pill.ctx-dine-in { background: var(--green); color: #fff; }258.badge.ctx-delivery, .ctx-pill.ctx-delivery { background: var(--amber); color: var(--ink); }259.card-body { padding: 15px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }260.card-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }261.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; }262.card-price .no-menu { font-size: 14px; font-weight: 600; color: var(--ink-3); }263.card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); }264.card-meta { color: var(--ink-3); font-size: 12.5px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }265.card-meta .sep { width: 4px; height: 4px; background: var(--green); border-radius: 50%; display: inline-block; }266.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; }267.source-tag {268  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;269  text-transform: uppercase; letter-spacing: 0.06em; color: var(--green);270  background: var(--accent-soft); border: 1px solid rgba(28, 92, 65, 0.35);271  border-radius: var(--r-ctl); padding: 3px 9px;272  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%;273}274.avail { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); font-weight: 500; text-align: right; }275276/* ================= Bascule Restos / Plats ================= */277.mode-toggle {278  display: inline-flex; align-self: center; border: 1.5px solid var(--ink);279  border-radius: var(--r-ctl); overflow: hidden; background: var(--surface);280  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12); flex: none;281}282.mode-toggle button {283  border: 0; background: transparent; padding: 12px 20px; cursor: pointer;284  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-2);285  min-height: 46px;286}287.mode-toggle button + button { border-left: 1.5px solid var(--ink); }288.mode-toggle button.on { background: var(--ink); color: var(--accent); }289290/* ================= Résultats par plat ================= */291.dish-list {292  display: flex; flex-direction: column; gap: 12px; padding-bottom: 10px;293}294.dish-row {295  display: flex; gap: 14px; align-items: flex-start;296  background: var(--surface); border: 1.5px solid var(--ink);297  border-radius: var(--r-card); padding: 14px 16px;298  box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.08);299  transition: transform 0.15s ease, box-shadow 0.15s ease;300}301.dish-row:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-off); }302.dish-img {303  width: 62px; height: 62px; flex: none; object-fit: cover;304  border-radius: var(--r-ctl); border: 1.5px solid var(--ink); background: var(--surface-2);305}306.dish-noimg { display: flex; align-items: center; justify-content: center; color: var(--ink-3); }307.dish-main { flex: 1; min-width: 0; }308.dish-line { display: flex; align-items: baseline; gap: 10px; }309.dish-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); }310.dish-price { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); white-space: nowrap; }311.dish-desc {312  margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 620px;313  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;314}315.dish-meta {316  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;317  margin-top: 7px; font-size: 12px; color: var(--ink-2);318}319.dish-meta b { color: var(--ink); }320.dish-meta .sep { width: 4px; height: 4px; background: var(--green); border-radius: 50%; display: inline-block; }321.dish-meta .ctx-pill {322  border: 1px solid var(--ink); border-radius: 4px; padding: 2px 8px;323  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;324  text-transform: uppercase; letter-spacing: 0.05em;325}326327/* ================= Pager (numéroté) ================= */328.pager {329  display: flex; align-items: center; justify-content: center; gap: 6px;330  flex-wrap: wrap; padding: 18px 0 60px;331}332.pg-btn {333  min-width: 40px; min-height: 40px; padding: 0 12px;334  border: 1.5px solid var(--ink); border-radius: var(--r-ctl);335  background: var(--surface); color: var(--ink); cursor: pointer;336  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;337  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.1);338  transition: all 0.12s ease;339}340.pg-btn:hover:not(:disabled) { background: var(--accent-soft); }341.pg-btn.on { background: var(--ink); color: var(--accent); }342.pg-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }343.pg-btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: none; }344.pg-ellipsis { color: var(--ink-3); font-family: var(--font-mono); padding: 0 4px; }345346/* ================= Skeletons ================= */347@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }348.skel { border-radius: var(--r-card); border: 1.5px solid var(--line-strong); overflow: hidden; background: var(--surface); }349.skel .sk-img, .skel .sk-line {350  background: linear-gradient(90deg, #eceae4 25%, #f6f4ef 50%, #eceae4 75%);351  background-size: 800px 100%; animation: shimmer 1.4s infinite linear;352}353.skel .sk-img { aspect-ratio: 16/9; }354.skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; }355.skel .sk-line.short { width: 45%; }356357/* ================= Empty / error ================= */358.notice { text-align: center; padding: 72px 24px; color: var(--ink-2); }359.notice .big { font-size: 44px; margin-bottom: 10px; color: var(--green); }360.notice h2 { color: var(--ink); }361362/* ================= Fiche resto ================= */363.detail { padding: 30px 0 90px; }364.crumbs {365  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;366  letter-spacing: 0.08em; text-transform: uppercase;367  color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;368}369.crumbs a { border-bottom: 1.5px solid transparent; }370.crumbs a:hover { color: var(--green); border-color: var(--green); }371/* Ordre DOM = ordre visuel (standard Groupe Ka « Ordre des sections — pages372   détail ») : le panneau héro (nom/prix/adresse) est 1er dans le DOM ; sur373   desktop il est placé en colonne 2 via grid-column — pas de `order` ni de374   `column-reverse` pour réordonner entre breakpoints. */375.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }376@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }377.detail-grid > * { min-width: 0; }378@media (min-width: 901px) {379  .detail-grid > .panel { grid-column: 2; grid-row: 1; }380  .detail-grid > .detail-main { grid-column: 1; grid-row: 1; }381}382383.panel {384  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);385  box-shadow: var(--shadow-off-soft); padding: 26px; position: sticky; top: 120px;386}387@media (max-width: 900px) { .panel { position: static; } }388.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }389.panel-logo { max-width: 110px; max-height: 54px; object-fit: contain; border-radius: var(--r-ctl); }390.panel .price {391  font-family: var(--font-display); font-size: 30px; font-weight: 700;392  letter-spacing: -0.03em; color: var(--ink);393  background: var(--accent); border-radius: 8px; padding: 0 10px 2px;394  display: inline-block; transform: rotate(-1deg);395}396.panel h1 { font-size: 23px; margin: 10px 0 2px; }397.panel .loc { color: var(--ink-2); font-size: 14px; }398.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }399@media (max-width: 380px) { .kv { grid-template-columns: 1fr; } }400.kv .cell { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 10px 14px; }401.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; }402.kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); color: var(--ink); }403.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; }404.amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }405.amenity {406  background: var(--accent-soft); color: var(--green); font-size: 12px; font-weight: 600;407  border: 1px solid rgba(28, 92, 65, 0.35); border-radius: var(--r-ctl); padding: 4px 11px;408}409.cta {410  display: block; text-align: center; background: var(--ink); color: var(--accent);411  font-weight: 700; font-family: var(--font-display); border: 1.5px solid var(--ink);412  border-radius: var(--r-ctl); padding: 14px; min-height: 48px;413  box-shadow: var(--shadow-off-mid); transition: all 0.14s ease;414}415.cta:hover { background: var(--green-deep); }416.cta:active { transform: translate(2px, 2px); box-shadow: none; }417.panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; }418419/* --- menu (sections, items, options) --------------------------------------- */420.view-toggle {421  display: inline-flex; border: 1.5px solid var(--ink);422  border-radius: var(--r-ctl); overflow: hidden; background: var(--surface);423  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12);424}425.view-toggle button {426  border: 0; background: transparent; padding: 8px 16px; cursor: pointer;427  font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink-2);428}429.view-toggle button + button { border-left: 1.5px solid var(--ink); }430.view-toggle button.on { background: var(--ink); color: var(--accent); }431.ctx-toggle { margin-bottom: 14px; }432433.menu-block { display: flex; flex-direction: column; gap: 16px; }434.ctx-banner {435  border: 1.5px solid var(--ink); border-radius: var(--r-card); padding: 12px 18px;436  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;437  font-size: 12.5px; box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.1);438}439.ctx-banner b { font-family: var(--font-display); font-size: 14px; }440.ctx-banner span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }441.ctx-banner.ctx-takeout { background: var(--accent-soft); }442.ctx-banner.ctx-takeout b { color: var(--green); }443.ctx-banner.ctx-dine-in { background: var(--surface); }444.ctx-banner.ctx-dine-in b { color: var(--green-deep); }445.ctx-banner.ctx-delivery { background: var(--amber-soft); }446.ctx-banner.ctx-delivery b { color: #9a6414; }447448.menu-section {449  background: var(--surface); border: 1.5px solid var(--ink);450  border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow: hidden;451}452.menu-section-head {453  width: 100%; display: flex; align-items: center; gap: 12px;454  border: none; background: none; cursor: pointer;455  padding: 14px 18px; text-align: left;456}457.menu-section-head h3 { font-size: 17px; color: var(--ink); letter-spacing: -0.02em; flex: 1; }458.menu-section-head:hover { background: var(--accent-soft); }459.ms-img {460  width: 36px; height: 36px; object-fit: cover; border-radius: var(--r-ctl);461  border: 1.5px solid var(--ink); flex: none;462}463.ms-meta { font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px; font-weight: 600; white-space: nowrap; }464.menu-items { list-style: none; margin: 0; padding: 0 18px 14px; }465.menu-item { padding: 12px 0; border-top: 1px solid var(--line); }466.mi-row { display: flex; gap: 14px; align-items: flex-start; }467.mi-main { flex: 1; min-width: 0; }468.mi-line { display: flex; align-items: baseline; gap: 10px; }469.mi-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }470.mi-dots { flex: 1; border-bottom: 2px dotted var(--line-strong); opacity: 0.35; transform: translateY(-3px); min-width: 20px; }471.mi-price { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; }472.mi-desc { margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 560px; }473.mi-thumb {474  width: 68px; height: 68px; flex: none; object-fit: cover;475  border-radius: var(--r-ctl); border: 1.5px solid var(--ink); background: var(--surface-2);476  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12);477}478.mi-tag {479  font-style: normal; font-family: var(--font-mono); font-size: 9px; font-weight: 700;480  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px;481  padding: 2px 7px; margin-left: 7px;482  background: var(--accent-soft); color: var(--green); border: 1px solid rgba(28, 92, 65, 0.3);483  vertical-align: 2px;484}485.mi-tag-epice { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.5); }486.mi-tag-rupture { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); }487488/* groupes d'options : blocs structurés, choix en pastilles avec ± prix */489.mi-optgroups {490  margin-top: 10px; display: flex; flex-direction: column; gap: 8px;491  background: var(--surface-2); border: 1px solid var(--line);492  border-radius: var(--r-ctl); padding: 10px 12px;493}494.og-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }495.og-name {496  font-family: var(--font-mono); font-weight: 700; color: var(--ink);497  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em;498}499.og-req {500  font-family: var(--font-mono); font-size: 9px; font-weight: 700;501  text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; padding: 2px 7px;502  background: var(--surface); color: var(--ink-3); border: 1px solid var(--line);503}504.og-req.on { background: var(--accent); color: var(--ink); border-color: var(--ink); }505.og-choices { display: flex; flex-wrap: wrap; gap: 6px; }506.og-choice {507  display: inline-flex; align-items: center; gap: 6px;508  background: var(--surface); border: 1px solid var(--line-strong);509  border-radius: var(--r-ctl); padding: 4px 10px;510  font-size: 12px; color: var(--ink-2);511}512.og-choice b { font-family: var(--font-mono); font-weight: 700; font-size: 11px; }513.og-choice b.plus { color: #9a6414; }514.og-choice b.moins { color: var(--green); }515516/* ================= Sources page ================= */517.sources { padding: 44px 0 90px; }518.sources h1 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 6px; color: var(--ink); }519.sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; }520.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); }521.src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }522.src-table th {523  text-align: left; font-family: var(--font-mono); font-size: 10px;524  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2);525  padding: 13px 18px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2);526}527.src-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }528.src-table tr:last-child td { border-bottom: none; }529.src-table tr:hover td { background: var(--accent-soft); }530.src-table a { color: var(--green); font-weight: 600; border-bottom: 1.5px solid rgba(28, 92, 65, 0.4); }531.src-integrations { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; max-width: 380px; }532.src-table .pill, .pill.ok, .pill.todo {533  display: inline-block; border-radius: 4px; padding: 3px 9px;534  font-family: var(--font-mono); font-size: 10px; font-weight: 700;535  text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--ink);536  box-shadow: none; cursor: default; transform: none;537}538.pill.ok { background: var(--accent); color: var(--ink); }539.pill.todo { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.6); }540.count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; color: var(--ink); }541542/* ================= Page Statistiques ================= */543.stats-page { padding: 44px 0 90px; }544.stats-title { font-size: clamp(30px, 4.6vw, 48px); margin: 12px 0 6px; color: var(--ink); }545.stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; }546.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; }547.tile {548  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);549  padding: 18px 20px; box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.1);550}551.tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }552.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; }553.hero-tile { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 6px 6px 0 rgba(20, 24, 20, 0.25); }554.hero-tile .tile-v { color: var(--accent); }555.hero-tile .tile-k { color: rgba(245, 243, 238, 0.6); }556557.viz-card {558  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);559  box-shadow: var(--shadow-off-soft); padding: 26px 28px 20px; margin-bottom: 22px;560}561.viz-card h2 { font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }562.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; }563.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }564@media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } }565566.hbars { display: flex; flex-direction: column; gap: 7px; }567.hbar-row {568  display: grid; grid-template-columns: minmax(96px, 190px) 1fr auto;569  gap: 12px; align-items: center; min-height: 26px; cursor: default;570}571.hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }572.hbar-label a { border-bottom: 1.5px solid rgba(28, 92, 65, 0.4); }573.hbar-label a:hover { color: var(--green); }574.hbar-track { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 4px; height: 18px; overflow: hidden; }575.hbar-fill {576  display: block; height: 100%; background: var(--green); border-radius: 0;577  min-width: 2px; transition: background 0.12s ease;578}579.hbar-row:hover .hbar-fill { background: var(--accent); }580.hbar-value { font-family: var(--font-mono); font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--ink); }581@media (max-width: 640px) {582  .hbar-row { grid-template-columns: minmax(80px, 120px) 1fr auto; gap: 8px; }583  .viz-card { padding: 20px 16px 14px; }584}585.stats-foot { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 6px; }586587/* ================= Mobile : feuille de filtres + FAB ================= */588.sheet-head { display: none; }589.sheet-apply { display: none; }590.sheet-backdrop { display: none; }591.fab { display: none; }592593@media (max-width: 640px) {594  :root { --header-h: 56px; }595  .brand { font-size: 20px; }596  .nav a { padding: 8px 13px; font-size: 13.5px; }597  .ticker { font-size: 10px; padding: 6px 0; }598  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }599  .hero p.lede { font-size: 15px; }600  .stat-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }601  .stat-row::-webkit-scrollbar { display: none; }602  .stat-chip { flex: 0 0 auto; white-space: nowrap; }603604  /* la barre de filtres devient une feuille coulissante (bottom sheet) */605  .filterbar { display: none; }606  .filterbar.open .f-primary { flex-direction: column; }607  .filterbar.open .f-search { align-self: stretch; max-width: none; min-height: 46px; }608  .filterbar.open .f-search input { font-size: 16px; }  /* anti-zoom iOS */609  .filterbar.open .f-ctl select { max-width: none; width: 100%; }610  .filterbar.open {611    display: flex; flex-direction: column; gap: 12px;612    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900);613    margin: 0; border-radius: 16px 16px 0 0; border: none; border-top: 2px solid var(--ink);614    max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;615    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));616    box-shadow: 0 -16px 48px rgba(20, 24, 20, 0.28);617    animation: sheet-up 0.22s ease;618  }619  @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } }620  .filterbar.open .sheet-head {621    display: flex; justify-content: space-between; align-items: center;622    font-family: var(--font-display); font-weight: 700; font-size: 17px;623    letter-spacing: -0.01em; color: var(--ink);624    position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px;625    border-bottom: 1px solid var(--line); margin-bottom: 2px; z-index: 1;626  }627  .sheet-close {628    border: 1.5px solid var(--ink); background: var(--surface); border-radius: var(--r-ctl);629    width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1; color: var(--ink);630  }631  .filterbar.open .sheet-apply { display: flex; width: 100%; }632  .sheet-backdrop {633    display: block; position: fixed; inset: 0; z-index: var(--z-overlay, 800);634    background: rgba(20, 24, 20, 0.45); backdrop-filter: blur(2px);635  }636  .fab {637    display: flex; align-items: center; gap: 6px;638    position: fixed; left: 50%; transform: translateX(-50%);639    bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 80;640    background: var(--ink); color: var(--accent); border: 1.5px solid var(--ink);641    border-radius: var(--r-ctl); padding: 13px 24px; font-family: var(--font-display);642    font-weight: 700; font-size: 15px; cursor: pointer;643    box-shadow: 5px 5px 0 rgba(20, 24, 20, 0.3);644  }645  .fab:active { transform: translateX(-50%) translate(2px, 2px); box-shadow: none; }646647  .detail { padding-top: 20px; }648  .panel { padding: 20px; }649  .panel .price { font-size: 26px; }650  .results-head { margin-top: 20px; }651  .chips { margin-right: -16px; padding-right: 16px; }652  .notice { padding: 48px 16px; }653  .menu-items { padding: 0 14px 12px; }654  .menu-section-head { padding: 13px 14px; }655  .mi-thumb { width: 56px; height: 56px; }656}657658/* ================= Barre de navigation inférieure (mobile) ================= */659.tabbar { display: none; }660@media (max-width: 760px) {661  .tabbar {662    display: grid;663    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bottombar, 600);664    background: rgba(245, 243, 238, 0.94);665    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);666    border-top: 1.5px solid var(--ink);667    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));668  }669  .tabbar-3 { grid-template-columns: repeat(3, 1fr); }670  .tabbar a {671    display: flex; flex-direction: column; align-items: center; gap: 3px;672    padding: 5px 2px; min-height: 48px; justify-content: center;673    font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--ink-3);674    border-radius: var(--r-ctl); transition: color 0.12s ease;675  }676  .tabbar a.active { color: var(--green); }677  .tabbar a svg { display: block; }678  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }679  .ka-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }680}681682/* Anti-zoom iOS : les champs doivent faire >= 16px683   (filet global : tokens.css force aussi 16 px au doigt) */684@media (max-width: 900px) {685  .f-search input, .f-ctl select { font-size: 16px; }686}687688/* Cible tactile ≥44 px du logo (138×30 rendus) : zone étendue invisible */689@media (pointer: coarse) {690  .brand { position: relative; }691  .brand::after { content: ""; position: absolute; inset: -8px; }692}693694/* ================= Footer (KaFooter — ka-ui) ================= */695/* Le footer commun vient de tokens.css (.ka-footer) + KaFooter.tsx. On garde696   ici seulement la rangée de nav locale posée au-dessus. */697.prefoot { border-top: 2px solid var(--ink); padding: 22px 0; margin-top: 40px; background: var(--surface-2); }698.ka-footer { margin-top: 0; }699.prefoot-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }700.prefoot-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }701.prefoot-nav a {702  display: inline-flex; align-items: center; min-height: var(--touch);703  padding: 8px 12px; border-radius: var(--r-ctl);704  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink);705}706.prefoot-nav a:hover { background: var(--accent); color: var(--on-accent); }707.prefoot-osm {708  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;709  letter-spacing: 0.03em; color: var(--ink-3);710}711.prefoot-osm a { color: var(--green); border-bottom: 1px solid rgba(28, 92, 65, 0.4); }712@media (max-width: 640px) { .prefoot-osm { margin-left: 0; } }713714/* --- Compte membre (« Se connecter avec KA ») ------------------------------- */715.login-btn {716  display: inline-flex; align-items: center; gap: 8px;717  border: 1.5px solid var(--ink); border-radius: var(--r-ctl);718  background: var(--surface); color: var(--ink);719  padding: 8px 14px; font-family: var(--font-display);720  font-weight: 700; font-size: 13.5px; min-height: 38px;721  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12);722  transition: background 0.13s ease, transform 0.1s ease, box-shadow 0.1s ease;723}724.login-btn:hover { background: var(--accent-soft); }725.login-btn:active { transform: translate(2px, 2px); box-shadow: none; }726.ka-badge {727  display: inline-flex; align-items: center; justify-content: center;728  background: var(--accent); color: var(--ink); border: 1px solid var(--ink);729  padding: 1px 6px 2px; border-radius: 4px;730  font-family: var(--font-display); font-weight: 700; font-size: 11px;731  transform: rotate(-2deg);732}733.account { position: relative; }734.account-btn {735  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;736  border: 1.5px solid var(--ink); background: var(--accent);737  cursor: pointer; padding: 0;738  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.15);739}740.account-btn img { width: 100%; height: 100%; object-fit: cover; }741.account-initial {742  display: flex; align-items: center; justify-content: center;743  width: 100%; height: 100%;744  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink);745}746/* Backdrop + menu rendus à la racine de <body> via createPortal (un fixed747   descendant du header blurré se re-parentait, et le stacking context z-50 du748   header plaquait le menu sous la tabbar z-85 / le fab z-80). Échelle commune749   tokens.css : voile = --z-overlay (800), menu = --z-modal (900). */750.account-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); }751.account-menu {752  position: fixed;753  right: max(12px, env(safe-area-inset-right));754  top: calc(var(--header-h, 66px) + 10px);755  z-index: var(--z-modal);756  min-width: 230px; background: var(--surface);757  border: 1.5px solid var(--ink); border-radius: var(--r-card);758  box-shadow: var(--shadow-off); padding: 8px; display: flex; flex-direction: column;759}760.account-id { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }761.account-id b { font-family: var(--font-display); font-size: 14.5px; }762.account-id span { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }763.account-kaid {764  font-family: var(--font-mono) !important; font-size: 11px !important;765  color: var(--green) !important; letter-spacing: 0.06em;766}767.account-link, .account-menu button {768  text-align: left; border: none; background: none; cursor: pointer;769  padding: 10px; border-radius: var(--r-ctl);770  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink);771}772.account-link:hover, .account-menu button:hover { background: var(--accent-soft); }773774/* cœur favori sur les cartes */775.fav-btn {776  position: absolute; bottom: 10px; right: 10px;777  width: 34px; height: 34px; border-radius: 50%;778  border: 1.5px solid var(--ink); background: rgba(255, 255, 255, 0.95);779  color: var(--ink-2); font-size: 16px; line-height: 1; cursor: pointer;780  box-shadow: 2px 2px 0 rgba(20, 24, 20, 0.2);781  transition: transform 0.12s ease, background 0.12s ease;782}783.fav-btn:hover { transform: scale(1.08); }784.fav-btn.on { background: var(--accent); color: var(--ink); }785786/* --- Menu déroulant mobile ------------------------------------------------- */787.menu-btn {788  display: none; position: relative; z-index: 60;789  width: 44px; height: 44px; margin-left: auto;790  border: 1.5px solid var(--ink); border-radius: var(--r-ctl);791  background: var(--surface); cursor: pointer; padding: 0;792  flex-direction: column; align-items: center; justify-content: center; gap: 5px;793  box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.15);794  transition: box-shadow 0.15s ease, transform 0.15s ease;795}796.menu-btn:active { transform: translate(2px, 2px); box-shadow: none; }797.menu-btn span {798  display: block; width: 18px; height: 2px; background: var(--ink);799  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;800}801.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }802.menu-btn.open span:nth-child(2) { opacity: 0; }803.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }804805.mobile-menu {806  display: none; position: absolute; left: 0; right: 0; top: 100%;807  background: var(--paper); border-bottom: 2px solid var(--ink);808  box-shadow: 0 18px 30px rgba(20, 24, 20, 0.14);809  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));810  max-height: 0; overflow: hidden; opacity: 0;811  transition: max-height 0.3s ease, opacity 0.22s ease;812}813.mobile-menu { z-index: var(--z-modal, 900); }814.mobile-menu.open { max-height: 480px; opacity: 1; }815/* Le drawer vit DANS le header : quand il est ouvert, le header monte au niveau816   modal pour peindre au-dessus du .mm-backdrop (frère du header, overlay 800). */817.header:has(.mobile-menu.open) { z-index: var(--z-modal, 900); }818.mm-link {819  display: flex; align-items: center; gap: 12px;820  padding: 15px 10px; min-height: 52px;821  font-family: var(--font-display); font-weight: 700; font-size: 19px;822  letter-spacing: -0.02em; border-bottom: 1px solid var(--line);823  color: var(--ink);824  opacity: 0; transform: translateY(-8px);825  transition: opacity 0.25s ease, transform 0.25s ease;826}827.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }828.mm-link.active { color: var(--green); }829.mm-link.active .mm-arrow { opacity: 1; color: var(--green); }830.mm-ico { width: 26px; text-align: center; font-size: 17px; }831.mm-arrow { margin-left: auto; opacity: 0.25; color: var(--green); transition: opacity 0.15s ease; }832.mm-link:active { background: var(--accent-soft); border-radius: var(--r-ctl); }833.mm-foot {834  padding: 12px 10px 4px;835  font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.02em;836}837.mm-backdrop {838  position: fixed; inset: 0; z-index: var(--z-overlay, 800);839  background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px);840}841@media (max-width: 760px) {842  .menu-btn { display: flex; }843  .nav { display: none; }844  .mobile-menu { display: block; }845}846847/* ================= Badge « Un service Groupe KA » (ka-ui) ================= */848.hdr-badge { display: none; }849@media (min-width: 900px) { .hdr-badge { display: inline-flex; } }850.mm-badge { padding: 14px 10px 2px; }851852/* ================= Page Contact ================= */853.contact-page { padding: 44px 0 90px; }854.contact-page h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 12px 0 6px; color: var(--ink); }855.contact-page .sub { color: var(--ink-2); max-width: 640px; margin: 0 0 30px; }856.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 26px; }857.contact-card {858  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card);859  box-shadow: var(--shadow-off-soft); padding: 20px;860  display: flex; flex-direction: column; gap: 6px;861}862.contact-card .role {863  font-family: var(--font-mono); font-size: 10px; font-weight: 700;864  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);865}866.contact-card a.mail {867  display: inline-flex; align-items: center; min-height: var(--touch);868  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;869  letter-spacing: -0.01em; color: var(--ink); word-break: break-all;870}871.contact-card a.mail:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }872.contact-note {873  border: 1.5px solid var(--ink); border-left: 6px solid var(--accent);874  border-radius: var(--r-card); background: var(--accent-soft);875  padding: 16px 18px; max-width: 760px; margin-bottom: 26px; font-size: 14px;876  box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.1);877}878.contact-hub { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 38px; }879.contact-hub .hint { font-size: 12.5px; color: var(--ink-2); max-width: 460px; }880.contact-sites { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }881.contact-sites a {882  display: inline-flex; align-items: center; gap: 7px; min-height: var(--touch);883  border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface);884  padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;885  color: var(--ink); box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.1);886  transition: all 0.13s ease;887}888.contact-sites a:hover { background: var(--accent); color: var(--on-accent); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.2); }889.contact-sites .dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(20, 24, 20, 0.35); flex: none; }890891/* ================= Stats — tableau de bord Groupe KA (SPEC ka-ui/stats) ==== */892.stats-page { display: grid; gap: 26px; }893.stats-page .sub { margin-bottom: 0; }894.stats-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; }895.stats-actions { display: grid; gap: 10px; justify-items: start; }896.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; }897.period-bar { padding: 12px 14px; }898.stats-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); gap: 18px; align-items: start; }899.records-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; }900.stats-foot { margin-top: 12px; }901@media (max-width: 767px) {902  .stats-page { gap: 20px; }903  .kpi-grid { grid-template-columns: 1fr 1fr; }904  .stats-head { align-items: flex-start; flex-direction: column; }905}906@media (max-width: 420px) { .kpi-grid { grid-template-columns: 1fr; } }907
Files · 6a433149cb299d1b83d9dd27ea6d42cbf62492ad
Menu

Theme