@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@500;700&family=Space+Grotesk:wght@700&display=swap");

:root {
  --bg-page: #fafafa;
  --bg-surface: #ffffff;
  --bg-subtle: #f2f4f7;
  --bg-dark: #111827;
  --ink: #111827;
  --ink-muted: #4b5563;
  --border: #e2e6eb;
  --accent: #0b6e4f;
  --accent-hover: #08543c;
  --accent-soft: #e8f5f0;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --radius: 8px;
  --max-w: 1420px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

h3 {
  font-size: 1.08rem;
}

a {
  color: var(--accent);
}

.mono,
td.num,
.kpi-val {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 66px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.nav-drop-btn {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-drop-btn:hover,
.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown:focus-within .nav-drop-btn,
.nav-dropdown.is-open .nav-drop-btn {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-caret {
  opacity: 0.65;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12), 0 4px 12px rgba(17, 24, 39, 0.05);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.16s ease;
  z-index: 120;
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu,
.nav-dropdown.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  width: min(820px, calc(100vw - 48px));
  left: -32px;
  padding: 20px;
}

.mega-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.drop-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 8px;
  padding: 0 6px;
}

.drop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drop-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}

.drop-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.drop-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 7px;
  flex-shrink: 0;
}

.mega-promo {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-promo .drop-heading {
  padding: 0 2px;
  margin-bottom: 2px;
}

.promo-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.promo-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.08);
}

.promo-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 2px;
}

.promo-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.promo-desc {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.38;
}

.promo-all {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 0;
}

.promo-all:hover {
  text-decoration: underline;
}

.mega-brands {
  width: min(560px, calc(100vw - 48px));
  padding: 18px;
}

.mega-brands .drop-heading {
  padding: 0;
  margin-bottom: 10px;
}

.brands-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-menu-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.brand-menu-tile:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.brand-menu-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.brand-menu-count {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* Header search */
.header-search {
  position: relative;
  width: 270px;
}

.header-search input {
  width: 100%;
  padding: 7px 12px 7px 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-page);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.header-search input:focus {
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.12);
}

.header-search-ico {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, calc(100vw - 28px));
  max-height: 420px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  padding: 8px;
  z-index: 130;
}

.search-dropdown[hidden] {
  display: none;
}

.search-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 6px 8px 4px;
}

.search-res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.86rem;
  transition: background 0.12s ease;
}

.search-res-item:hover {
  background: var(--accent-soft);
}

.search-res-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.search-res-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 1px 6px;
  flex-shrink: 0;
}

.search-res-title {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-res-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-status,
.search-empty {
  padding: 10px 8px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.search-empty a {
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Mobile drawer */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 80;
}

.drawer-backdrop.is-open {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 2rem;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.drawer-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav > a {
  padding: 0.55rem 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 6px;
}

.drawer-nav > a:hover {
  background: var(--bg-subtle);
  color: var(--accent);
}

.drawer-hero-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.8rem !important;
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.22);
  color: var(--accent) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  margin-bottom: 0.35rem;
}

.drawer-acc {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
}

.drawer-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  padding: 0.6rem 0.4rem;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.drawer-acc-chevron {
  transition: transform 0.18s ease;
  color: var(--ink-muted);
}

.drawer-acc.is-open .drawer-acc-chevron {
  transform: rotate(180deg);
}

.drawer-acc-panel {
  display: none;
  padding: 0 0.25rem 0.5rem;
}

.drawer-acc.is-open .drawer-acc-panel {
  display: block;
}

.drawer-acc-sublabel {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 0.45rem 0.4rem 0.2rem;
}

.drawer-acc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-acc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.42rem 0.45rem;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.drawer-acc-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.drawer-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 0.65rem 0.4rem 0.15rem;
}

/* Main & Breadcrumb */
main.container {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  margin: 0 0.35rem;
  color: var(--border);
}

/* Hero & Direct Answer */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-muted);
  max-width: 64ch;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Home Hero V1 with Instant Search */
.home-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 1.25rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.home-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  aspect-ratio: 4 / 3;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-card h1 {
  max-width: 24ch;
  margin-bottom: 0.65rem;
}

.home-hero-card .hero-lead {
  max-width: 66ch;
  margin-bottom: 1.25rem;
}

.home-search-wrap {
  position: relative;
  max-width: 680px;
}

.home-search-form {
  display: flex;
  gap: 0.5rem;
}

.home-search-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.home-search-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: var(--bg-surface);
}

.home-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 46px;
  padding: 0 1.15rem;
  background: var(--accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.home-search-btn:hover {
  background: var(--accent-hover);
}

.home-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
  max-height: 320px;
  overflow-y: auto;
}

.home-search-results.is-open {
  display: block;
}

.home-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.home-search-item:last-child {
  border-bottom: none;
}

.home-search-item:hover {
  background: var(--bg-subtle);
}

.home-search-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-hero-links a {
  text-decoration: none;
}

.home-hero-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .home-hero-card {
    padding: 1.35rem 1.1rem;
  }
  .home-search-form {
    flex-direction: column;
  }
  .home-search-btn {
    justify-content: center;
  }
}

.direct-answer {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0 0 1.5rem;
  color: var(--ink);
  max-width: 72ch;
}

.page-intro {
  max-width: 78ch;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.reassurance-band {
  background: var(--bg-dark);
  color: #f9fafb;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.reassurance-item {
  border-left: 2px solid var(--accent);
  padding-left: 0.85rem;
}

.reassurance-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.reassurance-item span {
  font-size: 0.86rem;
  color: #d1d5db;
}

.section-rule {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  margin-top: 2.25rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pill-muted {
  color: var(--ink-muted);
  background: var(--bg-subtle);
}

/* Explicit Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card-media {
  position: relative;
  width: 100%;
  height: 190px;
  background: var(--bg-subtle);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.score-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.3rem 0.6rem;
  border-bottom-left-radius: 6px;
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card-tag {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.card h3 {
  font-size: 1.04rem;
  margin: 0;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--accent);
}

.card-specs {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0;
}

.card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-block strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.02rem;
}

.price-block span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Archetype & Nav Cards */
.arch-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.arch-card:hover {
  border-color: var(--accent);
}

.arch-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.arch-meta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

/* Fiche Hero & Axes */
.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}

.hero-topbar .breadcrumb {
  margin-bottom: 0;
}

.hero-quick-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.hero-quick-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}

.hero-quick-nav a:hover {
  color: var(--accent);
}

.fiche-hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.fiche-hero-media,
.fiche-hero-info {
  min-width: 0;
}

.fiche-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}

.fiche-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.kpi-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
}

.kpi-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.kpi-val {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.axis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.axis-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.axis-weight {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.axis-bar {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.45rem;
}

.axis-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.method-details {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.method-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.method-details p {
  margin: 0.65rem 0 0;
  color: var(--ink-muted);
}

/* Pros & Cons */
.pros-card,
.cons-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.pros-card {
  border-top: 3px solid var(--accent);
}

.cons-card {
  border-top: 3px solid var(--warn);
}

.pros-card ul,
.cons-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.pros-card li,
.cons-card li {
  margin-bottom: 0.35rem;
}

/* Reviews Box */
.reviews-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
}

/* Tables with sticky first column */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
  font-size: 0.92rem;
}

.table-scroll th {
  background: var(--bg-subtle);
  font-size: 0.84rem;
  font-weight: 600;
}

.table-scroll th:first-child,
.table-scroll td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-surface);
  font-weight: 600;
  z-index: 2;
  border-right: 1px solid var(--border);
}

