/* Style D — Comparateur chaleureux */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #EEF2EB;
  --bg-2: #DFE7DC;
  --card: #FFFFFF;
  --ink: #1E2420;
  --muted: #56645A;
  --line: #DCE3D9;
  --accent: #E0662C;
  --accent-dark: #B44A17;
  --accent-soft: #FFF1E8;
  --accent-line: #F6CDB5;
  --accent-on-dark: #F08A57;
  --good: #2F6B3A;
  --radius: 12px;
  --wrap: 1120px;
  --read: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--card); padding: 8px 12px; }
.is-soon { color: inherit; opacity: .6; } /* page pas encore en ligne : pas de lien */

/* ---------- En-tête ---------- */
.site-header { background: var(--ink); color: #fff; }
.header-row { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.logo { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.logo:hover { color: var(--accent-on-dark); }
.menu-btn { background: none; border: 0; padding: 12px 4px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }

.menu { background: var(--ink); border-top: 1px solid #333b35; padding: 8px 0 20px; }
.menu-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.menu-title { font-weight: 800; margin: 8px 0 4px; color: var(--accent-on-dark); }
.menu-title a { color: var(--accent-on-dark); text-decoration: none; }
.menu ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.menu li { padding: 4px 0; color: #C9D2CA; }
.menu a { color: #fff; text-decoration: none; }
.menu a:hover { text-decoration: underline; }

/* ---------- Onglets des silos ---------- */
.tabs { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.tabs-row { display: flex; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.tabs-row::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 6px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid #CDD8CA; color: #3A453D; font-size: 14px; font-weight: 600; text-decoration: none;
}
a.tab:hover { border-color: var(--accent); color: var(--ink); }
.tab.is-on { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; }

/* ---------- Fil d'Ariane ---------- */
.crumb { font-size: 14px; color: var(--muted); padding-top: 14px; padding-bottom: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.example-flag { margin-top: 8px; }
.example-flag { font-size: 13px; font-weight: 700; color: #7a1f1f; background: #fde2e2; border-radius: 8px; padding: 6px 12px; max-width: calc(var(--wrap) - 32px); }

/* ---------- Mise en page ---------- */
.layout { display: block; padding-bottom: 40px; }
.article { max-width: var(--read); }
.sidebar { display: none; }

@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: minmax(0, var(--read)) 260px; gap: 56px; justify-content: space-between; }
  .sidebar { display: block; }
  .toc-inline { display: none; }
}

/* ---------- Texte ---------- */
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin: 12px 0 8px; }
h2 { font-size: clamp(22px, 4.5vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin: 44px 0 14px; scroll-margin-top: 16px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 800; margin: 26px 0 8px; }
p { margin: 0 0 16px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Boutons et badges ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  padding: 13px 20px; border-radius: 10px; text-decoration: none; text-align: center;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.badge { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 6px; line-height: 1.6; }
.badge b { color: var(--accent-on-dark); }

/* ---------- Réponse en haut ---------- */
.verdict { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.verdict > p { margin: 10px 0 14px; }
.verdict-alt { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--accent-line); font-size: 15px; }
.verdict-alt li { padding: 2px 0; }

/* ---------- Sommaire ---------- */
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.toc summary, .toc-title { font-weight: 800; cursor: pointer; margin: 0; }
.toc ol { margin: 10px 0 0; padding-left: 20px; font-size: 15px; }
.toc li { padding: 3px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.toc-side { position: sticky; top: 20px; margin-top: 24px; }
.side-sticky { position: sticky; top: 20px; margin-top: 24px; }
.side-sticky .toc-side { position: static; margin-top: 0; }
.side-promo { margin-top: 18px; padding: 0 4px; font-size: 13px; color: var(--muted); }
.side-promo-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.side-promo > a { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; line-height: 1.35; }
.side-promo > a:hover span { text-decoration: underline; }
.side-promo img { width: 48px; height: auto; flex: none; border-radius: 3px; }
.side-promo-note { margin: 8px 0 0; font-size: 12px; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 700; padding: 10px 12px; white-space: normal; line-height: 1.25; vertical-align: bottom; }
.compare td, .compare tbody th { padding: 11px 12px; border-top: 1px solid var(--line); text-align: left; }
.compare tbody th { font-weight: 600; }
.compare tbody th a { color: var(--ink); }
.compare tr.is-best td, .compare tr.is-best th { background: var(--accent-soft); font-weight: 700; }
.compare td:last-child a { font-weight: 700; white-space: nowrap; }
.btn-sm { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.compare td.cell-cta { text-align: right; padding-left: 6px; }
.compare td.cell-cta .btn-sm { white-space: normal; display: inline-block; max-width: 8.5em; line-height: 1.25; text-align: center; padding: 8px 10px; }
.compare td, .compare tbody th { padding: 10px 10px; }
.compare td.cell-cta a.btn { color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 639px) {
  .table-cards { overflow: visible; border: 0; background: none; }
  .table-cards .compare { min-width: 0; }
  .table-cards .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cards .compare, .table-cards .compare tbody, .table-cards .compare tr, .table-cards .compare th, .table-cards .compare td { display: block; }
  .table-cards .compare tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 12px; overflow: hidden; }
  .table-cards .compare tbody th { border-top: 0; font-size: 17px; }
  .table-cards .compare td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; }
  .table-cards .compare td::before { content: attr(data-label); color: var(--muted); font-weight: 400; }
  .table-cards .compare td.cell-cta { display: block; padding: 12px; }
  .table-cards .compare td.cell-cta::before { content: none; }
  .table-cards .compare td.cell-cta a.btn { display: block; }
}

/* ---------- Encadré produit ---------- */
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(30,36,32,.06); scroll-margin-top: 16px; }
.product-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.product-img { width: 76px; height: 76px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.product-img .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.product-img.product-photo { background: #fff; padding: 6px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-img.product-photo .icon { display: none; }
.product h3 { margin: 0 0 4px; font-size: 19px; }
.product .badge { margin-bottom: 6px; }
.product-who { font-size: 15px; color: var(--muted); margin: 0; }
.product-who strong { color: var(--ink); }
.product-cols { display: grid; grid-template-columns: 1fr; gap: 12px; font-size: 15px; margin-bottom: 16px; }
@media (min-width: 480px) { .product-cols { grid-template-columns: 1fr 1fr; } }
.col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.pros .col-title { color: var(--good); }
.cons .col-title { color: var(--accent-dark); }
.product ul { list-style: none; margin: 0; padding: 0; }
.product li { position: relative; padding-left: 22px; margin-bottom: 4px; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.cons li::before { content: "–"; position: absolute; left: 2px; color: var(--accent-dark); font-weight: 800; }
.product .btn { display: block; }
.product-more { margin: 10px 0 0; text-align: center; font-size: 15px; }
.spec-list { columns: 2 260px; column-gap: 32px; padding-left: 18px; }
.spec-list li { break-inside: avoid; margin-bottom: 6px; }
.who-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-grid h3 { margin-top: 0; }

/* ---------- Encadré info ---------- */
.callout { background: var(--bg-2); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; }
.callout-title { font-weight: 800; margin-bottom: 4px; }
.callout p:last-child { margin-bottom: 0; }
/* Encadré « Pour aller plus loin » (affiliation hors Amazon : ebook) */
.ebook { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-2); border-radius: var(--radius); padding: 18px; margin: 16px 0 20px; }
.ebook-cover { flex: none; width: 110px; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(30,36,32,.25); }
.ebook-body > :first-child { margin-top: 0; }
.ebook-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 479px) { .ebook { flex-direction: column; } .ebook-cover { width: 140px; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { font-weight: 700; padding: 14px 44px 14px 18px; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 14px; margin: 0; }

/* ---------- À lire aussi ---------- */
.related { margin-top: 48px; }
.related h2 { margin-top: 0; }
.related-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.4; }
a.related-card:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C9D2CA; font-size: 15px; padding: 36px 0 24px; margin-top: 24px; border-top: 4px solid var(--accent); }
.footer-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 24px; }
.footer-title { font-weight: 800; color: #fff; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-on-dark); text-decoration: underline; }
/* Mention d'affiliation : discrète mais lisible (contraste suffisant, jamais cachée) */
.affiliate-notice { font-size: 13px; color: #AEB9B0; border-top: 1px solid #39423B; padding-top: 16px; margin: 0 0 6px; }
.copy { font-size: 13px; color: #AEB9B0; margin: 0; }

/* ---------- Pages de rubrique et accueil ---------- */
.hub { padding-bottom: 48px; }
.hub-intro { max-width: var(--read); color: var(--muted); }
.hub-group { margin-top: 32px; }
.hub-group h2 { margin: 0 0 12px; font-size: 22px; }
.hub-main {
  display: block; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius);
  padding: 14px 18px; font-weight: 800; color: var(--ink); text-decoration: none; margin-bottom: 10px;
}
a.hub-main:hover { border-color: var(--accent); color: var(--accent-dark); }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hub-list { grid-template-columns: 1fr 1fr; } }
.hub-list li > * { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.hub-list a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Accueil ---------- */
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); flex: none; }
.ico-lg { width: 44px; height: 44px; }
.ico-lg .icon { width: 26px; height: 26px; }

.home-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } .home-hero { padding: 64px 0; } }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.home-hero h1 { font-size: clamp(32px, 7vw, 52px); margin: 0 0 14px; }
.hero-lead { font-size: 18px; color: #3A453D; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-ghost { display: inline-block; padding: 12px 18px; border-radius: 10px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; }
a.btn-ghost:hover { background: var(--ink); color: #fff; }
span.btn-ghost { border-color: #9AA69C; }

.home-section { padding-top: 48px; }
.home-section h2 { margin: 0 0 6px; }
main#contenu > .home-section:last-child { padding-bottom: 56px; }

/* Colonnes façon presse : filet noir au-dessus, pas de carte */
.needs { display: grid; grid-template-columns: 1fr; gap: 0 28px; margin: 16px 0 0; }
@media (min-width: 640px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .needs { grid-template-columns: repeat(4, 1fr); } }
.need { border-top: 2px solid var(--ink); padding: 14px 0 22px; }
.need dt { font-weight: 800; font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.need dd { margin: 0; color: #3A453D; font-size: 16px; }
.need dd a { font-weight: 600; }

/* Accueil : bloc de saison à droite du bandeau */
.season { background: var(--card); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(30,36,32,.08); }
.season-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.season h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.season-chapo { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.season ul { list-style: none; margin: 0; padding: 0; }
.season li a { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); text-decoration: none; font-size: 14.5px; color: var(--muted); }
.season li strong { display: block; color: var(--ink); font-size: 16px; }
.season li a:hover strong { color: var(--accent-dark); text-decoration: underline; }
.season-ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.season-more { margin: 10px 0 0; font-size: 14.5px; }

/* Accueil : tuiles de rubriques (inspiration accueil Amazon, sans images produit) */
.tiles-wrap { max-width: 1280px; margin: 0 auto; padding: 28px 16px 0; }
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: 1.5fr repeat(4, 1fr); } .tile-big { grid-row: span 2; } }
.tile { border-radius: 16px; padding: 18px; display: flex; flex-direction: column; min-height: 220px; }
.tile-title { font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.tile-big .tile-title { font-size: clamp(30px, 3.4vw, 42px); }
.tile-title a { color: inherit; text-decoration: none; }
.tile-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.tile-sub { margin: -6px 0 12px; font-size: 15px; opacity: .85; }
.tile-minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.tile-mini { background: #fff; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.25; min-height: 96px; }
.tile-big .tile-mini { min-height: 150px; font-size: 16px; padding: 16px; }
.tile-mini:hover { box-shadow: 0 0 0 2px var(--ink) inset; }
.tile-mini .icon { width: 30px; height: 30px; color: var(--accent); }
.tile-big .tile-mini .icon { width: 44px; height: 44px; }
.tile-vert { background: #D8EBC4; }
.tile-bleu { background: #CFE4F6; }
.tile-sable { background: #F2E5D3; }
.tile-foret { background: #2F4A3A; color: #fff; }
.tile-encre { background: var(--ink); color: #fff; }
.tile-blanc { background: var(--card); border: 1px solid var(--line); min-height: 0; }
.tile-blanc .tile-title { font-size: 20px; }
.tile-head { display: flex; align-items: center; gap: 10px; }
.tile-head .ico { color: var(--accent); }
.tile-bigico { color: var(--accent-on-dark); margin-bottom: 8px; }
.tile-bigico .icon { width: 56px; height: 56px; }
.tile-list { list-style: none; margin: auto 0 0; padding: 0; }
.tile-list li { padding: 7px 0; border-top: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15.5px; }
.tile-list a { color: #fff; text-decoration: none; }
.tile-list a:hover { text-decoration: underline; }
.tile-links { list-style: none; margin: auto 0 0; padding: 0; font-size: 15px; }
.tile-links li { padding: 5px 0; border-top: 1px solid var(--line); }

/* Accueil : guides par rubrique, cartes blanches (style de la première version) */
.home-index { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 640px) { .home-index { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .home-index { grid-template-columns: repeat(4, 1fr); } }
.home-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.home-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.home-card h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.home-card h3 a { color: var(--ink); text-decoration: none; }
.home-card h3 a:hover { color: var(--accent-dark); }
.home-card > p { font-size: 15px; color: var(--muted); }
.home-card ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.home-card li { padding: 7px 0; border-top: 1px solid var(--line); }
.home-card li a { font-weight: 600; }

/* Accueil : « Nos choix », 4 produits */
.home-intro { margin: 0; color: var(--muted); font-size: 16px; }
.picks { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 640px) { .picks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .picks { grid-template-columns: repeat(4, 1fr); } }
.pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.pick-photo { height: 150px; margin: -6px -6px 12px; padding: 10px; background: #fff; border-radius: 10px; display: grid; place-items: center; }
.pick-photo img { display: block; max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; }
.pick-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pick-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pick-need { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-dark); }
.pick h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.pick h3 a { color: var(--ink); text-decoration: none; }
.pick h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.pick-for { margin: 0 0 8px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.pick-plus { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
.pick-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.pick-plus strong { font-weight: 700; }

/* Accueil : rangée défilante « Les plus lus » */
.tiles-wrap.home-section { padding-top: 40px; }
.scroll-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin-top: 12px; }
.scroll-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.scroll-card:hover { border-color: var(--ink); }
.scroll-card .tag { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); }
.scroll-card .tag .icon { width: 16px; height: 16px; }
.scroll-card strong { font-size: 17px; line-height: 1.3; }

.trust { background: var(--ink); color: #DDE4DE; border-radius: 16px; padding: 28px 24px; }
.trust h2 { color: #fff; }
.trust p:last-child { margin-bottom: 0; }
.trust a { color: var(--accent-on-dark); }
.trust .is-soon { color: #8E9A90; }

/* Menu : le titre « Par où commencer ? » n'a pas de liste */
.menu-title .is-soon, .menu .is-soon { color: #8E9A90; opacity: 1; }

/* ---------- Pages obligatoires ---------- */
.page-simple { padding-bottom: 56px; }
.page-simple h2 { margin-top: 36px; }
.contact-mail { font-size: 20px; font-weight: 800; }

/* ---------- Étapes et sources ---------- */
.steps { padding-left: 22px; margin: 0 0 16px; }
.steps li { margin-bottom: 8px; padding-left: 4px; }
kbd { font: inherit; font-size: .88em; font-weight: 600; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--card); white-space: nowrap; }
.sources { margin-top: 40px; font-size: 14px; color: var(--muted); }
.sources h2 { font-size: 18px; margin: 0 0 8px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { margin-bottom: 4px; }

/* ---------- Bannière cookies : en bas, sans couvrir le texte ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); color: #E6ECE7; border-top: 3px solid var(--accent); padding: 12px 0; font-size: 14px; }
.cookie-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.cookie-row p { margin: 0; flex: 1 1 320px; }
.cookie-row a, .cookie-row span { color: #fff; }
.cookie-actions { display: flex; gap: 8px; }
.btn-cookie { font: inherit; font-weight: 700; padding: 9px 18px; border-radius: 10px; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.btn-cookie:hover { background: #fff; color: var(--ink); }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; }

/* ---------- Packs (rubrique Setups) ---------- */
.pack-list { margin: 12px 0 16px; padding-left: 22px; }
.pack-list li { margin-bottom: 4px; }
.pack-role { margin: 32px 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Note « gardez cette page en favori » (fin d'article) */
.bookmark-note { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0 0; padding: 12px 14px; background: var(--card); border: 1px dashed var(--line); border-radius: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.bookmark-note .icon { flex: none; color: var(--accent); margin-top: 2px; }
.bookmark-note strong { color: var(--ink); white-space: nowrap; }

/* Newsletter (pied de page et fin d'article) */
.newsletter { margin: 0; }
.newsletter-title { font-weight: 800; margin: 0 0 4px; }
.newsletter-text { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; }
.newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-row input { flex: 1 1 200px; min-width: 0; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); font: inherit; font-size: 15px; }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 13px; line-height: 1.45; }
.newsletter-consent input { margin-top: 3px; }
.newsletter-msg { margin: 8px 0 0; font-weight: 600; font-size: 15px; }
.newsletter--article { margin: 28px 0 0; padding: 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px; }
.newsletter--article .newsletter-text, .newsletter--article .newsletter-consent { color: var(--muted); }
.newsletter--footer .newsletter-title { color: #fff; }
.newsletter--footer .newsletter-row input { border-color: #3A453D; background: #2A322D; color: #fff; }
.newsletter--footer .newsletter-row input::placeholder { color: #8E9A90; }
.newsletter--footer .newsletter-consent a { text-decoration: underline; }
.newsletter--footer .newsletter-msg { color: var(--accent-on-dark); }
@media (min-width: 900px) { .footer-newsletter { grid-column: span 2; } }
.newsletter-row .btn { border: 0; }

/* ---------- Quiz (includes/quiz.php) ---------- */
.quiz { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 24px; }
.quiz-q { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.quiz-q legend { font-weight: 800; font-size: 17px; line-height: 1.35; padding: 0; margin-bottom: 10px; }
.quiz-num { display: inline-block; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-option { position: relative; cursor: pointer; }
.quiz-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz-option span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 600; transition: border-color .15s, background .15s; }
.quiz-option:hover span { border-color: var(--ink); }
.quiz-option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-error { color: var(--accent-dark); font-weight: 700; font-size: 15px; }
.quiz-result:focus { outline: none; }
.quiz-result-title { margin-top: 0; }
.quiz-intro { color: var(--muted); font-size: 15px; }
.quiz-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.quiz-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--card); }
.quiz-list:not(.quiz-list-more) .quiz-card:first-child { border: 2px solid var(--accent); background: var(--accent-soft); }
.quiz-rank { margin: 0 0 2px; font-size: 13px; font-weight: 800; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .04em; }
.quiz-rank:empty { display: none; }
.quiz-name { margin: 0 0 8px; font-size: 19px; }
.quiz-why { margin: 0 0 10px; padding-left: 20px; font-size: 15px; }
.quiz-why li { margin-bottom: 2px; }
.quiz-who { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.quiz-fiche { font-size: 15px; font-weight: 600; }
.quiz-more-title { font-weight: 800; margin: 8px 0 10px; }
.quiz-list-more .quiz-card { padding: 14px; }
.quiz-list-more .quiz-name { font-size: 17px; }
.quiz-note { font-size: 14px; color: var(--muted); }
button.btn, button.btn-ghost { font-family: inherit; cursor: pointer; border: 0; }
button.btn-ghost { background: none; border: 2px solid var(--ink); }
button.btn-ghost:hover { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { .quiz-option span { transition: none; } }

/* ---------- Carrousel des quiz (accueil) ---------- */
.tile-orange { background: #F8DCC7; }
.qc-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.qc-head h2 { margin: 0; }
.qc-nav { display: flex; gap: 8px; flex: none; }
.qc-nav[hidden] { display: none; }
.qc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: 700 18px/1 inherit; cursor: pointer; display: grid; place-items: center; }
.qc-arrow:hover { background: var(--ink); color: #fff; }
.qc-arrow:focus-visible, .qc-dot:focus-visible, .qc-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.qc-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; }
.qc-track::-webkit-scrollbar { display: none; }
.qc-slide { flex: 0 0 88%; scroll-snap-align: start; border-radius: 16px; padding: 24px 22px; display: grid; gap: 22px; align-items: center; }
.qc-js .qc-slide { flex-basis: 100%; }
@media (min-width: 760px) {
  .qc-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding: 36px 40px; gap: 40px; }
  .qc-slide { flex-basis: 70%; }
  .qc-js .qc-slide { flex-basis: 100%; }
}
.qc-art { background: var(--card); border-radius: 14px; padding: 18px; box-shadow: 0 10px 30px rgba(30,36,32,.10); position: relative; }
.qc-ico { position: absolute; top: -16px; right: 16px; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.qc-ico .icon { width: 26px; height: 26px; }
.qc-q { font-weight: 800; font-size: 15px; line-height: 1.35; margin: 0 52px 12px 0; }
.qc-q span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.qc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.qc-chips li { padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 13.5px; font-weight: 600; }
.qc-chips li.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.qc-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: .7; }
.qc-title { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 10px; }
.qc-lead { font-size: 16px; margin: 0 0 18px; max-width: 46ch; }
.qc-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.qc-dots[hidden] { display: none; }
.qc-dot { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.qc-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 1.5px solid var(--muted); transition: width .2s; }
.qc-dot[aria-current="true"]::before { width: 26px; border-radius: 6px; background: var(--ink); border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .qc-dot::before { transition: none; } }

/* ---------- Bannière d'accueil avec photo ---------- */
.has-photo { position: relative; overflow: hidden; padding-top: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 55% 60%; margin-bottom: 24px; }
@media (min-width: 900px) {
  .has-photo { padding: 88px 0; }
  .hero-photo { position: absolute; inset: 0; }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: 50% 58%; margin: 0; }
  .has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(223,231,220,.96) 0%, rgba(223,231,220,.9) 42%, rgba(223,231,220,.55) 53%, rgba(223,231,220,0) 64%); }
  .has-photo .hero-grid { position: relative; z-index: 2; }
}
