:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #eff6ff;
  --ink: #0f172a;
  --ink-soft: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --card: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.92em; }

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0.3em 0 0.45em; }
h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; }
h1 em { font-style: normal; color: var(--accent); }

.kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
  background: var(--bg-tint); border-radius: 999px; padding: 5px 14px;
}
.lead { color: var(--ink-soft); max-width: 64ch; margin-bottom: 1rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.logo { font-weight: 800; font-size: 1.12rem; text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 9px; letter-spacing: -0.02em; }
.logo-mark {
  background: var(--accent); color: #fff;
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 0.95rem; font-weight: 800;
}
.logo-tld { color: var(--ink-soft); font-weight: 500; }
.header-search { flex: 1; display: flex; max-width: 440px; position: relative; }
.header-search input {
  flex: 1; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  border-radius: 10px; padding: 9px 96px 9px 14px; font-size: 0.9rem; min-width: 0;
  font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.header-search input::placeholder { color: #94a3b8; }
.header-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); background: #fff; }
.header-search button {
  position: absolute; right: 4px; top: 4px; bottom: 4px;
  border: 0; background: var(--accent); color: #fff; font-weight: 600;
  padding: 0 14px; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-family: inherit;
}
.header-search button:hover { background: var(--accent-dark); }
.header-nav { display: flex; gap: 6px; margin-left: auto; }
.header-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 7px 14px; border-radius: 9px; transition: background 0.15s, color 0.15s;
}
.header-nav a:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 60px 0 48px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero-sub { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0.5rem; }
.hero-search {
  display: flex; max-width: 560px; margin: 1.6rem 0 0; position: relative;
  border-radius: 14px; box-shadow: var(--shadow-md);
}
.hero-search input {
  flex: 1; border: 1px solid var(--line); background: #fff;
  border-radius: 14px; padding: 16px 180px 16px 48px; font-size: 1rem; min-width: 0; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: 18px center;
}
.hero-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.hero-search button {
  position: absolute; right: 6px; top: 6px; bottom: 6px;
  border: 0; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.95rem; padding: 0 22px; border-radius: 10px; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.hero-search button:hover { background: var(--accent-dark); }
.hero-search { position: relative; }

/* ---------- autocomplete recherche ---------- */
.ac-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(15, 42, 90, .35); overflow: hidden; padding: 6px;
  max-height: min(70vh, 460px); overflow-y: auto; text-align: left;
}
.ac-grp { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--ink-soft); padding: 10px 12px 5px; }
.ac-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.ac-item:hover, .ac-item.active { background: var(--bg-tint, #eef4ff); }
.ac-item .ac-l { font-weight: 600; font-size: 0.92rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-item .ac-m { font-family: var(--mono); font-size: 0.76rem; color: var(--accent-fonce, var(--accent)); flex-shrink: 0; }
.ac-item .ac-b { font-size: 0.76rem; color: var(--ink-soft); flex-shrink: 0; }
.ac-item.b .ac-l, .ac-item.c .ac-l { font-weight: 700; }
.hero-search .ac-panel { color: var(--ink); }
.hero-utils { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 1.3rem; }
.hero-utils a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none;
}
.hero-utils a:hover { text-decoration: underline; }
.hero-utils svg { width: 17px; height: 17px; }

.hero-art { position: relative; min-height: 300px; }
.hero-blob {
  position: absolute; inset: 0;
  background: radial-gradient(closest-side, var(--bg-tint), rgba(239, 246, 255, 0.4));
  border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
}
.hero-book { position: absolute; inset: 12% 10%; display: flex; perspective: 800px; filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.14)); }
.hero-page {
  flex: 1; background: #fff; border: 1px solid var(--line);
  padding: 26px 20px; display: flex; flex-direction: column; gap: 12px;
}
.hero-page.left { border-radius: 10px 3px 3px 10px; transform: rotateY(9deg); transform-origin: right; }
.hero-page.right { border-radius: 3px 10px 10px 3px; transform: rotateY(-9deg); transform-origin: left; border-left: 0; }
.hero-page span { height: 7px; border-radius: 4px; background: #dbeafe; }
.hero-page span:nth-child(2) { width: 80%; }
.hero-page span:nth-child(3) { width: 90%; background: var(--bg-soft); }
.hero-page span:nth-child(4) { width: 65%; background: var(--bg-soft); }
.hero-page i { display: block; margin-top: auto; height: 46%; border-radius: 8px; background: var(--accent); opacity: 0.9; }
.hero-dl {
  position: absolute; right: 4%; bottom: 8%;
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}
.hero-dl svg { width: 28px; height: 28px; }
.hero-dots {
  position: absolute; right: -2%; top: 10%; width: 70px; height: 70px;
  background-image: radial-gradient(#93c5fd 2px, transparent 2px);
  background-size: 14px 14px;
}

/* ---------- sections ---------- */
.section { padding: 44px 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.step { display: none; }
.more { font-size: 0.9rem; color: var(--accent); text-decoration: none; font-weight: 700; }
.more:hover { text-decoration: underline; }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat-grid.rich { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-md); }
.cat-grid.rich .cat-tile { padding: 24px 22px; gap: 6px; }
.cat-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px;
  background: var(--bg-tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-grid.rich .cat-icon { width: 62px; height: 62px; border-radius: 16px; }
.cat-grid.rich .cat-icon svg { width: 32px; height: 32px; }
.cat-name { font-size: 1.05rem; font-weight: 700; }
.cat-blurb { font-size: 0.87rem; color: var(--ink-soft); font-weight: 400; line-height: 1.5; }
.cat-link { margin-top: 8px; font-size: 0.87rem; font-weight: 700; color: var(--accent); }
.cat-tile:hover .cat-link { text-decoration: underline; }
.cat-nb { font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- brand chips ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.brand-chip:hover { border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-md); color: var(--accent-dark); }
.brand-chip.small { padding: 5px 13px; font-size: 0.85rem; box-shadow: none; }
.brand-chip.outline {
  color: var(--accent); font-weight: 700; border-color: #bfdbfe;
  padding: 11px 30px; font-size: 0.95rem;
}
.brand-chip.outline:hover { background: var(--bg-tint); border-color: var(--accent); }
.brand-strip.big .brand-chip { padding: 13px 24px; font-size: 1.02rem; }
.chip-nb { font-size: 0.72rem; font-weight: 700; background: var(--bg-tint); color: var(--accent); border-radius: 999px; padding: 1px 8px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 26px; }
.filter-label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-right: 4px; }

/* ---------- product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.4); }
.card-cover {
  position: relative; background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px 12px; display: flex; flex-direction: column;
}
.card-cover-brand { font-weight: 800; font-size: 0.95rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
.card-photo {
  align-self: center; padding: 18px 0 14px; color: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
}
.card-photo svg { width: 74px; height: 74px; stroke-width: 1.1; }
.card:hover .card-photo { color: var(--accent); }
.card-cover-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pdf-badge {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em;
  color: #dc2626; border: 1.5px solid #fca5a5; border-radius: 6px; padding: 1px 8px;
  display: inline-flex; align-items: center;
}
.card-body { padding: 12px 18px 15px; display: flex; flex-direction: column; gap: 3px; }
.card-title { font-weight: 700; font-size: 0.93rem; line-height: 1.35; }
.card-model { color: var(--ink-soft); font-size: 0.8rem; }
.tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--bg-tint); color: var(--accent); border-radius: 6px; padding: 2px 9px;
}
.pages { font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- breadcrumbs ---------- */
.crumbs { margin-bottom: 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.84rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 7px; color: #cbd5e1; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- product page ---------- */
.product-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; margin-bottom: 36px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.3rem; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--accent);
  font-family: inherit; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--ink-soft); background: var(--bg-soft); }