.table-scroll th:first-child {
  background: var(--bg-subtle);
}

.table-scroll td a.row-link {
  color: var(--ink);
  text-decoration: none;
}

.table-scroll td a.row-link:hover {
  color: var(--accent);
}

.specs-table th {
  width: 34%;
  color: var(--ink-muted);
  font-weight: 500;
}

.best-val {
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 700;
}

/* FAQ 2 columns */
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* Cross-link Band & Editorial Box */
.cross-band {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 780px;
  margin: 2.25rem auto 0;
}

.author-box img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.author-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 0;
}

.author-role {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.author-bio {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
  }
}

/* Maillage interne fiche (Comparer & explorer) */
.duel-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.duel-links-grid.is-single {
  grid-template-columns: 1fr;
}

.duel-pill-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.duel-pill-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.duel-pill-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.duel-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.duel-pill-cta {
  color: var(--accent);
  font-size: 0.84rem;
  white-space: nowrap;
  margin-left: 12px;
}

.selection-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.selection-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.selection-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.selection-chip-arrow {
  color: var(--accent);
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .duel-links-grid {
    grid-template-columns: 1fr;
  }
  .selection-chip {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius);
    padding: 11px 14px;
  }
}

/* Podium Top 3 (collections mono-usage) */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
  margin: 1.25rem 0 2rem;
}

.podium-card {
  border-width: 2px;
}

.podium-card.is-first {
  order: 2;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(11, 110, 79, 0.08);
}

.podium-card.is-second {
  order: 1;
}

.podium-card.is-third {
  order: 3;
}

.podium-rank {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--ink);
  align-self: flex-start;
}

.podium-card.is-first .podium-rank {
  background: var(--accent);
  color: #ffffff;
}

/* Filter Bar (legacy fallback) & Catalog Sidebar Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

.filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  position: sticky;
  top: 80px;
}

.filter-sidebar-head {
  display: none;
}

.filter-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.filter-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.btn-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--accent-hover);
}

.filter-group {
  border: 0;
  padding: 0 0 0.9rem;
  margin: 0 0 0.9rem;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.filter-search {
  width: 100%;
  padding: 0.48rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg-page);
  color: var(--ink);
}

.filter-range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
}

.filter-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  max-height: 210px;
  overflow-y: auto;
}

.filter-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink);
}

.filter-check.is-disabled {
  color: var(--ink-muted);
  opacity: 0.55;
}

.filter-check-left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.filter-check input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin: 0;
}

.filter-count {
  font-size: 0.78rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.filter-sidebar-foot {
  display: none;
}

.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 45;
}

.filter-backdrop.is-open {
  display: block;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.15rem;
}

.catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-mobile-top {
  display: none;
}

.filter-mobile-btn {
  display: none;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.sort-wrap label {
  color: var(--ink-muted);
  font-weight: 600;
}

.sort-wrap select {
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  background: var(--bg-page);
  color: var(--ink);
}

.card-cmp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.card-cmp input[type="checkbox"] {
  accent-color: var(--accent);
}

/* 3-Tab Component (Collections & Hub) */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.tablist [role="tab"] {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0.65rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-muted);
  cursor: pointer;
  margin-bottom: -1px;
}

.tablist [role="tab"]:hover {
  color: var(--ink);
}

.tablist [role="tab"][aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.tab-panel h3 {
  margin-top: 0;
}

.tab-panel ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

.tab-panel li {
  margin-bottom: 0.4rem;
}

/* Fiche Category Comparison (Axes Meta + 2x2 Benchmark Grid + Profile) */
.axis-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.delta-badge {
  display: inline-block;
  padding: 0.14rem 0.45rem;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
}

.delta-badge.is-pos {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.delta-badge.is-neg {
  background: var(--warn-soft);
  color: var(--warn);
}

.delta-badge.is-eq {
  background: var(--bg-subtle);
  color: var(--ink-muted);
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bench-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
}

.bench-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.bench-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.bench-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.bench-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.profile-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.profile-box p {
  margin: 0 0 0.65rem;
}

.profile-box p:last-child {
  margin-bottom: 0;
}

/* Mobile Sticky CTA (fiche produit) */
.mobile-sticky-cta {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #e2e6eb;
  padding: 2.75rem 0 1.75rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-title,
.site-footer h4 {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.footer-note {
  margin: 0;
  max-width: 44ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b9c0d4;
}

.footer-brand-links {
  margin-top: 0.75rem !important;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.44rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: #cbd2e6;
  text-decoration: none;
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #9ca3b8;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero,
  .fiche-hero {
    grid-template-columns: 1fr;
  }
  .reassurance-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.15rem;
  }
  .podium-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .podium-card.is-first {
    order: 1;
  }
  .podium-card.is-second {
    order: 2;
  }
  .podium-card.is-third {
    order: 3;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-search {
    width: 220px;
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .site-header .container {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .header-right {
    display: contents;
  }
  .header-search {
    order: 3;
    width: 100%;
  }
  .search-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
  .page-main {
    display: flex;
    flex-direction: column;
  }
  .breadcrumb {
    order: 99;
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .kpi-box {
    padding: 0.55rem 0.6rem;
  }
  .kpi-val {
    font-size: 0.95rem;
  }
  .axis-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .delta-badge {
    white-space: nowrap;
  }
  .axis-head {
    font-size: 0.82rem;
    align-items: flex-start;
  }
  .axis-weight {
    white-space: nowrap;
  }
  .table-scroll th:first-child,
  .table-scroll td:first-child {
    max-width: 145px;
    white-space: normal;
    font-size: 0.84rem;
  }
  .reassurance-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-mobile-btn {
    display: inline-flex;
  }
  .filter-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 12vh;
    z-index: 50;
    border-radius: 14px 14px 0 0;
    transform: translateY(105%);
    transition: transform 0.22s ease;
    overflow-y: auto;
    padding: 1rem 1.1rem 5.5rem;
  }
  .filter-sidebar.is-open {
    transform: translateY(0);
  }
  .filter-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .filter-sidebar-top .filter-title {
    display: none;
  }
  .filter-sidebar-top {
    justify-content: flex-end;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
  }
  .filter-sidebar-foot {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
  }
  .bench-grid {
    grid-template-columns: 1fr;
  }
  .tablist [role="tab"] {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
  }
  .tab-panel {
    padding: 1rem 1.05rem;
  }
  .mobile-sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding: 0.65rem 14px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
  }
  .mobile-sticky-cta.is-visible {
    display: flex;
  }
  .mobile-sticky-cta .btn {
    width: 100%;
  }
  .site-footer {
    padding-bottom: 5rem;
  }
}

/* Chantier 2 : Fourchette prix, badges distinction, KPI selection, questionnaire & calculateur */
.filter-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.45rem 0 0.5rem;
}
.price-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.price-input-wrap input {
  width: 100%;
  padding: 0.38rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  color: var(--ink);
  background: var(--bg-surface);
}

.distinction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.28rem 0 0.35rem;
}
.distinction-badge {
  display: inline-block;
  padding: 0.14rem 0.48rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.2);
  border-radius: 999px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.kpi-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.kpi-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.kpi-val {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.35rem;
  color: var(--ink);
}
.kpi-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.tools-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tool-head h2 {
  font-size: 1.22rem;
  margin: 0.35rem 0 0;
}
.tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}
.tool-field select,
.tool-field input {
  width: 100%;
  padding: 0.48rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg-page);
}
.quiz-top3 {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.quiz-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
}
.quiz-pick:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.quiz-pick-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.quiz-pick-main strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-pick-main span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.quiz-pick-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  font-size: 0.84rem;
}
.calc-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.calc-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.22);
  border-radius: 6px;
}
.calc-kpi span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.calc-kpi strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  color: var(--accent);
}
.calc-note {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.tool-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-duo {
    grid-template-columns: 1fr;
  }
  .tool-form {
    grid-template-columns: 1fr;
  }
}

