:root {
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --bg-tint: #edf5f1;
  --ink: #273240;
  --ink-strong: #0f172a;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #14533c;
  --accent-light: #1e6f50;
  --accent-hover: #0e3d2b;
  --cta: #d9531e;
  --cta-hover: #b84214;
  --warn-bg: #fff9ec;
  --warn-border: #f3cc7a;
  --warn-ink: #7c4a03;
  --ok-bg: #f0f9f4;
  --ok-border: #b7e1c9;
  --bad-bg: #fef3f2;
  --bad-border: #f5c2c0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.10);
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.15s ease; }
a:hover { color: var(--cta); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* En-tete magazine sticky haut de gamme */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink-strong);
}
.brand:hover { text-decoration: none; color: var(--accent); }
.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.brand-text span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--cta);
}
.nav-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 6px;
  background: var(--bg-tint);
  color: var(--accent);
  border: 1px solid #c6e2d4;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-calc-btn:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); text-decoration: none; }

.sub-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 8px 0;
}
.sub-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.sub-bar strong { color: #f8fafc; font-weight: 700; }
.sub-bar a { color: #cbd5e1; text-decoration: none; transition: color 0.15s ease; }
.sub-bar a:hover { color: #fbbf24; text-decoration: none; }

/* Bandeau vedette accueil */
.featured-band {
  background: linear-gradient(180deg, #f7f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 34px 0 30px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 34px;
  align-items: center;
}
@media (max-width: 880px) { .featured-grid { grid-template-columns: 1fr; gap: 22px; } }
.featured-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #e2e8f0;
}
.featured-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-credit-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
}
.featured-body h1 {
  font-family: var(--font-head);
  margin: 0 0 14px;
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
}
.featured-body p { margin: 0 0 14px; color: var(--ink); font-size: 16px; }
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.proof-item { display: inline-flex; align-items: center; gap: 6px; }
.proof-item svg { color: var(--accent); flex-shrink: 0; }

/* Bandeau choix rapide 3 formats sous le hero */
.quick-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
@media (max-width: 820px) { .quick-picks { grid-template-columns: 1fr; } }
.quick-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--ink-strong);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.quick-pick:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  text-decoration: none;
}
.qp-label { display: block; font-size: 11.5px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.qp-title { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--ink-strong); }
.qp-spec { display: block; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--ink-muted); margin-top: 2px; }
.qp-arrow {
  width: 30px; height: 30px; border-radius: 6px; background: var(--bg-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-pick:hover .qp-arrow { background: var(--accent); color: #ffffff; }

/* Grille 2 colonnes magazine */
.page-shell { padding: 34px 0 68px; width: 100%; }
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 32px;
  align-items: start;
}
.content-col, .sidebar { min-width: 0; }
@media (max-width: 980px) {
  .layout-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

/* Fil d'Ariane & en-tete article */
.breadcrumb { font-size: 13px; color: var(--ink-muted); margin: 0 0 12px; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span { margin: 0 7px; color: #94a3b8; }

.article-head h1 {
  font-family: var(--font-head);
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
}
.article-lead { font-size: 17.5px; color: #334155; margin: 0 0 14px; line-height: 1.62; }
.article-photo {
  margin: 20px 0 26px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
}
.article-photo img { width: 100%; height: auto; display: block; }
.article-photo figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

/* Titres et texte courant */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: 38px 0 18px;
  padding: 0 0 10px 13px;
  border-left: 4px solid var(--accent);
  border-bottom: 1px solid var(--border);
}
.section-head h2 { margin: 0; padding: 0; border: none; font-size: 21px; line-height: 1.25; }
.section-sub { font-size: 13px; color: var(--ink-muted); font-weight: 500; }

.content-col h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content-col h3 {
  font-family: var(--font-head);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-strong);
  margin: 22px 0 8px;
}
.content-col p { margin: 0 0 16px; }
.content-col ul, .content-col ol { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; }
.num { font-family: var(--mono); font-size: 0.91em; font-variant-numeric: tabular-nums; }

/* Cartes articles magazine */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 18px 0 36px;
}
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.post-card-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #e2e8f0;
}
.post-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
}
.post-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.post-card h3 {
  font-family: var(--font-head);
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.32;
}
.post-card h3 a { color: var(--ink-strong); text-decoration: none; }
.post-card h3 a:hover { color: var(--cta); text-decoration: none; }
.post-card p { margin: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.54; }
.post-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Boutons soignes */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; }
.btn-cta { background: var(--cta); color: #ffffff; box-shadow: 0 2px 6px rgba(217, 83, 30, 0.24); }
.btn-cta:hover { background: var(--cta-hover); color: #ffffff; box-shadow: 0 4px 12px rgba(217, 83, 30, 0.30); }
.btn-accent { background: var(--accent); color: #ffffff; }
.btn-accent:hover { background: var(--accent-hover); color: #ffffff; }
.btn-secondary { background: #ffffff; color: var(--ink-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--ink-strong); border-color: #94a3b8; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-nowrap { white-space: nowrap; }

.cta-strip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 22px 0;
}
.partner-note { margin: 9px 0 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; }

/* Encarts terrain / forum / alertes / reponse directe AEO */
.answer-box {
  background: #f8fafc;
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 19px;
  margin: 0 0 24px;
}
.answer-box-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}
.answer-box p { margin: 0; font-size: 15px; color: var(--ink-strong); line-height: 1.58; }

.related-box {
  margin: 28px 0 10px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.related-box h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-strong);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 13px;
  text-decoration: none;
  color: var(--ink-strong);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-card strong { display: block; font-family: var(--font-head); font-size: 13.5px; line-height: 1.32; color: var(--ink-strong); }
.related-card span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-muted); line-height: 1.4; }

.forum-box {
  background: var(--bg-tint);
  border: 1px solid #c6e2d4;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 22px 0;
}
.forum-box h3 { margin-top: 0; font-size: 16.5px; color: var(--accent); }
.forum-box ul { margin-bottom: 0; }

.warn-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 4px solid var(--cta);
  border-radius: 8px;
  padding: 15px 18px;
  margin: 20px 0;
  color: var(--warn-ink);
  font-size: 15px;
}
.warn-box p:last-child { margin-bottom: 0; }

