:root {
  --page-bg: #ffffff;
  --panel-bg: rgba(255, 255, 255, 0.96);
  --text-dark: #171717;
  --text-soft: #3d3d3d;
  --line-soft: rgba(23, 23, 23, 0.12);
  --hero-overlay: rgba(0, 0, 0, 0.32);
  --menu-backdrop: rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.12);
  --topbar-height: 96px;
  --footer-height: 58px;
  --letter-spacing: 0.08em;
  --section-width: min(1380px, calc(100vw - 96px));
}
/* fichier css pour Luxury Farm */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-dark);
  font-family: Cambria, Georgia, serif;
  letter-spacing: var(--letter-spacing);
  overflow-x: hidden;
}

body.menu-open-mobile {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

main {
  display: block;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  background: var(--page-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--topbar-height);
  width: 100%;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.menu-toggle,
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text-dark);
}

.menu-toggle {
  position: absolute;
  top: 50%;
  left: 24px;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: #7e7e7e;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.topbar-logo img {
  width: clamp(42px, 4vw, 54px);
  height: auto;
}

.menu-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.menu-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s ease;
}

.menu-open .menu-layer {
  opacity: 1;
  visibility: visible;
}

.menu-open .menu-layer::before {
  background: var(--menu-backdrop);
}

.side-menu {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: min(420px, 36vw);
  min-width: 300px;
  height: 100%;
  padding: 32px 28px 40px;
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.menu-open .side-menu {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.side-menu-eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.menu-close {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-menu-nav a {
  width: fit-content;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.side-menu-nav a:hover,
.side-menu-nav a:focus-visible {
  opacity: 0.65;
}

.hero,
.section {
  scroll-margin-top: calc(var(--topbar-height) + 16px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-height));
  min-height: calc(100svh - var(--topbar-height));
  width: 100%;
  overflow: hidden;
  background-image: url("../img/welcome_2.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--topbar-height));
  min-height: calc(100svh - var(--topbar-height));
  padding: 48px 24px;
}

.hero-brand {
  width: clamp(230px, 34vw, 460px);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.28));
}

.section {
  width: 100%;
  padding: clamp(76px, 9vw, 120px) 0;
  background: #fff;
}

.section-inner {
  width: var(--section-width);
  margin: 0 auto;
}

.section-inner-narrow {
  width: min(1120px, calc(100vw - 96px));
}

.section-inner-stockists {
  width: min(980px, calc(100vw - 96px));
}

.section-inner-contact {
  width: min(1180px, calc(100vw - 96px));
}

.section-header {
  margin-bottom: clamp(46px, 6vw, 72px);
}

.section-header h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
}

.engagements-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

.engagements-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  text-wrap: pretty;
}

.engagements-copy p {
  margin: 0 0 20px;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.engagements-copy h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.engagements-intro,
.engagements-closing {
  font-weight: 700;
}

.engagements-media {
  display: flex;
  justify-content: center;
  align-self: stretch;
  height: 100%;
}

.engagements-media img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.section-products {
  padding-top: clamp(84px, 10vw, 132px);
}

.products-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.products-copy p {
  margin: 0 0 14px;
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.5;
}

.products-copy-closing {
  margin-top: 26px;
}

.products-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 0.95fr) minmax(220px, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 42px);
  margin-top: clamp(44px, 6vw, 72px);
}

