/* Le Fournil des Épis — thème */
:root { --font: "Jost", system-ui, sans-serif; --fg: #3b2416; --bg: #f4ead9; --radius: 16px; --accent: #3b2416; --accent-fg: #fff8ec; --accent-ink: #8a5a2b;
  --btn-line: #dcc7a6; --btn-bg: #fff8ec; --btn-fg: #3b2416; --btn-hover-bg: #d9a441; --btn-hover-fg: #2a180d; --btn-radius: 999px; }
body { background: radial-gradient(circle at 20% 10%, #fbf3e4, transparent 50%), radial-gradient(circle at 85% 90%, #ead8b9, transparent 55%), #f4ead9; }
.face--front { background: #3b2416; color: #fff8ec; display: flex; flex-direction: column; justify-content: center; padding: 8%; }
.face--front::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px); pointer-events: none; }
.f-in { position: relative; display: flex; align-items: center; gap: 22px; }
.wheat { width: 58px; height: auto; flex: none; }
.kicker { margin: 0 0 6px; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: #d9a441; }
.brand { margin: 0; font-family: "Cormorant", serif; font-weight: 600; font-size: clamp(2.2rem, 6.6vw, 3.1rem); line-height: .92; }
.brand span { display: block; font-style: italic; color: #f0d29a; }
.sub { margin: 12px 0 0; font-size: .84rem; color: #e6d3b5; }
.place { position: absolute; left: 8%; bottom: 7%; margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #c9a77a; }
.face--back { background: #fff8ec; color: #3b2416; padding: 7% 7%; display: flex; border: 1px solid #ead8b9; }
.b-in { display: flex; gap: 18px; width: 100%; align-items: stretch; }
.b-main { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.who { margin: 0; font-family: "Cormorant", serif; font-size: 1.5rem; font-weight: 600; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .88rem; }
.hours li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted #dcc7a6; padding-bottom: 3px; }
.hours b { font-weight: 600; }
.hours .closed { color: #a58a6a; }
.contact { list-style: none; margin: 0; padding: 0; font-size: .8rem; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.contact a { text-decoration: none; font-weight: 600; border-bottom: 1px solid #d9a441; }
.b-qr { margin: 0; width: 32%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: #f4e3c4; border-radius: 12px; padding: 10px; }
.b-qr svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.b-qr figcaption { font-size: .66rem; line-height: 1.3; color: #6b4a2e; }
.qr-dialog { border: 0; border-radius: 22px; padding: 26px; width: min(420px, calc(100% - 32px)); background: #fff8ec; color: #3b2416; box-shadow: 0 30px 80px rgba(42, 24, 13, .4); }
.qr-dialog::backdrop { background: rgba(42, 24, 13, .55); backdrop-filter: blur(3px); }
.qr-sheet { text-align: center; padding: 22px 18px; border: 2px dashed #dcc7a6; border-radius: 16px; background: #fff; }
.qr-kicker { margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #8a5a2b; }
.qr-sheet h2 { margin: 8px 0 14px; font-family: "Cormorant", serif; font-size: 1.6rem; line-height: 1.1; }
.qr-code { width: min(220px, 70%); margin: 0 auto; }
.qr-code svg { width: 100%; height: auto; display: block; }
.qr-help { margin: 12px 0 2px; font-size: .9rem; }
.qr-url { margin: 0; font-size: .72rem; color: #8a7a68; word-break: break-all; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.qr-note { margin: 14px 0 0; font-size: .78rem; color: #6b4a2e; text-align: center; }
@media (max-width: 520px) {
  .face--front { justify-content: flex-start; padding-top: 22%; }
  .f-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wheat { width: 50px; }
  .brand { font-size: 3rem; }
  .face--back { padding: 10% 8%; }
  .b-in { flex-direction: column; }
  .b-qr { width: 100%; flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; }
  .b-qr > div { width: 92px; flex: none; }
  .b-qr figcaption { font-size: .8rem; }
  .hours { gap: 8px; }
}
@media print {
  body.print-qr * { visibility: hidden; }
  body.print-qr .qr-dialog, body.print-qr .qr-dialog .qr-sheet, body.print-qr .qr-dialog .qr-sheet * { visibility: visible; }
  body.print-qr .qr-dialog { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; box-shadow: none; background: #fff; padding: 0; }
  body.print-qr .qr-sheet { border: 0; padding-top: 30mm; }
  body.print-qr .qr-code { width: 90mm; }
  body.print-qr .qr-actions, body.print-qr .qr-note { display: none; }
}
