/* meubledebureau.com — design system
   Base neutre du mockup Claude Design + palette enrichie (bleu vif, ambre, vert occasion) */

:root {
  --ink: #16181c;
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e4e1db;
  --border-soft: #eeebe5;
  --muted: #61656d;
  --text-soft: #4a4e56;
  --text-body: #2b2e34;

  --blue: oklch(0.52 0.16 235);
  --blue-dark: oklch(0.40 0.15 235);
  --blue-tint: oklch(0.96 0.03 235);

  --amber: oklch(0.70 0.16 55);
  --amber-dark: oklch(0.55 0.16 50);
  --amber-tint: oklch(0.96 0.04 55);

  --green: oklch(0.62 0.13 150);
  --green-dark: oklch(0.48 0.12 150);
  --green-tint: oklch(0.95 0.035 150);

  --radius: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 14px 34px -22px rgba(22, 24, 28, 0.28);
  --ease: 160ms cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue-dark); text-decoration: underline; }

h1, h2, h3 { font-family: 'Bitter', Georgia, serif; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.kicker {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 68px; display: flex; align-items: center; gap: 40px;
}
.logo {
  font-family: 'Bitter', Georgia, serif; font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
}
.logo span { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.main-nav a { color: var(--text-soft); }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a.current { color: var(--blue); }
.search-box {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  background: #f4f2ee; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 12px; width: 220px;
}
.search-box input {
  border: 0; background: transparent; outline: none;
  font-family: 'Archivo', sans-serif; font-size: 13.5px; color: var(--ink); width: 100%;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -14px oklch(0.52 0.16 235 / 0.55); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-amber { background: var(--amber); color: #241a08; box-shadow: 0 10px 24px -14px oklch(0.70 0.16 55 / 0.55); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }
.btn-green { background: var(--green); color: #06210f; box-shadow: 0 10px 24px -14px oklch(0.62 0.13 150 / 0.5); }
.btn-green:hover { background: var(--green-dark); color: #fff; }

/* hero */
.hero {
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, oklch(0.52 0.16 235 / 0.16), transparent 65%),
              radial-gradient(circle at 70% 70%, oklch(0.70 0.16 55 / 0.14), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

/* theme cards */
.theme-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.theme-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.theme-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent, var(--blue)); }
.theme-card .stripe { height: 6px; background: var(--accent, var(--blue)); }
.theme-card .thumb {
  height: 112px; background: repeating-linear-gradient(115deg, #f1efea 0 10px, #f7f5f1 10px 20px);
  border-bottom: 1px solid var(--border-soft);
}
.theme-card .body { padding: 18px 20px 20px; }
.theme-card .title { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 17.5px; margin-bottom: 8px; }
.theme-card .desc { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.theme-card .count { font-family: ui-monospace, monospace; font-size: 11px; color: var(--accent, var(--blue)); font-weight: 600; }

/* badges */
.badge {
  display: inline-flex; padding: 4px 10px; border-radius: 100px;
  font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  font-weight: 600;
}
.badge-pro { background: var(--blue-tint); color: var(--blue-dark); }
.badge-particulier { background: var(--amber-tint); color: var(--amber-dark); }
.badge-occasion { background: var(--green-tint); color: var(--green-dark); }

/* article cards */
.article-row {
  display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit;
}
.article-row:hover { text-decoration: none; }
.article-row .thumb { height: 88px; border-radius: 6px; background: repeating-linear-gradient(115deg, #f1efea 0 10px, #f7f5f1 10px 20px); }
.article-row .cat { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); margin-bottom: 7px; }
.article-row .title { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 7px; }
.article-row .excerpt { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ad placeholder — masqué tant que le compte AdSense n'est pas actif. Retirer cette ligne pour les réafficher. */
.ad-slot { display: none !important; }
.ad-slot {
  border: 1px dashed #cfccc4; border-radius: 4px;
  background: repeating-linear-gradient(135deg, #f4f2ee 0 8px, #faf9f7 8px 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em;
  color: #8b8f97; text-transform: uppercase;
}

/* article page */
.article-body p { font-size: 16.5px; line-height: 1.72; color: var(--text-body); margin: 0 0 18px; }
.article-body h2 { font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 14px; scroll-margin-top: 92px; }
.article-body ul { font-size: 16.5px; line-height: 1.75; color: var(--text-body); padding-left: 20px; }
.article-body blockquote {
  margin: 0 0 26px; padding: 20px 24px; background: var(--blue-tint);
  border-left: 3px solid var(--blue); border-radius: 0 6px 6px 0;
}
.article-body blockquote.amber { background: var(--amber-tint); border-left-color: var(--amber); }
.article-body blockquote.green { background: var(--green-tint); border-left-color: var(--green); }
.article-body table-block { display: block; }
.toc a { padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 13.5px; color: var(--text-soft); display: block; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); text-decoration: none; }

/* directory */
.filter-chip {
  font-family: Archivo, sans-serif; font-size: 13px; font-weight: 500; padding: 8px 13px;
  border-radius: 100px; cursor: pointer; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-soft); transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.filter-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.store-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 16px 18px; cursor: pointer; transition: border-color var(--ease), box-shadow var(--ease);
}
.store-card:hover { border-color: var(--blue); }
.store-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

footer.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: auto; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .search-box { display: none; }
  .wrap, .site-header .bar { padding-left: 20px; padding-right: 20px; }
}
