/* labellebiere.com — design partagé. Tokens repris de src/constants/theme.ts
   (fond brun-noir, ambre, crème) et de la page d'accueil d'origine. */

:root {
  --bg: #0e0b08;
  --surface: #1a1410;
  --surface-2: #241d16;
  --surface-3: #332822;
  --border: #3e3025;
  --text: #f5f0e8;
  --text-dim: #b8ab99;
  --text-faint: #8c8377;
  --amber: #f5a623;
  --amber-wash: rgba(245, 166, 35, 0.14);
  --amber-border: rgba(245, 166, 35, 0.4);
  --gold: #d9a441;
  --success: #5fbf77;
  --radius: 22px;
  --radius-sm: 12px;
  --display: 'Alfa Slab One', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: 24px;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
.muted {
  color: var(--text-faint);
}
.center {
  text-align: center;
}

/* Bulles qui montent, ton sur ton, comme dans l'app */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/bulles.svg'), url('/assets/bulles.svg');
  background-size: 640px 960px, 420px 630px;
  background-position: 0 0, 220px 300px;
  opacity: 0.09;
  animation: rise 60s linear infinite;
}
@keyframes rise {
  to {
    background-position: 0 -960px, 220px -330px;
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
}
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 12px;
}
.lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-dim);
  margin: 0 0 26px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-amber {
  background: var(--amber);
  color: var(--bg);
}
.btn-amber:hover {
  background: #ffb73d;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--amber-border);
  background: var(--amber-wash);
}
.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 11px;
}
.hero-actions,
.claim-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.link-arrow {
  color: var(--amber);
  font-weight: 700;
}
.link-arrow::after {
  content: ' →';
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.pill-amber {
  background: var(--amber-wash);
  border-color: var(--amber-border);
  color: var(--amber);
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

/* Étoiles / cœurs remplis au demi-point (voir stars() dans format.mjs) */
.stars {
  --glyph: '★★★★★';
  position: relative;
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--border);
  vertical-align: -1px;
}
.stars::before {
  content: var(--glyph);
}
.stars::after {
  content: var(--glyph);
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--r) / 5 * 100%);
  overflow: hidden;
  color: var(--amber);
  white-space: nowrap;
}
.stars--heart {
  --glyph: '♥♥♥♥♥';
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 11, 8, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(62, 48, 37, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}
.brand img {
  width: 150px;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.site-nav a[aria-current='page'] {
  color: var(--amber);
  background: var(--amber-wash);
}

/* Store badges */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.stores a {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.stores a:hover {
  transform: translateY(-2px);
}
.stores img {
  height: 54px;
  width: auto;
}
.fine {
  font-size: 13px;
  color: var(--text-faint);
  margin: 14px 0 0;
}

/* Hero (accueil + pros) */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
  min-height: min(720px, calc(100svh - 64px));
}
.hero .wordmark {
  width: min(440px, 88%);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  margin-bottom: 18px;
}
.hero h1 span {
  color: var(--amber);
}
.hero .lead {
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(400px, 100%);
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 8% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22), rgba(245, 166, 35, 0) 68%);
}
.hero-art img {
  position: relative;
  width: 100%;
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

/* En-tête des pages catalogue */
.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 0 28px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 14px;
}
.page-hero .lead {
  max-width: 560px;
  margin: 0;
}
.page-hero img {
  width: 150px;
}
.page-hero-compact {
  padding-top: 12px;
  grid-template-columns: 1fr;
}

/* Sections */
section {
  padding: 56px 0;
}
.page-hero + section,
.page-hero + .map {
  padding-top: 8px;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
}
.section-head p:not(.eyebrow) {
  color: var(--text-dim);
  margin: 14px 0 0;
}

/* Cartes illustrées */
.steps,
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  text-align: center;
}
.card img {
  height: 210px;
  width: auto;
  margin: 0 auto 18px;
}
.card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--display);
  font-size: 20px;
  line-height: 38px;
}
.features .card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.card-left {
  text-align: left;
}
.card-left svg {
  color: var(--amber);
  margin-bottom: 14px;
}

/* Accueil : encarts vers le guide */
.explore {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.explore-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.explore-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-2px);
}
.explore-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.explore-card p {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 15px;
}
.explore-photos {
  display: grid;
  grid-template-columns: repeat(2, 56px);
  gap: 8px;
}
.explore-photos span {
  width: 56px;
  height: 72px;
  border-radius: 10px;
  background: var(--surface-3);
  overflow: hidden;
}
.explore-photos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.explore-art {
  width: 120px;
}

