/* Le Coin de la Basse-Cour : feuille de style */

:root {
  /* Couleurs */
  --white: #ffffff;
  --paper: #f7f5f0;
  --ink: #1c1f1a;
  --ink-2: #4a4f46;
  --ink-3: #666b61;
  --line: #e6e2d9;
  --line-2: #d8d3c7;
  --green: #24412b;
  --green-2: #315a3b;
  --green-tint: #eef2ec;
  --terra: #a2532a;
  --cta: #f2b544;
  --cta-hover: #e5a52f;

  /* Espacements (échelle unique) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --section: var(--s7);

  /* Formes */
  --r-sm: 6px;
  --r: 10px;
  --container: 1180px;
  --measure: 700px;
  --header-h: 68px;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (max-width: 760px) {
  :root { --section: var(--s6); --header-h: 60px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s3)); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
::selection { background: #dfe8db; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s2); top: var(--s2); z-index: 100; background: var(--ink); color: #fff; padding: var(--s1) var(--s2); border-radius: var(--r-sm); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s3); }
@media (max-width: 760px) { .container { padding: 0 var(--s2); } }
.section { padding: var(--section) 0; }
.section-paper { background: var(--paper); }
.section-title { margin-bottom: var(--s5); max-width: 640px; }
.section-title h2 { margin-bottom: var(--s2); }
.section-title p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }

/* Accueil : tous les guides par thème */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.theme { display: flex; flex-direction: column; }
.theme-img { display: block; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--paper); margin-bottom: var(--s3); }
.theme-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.theme-img:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .theme-img { aspect-ratio: 16 / 9; } }
.theme h3 { margin-bottom: var(--s2); }
.theme h3 a { color: var(--ink); text-decoration: none; }
.theme h3 a:hover { color: var(--green-2); }
.theme ul { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.theme li { border-bottom: 1px solid var(--line); }
.theme li a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.45; }
.theme li a:hover { color: var(--green-2); }
.theme-more { margin-top: auto; font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; }
.theme-more::after { content: "→"; color: var(--green-2); font-weight: 500; transition: transform .2s ease; }
.theme-more:hover::after { transform: translateX(4px); }
@media (max-width: 960px) { .themes { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4); max-width: 1440px; padding: 0 var(--s5); }
.header-inner .logo { justify-self: start; }
.header-inner .nav { justify-self: center; grid-column: 2; grid-row: 1; }
@media (max-width: 860px) { .header-inner { display: flex; justify-content: space-between; } .header-inner .nav { justify-self: stretch; } }
@media (max-width: 760px) { .header-inner { padding: 0 var(--s2); } }
/* Logo : pastille verte + nom sur deux niveaux */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-mark .lb { fill: var(--green); }
.logo-mark .lh { fill: #f7f5f0; }
.logo-mark .le { fill: var(--green); }
.logo-mark .lw { stroke: var(--green); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.logo-text strong { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: stretch; align-self: stretch; gap: var(--s4); }
@media (max-width: 860px) { .nav-toggle { margin-left: auto; } }
.nav a { position: relative; display: flex; align-items: center; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green-2); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--s1) var(--s2) var(--s2); }
  .nav.open { display: flex; }
  .nav a { padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { display: none; }
}

/* En haut de page, le bandeau se fond dans l'en-tête beige ; le trait apparaît au défilement */
.site-header { transition: border-color .25s ease, background-color .25s ease; }
.site-header:not(.is-scrolled) { border-bottom-color: transparent; }

