/* ============================================================================
   lebancdessai.fr — feuille de style unique.
   Design décliné des maquettes validées (docs/lebancdessai-maquettes) et de
   la charte de la chaîne (studio/style-sheets/banc-dessai.md).
   Mobile-first : la base cible 390px, les media queries élargissent.
   ========================================================================= */

/* ---- Fontes auto-hébergées (variables, sous-ensemble latin) ---- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --void: #06070a;
  --bg: #0b0d11;
  --surface: #141821;
  --surface-hi: #1c222d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-hard: rgba(255, 255, 255, 0.3);
  --text: #ffffff;
  --text-soft: #d7dde7;
  --text-dim: #8a93a3;
  --text-faint: #767e8e;
  --sep: #4a5261;
  --accent: #ff4d1c;
  --accent-hover: #ff6a3d;
  --accent-soft: rgba(255, 77, 28, 0.12);
  --accent-border: rgba(255, 77, 28, 0.45);
  --pos: #2fd97a;
  --pos-soft: rgba(47, 217, 122, 0.1);
  --pos-border: rgba(47, 217, 122, 0.4);
  --neg: #ff3b52;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --pad: 16px;
  --radius: 14px;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  padding-left: var(--pad);
  padding-right: var(--pad);
  margin: 0 auto;
  max-width: 1440px;
}

/* Typo utilitaires */
.mono {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.tnum {
  font-variant-numeric: tabular-nums;
}

/* En-tête de section : kicker + barre + titre */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.sec-head .bar {
  width: 44px;
  height: 3px;
  background: var(--accent);
}
.sec-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
}
.sec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.sec-row .sec-head {
  margin-bottom: 0;
}
.sec-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  white-space: nowrap;
  padding-bottom: 4px;
}
.sec-link:hover {
  color: var(--accent);
}

/* ============================ MICROBAR + HEADER ========================== */
.microbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 26px;
  padding: 4px 12px;
  background: var(--void);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-align: center;
}
/* Mobile : seule la mention d'affiliation reste visible (conformité,
   comme la maquette MProduit) ; le slogan revient en desktop. */
.microbar .m1 {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
}
.brand svg {
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-name em {
  font-style: normal;
  color: var(--accent);
}
.nav-desktop {
  display: none;
}
.header-search {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-soft);
}
.chain-btn {
  display: none;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  white-space: nowrap;
}
.chain-btn:hover {
  border-color: var(--accent-border);
}

