/* ============================================================
   SOPLANY — Site public, refonte design (addendum 2)
   Direction artistique : grotesque Satoshi auto-hébergée, palette
   champagne de marque.html, photos réelles, icônes Lucide, surfaces
   plates, rayons modérés, ombres nettes. Dark-first + mode clair.
   ============================================================ */

/* ---------- Fonts (auto-hébergées, licence libre Fontshare) ---------- */
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #0A0C11;
  --bg-2: #0F1218;
  --surface: #141821;
  --surface-2: #1A1F2B;
  --surface-3: #222837;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.18);
  --fg: #EEF0F5;
  --fg-2: #B2B8C6;
  --fg-3: #818899;
  --accent: #D9B46A;
  --accent-2: #E6C988;
  --accent-ink: #1A1405;
  --accent-soft: rgba(217,180,106,0.13);
  --violet: #8B7CF6;
  --violet-soft: rgba(139,124,246,0.15);
  --good: #4CC9A2; --good-soft: rgba(76,201,162,0.14);
  --warn: #F2B94B; --warn-soft: rgba(242,185,75,0.14);
  --bad: #F0706A;  --bad-soft: rgba(240,112,106,0.14);
  --info: #6AB8F0; --info-soft: rgba(106,184,240,0.14);
  --btn-bg: #D9B46A; --btn-bg-h: #E6C988; --btn-fg: #1A1405;
  --font-display: 'Satoshi', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: 0 2px 4px rgba(0,0,0,.25), 0 16px 40px -18px rgba(0,0,0,.55);
  --glow: 0 0 0 3px var(--accent-soft);
  --ring: 0 0 0 3px var(--accent-soft);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --t-fast: 140ms; --t-med: 240ms; --t-slow: 420ms;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F7F5F0; --bg-2: #FBFAF7; --surface: #FFFFFF; --surface-2: #F1EEE7; --surface-3: #E7E3D9;
    --border: rgba(24,21,14,0.10); --border-strong: rgba(24,21,14,0.22);
    --fg: #17191F; --fg-2: #4B5160; --fg-3: #6E7484;
    --accent: #8E6A1B; --accent-2: #B48A2E; --accent-ink: #FFFFFF; --accent-soft: rgba(180,138,46,0.13);
    --btn-bg: #17191F; --btn-bg-h: #2A2D36; --btn-fg: #FFFFFF;
    --shadow-1: 0 1px 2px rgba(24,21,14,.07);
    --shadow-2: 0 2px 4px rgba(24,21,14,.06), 0 16px 40px -18px rgba(24,21,14,.22);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F5F0; --bg-2: #FBFAF7; --surface: #FFFFFF; --surface-2: #F1EEE7; --surface-3: #E7E3D9;
  --border: rgba(24,21,14,0.10); --border-strong: rgba(24,21,14,0.22);
  --fg: #17191F; --fg-2: #4B5160; --fg-3: #6E7484;
  --accent: #8E6A1B; --accent-2: #B48A2E; --accent-ink: #FFFFFF; --accent-soft: rgba(180,138,46,0.13);
  --btn-bg: #17191F; --btn-bg-h: #2A2D36; --btn-fg: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(24,21,14,.07);
  --shadow-2: 0 2px 4px rgba(24,21,14,.06), 0 16px 40px -18px rgba(24,21,14,.22);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2.05rem); letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--fg-2); }
