SPB Git

spb/resto-ka

Public

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

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

Theme