/* Tiroir mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.drawer.open {
  display: block;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 10, 0.72);
}
.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--bg);
  border-right: 1px solid var(--line-strong);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer-panel .brand {
  margin-bottom: 14px;
}
.drawer-link {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-soft);
}
.drawer-link.sub {
  padding-left: 18px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  font-size: 10px;
}
.drawer-link:hover {
  color: var(--accent);
}
.drawer-close {
  align-self: flex-end;
  color: var(--text-dim);
  padding: 8px;
}

/* Recherche (overlay simple) */
.search-pop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: none;
  padding: 14px var(--pad);
  background: var(--void);
  border-bottom: 1px solid var(--line-strong);
}
.search-pop.open {
  display: flex;
  gap: 10px;
}
.search-pop input {
  flex: 1;
  height: 46px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.search-pop input::placeholder {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ============================ BOUTONS / CHIPS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 77, 28, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px rgba(255, 77, 28, 0.45);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.btn-ghost:hover {
  border-color: var(--line-hard);
  color: var(--text);
}
.btn-merchant {
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
}
.btn-merchant.secondary {
  border: 1px solid var(--line-hard);
  color: var(--text-soft);
}
.btn-merchant.secondary:hover {
  border-color: var(--accent-border);
  color: var(--text);
}
.btn-block {
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  white-space: nowrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.tag-accent {
  background: var(--accent);
  color: #fff;
}
.tag-accent-soft {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}
.tag-pos {
  background: var(--pos-soft);
  border: 1px solid var(--pos-border);
  color: var(--pos);
}
.tag-neutral {
  background: var(--surface-hi);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.tag-dark {
  background: rgba(6, 7, 10, 0.85);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}

/* ============================ BREADCRUMB ================================ */
.crumbs {
  padding: 18px 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs li + li::before {
  content: "/";
  color: var(--sep);
  margin-right: 6px;
}
.crumbs a:hover {
  color: var(--text-soft);
}
.crumbs [aria-current] {
  color: var(--accent);
}

/* ============================ HERO ====================================== */
.hero {
  position: relative;
  padding: 40px 0 36px;
  background: radial-gradient(ellipse 380px 260px at 50% 0%, rgba(215, 221, 231, 0.07), transparent 70%), var(--bg);
  overflow: hidden;
}
.hero-rules {
  display: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--accent);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 11vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}
.hero-ctas .btn-primary {
  width: 100%;
  min-height: 52px;
}
.hero-stats {
  display: flex;
  width: 100%;
  gap: 18px;
  margin-top: 8px;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 2px solid var(--line-strong);
  padding-top: 9px;
}
.stat:first-child {
  border-top-color: var(--accent);
}
.stat b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

/* Carte à la une */
.featured {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.featured-top .date {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* ============================ CATEGORIES (accueil) ====================== */
.cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 108px;
}
.cat-card.active {
  border-color: var(--accent-border);
  box-shadow: 0 0 26px rgba(255, 77, 28, 0.1);
}
.cat-card.active:hover {
  background: var(--surface-hi);
}
.cat-card .cat-count {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.cat-card .cat-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.cat-card .cat-soon {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.cat-card.soon {
  opacity: 0.62;
}
.cat-card .go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--accent);
}

/* ============================ CARTE PRODUIT ============================= */
.pcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pcard:hover {
  border-color: var(--line-hard);
  transform: translateY(-2px);
}
.pcard.top {
  border-color: rgba(255, 77, 28, 0.5);
  box-shadow: 0 0 26px rgba(255, 77, 28, 0.12);
}
.pcard-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.pcard-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.pcard-img {
  aspect-ratio: 4 / 3;
  background: var(--surface-hi);
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 14px;
  flex: 1;
}
.pcard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.pcard-brand {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-dim);
}
.pcard-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pnote {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}
.pnote b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.pnote span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
}
.pcard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcard-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  margin-top: auto;
}
.pcard-actions {
  display: flex;
  gap: 8px;
}
.pcard-actions .btn {
  min-height: 44px;
  padding: 0 14px;
  flex-grow: 1;
}
.pcard-actions .btn-ghost {
  flex-grow: 0;
}
/* Cartes étroites (grille 2 col. mobile) : un seul bouton, la carte entière
   mène déjà au test via l'image et le nom ; le badge descend en bas de
   l'image pour ne pas chevaucher le rang. */
@media (max-width: 519px) {
  .pcards .pcard-actions .btn-ghost {
    display: none;
  }
  .pcards .pcard-badge {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 10px;
  }
}

/* Cartes podium / à la une : variante plus riche */
.pcard.wide .pcard-body {
  padding: 16px;
  gap: 12px;
}
.pcard.wide .pcard-name {
  font-size: 20px;
}
.pcard.wide .pnote b {
  font-size: 38px;
}
.pcard.wide .pcard-price {
  font-size: 16px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.price-row .lbl {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.price-box .lbl {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.price-box b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}

.podium {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Rail horizontal (derniers passages mobile) */
.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 6px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail > * {
  flex-shrink: 0;
  width: 240px;
  scroll-snap-align: start;
}
.vcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vcard:hover {
  border-color: var(--line-hard);
}
.vcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-hi);
}
.vcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vcard-media .veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.25);
}
.play-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 77, 28, 0.5);
}
.vcard-media .dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
}
.vcard-media .flag {
  position: absolute;
  top: 8px;
  left: 8px;
}
.vcard-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px 16px;
}
.vcard-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.vcard-meta .note {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 9px;
}
.vcard-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

/* ============================ MÉTHODE =================================== */
.method {
  background: var(--void);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.method-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}
.method-item .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.method-item h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.method-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* ============================ FICHE PRODUIT ============================= */
/* Ordre mobile (maquette validée) : galerie → titre/note/achat → aimé/regretté.
   En desktop : grille 2 colonnes, aimé/regretté sous la galerie. */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-media {
  order: 1;
}
.product-side {
  order: 2;
}
.product-under {
  order: 3;
}
.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-main {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 760px) {
  .thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
}
.thumb {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.7;
  padding: 0;
  transition: opacity 0.12s ease, border-color 0.12s ease;
}
.thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.thumb[aria-current="true"] {
  border: 2px solid var(--accent);
  opacity: 1;
}
.thumb:hover {
  opacity: 1;
}

