/* Solution Trottinette — « le tableau de bord du rider »
   Béton clair le jour, bitume la nuit ; l'ambre des marquages au sol en signature ; bleu signal pour l'action. */

:root {
  --bg: #f3f1ea; --bg-2: #e9e6dc; --surface: #ffffff; --ink: #16181c; --ink-2: #3a3f46; --muted: #5b6168;
  --line: #d8d3c6; --amber: #f5a300; --amber-2: #ffcf4d; --amber-ink: #1a1300; --blue: #1f5fff; --blue-ink: #ffffff;
  --good: #11804a; --good-bg: #e2f4e9; --bad: #b8321f; --bad-bg: #fbe6e1; --warn: #8a5a00; --warn-bg: #fff2d1;
  --lcd: #0d1013; --lcd-ink: #ffcf4d; --lcd-dim: #6d6450;
  --shadow: 0 1px 2px rgb(20 20 20 / .06), 0 8px 24px -12px rgb(20 20 20 / .18);
  --radius: 14px; --radius-s: 9px;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Nunito Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121417; --bg-2: #181b1f; --surface: #1b1e23; --ink: #eef0f2; --ink-2: #c9ced4; --muted: #9aa3ad;
    --line: #2b3037; --amber: #ffb81c; --amber-2: #ffd36b; --blue: #5c8dff; --good: #4cc98a; --good-bg: #12301f;
    --bad: #ff7a63; --bad-bg: #3a1a14; --warn: #ffcf6b; --warn-bg: #33270c;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px -14px rgb(0 0 0 / .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121417; --bg-2: #181b1f; --surface: #1b1e23; --ink: #eef0f2; --ink-2: #c9ced4; --muted: #9aa3ad;
  --line: #2b3037; --amber: #ffb81c; --amber-2: #ffd36b; --blue: #5c8dff; --good: #4cc98a; --good-bg: #12301f;
  --bad: #ff7a63; --bad-bg: #3a1a14; --warn: #ffcf6b; --warn-bg: #33270c;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px -14px rgb(0 0 0 / .7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body);
  background-image: radial-gradient(rgb(128 128 128 / .07) 1px, transparent 1px); background-size: 4px 4px; /* grain bitume */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.ico { width: 1.1em; height: 1.1em; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num, .tbl td.num { font-variant-numeric: tabular-nums; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  touch-action: manipulation;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); box-shadow: 0 6px 18px -8px var(--blue); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--blue); }
.btn-ghost { background: transparent; }
.btn-lg { font-size: 1.1rem; padding: .75em 1.4em; }
.btn-small { min-height: 40px; font-size: .92rem; padding: .45em .95em; }
.badge { display: inline-flex; gap: .4em; align-items: center; font: 700 .85rem/1 var(--f-body); padding: .45em .75em; border-radius: 999px; margin: .3em 0; }
.badge-good { background: var(--good-bg); color: var(--good); }
.badge-danger { background: var(--bad-bg); color: var(--bad); }