/* Bandeau sous-bock / contact */
.coaster {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 32px;
  padding: 34px 40px;
}
section.coaster {
  margin: 56px 0;
}
.coaster-badge {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(14, 11, 8, 0.12);
}
.coaster-badge span {
  font-family: var(--display);
  color: var(--amber);
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
}
.coaster h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin-bottom: 8px;
}
.coaster p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  max-width: 560px;
}
.coaster a {
  font-weight: 700;
}

.cta {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px 48px;
}
.cta img {
  width: min(240px, 100%);
  justify-self: center;
}
.cta h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 12px;
}
.cta p {
  color: var(--text-dim);
  margin: 0 0 24px;
}
.pro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 30px;
  margin-bottom: 24px;
  border: 1px dashed var(--amber-border);
  border-radius: var(--radius);
}
.pro-band .h2 {
  margin-bottom: 4px;
}
.pro-band p {
  margin: 0;
  color: var(--text-dim);
}

/* Fil d'Ariane */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 22px 0 6px;
  font-size: 14px;
  color: var(--text-faint);
}
.crumbs a {
  color: var(--text-dim);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--amber);
}
.crumbs [aria-current] {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}

/* Filtres des catalogues */
.catalog {
  padding-top: 8px;
}
.filters {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}
.search input {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px 12px 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238c8377' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
  font-size: 16px;
}
.search input:focus {
  outline: none;
  border-color: var(--amber);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover {
  border-color: var(--amber-border);
  color: var(--text);
}
.chip[aria-pressed='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}
.chip-count {
  font-size: 12px;
  opacity: 0.7;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-faint);
}
.select select {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  max-width: 190px;
}
.select select option {
  background: var(--surface);
}
.results {
  margin: 0;
  font-size: 14px;
  color: var(--text-faint);
}
.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
}
.empty img {
  width: 110px;
}

/* Grille de fiches bière */
.beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.beer-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.beer-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.beer-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-2px);
}
.beer-card-photo {
  aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 60%, var(--surface-3), var(--surface-2) 70%);
  display: grid;
  place-items: center;
  padding: 12px;
}
.beer-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.beer-card-photo img.placeholder,
.sheet-photo img.placeholder {
  width: 55%;
  height: auto;
  opacity: 0.85;
}
.beer-card-body {
  padding: 12px 14px 14px;
}
.beer-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.beer-card-meta {
  margin: 2px 0 0;
  color: var(--text-faint);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.beer-card-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  min-height: 18px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.beer-card-score .stars {
  font-size: 12px;
}

/* Fiche bière */
.sheet-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  padding: 18px 0 40px;
}
.sheet-photo {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 55%, var(--surface-3), var(--surface) 72%);
  display: grid;
  place-items: center;
  padding: 28px;
}
.sheet-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sheet-head h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 12px;
}
.certified {
  margin: 0 0 12px;
  color: var(--amber);
  font-weight: 700;
}
.sheet-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--text-dim);
}
.sheet-score .stars {
  font-size: 18px;
}
.facts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.facts li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  color: var(--text);
}
.fact-label {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.sheet-body,
.bar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.sheet-body section,
.bar-layout section {
  padding: 0 0 36px;
}
.sheet-side,
.bar-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 84px;
}
.sheet-side .panel,
.bar-side .panel {
  padding: 22px 22px 20px;
}
.panel {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.panel p {
  margin: 0 0 12px;
}
.prose p {
  color: var(--text-dim);
  margin: 0 0 16px;
  max-width: 68ch;
}
.taste-row {
  display: grid;
  grid-template-columns: 84px 1fr 28px;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.taste-label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
}
.taste-track {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.taste-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--amber);
}
.taste-value {
  text-align: right;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}
.health-inline {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-faint);
  font-size: 12.5px;
  text-align: center;
}
.where-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.where-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
}
.where-list a:hover {
  border-color: var(--amber-border);
}
.where-name {
  font-weight: 700;
}
.where-meta {
  color: var(--text-faint);
  font-size: 14px;
}
.similar {
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.report {
  margin: 8px 0 40px;
  font-size: 13.5px;
}
.report a {
  color: var(--text-faint);
}

/* Liste de bars */
.bar-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bar-ranking {
  counter-reset: rank;
}
.bar-ranking li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
}
.bar-ranking li::before {
  counter-increment: rank;
  content: counter(rank);
  font-family: var(--display);
  font-size: 20px;
  color: var(--text-faint);
  text-align: center;
}
.bar-ranking li:nth-child(-n + 3)::before {
  color: var(--amber);
}
.bar-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.bar-row:hover,
.bar-row.is-active {
  border-color: var(--amber-border);
}
.bar-row-main {
  display: grid;
  min-width: 0;
}
.bar-row-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-weight: 700;
}
.bar-row-city {
  color: var(--text-faint);
  font-size: 14px;
}
.bar-row-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
}
.bar-logo {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-3);
}
.bar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bar-logo-initial {
  background: var(--amber-wash);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-family: var(--display);
}
.bar-logo-sm {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.bar-logo-lg {
  width: 96px;
  height: 96px;
  font-size: 40px;
}

/* Cartes géographiques */
.map {
  height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.map.leaflet-container,
.mini-map.leaflet-container {
  display: block;
}
.mini-map {
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  margin: 4px 0 12px;
}
.leaflet-container {
  background: #1b1714 !important;
  font-family: var(--body) !important;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface-2) !important;
  color: var(--text) !important;
}
.leaflet-popup-content a {
  color: var(--amber);
  font-weight: 700;
}
.leaflet-control-attribution {
  background: rgba(14, 11, 8, 0.7) !important;
  color: var(--text-faint) !important;
}
.leaflet-control-attribution a {
  color: var(--text-dim) !important;
}
.leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) sepia(0.35) brightness(0.8) contrast(0.95) saturate(0.7);
}
.pin {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--amber);
}
.pin-verified {
  width: 22px;
  height: 22px;
  background: var(--gold);
}