.dim { color: var(--fg-3); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.display { font-family: var(--font-display); font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

/* Icônes Lucide injectées à la place de FontAwesome */
svg.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
svg.ic.ic-fill { fill: currentColor; stroke: none; }
svg.ic.ic-spin { animation: icspin 1s linear infinite; }
@keyframes icspin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.container.narrow { max-width: 820px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.min0 { min-width: 0; }
.flex1 { flex: 1 1 0; min-width: 0; }
.center { text-align: center; }
.hide-mobile { display: initial; }
@media (max-width: 760px) { .hide-mobile { display: none !important; } }

/* Têtes de section éditoriales */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head .kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); font-weight: 700; display: block; margin-bottom: 8px; }

/* ---------- Navbar (pleine, nette, sans flou) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) { padding: 9px 13px; border-radius: var(--r-md); color: var(--fg-2); font-weight: 500; transition: color var(--t-fast), background var(--t-fast); }
.nav-links a:not(.btn):hover { color: var(--fg); background: var(--surface-2); }
.nav-links a.active { color: var(--fg); font-weight: 700; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border); align-items: center; justify-content: center; font-size: 1.2rem; color: var(--fg); }
@media (max-width: 860px) {
  .nav .container { height: 64px; gap: 12px; }
  .nav-links a:not(.btn):not(.nav-keep) { display: none; }
  .nav-burger { display: inline-flex; }
}
/* Panneau mobile */
.nav-sheet { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; visibility: hidden; }
.nav-sheet.open { visibility: visible; }
.nav-sheet .nsb { position: absolute; inset: 0; background: rgba(5,6,9,.55); opacity: 0; transition: opacity var(--t-med); }
.nav-sheet .nsp { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: var(--surface); border-left: 1px solid var(--border-strong); padding: 20px; display: flex; flex-direction: column; gap: 4px; transform: translateX(102%); transition: transform var(--t-med) var(--ease); overflow: auto; }
.nav-sheet.open { pointer-events: auto; }
.nav-sheet.open .nsb { opacity: 1; }
.nav-sheet.open .nsp { transform: none; }
.nav-sheet .nsp a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: var(--r-md); font-weight: 600; color: var(--fg); min-height: 48px; }
.nav-sheet .nsp a:hover { background: var(--surface-2); }
.nav-sheet .nsp a .ic { color: var(--fg-3); font-size: 1.1rem; }
.nav-sheet .nsp .ns-close { align-self: flex-end; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border); display: grid; place-content: center; margin-bottom: 8px; }
.nav-sheet .nsp hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.logo .wordmark { color: var(--fg); }
.logo .wordmark b { color: var(--accent); font-weight: 900; }

/* ---------- Buttons (plats, nets) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-md); font-weight: 700; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-h); }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--fg); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { color: var(--fg-2); min-height: 40px; }
.btn-ghost:hover { background: var(--surface-2); color: var(--fg); }
.btn-outline { border-color: var(--border-strong); color: var(--fg); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-danger { background: var(--bad-soft); color: var(--bad); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .86rem; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn-icon { width: 44px; height: 44px; min-height: 0; padding: 0; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Cards / surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.card.pad-lg { padding: 28px; }
.card.hover { transition: border-color var(--t-med), box-shadow var(--t-med); }
.card.hover:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-sm); font-size: .76rem; font-weight: 700; letter-spacing: .01em; background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--border); }
.badge.gold { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge.good { background: var(--good-soft); color: var(--good); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge.violet { background: var(--violet-soft); color: var(--violet); border-color: transparent; }
:root[data-theme="light"] .badge.good, :root:not([data-theme="dark"]) .badge.good { color: #1D7A5E; }
:root[data-theme="light"] .badge.warn { color: #8A6210; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--fg-2); transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); cursor: pointer; }
.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; background: var(--surface-3); color: var(--fg-2); flex: 0 0 auto; letter-spacing: .02em; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.1rem; }
.avatar.gold { background: var(--accent-soft); color: var(--accent); }

/* ---------- Forms : 16 px min, 48 px min, focus/erreur nets ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-size: .88rem; font-weight: 700; color: var(--fg); }
.field .hint { font-size: .8rem; color: var(--fg-3); }
.field .error { font-size: .82rem; color: var(--bad); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: 11px 14px; color: var(--fg); font-size: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast); outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--fg-3); }
.input:focus, .select:focus, .textarea:focus, .input-wrap:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.input.invalid, .field.invalid .input, .field.invalid .input-wrap { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.textarea { min-height: 110px; resize: vertical; }
.input-wrap { display: flex; align-items: center; gap: 10px; min-height: 48px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 0 14px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.input-wrap .input { border: 0; background: transparent; padding-inline: 0; box-shadow: none; min-height: 46px; }
.input-wrap .icon { color: var(--fg-3); width: 18px; display: inline-flex; justify-content: center; font-size: 1.05rem; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }

/* Searchable select (suggestions) */
.sselect { position: relative; }
.sselect .sselect-menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); z-index: 60; max-height: 320px; overflow: auto; padding: 8px; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-med) var(--ease); }
.sselect.open .sselect-menu { opacity: 1; transform: none; pointer-events: auto; }
.sselect-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-md); cursor: pointer; font-size: .95rem; min-height: 44px; }
.sselect-item:hover, .sselect-item.hl { background: var(--surface-2); }
.sselect-item .ic { color: var(--fg-3); }
.sselect-item .sub { margin-left: auto; color: var(--fg-3); font-size: .8rem; }
.sselect-item mark { background: none; color: var(--accent); font-weight: 700; }
.sselect-group { padding: 10px 12px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); font-weight: 700; }
.sselect-empty { padding: 16px; color: var(--fg-3); text-align: center; font-size: .9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px; background: var(--accent-soft); color: var(--accent); border-radius: var(--r-sm); font-size: .82rem; font-weight: 700; }
.tag button { opacity: .7; line-height: 1; }