.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 680px) { .split-2 { grid-template-columns: 1fr; } }
.box-plus { background: var(--ok-bg); border: 1px solid var(--ok-border); border-radius: 8px; padding: 16px 18px; }
.box-minus { background: var(--bad-bg); border: 1px solid var(--bad-border); border-radius: 8px; padding: 16px 18px; }
.box-plus h3, .box-minus h3 { margin-top: 0; font-size: 16px; }
.box-plus ul, .box-minus ul { margin-bottom: 0; font-size: 14.5px; }

/* Tableaux comparatifs haut de gamme avec micro-barres visuelles */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 20px 0;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.compare-table { min-width: 540px; }
th, td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
thead th {
  background: #f8fafc;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-strong);
  font-size: 12px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
tbody tr:nth-child(even) { background: #fbfcfd; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f3f7f5; }
.specs-table { min-width: 0; }
.specs-table th { width: 38%; background: #f8fafc; font-weight: 600; color: var(--ink); }
.cell-sub { font-size: 11.5px; color: var(--ink-muted); font-family: var(--font-body); }

.row-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--accent);
  white-space: nowrap;
}
.mini-bar {
  display: block;
  width: 62px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  margin-top: 5px;
  overflow: hidden;
}
.mini-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.mini-bar.solar i { background: var(--cta); }

/* Sources */
.source-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 13.5px;
  color: var(--ink);
}
.source-box ul { margin: 6px 0 0; padding-left: 18px; gap: 5px; }