.btn.small { padding: 7px 14px; font-size: 0.82rem; border-radius: 9px; box-shadow: none; }

.spec-panel, .toc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.panel-title {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); font-weight: 800; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.spec-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bg-soft); font-size: 0.9rem; }
.spec-panel dl div:last-child { border-bottom: 0; }
.spec-panel dt { color: var(--ink-soft); }
.spec-panel dd { font-weight: 700; text-align: right; }

/* Fiche technique pleine largeur, groupes en grille masonry */
.specs-full { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 30px 0 46px; }
.specs-grid { columns: 2 340px; column-gap: 44px; padding: 20px 28px 24px; }
.specs-grid .spec-group { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 22px; }
.specs-grid dl { margin: 0; }
.specs-grid dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--bg-soft); font-size: 0.88rem; }
.specs-grid dl div:last-child { border-bottom: 0; }
.specs-grid dt { color: var(--ink-soft); }
.specs-grid dd { font-weight: 700; text-align: right; white-space: normal; }
.spec-group-title {
  font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--accent-fonce, var(--ink)); margin-bottom: 4px; padding-bottom: 6px;
  border-bottom: 2px solid var(--bg-tint, var(--bg-soft));
}
.specs-full .viewer-bar { background: linear-gradient(90deg, var(--bg-tint, #eef4ff), var(--bg-soft)); padding: 12px 20px; }
.specs-full .viewer-bar span:first-child { position: relative; padding-left: 15px; font-weight: 600; color: var(--ink); }
.specs-full .viewer-bar span:first-child::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 15px; border-radius: 2px; background: var(--accent-fonce, var(--accent)); }
@media (max-width: 560px) { .specs-grid { columns: 1; padding: 16px 20px 20px; } }

.product-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-bottom: 44px; }
.viewer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.viewer-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 10px 16px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft);
}
.viewer-bar .btn { margin-left: auto; }
.viewer-page { padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; background: var(--bg-soft); }
.mock-cover {
  width: min(300px, 100%); aspect-ratio: 210/297; background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow-md);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.mock-brand { font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; }