/* Fiche bar */
.bar-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 22px;
}
.bar-head h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 6px;
}
.bar-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  color: var(--text-dim);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 560px;
}
.stat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.stat-number {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--amber);
}
.stat-label {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}
.bar-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 20px 0 8px;
}
.bar-cta p {
  margin: 0;
  font-size: 14px;
}
.bar-layout {
  margin-top: 28px;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding: 24px 0 8px;
}
.highlight {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--amber-border);
  background: linear-gradient(160deg, rgba(245, 166, 35, 0.12), var(--surface) 70%);
}
.highlight h3 {
  margin: 10px 0 4px;
  font-size: 18px;
}
.highlight p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
}
.highlight .highlight-date {
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 6px;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--border);
}
.menu-name {
  display: grid;
  font-weight: 600;
}
.menu-name a {
  color: var(--amber);
  text-decoration: none;
}
.menu-meta {
  color: var(--text-faint);
  font-size: 13.5px;
  font-weight: 400;
}
.menu-price {
  font-weight: 700;
  white-space: nowrap;
}
.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(62, 48, 37, 0.6);
}
.hours li:last-child {
  border-bottom: 0;
}
.hours li.today {
  color: var(--amber);
  font-weight: 700;
}
.hours-value {
  display: grid;
  justify-items: end;
  text-align: right;
}
.happy {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
}
.open-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 10px !important;
  font-weight: 700;
  font-size: 14px;
}
.open-now::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.open-now.is-open {
  color: var(--success);
}
.open-now.is-closed {
  color: var(--text-faint);
}
.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 !important;
}
.side-links a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
}
.type-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.type-bars li {
  display: grid;
  grid-template-columns: 96px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.type-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-dim);
}
.type-track {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.type-track span {
  display: block;
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
}
.type-pct {
  text-align: right;
  font-weight: 700;
  color: var(--amber);
}

/* Galerie des publications : même grille que BarDetailScreen, sans clic */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.gallery-item {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: default;
  -webkit-touch-callout: none;
  user-select: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.skeleton {
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.claim {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  margin: 12px 0 28px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px dashed var(--amber-border);
  background: var(--surface);
}
.claim img {
  width: 110px;
}
.claim p {
  color: var(--text-dim);
  margin: 0 0 16px;
}

/* Pros */
.pros-hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
}
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 0;
}
.numbers div {
  display: grid;
  gap: 2px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.numbers strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  color: var(--amber);
  line-height: 1.1;
}
.numbers span {
  color: var(--text-dim);
  font-size: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.split h2 {
  font-size: clamp(30px, 4.2vw, 42px);
  margin-bottom: 20px;
}
.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 16px;
}
.steps-list li {
  position: relative;
  padding-left: 52px;
  color: var(--text-dim);
}
.steps-list li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber-wash);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-family: var(--display);
  text-align: center;
  line-height: 34px;
}
.steps-list strong {
  color: var(--text);
}
.phone {
  justify-self: center;
  width: min(340px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px 16px 26px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.16), var(--surface) 60%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.notif {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(245, 240, 232, 0.1);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  line-height: 1.35;
}
.notif img {
  border-radius: 9px;
}
.notif p {
  margin: 0;
}
.notif-app {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.notif-title {
  font-weight: 700;
}
.phone-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--amber-border);
  background: linear-gradient(160deg, rgba(245, 166, 35, 0.14), var(--surface-2) 70%);
}
.phone-card p {
  margin: 0;
}
.phone-card-title {
  margin-top: 8px !important;
  font-family: var(--display);
  font-size: 20px;
}
.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.phone-stats span {
  display: grid;
  padding: 10px 6px;
  border-radius: 14px;
  background: var(--surface-2);
  text-align: center;
  font-size: 11.5px;
  color: var(--text-faint);
}
.phone-stats strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  color: var(--amber);
}
.benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 12px;
}
.benefits li {
  position: relative;
  padding: 18px 20px 18px 56px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
}
.benefits li::before {
  content: '★';
  position: absolute;
  left: 20px;
  top: 17px;
  color: var(--amber);
  font-size: 20px;
}
.benefits strong {
  display: block;
  color: var(--text);
}
.claim-steps .center {
  margin: 28px 0 0;
}
.claim-steps .center + .center {
  margin-top: 12px;
  font-size: 14px;
}
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.faq summary {
  padding: 18px 50px 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 22px;
  color: var(--amber);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-dim);
}

