:root {
  --cream: #f2e6cf;
  --cream-alt: #eaddc2;
  --card: #fbf5e8;
  --ink: #3a2a19;
  --ink-soft: #5b4530;
  --brown-dark: #2c2013;
  --rust: #a9541f;
  --rust-hover: #7d3d16;
  --gold: #d9a860;
  --gold-light: #e8c98a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rust);
  text-decoration: none;
}
a:hover {
  color: var(--rust-hover);
}
::selection {
  background: #c98a3d;
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 230, 207, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 42, 25, 0.12);
}
.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  font:
    500 12px/1 'Jost',
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links--right {
  justify-content: flex-end;
}
.nav-links a {
  color: var(--ink);
}
.brand {
  font:
    600 20px/1 'Cormorant Garamond',
    serif;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 48px 24px;
  gap: 4px;
}
.nav-mobile a {
  color: var(--ink);
  font:
    500 15px/1 'Jost',
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 42, 25, 0.1);
}
.nav-mobile.is-open {
  display: flex;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100svh - 61px);
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 18, 8, 0.66) 0%,
    rgba(28, 18, 8, 0.15) 45%,
    rgba(28, 18, 8, 0.28) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 72px;
  max-width: 900px;
}
.eyebrow {
  font:
    500 12px/1 'Jost',
    sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 22px;
}
.eyebrow--light {
  color: #f0d9a8;
  letter-spacing: 0.34em;
}
.eyebrow--gold {
  color: var(--gold);
}
.eyebrow--tight {
  letter-spacing: 0.2em;
}

.hero h1 {
  font:
    600 clamp(40px, 8vw, 104px)/0.98 'Cormorant Garamond',
    serif;
  color: #fdf6e6;
  letter-spacing: 0.01em;
}
.hero h1 span {
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  margin: 26px 0 0;
  max-width: 520px;
  font:
    300 18px/1.7 'Jost',
    sans-serif;
  color: #f3e6cb;
}
.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--brown-dark);
  font:
    500 12px/1 'Jost',
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  background: #f0d9a8;
  color: var(--brown-dark);
  transform: translateY(-1px);
}

/* VALEURS */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--cream);
}
.value {
  padding: 38px 40px;
  border-right: 1px solid rgba(242, 230, 207, 0.15);
}
.value:last-child {
  border-right: none;
}
.value-num {
  font: 600 13px/1 'Jost';
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.value-text {
  font:
    400 22px/1.35 'Cormorant Garamond',
    serif;
}

/* HISTOIRE */
.histoire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  scroll-margin-top: 61px;
}
.histoire-text {
  padding: 96px 64px 96px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.histoire-text h2 {
  font:
    500 clamp(30px, 4vw, 52px)/1.08 'Cormorant Garamond',
    serif;
}
.histoire-text p {
  margin: 20px 0 0;
  font: 300 17px/1.85 'Jost';
  color: var(--ink-soft);
  max-width: 460px;
}
.histoire-text p:first-of-type {
  margin-top: 28px;
}
.histoire-text blockquote {
  margin: 40px 0 0;
  font:
    italic 500 26px/1.3 'Cormorant Garamond',
    serif;
  color: var(--rust);
}
.histoire-img {
  min-height: 360px;
  overflow: hidden;
}
.histoire-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* PRODUITS */
.produits {
  background: var(--cream-alt);
  padding: 100px 48px;
  scroll-margin-top: 61px;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font:
    500 clamp(30px, 4vw, 54px)/1 'Cormorant Garamond',
    serif;
}
.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(58, 42, 25, 0.1);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(169, 84, 31, 0.35);
}
.product-card:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.product-card.is-active {
  border-color: var(--rust);
  box-shadow: 0 8px 24px rgba(58, 42, 25, 0.12);
}
.product-img {
  height: 280px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.04);
}
.product-body {
  padding: 32px 30px 36px;
}
.product-body h3 {
  font:
    500 30px/1 'Cormorant Garamond',
    serif;
}
.product-body p {
  margin: 14px 0 0;
  font: 300 15px/1.75 'Jost';
  color: #6b533b;
  max-width: calc(100% - 30px);
}
.chevron {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(169, 84, 31, 0.08);
  color: var(--rust);
  transition:
    transform 0.35s ease,
    background 0.25s ease;
}
.chevron svg {
  width: 16px;
  height: 16px;
}
.product-card:hover .chevron {
  background: rgba(169, 84, 31, 0.16);
}
.product-card.is-active .chevron {
  transform: rotate(180deg);
  background: var(--rust);
  color: #fdf6e6;
}