/* ── En-tête ── */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 1.35rem/1 var(--f-display); text-transform: uppercase; }
.logo svg { width: 34px; height: 34px; fill: none; stroke: var(--amber); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.logo b { color: var(--amber); font-weight: 700; }
.search { position: relative; flex: 1 1 260px; display: flex; max-width: 460px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; }
.search:focus-within { border-color: var(--amber); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 0 16px; min-height: 44px; }
.search input:focus { outline: none; }
.search button { border: 0; background: transparent; color: var(--ink); width: 48px; cursor: pointer; border-radius: 0 999px 999px 0; }
/* Autocomplétion (combobox ARIA) */
.ac { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0; min-width: min(420px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgb(0 0 0 / .18);
  padding: 6px; max-height: min(70vh, 560px); overflow-y: auto; }
.ac-h { font: 700 .72rem/1 inherit; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 6px; }
.ac-o { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px;
  color: var(--ink); text-decoration: none; min-height: 44px; }
.ac-o.is-brand { grid-template-columns: 1fr auto; }
.ac-o[aria-selected="true"], .ac-o:hover { background: var(--bg); outline: 2px solid var(--amber); outline-offset: -2px; }
.ac-img { width: 52px; height: 40px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: contain; }
.ac-t { min-width: 0; }
.ac-t b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-t b mark { background: none; color: inherit; font-weight: 800; text-decoration: underline 3px var(--amber); text-underline-offset: 3px; }
.ac-t small { color: var(--muted); font-size: .8rem; }
.ac-p { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-all { display: block; text-align: center; padding: 12px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; }
.ac-empty { padding: 14px 10px; color: var(--muted); }
@media (max-width: 640px) { .ac { position: fixed; top: 64px; left: 16px; right: 16px; min-width: 0; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--bg-2); }
.nav .nav-cta { background: var(--amber); color: var(--amber-ink); }
.nav .nav-cta:hover { background: var(--amber-2); }
.theme { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } .search { order: 3; max-width: none; flex-basis: 100%; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ── Ligne de piste cyclable (séparateur signature) ── */
.road { height: 10px; background: repeating-linear-gradient(90deg, var(--amber) 0 38px, transparent 38px 64px); opacity: .9; }
section { margin-block: 56px; }

/* ── Accueil ── */
.hero { margin: 0 0 40px; padding: 56px 0 0; overflow: hidden; background:
  radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--amber) 22%, transparent), transparent 60%), var(--bg); }
.hero-in { padding-bottom: 48px; }
.kicker { font: 700 .95rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); max-width: 14ch; }
.hero h1 span { color: var(--amber); -webkit-text-stroke: 0; }
.hero-search { display: flex; gap: 8px; max-width: 620px; margin-top: 24px; flex-wrap: wrap; }
.hero-search input { flex: 1 1 260px; min-height: 56px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  padding: 0 22px; font: 600 1.1rem var(--f-body); }
.hero-or { margin-top: 14px; color: var(--muted); }
.pers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pers { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.pers:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: var(--shadow); }
.pers .ico { width: 30px; height: 30px; color: var(--amber); margin-bottom: 6px; }
.pers b { font: 700 1.3rem/1.1 var(--f-display); text-transform: uppercase; }
.pers span { color: var(--muted); font-size: .95rem; }
.brand-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chips a { display: inline-flex; gap: 6px; align-items: baseline; padding: 10px 16px; border-radius: 999px; background: var(--surface);
  border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; min-height: 44px; }