.mock-model { color: var(--accent); font-size: 1rem; margin-top: 2px; }
.mock-type { font-size: 0.7rem; color: var(--ink-soft); margin-top: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.mock-diagram { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.mock-diagram span { height: 5px; background: var(--bg-soft); border-radius: 3px; }
.mock-diagram span:nth-child(1) { width: 85%; }
.mock-diagram span:nth-child(2) { width: 60%; background: var(--bg-tint); }
.mock-diagram span:nth-child(3) { width: 72%; }
.viewer-note { font-size: 0.82rem; color: var(--ink-soft); text-align: center; max-width: 42ch; }

.toc ol { list-style: none; counter-reset: toc; }
.toc li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 0.9rem; counter-increment: toc; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; color: var(--accent); font-weight: 700; }
.toc-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.toc .mono { color: var(--ink-soft); font-size: 0.78rem; }

/* ---------- fiche réelle : photo + manuel ---------- */
.product-head.with-photo { grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: stretch; }
.photo-panel {
  position: relative; min-height: 360px;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, #fbfcfe 55%, #f3f6fb 100%);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 30px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -22px rgba(15,42,90,.28), var(--shadow-sm);
}
.photo-panel::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 22px; height: 26px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(15,42,90,.16), transparent 70%);
  filter: blur(2px);
}
.photo-panel img { max-width: 100%; height: auto; max-height: 520px; position: relative; z-index: 1; }
.photo-placeholder .ph-icon { transform: scale(1.4); }
.card-photo img { max-height: 110px; width: auto; max-width: 100%; }