/* Calculateur outil editorial soigne */
.calc-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 20px 0 30px;
}
.calc-head {
  background: #0f172a;
  color: #f8fafc;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.calc-head strong { font-family: var(--font-head); font-size: 16px; }
.calc-head span { font-size: 12.5px; color: #94a3b8; }
.calc-inner { padding: 18px 20px 20px; background: var(--bg-soft); }

.calc-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.preset-btn {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 7px 12px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-btn:hover { background: var(--bg-tint); border-color: var(--accent); color: var(--accent); }
.preset-btn.active { background: var(--accent); color: #ffffff; border-color: var(--accent); }

.calc-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }
.device-list { display: grid; gap: 7px; }
.device-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 11px;
}
.device-row label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.device-row input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.device-watt { font-size: 12px; color: var(--ink-muted); font-weight: 400; }
.hours-wrap { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-muted); }
.hours-wrap input[type="number"] {
  width: 56px; padding: 4px 6px; border: 1px solid var(--border-strong); border-radius: 5px; font-size: 13.5px; font-family: var(--mono); font-weight: 700;
}
.days-row {
  margin-top: 10px; background: #ffffff; border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px;
}
.calc-summary {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.calc-summary h3 { margin: 0 0 12px; font-size: 16px; color: var(--ink-strong); }
.metric-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
.metric-cell { background: #f8fafc; border: 1px solid var(--border); border-radius: 6px; padding: 10px 11px; }
.metric-cell > span, .metric-label { display: block; font-size: 11.5px; color: var(--ink-muted); line-height: 1.35; }
.metric-cell strong { font-family: var(--mono); font-size: 18px; color: var(--ink-strong); }

.gauge-wrap { margin: 12px 0; }
.gauge-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-muted); margin-bottom: 4px; }
.gauge-track { width: 100%; height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.gauge-fill { height: 100%; width: 45%; background: linear-gradient(90deg, var(--accent), var(--cta)); border-radius: 99px; transition: width 0.25s ease; }

.calc-reco-box {
  background: var(--bg-tint);
  border: 1px solid #c6e2d4;
  border-radius: 6px;
  padding: 13px;
  margin-top: 12px;
}
.calc-reco-box p { margin: 6px 0 11px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }

/* Schemas SVG */
.diagram-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.diagram-box figcaption { font-size: 12.5px; color: var(--ink-muted); margin-top: 8px; text-align: center; }

/* FAQ */
.faq-list { display: grid; gap: 9px; margin: 14px 0 26px; }
.faq-list details {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 13px 16px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary { font-family: var(--font-head); font-weight: 700; cursor: pointer; font-size: 15px; color: var(--ink-strong); }
.faq-list details p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink); }

/* Sidebar sticky editorial */
.sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 88px;
}
@media (max-width: 980px) { .sidebar { position: static; } }
.widget {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 18px 19px;
  box-shadow: var(--shadow-sm);
}
.widget.widget-soft { background: var(--bg-soft); }
.widget h3 {
  font-family: var(--font-head);
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-strong);
  padding-bottom: 9px;
  border-bottom: 2px solid var(--border);
}
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #ffffff;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--bg-tint);
}
.author-meta strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--ink-strong); }
.author-meta span { font-size: 12.5px; color: var(--ink-muted); }
.widget p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink); line-height: 1.56; }
.widget p:last-child { margin-bottom: 0; }

.popular-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.popular-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.42;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.popular-list li:last-child { padding-bottom: 0; border-bottom: none; }
.pop-num {
  width: 26px; height: 26px; border-radius: 6px; background: var(--bg-tint);
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.popular-list a { color: var(--ink-strong); text-decoration: none; font-weight: 600; }
.popular-list a:hover { color: var(--cta); text-decoration: underline; }

/* Pied de page */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 44px 0 34px;
  font-size: 13.5px;
  border-top: 4px solid var(--accent);
}
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-head); color: #ffffff; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 12.5px; color: #94a3b8;
}

/* Confort mobile : en-tete non bloquant et barre modeles sur 1 ligne */
@media (max-width: 960px) {
  .site-header { position: static; }
  .header-top { padding: 10px 0; gap: 10px; min-height: auto; }
  .main-nav { gap: 8px 12px; font-size: 13.5px; }
  .sub-bar-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 14px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
}