/* Chantier 3 : Enrichissement des fiches produit */
.fiche-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fiche-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fiche-thumb {
  width: 68px;
  height: 52px;
  padding: 0.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fiche-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fiche-thumb.is-active,
.fiche-thumb:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.mini-cmp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.mini-cmp-head h2 {
  margin-bottom: 0.2rem;
}
.mini-cmp-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.mini-cmp-table th,
.mini-cmp-table td {
  vertical-align: middle;
}
.mini-cmp-table th.is-current-col {
  color: var(--accent);
}
.mini-cmp-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.42rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}
.mini-cmp-select {
  width: 100%;
  min-width: 170px;
  max-width: 260px;
  padding: 0.38rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--bg-surface);
}
.mini-cmp-table td.is-best {
  font-weight: 600;
  color: var(--accent);
  background: rgba(11, 110, 79, 0.05);
}
.best-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.22);
  border-radius: 999px;
}
.mini-cmp-empty {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.sim-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sim-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.sim-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.sim-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.22);
  border-radius: 6px;
}
.sim-kpi span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.sim-kpi strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.28rem;
  color: var(--accent);
}
.sim-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.budget-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1.05rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.budget-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.budget-val {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.budget-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.cousins-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.cousin-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.cousin-card:hover {
  border-color: var(--accent);
}
.cousin-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cousin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cousin-body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cousin-body h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.3;
}
.cousin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
}
.cousin-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
.cousin-specs {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

@media (max-width: 1024px) {
  .budget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cousins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .sim-controls,
  .sim-result,
  .budget-grid {
    grid-template-columns: 1fr;
  }
  .cousins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

/* Questionnaire 5 questions par archetype + banniere d'accroche */
.quiz-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin: 1.25rem 0 0.5rem;
}
.quiz-banner p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink, #111827);
}
.quiz-banner .btn {
  flex-shrink: 0;
}
.quiz-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #0B6E4F);
  margin-bottom: 0.35rem;
}
.quiz-head h2 {
  margin: 0 0 0.35rem;
}
.quiz-sub {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted, #4B5563);
  max-width: 68ch;
}
.quiz-card {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 12px;
  padding: 0.5rem 1.25rem;
}
.quiz-row {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border, #E2E6EB);
}
.quiz-row:last-of-type {
  border-bottom: 0;
}
.quiz-q {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink, #111827);
  margin-bottom: 0.65rem;
}
.quiz-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent, #0B6E4F);
  min-width: 1rem;
}
.quiz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 1.6rem;
}
.quiz-pill {
  appearance: none;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 8px;
  padding: 0.48rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink, #111827);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.quiz-pill:hover {
  border-color: var(--accent, #0B6E4F);
}
.quiz-pill.is-active {
  background: var(--accent, #0B6E4F);
  border-color: var(--accent, #0B6E4F);
  color: #FFFFFF;
}
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.6rem;
  border-top: 1px solid var(--border, #E2E6EB);
}
.quiz-live-count {
  font-size: 0.9rem;
  color: var(--ink-muted, #4B5563);
}
.tool-form-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .quiz-banner,
  .quiz-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .quiz-pills {
    padding-left: 0;
  }
  .tool-form-inline {
    grid-template-columns: 1fr;
  }
}

/* Comparateur multi-criteres (/comparer/) */
.cmp-panel {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 12px;
  padding: 1.15rem;
}
.cmp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cmp-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.cmp-presets-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted, #4B5563);
  margin-right: 0.2rem;
}
.cmp-preset-btn {
  border: 1px solid var(--border, #E2E6EB);
  background: var(--bg, #FAFAFA);
  color: var(--ink, #111827);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.cmp-preset-btn:hover {
  border-color: var(--accent, #0B6E4F);
  color: var(--accent, #0B6E4F);
}
.cmp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.cmp-diff-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink, #111827);
  cursor: pointer;
}
.cmp-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.cmp-slot {
  border: 1px solid var(--border, #E2E6EB);
  border-top: 3px solid var(--accent, #0B6E4F);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--bg, #FAFAFA);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cmp-slot-2 {
  border-top-color: #B45309;
}
.cmp-slot-3 {
  border-top-color: #1D4ED8;
}
.cmp-slot.is-empty {
  border-style: dashed;
  border-top-style: dashed;
  border-top-width: 1px;
  border-color: #CBD5E1;
  background: #FFFFFF;
}
.cmp-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cmp-slot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted, #4B5563);
}
.cmp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent, #0B6E4F);
}
.cmp-dot-2 { background: #B45309; }
.cmp-dot-3 { background: #1D4ED8; }
.cmp-slot-clear {
  border: none;
  background: transparent;
  color: var(--ink-muted, #4B5563);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}
.cmp-slot-clear:hover { color: var(--ink, #111827); }
.cmp-slot-search,
.cmp-slot-select {
  width: 100%;
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 6px;
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
  background: #FFFFFF;
  color: var(--ink, #111827);
}
.cmp-slot-search:focus,
.cmp-slot-select:focus {
  outline: 2px solid rgba(11, 110, 79, 0.2);
  border-color: var(--accent, #0B6E4F);
}
.cmp-empty-msg {
  color: var(--ink-muted, #4B5563);
  padding: 1rem 0;
  margin: 0;
}
.cmp-table th {
  vertical-align: top;
  background: #FFFFFF;
}
.cmp-head-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 190px;
}
.cmp-head-media {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E6EB);
  border-radius: 8px;
  padding: 0.35rem;
}
.cmp-head-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.cmp-head-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink, #111827);
  text-decoration: none;
}
.cmp-head-title:hover {
  color: var(--accent, #0B6E4F);
  text-decoration: underline;
}
.cmp-head-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
}
.cmp-head-meta span {
  color: var(--ink-muted, #4B5563);
  font-size: 0.78rem;
}
.cmp-section-row td {
  background: #F1F5F9 !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent, #0B6E4F);
  padding: 0.55rem 0.75rem;
}
.cmp-crit-name {
  font-weight: 600;
  color: var(--ink, #111827);
}
.cmp-crit-sub {
  font-size: 0.76rem;
  color: var(--ink-muted, #4B5563);
  font-weight: 400;
}
.cmp-best {
  background: #EEF8F3;
}
.cmp-cell-val {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.cmp-best-badge {
  display: inline-block;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cmp-bar-wrap {
  margin-top: 0.35rem;
  height: 5px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  max-width: 150px;
}
.cmp-bar-fill {
  display: block;
  height: 100%;
  background: #2563EB;
  border-radius: 999px;
}
.cmp-bar-fill.is-best {
  background: var(--accent, #0B6E4F);
}
@media (max-width: 900px) {
  .cmp-slots {
    grid-template-columns: 1fr;
  }
  .cmp-table th:first-child,
  .cmp-table td:first-child {
    position: static;
  }
}

/* Barre flottante Comparer sur les pages collections / marques */
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #FFFFFF;
  border-top: 1px solid var(--border, #E2E6EB);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 0;
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.compare-bar.is-visible {
  transform: translateY(0);
}
.compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.compare-bar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.compare-bar-hint {
  font-size: 0.82rem;
  color: var(--ink-muted, #4B5563);
}
.compare-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.btn-compare-clear {
  border: 1px solid var(--border, #E2E6EB);
  background: #FFFFFF;
  color: var(--ink, #111827);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-compare-go {
  border: none;
  background: var(--accent, #0B6E4F);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-compare-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .compare-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .compare-bar-actions {
    justify-content: flex-end;
  }
}

/* Fiche Avis v2 : Hero dense, barres compactes, offres marchands et grille criteres detaillee */
.meta-update {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  line-height: 1.4;
}

.meta-update .meta-rel {
  color: var(--ink-muted);
  font-weight: 400;
}

.fiche-h1 {
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 0.35rem;
}

.hero-subtitle {
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

.fiche-intro {
  font-size: 0.96rem;
  line-height: 1.52;
  padding: 0 0 0 1rem;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fiche-intro.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.hero-read-more {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.hero-read-more:hover {
  color: var(--accent);
}

.kpi-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.05fr;
  border-top: 1px solid var(--border);
  padding: 0.9rem 0 0.45rem;
  margin-bottom: 1rem;
}

.kpi-item {
  padding: 0 0.9rem;
}

.kpi-item:first-child {
  padding-left: 0;
}

.kpi-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.kpi-big {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.kpi-big-accent {
  color: var(--accent);
}

.kpi-strip .kpi-label {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.kpi-tooltip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: help;
  position: relative;
}

.kpi-tooltip-btn:hover .tooltip-pop,
.kpi-tooltip-btn:focus .tooltip-pop {
  display: block;
}

.tooltip-pop {
  display: none;
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 260px;
  background: var(--bg-dark);
  color: #ffffff;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.2);
}

.hero-cta-wrap {
  margin-bottom: 1rem;
}

.fiche-hero-cta {
  width: 100%;
  justify-content: space-between;
  min-height: 48px;
  padding: 0;
  overflow: hidden;
  font-size: 0.98rem;
}

.fiche-hero-cta > span:first-child {
  padding: 0.75rem 1.1rem;
}

.fiche-hero-cta .cta-arrow {
  background: var(--accent-hover);
  color: #ffffff;
  width: 48px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-cta-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 0.55rem;
  font-size: 0.85rem;
}

.hero-offers-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-offers-link:hover {
  text-decoration: underline;
}

.hero-utility-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-utility {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  cursor: pointer;
}

.btn-utility:hover {
  color: var(--accent);
}

.subscores-box {
  border-top: 1px solid var(--border);
  padding-top: 0.95rem;
  margin-top: 0.95rem;
}

.subscores-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.subscores-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.subscores-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.subscores-link:hover {
  text-decoration: underline;
}

.subscores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.78rem 1.4rem;
}

.subscore-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3rem;
}

.subscore-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.subscore-name {
  font-weight: 600;
  color: var(--ink);
}

.subscore-val {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.score-bar-track {
  width: 100%;
  height: 5px;
  background: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

.mobile-quick-nav-bar {
  display: none;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.section-lead {
  color: var(--ink-muted);
  font-size: 0.96rem;
  max-width: 72ch;
  margin: 0 0 1.15rem;
}

.fiche-first-section {
  border-top: 0;
  margin-top: 1.75rem;
  padding-top: 0;
}

/* Offres marchands (lignes visuelles) */
.merchant-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.merchant-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.merchant-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.15fr) 1.1fr 140px 210px;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1rem 0.9rem 0.75rem;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--border);
}

.merchant-row:last-child {
  border-bottom: 0;
}

.merchant-row.best-offer {
  background: #f4fbf8;
  border-left-color: var(--accent);
}

.merchant-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.merchant-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.merchant-shipping {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.merchant-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}

.merchant-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.merchant-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  background: var(--bg-page);
  padding: 2px 7px;
  border-radius: 4px;
}

.merchant-tag.is-best {
  color: var(--accent);
  border-color: rgba(11, 110, 79, 0.3);
  background: var(--accent-soft);
}

.merchant-price-col {
  text-align: right;
}

.merchant-price {
  display: block;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
}

.merchant-old-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
}

.merchant-old-price {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.merchant-discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 5px;
  border-radius: 4px;
}

.merchant-date {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.merchant-cta-col .btn {
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
}

.merchant-empty {
  padding: 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Points forts et limites enrichis */
.pros-cons-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0.5rem 0 0;
}

.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--border);
}

.pros-cons-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.symbol-plus,
.symbol-minus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.symbol-plus {
  background: var(--accent-soft);
  color: var(--accent);
}

.symbol-minus {
  background: var(--warn-soft);
  color: var(--warn);
}

/* Detail des notes sur criteres actifs (#notes-detaillees) */
.method-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.15rem;
}

.method-bar-sub {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.method-bar-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.method-bar-link:hover {
  text-decoration: underline;
}

.criteria-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.criterion-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.criterion-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.criterion-title {
  font-size: 1.02rem;
  margin: 0;
}

.criterion-score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.criterion-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0.55rem 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.criterion-proof {
  font-size: 0.86rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.criterion-proof.is-muted {
  color: var(--ink-muted);
}

.criterion-details {
  margin-top: auto;
}

.criterion-details summary {
  list-style: none;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
}

.criterion-details summary::-webkit-details-marker {
  display: none;
}

.criterion-details summary .label-open {
  display: none;
}

.criterion-details[open] summary .label-closed {
  display: none;
}

.criterion-details[open] summary .label-open {
  display: inline;
}

.criterion-details-body {
  margin-top: 0.6rem;
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.5;
  background: var(--bg-page);
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
}

.criterion-rule,
.criterion-weight-note {
  margin: 0 0 0.45rem;
}

.criterion-method-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .criteria-grid-3x3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-topbar {
    display: contents;
  }
  .hero-quick-nav {
    display: none;
  }
  .fiche-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 1.25rem;
  }
  .fiche-hero-media,
  .fiche-hero-info {
    display: contents;
  }
  .fiche-h1 {
    order: 1;
    font-size: 1.65rem;
    margin-bottom: 0.3rem;
  }
  .hero-subtitle {
    order: 2;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
  }
  .fiche-hero-media > * {
    order: 3;
    width: 100%;
    margin-bottom: 0.9rem;
  }
  .fiche-media {
    padding: 0.9rem;
  }
  .kpi-strip {
    order: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.65rem 0;
    margin-bottom: 0.85rem;
  }
  .kpi-item {
    padding: 0.2rem 0.4rem;
    text-align: center;
  }
  .kpi-value-row {
    justify-content: center;
  }
  .kpi-big {
    font-size: 1.22rem;
  }
  .kpi-strip .kpi-label {
    font-size: 0.71rem;
  }
  .hero-cta-wrap {
    order: 5;
    width: 100%;
    margin-bottom: 0.65rem;
  }
  .meta-update {
    order: 6;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
    margin-bottom: 0.85rem;
  }
  .meta-dot {
    display: none;
  }
  .fiche-intro {
    order: 7;
  }
  .hero-read-more {
    order: 8;
    align-self: flex-start;
    margin-bottom: 0.9rem;
  }
  .subscores-box {
    order: 9;
    width: 100%;
    margin-top: 0.25rem;
  }
  .subscores-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.9rem;
  }
  .subscore-top {
    font-size: 0.78rem;
  }
  .mobile-quick-nav-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.75rem 0 0.25rem;
  }
  .mobile-quick-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .mobile-quick-nav-bar a {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-quick-nav-bar a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .criteria-grid-3x3 {
    grid-template-columns: 1fr;
  }
  .merchant-row {
    grid-template-columns: 1fr auto;
    gap: 0.4rem 0.75rem;
    padding: 0.85rem;
    align-items: start;
  }
  .merchant-name {
    grid-column: 1;
    grid-row: 1;
  }
  .merchant-shipping {
    grid-column: 1;
    grid-row: 2;
  }
  .merchant-price-col {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
  .merchant-cta-col {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.35rem;
  }
}

/* ==========================================================================
   REFONTE FICHE AVIS : TABLEAU CRITERES ACTIFS, 3 ONGLETS EDITO + ASIDE, 3 ONGLETS BAS
   ========================================================================== */
.pros-cons-head-pro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.pros-cons-head-pro h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pros-cons-count-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  white-space: nowrap;
}

.cons-card .pros-cons-count-pill {
  background: var(--warn-soft);
  color: var(--warn);
}

.criteria-ledger-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.criteria-ledger-row {
  display: grid;
  grid-template-columns: 195px 180px 96px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.criteria-ledger-row:last-child {
  border-bottom: none;
}

.ledger-col-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.crit-meter-wrap {
  position: relative;
  height: 7px;
  background: #e6e9ef;
  border-radius: 999px;
}

.crit-meter-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.crit-avg-marker {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.crit-rank-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-page);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  justify-self: start;
}

.ledger-col-hl {
  color: var(--ink-muted);
  font-size: 0.86rem;
  min-width: 0;
}

.ledger-col-score {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.criteria-ledger-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  list-style: none;
}

.criteria-ledger-toggle::-webkit-details-marker {
  display: none;
}

.criteria-ledger-toggle .label-open {
  display: none;
}

details[open] > .criteria-ledger-toggle .label-closed {
  display: none;
}

details[open] > .criteria-ledger-toggle .label-open {
  display: inline;
}

.ledger-details-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.crit-compact-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 18px;
  min-width: 0;
}

.crit-compact-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.crit-compact-head strong:first-child {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.96rem;
}

.crit-compact-score {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.criterion-breakdown {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.criterion-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--ink);
}

.criterion-row.is-total {
  font-weight: 700;
  border-bottom: none;
  padding-top: 8px;
}

.criterion-delta {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}

.criterion-delta.pos {
  color: var(--accent-hover);
}

.criterion-delta.neg {
  color: #b91c1c;
}

.criterion-missing {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  align-items: start;
}

.editorial-article {
  min-width: 0;
  max-width: 100%;
}

.verdict-lead-banner {
  background: linear-gradient(180deg, #f3faf7 0%, #e8f5f0 100%);
  border: 1px solid rgba(11, 110, 79, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.verdict-lead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.verdict-lead-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.verdict-lead-score {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  padding: 3px 9px;
  border-radius: 6px;
}

.verdict-lead-banner p {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink);
  margin: 0;
}

.edito-tabs-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
  max-width: 100%;
  scroll-margin-top: 84px;
}

.edito-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.edito-tab-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink-muted);
  transition: background-color 0.16s ease, color 0.16s ease;
  font-family: inherit;
  min-width: 0;
}

.edito-tab-btn:last-child {
  border-right: 0;
}

.edito-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background-color 0.16s ease;
}

.edito-tab-btn:hover:not(.is-active) {
  background: #e9edf2;
  color: var(--ink);
}

.edito-tab-btn.is-active {
  background: var(--bg-surface);
  color: var(--ink);
}

.edito-tab-btn.is-active::after {
  background: var(--accent);
}

.edito-tab-eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 4px;
}

.edito-tab-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
}

.edito-tab-caption {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.edito-tab-panels {
  padding: 30px 34px 34px;
  background: var(--bg-surface);
}

.edito-tab-panels.is-tinted {
  background: var(--bg-page);
}

.edito-tab-panel[hidden] {
  display: none !important;
}

.edito-panel-head {
  max-width: 78ch;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.edito-panel-head h2,
.edito-panel-head h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 8px;
}

.edito-panel-intro {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

.edito-prose-stack {
  max-width: 76ch;
  display: grid;
  gap: 24px;
}

.edito-subsection {
  scroll-margin-top: 90px;
}

.edito-subsection + .edito-subsection {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.edito-subsection h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 11px;
}

.edito-subsection p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 11px;
}

.edito-subsection p:last-child {
  margin-bottom: 0;
}

.sticky-conversion-aside {
  position: sticky;
  top: 84px;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);
}

.aside-visual-stage {
  position: relative;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.aside-visual-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.aside-score-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.aside-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 3px;
}

.aside-model-title {
  font-size: 1.14rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.aside-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.aside-spec-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-page);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

.aside-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.aside-price-main {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.36rem;
  font-weight: 700;
  display: block;
  line-height: 1.1;
  color: var(--ink);
}

.aside-price-meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.aside-offers-link {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.aside-offers-link:hover {
  text-decoration: underline;
}

.aside-cta-btn {
  width: 100%;
  justify-content: space-between;
}

.specs-split-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.specs-group-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  min-width: 0;
}

.specs-group-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--accent-soft);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-table tr {
  border-bottom: 1px solid var(--border);
}

.tech-table tr:last-child {
  border-bottom: none;
}

.tech-table th {
  text-align: left;
  padding: 11px 12px 11px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  width: 44%;
  vertical-align: top;
}

.tech-table td {
  padding: 11px 0;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  vertical-align: top;
}

.na-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 999px;
}

.daily-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.daily-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.daily-summary-head strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.04rem;
}

.daily-summary-score {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  white-space: nowrap;
}

.daily-summary-text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sticky-conversion-aside {
    display: none;
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .verdict-lead-banner {
    padding: 15px 16px;
    margin-bottom: 18px;
  }
  .edito-tablist {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .edito-tablist::-webkit-scrollbar {
    display: none;
  }
  .edito-tab-btn {
    flex: 0 0 82%;
    min-width: 225px;
    padding: 14px 16px;
    scroll-snap-align: start;
  }
  .edito-tab-title {
    font-size: 0.96rem;
  }
  .edito-tab-panels {
    padding: 20px 16px 24px;
  }
  .ledger-details-grid,
  .specs-split-2col {
    grid-template-columns: 1fr;
  }
  .criteria-ledger-row {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    padding: 12px 14px;
  }
  .criteria-ledger-row .ledger-col-title {
    grid-column: 1;
    grid-row: 1;
  }
  .criteria-ledger-row .ledger-col-score {
    grid-column: 2;
    grid-row: 1;
  }
  .criteria-ledger-row .ledger-col-meter {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .criteria-ledger-row .ledger-col-rank {
    grid-column: 1;
    grid-row: 3;
  }
  .criteria-ledger-row .ledger-col-hl {
    grid-column: 1 / -1;
    grid-row: 4;
  }
  .criteria-ledger-toggle {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
  .ledger-details-grid {
    padding: 14px;
  }
  .specs-group-card {
    padding: 14px;
  }
  .specs-group-card .tech-table th {
    width: 46%;
    font-size: 0.84rem;
    padding: 10px 8px 10px 0;
  }
  .specs-group-card .tech-table td {
    font-size: 0.85rem;
    padding: 10px 0;
    word-break: break-word;
  }
}

/* ==========================================================================
   Collection Hero 2 colonnes (45/55) + Podium compact + Rail de pilules
   ========================================================================== */
.col-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.06fr);
  gap: 2.25rem;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.col-hero-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.col-hero-left h1 {
  font-size: clamp(1.55rem, 2.35vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.col-hero-intro {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col-hero-intro.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.col-hero-read-more {
  background: none;
  border: 0;
  padding: 0;
  margin: 0.3rem 0 0;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.col-hero-read-more:hover {
  color: var(--accent-hover);
}

.col-hero-kpis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1.85rem;
  margin-top: 1.1rem;
}

.col-hero-kpi strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.col-hero-kpi strong span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.col-hero-kpi > span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.col-hero-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.col-podium-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: #F3F8F5;
  border: 1px solid #D4E6DC;
  border-radius: 12px;
  padding: 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.col-podium-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.col-podium-card.is-second {
  order: 1;
}

.col-podium-card.is-first {
  order: 2;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  padding: 0.85rem 0.85rem 1.25rem;
  box-shadow: 0 10px 24px rgba(11, 110, 79, 0.1);
}

.col-podium-card.is-third {
  order: 3;
}

.col-podium-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.col-podium-rank {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid #D4E6DC;
  color: var(--accent);
}

.col-podium-card.is-first .col-podium-rank {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.col-podium-score {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.col-podium-media {
  height: 112px;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.col-podium-card.is-first .col-podium-media {
  height: 128px;
}

.col-podium-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.col-podium-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25rem;
}

.col-podium-card.is-first .col-podium-title {
  font-size: 0.94rem;
}

.col-podium-card:hover .col-podium-title {
  color: var(--accent);
}

.col-podium-specs {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-podium-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.col-podium-card.is-first .col-podium-price {
  font-size: 1.04rem;
}

/* Rail de pilules filtrantes sous le hero */
.col-quick-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.col-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.44rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.col-quick-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.col-quick-pill.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.col-quick-count {
  font-size: 0.76rem;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-muted);
}

.col-quick-pill.is-active .col-quick-count {
  background: #ffffff;
  color: var(--accent);
}

.col-catalog-section {
  margin-top: 0;
  padding-top: 0;
}

.catalog-main .quiz-banner {
  margin: 0 0 1rem;
}

@media (max-width: 1100px) {
  .col-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .col-hero {
    gap: 0.9rem;
    padding-bottom: 1.05rem;
    margin-bottom: 0.85rem;
  }
  .col-hero-left h1 {
    font-size: 1.48rem;
  }
  .col-hero-podium {
    display: none;
  }
  .col-hero-kpis {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0;
    align-items: start;
    margin-top: 0.85rem;
  }
  .col-hero-kpi + .col-hero-kpi {
    border-left: 1px solid var(--border);
    padding-left: 0.8rem;
    margin-left: 0.8rem;
  }
  .col-hero-kpi strong {
    font-size: 1.15rem;
    white-space: nowrap;
  }
  .col-hero-kpi > span {
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .col-quick-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.8rem;
    margin-bottom: 0.85rem;
  }
  .col-quick-rail::-webkit-scrollbar {
    display: none;
  }
  .catalog-main .quiz-banner {
    display: none;
  }
  .catalog-toolbar {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 0.85rem;
    gap: 0.65rem;
  }
  .catalog-mobile-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
  }
  .catalog-mobile-top .mobile-quiz-btn {
    flex: 1;
    justify-content: center;
    background: var(--bg-surface);
    gap: 0.4rem;
  }
  .catalog-mobile-top .mobile-quiz-btn .btn-ico {
    color: var(--accent);
    flex-shrink: 0;
  }
  .catalog-mobile-top .filter-mobile-btn {
    display: inline-flex;
    flex-shrink: 0;
    background: var(--bg-surface);
    gap: 0.4rem;
  }
  .catalog-mobile-top .filter-mobile-btn .btn-ico {
    flex-shrink: 0;
  }
  .catalog-toolbar-left {
    flex: 1;
    min-width: 0;
  }
  #cf-count {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .sort-wrap label {
    display: none;
  }
  .sort-wrap select {
    background: var(--bg-surface);
    font-size: 0.84rem;
    padding: 0.42rem 0.6rem;
  }
  #cf-grid.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  #cf-grid .card {
    border-radius: 10px;
  }
  #cf-grid .card-media {
    height: 112px;
    padding: 0.45rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
  }
  #cf-grid .score-badge {
    font-size: 0.74rem;
    padding: 0.18rem 0.42rem;
  }
  #cf-grid .card-body {
    padding: 0.55rem 0.6rem 0.65rem;
    gap: 0.25rem;
  }
  #cf-grid .card-tag {
    font-size: 0.66rem;
  }
  #cf-grid .distinction-row {
    margin: 0.1rem 0 0.15rem;
  }
  #cf-grid .distinction-badge {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #cf-grid .card h3 {
    font-size: 0.84rem;
    line-height: 1.24;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #cf-grid .card-specs {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  #cf-grid .card-foot {
    border-top: 0;
    padding-top: 0.25rem;
    margin-top: auto;
  }
  #cf-grid .price-block strong {
    font-size: 0.94rem;
  }
  #cf-grid .card-foot .btn {
    display: none;
  }
  #cf-grid .card-cmp {
    border-top: 1px solid var(--border);
    padding-top: 0.48rem;
    margin-top: 0.35rem;
    width: 100%;
    font-size: 0.78rem;
    color: var(--ink);
  }
}


/* Duels 1v1 (hub /comparatif/ et pages /comparatif/<slug>/ alignes Choisir-Robot-Aspirateur, DA #0B6E4F) */
:root {
  --rival: #d97706;
  --rival-soft: rgba(217, 119, 6, 0.12);
  --rival-ink: #92400e;
}

body:has(.duel-bottom-sticky) {
  padding-bottom: 76px;
}

.duel-hub-hero {
  padding: 6px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.duel-hub-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 10px;
}
.duel-hub-lead {
  color: var(--ink-muted);
  max-width: 780px;
  font-size: 1.02rem;
  margin: 0;
}
.duel-hub-tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.duel-hub-tool-cta:hover {
  background: var(--accent);
  color: #ffffff;
}

.duel-hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  align-items: center;
}
.duel-hub-filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.duel-hub-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.duel-hub-filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.duel-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.duel-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.duel-hub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(11, 110, 79, 0.08);
  transform: translateY(-2px);
}
.duel-hub-card.is-hidden {
  display: none;
}
.duel-hub-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  height: 178px;
}
.duel-hub-side {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.duel-hub-side.side-a {
  border-top: 3px solid var(--accent);
}
.duel-hub-side.side-b {
  border-top: 3px solid var(--rival);
}
.duel-hub-side img {
  max-width: 100%;
  max-height: 142px;
  object-fit: contain;
}
.duel-hub-vs-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18);
}
.duel-hub-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.duel-hub-card-title {
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.duel-hub-card-title span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}
.duel-hub-card-lead {
  font-size: 0.87rem;
  color: var(--ink-muted);
  line-height: 1.48;
  margin: 0;
}
.duel-hub-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.duel-hub-score-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.duel-hub-score-chip.a {
  background: var(--accent-soft);
  color: var(--accent);
}
.duel-hub-score-chip.b {
  background: var(--rival-soft);
  color: var(--rival-ink);
}
.duel-hub-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.duel-hub-cat {
  color: var(--ink-muted);
  font-weight: 600;
}
.duel-hub-cta {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.duel-seolink-band {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 44px;
}
.duel-seolink-head {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.duel-seolink-head h2 {
  font-size: 1.32rem;
  margin: 0 0 4px;
}
.duel-seolink-head p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}
.duel-seolink-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.duel-seolink-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 10px;
}
.duel-seolink-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.duel-seolink-col a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
}
.duel-seolink-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Page Duel 1v1 individuelle */
.duel-hero {
  padding: 4px 0 36px;
}
.duel-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 12px;
  max-width: 980px;
}
.duel-lead {
  font-size: 1.04rem;
  color: var(--ink-muted);
  max-width: 860px;
  margin: 0 0 26px;
}
.duel-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.duel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.duel-card.card-a {
  border-top: 4px solid var(--accent);
}
.duel-card.card-b {
  border-top: 4px solid var(--rival);
}
.duel-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.duel-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
}
.duel-badge-neutral {
  background: var(--accent-soft);
  color: var(--accent);
}
.duel-badge-win {
  background: var(--rival-soft);
  color: var(--rival-ink);
}
.duel-score-pill {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink);
  white-space: nowrap;
}
.duel-score-pill.pill-a {
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.25);
  color: var(--accent);
}
.duel-score-pill.pill-b {
  background: var(--rival-soft);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--rival-ink);
}
.duel-card-media {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.duel-thumb {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.duel-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.duel-card-title {
  font-size: 1.28rem;
  margin: 0 0 6px;
}
.duel-card-title a {
  color: var(--ink);
  text-decoration: none;
}
.duel-card-title a:hover {
  color: var(--accent);
}
.duel-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.duel-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--ink);
}
.duel-price-old {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.94rem;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.duel-meta-date {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.duel-reviews {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 4px;
}
.duel-bullets {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.94rem;
}
.duel-bullets li {
  display: block;
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.duel-bullets li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}
.card-b .duel-bullets li::before {
  color: var(--rival);
}
.duel-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.duel-btn-cta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.duel-btn-cta:hover {
  opacity: 0.92;
  color: #ffffff;
}
.duel-btn-cta .cta-label {
  padding: 12px 16px;
  display: flex;
  align-items: center;
}
.duel-btn-cta .cta-arrow {
  background: var(--accent);
  padding: 12px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.card-b .duel-btn-cta .cta-arrow {
  background: var(--rival);
}
.duel-btn-fiche {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-page);
  text-decoration: none;
}
.duel-btn-fiche:hover {
  border-color: var(--accent);
}

.duel-verdict-express {
  margin-top: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.duel-verdict-col h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
}
.duel-verdict-col p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}
.duel-verdict-col.v-a h3 {
  color: var(--accent);
}
.duel-verdict-col.v-b h3 {
  color: var(--rival-ink);
}

.duel-section-block {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 48px;
}
.duel-section-block h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 12px;
}
.duel-section-intro {
  color: var(--ink-muted);
  max-width: 820px;
  margin: 0 0 24px;
}