/* Accueil : bandeau transparent posé sur la grande photo, beige au défilement */
.home .site-header { position: fixed; top: 0; left: 0; right: 0; transition: background-color .25s ease, border-color .25s ease; }
.home .site-header:not(.is-solid) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.home .site-header:not(.is-solid) .logo,
.home .site-header:not(.is-solid) .nav a { color: #fff; }
.home .site-header:not(.is-solid) .nav a:not([aria-current="page"]) { color: rgba(255, 255, 255, .85); }
.home .site-header:not(.is-solid) .nav a:hover { color: #fff; }
.home .site-header:not(.is-solid) .nav a[aria-current="page"]::after { background: #fff; }
.home .site-header:not(.is-solid) .logo-text small { color: rgba(255, 255, 255, .8); }
.home .site-header:not(.is-solid) .logo-mark .lb,
.site-footer .logo-mark .lb { fill: #f7f5f0; }
.home .site-header:not(.is-solid) .logo-mark .lh,
.site-footer .logo-mark .lh { fill: var(--green); }
.home .site-header:not(.is-solid) .logo-mark .le,
.site-footer .logo-mark .le { fill: #f7f5f0; }
.home .site-header:not(.is-solid) .logo-mark .lw,
.site-footer .logo-mark .lw { stroke: #f7f5f0; }
.home .site-header:not(.is-solid) .nav-toggle span { background: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  height: 48px; padding: 0 var(--s3);
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-buy { background: var(--cta); color: var(--ink); }
.btn-buy:hover { background: var(--cta-hover); color: var(--ink); }
.btn-buy::after { content: "→"; font-weight: 500; }
.btn-block { width: 100%; }

/* ---------- Accueil : grande photo ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: #2b2a24;
  overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,18,.5) 0%, rgba(20,22,18,0) 22%), linear-gradient(180deg, rgba(20,22,18,0) 30%, rgba(20,22,18,.72) 100%), linear-gradient(90deg, rgba(20,22,18,.45) 0%, rgba(20,22,18,0) 60%); }
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(180deg, rgba(20,22,18,.5) 0%, rgba(20,22,18,.3) 18%, rgba(20,22,18,.55) 45%, rgba(20,22,18,.85) 100%); }
  .hero .btn { width: 100%; }
}
.hero-content { position: relative; z-index: 1; padding-top: var(--s7); padding-bottom: var(--s6); }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: 720px; margin-bottom: var(--s3); }
.hero p { font-size: 1.1875rem; line-height: 1.55; max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: var(--s4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.hero .hero-credit { margin: 0; max-width: none; line-height: 1.4; position: absolute; right: var(--s3); bottom: var(--s2); z-index: 1; font-size: .75rem; color: rgba(255,255,255,.7); }
.hero-credit a { color: inherit; }

/* Bandeau de réassurance */
.trust { border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: var(--s3) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.trust li { display: flex; gap: var(--s2); align-items: flex-start; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.trust strong { display: block; color: var(--ink); font-weight: 600; }
.trust svg { flex: none; width: 22px; height: 22px; color: var(--green-2); margin-top: 2px; }
@media (max-width: 760px) { .trust ul { grid-template-columns: 1fr; gap: var(--s2); } }

/* Cartes de guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.guides-4 { grid-template-columns: repeat(4, 1fr); }
.guides-4 .guide h3 { font-size: 1.1875rem; }
@media (max-width: 960px) { .guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guides { grid-template-columns: 1fr; } }
.guide { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.guide:hover { color: inherit; }
.guide-img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--paper); margin-bottom: var(--s3); }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide:hover .guide-img img { transform: scale(1.04); }
.guide-meta { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--ink-3); margin-bottom: 12px; }
.guide-cat { font-weight: 600; color: var(--green-2); }
.guide-cat::after { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); margin-left: 10px; vertical-align: middle; }
.guide h3 { margin-bottom: 12px; font-size: 1.3125rem; line-height: 1.3; transition: color .15s ease; }
.guide:hover h3 { color: var(--green-2); }
.guide p { color: var(--ink-2); margin-bottom: var(--s3); font-size: 1rem; line-height: 1.6; }
.guide-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding-top: var(--s2); border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: var(--ink); }
.guide-more::after { content: "→"; color: var(--green-2); font-weight: 500; transition: transform .2s ease; }
.guide:hover .guide-more::after { transform: translateX(4px); }

/* Bloc éditorial en deux colonnes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.split-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: var(--s3); }
.split p { color: var(--ink-2); }
.split .btn { margin-top: var(--s1); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s4); } }

.credits { padding: 0 0 var(--s5); }
.credits .method { max-width: 760px; }

/* ---------- Article ---------- */
.article-header { padding: var(--s5) 0 var(--s4); max-width: var(--measure); margin: 0 auto; }
.crumbs { font-size: .875rem; color: var(--ink-3); margin-bottom: var(--s3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.article-header h1 { max-width: 860px; margin-bottom: var(--s3); }
.article-intro { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 760px; margin-bottom: var(--s3); }
.byline { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: .875rem; color: var(--ink-3); margin: 0; }
.byline a { color: inherit; text-decoration-color: var(--line-2); }
.byline a:hover { color: var(--ink); }
.cover { max-width: 1000px; margin: 0 auto; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .cover { aspect-ratio: 3 / 2; } .article-header { padding-top: var(--s4); } }
.photo-credit { font-size: .8125rem; color: var(--ink-3); margin: 0; }
.photo-credit a { color: inherit; }

.article-layout { display: grid; grid-template-columns: minmax(0, var(--measure)); justify-content: center; padding: var(--section) 0; }
.prose > :last-child { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }

.prose > * + * { margin-top: 0; }
.prose h2 { margin: calc(var(--section) / 2) 0 var(--s3); padding-top: calc(var(--section) / 2); border-top: 1px solid var(--line); }
.prose h2:first-child, .prose .first { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: var(--s5) 0 var(--s2); }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--s3); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: var(--s1); }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; }

.notice { font-size: .875rem; color: var(--ink-3); border-left: 2px solid var(--line-2); padding: 2px 0 2px var(--s2); margin: 0 0 var(--s5); line-height: 1.55; }
.notice a { color: inherit; }
.callout { background: var(--green-tint); border-radius: var(--r); padding: var(--s3); margin: var(--s4) 0; }
.callout p:last-child { margin: 0; }
.callout-title { display: block; font-weight: 600; margin-bottom: var(--s1); color: var(--green); }

/* Sommaire */
.toc { background: var(--paper); border-radius: var(--r); padding: var(--s4) var(--s4) var(--s3); margin: 0 0 var(--s5); }
.toc-title { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-3); margin-bottom: var(--s2); }
.prose .toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--toc-rows, 3), auto); grid-auto-flow: column; column-gap: var(--s5); }
.prose .toc li { counter-increment: toc; margin: 0; border-top: 1px solid var(--line-2); }
.toc a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none; transition: color .15s ease; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 22px; font-size: .8125rem; font-weight: 600; color: var(--green-2); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--green-2); }
@media (max-width: 620px) { .prose .toc ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } .toc { padding: var(--s3) var(--s3) var(--s2); } }

/* Cartes « Notre sélection » (plus larges que la colonne de texte) */
.picks {
  position: relative; left: 50%; transform: translateX(-50%);
  width: min(1040px, calc(100vw - 48px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3);
  margin: 0 0 var(--s3);
}
.pick-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4) var(--s3) var(--s3); }
.pick-card.is-top { border: 2px solid var(--green-2); padding: calc(var(--s4) - 1px) calc(var(--s3) - 1px) calc(var(--s3) - 1px); }
.pick-label { align-self: flex-start; font-size: .8125rem; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: 4px; padding: 4px 10px; margin-bottom: var(--s2); }
.pick-card.is-top .pick-label { background: var(--green); color: #fff; }
.pick-card h3 { margin: 0 0 var(--s2); font-size: 1.1875rem; }
.prose .pick-points { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.prose .pick-points li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.pick-points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg); }
.pick-budget { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-3); margin-bottom: var(--s2); }
.pick-budget strong { color: var(--ink); font-weight: 600; margin-left: 4px; }
.pick-more { align-self: center; margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.picks-more { font-size: .9375rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .picks { left: auto; transform: none; width: auto; margin-left: calc(-1 * var(--s2)); margin-right: calc(-1 * var(--s2)); padding: 4px var(--s2) var(--s1); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .picks::-webkit-scrollbar { display: none; }
  .pick-card { scroll-snap-align: start; }
}

/* Tableau */
.table { overflow-x: auto; margin: 0 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r); }
.table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.table th, .table td { padding: 14px var(--s2); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8125rem; font-weight: 600; color: var(--ink-3); background: var(--paper); }
.table tr:last-child td { border-bottom: 0; }
.table td a { font-weight: 600; }

/* Bandes de couleur dans les articles */
/* Le beige s'arrête au milieu de la photo de couverture (effet magazine) */
.hub-top { background: var(--paper); }
.hub-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s6); align-items: center; padding: var(--s5) 0 var(--s6); }
.hub-header h1 { margin-bottom: var(--s3); }
.hub-header .article-intro { margin-bottom: 0; }
.hub-img { margin: 0; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--line); }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .hub-header { grid-template-columns: 1fr; gap: var(--s4); } .hub-img { aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .hub-header { padding: var(--s4) 0 var(--s5); } .hub-img { aspect-ratio: 3 / 2; } }
.article-top { --overlap: 200px; background: linear-gradient(to bottom, var(--paper) calc(100% - var(--overlap)), var(--white) calc(100% - var(--overlap))); padding-bottom: 0; }
@media (max-width: 760px) { .article-top { --overlap: 110px; } }
.shop {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
  padding: var(--section) 0;
  margin: var(--section) 0;
}
.shop > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.shop .product { background: var(--white); margin: var(--s4) 0 0; box-shadow: 0 1px 3px rgba(28, 31, 26, .05); }
.shop > .product:first-child { margin-top: 0; }
.shop + h2 { margin-top: 0; padding-top: 0; border-top: 0; }