/* PRODUIT — DÉTAIL DÉROULANT */
.product-detail {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 1200px;
  margin: 0 auto;
  transition: grid-template-rows 0.4s ease;
}
.product-detail.is-open {
  grid-template-rows: 1fr;
}
.product-detail-inner {
  overflow: hidden;
}
.detail-panel {
  padding-top: 44px;
}
.sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sub-item {
  margin: 0;
  text-align: center;
}
.sub-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
}
.sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-img figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 8px;
  background: var(--ink);
  color: var(--cream);
  font: 400 13px/1.3 'Jost';
  letter-spacing: 0.02em;
  text-align: center;
}
.sub-img.skeleton {
  position: relative;
  background: linear-gradient(100deg, #e6d8bd 30%, #f3ead4 45%, #e6d8bd 60%);
  background-size: 300% 100%;
  animation: skeleton-loading 1.6s ease-in-out infinite;
}
@keyframes skeleton-loading {
  0% {
    background-position: 120% 50%;
  }
  100% {
    background-position: -20% 50%;
  }
}

/* GALERIE */
.galerie {
  scroll-margin-top: 61px;
}
.galerie-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 230px;
}
.g-item {
  overflow: hidden;
}
.g-tall {
  grid-row: span 2;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.g-item:hover img {
  transform: scale(1.05);
}

/* VENIR */
.venir {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 48px;
  scroll-margin-top: 61px;
}
.venir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.venir h2 {
  font:
    500 clamp(28px, 3.5vw, 48px)/1.05 'Cormorant Garamond',
    serif;
}
.venir address {
  font-style: normal;
  margin: 26px 0 0;
  font: 300 17px/1.8 'Jost';
  color: #e3d3b6;
  max-width: 400px;
}
.contact-line {
  margin: 20px 0 0;
  font: 300 17px/1.8 'Jost';
  color: #e3d3b6;
}
.contact-line a {
  color: var(--gold-light);
}
.hours {
  display: flex;
  flex-direction: column;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(242, 230, 207, 0.16);
  font: 300 17px/1 'Jost';
}
.hours-row span:last-child {
  color: #f7ecd2;
}
.hours-row--closed {
  border-bottom: none;
  color: #b79c74;
}
.hours-row--closed span {
  color: #b79c74;
}

/* FOOTER */
.site-footer {
  background: var(--brown-dark);
  color: #c9b48f;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font:
    500 22px/1 'Cormorant Garamond',
    serif;
  color: var(--cream);
}
.footer-tag {
  font: 300 13px/1.6 'Jost';
  letter-spacing: 0.06em;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .histoire {
    grid-template-columns: 1fr;
  }
  .histoire-img {
    order: -1;
    min-height: 320px;
  }
  .histoire-img img {
    min-height: 320px;
  }
  .produits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .venir-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .site-nav nav {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-mobile {
    padding-left: 24px;
    padding-right: 24px;
  }
  .brand {
    font-size: 17px;
  }

  .hero-content {
    padding: 0 24px 56px;
  }

  .values {
    grid-template-columns: 1fr;
  }
  .value {
    border-right: none;
    border-bottom: 1px solid rgba(242, 230, 207, 0.15);
  }
  .value:last-child {
    border-bottom: none;
  }

  .histoire-text {
    padding: 64px 24px;
  }
  .produits {
    padding: 72px 24px;
  }
  .produits-grid {
    grid-template-columns: 1fr;
  }
  .sub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .detail-panel {
    padding-top: 32px;
  }

  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .g-tall {
    grid-column: span 2;
    grid-row: span 1;
    height: 220px;
  }

  .venir {
    padding: 72px 24px;
  }
  .site-footer {
    padding: 32px 24px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .galerie-grid {
    grid-template-columns: 1fr;
  }
  .g-tall {
    grid-column: span 1;
  }
}
