:root {
  --bg: #FAF6EE;
  --surface: #FFFDF8;
  --stone: #F0E9DC;
  --ink: #221F1B;
  --muted: #5F584F;
  --terracotta: #B3422E;
  --terracotta-dark: #8F3222;
  --olive: #37503C;
  --olive-tint: #E6EFE8;
  --line: rgba(34, 31, 27, 0.12);
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { text-align: left; }

.container {
  width: min(1180px, calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-family: var(--font-display); font-size: 1.38rem; font-weight: 500; }
.brand span { font-size: 0.78rem; color: var(--muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.main-nav a:hover { color: var(--ink); }

.nav-phone {
  padding: 9px 18px;
  background: var(--terracotta);
  color: var(--surface) !important;
  border-radius: 6px;
  font-weight: 500;
  transition: background 200ms var(--ease);
}

.nav-phone:hover { background: var(--terracotta-dark); }

/* Typography */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow-olive { color: var(--olive); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 em, h2 em { font-style: italic; color: var(--terracotta); }

h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.15;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.btn-primary { background: var(--terracotta); color: var(--surface); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }

/* Hero */
.hero {
  padding-block: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--olive-tint);
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.open-pill.is-closed { background: #F5E5E1; color: #8F3222; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.hero h1 { font-size: clamp(2.8rem, 5.8vw, 4.6rem); margin-bottom: 18px; }
.lede { max-width: 48ch; font-size: 1.05rem; color: var(--muted); margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-strip {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-strip dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
}

.hero-strip dd { margin: 0; font-size: 0.88rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.hero-media { margin: 0; }
.hero-media img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(34, 31, 27, 0.06), 0 18px 36px rgba(34, 31, 27, 0.09);
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-stone { background: var(--stone); border-block: 1px solid var(--line); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-media { margin: 0; }
.about-media img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.about-copy h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; }
.about-copy p { color: var(--muted); max-width: 52ch; margin: 0 0 14px; }

.brands-strip {
  list-style: none;
  padding: 18px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brands-strip li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

/* Gallery */
.gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.gallery-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.filter-btn.is-active, .filter-btn:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shop-tile {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.shop-tile.is-hidden { display: none; }

.shop-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 31, 27, 0.08);
}

.shop-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-tile figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-tile strong { font-size: 0.95rem; font-weight: 600; }
.shop-tile span { font-size: 0.84rem; color: var(--muted); }

/* Relais */
.relais-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.relais-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 10px; }
.relais-sub { font-weight: 600; color: var(--olive); margin: 0 0 20px; }

.relais-points {
  padding-left: 18px;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.relais-tip { margin: 0; font-size: 0.92rem; color: var(--muted); max-width: 50ch; }

.relais-media { margin: 0; }
.relais-media img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* Horaires & Contact */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.visit-hours h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 22px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hours-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.row-highlight { background: rgba(55, 80, 60, 0.08); font-weight: 600; }

.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.direct-list { margin: 16px 0 24px; display: grid; gap: 16px; }
.direct-list dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.direct-list dd { margin: 0; font-weight: 500; }
.direct-list a { color: var(--terracotta); border-bottom: 1px solid rgba(179, 66, 46, 0.35); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--ink); }

/* Lightbox */
.lightbox {
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: #1a1816;
  color: #faf6ee;
  max-width: min(920px, calc(100% - 32px));
}
.lightbox::backdrop { background: rgba(15, 13, 11, 0.82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 6px; }
.lightbox p { text-align: center; margin: 12px 0 0; font-size: 0.92rem; color: #ddd5c7; }
.lb-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.45);
  color: #fff; border-radius: 50%; cursor: pointer;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .relais-grid, .visit-grid { grid-template-columns: 1fr; }
  .shop-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a:not(.nav-phone) { display: none; }
}

@media (max-width: 560px) {
  .shop-gallery, .hero-strip { grid-template-columns: 1fr; }
}