.duel-radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}
.duel-panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.duel-radar-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.duel-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.duel-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.duel-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}
.duel-dot.dot-a {
  background: var(--accent);
}
.duel-dot.dot-b {
  background: var(--rival);
}
.duel-radar-svg-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.duel-radar-svg-wrap svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.duel-axes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.duel-axis-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.duel-axis-name {
  font-weight: 600;
}
.duel-axis-delta {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.duel-axis-delta.delta-a {
  background: var(--accent-soft);
  color: var(--accent);
}
.duel-axis-delta.delta-b {
  background: var(--rival-soft);
  color: var(--rival-ink);
}
.duel-axis-delta.delta-eq {
  background: var(--bg-subtle);
  color: var(--ink-muted);
}
.duel-axis-tracks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.duel-axis-track {
  position: relative;
  height: 18px;
  background: var(--bg-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.duel-axis-fill {
  height: 100%;
  border-radius: 4px;
}
.duel-axis-fill.fill-a {
  background: var(--accent);
}
.duel-axis-fill.fill-b {
  background: var(--rival);
}
.duel-axis-val {
  position: absolute;
  right: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.duel-table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table.duel-diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
table.duel-diff-table th,
table.duel-diff-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
table.duel-diff-table thead th {
  background: var(--bg-subtle);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
}
table.duel-diff-table tbody th {
  font-weight: 500;
  color: var(--ink-muted);
  width: 30%;
}
table.duel-diff-table tbody tr:last-child th,
table.duel-diff-table tbody tr:last-child td {
  border-bottom: none;
}
.cell-win-a {
  background: rgba(11, 110, 79, 0.05);
  font-weight: 600;
}
.cell-win-b {
  background: rgba(217, 119, 6, 0.06);
  font-weight: 600;
}
.duel-mini-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
}
.duel-mini-tag.tag-a {
  background: var(--accent-soft);
  color: var(--accent);
}
.duel-mini-tag.tag-b {
  background: var(--rival-soft);
  color: var(--rival-ink);
}

.duel-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}
.duel-prose section {
  margin-bottom: 34px;
}
.duel-prose h2 {
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.duel-prose section:first-child h2 {
  border-top: none;
  padding-top: 0;
}
.duel-prose p {
  margin: 0 0 14px;
  max-width: 74ch;
  color: var(--ink-muted);
}
.duel-prose p strong {
  color: var(--ink);
  font-weight: 600;
}

.duel-sticky-aside {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.duel-aside-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.duel-aside-card h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}
.duel-aside-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.duel-aside-offer {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.duel-aside-offer:first-of-type {
  border-top: none;
  padding-top: 4px;
}
.duel-aside-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}
.duel-aside-btn {
  display: inline-block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--ink);
  text-decoration: none;
}
.duel-aside-btn:hover {
  opacity: 0.92;
  color: #ffffff;
}
.duel-aside-btn.btn-a {
  border-left: 4px solid var(--accent);
}
.duel-aside-btn.btn-b {
  border-left: 4px solid var(--rival);
}
.duel-aside-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.duel-aside-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-page);
}
.duel-aside-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.duel-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.duel-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.duel-profile-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.duel-profile-winner {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.duel-profile-winner.pw-a {
  background: var(--accent-soft);
  color: var(--accent);
}
.duel-profile-winner.pw-b {
  background: var(--rival-soft);
  color: var(--rival-ink);
}
.duel-profile-card p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin: 0;
}