/* Mentions légales, 404 */
.legal-page {
  max-width: 760px;
  padding: 40px 0 20px;
}
.legal-page h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 26px;
}
.legal-page h2 {
  margin-top: 26px;
}
.legal-page a {
  color: var(--amber);
}
.not-found {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 60px 0;
}
.not-found img {
  width: 140px;
  margin-bottom: 18px;
}
.not-found h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 12px;
}
.not-found a:not(.btn) {
  color: var(--amber);
  font-weight: 700;
}

/* Contrôle de l'âge */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(14, 11, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.age-card {
  width: min(440px, 100%);
  max-height: calc(100svh - 32px);
  overflow: auto;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 24px 22px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.age-card img {
  width: 96px;
}
.age-card h2 {
  font-size: 28px;
}
.age-card p {
  margin: 0;
  color: var(--text-dim);
}
.age-actions {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 10px 0 4px;
}
.age-card .health {
  margin-top: 8px;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.site-footer .wordmark {
  width: 200px;
  margin: 0 auto 18px;
  opacity: 0.9;
}
.contact {
  margin: 0 0 18px;
}
.contact a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}
.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  margin-bottom: 14px;
}
.links a {
  color: var(--text-dim);
  text-decoration: none;
}
.links a:hover {
  color: var(--text);
}
.legal {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 10px 0 0;
}
.health {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Barre de téléchargement mobile (visiteurs arrivés par un QR code) */
.sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.sticky.show {
  transform: translateY(0);
}
.sticky strong {
  font-size: 15px;
}
.sticky img {
  height: 42px;
  width: auto;
}

/* Tablette */
@media (max-width: 980px) {
  .beer-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sheet-body,
  .bar-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sheet-side,
  .bar-side {
    position: static;
  }
  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 860px) {
  :root {
    --gutter: 16px;
  }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    min-height: 0;
    padding-top: 10px;
  }
  .brand img {
    width: 128px;
  }
  .header-dl {
    grid-row: 1;
    grid-column: 2;
  }
  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 8px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
  }
  .site-nav a {
    flex: 1;
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 0 24px;
    min-height: 0;
    gap: 8px;
  }
  .hero .wordmark {
    margin: 0 auto 22px;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .stores,
  .hero .hero-actions {
    justify-content: center;
  }
  .hero-art {
    width: min(280px, 72%);
    margin-top: 24px;
  }
  .page-hero {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 24px 0 18px;
  }
  .page-hero img {
    width: 84px;
  }
  .steps,
  .features,
  .explore,
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .card img {
    height: 180px;
  }
  section {
    padding: 44px 0;
  }
  .coaster,
  .cta,
  .claim {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
    gap: 18px;
  }
  .coaster-badge,
  .claim img {
    margin: 0 auto;
  }
  .coaster p {
    margin: 0 auto;
  }
  .cta .stores,
  .claim-links {
    justify-content: center;
  }
  .cta img {
    width: 180px;
  }
  .explore-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .sheet-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 8px;
  }
  .sheet-photo {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .map {
    height: 340px;
    border-radius: 18px;
  }
  .bar-head {
    gap: 16px;
  }
  .bar-logo-lg {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }
  .stat-number {
    font-size: 24px;
  }
  .sticky {
    display: flex;
  }
  .site-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 520px) {
  .filters .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    scrollbar-width: none;
  }
  .filters .chips::-webkit-scrollbar {
    display: none;
  }
  .filters .chip {
    flex: none;
  }
  .beer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .beer-card-body {
    padding: 10px 12px 12px;
  }
  .header-dl {
    padding: 6px 12px;
  }
  .bar-row {
    grid-template-columns: auto 1fr;
    padding: 12px 14px;
  }
  .bar-row-rating {
    grid-column: 2;
  }
  .facts li {
    grid-template-columns: 64px 1fr;
  }
  .filter-row .select {
    flex: 1 1 140px;
  }
  .select select {
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 380px) {
  .stores img {
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles,
  .hero-art img,
  .skeleton {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .beer-card,
  .explore-card,
  .stores a,
  .btn {
    transition: none;
  }
}