/* Fiche produit */
.product { border: 1px solid var(--line); border-radius: var(--r); margin: var(--s5) 0; overflow: hidden; }
.product-head { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); background: var(--white); border-bottom: 1px solid var(--line); }
.product-rank { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: .875rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.product-label { font-size: .875rem; font-weight: 600; color: var(--green); }
.product-body { padding: var(--s4) var(--s3) var(--s3); }
.product-body h3 { margin: 0 0 var(--s2); font-size: 1.375rem; }
.product-body > p { color: var(--ink-2); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0 0 var(--s3); }
.specs div { background: #fff; padding: 12px var(--s2); }
.specs dt { font-size: .75rem; color: var(--ink-3); margin-bottom: 2px; }
.specs dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: 0 0 var(--s3); }
.pc h4 { font-size: .875rem; font-weight: 600; margin-bottom: var(--s1); }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.pc .pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 700; color: var(--green-2); }
.pc .cons li::before { content: "–"; position: absolute; left: 2px; font-weight: 700; color: var(--terra); }
.buyers { background: var(--paper); border-radius: var(--r-sm); padding: var(--s2) var(--s3); margin: 0 0 var(--s3); }
.buyers h4 { font-size: .875rem; font-weight: 600; margin: 0 0 6px; }
.prose .buyers p { margin: 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
/* Bloc « Dans la rubrique » en bas des articles */
.silo-nav { margin: var(--s6) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); }
.silo-nav .silo-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.prose .silo-nav h2 { margin: 0; font-size: 1.25rem; }
.silo-nav .silo-head a { flex: none; font-size: .9375rem; font-weight: 600; color: var(--green-2); text-decoration: none; }
.silo-nav .silo-head a::after { content: " →"; }
.silo-nav .silo-head a:hover { text-decoration: underline; }
.prose .silo-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.prose .silo-nav li { margin: 0; padding: 0; }
.silo-nav li a { display: flex; gap: 14px; align-items: center; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.silo-nav li a:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgba(28, 31, 26, .07); }
.silo-nav li img { flex: none; width: 96px; height: 64px; object-fit: cover; border-radius: var(--r-sm); margin: 0; }
.silo-nav .silo-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.silo-nav .silo-cat { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green-2); }
.silo-nav .silo-name { font-weight: 600; line-height: 1.3; font-size: .9375rem; }
.silo-nav li a:hover .silo-name { color: var(--green-2); }
.silo-nav .silo-time { font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 620px) { .prose .silo-nav ul { grid-template-columns: 1fr; } .silo-nav .silo-head { flex-direction: column; gap: 4px; } }
@media (max-width: 620px) { .pc { grid-template-columns: 1fr; gap: var(--s3); } .product-body { padding: var(--s3) var(--s2) var(--s2); } .product-head { padding: 12px var(--s2); } .product-foot .btn { width: 100%; } }
.product-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.product-for { margin: 0; font-size: .9375rem; color: var(--ink-2); flex: 1 1 260px; }
.product-for strong { color: var(--ink); }