.duel-faq-list {
  display: grid;
  gap: 12px;
}
details.duel-faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
details.duel-faq-item summary {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
details.duel-faq-item summary::-webkit-details-marker {
  display: none;
}
details.duel-faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
}
details.duel-faq-item[open] summary::after {
  content: "-";
}
details.duel-faq-item p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.duel-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.duel-related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.duel-related-card:hover {
  border-color: var(--accent);
}
.duel-related-card span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.duel-related-card strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.98rem;
}

.duel-bottom-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 28px rgba(17, 24, 39, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.duel-bottom-sticky.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.duel-bottom-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.duel-sticky-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.duel-sticky-side.side-b {
  justify-content: flex-end;
}
.duel-sticky-thumb {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  padding: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.duel-sticky-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.duel-sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.duel-sticky-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.duel-sticky-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.duel-sticky-vs {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  padding: 4px 9px;
  border-radius: 4px;
  flex-shrink: 0;
}
.duel-sticky-cta {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.84rem;
  white-space: nowrap;
  background: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.duel-sticky-cta:hover {
  color: #ffffff;
  opacity: 0.92;
}
.duel-sticky-cta.a {
  border-left: 4px solid var(--accent);
}
.duel-sticky-cta.b {
  border-left: 4px solid var(--rival);
}

@media (max-width: 1040px) {
  .duel-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .duel-seolink-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .duel-hero-cards,
  .duel-radar-grid,
  .duel-article-grid,
  .duel-verdict-express,
  .duel-related-grid {
    grid-template-columns: 1fr;
  }
  .duel-sticky-aside {
    position: static;
  }
  .duel-sticky-vs {
    display: none;
  }
}
@media (max-width: 640px) {
  .duel-hub-grid,
  .duel-seolink-grid,
  .duel-profiles-grid {
    grid-template-columns: 1fr;
  }
  .duel-card-media {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
  }
  table.duel-diff-table th,
  table.duel-diff-table td {
    padding: 10px 12px;
    font-size: 0.86rem;
  }
  .duel-sticky-thumb {
    width: 34px;
    height: 34px;
  }
  .duel-sticky-info {
    display: none;
  }
  .duel-bottom-sticky-inner {
    gap: 10px;
  }
  .duel-sticky-side,
  .duel-sticky-side.side-b {
    justify-content: center;
  }
}

/* Hub Guides & Cartes guides illustrees (style Choisir-Robot-Aspirateur) */
.guide-hub-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.guide-hub-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 10px;
}
.guide-hub-hero .lead {
  font-size: 1.04rem;
  color: var(--ink-muted);
  max-width: 780px;
  margin: 0;
}
.guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}
.guide-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.guide-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}
.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guide-card-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--accent);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.guide-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.guide-card-body h2,
.guide-card-body h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
}
.guide-card-body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}
.guide-card-cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.guide-badge-fallback {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 4px;
}