/* Switch / checkbox / radio */
.switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); transition: background var(--t-med); flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg-2); transition: transform var(--t-med) var(--ease), background var(--t-med); }
.switch.on { background: var(--btn-bg); border-color: var(--btn-bg); }
.switch.on::after { transform: translateX(20px); background: var(--btn-fg); }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; min-height: 44px; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--surface); display: grid; place-content: center; transition: background var(--t-fast), border-color var(--t-fast); margin: 0; flex: none; }
.check input[type=radio] { border-radius: 50%; }
.check input::before { content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform var(--t-fast) var(--ease-spring); background: var(--btn-fg); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input[type=radio]::before { border-radius: 50%; clip-path: none; width: 9px; height: 9px; }
.check input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.check input:checked::before { transform: scale(1); }

/* Range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; background: linear-gradient(to right, var(--accent) var(--pct, 50%), var(--surface-3) var(--pct, 50%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); border: 3px solid var(--accent); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--fg); border: 3px solid var(--accent); cursor: grab; }

/* Segmented */
.segmented { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 3px; }
.segmented button { padding: 8px 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--fg-2); min-height: 40px; }
.segmented button.active { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-1); }

/* Tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs button { padding: 13px 16px; color: var(--fg-2); font-weight: 600; font-size: .95rem; position: relative; white-space: nowrap; min-height: 48px; }
.tabs button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--fg); transform: scaleX(0); transition: transform var(--t-med) var(--ease); }
.tabs button:hover { color: var(--fg); }
.tabs button.active { color: var(--fg); }
.tabs button.active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp var(--t-med) var(--ease); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }

/* Modal / drawer */
.modal-backdrop { position: fixed; inset: 0; background: rgba(5,6,9,.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity var(--t-med); }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-2); transform: translateY(16px) scale(.98); transition: transform var(--t-slow) var(--ease-spring); }
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-body { padding: 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 1px solid var(--border-strong); z-index: 101; transform: translateX(100%); transition: transform var(--t-slow) var(--ease); box-shadow: var(--shadow-2); display: flex; flex-direction: column; overflow: auto; }
.drawer.open { transform: none; }

/* Toasts */
.toasts { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: calc(20px + env(safe-area-inset-right, 0px)); z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: calc(100% - 40px); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 13px 16px; box-shadow: var(--shadow-2); animation: slideIn var(--t-slow) var(--ease-spring); font-size: .95rem; min-width: 280px; }
.toast .ti { width: 30px; height: 30px; border-radius: 8px; display: grid; place-content: center; flex: 0 0 auto; }
.toast.good .ti { background: var(--good-soft); color: var(--good); }
.toast.bad .ti { background: var(--bad-soft); color: var(--bad); }
.toast.info .ti { background: var(--info-soft); color: var(--info); }
.toast.gold .ti { background: var(--accent-soft); color: var(--accent); }
.toast.out { animation: fadeOut var(--t-med) forwards; }

/* Progress / skeleton */
.progress { height: 6px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width var(--t-slow) var(--ease); }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }

/* Rating */
.stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: .9rem; }
.stars .off { color: var(--surface-3); }
:root[data-theme="light"] .stars, :root:not([data-theme="dark"]) .stars { color: #B48A2E; }

/* Steps */
.steps { display: flex; align-items: center; gap: 0; }
.step { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: .88rem; font-weight: 600; }
.step .n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-content: center; font-size: .8rem; transition: background var(--t-med), border-color var(--t-med), color var(--t-med); }
.step.active { color: var(--fg); }
.step.active .n { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.step.done .n { background: var(--good-soft); border-color: var(--good); color: var(--good); }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 12px; min-width: 24px; }