.brand-chips small { color: var(--muted); }
.promise { padding: 32px; border-radius: var(--radius); background: var(--lcd); color: #e9e4d6; }
.promise h2 { color: var(--lcd-ink); }
.promise a { color: var(--lcd-ink); }

/* ── Cartes produits ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--amber) 60%, var(--line)); }
.card-link { color: inherit; text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg-2); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-ph { width: 46%; height: auto; color: var(--line); stroke-width: 1.5; }
.card-t { font: 700 1.25rem/1.1 var(--f-display); text-transform: uppercase; margin: 14px 16px 8px; }
.card-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; margin: 0; }
.card-specs li { font-size: .85rem; background: var(--bg-2); border-radius: 6px; padding: 3px 8px; color: var(--ink-2); }
.card-specs b { font: 700 1rem var(--f-display); color: var(--ink); }
.card-foot { margin-top: auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 8px; padding: 14px 16px 16px; }
.card-price { margin: 0; font: 700 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.card-price small { font: 600 .85rem var(--f-body); color: var(--muted); }
.card-shops { margin: 0; color: var(--muted); font-size: .85rem; grid-column: 1; }
.cmp-add { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 700 .9rem var(--f-body); cursor: pointer; }
.cmp-add[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

/* ── Carrousels ── */
.rail { width: min(1200px, 100% - 32px); margin-inline: auto; }
.rail-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 16px; margin-bottom: 14px; }
.rail-head h2 { margin: 0; }
.rail-head p { margin: 4px 0 0; color: var(--muted); grid-column: 1; }
.rail-nav { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail-track > * { scroll-snap-align: start; }

/* ── Fiche produit ── */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 18px; }
@media (min-width: 900px) { .p-hero { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.p-visual { background: var(--surface); border-radius: var(--radius); border: 1.5px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
.p-visual img { width: 100%; height: 100%; object-fit: contain; }
.p-ph { display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.p-ph-ico { width: 160px; height: 120px; color: var(--line); stroke-width: 1.2; }
.p-brand { font: 700 1rem var(--f-display); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.p-brand a { color: var(--amber); text-decoration: none; }
.punch { font-size: 1.2rem; font-weight: 600; color: var(--ink-2); border-left: 4px solid var(--amber); padding-left: 14px; }
.rating { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.stars { --r: 0%; width: 104px; height: 20px; background: linear-gradient(90deg, var(--amber) var(--r), var(--line) var(--r));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 20'><g><path d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(21)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(42)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(63)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(84)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/></g></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 20'><g><path d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(21)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(42)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(63)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/><path transform='translate(84)' d='M10 1l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L10 14.8 4.4 18.1l1.4-6.3L1 7.5l6.4-.6z'/></g></svg>") center / contain no-repeat; }
.p-price { display: grid; gap: 6px; justify-items: start; margin-top: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); }
.pp-main { margin: 0; display: grid; }
.pp-main small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.pp-main span { font: 700 clamp(2.4rem, 6vw, 3.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.pp-sub { margin: 0; color: var(--ink-2); }
.p-price .btn-primary { margin-top: 8px; }

/* Panneau LCD (signature) */
.lcd { margin-block: 32px; }
.lcd-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: #000; border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 0 0 1px #2a2a2a, var(--shadow); }
.lcd-cell { background: radial-gradient(120% 100% at 50% 0%, #161a1e, var(--lcd)); padding: 18px 18px 16px; }
.lcd-cell dt { color: var(--lcd-dim); font: 700 .78rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; }
.lcd-cell dd { margin: 10px 0 0; color: var(--lcd-ink); font: 600 clamp(2rem, 4.6vw, 2.8rem)/1 var(--f-display); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgb(255 190 40 / .35); display: flex; align-items: baseline; gap: 6px; }
.lcd-cell dd small { font-size: 1rem; color: var(--lcd-dim); text-shadow: none; }
.lcd-cell.is-empty dd { color: #3b3a33; text-shadow: none; }

/* Jauges */
.g-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.gauge { margin: 0; padding: 16px 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); text-align: center; }
.gauge svg { width: 100%; max-width: 170px; }
.g-track { fill: none; stroke: var(--bg-2); stroke-width: 12; stroke-linecap: round; }
.g-fill { fill: none; stroke: var(--amber); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .9s var(--ease); }
.gauge figcaption { display: grid; margin-top: -18px; }
.g-val { font: 700 1.7rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.g-val small { font-size: .9rem; color: var(--muted); margin-left: 3px; }
.g-lab { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--ink-2); margin-top: 6px; }
.g-hint { font-size: .78rem; color: var(--muted); }

/* Offres */
.tbl-wrap { position: relative; overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { font: 700 .78rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-2); }
.tbl tbody th { font-weight: 800; }
.tbl tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--amber) 7%, transparent); }
.tbl tr.is-best { box-shadow: inset 4px 0 0 var(--amber); }
.tbl td b { font: 700 1.3rem var(--f-display); }
.tbl s { color: var(--muted); margin-left: 6px; }
.fake { display: block; font-size: .78rem; color: var(--warn); font-style: normal; }
.st { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; font-size: .9rem; }
.st-ok { color: var(--good); } .st-ko { color: var(--bad); } .st-unk { color: var(--muted); }
.note { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.ph-fig { margin: 28px 0 0; padding: 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); }
.ph { width: 100%; }
.ph-grid { stroke: var(--line); stroke-width: 1; }
.ph-axis { fill: var(--muted); font: 600 12px var(--f-body); }
.ph-line { fill: none; stroke-width: 2.6; stroke-linejoin: round; }
.s0 { stroke: var(--amber); --k: var(--amber); } .s1 { stroke: var(--blue); --k: var(--blue); } .s2 { stroke: var(--good); --k: var(--good); }
.s3 { stroke: #c2410c; --k: #c2410c; } .s4 { stroke: #7c3aed; --k: #7c3aed; } .s5 { stroke: #0e7490; --k: #0e7490; }
.ph-fig figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ph-key::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: var(--k); margin-right: 6px; vertical-align: middle; }

/* Récit + radar */
.p-cols { display: grid; gap: 28px; margin-block: 56px; }
@media (min-width: 960px) { .p-cols { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.story p { font-size: 1.08rem; max-width: 68ch; }
.pros { list-style: none; padding: 0; display: grid; gap: 8px; }
.pros li { display: flex; gap: 10px; align-items: flex-start; }
.pros .ico { color: var(--good); margin-top: 4px; }
.radar-box { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.radar { width: 100%; }
.rd-grid { fill: none; stroke: var(--line); }
.rd-spoke { stroke: var(--line); }
.rd-ref { fill: color-mix(in srgb, var(--muted) 14%, transparent); stroke: var(--muted); stroke-dasharray: 4 4; stroke-width: 1.5; }
.rd-val { fill: color-mix(in srgb, var(--amber) 32%, transparent); stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; }
.rd-dot { fill: var(--amber); stroke: var(--surface); stroke-width: 2; }
.rd-label { fill: var(--ink-2); font: 700 12px var(--f-body); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.lg-val, .lg-ref { display: inline-block; width: 18px; height: 10px; border-radius: 3px; }
.lg-val { background: var(--amber); } .lg-ref { border: 1.5px dashed var(--muted); }

/* Fiche technique */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.spec-group { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.spec-group h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; border-bottom: 3px dashed var(--amber); }
.spec-group dl { margin: 0; }
.spec { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; font-weight: 700; }
.src { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }
.src-warn { color: var(--warn); }
.spec.is-conflict dd { color: var(--warn); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
.faq summary::after { content: "+"; font: 700 1.6rem/1 var(--f-display); color: var(--amber); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 70ch; }

/* ── Catégorie ── */
.cat-head { margin: 22px 0 26px; }
.cat-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .cat-layout { grid-template-columns: 280px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
@media (min-width: 960px) { .filters { position: sticky; top: 84px; max-height: calc(100dvh - 100px); overflow: auto; } }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.filters legend { font: 700 1.05rem var(--f-display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.filters label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.filters input[type=number], .filters select { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 12px; font: inherit; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; min-height: 36px; }
.chk input { width: 20px; height: 20px; accent-color: var(--amber); }
.chk small { color: var(--muted); margin-left: auto; }
.brands-list { display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.res-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.res-bar p { margin: 0; }
.sorts { display: flex; flex-wrap: wrap; gap: 6px; }
.sorts a { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; min-height: 40px; display: inline-flex; align-items: center; }
.sorts a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.pager a[aria-current] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.empty, .empty-page { padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty-page { margin-block: 60px; }

/* ── Barre de comparaison ── */
.compare-tray { position: fixed; inset: auto 0 0 0; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  transform: translateY(0); transition: transform .25s var(--ease); }
.compare-tray[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.ct-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ct-items { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.ct-items span { background: color-mix(in srgb, var(--bg) 14%, transparent); padding: 6px 10px; border-radius: 999px; font-size: .88rem; }
.ct-clear { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ── Pied de page ── */
.foot { margin-top: 80px; background: var(--lcd); color: #cfc8b5; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.foot a { color: #f2e9cf; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-logo { font: 700 1.5rem var(--f-display); text-transform: uppercase; color: #fff; }
.foot-logo b { color: var(--lcd-ink); }
.foot-legal { font-size: .85rem; color: #9b9481; grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Comparateur ── */
.cmp-tbl thead th { vertical-align: bottom; text-transform: none; letter-spacing: 0; font: 700 1.15rem/1.1 var(--f-display); color: var(--ink); background: var(--surface); }
.cmp-tbl thead th a { color: var(--ink); text-decoration: none; text-transform: uppercase; }
.cmp-tbl thead th small { display: block; font: 600 .8rem var(--f-body); color: var(--muted); }
.cmp-tbl thead .ph-key { display: block; margin-top: 8px; }
.cmp-tbl td.is-top { background: color-mix(in srgb, var(--amber) 18%, transparent); font-weight: 800; }
.cmp-tbl td.is-top::after { content: " ★"; color: var(--amber); }
.cmp-diff { margin-bottom: 12px; }
body:has(#only-diff:checked) .cmp-tbl tr.is-same { display: none; }
.cmp-radar { max-width: 520px; margin: 32px auto 0; padding: 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); }
.rd-multi { fill: color-mix(in srgb, var(--k) 18%, transparent); stroke: var(--k); stroke-width: 2.5; stroke-linejoin: round; }
.cmp-radar figcaption { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.muted { color: var(--muted); }

/* ── Conseiller ── */
.quiz { display: grid; gap: 18px; max-width: 820px; }
.q { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; margin: 0; }
.q legend { font: 700 1.5rem/1.1 var(--f-display); text-transform: uppercase; padding: 0 6px; }
.q legend span { color: var(--amber); margin-right: 8px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.opt { position: relative; display: grid; gap: 2px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; min-height: 64px;
  transition: border-color .15s, background .15s; }
.opt input { position: absolute; opacity: 0; }
.opt small { color: var(--muted); }
.opt:has(input:checked) { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); box-shadow: inset 0 0 0 1px var(--amber); }
.opt:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.slider { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.slider input { flex: 1; accent-color: var(--amber); min-height: 44px; }
.slider output { font: 700 1.8rem var(--f-display); min-width: 6ch; text-align: right; font-variant-numeric: tabular-nums; }
.quiz-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz.is-steps .q { display: none; }
.quiz.is-steps .q.is-active { display: block; animation: qin .25s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.reco { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.reco.is-first { border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 30%, transparent), var(--shadow); }
.reco-k { font: 700 .85rem var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--amber); margin: 0; }
.reco h2 a { color: var(--ink); text-decoration: none; }
.reco-price b { font: 700 1.8rem var(--f-display); }
.reco h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; }
.cons { padding-left: 1.1em; color: var(--ink-2); }
.reco .btn { margin-top: auto; align-self: flex-start; }

/* ── Pages de texte ── */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose p { font-size: 1.08rem; color: var(--ink-2); }
.pc { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.cons-l { list-style: none; padding: 0; display: grid; gap: 8px; }
.cons-l li { display: flex; gap: 10px; align-items: flex-start; }
.cons-l .ico { color: var(--warn); margin-top: 4px; }

/* Colonnes de grille et champs : autorisés à rétrécir (pas de débordement horizontal sur mobile) */
.cat-layout > *, .p-cols > *, .p-hero > * { min-width: 0; }
.filters input, .filters select { width: 100%; min-width: 0; }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

/* Filtres repliables (mobile) */
.filters-toggle { list-style: none; width: 100%; justify-content: center; }
.filters-toggle::-webkit-details-marker { display: none; }
@media (min-width: 960px) { .filters-toggle { display: none; } .filters-box { position: sticky; top: 84px; } }
@media (max-width: 959px) { .filters-box[open] .filters { margin-top: 10px; } }

/* En-tête compact sur mobile : une ligne + la recherche, non collant */
@media (max-width: 720px) {
  .top { position: static; }
  .top-in { gap: 10px; }
  .logo { font-size: 1.1rem; } .logo svg { width: 28px; height: 28px; }
  .nav .nav-cta { padding: 8px 12px; font-size: .95rem; }
}

@media (max-width: 720px) {
  .hide-s { display: none; }
  .nav { gap: 4px; } .theme { width: 40px; height: 40px; }
  .sorts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .sorts a { white-space: nowrap; }
}
/* Cartes horizontales compactes sur petit écran */
@media (max-width: 560px) {
  .grid .card { display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "img head" "img specs" "foot foot"; }
  .grid .card-link { display: contents; }
  .grid .card-img { grid-area: img; aspect-ratio: auto; height: 100%; min-height: 112px; }
  .grid .card-t { grid-area: head; margin: 12px 12px 6px; font-size: 1.1rem; }
  .grid .card-specs { grid-area: specs; padding: 0 12px; align-content: start; }
  .grid .card-foot { grid-area: foot; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
  .grid .card-ph { width: 64%; }
}

/* ── Boutiques ── */
.shop-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.shop { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.shop h2 { font-size: 1.4rem; margin: 0; }
.shop-addr { color: var(--ink-2); margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .82rem; font-weight: 700; background: color-mix(in srgb, var(--amber) 16%, transparent); border-radius: 999px; padding: 4px 10px; }
.hours { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 12px; font-size: .9rem; }
.hours div { display: flex; gap: 8px; } .hours dt { font-weight: 700; min-width: 3ch; } .hours dd { margin: 0; color: var(--ink-2); }
.hours-raw { font-size: .9rem; color: var(--ink-2); }
.shop-actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Carte ── */
.map-box { position: relative; margin-bottom: 28px; }
.map { height: min(62vh, 520px); border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--bg-2); z-index: 1; }
.locate { position: absolute; top: 12px; right: 12px; z-index: 2; box-shadow: var(--shadow); }
.leaflet-popup-content { font: 400 .95rem/1.45 var(--f-body); }
.leaflet-container a { color: var(--blue); }
.tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
.facet-hint { font-size: .9rem; margin: 0; }
.more { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.more-status { color: var(--muted); font-size: .9rem; }
[hidden] { display: none !important; }

/* ── Logos des marques ── */
.brand-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.brand-grid-s { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.brand-tile { display: grid; gap: 6px; padding: 14px; height: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); text-align: center; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.brand-tile:hover { transform: translateY(-2px); border-color: var(--amber); box-shadow: var(--shadow); }
.bt-logo { display: flex; align-items: center; justify-content: center; height: 92px; border-radius: 10px; background: #fff; padding: 10px; overflow: hidden; }
.bt-logo.on-dark { background: #16181c; }
.bt-logo img { display: block; max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.bt-word { font: 700 1.4rem/1 var(--f-display); text-transform: uppercase; color: #16181c; letter-spacing: .04em; }
.bt-name { font-weight: 800; }
.bt-count { color: var(--muted); font-size: .85rem; }
.brand-head { display: grid; gap: 14px; }
.bh-logo { width: 240px; height: 110px; } .bh-logo img { max-height: 86px; }

/* ── Méga-menus (pleine largeur, plusieurs colonnes) ── */
.top { position: sticky; }
.top-in { position: static; }
.mm { position: static; }
.mm-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 999px; background: none;
  color: var(--ink); font: 700 1rem var(--f-body); cursor: pointer; }
.mm-btn:hover, .mm-btn[aria-expanded="true"] { background: var(--bg-2); }
.mm-chev { transition: transform .2s var(--ease); }
.mm-btn[aria-expanded="true"] .mm-chev { transform: rotate(180deg); }
.mm-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / .35); max-height: calc(100dvh - 80px); overflow: auto; animation: mmin .18s var(--ease); }
@keyframes mmin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mm-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 28px; padding-block: 26px 30px; }
.mm-cols-dense { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 22px; }
.mm-col h2 { font-size: 1.05rem; letter-spacing: .06em; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px dashed var(--amber); }
.mm-col h2 a { color: var(--ink); text-decoration: none; }
.mm-col h2 small, .mm-col li small { color: var(--muted); font: 600 .78rem var(--f-body); }
.mm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-col li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.mm-col li a:hover { color: var(--blue); }
.mm-all a { color: var(--blue) !important; font-weight: 700; }
.mm-cta { background: var(--bg-2); border-radius: var(--radius); padding: 16px; align-self: start; }
.mm-cta p { font-size: .92rem; color: var(--ink-2); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .95rem var(--f-body); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--surface); flex-direction: column; align-items: stretch;
    padding: 8px 16px 16px; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 70px); overflow: auto; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a:not(.nav-cta) { display: flex; }
  .mm-btn { width: 100%; justify-content: space-between; border-radius: 10px; }
  .mm-panel { position: static; box-shadow: none; border: 0; max-height: none; animation: none; }
  .mm-cols { grid-template-columns: 1fr 1fr; padding-block: 8px 14px; gap: 14px; }
  .mm-cols .wrap, .mm-panel .wrap { width: 100%; }
  .nav-cta { justify-content: center; margin-top: 8px; }
}
.recalls { border: 2px solid var(--bad); background: var(--bad-bg); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px; }
.recalls h2 { color: var(--bad); font-size: 1.3rem; display: flex; gap: 8px; align-items: center; }
.recalls ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }

/* Note technique et adéquation aux profils */
.score-box { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.score { display: flex; align-items: baseline; gap: 6px; margin: 0 0 10px; }
.score b { font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.score span { color: var(--muted); font-weight: 700; }
.score small { display: block; font-weight: 400; font-size: .8rem; }
.score-box h3 { font-size: 1rem; margin: 12px 0 6px; }
.fit { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fit li { display: grid; grid-template-columns: 1fr 90px 28px; gap: 8px; align-items: center; font-size: .92rem; }
.fit-bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.fit-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber-2), var(--amber)); }
.fit b { text-align: right; font-variant-numeric: tabular-nums; }
.small { font-size: .85rem; }
/* Catégories : intro éditoriale, FAQ, guides */
.cat-intro { max-width: 75ch; color: var(--ink-2); }
.cat-intro p { margin: .6em 0; }
.cat-more { display: grid; gap: 32px; margin: 48px 0 24px; }
@media (min-width: 960px) { .cat-more { grid-template-columns: 3fr 2fr; align-items: start; } }
.guide-links ul, .guide-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.guide-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guide-links a, .guide-grid a { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.guide-links a:hover, .guide-grid a:hover { border-color: var(--amber); transform: translateY(-2px); }
.guide-links a span, .guide-grid a span { color: var(--muted); font-size: .92rem; }
.guide-grid em { font-style: normal; font-weight: 800; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.rot { transform: rotate(-90deg); width: 14px; height: 14px; }
.guide-links { margin: 32px 0; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--surface);
  border-left: 4px solid var(--amber); margin: 0 0 14px; }
.callout svg { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
/* Guides */
.guide { max-width: 820px; }
.guide-head { margin: 24px 0 16px; }
.guide section p { max-width: 70ch; line-height: 1.7; }
.guide h2 { margin-top: 1.6em; }
.toc { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 16px 0 8px; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.source { margin-top: 24px; padding: 12px 16px; border-radius: var(--radius); background: var(--bg-2); font-size: .95rem; }
.guide-next { margin: 40px 0; }
.guide-next .guide-grid { margin-bottom: 18px; }
/* Avis clients : résumés engin et marchands */
.reviews { margin: 40px 0; padding: 24px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); }
.rv-stats { color: var(--muted); margin: 0 0 10px; }
.rv-stats b { color: var(--ink); font-size: 1.2rem; }
.rv-sum { font-size: 1.08rem; max-width: 75ch; }
.pc-mini { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 10px 0; }
.pc-mini h3 { font-size: 1rem; margin: 0 0 6px; }
.merchants { margin-top: 24px; }
.merchants h3 { font-size: 1.1rem; }
.merchant { border-bottom: 1px solid var(--line); }
.merchant summary { cursor: pointer; padding: 12px 0; min-height: 44px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.merchant summary::after { content: "+"; margin-left: auto; color: var(--amber); font-weight: 800; }
.merchant[open] summary::after { content: "–"; }
.m-rate { color: var(--muted); font-size: .92rem; }
.g-rate { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 8px; font-size: .95rem; }
.g-rate small { color: var(--muted); width: 100%; }
.g-rate a { display: inline-flex; gap: 4px; align-items: center; }
/* Pièces détachées */
.parts-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 12px 0 18px; }
.parts-filters label { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.parts-filters select, .parts-filters input[type=search] { min-height: 44px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; }
.parts-filters .chk { display: flex; gap: 6px; align-items: center; }
.brand-chips-nav { margin: 0 0 18px; }
.part-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.part { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-s); }
.part-kind { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; background: var(--bg-2); }
.part-kind.k-batterie { background: var(--amber-2); color: #1a1300; }
.part-main { min-width: 0; }
.part-main b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.part-main small { color: var(--muted); }
.part-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.parts-box { margin: 40px 0; }
.parts-box h3 { font-size: 1.05rem; margin: 18px 0 8px; }
@media (max-width: 640px) { .part { grid-template-columns: 1fr auto; } .part-kind { grid-column: 1 / -1; justify-self: start; } }
/* Photos produits sur fond blanc (y compris en mode sombre) : les visuels des constructeurs sont prévus pour un fond blanc */
.card-img:has(img), .p-visual:has(img), .ac-img:has(img) { background: #fff; }
.p-visual:has(img) { padding: 12px; }
/* Photos toujours entières dans leur cadre (une photo carrée dans un cadre 4:3 était rognée en bas) */
.p-visual, .card-img { position: relative; }
.p-visual img, .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.p-visual:has(img) img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.card-img:has(img) img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
/* Cases à cocher des filtres : taille fixe, libellé à côté (la règle « .filters input { width: 100% } » les étirait) */
.filters .chk input, .parts-filters .chk input { width: 20px; height: 20px; flex: none; min-height: 0; }
.filters .chk { justify-content: flex-start; text-align: left; }
/* ── Méga-menus v2 : tout tient en largeur, sans défilement vertical sur ordinateur ── */
.mm-col h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mm-col h2 small { flex: none; }
.mm-grid { display: grid; gap: 20px 28px; padding-block: 22px 26px; align-items: start; }
.mm-grid-engins { grid-template-columns: minmax(300px, 2.2fr) minmax(200px, 1.3fr) minmax(150px, 1fr) minmax(160px, 1fr) minmax(170px, 1fr); }
.mm-multi { columns: 3 110px; column-gap: 18px; display: block !important; }
.mm-multi li { break-inside: avoid; }
.mm-col-main .mm-all { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; }
.mm-col-main .mm-all a { color: var(--blue); font-weight: 700; text-decoration: none; }
.mm-stack { display: grid; gap: 14px; }
.mm-col-s h2 { font-size: .95rem; margin-bottom: 4px; }
.mm-inline { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.mm-inline a { color: var(--ink-2); text-decoration: none; }
.mm-inline a:hover, .mm-col li a:hover { color: var(--blue); }
.mm-h2-next { margin-top: 16px !important; }
.mm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0 6px; }
.mm-top-l { font-weight: 800; margin-left: 10px; color: var(--muted); font-size: .9rem; }
.mm-chip { padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink); text-decoration: none; font-size: .9rem; }
.mm-chip small { color: var(--muted); }
.mm-chip:hover { background: var(--amber-2); }
.mm-flow { columns: 6 180px; column-gap: 24px; padding-block: 12px 24px; }
.mm-zone { break-inside: avoid; margin-bottom: 18px; display: block; }
.mm-zone li a { padding: 3px 0; font-size: .9rem; }
@media (max-width: 1180px) { .mm-grid-engins { grid-template-columns: minmax(260px, 2fr) 1.3fr 1fr 1fr; } .mm-grid-engins .mm-cta { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .mm-grid-engins { grid-template-columns: 1fr; padding-block: 8px 14px; }
  .mm-multi { columns: 2; }
  .mm-flow { columns: 2 140px; }
  .mm-top { padding-top: 8px; }
}
/* Liens des méga-menus : style propre (ils héritaient du style des boutons de navigation, 44 px de haut) */
.nav .mm-panel a:not(.btn) { display: inline; min-height: 0; padding: 0; border-radius: 0; background: none; font-weight: inherit; }
.nav .mm-panel .mm-col li a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; line-height: 1.3; }
.nav .mm-panel .mm-zone li a { padding: 2px 0; }
.nav .mm-panel .mm-chip { display: inline-flex; gap: 5px; align-items: baseline; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); }
.nav .mm-panel .mm-col h2 a { display: inline; }
.mm-col h2 { margin: 0 0 6px; }
.mm-col-main .mm-all a { display: inline !important; }
.mm-stack .mm-col-s { padding-bottom: 6px; }
.mm-flow { columns: 6 170px; }
.mm-zone h2 { font-size: .9rem; }
.mm-zone { margin-bottom: 14px; }
/* Les sections des menus ne prennent pas la marge globale des sections de page (56 px) */
.mm-panel section { margin-block: 0; }
.mm-flow .mm-zone { display: inline-block; width: 100%; margin: 0 0 14px; }
.nav .mm-panel a.mm-chip { display: inline-flex; gap: 5px; align-items: baseline; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); color: var(--ink); }
.nav .mm-panel a.mm-chip:hover { background: var(--amber-2); }
.mm-multi li a { font-size: .92rem; }
@media (max-width: 1180px) and (min-width: 901px) {
  .mm-grid-engins .mm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 16px; }
  .mm-grid-engins .mm-cta h2 { border: 0; margin: 0; padding: 0; }
  .mm-grid-engins .mm-cta p { margin: 0; }
}
.mm-multi { column-gap: 28px; } .mm-multi li a { padding-right: 4px; }
/* Bandeau de consentement (cookies de mesure d'audience) */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgb(0 0 0 / .25); padding: 16px 18px; }
.consent p { margin: 0 0 12px; font-size: .95rem; color: var(--ink-2); }
.consent-b { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
