:root{
  --mx: 1100px;
  --gap: 16px;
  --radius: 14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background-color: bisque;}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#222; background:bisque;
}
.container{max-width:var(--mx); margin:0 auto; padding:0 16px}
/* Top bar */
.topbar{border-bottom:1px solid #eee; background:#000000; position:sticky; top:0; z-index:10; color: white;}
.bar{display:flex; align-items:center; justify-content:space-between; padding:12px 0;color: white;}
.brand{font-weight:700}
.langs{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.langs a{color:#ffffff; text-decoration:none}
.langs a:hover{text-decoration:underline}
.muted{color:#888}

/* Hero */
.hero{padding:12px 0; background:bisque}
.hero h1{margin:0 0 3px}
.hero p{margin:0; color:#666}

/* Grid livres */
.books{
  display:grid;
  gap:var(--gap);
  background-color: bisque;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  padding:24px 0 40px;
  text-align: center;
}
.book{
  display:flex; flex-direction:column; gap:10px;
  border:1px solid #eee; border-radius:var(--radius);
  padding:12px; text-decoration:none; color:inherit;
  background:bisque; transition:transform .08s ease, box-shadow .08s ease;
  text-align: center;
}
.book:hover{transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.06)}
.cover{
  width:100%;
  aspect-ratio:3/4;            /* garde la place: évite le “clignote” */
  overflow:hidden; border-radius:12px;
  background:#fafafa
}
.cover img{
  width:100%; height:100%; display:block;
}
.title{font-size:14px; line-height:1.3; margin:10px}
.btn{
  margin-top:auto; display:inline-block; text-align:center;
  padding:8px 10px; border-radius:10px; background:#0d6efd; color:#fff; font-size:13px;
}

/* Footer */
.footer{border-top:1px solid #eee; padding:18px 0; background:#fff}
.foot{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.footer a{color:#0d6efd; text-decoration:none}
.footer a:hover{text-decoration:underline}