/* Calendrier */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); padding: 6px 0; font-weight: 700; }
.cal-day { aspect-ratio: 1; min-height: 40px; display: grid; place-content: center; border-radius: var(--r-md); font-weight: 600; font-size: .95rem; color: var(--fg-2); position: relative; transition: background var(--t-fast), color var(--t-fast); cursor: pointer; }
.cal-day:hover:not(.off):not(.full) { background: var(--surface-2); color: var(--fg); }
.cal-day.off { color: var(--fg-3); opacity: .35; cursor: default; }
.cal-day.full { color: var(--fg-3); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.cal-day.today::after { content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal-day.sel { background: var(--btn-bg); color: var(--btn-fg); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { min-height: 48px; padding: 10px 6px; text-align: center; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); cursor: pointer; }
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot.sel { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.slot.busy { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* ---------- Barre de recherche (accueil et pages listes) ---------- */
.searchbar { display: grid; grid-template-columns: 1.25fr 1fr .85fr auto; align-items: stretch; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); margin-top: 32px; padding: 8px; gap: 0; }
.sb-cell { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 18px; min-height: 64px; border-radius: var(--r-md); transition: background var(--t-fast); }
.sb-cell:hover { background: var(--surface-2); }
.sb-cell:focus-within { background: var(--surface-2); }
.sb-cell + .sb-cell::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--border-strong); }
.sb-cell > label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--fg-3); cursor: pointer; }
.sb-cell .input-wrap { border: 0 !important; background: transparent !important; box-shadow: none !important; min-height: 30px; padding: 0; gap: 8px; }
.sb-cell .input-wrap .input { min-height: 30px; padding: 0; font-size: 16px; font-weight: 600; }
.sb-cell .input-wrap .icon { display: none; }
.sb-cell .sselect-menu { top: calc(100% + 14px); min-width: 300px; }
.searchbar .sb-submit { display: flex; align-items: center; padding-left: 8px; }
.searchbar .sb-submit .btn { min-height: 64px; padding-inline: 28px; font-size: 1.02rem; border-radius: var(--r-md); }
.searchbar .sb-submit .btn .ic { font-size: 1.15rem; }
@media (max-width: 860px) {
  .searchbar { grid-template-columns: 1fr; padding: 10px; gap: 8px; }
  .sb-cell { min-height: 56px; border: 1px solid var(--border); background: var(--bg-2); }
  .sb-cell + .sb-cell::before { display: none; }
  .searchbar .sb-submit { padding-left: 0; }
  .searchbar .sb-submit .btn { width: 100%; min-height: 54px; }
}

/* Sélecteur de date (popover) */
.datepick { position: relative; }
.datepick .dp-value { font-size: 16px; font-weight: 600; color: var(--fg); min-height: 30px; display: flex; align-items: center; cursor: pointer; width: 100%; text-align: left; }
.datepick .dp-value.placeholder { color: var(--fg-3); font-weight: 500; }
.datepick .dp-pop { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -4px); width: 330px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 16px; z-index: 70; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-med) var(--ease); }
.datepick.open .dp-pop { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.standalone-dp .dp-value { min-height: 48px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 11px 14px; }

/* ---------- Fiches établissement (cartes liste) ---------- */
.ecard { display: grid; grid-template-columns: 210px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--t-med), box-shadow var(--t-med); color: inherit; }
.ecard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.ecard .cover { position: relative; overflow: hidden; background: var(--surface-3); min-height: 170px; display: grid; place-content: center; color: var(--fg-3); font-size: 1.5rem; }
.ecard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ecard:hover .cover img { transform: scale(1.04); }
.ecard .body { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 16px 18px; }
.ecard .title { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ecard .title strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.ecard .next { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--good); font-weight: 700; }
:root[data-theme="light"] .ecard .next, :root:not([data-theme="dark"]) .ecard .next { color: #1D7A5E; }
@media (max-width: 560px) { .ecard { grid-template-columns: 1fr; } .ecard .cover { aspect-ratio: 16/9; min-height: 0; } }

/* Cartes verticales (accueil, similaires) */
.vcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: border-color var(--t-med), box-shadow var(--t-med); }
.vcard:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.vcard .cover { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-3); display: grid; place-content: center; color: var(--fg-3); font-size: 1.6rem; }
.vcard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.vcard:hover .cover img { transform: scale(1.04); }
.vcard .body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 6px; }
.vcard .title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }

/* Tuiles catégories photo */
.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
@media (max-width: 1080px) { .cat-tiles { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 860px) { .cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; } .cat-tiles::-webkit-scrollbar { display: none; } .cat-tiles .cat-tile { flex: 0 0 128px; scroll-snap-align: start; } }
.cat-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: flex-end; color: #fff; background: var(--surface-3); isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,12,0) 42%, rgba(8,9,12,.78) 100%); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .lbl { padding: 12px; font-weight: 700; font-size: .92rem; line-height: 1.2; letter-spacing: -0.01em; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.cat-tile .lbl small { display: block; font-weight: 500; font-size: .74rem; opacity: .85; margin-top: 2px; }

