/* ----------------------------------------------------------------------------- Author: Simon-Pierre Boucher File: styles.css Desc: Identité visuelle Resto·Ka v2 — « éditorial premium » du GROUPE KA. Le socle (palette fixe, typo, grain, boutons, cartes…) vient de ka-ui (src/ka/tokens.css, importé AVANT ce fichier) ; ici on définit l'ACCENT SAFRAN de Resto-Ka + les classes métier. · v2 (2026-08-25) : moins de boîtes/ombres, plus de typographie et de filets d'encre — bande « signes vitaux » pleine largeur sur fond encre, chiffres géants tabulaires, nav soulignée, rangs de plats en lignes éditoriales (pointillés conduits), fiches allégées. Aucune logique changée. · Accent Resto-Ka : safran #f08c00 (soft #fdeed7 · deep #b96a00) · Baseline : « Chaque resto, chaque plat, chaque prix. » · 100 % adaptatif mobile (safe-areas iOS) ----------------------------------------------------------------------------- */ :root { /* ACCENT du site — seule surcharge de tokens.css (ka-ui) */ --accent: #f08c00; --accent-soft: #fdeed7; --accent-deep: #b96a00; --on-accent: #141814; /* alias rétro-compatibles (le code historique utilise --lime) */ --lime: var(--accent); --lime-soft: var(--accent-soft); } h1, h2, h3, h4 { font-weight: 700; margin: 0; } a { text-decoration: none; } button { font-family: inherit; } img { display: block; } .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; } @media (max-width: 640px) { .container { padding: 0 16px; } } /* ================= Primitives éditoriales v2 ================= */ /* pleine largeur depuis n'importe quel parent centré (tokens.css pose overflow-x: clip sur html ET body — requis) */ .bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); } .band-ink { background: var(--ink); color: var(--paper); } .rule-ink { border-top: 2px solid var(--ink); } .rule-hair { border-top: 1px solid var(--line); } .tnum { font-variant-numeric: tabular-nums; } /* ================= Header ================= */ .header { position: sticky; top: 0; z-index: var(--z-header, 500); background: var(--paper); border-bottom: 1.5px solid var(--ink); } :root { --header-h: 64px; } /* hauteur du header (ancre du menu compte fixed) */ .header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); } .brand { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; display: flex; align-items: center; line-height: 1; color: var(--ink); } .brand .logo-ico { margin-right: 11px; flex: none; } /* « Ka » en pastille safran inclinée — même geste que la carte membre Groupe KA */ .brand .ka { background: var(--accent); color: var(--ink); padding: 1px 6px 3px; border-radius: 5px; margin-left: 3px; display: inline-block; transform: rotate(-2deg); transition: transform 0.15s ease; } .brand:hover .ka { transform: rotate(0); } .brand-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-left: 14px; } @media (max-width: 900px) { .brand-tag { display: none; } } /* nav v2 : liens texte soulignés (trait qui se déploie), plus de pilules */ .nav { margin-left: auto; display: flex; gap: 26px; } .nav a { position: relative; padding: 8px 2px; min-height: 38px; display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: color 0.13s ease; } .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease; } .nav a:hover { color: var(--ink); } .nav a:hover::after { transform: scaleX(1); } .nav a.active { color: var(--ink); } .nav a.active::after { transform: scaleX(1); background: var(--accent); height: 3px; } /* ================= Ticker ================= */ .ticker { background: var(--ink); color: rgba(245, 243, 238, 0.85); overflow: hidden; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 0; white-space: nowrap; border-bottom: 1.5px solid var(--ink); } .ticker-track { display: inline-flex; gap: 0; animation: ticker 40s linear infinite; will-change: transform; } .ticker span { padding: 0 26px; position: relative; } .ticker span::after { content: "◆"; position: absolute; right: -6px; color: var(--accent); opacity: 0.9; font-size: 8px; top: 3px; } @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } } @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } * { transition-duration: 0.01ms !important; } } /* ================= Hero ================= */ .hero { padding: 64px 0 0; } @media (max-width: 640px) { .hero { padding: 38px 0 0; } } .hero h1 { font-size: clamp(40px, 7.4vw, 92px); font-weight: 700; line-height: 0.99; letter-spacing: -0.045em; max-width: 1080px; margin-top: 18px; color: var(--ink); } .hero p.lede { color: var(--ink-2); font-size: 17.5px; max-width: 660px; margin: 22px 0 0; line-height: 1.6; } /* --- signes vitaux : bande encre pleine largeur, chiffres géants ------------ */ .vitals { margin-top: 40px; padding: 30px 0 36px; } .vitals-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 32px; align-items: end; } .vitals-live { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(245, 243, 238, 0.6); } .vital { border-top: 1px solid rgba(245, 243, 238, 0.22); padding-top: 14px; min-width: 0; } .vital-i { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 8px; } .vital-v { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; } .vital-k { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245, 243, 238, 0.55); } @media (max-width: 760px) { .vitals { margin-top: 30px; padding: 24px 0 28px; } .vitals-in { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 0 16px; } } .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(240, 140, 0, 0.25); animation: pulse 2.4s ease infinite; flex: none; display: inline-block; } @keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(240, 140, 0, 0.08); } } /* ================= Rangée d'avantages (strip éditorial, sans boîtes) ======= */ .benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 34px; margin-top: 26px; } .benefit { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); padding: 13px 0; } .benefit-ico { width: auto; height: auto; border: none; background: none; box-shadow: none; flex: none; display: flex; align-items: center; justify-content: center; color: var(--accent-deep); } .benefit-ico.blue { background: none; color: var(--green); } .benefit-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); } @media (max-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 18px; } } /* ================= Filter bar (bande à filets, sans carte) ================= */ .filterbar { background: transparent; border: none; border-radius: 0; box-shadow: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0 20px; margin: 26px 0 6px; display: flex; flex-direction: column; gap: 0; min-width: 0; } .f-primary { display: flex; gap: 14px 22px; align-items: stretch; flex-wrap: wrap; min-width: 0; } .f-search { flex: 1 1 240px; min-width: 0; max-width: 480px; align-self: center; display: flex; align-items: center; gap: 9px; border: none; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 0 2px; min-height: 46px; color: var(--ink-2); box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .f-search:focus-within { outline: none; border-color: var(--accent-deep); box-shadow: 0 1.5px 0 var(--accent-deep); background: transparent; } .f-search input { border: none; background: none; outline: none; flex: 1; min-width: 0; font-size: 15px; color: var(--ink); font-family: inherit; } .f-clear { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 50%; width: 20px; height: 20px; font-size: 10px; cursor: pointer; flex: none; display: grid; place-items: center; } .f-ctl { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 4px 2px 7px; min-height: 52px; cursor: pointer; box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .f-ctl:focus-within { outline: none; border-color: var(--accent-deep); box-shadow: 0 1px 0 var(--accent-deep); } .f-ctl > span { font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } .f-ctl select { border: none; background: transparent; outline: none; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 170px; text-overflow: ellipsis; 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"); background-repeat: no-repeat; background-position: right center; } /* pastilles de filtres actifs */ .pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 2px; } .pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--ink); background: var(--accent); color: var(--ink); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 700; font-family: var(--font-display); cursor: pointer; box-shadow: none; transition: all 0.12s ease; } .pill:hover { background: var(--ink); color: var(--accent); } .pill-x { font-size: 10px; opacity: 0.65; } .pill-clear { background: transparent; border-color: var(--danger); color: var(--danger); } .pill-clear:hover { background: var(--danger); color: #fff; } .link-btn { background: none; border: none; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 10px 20px; font-family: var(--font-display); font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease; } .btn:active { transform: translate(2px, 2px); box-shadow: none !important; } .btn-primary { background: var(--ink); color: var(--accent); box-shadow: var(--shadow-off-mid); } .btn-primary:hover { background: var(--green-deep); } .btn-ghost { background: transparent; color: var(--ink); } .btn-ghost:hover { background: var(--accent); } .btn:disabled { opacity: 0.4; cursor: default; } /* ================= Chips (cuisines) — pilules à filet, sans ombre ========= */ .chips { display: flex; gap: 8px; margin: 20px 0 4px; overflow-x: auto; padding: 4px 4px 8px 0; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px; box-shadow: none; transition: all 0.13s ease; } .chip:hover { background: var(--accent-soft); border-color: var(--ink); transform: none; box-shadow: none; } .chip.on { background: var(--ink); color: var(--accent); border-color: var(--ink); box-shadow: none; } /* ================= Results ================= */ .results-head { display: flex; align-items: baseline; gap: 14px; margin: 44px 0 22px; border-top: 2px solid var(--ink); padding-top: 16px; } .results-head h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.035em; color: var(--ink); } .results-head span { margin-left: auto; text-align: right; font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; padding-bottom: 30px; } @media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; } } /* récemment consultés — bande horizontale de cartes, défilement latéral */ .recent-row { display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; } .recent-row > .card { scroll-snap-align: start; } @media (max-width: 640px) { .recent-row { grid-auto-columns: 82%; margin-right: -16px; padding-right: 16px; } } /* cartes v2 : filet fin, pas d'ombre au repos — au survol, levée + ombre safran dure (signature Resto-Ka) */ .card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: none; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; } .card:hover { transform: translate(-3px, -3px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--accent); } .card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; } .card-img { position: relative; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line-strong); } .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .card:hover .card-img img { transform: scale(1.04); } .card-img .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-3); background: radial-gradient(circle at 82% 20%, var(--accent-soft) 0, transparent 46%), radial-gradient(circle at 12% 85%, var(--amber-soft) 0, transparent 42%), var(--surface-2); } .card-logo { max-width: 46%; max-height: 68%; object-fit: contain; } .card:hover .card-logo { transform: none; } .badge { position: absolute; top: 10px; left: 10px; border: 1px solid var(--ink); border-radius: var(--r-ctl); padding: 3px 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: none; } .badge.type { background: var(--ink); color: var(--accent); } .badge.right { left: auto; right: 10px; } /* badge de contexte de prix — TOUJOURS visible (un prix sans contexte est inutilisable) */ .badge.ctx-takeout, .ctx-pill.ctx-takeout { background: var(--accent); color: var(--ink); } .badge.ctx-dine-in, .ctx-pill.ctx-dine-in { background: var(--green); color: #fff; } .badge.ctx-delivery, .ctx-pill.ctx-delivery { background: var(--amber); color: var(--ink); } .card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .card-price { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; } .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; } .card-price .no-menu { font-size: 14px; font-weight: 600; color: var(--ink-3); } .card-title { font-weight: 600; font-size: 14.5px; color: var(--ink); } .card-meta { color: var(--ink-3); font-size: 12.5px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; } .card-meta .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; } .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; } .source-tag { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-deep); background: none; border: none; border-radius: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; } .avail { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; } /* ================= Bascule Restos / Plats ================= */ .mode-toggle { display: inline-flex; align-self: center; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: none; flex: none; } .mode-toggle button { border: 0; background: transparent; padding: 12px 20px; cursor: pointer; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-2); min-height: 46px; } .mode-toggle button + button { border-left: 1.5px solid var(--ink); } .mode-toggle button.on { background: var(--ink); color: var(--accent); } /* ================= Résultats par plat — lignes éditoriales ================= */ .dish-list { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); padding-bottom: 10px; } .dish-row { display: flex; gap: 16px; align-items: flex-start; background: transparent; border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 2px; box-shadow: none; transition: background 0.15s ease; } .dish-row:hover { transform: none; box-shadow: none; background: var(--surface); } .dish-row:hover .dish-name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2.5px; text-underline-offset: 4px; } .dish-img { width: 62px; height: 62px; flex: none; object-fit: cover; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface-2); } .dish-noimg { display: flex; align-items: center; justify-content: center; color: var(--ink-3); } .dish-main { flex: 1; min-width: 0; } .dish-line { display: flex; align-items: baseline; gap: 10px; } .dish-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); } .dish-price { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; } .dish-desc { margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 620px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .dish-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 7px; font-size: 12px; color: var(--ink-2); } .dish-meta b { color: var(--ink); } .dish-meta .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; } .dish-meta .ctx-pill { border: 1px solid var(--ink); border-radius: 4px; padding: 2px 8px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } /* ================= Pager (numéroté) ================= */ .pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 18px 0 60px; } .pg-btn { min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; box-shadow: none; font-variant-numeric: tabular-nums; transition: all 0.12s ease; } .pg-btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--ink); } .pg-btn.on { background: var(--ink); color: var(--accent); border-color: var(--ink); } .pg-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; } .pg-btn:active:not(:disabled) { transform: translate(1px, 1px); } .pg-ellipsis { color: var(--ink-3); font-family: var(--font-mono); padding: 0 4px; } /* ================= Skeletons ================= */ @keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } .skel { border-radius: var(--r-card); border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface); } .skel .sk-img, .skel .sk-line { background: linear-gradient(90deg, #eceae4 25%, #f6f4ef 50%, #eceae4 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; } .skel .sk-img { aspect-ratio: 16/9; } .skel .sk-line { height: 14px; border-radius: 4px; margin: 12px 16px; } .skel .sk-line.short { width: 45%; } /* ================= Empty / error ================= */ .notice { text-align: center; padding: 72px 24px; color: var(--ink-2); } .notice .big { font-size: 44px; margin-bottom: 10px; color: var(--accent-deep); } .notice h2 { color: var(--ink); } /* ================= Fiche resto ================= */ .detail { padding: 30px 0 90px; } .crumbs { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .crumbs a { border-bottom: 1.5px solid transparent; } .crumbs a:hover { color: var(--accent-deep); border-color: var(--accent-deep); } /* Ordre DOM = ordre visuel (standard Groupe Ka « Ordre des sections — pages détail ») : le panneau héro (nom/prix/adresse) est 1er dans le DOM ; sur desktop il est placé en colonne 2 via grid-column — pas de `order` ni de `column-reverse` pour réordonner entre breakpoints. */ .detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; } @media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } } .detail-grid > * { min-width: 0; } @media (min-width: 901px) { .detail-grid > .panel { grid-column: 2; grid-row: 1; } .detail-grid > .detail-main { grid-column: 1; grid-row: 1; } } .panel { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: none; padding: 26px; position: sticky; top: 110px; } @media (max-width: 900px) { .panel { position: static; } } .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .panel-logo { max-width: 110px; max-height: 54px; object-fit: contain; border-radius: var(--r-ctl); } .panel .price { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); background: var(--accent); border-radius: 8px; padding: 0 10px 2px; display: inline-block; transform: rotate(-1deg); } .panel h1 { font-size: clamp(23px, 2.4vw, 28px); margin: 12px 0 2px; letter-spacing: -0.03em; } .panel .loc { color: var(--ink-2); font-size: 14px; } /* fiche d'identité : lignes à filets, plus de cellules boîtes */ .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 20px 0; border-top: 1px solid var(--line); } @media (max-width: 380px) { .kv { grid-template-columns: 1fr; } } .kv .cell { background: none; border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; } .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; } .kv .cell .v { font-weight: 700; font-size: 14.5px; margin-top: 2px; font-family: var(--font-display); color: var(--ink); } .klabel { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; } .amenity-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; } .amenity { background: transparent; color: var(--ink-2); font-size: 11px; font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; } .cta { display: block; text-align: center; background: var(--ink); color: var(--accent); font-weight: 700; font-family: var(--font-display); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 14px; min-height: 48px; box-shadow: var(--shadow-off-mid); transition: all 0.14s ease; } .cta:hover { background: var(--green-deep); } .cta:active { transform: translate(2px, 2px); box-shadow: none; } .panel .fine { font-size: 11.5px; color: var(--ink-3); margin-top: 14px; text-align: center; } /* --- menu (sections, items, options) — sections à filets d'encre ----------- */ .view-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: none; } .view-toggle button { border: 0; background: transparent; padding: 8px 16px; cursor: pointer; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink-2); } .view-toggle button + button { border-left: 1.5px solid var(--ink); } .view-toggle button.on { background: var(--ink); color: var(--accent); } .ctx-toggle { margin-bottom: 14px; } .menu-block { display: flex; flex-direction: column; gap: 0; } /* bannière de contexte de prix — TOUJOURS lisible, filet coloré à gauche */ .ctx-banner { border: none; border-left: 5px solid var(--ink); border-radius: 0; padding: 12px 16px; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 12.5px; box-shadow: none; } .ctx-banner b { font-family: var(--font-display); font-size: 14px; } .ctx-banner span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); } .ctx-banner.ctx-takeout { background: var(--accent-soft); border-left-color: var(--accent); } .ctx-banner.ctx-takeout b { color: var(--accent-deep); } .ctx-banner.ctx-dine-in { background: var(--surface); border-left-color: var(--green); } .ctx-banner.ctx-dine-in b { color: var(--green-deep); } .ctx-banner.ctx-delivery { background: var(--amber-soft); border-left-color: var(--amber); } .ctx-banner.ctx-delivery b { color: #9a6414; } .menu-section { background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; overflow: visible; } .menu-section-head { width: 100%; display: flex; align-items: center; gap: 12px; border: none; background: none; cursor: pointer; padding: 15px 2px; text-align: left; } .menu-section-head h3 { font-size: 19px; color: var(--ink); letter-spacing: -0.025em; flex: 1; } .menu-section-head:hover { background: var(--accent-soft); } .ms-img { width: 36px; height: 36px; object-fit: cover; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); flex: none; } .ms-meta { font-family: var(--font-mono); color: var(--ink-3); font-size: 11.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; } .menu-items { list-style: none; margin: 0; padding: 0 2px 18px; } .menu-item { padding: 12px 0; border-top: 1px solid var(--line); } .mi-row { display: flex; gap: 14px; align-items: flex-start; } .mi-main { flex: 1; min-width: 0; } .mi-line { display: flex; align-items: baseline; gap: 10px; } .mi-name { font-weight: 600; font-size: 14.5px; color: var(--ink); } .mi-dots { flex: 1; border-bottom: 2px dotted var(--line-strong); opacity: 0.35; transform: translateY(-3px); min-width: 20px; } .mi-price { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; } .mi-desc { margin: 3px 0 0; color: var(--ink-3); font-size: 12.5px; max-width: 560px; } .mi-thumb { width: 68px; height: 68px; flex: none; object-fit: cover; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: none; } .mi-tag { font-style: normal; font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px; padding: 2px 7px; margin-left: 7px; background: var(--accent-soft); color: var(--green); border: 1px solid rgba(28, 92, 65, 0.3); vertical-align: 2px; } .mi-tag-epice { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.5); } .mi-tag-rupture { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); } /* groupes d'options : bloc en retrait à filet, choix en pastilles avec ± prix */ .mi-optgroups { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; background: transparent; border: none; border-left: 2px solid var(--line-strong); border-radius: 0; padding: 8px 0 8px 14px; } .og-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; } .og-name { font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; } .og-req { font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; padding: 2px 7px; background: var(--surface); color: var(--ink-3); border: 1px solid var(--line); } .og-req.on { background: var(--accent); color: var(--ink); border-color: var(--ink); } .og-choices { display: flex; flex-wrap: wrap; gap: 6px; } .og-choice { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); padding: 4px 10px; font-size: 12px; color: var(--ink-2); } .og-choice b { font-family: var(--font-mono); font-weight: 700; font-size: 11px; } .og-choice b.plus { color: #9a6414; } .og-choice b.moins { color: var(--green); } /* ================= Sources page — table à filets ================= */ .sources { padding: 44px 0 90px; } .sources h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; } .sources .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 700px; } .src-wrap { overflow-x: auto; border: none; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; background: transparent; } .src-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; } .src-table th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); padding: 13px 18px 13px 2px; border-bottom: 1.5px solid var(--ink); background: transparent; } .src-table td { padding: 14px 18px 14px 2px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; } .src-table tr:last-child td { border-bottom: none; } .src-table tr:hover td { background: var(--accent-soft); } .src-table a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); } .src-table a:hover { color: var(--accent-deep); } .src-integrations { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; max-width: 380px; } .src-table .pill, .pill.ok, .pill.todo { display: inline-block; border-radius: 4px; padding: 3px 9px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--ink); box-shadow: none; cursor: default; transform: none; } .pill.ok { background: var(--accent); color: var(--ink); } .pill.todo { background: var(--amber-soft); color: #9a6414; border-color: rgba(232, 163, 61, 0.6); } .count-pill { font-weight: 700; font-family: var(--font-display); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; } /* ================= Page Statistiques ================= */ .stats-page { padding: 44px 0 90px; } .stats-title { font-size: clamp(32px, 4.8vw, 54px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; } .stats-page .sub { color: var(--ink-2); max-width: 640px; margin-bottom: 30px; } .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 28px; margin-bottom: 30px; } .tile { background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0; padding: 14px 0 4px; box-shadow: none; } .tile-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); font-variant-numeric: tabular-nums; } .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; } .hero-tile { background: var(--ink); color: var(--paper); border: none; border-radius: 10px; padding: 16px 18px 12px; box-shadow: none; } .hero-tile .tile-v { color: var(--accent); } .hero-tile .tile-k { color: rgba(245, 243, 238, 0.6); } .viz-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card); box-shadow: none; padding: 26px 28px 20px; margin-bottom: 22px; } .viz-card h2 { font-size: 20px; letter-spacing: -0.02em; color: var(--ink); } .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; } .viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } @media (max-width: 900px) { .viz-grid { grid-template-columns: 1fr; } } .hbars { display: flex; flex-direction: column; gap: 7px; } .hbar-row { display: grid; grid-template-columns: minmax(96px, 190px) 1fr auto; gap: 12px; align-items: center; min-height: 26px; cursor: default; } .hbar-label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hbar-label a { border-bottom: 1.5px solid rgba(28, 92, 65, 0.4); } .hbar-label a:hover { color: var(--green); } .hbar-track { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 4px; height: 18px; overflow: hidden; } .hbar-fill { display: block; height: 100%; background: var(--green); border-radius: 0; min-width: 2px; transition: background 0.12s ease; } .hbar-row:hover .hbar-fill { background: var(--accent); } .hbar-value { font-family: var(--font-mono); font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; } @media (max-width: 640px) { .hbar-row { grid-template-columns: minmax(80px, 120px) 1fr auto; gap: 8px; } .viz-card { padding: 20px 16px 14px; } } .stats-foot { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 6px; } /* ================= Mobile : feuille de filtres + FAB ================= */ .sheet-head { display: none; } .sheet-apply { display: none; } .sheet-backdrop { display: none; } .fab { display: none; } @media (max-width: 640px) { :root { --header-h: 56px; } .brand { font-size: 20px; } .ticker { font-size: 10px; padding: 6px 0; } .hero h1 { font-size: clamp(34px, 10.4vw, 52px); } .hero p.lede { font-size: 15px; } /* la barre de filtres devient une feuille coulissante (bottom sheet) */ .filterbar { display: none; } .filterbar.open .f-primary { flex-direction: column; } .filterbar.open .f-search { align-self: stretch; max-width: none; min-height: 46px; } .filterbar.open .f-search input { font-size: 16px; } /* anti-zoom iOS */ .filterbar.open .f-ctl select { max-width: none; width: 100%; } .filterbar.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900); margin: 0; border-radius: 16px 16px 0 0; border: none; border-top: 2px solid var(--ink); background: var(--surface); max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(20, 24, 20, 0.28); animation: sheet-up 0.22s ease; } @keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } } .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 2px; z-index: 1; } .sheet-close { border: 1.5px solid var(--ink); background: var(--surface); border-radius: var(--r-ctl); width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1; color: var(--ink); } .filterbar.open .sheet-apply { display: flex; width: 100%; } .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.45); backdrop-filter: blur(2px); } .fab { display: flex; align-items: center; gap: 6px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 80; background: var(--ink); color: var(--accent); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 5px 5px 0 rgba(20, 24, 20, 0.3); } .fab:active { transform: translateX(-50%) translate(2px, 2px); box-shadow: none; } .detail { padding-top: 20px; } .panel { padding: 20px; } .panel .price { font-size: 26px; } .results-head { margin-top: 28px; } .chips { margin-right: -16px; padding-right: 16px; } .notice { padding: 48px 16px; } .menu-items { padding: 0 2px 14px; } .menu-section-head { padding: 13px 2px; } .mi-thumb { width: 56px; height: 56px; } } /* ============ Barre de navigation inférieure (mobile) ============ KA Tabbar commune (src/ka/ka-tabbar.css) — pilule flottante, accent orange du site via var(--accent). ============ */ /* Anti-zoom iOS : les champs doivent faire >= 16px (filet global : tokens.css force aussi 16 px au doigt) */ @media (max-width: 900px) { .f-search input, .f-ctl select { font-size: 16px; } } /* Cible tactile ≥44 px du logo (138×30 rendus) : zone étendue invisible */ @media (pointer: coarse) { .brand { position: relative; } .brand::after { content: ""; position: absolute; inset: -8px; } } /* ================= Footer (KaFooter — ka-ui) ================= */ /* Le footer commun vient de tokens.css (.ka-footer) + KaFooter.tsx. On garde ici seulement la rangée de nav locale posée au-dessus. */ .prefoot { border-top: 2px solid var(--ink); padding: 22px 0; margin-top: 40px; background: var(--surface-2); } .ka-footer { margin-top: 0; } .prefoot-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; } .prefoot-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; } .prefoot-nav a { display: inline-flex; align-items: center; min-height: var(--touch); padding: 8px 12px; border-radius: var(--r-ctl); font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); } .prefoot-nav a:hover { background: var(--accent); color: var(--on-accent); } .prefoot-osm { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--ink-3); } .prefoot-osm a { color: var(--accent-deep); border-bottom: 1px solid rgba(185, 106, 0, 0.4); } @media (max-width: 640px) { .prefoot-osm { margin-left: 0; } } /* --- Compte membre (« Se connecter avec KA ») ------------------------------- */ .login-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; min-height: 38px; box-shadow: none; transition: background 0.13s ease, transform 0.1s ease; } .login-btn:hover { background: var(--accent-soft); } .login-btn:active { transform: translate(1px, 1px); } .ka-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); border: 1px solid var(--ink); padding: 1px 6px 2px; border-radius: 4px; font-family: var(--font-display); font-weight: 700; font-size: 11px; transform: rotate(-2deg); } .account { position: relative; } .account-btn { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--ink); background: var(--accent); cursor: pointer; padding: 0; box-shadow: none; } .account-btn img { width: 100%; height: 100%; object-fit: cover; } .account-initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); } /* Backdrop + menu rendus à la racine de via createPortal (un fixed descendant du header blurré se re-parentait, et le stacking context z-50 du header plaquait le menu sous la tabbar z-85 / le fab z-80). Échelle commune tokens.css : voile = --z-overlay (800), menu = --z-modal (900). */ .account-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); } .account-menu { position: fixed; right: max(12px, env(safe-area-inset-right)); top: calc(var(--header-h, 66px) + 10px); z-index: var(--z-modal); min-width: 230px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off); padding: 8px; display: flex; flex-direction: column; } .account-id { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; } .account-id b { font-family: var(--font-display); font-size: 14.5px; } .account-id span { font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; } .account-kaid { font-family: var(--font-mono) !important; font-size: 11px !important; color: var(--green) !important; letter-spacing: 0.06em; } .account-link, .account-menu button { text-align: left; border: none; background: none; cursor: pointer; padding: 10px; border-radius: var(--r-ctl); font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); } .account-link:hover, .account-menu button:hover { background: var(--accent-soft); } /* cœur favori sur les cartes */ .fav-btn { position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.95); color: var(--ink-2); font-size: 16px; line-height: 1; cursor: pointer; box-shadow: none; transition: transform 0.12s ease, background 0.12s ease; } .fav-btn:hover { transform: scale(1.08); } .fav-btn.on { background: var(--accent); color: var(--ink); } /* fiche détail : le cœur dans l'en-tête du panneau, en flux (pas absolu) */ .fav-btn.big { position: static; flex-shrink: 0; margin-left: auto; width: 44px; height: 44px; font-size: 21px; } /* --- Menu déroulant mobile ------------------------------------------------- */ .menu-btn { display: none; position: relative; z-index: 60; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: none; transition: transform 0.15s ease; } .menu-btn:active { transform: translate(1px, 1px); } .menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; } .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .menu-btn.open span:nth-child(2) { opacity: 0; } .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* KA Nav v2 (2026-08-25) : panneau PLEIN ECRAN fixed inset:0 - visible peu importe le scroll (l'ancien dropdown absolute 480px clippait/se coupait). */ .mobile-menu { display: none; position: fixed; inset: 0; background: var(--paper); padding: 76px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; } .mobile-menu.open { display: block; animation: mm-in 0.16s ease; } @keyframes mm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } /* burger masque a l'ouverture : la fermeture passe par le X fixe du panneau */ .header:has(.mobile-menu.open) .menu-btn { visibility: hidden; } /* bouton de fermeture du panneau : fixe en haut a droite du viewport */ .mm-close { position: fixed; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; } /* verrou du scroll d'arriere-plan quand le menu est ouvert (CSS pur) */ html:has(.mobile-menu.open) { overflow: hidden; } /* Le drawer vit DANS le header : quand il est ouvert, le header monte au niveau modal pour peindre au-dessus du .mm-backdrop (frère du header, overlay 800). */ .header:has(.mobile-menu.open) { z-index: var(--z-modal, 900); } .mm-link { display: flex; align-items: center; gap: 12px; padding: 15px 10px; min-height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); color: var(--ink); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; } .mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); } .mm-link.active { color: var(--accent-deep); } .mm-link.active .mm-arrow { opacity: 1; color: var(--accent-deep); } .mm-ico { width: 26px; text-align: center; font-size: 17px; } .mm-arrow { margin-left: auto; opacity: 0.25; color: var(--accent-deep); transition: opacity 0.15s ease; } .mm-link:active { background: var(--accent-soft); border-radius: var(--r-ctl); } .mm-foot { padding: 12px 10px 4px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.02em; } .mm-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay, 800); background: rgba(20, 24, 20, 0.35); backdrop-filter: blur(2px); } @media (max-width: 760px) { .menu-btn { display: flex; } .nav { display: none; } } /* ================= Badge « Un service Groupe KA » (ka-ui) ================= */ .hdr-badge { display: none; } @media (min-width: 900px) { .hdr-badge { display: inline-flex; } } .mm-badge { padding: 14px 10px 2px; } /* ================= Page Contact ================= */ .contact-page { padding: 44px 0 90px; } .contact-page h1 { font-size: clamp(32px, 4.8vw, 54px); margin: 12px 0 6px; color: var(--ink); letter-spacing: -0.04em; } .contact-page .sub { color: var(--ink-2); max-width: 640px; margin: 0 0 30px; } .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 34px; margin-bottom: 26px; } .contact-card { background: transparent; border: none; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 16px 0 20px; display: flex; flex-direction: column; gap: 6px; } .contact-card .role { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .contact-card a.mail { display: inline-flex; align-items: center; min-height: var(--touch); font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; color: var(--ink); word-break: break-all; } .contact-card a.mail:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; } .contact-note { border: none; border-left: 5px solid var(--accent); border-radius: 0; background: var(--accent-soft); padding: 16px 18px; max-width: 760px; margin-bottom: 26px; font-size: 14px; box-shadow: none; } .contact-hub { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 38px; } .contact-hub .hint { font-size: 12.5px; color: var(--ink-2); max-width: 460px; } .contact-sites { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .contact-sites a { display: inline-flex; align-items: center; gap: 7px; min-height: var(--touch); border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); box-shadow: none; transition: all 0.13s ease; } .contact-sites a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--ink); } .contact-sites .dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(20, 24, 20, 0.35); flex: none; } /* ================= Stats — tableau de bord Groupe KA (SPEC ka-ui/stats) ==== */ .stats-page { display: grid; gap: 26px; } .stats-page .sub { margin-bottom: 0; } .stats-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; } .stats-actions { display: grid; gap: 10px; justify-items: start; } .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; } .period-bar { padding: 12px 14px; } .stats-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); gap: 18px; align-items: start; } .records-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; } .stats-foot { margin-top: 12px; } @media (max-width: 767px) { .stats-page { gap: 20px; } .kpi-grid { grid-template-columns: 1fr 1fr; } .stats-head { align-items: flex-start; flex-direction: column; } } @media (max-width: 420px) { .kpi-grid { grid-template-columns: 1fr; } } /* --- KA ID v2 : badge « Recommandé pour vous » (parcimonieux, serveur) --- */ .badge.ka-reco { top: auto; bottom: 10px; background: var(--ink); color: var(--accent); }