.product-card {
  overflow: hidden;
  background: #f5f5f5;
  border: 3px solid #171717;
  box-shadow: var(--shadow-soft);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-left,
.product-card-right {
  aspect-ratio: 4 / 5.3;
}

.products-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.products-center-logo {
  width: clamp(140px, 18vw, 184px);
  height: auto;
}

.product-card-center {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5.4;
}

.section-stockists {
  padding-top: clamp(88px, 10vw, 138px);
}

.stockists-grid {
  display: flex;
  justify-content: center;
}

.stockist-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.stockist-card:hover,
.stockist-card:focus-visible {
  opacity: 0.78;
  transform: translateY(-3px);
}

.stockist-card img {
  width: min(100%, 420px);
  height: auto;
}

.section-contact {
  padding-top: clamp(88px, 10vw, 138px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-media {
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 34px;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  opacity: 0.68;
}

.contact-link-mail {
  margin-bottom: 6px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--footer-height);
  padding: 12px 20px;
  margin-top: 12px;
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
  letter-spacing: 0.06em;
  text-align: center;
}

@media (min-width: 769px) {
  .menu-open .menu-layer {
    pointer-events: none;
  }

  .menu-open .side-menu {
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .engagements-grid {
    grid-template-columns: 1fr;
  }

  .engagements-copy {
    max-width: 100%;
  }

  .engagements-media {
    order: -1;
    height: auto;
  }

  .engagements-media img {
    max-width: 620px;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .products-showcase {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    justify-items: center;
  }

  .products-center {
    grid-column: 1 / -1;
  }

  .product-card-left,
  .product-card-right {
    width: min(100%, 360px);
    aspect-ratio: 4 / 5;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-media {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 82px;
    --footer-height: 54px;
    --section-width: min(100vw - 40px, 100%);
  }

  .topbar {
    padding: 0 20px;
  }

  .menu-toggle {
    left: 20px;
  }

  .topbar-logo img {
    width: 44px;
  }

  .side-menu {
    width: 100%;
    min-width: 100%;
    padding: 24px 20px 32px;
  }

  .menu-layer {
    pointer-events: none;
  }

  .menu-open .menu-layer {
    pointer-events: auto;
  }

  .hero-content {
    padding: 32px 18px;
  }

  .hero-brand {
    width: min(320px, 76vw);
  }

  .section-header h2 {
    text-align: center;
  }

  .section-engagements .section-header h2 {
    font-size: clamp(2.35rem, 9vw, 3.35rem);
    letter-spacing: 0.06em;
  }

  .section-stockists .section-header h2 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    letter-spacing: 0.04em;
    line-height: 1;
  }

  .section-inner-narrow {
    width: min(100vw - 40px, 100%);
  }

  .section-inner-stockists,
  .section-inner-contact {
    width: min(100vw - 40px, 100%);
  }

  .products-showcase {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .product-card-left,
  .product-card-right,
  .product-card-center {
    width: min(100%, 420px);
  }

  .products-center {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-media {
    max-width: 620px;
    margin: 0 auto;
  }

  .contact-links {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .contact-link {
    font-size: 1.08rem;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 74px;
    --footer-height: 50px;
    --section-width: calc(100vw - 32px);
  }

  .topbar {
    padding: 0 16px;
  }

  .menu-toggle {
    left: 16px;
    width: 36px;
    height: 36px;
    gap: 5px;
  }

  .menu-toggle span {
    width: 16px;
  }

  .topbar-logo img {
    width: 38px;
  }

  .hero-content {
    padding: 24px 16px;
  }

  .hero-brand {
    width: min(255px, 82vw);
  }

  .section {
    padding: 68px 0;
  }

  .engagements-copy p {
    font-size: 0.95rem;
  }

  .engagements-copy h3 {
    font-size: 1.18rem;
  }

  .section-engagements .section-header h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: 0.04em;
  }

  .section-stockists .section-header h2 {
    font-size: clamp(1.72rem, 9vw, 2.15rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
  }

  .engagements-media img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .section-inner-narrow {
    width: calc(100vw - 32px);
  }

  .section-inner-stockists,
  .section-inner-contact {
    width: calc(100vw - 32px);
  }

  .products-copy p {
    font-size: 0.95rem;
  }

  .products-center {
    gap: 22px;
  }

  .products-center-logo {
    width: 128px;
  }

  .stockist-card img {
    width: min(100%, 300px);
  }

  .contact-link {
    font-size: 1rem;
  }

  .contact-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .site-footer p {
    font-size: 0.84rem;
  }
}

@media (min-width: 1600px) {
  .hero-brand {
    width: 500px;
  }
}