.ptitle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
}
.ptitle-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ptitle-brand {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-dim);
}
.ptitle h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.035em;
}
.ptitle .accroche {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dim);
}

.note-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.note-card .big {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.note-card .big b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 68px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.note-card .big span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
}
.note-card .side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.note-card .lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.avis-ext {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.avis-ext b {
  color: var(--text-soft);
}

/* Barres critères */
.criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  padding-top: 22px;
}
.crit {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.crit-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-weight: 700;
}
.crit-line .l {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.crit-line .v {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}
.crit-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.crit-bar i {
  display: block;
  height: 4px;
  background: var(--accent);
}

/* Panneau prix + marchands */
.buy-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  background: var(--surface-hi);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.buy-panel .lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.buy-panel .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.buy-panel .releve {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.buy-panel .merchants {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.buy-panel .note-affil {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
}

/* Aimé / regretté */
.pmlists {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
}
.pmcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pmcard .lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.pmcard.plus .lbl {
  color: var(--pos);
}
.pmcard.moins .lbl {
  color: var(--neg);
}
.pmcard li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
}
.pmcard li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Sections pleine largeur de la fiche */
.psection {
  padding: 32px 0 0;
}
.psection-dark {
  margin-top: 30px;
  background: var(--void);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

/* Vidéo (façade cliquable, iframe injectée au clic) */
.video-shell {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.video-shell .poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.video-shell .veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.3);
  width: 100%;
  cursor: pointer;
}
.video-shell .play-disc {
  width: 60px;
  height: 60px;
  box-shadow: 0 0 30px rgba(255, 77, 28, 0.55);
}
.video-shell .yt-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(6, 7, 10, 0.85);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}
.video-shell .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 30px 12px 12px;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.92), transparent);
  pointer-events: none;
}
.video-shell .caption .t {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* Fiche technique */
.specs {
  display: flex;
  flex-direction: column;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .l {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.spec-row .v {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.spec-row .v small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
}

/* Corps éditorial (flagship) */
.article {
  max-width: 720px;
}
.article .kicker {
  margin-top: 34px;
}
.article h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  margin: 10px 0 4px;
}
.article h2 + p,
.article p + p {
  margin-top: 14px;
}
.article p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}
.article .bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}
.points-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.points-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.points-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.points-list b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.points-list p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 3px;
}
.callout {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.callout.verdict {
  border-left-color: var(--pos);
}
.callout .t {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}
.callout.verdict .t {
  color: var(--pos);
}
.callout p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Pour qui / pas pour qui */
.profil-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ic {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.15s ease;
}
.faq details[open] summary .ic {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq .a {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 720px;
}

/* Alternatives */
.alts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alt-card {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.alt-card:hover {
  border-color: var(--line-hard);
}
.alt-card img {
  width: 116px;
  flex-shrink: 0;
  object-fit: cover;
}
.alt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  justify-content: center;
}
.alt-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.alt-head b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.alt-head .n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.alt-body .why {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
}
.alt-body .p {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}

/* Barre d'achat collante (mobile) */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 8px));
  background: rgba(11, 13, 17, 0.97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  transition: transform 0.22s ease;
}
.sticky-buy.show {
  transform: translateY(0);
}
.sticky-buy .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sticky-buy .l {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy .p {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sticky-buy .btn {
  flex: 1;
  min-height: 50px;
}

/* ============================ LISTING / FILTRES ========================= */
.listing-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.listing-head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 8vw, 54px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.listing-count {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.listing-count b {
  color: var(--text);
  font-weight: 700;
}
.listing-intro {
  padding: 16px 0 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listing-intro p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.listing-intro p:first-child {
  color: var(--text-soft);
  font-size: 15px;
}

/* Barre mobile filtres/tri */
.toolbar {
  position: sticky;
  top: 60px;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 0;
  background: linear-gradient(var(--bg) 82%, transparent);
}
.toolbar .tb-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}
.toolbar select {
  flex: 1;
  height: 46px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  appearance: none;
}

/* Puces filtres actifs */
.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 4px;
  min-height: 10px;
}
.active-filters .af-lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}
.af-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.af-clear {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Panneau filtres : bottom-sheet mobile, sidebar desktop */
.filters-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 7, 10, 0.72);
  display: none;
}
.filters-scrim.open {
  display: block;
}
.filters {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  max-height: 84dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
  border-radius: 16px 16px 0 0;
  transform: translateY(105%);
  transition: transform 0.25s ease;
}
.filters.open {
  transform: translateY(0);
}
.filters-grip {
  align-self: center;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-hard);
  margin: 10px 0 2px;
}
.filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--pad) 12px;
  border-bottom: 1px solid var(--line);
}
.filters-head .t {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.filters-body {
  overflow-y: auto;
  padding: 0 var(--pad);
}
.fgroup {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.fgroup > .t {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.fcheck {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.fcheck input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fcheck .box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-hard);
  border-radius: 2px;
  color: transparent;
  flex-shrink: 0;
}
.fcheck input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.fcheck input:focus-visible + .box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.fcheck .lbl {
  flex: 1;
  font-size: 15px;
  color: var(--text-soft);
}
.fcheck .count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-faint);
}
.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fchip {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.fchip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: rgba(255, 77, 28, 0.55);
  color: var(--accent);
}
.frange {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.frange .track {
  position: relative;
  height: 26px;
}
.frange input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 26px;
}
.frange input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  background: var(--surface-hi);
  border: 2px solid #fff;
  border-radius: 3px;
  cursor: grab;
}
.frange input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  background: var(--surface-hi);
  border: 2px solid #fff;
  border-radius: 3px;
  cursor: grab;
}
.frange .rail-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
}
.frange .rail-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--accent);
}
.frange .ticks {
  height: 6px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 13px);
}
.frange .vals {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}
.freset {
  padding: 20px 0;
}
.filters-apply {
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 8px));
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.listing-note {
  text-align: center;
  padding: 18px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  line-height: 1.7;
}
.no-results {
  display: none;
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* Liens croisés sous-catégories */
.crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 0;
}
.crosslinks .t {
  width: 100%;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.crosslink {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}
.crosslink:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.crosslink[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ============================ YOUTUBE / ARTICLES ======================== */
.btn-youtube {
  background: #ff0000;
  color: #fff;
  gap: 10px;
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.28);
}
.btn-youtube:hover {
  background: #e60000;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}
.btn-youtube.outline {
  background: none;
  border: 1px solid rgba(255, 0, 0, 0.65);
  color: #fff;
  box-shadow: none;
}
.btn-youtube.outline:hover {
  background: rgba(255, 0, 0, 0.12);
}
.btn-youtube svg path {
  fill: #fff;
}
.yt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}
.yt-band {
  background: var(--void);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.yt-band .inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 34px 0;
}
.yt-band .t {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.yt-band p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 560px;
}
@media (min-width: 760px) {
  .yt-band .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

.article-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 0 22px;
  max-width: 860px;
}
.article-head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 7.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.article-head .accroche {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
}
.article-hero {
  max-width: 860px;
  padding-bottom: 10px;
}
.article-hero .yt-actions {
  padding-top: 14px;
}

.schema,
.photo {
  margin: 26px 0 6px;
  max-width: 760px;
}
.schema svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-sizing: border-box;
}
.photo img {
  border-radius: 12px;
  border: 1px solid var(--line);
}
.schema figcaption,
.photo figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.vcard-sub {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
}
.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex-shrink: 0;
}
@media (min-width: 1060px) {
  .logo-img {
    width: 40px;
    height: 40px;
  }
}

