/*
 * Thème « Comptoir » : le café du coin. Crème et vert ardoise, bordeaux de banquette réservé aux
 * boutons d'achat, liseré de zinc. Young Serif pour les titres, Figtree pour le texte.
 * Signature : l'ardoise de l'accueil, écrite comme une carte de bistrot, qui mène à chaque rubrique.
 */

:root {
    --bg: #fbf6ec;
    --surface: #f2e9d6;
    --ink: #1c2a23;
    --muted: #4c5850;
    --line: #dacdb3;
    --ardoise: #1f2b25;
    --craie: #f1ede2;
    --zinc: linear-gradient(180deg, #d9dcd8 0%, #aeb3ad 45%, #c9ccc6 100%);
    --bordeaux: #8a2c22;
    --accent: #1f5a43;
    --buy-bg: #8a2c22;
    --buy-ink: #ffffff;

    --font-body: "Figtree", system-ui, sans-serif;
    --font-display: "Young Serif", Georgia, serif;
    --font-meta: "Figtree", system-ui, sans-serif;

    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 20px;
}

h1, h2, h3 { font-weight: 400; }

/* ---------- En-tête ---------- */

.site-header { border-bottom: 6px solid transparent; border-image: var(--zinc) 1; }
.brand__mark { width: 34px; height: 22px; margin-left: 9px; border-radius: 0 0 14px 14px; background: var(--ink); position: relative; }
.brand__mark::after { content: ""; position: absolute; left: -9px; top: 3px; width: 8px; height: 10px; border: 3px solid var(--ink); border-right: 0; border-radius: 8px 0 0 8px; }
.brand__name { font-weight: 400; font-size: 1.35rem; }
.site-nav a { font-weight: 600; }
.site-nav a[aria-current] { color: var(--bordeaux); text-decoration-color: var(--bordeaux); }

/* ---------- Accueil ---------- */

.hero { display: grid; gap: 36px; align-items: center; padding-top: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.06; }
.hero__lede { font-size: 1.2rem; line-height: 1.55; margin: 22px 0 0; max-width: 40ch; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 30px 0 0; }
.hero__secondary { color: var(--accent); font-weight: 700; }

.slate {
    background: var(--ardoise); color: var(--craie); border-radius: var(--radius-m);
    padding: clamp(24px, 4vw, 36px); border: 10px solid #8b6a47;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
    transform: rotate(-1.2deg);
}
.slate__title { font-family: var(--font-display); font-size: 1.9rem; text-align: center; margin: 0 0 6px; }
.slate__sub { text-align: center; margin: 0 0 18px; font-size: 0.9rem; opacity: 0.75; font-style: italic; }
.slate__list { list-style: none; margin: 0; padding: 0; }
.slate__item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 1.05rem; }
.slate__item::after { content: none; }
.slate__drink { font-family: var(--font-display); white-space: nowrap; }
.slate__dots { flex: 1; border-bottom: 2px dotted rgba(241, 237, 226, 0.5); transform: translateY(-4px); min-width: 20px; }
.slate__item a, .slate__item span.slate__target { color: var(--craie); white-space: nowrap; font-weight: 600; text-decoration-color: rgba(241, 237, 226, 0.5); }
.slate :focus-visible { outline-color: var(--craie); }

.section-title { text-align: center; }
.section-title::after { content: "☕"; display: block; font-size: 1rem; margin-top: 10px; opacity: 0.6; }

.featured { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .featured { grid-template-columns: repeat(3, 1fr); } }
.featured__item { background: var(--surface); border-radius: var(--radius-l); padding: 26px; border-top: 6px solid var(--bordeaux); }
.featured__silo { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bordeaux); }
.featured__link { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.featured__link:hover { text-decoration: underline; }
.featured__text { margin: 10px 0 0; color: var(--muted); }

.silos { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; }
.silos__item { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.silos__link { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.silos__link:hover { color: var(--bordeaux); text-decoration: underline; }
.silos__text { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

.home-method { text-align: center; }
.home-method__text { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; max-width: 56ch; margin: 0 auto; }

/* ---------- Pages ---------- */

.article__title, .hub__title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; }
.breadcrumb ol { font-weight: 600; }
.breadcrumb a { color: var(--accent); }

.toc { background: var(--ardoise); color: var(--craie); border-radius: var(--radius-m); padding: 20px 22px; }
.toc__title { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.toc a { color: var(--craie); }
.toc :focus-visible { outline-color: var(--craie); }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); }
.prose h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; }
.prose ol > li::marker { font-family: var(--font-display); color: var(--bordeaux); }
.table-wrap { border-radius: var(--radius-m); background: var(--surface); }
.prose thead th { background: var(--ardoise); color: var(--craie); font-weight: 700; }
.prose th, .prose td { border-bottom-color: var(--line); }

.product { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 32px); box-shadow: 0 6px 0 var(--surface); }
.product__brand { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--accent); }
.prose .product__name, .product__name { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
.product__pros .product__list-title { color: var(--accent); }
.product__cons .product__list-title { color: var(--bordeaux); }
.button { border-radius: var(--radius-s); font-weight: 800; letter-spacing: 0.01em; }
.button:hover { filter: none; background: #a3362a; }

.picks { background: var(--surface); border: 0; border-radius: var(--radius-l); padding: 24px 26px; }
.picks__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.pick + .pick { border-top: 1px dashed #c9b993; }
.pick::before { font-family: var(--font-display); font-weight: 400; color: var(--bordeaux); font-size: 1.8rem; }

.entry { border-top: 1px dashed var(--line); }
.entry__link { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.entry__link:hover { color: var(--bordeaux); }

.related { border-top: 1px dashed var(--line); }
.site-footer { background: var(--ardoise); color: #cfd3cc; border-top: 6px solid transparent; border-image: var(--zinc) 1; }
.site-footer__inner { color: #cfd3cc; }
.site-footer__about strong { color: var(--craie); font-family: var(--font-display); font-weight: 400; }
.site-footer :focus-visible { outline-color: var(--craie); }