/* Carte (plan décoratif résultats) */
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); min-height: 280px; }
.map svg.mapbg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform var(--t-fast) var(--ease); }
.map .pin:hover { transform: translate(-50%, -100%) scale(1.08); z-index: 2; }
.map .pin .p { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--fg); display: grid; place-content: center; box-shadow: var(--shadow-1); }
.map .pin .p > * { transform: rotate(45deg); color: var(--bg); font-size: 13px; }
.map .pin .lbl { margin-top: 6px; background: var(--surface); border: 1px solid var(--border-strong); padding: 4px 9px; border-radius: 6px; font-size: .76rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-1); }

/* ---------- Carte interactive (MapLibre + OpenFreeMap) ---------- */
.map-shell { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.map-shell .map-canvas, .map-shell .map-canvas.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-canvas .maplibregl-canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* squelette tant que la carte n'est pas chargée */
.map-shell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.map-shell.ready::before { display: none; }

/* Marqueur résultat : pastille prix/note aux couleurs Soplany */
.sp-marker { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 4px 11px; border-radius: var(--r-pill); background: var(--surface); color: var(--fg); border: 1.5px solid var(--border-strong); font: 700 .84rem/1 var(--font-body); font-variant-numeric: tabular-nums; box-shadow: var(--shadow-1); cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease); white-space: nowrap; }
.sp-marker .ic { color: var(--accent); font-size: .72rem; }
.sp-marker:hover, .sp-marker.hl { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); transform: scale(1.08); z-index: 3; }
.sp-marker:hover .ic, .sp-marker.hl .ic { color: var(--btn-fg); }
.maplibregl-marker:has(.sp-marker:hover), .maplibregl-marker:has(.sp-marker.hl) { z-index: 3; }

/* Cluster : disque plein */
.sp-cluster { width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--bg); font: 700 .92rem/1 var(--font-body); display: grid; place-content: center; box-shadow: var(--shadow-1); cursor: pointer; transition: transform var(--t-fast) var(--ease); }
.sp-cluster:hover { transform: scale(1.1); }