/* Page Guide individuel */
.guide-hero-band {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: center;
}
.guide-hero-text {
  min-width: 0;
  max-width: 620px;
}
.guide-hero-text h1 {
  max-width: 580px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  margin-bottom: 12px;
}
.guide-hero-text .lead {
  max-width: 580px;
  font-size: 1.04rem;
  color: var(--ink-muted);
  margin: 0;
}
.guide-hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}
.guide-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guide-article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}
.guide-rail-progress {
  margin-bottom: 22px;
}
.guide-rail-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.guide-rail-progress-label {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.guide-rail-progress-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.guide-rail-progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}
.guide-rail-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.15s ease-out;
}
.guide-toc-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.guide-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--border);
}
.guide-toc li {
  margin: 0;
}
.guide-toc li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 4px 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.guide-toc-num {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.18s ease;
}
.guide-toc li a:hover {
  color: var(--accent);
  text-decoration: none;
}
.guide-toc li a:hover .guide-toc-num {
  color: var(--accent);
}
.guide-toc li a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}
.guide-toc li a.is-active .guide-toc-num {
  color: var(--accent);
}
.guide-rail-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}
.guide-mobile-toc {
  display: none;
  margin: 0 0 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.guide-mobile-toc:not(.is-collapsed) {
  border-color: rgba(11, 110, 79, 0.35);
}
.guide-mobile-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.guide-mobile-toc-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.guide-mobile-toc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
}
.guide-mobile-toc-titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.guide-mobile-toc-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.guide-mobile-toc-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.guide-mobile-toc-chevron {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.guide-mobile-toc:not(.is-collapsed) .guide-mobile-toc-chevron {
  transform: rotate(180deg);
}
.guide-mobile-toc-panel {
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.guide-mobile-toc.is-collapsed .guide-mobile-toc-panel {
  max-height: 0;
}
.guide-mobile-toc-list {
  margin: 0;
  padding: 4px 12px 14px;
  list-style: none;
  display: grid;
  gap: 2px;
}
.guide-mobile-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease;
}
.guide-mobile-toc-list a:hover {
  background: var(--bg-subtle);
  color: var(--accent);
  text-decoration: none;
}
.guide-mobile-toc-list a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.guide-mobile-toc-list a.is-active .guide-toc-num {
  color: var(--accent);
}
.guide-prose {
  min-width: 0;
  max-width: 780px;
}
.guide-takeaways {
  background: var(--accent-soft);
  border: 1px solid rgba(11, 110, 79, 0.28);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.guide-takeaways h2 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--accent);
}
.guide-takeaways ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--ink);
}
.guide-takeaways-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 110, 79, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.guide-takeaways-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.guide-takeaways-cta a:hover {
  text-decoration: underline;
}
.guide-inline-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(11, 110, 79, 0.35);
  text-underline-offset: 2px;
}
.guide-inline-link:hover {
  text-decoration-color: var(--accent);
}
.guide-section {
  margin-bottom: 36px;
  scroll-margin-top: 88px;
}
.guide-section h2 {
  font-size: clamp(1.32rem, 2.2vw, 1.65rem);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.guide-section p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-muted);
  margin: 0 0 14px;
}
.guide-section p strong {
  color: var(--ink);
  font-weight: 600;
}
.guide-table-wrap {
  overflow-x: auto;
  margin: 20px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.guide-table th {
  background: var(--bg-subtle);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.guide-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
  vertical-align: top;
}
.guide-table tr:last-child td {
  border-bottom: 0;
}
.guide-faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.guide-faq-sidebar p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 8px 0 0;
}
.guide-faq-list {
  display: grid;
  gap: 10px;
}
.guide-faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.guide-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.guide-faq-item summary::-webkit-details-marker {
  display: none;
}
.guide-faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}
.guide-faq-answer {
  padding: 14px 18px 16px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
@media (max-width: 960px) {
  .guide-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .guide-hero-text, .guide-hero-text h1, .guide-hero-text .lead { max-width: none; }
  .guide-hero-media { max-width: 480px; }
  .guide-article-layout { grid-template-columns: 1fr; gap: 0; }
  .guide-toc { display: none; }
  .guide-mobile-toc { display: block; }
  .guide-faq-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .duel-links-grid { grid-template-columns: 1fr; }
}
