/* =========================================================
   BROOTHER — Feuille de style des pages statiques
   (pages produits, guide, FAQ)
   Reprend la charte du site : fond #0A0A0A, crème #F5EFE0,
   texte #C9C2B5, discret #6E685E, cartes #141414.
   Polices : Playfair Display + Inter (Google Fonts).
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0A0A0A;
  color: #C9C2B5;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; }

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  color: #F5EFE0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; margin: 56px 0 16px; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: 36px 0 12px; }
p  { margin: 0 0 16px; font-size: 16px; }
a  { color: #F5EFE0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid #262626;
}
.site-header .wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 46px; filter: invert(96%) sepia(11%) saturate(330%) hue-rotate(355deg) brightness(102%) contrast(94%); }
.brand span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; letter-spacing: 0.06em; color: #F5EFE0; }
.main-nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.main-nav a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: #C9C2B5; text-decoration: none; padding: 6px 0; transition: color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #F5EFE0; }

/* ---------- Layout ---------- */
.page { max-width: 880px; margin: 0 auto; padding: 80px 24px 120px; }
.page-wide { max-width: 1280px; margin: 0 auto; padding: 80px 24px 120px; }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #6E685E; margin: 0 0 18px;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #C9C2B5; max-width: 640px; }
.muted { color: #6E685E; font-size: 13px; }
.breadcrumb { font-size: 13px; color: #6E685E; margin: 0 0 32px; }
.breadcrumb a { color: #C9C2B5; text-decoration: none; }
.breadcrumb a:hover { color: #F5EFE0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .2s, background .2s; border: 1px solid transparent;
}
.btn-cream { background: #F5EFE0; color: #0A0A0A; }
.btn-cream:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #F5EFE0; border-color: #F5EFE0; }
.btn-ghost:hover { background: rgba(245,239,224,0.08); }

/* ---------- Cartes & encadrés ---------- */
.card {
  background: #141414; border: 1px solid #262626; border-radius: 12px;
  padding: 32px;
}
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: #262626; border: 1px solid #262626; border-radius: 12px;
  overflow: hidden; margin: 28px 0;
}
.spec { background: #141414; padding: 20px; text-align: center; }
.spec .k { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: #6E685E; }
.spec .v { font-family: 'Playfair Display', serif; font-size: 26px; color: #F5EFE0; margin-top: 6px; }

/* ---------- Tableaux (lisibles par Google & les IA) ---------- */
table {
  width: 100%; border-collapse: collapse; margin: 24px 0 32px;
  font-size: 15px;
}
caption { text-align: left; font-size: 13px; color: #6E685E; padding-bottom: 10px; }
th, td { padding: 14px 16px; border: 1px solid #262626; text-align: left; vertical-align: top; }
th { background: #141414; color: #F5EFE0; font-weight: 600; }
td { color: #C9C2B5; }

/* ---------- FAQ ---------- */
details.faq {
  border: 1px solid #262626; border-radius: 12px; background: #141414;
  padding: 0; margin: 0 0 12px; overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 19px; color: #F5EFE0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 24px; color: #6E685E; flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 24px 22px; font-size: 15px; }

/* ---------- Grille de bières / articles ---------- */
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px;
}
.beer-card {
  display: flex; flex-direction: column; border-radius: 4px; overflow: hidden;
  text-decoration: none; border: 1px solid #262626;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.beer-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6); }
.beer-card .visual { aspect-ratio: 1/1; position: relative; overflow: hidden; }
.beer-card .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beer-card .body { background: #0A0A0A; padding: 24px; border-top: 1px solid #262626; }
.beer-card .name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; color: #F5EFE0; }
.beer-card .tag { font-size: 14px; color: #C9C2B5; margin-top: 8px; }
.article-card {
  display: block; background: #141414; border: 1px solid #262626; border-radius: 12px;
  padding: 28px; text-decoration: none; transition: border-color .2s;
}
.article-card:hover { border-color: #F5EFE0; }
.article-card h3 { margin: 0 0 10px; }
.article-card p { font-size: 14px; margin: 0; color: #C9C2B5; }
.article-card .k { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: #6E685E; }

/* ---------- Hero produit ---------- */
.product-hero {
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 48px; align-items: center; margin-bottom: 40px;
}
@media (max-width: 760px) { .product-hero { grid-template-columns: 1fr; } }
.product-visual { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #262626; padding: 80px 0 32px; }
.site-footer .wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px;
}
.site-footer h4 {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #F5EFE0; margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: #C9C2B5; text-decoration: none; }
.site-footer a:hover { color: #F5EFE0; }
.site-footer .logo { height: 72px; filter: invert(96%) sepia(11%) saturate(330%) hue-rotate(355deg) brightness(102%) contrast(94%); }
.legal {
  max-width: 1280px; margin: 64px auto 0; padding: 24px 24px 0;
  border-top: 1px solid #262626; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 12px; color: #6E685E; letter-spacing: 0.05em;
}