/* Marqueur fiche : logo Soplany sur une pointe */
.sp-pin { position: relative; width: 38px; height: 46px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.sp-pin svg { position: absolute; top: 0; left: 2px; }
.sp-pin::after { content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); border: 6px solid transparent; border-top: 9px solid #C99A3E; border-bottom: 0; }

/* « Vous êtes ici » */
.sp-me { width: 16px; height: 16px; border-radius: 50%; background: var(--info); border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(106,184,240,.25); }

/* Fiche au clic sur un marqueur */
.sp-pop .maplibregl-popup-content { background: var(--surface); color: var(--fg); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 0; overflow: hidden; width: 260px; }
.sp-pop .maplibregl-popup-tip { border-top-color: var(--border-strong); border-bottom-color: var(--border-strong); }
.sp-pop .maplibregl-popup-close-button { width: 28px; height: 28px; border-radius: 8px; color: #fff; background: rgba(5,6,9,.45); font-size: 18px; top: 8px; right: 8px; line-height: 1; }
.sp-pop .maplibregl-popup-close-button:hover { background: rgba(5,6,9,.7); }
.sp-pop-card { display: block; color: inherit; }
.sp-pop-card .ph { display: block; aspect-ratio: 16/8.5; overflow: hidden; background: var(--surface-3); }
.sp-pop-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.sp-pop-card .bd { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.sp-pop-card strong { font-size: .98rem; letter-spacing: -0.01em; }
.sp-pop-card .sub { color: var(--fg-3); font-size: .8rem; }
.sp-pop-card .rate { display: flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--fg-2); }
.sp-pop-card .rate .ic { color: var(--accent); font-size: .72rem; }
.sp-pop-card .cta { margin-top: 8px; align-self: flex-start; }

/* Boutons posés sur la carte */
.map-zone-btn { position: absolute; top: 12px; left: 50%; transform: translate(-50%, -8px); z-index: 5; opacity: 0; pointer-events: none; transition: opacity var(--t-med), transform var(--t-med) var(--ease); box-shadow: var(--shadow-2); }
.map-zone-btn.show { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.map-geo-btn { position: absolute; bottom: 14px; left: 12px; z-index: 5; box-shadow: var(--shadow-2); }
.map-geo-btn.busy { opacity: .6; pointer-events: none; }

/* Attribution OSM : discrète, aux couleurs du thème */
.map-shell .maplibregl-ctrl-attrib { background: color-mix(in srgb, var(--surface) 80%, transparent); border-radius: 8px 0 0 0; font-size: 10px; }
.map-shell .maplibregl-ctrl-attrib a { color: var(--fg-3); }
.map-shell .maplibregl-ctrl-attrib-button { filter: invert(0); }
:root:not([data-theme="light"]) .map-shell .maplibregl-ctrl-attrib-button,
:root[data-theme="dark"] .map-shell .maplibregl-ctrl-attrib-button { filter: invert(.8); }
.map-shell .maplibregl-ctrl-group { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; }
.map-shell .maplibregl-ctrl-group button { width: 34px; height: 34px; }
.map-shell .maplibregl-ctrl-group button + button { border-top: 1px solid var(--border); }
:root:not([data-theme="light"]) .map-shell .maplibregl-ctrl-group button .maplibregl-ctrl-icon,
:root[data-theme="dark"] .map-shell .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(.85); }

/* Mobile : bouton « Carte » flottant + plein écran */
.map-fab { display: none; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; box-shadow: var(--shadow-2); }
body:has(#cookieBanner) .map-fab { display: none !important; } /* la bannière cookies occupe le bas de l'écran */
.map-full { position: fixed; inset: 0; z-index: 95; background: var(--bg); display: none; flex-direction: column; }
.map-full.open { display: flex; }
.map-full .map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--border); background: var(--bg); }
.map-full .map-head strong { font-size: 1.02rem; }
.map-full .map-body { position: relative; flex: 1; }
.map-full .map-body .map-shell { position: absolute; inset: 0; border: 0; border-radius: 0; }
@media (max-width: 900px) {
  .map-fab { display: inline-flex; }
  body.map-open { overflow: hidden; }
}

/* Mini-carte de la fiche établissement */
.mini-map { position: relative; height: 240px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); margin-top: 4px; }
.route-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Fil d'Ariane */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--fg-3); padding: 18px 0 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs .ic { font-size: .7rem; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price { display: flex; flex-direction: column; gap: 14px; }
.price.featured { border-color: var(--accent); border-width: 2px; }
.price .amount { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; }
.price .amount small { font-size: .92rem; color: var(--fg-3); font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; color: var(--fg-2); font-size: .92rem; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .ic { color: var(--good); margin-top: 3px; }
:root[data-theme="light"] .price li .ic, :root:not([data-theme="dark"]) .price li .ic { color: #1D7A5E; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 56px 36px; color: var(--fg-3); font-size: .9rem; background: var(--bg-2); margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px 24px; }
.footer h4 { color: var(--fg); margin-bottom: 12px; font-size: .95rem; }
.footer a { display: block; padding: 4px 0; color: var(--fg-2); min-height: 32px; }
.footer a:hover { color: var(--accent); }
.footer .foot-base { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.footer .socials { display: flex; gap: 6px; }
.footer .socials a { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--r-md); display: grid; place-content: center; color: var(--fg-2); padding: 0; }
.footer .socials a:hover { color: var(--fg); border-color: var(--border-strong); }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 1; transform: none; }
.reveal.pending { opacity: 0; transform: translateY(14px); }
.reveal.in { animation: fadeUp .6s var(--ease) both; }
.stagger > * { animation: fadeUp .5s var(--ease) both; }
.stagger > *:nth-child(2) { animation-delay: .05s; } .stagger > *:nth-child(3) { animation-delay: .1s; } .stagger > *:nth-child(4) { animation-delay: .15s; } .stagger > *:nth-child(5) { animation-delay: .2s; } .stagger > *:nth-child(6) { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Theme toggle */
.theme-toggle { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border); display: grid; place-content: center; color: var(--fg-2); font-size: 1.1rem; }
.theme-toggle:hover { color: var(--fg); border-color: var(--border-strong); }

/* Sous-navigation (pages ville/catégorie) */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0; }
.subnav a { font-size: .84rem; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--border); color: var(--fg-2); min-height: 38px; display: inline-flex; align-items: center; }
.subnav a:hover, .subnav a.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* Pagination Laravel */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.pagination li a, .pagination li span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-md); color: var(--fg-2); font-weight: 600; font-size: .92rem; }
.pagination li a:hover { border-color: var(--border-strong); color: var(--fg); }
.pagination li.active span, .pagination li [aria-current] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.pagination li.disabled span { opacity: .4; }

kbd { font-family: var(--font-mono); font-size: .75rem; background: var(--surface-3); border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 2px 6px; border-radius: 5px; }
