/* ══════════ Thème ══════════
   Direction visuelle par défaut : « Comptoir crème ».
   Variantes du design : appliquer data-theme="kraft" ou data-theme="soiree" sur <html>. */
:root {
  --bg: #f7f1e5;
  --bg2: #f1e8d6;
  --card: #fffdf7;
  --stamp: #ede1c8;
  --ink: #332619;
  --muted: #7a6a55;
  --line: #e2d5bd;
  --linestrong: #d4c3a3;
  --accent: #b04a1e;
  --accent-hover: #8a3814;
  --accentdeep: #6d3315;
  --footer: #3d2c1c;
  --cream: #fdf6ea;
}
:root[data-theme="kraft"] {
  --bg: #e8e0cf; --bg2: #ded4bd; --card: #f6f1e4; --stamp: #d6ccb2;
  --ink: #2e2519; --muted: #6b5e48; --line: #cfc4a8; --linestrong: #b9ad8d;
  --accent: #8a4a2a; --accent-hover: #6d3a21; --accentdeep: #45301d; --footer: #302719;
}
:root[data-theme="soiree"] {
  --bg: #332318; --bg2: #3d2b1e; --card: #453224; --stamp: #523d29;
  --ink: #f4e8d6; --muted: #c4ad8f; --line: #57422f; --linestrong: #6b5238;
  --accent: #e07a3e; --accent-hover: #c96631; --accentdeep: #24170e; --footer: #24170e;
}