.manual-cols { align-items: start; }
.manual-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.manual-body { padding: 10px 28px 28px; }
.manual-flow .manual-body { columns: 2; column-gap: 40px; padding-top: 20px; }
.manual-flow .manual-body p { font-size: 0.92rem; margin-bottom: 11px; color: #334155; break-inside: avoid; }
.manual-flow .manual-note { padding: 0 28px 24px; font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 720px) { .manual-flow .manual-body { columns: 1; } }
.manual-section { padding-top: 18px; scroll-margin-top: 90px; }
.manual-section h3 { font-size: 1.15rem; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.manual-section h4 { font-size: 1rem; margin-bottom: 6px; }
.manual-section p { font-size: 0.93rem; margin-bottom: 10px; color: #334155; }
.manual-section .shortdesc { color: var(--ink-soft); font-style: italic; }
.manual-section ul, .manual-section ol { margin: 0 0 12px 20px; font-size: 0.93rem; color: #334155; }
.manual-section li { margin-bottom: 6px; }
.manual-section table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-bottom: 14px; }
.manual-section th { text-align: left; background: var(--bg-soft); padding: 8px 10px; border: 1px solid var(--line); font-size: 0.82rem; }
.manual-section td { padding: 8px 10px; border: 1px solid var(--line); vertical-align: top; }
.manual-section .hint {
  background: var(--bg-tint); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 10px 14px; font-size: 0.88rem; margin-bottom: 12px; color: #334155;
}
.manual-section .warning {
  background: #fef2f2; border-left: 3px solid #dc2626; border-radius: 0 8px 8px 0;
  padding: 10px 14px; font-size: 0.88rem; margin-bottom: 12px; color: #7f1d1d;
}
.manual-section .trouble { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.manual-section .trouble .symptom { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.manual-section .steps { list-style: decimal; }
.toc.sticky { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.toc.sticky a { text-decoration: none; color: var(--ink-soft); }
.toc.sticky a:hover { color: var(--accent); }

.codes { margin-bottom: 44px; }
.codes h2 { margin-bottom: 8px; }
.codes-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.codes-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; }
.codes-table th { text-align: left; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.codes-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: #334155; }
.codes-table tr:last-child td { border-bottom: 0; }
.code-badge {
  display: inline-block; background: var(--ink); color: #fff; border-radius: 7px;
  padding: 3px 10px; font-weight: 600; font-size: 0.82rem; white-space: nowrap;
}

/* ---------- faq ---------- */
.faq { margin-bottom: 44px; }
.faq h2 { margin-bottom: 18px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.97rem;
}
.faq summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg); transition: transform 0.15s; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.93rem; }
.faq details[open] { border-color: rgba(37, 99, 235, 0.4); }

.related { margin-bottom: 40px; }
.crosslinks { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.crosslinks .footer-title { width: 100%; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 44px 24px 28px; }
.trust-list { list-style: none; margin-top: 14px; }
.trust-list li {
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.trust-list li::before {
  content: ""; width: 17px; height: 17px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-logo { font-size: 1.05rem; margin-bottom: 12px; }
.footer-note { font-size: 0.87rem; color: var(--ink-soft); max-width: 36ch; }
.footer-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); font-weight: 800; margin-bottom: 12px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer li a { font-size: 0.89rem; color: var(--ink-soft); text-decoration: none; }
.site-footer li a:hover { color: var(--accent); text-decoration: underline; }
.facets { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 4px 0 22px; box-shadow: var(--shadow-sm); }
.facet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.facet-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 800; color: var(--ink-soft); min-width: 96px; }
.facet-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.facet-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: all .12s; }
.facet-chip:hover { border-color: var(--accent); color: var(--accent); }
.facet-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.facet-chip .facet-n { font-size: 0.72rem; color: var(--ink-soft); font-weight: 700; }
.facet-chip.on .facet-n { color: rgba(255,255,255,.8); }
.facet-clear { align-self: flex-start; font-size: 0.82rem; color: var(--accent-fonce, var(--accent)); text-decoration: none; font-weight: 700; }
.facet-clear:hover { text-decoration: underline; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager .pg-cur { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; text-decoration: none; border: 1px solid var(--line); }
.pager .pg-num, .pager .pg-arrow { color: var(--ink); background: var(--card); }
.pager .pg-num:hover, .pager .pg-arrow:hover { border-color: var(--accent); color: var(--accent); }
.pager .pg-cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .pg-gap { padding: 0 4px; color: var(--ink-soft); }
.pager .pg-arrow { font-weight: 600; }

.footer-bottom { border-top: 1px solid var(--line); padding: 16px 24px; font-size: 0.8rem; color: var(--ink-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.footer-legal a { color: var(--ink-soft); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal .prose h2 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal .prose p { color: #334155; margin-bottom: 12px; line-height: 1.65; }
.legal .prose a { color: var(--accent-fonce, var(--accent)); }
.legal .btn { margin: 6px 0 14px; }
.contact-lead { max-width: 60ch; }
.contact-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--bg-tint, #eef4ff), var(--card));
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin: 22px 0 30px;
  box-shadow: var(--shadow-sm);
}
.contact-card-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--accent); color: #fff; flex-shrink: 0; }
.contact-card-body { flex: 1; min-width: 200px; }
.contact-card-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700; }
.contact-mail { font-size: 1.25rem; font-weight: 800; color: var(--accent-fonce, var(--accent)); text-decoration: none; word-break: break-all; }
.contact-mail:hover { text-decoration: underline; }
.contact-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 24px; }
.contact-reason { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.contact-reason .cr-ic { color: var(--accent); flex-shrink: 0; }
.contact-reason .cr-title { font-weight: 800; margin-bottom: 4px; }
.contact-reason .cr-txt { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.contact-foot { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { display: none; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .product-head, .product-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; gap: 10px; box-shadow: none; max-width: none; }
  .hero-search input { border-radius: 14px; box-shadow: var(--shadow-md); padding: 15px 18px 15px 48px; }
  .hero-search button { position: static; margin: 0; padding: 13px; border-radius: 14px; }
}
@media (max-width: 940px) { .product-head.with-photo { grid-template-columns: 1fr; } .photo-panel { min-height: 0; padding: 24px; } .photo-panel img { max-height: 320px; } .toc.sticky { position: static; max-height: none; } }
.pdf-badge.real { color: var(--accent); border-color: #93c5fd; }
.pdf-viewer { margin-bottom: 44px; }
.pdf-embed { margin-bottom: 30px; }
.pdf-frame { width: 100%; height: min(78vh, 900px); border: 0; display: block; background: var(--bg-soft); }
.pdf-embed-hold {
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(15,42,90,.04), transparent 60%),
    repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 14px, #f6f8fc 14px, #f6f8fc 28px);
}
.pdf-embed-hold.loaded { display: block; min-height: 0; background: var(--bg-soft); }
.pdf-embed-open {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 34px 40px; margin: 26px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 16px 40px -20px rgba(15,42,90,.35); transition: transform .15s ease, box-shadow .15s ease;
}
.pdf-embed-open:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -20px rgba(37,99,235,.5); border-color: var(--accent); }
.pdf-embed-open .peo-ic {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-fonce, #1d4ed8));
  color: #fff; box-shadow: 0 12px 28px -8px rgba(37,99,235,.6);
  transition: transform .15s ease;
}
.pdf-embed-open .peo-ic svg { margin-left: 4px; } /* centre optique du triangle */
.pdf-embed-open:hover .peo-ic { transform: scale(1.08); }
.pdf-embed-open .peo-title { font-weight: 800; font-size: 1.1rem; color: var(--accent-fonce, var(--accent)); }
.pdf-embed-open .peo-sub { font-size: 0.82rem; color: var(--ink-soft); }
.pdf-cta { padding: 44px 28px; text-align: center; background: var(--bg-soft); }
.pdf-cta p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 18px; }
.logo-book { flex-shrink: 0; }
.filter-box { margin: 4px 0 14px; }
.filter-box input {
  width: min(420px, 100%); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 0.92rem; font-family: inherit; background: var(--bg-soft);
}
.filter-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); background: #fff; }

/* badges marques colorés */
.brand-badge {
  display: inline-block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.01em;
  padding: 3px 10px; border-radius: 6px; line-height: 1.3; text-transform: none;
}
.brand-badge.chip { font-size: 0.85rem; }
.brand-chip { padding: 6px 12px 6px 8px; gap: 6px; }
.brand-strip.big .brand-chip { padding: 8px 16px 8px 10px; }
.brand-strip.big .brand-badge { font-size: 0.95rem; padding: 4px 12px; }

/* en-tête catégorie illustré */
.cat-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.cat-hero-icon {
  width: 68px; height: 68px; flex-shrink: 0; border-radius: 18px;
  background: var(--bg-tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.cat-hero-icon svg { width: 38px; height: 38px; }
.cat-hero h1 { margin: 0.1em 0 0; }
@media (max-width: 560px){ .cat-hero-icon { width: 54px; height: 54px; } .cat-hero-icon svg { width: 30px; height: 30px; } }

.photo-placeholder { display: flex; align-items: center; justify-content: center; min-height: 220px; background: var(--bg-soft); }
.photo-placeholder .ph-icon { width: 90px; height: 90px; color: #c7d2e0; }
.photo-placeholder .ph-icon svg { width: 90px; height: 90px; stroke-width: 1.2; }

.brand-logo { display: inline-flex; align-items: center; height: 26px; }
.brand-logo img { max-height: 24px; max-width: 110px; width: auto; object-fit: contain; }
.brand-strip.big .brand-logo { height: 34px; }
.brand-strip.big .brand-logo img { max-height: 32px; max-width: 140px; }

.brand-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.brand-hero-badge { display: inline-flex; align-items: center; }
.brand-hero-badge .brand-logo { height: 48px; }
.brand-hero-badge .brand-logo img { max-height: 46px; max-width: 180px; }
.brand-hero-badge .brand-badge { font-size: 1.3rem; padding: 8px 18px; }
.brand-hero h1 { margin: 0.1em 0 0; }

/* ---------- pages marque E-E-A-T (brand_content) ---------- */
.brand-intro { max-width: 72ch; margin: 4px 0 14px; color: #334155; font-size: 1.04rem; line-height: 1.6; }
.brand-intro p { margin-bottom: 8px; }
.brand-editorial { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.brand-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin-bottom: 26px; }
.brand-toc-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 8px; }
.brand-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.brand-toc li { margin: 4px 0; break-inside: avoid; font-size: 0.92rem; }
.brand-toc a { color: var(--accent); text-decoration: none; }
.brand-toc a:hover { text-decoration: underline; }
.brand-prose { max-width: 76ch; }
.brand-prose h2 { font-size: 1.35rem; margin: 34px 0 12px; scroll-margin-top: 90px; }
.brand-prose h2:first-child { margin-top: 0; }
.brand-prose h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.brand-prose p { color: #334155; margin-bottom: 13px; line-height: 1.65; }
.brand-prose ul, .brand-prose ol { margin: 0 0 14px 22px; color: #334155; }
.brand-prose li { margin-bottom: 6px; line-height: 1.55; }
.brand-prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.35); text-underline-offset: 2px; }
.brand-prose a:hover { text-decoration-color: var(--accent); }
.brand-prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 6px 0 18px; }
.brand-prose th { text-align: left; background: var(--bg-soft); padding: 9px 12px; border: 1px solid var(--line); font-size: 0.82rem; }
.brand-prose td { padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; color: #334155; }
.brand-faq { margin-top: 40px; max-width: 76ch; }
.brand-sources { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-tint); border: 1px solid rgba(37, 99, 235, 0.2); border-radius: 14px; padding: 18px 22px; margin-top: 8px; color: var(--accent-dark); }
.brand-sources svg { flex-shrink: 0; margin-top: 2px; }
.brand-sources p { color: #334155; font-size: 0.93rem; line-height: 1.55; margin: 0; }
.brand-sources-title { font-weight: 700; color: var(--ink); margin-bottom: 4px !important; }
.brand-sources-refs { margin-top: 8px !important; font-size: 0.85rem !important; color: var(--ink-soft) !important; }
.brand-sources a { color: var(--accent); }
@media (max-width: 640px) { .brand-toc ol { columns: 1; } .brand-editorial { margin-top: 36px; padding-top: 24px; } .brand-sources { flex-direction: column; gap: 8px; } }
/* Liseuse PDF.js */
.pdfv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; font-size: .9rem; color: var(--ink-soft); }
.pdfv-full { font-weight: 700; color: var(--accent); white-space: nowrap; }
.pdfv-pages { display: flex; flex-direction: column; gap: 12px; max-height: 80vh; overflow-y: auto; padding: 4px; background: var(--bg-soft); border-radius: 12px; }
.pdfv-page { flex-shrink: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-radius: 4px; overflow: hidden; }
.pdfv-page canvas { display: block; width: 100%; height: auto; }

/* Liseuse : indicateur de chargement */
.pdfv-load { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 260px; color: var(--muted, #667085); font-size: 15px; }
.pdfv-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(37, 99, 235, .18); border-top-color: #2563eb; animation: pdfv-spin .8s linear infinite; }
@keyframes pdfv-spin { to { transform: rotate(360deg); } }