/* Colonne latérale */
.aside-box { position: sticky; top: calc(var(--header-h) + var(--s3)); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.aside-title { font-weight: 700; margin-bottom: var(--s2); display: block; }
.pick { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.pick:first-of-type { border-top: 0; padding-top: 0; }
.pick small { display: block; font-size: .8125rem; color: var(--green-2); font-weight: 600; margin-bottom: 2px; }
.pick strong { display: block; font-size: .9375rem; line-height: 1.35; margin-bottom: var(--s1); }
.pick a.pick-link { font-size: .875rem; font-weight: 600; color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s3) var(--s5) var(--s3) 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 var(--s3); color: var(--ink-2); }

/* Verdict */
.verdict { background: var(--green); color: #e9efe7; border-radius: var(--r); padding: var(--s5) var(--s4); margin: var(--section) 0 var(--s5); }
.verdict h2 { color: #fff; margin: 0 0 var(--s3); padding: 0; border: 0; }
.verdict ul { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.verdict li { padding: var(--s2) 0; border-top: 1px solid rgba(255,255,255,.15); margin: 0; }
.verdict li strong { color: #fff; }
@media (max-width: 620px) { .verdict { padding: var(--s4) var(--s3); } }

.method { font-size: .875rem; color: var(--ink-3); margin: 0; line-height: 1.6; }
.method a { color: inherit; }

/* Liens vers d'autres articles */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s4) 0; }
.related a { position: relative; display: block; background: var(--paper); border-radius: var(--r); padding: var(--s3) var(--s6) var(--s3) var(--s3); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; transition: background-color .15s ease; }
.related a::after { content: "→"; position: absolute; right: var(--s3); top: 50%; transform: translateY(-50%); color: var(--green-2); font-weight: 500; transition: transform .15s ease; }
.related a:hover { background: #efebe2; color: var(--ink); }
.related a:hover::after { transform: translate(3px, -50%); }
.related small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8125rem; margin-bottom: 4px; }
@media (max-width: 620px) { .related { grid-template-columns: 1fr; } }

/* Étapes */
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: var(--s3); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 600; font-size: .9375rem; color: var(--green); }

/* ---------- Pages simples ---------- */
.page-header { padding: var(--s6) 0 var(--s4); border-bottom: 1px solid var(--line); max-width: var(--measure); margin: 0 auto; }
.page-header h1 { margin-bottom: var(--s2); }
.page-header p { margin: 0; color: var(--ink-2); font-size: 1.125rem; max-width: 640px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; margin: 0 0 var(--s4); border-top: 1px solid var(--line); }
.legal dt, .legal dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal dt { font-weight: 600; font-size: .9375rem; }
.legal dd { color: var(--ink-2); }
@media (max-width: 620px) { .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: 0; padding-bottom: 0; } }

/* ---------- Formulaire ---------- */
.form { display: flex; flex-direction: column; gap: var(--s3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s1); }
.field label { font-size: .9375rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input, .field select { height: 48px; }
.field textarea { resize: vertical; min-height: 160px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a4f46' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(49, 90, 59, .15); }
.field .invalid { border-color: var(--terra); }
.hp { position: absolute; left: -9999px; }
.form-error { margin: 0; color: var(--terra); font-size: .9375rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s1); }
.form-note { margin: 0; font-size: .875rem; color: var(--ink-3); }
.form-note a { color: inherit; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-success { background: var(--green-tint); border-radius: var(--r); padding: var(--s4); }
.form-success h2 { margin: 0 0 var(--s1); padding: 0; border: 0; font-size: 1.375rem; }
.form-success p { margin: 0; color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green); padding: var(--s6) 0 var(--s4); font-size: .9375rem; color: rgba(247, 245, 240, .78); }
.site-footer .logo, .site-footer .logo:hover { color: #f7f5f0; }
.site-footer .logo-text small { color: rgba(247, 245, 240, .65); }
.footer-top { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding-bottom: var(--s4); border-bottom: 1px solid rgba(247, 245, 240, .16); }
.footer-brand { max-width: 380px; }
.footer-brand p { margin: var(--s2) 0 0; }
.footer-nav { display: flex; gap: var(--s6); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }
.footer-title { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(247, 245, 240, .6); margin-bottom: 4px; }
.footer-col a { color: rgba(247, 245, 240, .88); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 620px) { .footer-nav { gap: var(--s4); } .footer-col { min-width: 140px; } }
.footer-note { margin: var(--s3) 0 0; font-size: .8125rem; color: rgba(247, 245, 240, .6); }
.table-note { font-size: .875rem; color: var(--ink-3); margin-top: calc(-1 * var(--s2)); }
.guides-2 { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.guides-2 .guide-img { aspect-ratio: 3 / 2; }
.guides-2 .guide h3 { font-size: 1.5rem; }
@media (max-width: 960px) { .guides-2 { gap: var(--s4); } .guides-2 .guide h3 { font-size: 1.3125rem; } }
@media (max-width: 620px) { .guides-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .verdict .btn { white-space: normal; max-width: 100%; text-align: center; } }