/* ══════════ Base ══════════ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }
button { font-family: inherit; }

@keyframes blFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blFade { from { opacity: 0; } to { opacity: 1; } }

.container { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.page { animation: blFadeUp .35s ease; }
.page-pad { padding-top: 56px; padding-bottom: 80px; }
.page-pad--tight { padding-top: 40px; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.page-title { font-family: 'Young Serif', serif; font-size: 42px; font-weight: 400; margin: 0 0 14px; }
.page-title--solo { margin-bottom: 40px; }
.page-lead { font-size: 16px; color: var(--muted); margin: 0 0 34px; max-width: 600px; line-height: 1.6; }

/* ══════════ Boutons ══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 12px; border: none; cursor: pointer;
  font-weight: 700; font-size: 15px; line-height: 1; transition: background .15s, border-color .15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--primary:disabled, .btn--primary.is-disabled { background: var(--linestrong); cursor: not-allowed; }
.btn--outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--linestrong); font-weight: 600;
}
.btn--outline:hover { background: var(--bg2); color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--accentdeep); }
.btn--cream:hover { background: #f1e3cc; color: var(--accentdeep); }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }
.btn--shadow { box-shadow: 0 6px 18px rgba(176, 74, 30, .28); }

.form-hint { margin-left: 14px; font-size: 13.5px; color: var(--accent); font-weight: 600; }

/* ══════════ Age gate ══════════ */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(43, 30, 18, .55); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: blFade .3s ease;
}
.age-gate[hidden] { display: none; }
.age-gate__card {
  background: var(--card); color: var(--ink); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 44px 40px 36px; text-align: center;
  box-shadow: 0 30px 80px rgba(30, 18, 8, .35); animation: blFadeUp .4s ease;
}
.age-gate__logo { width: 110px; height: auto; margin: 0 auto 18px; display: block; }
.age-gate__title { font-family: 'Young Serif', serif; font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.age-gate__text { margin: 0 0 24px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; }
.age-gate__actions .btn { flex: 1; max-width: 170px; }
.age-gate__refused { margin: 18px 0 0; font-size: 13px; color: var(--accent); font-weight: 600; }
.age-gate__legal { margin: 22px 0 0; font-size: 11px; color: var(--muted); }

/* ══════════ Header ══════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(30, 18, 8, .03);
}
.site-header__inner { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 54px; height: auto; display: block; }
.brand__name { display: block; font-family: 'Young Serif', serif; font-size: 17px; line-height: 1.1; color: var(--ink); }
.brand__sub { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-btn {
  font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 10px;
  color: var(--ink); transition: background .15s;
}
.nav-btn:hover { background: var(--bg2); color: var(--ink); }
.nav-btn.is-active { background: var(--stamp); color: var(--accent); }
.lang-badge {
  margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 9px; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted);
}

/* ══════════ Accueil : hero ══════════ */
.hero { background: var(--bg); overflow: hidden; }
.hero__grid {
  padding-top: 72px; padding-bottom: 64px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--stamp); border-radius: 999px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.badge-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero__title {
  font-family: 'Young Serif', serif; font-size: 52px; font-weight: 400; line-height: 1.08;
  margin: 0 0 20px; color: var(--ink); text-wrap: balance;
}
.hero__lead { font-size: 17.5px; line-height: 1.6; color: var(--muted); margin: 0 0 32px; max-width: 480px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__photo { aspect-ratio: 4 / 4.6; border-radius: 20px; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__card {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; box-shadow: 0 12px 30px rgba(30, 18, 8, .12);
  display: flex; align-items: center; gap: 12px;
}
.hero__card img { width: 42px; height: auto; }
.hero__card-title { font-weight: 700; font-size: 14px; }
.hero__card-sub { font-size: 12px; color: var(--muted); }

/* ══════════ Sections accueil ══════════ */
.featured { background: var(--bg2); border-top: 1px solid var(--line); }
.featured .container { padding-top: 64px; padding-bottom: 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-title { font-family: 'Young Serif', serif; font-size: 30px; font-weight: 400; margin: 0; }
.link-more { font-weight: 700; font-size: 14.5px; }
.link-more:hover { text-decoration: underline; }

.story { background: var(--bg); }
.story__grid {
  padding-top: 72px; padding-bottom: 72px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
}
.story__photo { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__title { font-family: 'Young Serif', serif; font-size: 34px; font-weight: 400; line-height: 1.15; margin: 0 0 18px; }
.story__text { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; text-wrap: pretty; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.proof-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.proof-card__big { font-family: 'Young Serif', serif; font-size: 19px; color: var(--accent); margin-bottom: 3px; }
.proof-card__small { font-size: 13px; color: var(--muted); line-height: 1.4; }

.teaser { background: var(--accentdeep); }
.teaser__inner {
  padding-top: 60px; padding-bottom: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.teaser__copy { max-width: 560px; }
.teaser__title { font-family: 'Young Serif', serif; font-size: 30px; font-weight: 400; margin: 0 0 10px; color: var(--cream); }
.teaser__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(253, 246, 234, .75); }

/* ══════════ Cartes bière ══════════ */
.beer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.beer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; cursor: pointer; display: block; color: inherit;
  transition: transform .18s, box-shadow .18s; animation: blFadeUp .3s ease;
}
.beer-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(30, 18, 8, .12); color: inherit; }
.beer-card__visual {
  height: 160px; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 12px 0;
}
.beer-card--tall .beer-card__visual { height: 170px; padding: 14px 0; }
.beer-card--small .beer-card__visual { height: 130px; padding: 10px 0; }
.beer-card__visual img {
  height: 100%; width: auto; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(30, 18, 8, .25));
}
.beer-card__tag {
  position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: 700;
  background: rgba(255, 253, 247, .85); color: #5a4630; padding: 4px 9px; border-radius: 999px;
}
.beer-card__body { padding: 15px 17px 17px; }
.beer-card--small .beer-card__body { padding: 13px 15px 15px; }
.beer-card__name { font-family: 'Young Serif', serif; font-size: 16.5px; margin-bottom: 4px; }
.beer-card--small .beer-card__name { font-size: 15px; margin-bottom: 3px; }
.beer-card__style { font-size: 13px; color: var(--muted); }
.beer-card--small .beer-card__style { font-size: 12.5px; }
.beer-card__season { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 8px; }

/* ══════════ Nos bières : filtres ══════════ */
.filters { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-group__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.filter-group__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--linestrong); background: transparent; color: var(--ink);
  font-weight: 600; font-size: 13.5px; padding: 8px 15px; border-radius: 999px;
  cursor: pointer; transition: all .15s;
}
.chip:hover { background: var(--bg2); }
.chip.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.no-results { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 15px; }

/* ══════════ Détail bière ══════════ */
.back-link {
  display: inline-block; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 28px;
}
.back-link:hover { color: var(--accent); }
.detail__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.detail__visual {
  border-radius: 20px; padding: 40px 20px; min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.detail__visual img { height: 340px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(30, 18, 8, .3)); }
.detail__tags { display: flex; gap: 8px; margin-bottom: 16px; }
.tag { font-size: 12px; font-weight: 700; background: var(--stamp); color: #5a4630; padding: 6px 12px; border-radius: 999px; }
.tag--accent { color: var(--accent); }
.detail__title { font-family: 'Young Serif', serif; font-size: 42px; font-weight: 400; margin: 0 0 10px; }
.detail__style { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.detail__desc { font-size: 16.5px; line-height: 1.65; margin: 0 0 28px; text-wrap: pretty; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-align: center; }
.stat-card__value { font-family: 'Young Serif', serif; font-size: 22px; color: var(--accent); }
.stat-card__label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: var(--bg2); border-radius: 14px; padding: 18px 20px; }
.info-card--plain { background: var(--card); border: 1px solid var(--line); padding: 20px 22px; }
.info-card__label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.info-card__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.related { margin-top: 64px; }
.related__title { font-family: 'Young Serif', serif; font-size: 24px; font-weight: 400; margin: 0 0 20px; }

/* ══════════ Visites : offres ══════════ */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.offer-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 28px 28px 26px; cursor: pointer; text-align: left; width: 100%;
  transition: border-color .15s, box-shadow .15s; color: inherit; font-size: inherit;
}
.offer-card:hover { box-shadow: 0 10px 30px rgba(30, 18, 8, .1); }
.offer-card.is-selected { border-color: var(--accent); }
.offer-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.offer-card__title { font-family: 'Young Serif', serif; font-size: 22px; font-weight: 400; margin: 0; }
.offer-card__price { font-family: 'Young Serif', serif; font-size: 20px; color: var(--accent); white-space: nowrap; }
.offer-card__desc { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.offer-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.offer-card__cta { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.offer-card.is-selected .offer-card__cta { color: var(--accent); }

/* ══════════ Visites : réservation ══════════ */
.booking {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 40px; max-width: 720px;
}
.booking__steps { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; }
.step__dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: transparent; color: var(--muted); border: 1.5px solid var(--linestrong);
}
.step.is-active .step__dot, .step.is-done .step__dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.step__label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.step.is-active .step__label { color: var(--ink); }
.step__arrow { color: var(--linestrong); margin: 0 2px; }
.booking__heading { font-family: 'Young Serif', serif; font-size: 20px; font-weight: 400; margin: 0 0 18px; }
.date-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.date-btn {
  border: 1.5px solid var(--linestrong); background: transparent; color: var(--ink);
  border-radius: 12px; padding: 12px 8px; cursor: pointer; text-align: center; transition: all .15s;
}
.date-btn:hover { background: var(--bg2); }
.date-btn__day { font-size: 12px; font-weight: 600; opacity: .75; }
.date-btn__date { font-size: 16px; font-weight: 700; margin-top: 2px; }
.date-btn.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.counter { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.counter__btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--linestrong);
  background: transparent; font-size: 20px; cursor: pointer; color: var(--ink);
}
.counter__btn:hover { background: var(--bg2); }
.counter__value { font-family: 'Young Serif', serif; font-size: 24px; min-width: 36px; text-align: center; }
.counter__hint { font-size: 13.5px; color: var(--muted); }
.booking__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.booking__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.booking__actions .form-hint { margin-left: 0; }
.booking__done { text-align: center; padding: 16px 0 8px; animation: blFadeUp .35s ease; }
.booking__check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--stamp);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 28px;
}
.booking__done-title { font-family: 'Young Serif', serif; font-size: 24px; font-weight: 400; margin: 0 0 10px; }
.booking__done-summary { margin: 0 0 6px; font-size: 15.5px; color: var(--muted); }
.booking__done-email { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }

/* ══════════ Formulaires ══════════ */
.input {
  padding: 14px 16px; border: 1.5px solid var(--linestrong); border-radius: 12px;
  font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 15px;
  background: var(--bg); color: var(--ink); outline: none; width: 100%;
}
.input:focus { border-color: var(--accent); }
textarea.input { resize: vertical; }

/* ══════════ Venir & contact ══════════ */
.venir__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.venir__photo { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; margin-bottom: 24px; }
.venir__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.venir__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; }
.contact-card__title { font-family: 'Young Serif', serif; font-size: 22px; font-weight: 400; margin: 0 0 18px; }
.contact-card__success {
  background: var(--stamp); border-radius: 12px; padding: 18px 20px;
  font-size: 14.5px; line-height: 1.55; animation: blFadeUp .3s ease;
}
.contact-card__form { display: flex; flex-direction: column; gap: 12px; }
.contact-card__form .input { font-size: 14.5px; padding: 13px 15px; border-radius: 11px; }
.contact-card__form .btn { margin-top: 4px; }
.contact-card__form .form-hint { margin-left: 0; font-size: 13px; }

/* ══════════ Footer ══════════ */
.site-footer { background: var(--footer); color: rgba(253, 246, 234, .8); }
.site-footer .container { padding-top: 44px; padding-bottom: 30px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { width: 56px; height: auto; background: var(--cream); border-radius: 12px; padding: 5px; }
.site-footer__name { font-family: 'Young Serif', serif; font-size: 17px; color: var(--cream); }
.site-footer__sub { font-size: 12.5px; margin-top: 3px; }
.site-footer__nav { display: flex; gap: 28px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.site-footer__nav a { color: rgba(253, 246, 234, .8); }
.site-footer__nav a:hover { color: var(--cream); }
.site-footer__bottom {
  border-top: 1px solid rgba(253, 246, 234, .15); margin-top: 30px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(253, 246, 234, .55);
}

/* ══════════ Responsive ══════════ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__title { font-size: 40px; }
  .story__grid { grid-template-columns: 1fr; gap: 36px; }
  .beer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail__grid { grid-template-columns: 1fr; gap: 32px; }
  .detail__visual { min-height: 320px; }
  .detail__visual img { height: 260px; }
  .venir__grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .site-header__inner { flex-wrap: wrap; gap: 10px; }
  .site-nav { margin-left: 0; }
}
@media (max-width: 560px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero__title { font-size: 33px; }
  .page-title { font-size: 32px; }
  .detail__title { font-size: 32px; }
  .beer-grid { grid-template-columns: 1fr; }
  .date-grid { grid-template-columns: repeat(2, 1fr); }
  .booking { padding: 26px 22px; }
  .booking__fields { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .venir__cards { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .age-gate__card { padding: 32px 24px 28px; }
}
