/* ===== Finery Paper ===== */
:root {
  --bg: #f3eeea;
  --card: #ede7e2;
  --paper: #f6f2ee;
  --ink: #111111;
  --muted: #5f5a55;
  --line: #d6cfc8;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.5vw, 38px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.img-empty { width: 100%; height: 100%; min-height: 120px; background: var(--card); }

/* Petites capitales */
.kicker, .label-title, .crumbs, .pager, .main-nav a, .icon-link, .text-btn, .btn, .ptype,
.brand, .name, .where, .see-all, .more, .footer-col h4, .chip, .tags a {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em;
}
.kicker { font-size: 11px; color: var(--muted); }
.label-title { font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.rule { width: 28px; border: 0; border-top: 1px solid var(--ink); margin: 26px 0; }
.rule.short { margin: 14px 0 22px; }
.lede { font-size: 19px; line-height: 1.45; max-width: 22em; }

.btn {
  display: inline-block; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 500; padding: 14px 40px; transition: opacity .2s;
}
.btn:hover { opacity: .82; }

/* ===== En-tête ===== */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 20; }
.header-inner { display: flex; align-items: center; height: 74px; gap: 24px; }
.logo { font-family: var(--serif); font-size: 28px; letter-spacing: .01em; white-space: nowrap; }
.main-nav { display: flex; gap: clamp(22px, 4vw, 52px); margin: 0 auto; }
.main-nav a { font-size: 13px; letter-spacing: .1em; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 22px; min-width: 110px; justify-content: flex-end; }
.icon-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.menu-toggle { display: none; }

/* ===== Fil d'Ariane ===== */
.crumbs-row { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.crumbs, .pager { font-size: 11px; display: flex; gap: 14px; }
.crumbs span, .pager span { color: var(--muted); }
.pager .off { opacity: .4; }
.crumbs a:hover, .pager a:hover { text-decoration: underline; }

/* ===== Page edit : hero ===== */
.hero {
  display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 32px; align-items: start; padding-bottom: 30px;
}
.hero-intro { padding-top: 40px; }
.hero h1, .page-head h1, .home-hero h1 {
  font-weight: 400; font-size: clamp(48px, 5.4vw, 84px); line-height: .95;
  text-transform: uppercase; letter-spacing: -.01em; margin-top: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags a { font-size: 10.5px; border: 1px solid var(--line); padding: 5px 10px; }
.tags a:hover { border-color: var(--ink); }
.hero-actions { display: flex; gap: 30px; margin-top: 40px; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; }
.hero-image img { width: 100%; max-width: 620px; margin: 0 auto; mix-blend-mode: multiply; }

.hero-side { border-left: 1px solid var(--line); }
.why { padding: 20px 0 28px 20px; }
.why p { font-size: 15.5px; line-height: 1.6; margin-bottom: 14px; }
.why .btn { margin-top: 14px; }
.idea { border: 1px solid var(--line); border-left: 0; }
.idea .label-title { font-size: 12px; padding: 16px 20px; }
.idea-row {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px;
  padding: 10px 20px 10px 10px; border-top: 1px solid var(--line); transition: background .2s;
}
.idea-row:hover { background: var(--card); }
.idea-row img, .idea-row .img-empty { width: 70px; height: 70px; min-height: 0; object-fit: cover; mix-blend-mode: multiply; }
.idea-row strong { display: block; font: 500 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.idea-row em { font: 400 10.5px var(--sans); font-style: normal; color: var(--muted); }
.idea-row i { font-style: normal; }

/* ===== Sections ===== */
.section { padding-top: 30px; padding-bottom: 20px; }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.section-head .line { flex: 1; height: 1px; background: var(--line); }
.see-all { font-size: 11px; white-space: nowrap; }

/* Pièces */
.pieces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.piece { display: flex; flex-direction: column; }
.piece .thumb { background: var(--card); aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 12px; }
.piece .thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .4s; }
a.piece:hover .thumb img { transform: scale(1.04); }
.piece p { font-size: 11px; line-height: 1.6; }
.piece .ptype { color: var(--muted); font-size: 10px; margin-bottom: 2px; }
.piece .brand { font-weight: 500; }
.piece .meta { font-family: var(--sans); color: var(--muted); letter-spacing: .02em; }
.piece .where { font-size: 10.5px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
a.piece:hover .where { text-decoration: underline; }
.piece .where.muted { color: var(--muted); }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 26px; font-style: italic; }

/* Cartes edits */
.edits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.edit-card { border: 1px solid var(--line); background: var(--paper); transition: box-shadow .25s; }
.edit-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.edit-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
.edit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.edit-card:hover .edit-img img { transform: scale(1.03); }
.edit-body { padding: 16px 14px 18px; }
.edit-body h3 { font-weight: 400; font-size: 20px; text-transform: uppercase; margin: 4px 0 6px; }
.edit-body p:not(.kicker) { font-size: 14.5px; line-height: 1.45; min-height: 2.9em; }
.more { display: inline-block; font-size: 11px; margin-top: 16px; }

/* Accueil */
.home-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: 30px; padding-bottom: 30px; }
.home-hero-img { display: block; overflow: hidden; }
.home-hero-img img { width: 100%; max-height: 78vh; object-fit: contain; mix-blend-mode: multiply; }
.home-hero .btn { margin-top: 34px; }

/* En-têtes de pages */
.page-head { padding-top: 50px; padding-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { font-size: 11px; border: 1px solid var(--line); padding: 8px 16px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 80px var(--gutter); font-size: 19px; }
.empty a { text-decoration: underline; }

/* Adresses */
.adr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adr { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); padding: 22px 20px; transition: border-color .2s; }
.adr:hover { border-color: var(--ink); }
.adr h3 { font-weight: 400; font-size: 22px; text-transform: uppercase; margin: 6px 0 8px; }
.adr p:not(.kicker) { font-size: 15px; line-height: 1.45; flex: 1; }
.adr .more { text-transform: none; letter-spacing: .02em; }

/* Pages de texte (À propos, contact, mentions) */
.prose { max-width: 680px; padding-bottom: 60px; }
.prose h2 { font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .12em; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; margin-bottom: 14px; }
.prose ul { padding-left: 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .todo { background: #fff3c4; padding: 0 4px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.contact-links .btn { text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* ===== Pied de page ===== */
.site-footer { border-top: 1px solid var(--muted); margin-top: 40px; }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.newsletter h2 { font-weight: 400; font-size: 20px; text-transform: uppercase; }
.newsletter p { font-size: 14px; }
.nl-form { display: flex; gap: 8px; }
.nl-form input { width: 260px; padding: 12px 14px; border: 1px solid var(--line); background: #f8f5f2; font: 13px var(--sans); color: var(--ink); outline: none; }
.nl-form input:focus { border-color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.4fr; gap: 24px; padding-top: 26px; padding-bottom: 30px; }
.footer-brand .logo { font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; }
.footer-brand .copy { font: 10.5px var(--sans); text-transform: uppercase; letter-spacing: .06em; margin-top: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h4 { font-size: 10.5px; font-weight: 500; margin-bottom: 6px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { text-decoration: underline; }
.footer-feature { display: flex; align-items: center; gap: 14px; background: var(--card); overflow: hidden; }
.footer-feature img, .footer-feature .img-empty { width: 42%; aspect-ratio: 1; min-height: 0; object-fit: cover; mix-blend-mode: multiply; }
.footer-feature small { display: block; font: 10px var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.footer-feature small + small { margin-top: 12px; }
.footer-feature strong { font-weight: 400; text-transform: uppercase; font-size: 17px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1.4fr; }
  .hero-side { grid-column: 1 / -1; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .why { padding-left: 0; }
  .idea { border-left: 1px solid var(--line); }
  .pieces { grid-template-columns: repeat(3, 1fr); }
  .edits, .adr-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header-inner { height: 62px; }
  .logo { font-size: 22px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; order: -1; padding: 6px 0; }
  .menu-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav { position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; min-width: 0; }
  .icon-link .label { display: none; }
  .hero, .home-hero { grid-template-columns: 1fr; gap: 10px; }
  .hero-intro { padding-top: 10px; }
  .hero-actions { margin-top: 24px; }
  .hero-side { grid-template-columns: 1fr; }
  .crumbs-row { flex-direction: column; gap: 8px; }
  .page-head { padding-top: 30px; }
  .pieces { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .edits, .adr-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; align-items: stretch; }
  .nl-form input { flex: 1; width: auto; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-feature { grid-column: 1 / -1; }
}