/* ============================ LIENS DANS LE TEXTE ======================= */
/* Demande utilisateur : les liens du contenu doivent se VOIR (soulignés). */
.article p a,
.article .points-list a,
.article .callout a,
.faq .a a,
.listing-intro a,
.prose p a,
.prose li a,
.w-verdict a,
.widget-sub a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 77, 28, 0.55);
}
.article p a:hover,
.faq .a a:hover,
.listing-intro a:hover,
.prose a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* ============================ OUTILS DU BANC (widgets) ================== */
.widget {
  margin: 30px 0 8px;
  max-width: 760px;
  background: var(--void);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 0;
}
.widget-head .bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
}
.widget-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.widget-sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.widget-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.w-progress {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}
.w-question {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.w-choix {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.w-choice {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-soft);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.w-choice:hover {
  border-color: var(--line-hard);
}
.w-choice.bonne {
  border-color: var(--pos-border);
  background: var(--pos-soft);
  color: var(--text);
}
.w-choice.mauvaise {
  border-color: rgba(255, 59, 82, 0.5);
  background: rgba(255, 59, 82, 0.1);
}
.w-choice:disabled {
  cursor: default;
}
.w-explication {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 12px;
}
.w-suivant {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.w-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.w-score b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.w-score span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
}
.w-crit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.w-crit-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 700;
}
.w-crit-line .l {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.w-crit-line .v {
  font-size: 12px;
  color: var(--text-soft);
}
.w-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.w-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.w-verdict {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.w-verdict.ok {
  border-color: var(--pos-border);
  background: var(--pos-soft);
}
.w-verdict.ko {
  border-color: rgba(255, 59, 82, 0.5);
  background: rgba(255, 59, 82, 0.08);
}
.w-btn {
  align-self: flex-start;
}
.w-check {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.w-check .lbl b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.w-check .lbl small {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}
.w-check input:checked ~ .lbl b {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: var(--pos);
}
.w-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.w-field .l {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.w-field .l b {
  color: var(--accent);
  font-size: 12px;
}
.w-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
}
.w-range::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.w-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 4px;
  background: var(--accent);
  border: 2px solid #fff;
  cursor: grab;
}
.w-range::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.w-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  border: 2px solid #fff;
  cursor: grab;
}
.w-select {
  height: 48px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.w-lignes {
  display: flex;
  flex-direction: column;
}
.w-lignes > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.w-lignes b {
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
}
.w-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
}
.w-total .l {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.w-total b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.w-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-faint);
}
.w-resultat {
  font-size: 14px;
}
.w-duel-tetes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.w-duel-tetes .mono {
  font-size: 10px;
  color: var(--accent);
}
.w-duel-tetes span:last-child {
  text-align: right;
}
.w-duel-ligne {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.12s ease;
}
.w-duel-ligne:hover {
  border-color: var(--line-hard);
}
.w-duel-ligne .t {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-align: center;
}
.w-duel-ligne .g,
.w-duel-ligne .d {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.w-duel-ligne .d {
  text-align: right;
}
.w-duel-ligne .win {
  color: var(--accent);
  font-weight: 800;
}
.w-duel-note {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

/* ============================ PAGES ÉDITO =============================== */
.prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}
.prose h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 8vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}
.prose ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose a {
  color: var(--accent);
}
.prose a:hover {
  color: var(--accent-hover);
}

/* ============================ FOOTER ==================================== */
.site-footer {
  margin-top: 40px;
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fcol {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fcol .t {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}
.fcol a {
  font-size: 13px;
  color: var(--text-soft);
}
.fcol a:hover {
  color: var(--accent);
}
.footer-base {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 360px;
}
.footer-legal {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 760px;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* Pied de page produit : marge pour la barre collante */
.has-sticky-buy {
  padding-bottom: 86px;
}

/* ============================ DESKTOP ≥ 760px =========================== */
@media (min-width: 760px) {
  :root {
    --pad: 32px;
  }
  .microbar {
    justify-content: space-between;
    min-height: 34px;
    padding: 4px var(--pad);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-align: left;
  }
  .microbar .m1 {
    display: inline;
  }
  .pcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
  .pmlists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .profil-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .alts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
  .alt-card img {
    width: 170px;
  }
  .specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 56px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 36px;
  }
  .footer-cols {
    display: contents;
  }
  .footer-base {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  .hero-ctas {
    flex-direction: row;
    width: auto;
  }
  .hero-ctas .btn-primary {
    width: auto;
    padding: 0 30px;
  }
  .rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
    padding: 0;
  }
  .rail > * {
    width: auto;
  }
  .rail-dots {
    display: none;
  }
  .sec-title {
    font-size: 42px;
  }
  .sec-head .bar {
    width: 52px;
  }
}

/* ============================ DESKTOP ≥ 1060px ========================== */
@media (min-width: 1060px) {
  :root {
    --pad: 48px;
  }
  .site-header {
    height: 84px;
    gap: 40px;
    justify-content: flex-start;
  }
  .brand-name {
    font-size: 21px;
  }
  #nav-open,
  #search-open {
    display: none;
  }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav-desktop a {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--text-dim);
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
  }
  .nav-desktop a:hover {
    color: var(--text);
  }
  .nav-desktop a[aria-current] {
    color: var(--text);
    border-bottom-color: var(--accent);
  }
  .header-search {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  .header-search form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 320px;
    height: 44px;
    padding: 0 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text-dim);
  }
  .header-search input {
    flex: 1;
    background: none;
    border: 0;
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    outline: none;
  }
  .header-search input::placeholder {
    color: var(--text-faint);
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .chain-btn {
    display: inline-flex;
  }

  .hero {
    padding: 72px 0 68px;
  }
  .hero-rules {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12px;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 16px);
  }
  .hero-rules.left {
    left: 46px;
  }
  .hero-rules.right {
    right: 46px;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 64px;
    align-items: center;
    padding: 0 48px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: clamp(54px, 5.4vw, 78px);
  }
  .hero-sub {
    font-size: 19px;
  }
  .hero-badge {
    padding: 8px 16px;
    font-size: 10px;
  }
  .hero-stats {
    gap: 44px;
    margin-top: 18px;
  }
  .stat b {
    font-size: 27px;
  }
  .stat span {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .pcards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Fiche produit : 2 colonnes (galerie+aimé/regretté | panneau) */
  .product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    grid-template-areas: "media side" "under side";
    gap: 0 56px;
    align-items: start;
  }
  .product-media {
    grid-area: media;
  }
  .product-under {
    grid-area: under;
  }
  .product-side {
    grid-area: side;
    position: sticky;
    top: 104px;
  }
  .ptitle {
    padding-top: 0;
  }
  .ptitle h1 {
    font-size: 50px;
  }
  .note-card .big b {
    font-size: 76px;
  }
  .buy-panel {
    padding: 26px 28px;
  }
  .buy-panel .price {
    font-size: 40px;
  }
  .sticky-buy {
    display: none;
  }
  .has-sticky-buy {
    padding-bottom: 0;
  }
  .pmlists {
    padding-top: 14px;
  }

  /* Listing : sidebar + grille */
  .listing-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .toolbar {
    position: static;
    background: none;
    padding: 0;
  }
  .toolbar .tb-btn {
    display: none;
  }
  .toolbar select {
    flex: 0 0 auto;
    min-width: 230px;
    height: 48px;
  }
  .filters-scrim {
    display: none !important;
  }
  .filters {
    position: sticky;
    top: 104px;
    max-height: none;
    transform: none;
    background: none;
    border: 0;
    border-radius: 0;
    z-index: 1;
  }
  .filters-grip,
  .filters-head,
  .filters-apply {
    display: none;
  }
  .filters-body {
    overflow: visible;
    padding: 0;
  }
  .listing-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
  }
}

/* ============================ PAGE CONTACT ============================== */
.contact-card {
  margin: 22px 0 6px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card .cc-lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.contact-card .cc-mail {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 900;
  /* Calibré pour que l'adresse tienne sur UNE ligne dès 320px : une adresse
     e-mail coupée en deux ne se lit plus. */
  font-size: clamp(18px, 5.3vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  overflow-wrap: anywhere;
}
.contact-card .cc-mail:hover {
  color: var(--accent);
}
.contact-card .cc-hint {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-tags code {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 5px 11px;
}
.offers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 4px;
}
.offer {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.offer .num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.offer h3 {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.offer p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
@media (min-width: 720px) {
  .contact-card {
    padding: 28px 30px;
    align-items: flex-start;
  }
  /* Le CTA pleine largeur est un réflexe mobile : sur grand écran il s'étire
     jusqu'au ridicule, on le borne. */
  .contact-card .btn-block {
    width: auto;
    min-width: 320px;
    padding: 0 32px;
  }
  .offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

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