




/* ── Page ─────────────────────────────────────────────── */
.page {
  width: 100%;
  background-color: var(--color-whitesmoke);
  color: var(--color-olive);
  font-family: var(--font-uncut-plan8);
  font-size: var(--fs-16);
  line-height: var(--lh-22);
}

/* ── Homepage (image pleine page + logo blanc) ────────── */
.homepage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.homepage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.homepage__logo {
  position: relative;
  z-index: 1;
  width: min(1024px, 90vw);
  height: auto;
  object-fit: contain;
}

/* ── Overlays fixes ───────────────────────────────────── */
.header-reserve,
.bottom-bar__contact {
  text-align: left;
}

.header-reserve {
  position: fixed;
  top: var(--padding-40);
  right: var(--site-edge);
  z-index: 100;
  padding: var(--padding-10);
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  line-height: var(--lh-18);
  background: transparent;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--site-edge);
  background-color: var(--color-whitesmoke);
  box-sizing: border-box;
}

.bottom-bar__logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.bottom-bar__logo img {
  height: 33px;
  width: auto;
  display: block;
}

.bottom-bar__contact {
  text-transform: uppercase;
  line-height: 24px;
  flex-shrink: 0;
}

/* ── Layout principal ─────────────────────────────────── */
.main {
  width: 100%;
  max-width: 1394px;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 138px;
  padding-left: var(--padding-20);
  max-width: 1366px;
  box-sizing: border-box;
}

.sidebar-nav {
  position: sticky;
  top: var(--padding-40);
  display: flex;
  flex-direction: column;
  padding: var(--padding-10);
  flex-shrink: 0;
  z-index: 50;
}

.nav-link {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 30px;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.65;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-67);
  min-width: 0;
  padding-bottom: 100px;
}

/* ── Sections ─────────────────────────────────────────── */
#menu,
#equipe,
#infos {
  scroll-margin-top: 80px;
}

.section-intro {
  align-self: stretch;
  width: 100%;
  max-width: 1119px;
  box-sizing: border-box;
}

.section-intro__text {
  padding-top: 36px;
  margin: 0;
  text-align: left;
  width: 100%;
}

.section-gallery {
  width: 100%;
  max-width: 1119px;
  padding-bottom: 54px;
}

.section-block {
  width: 100%;
  max-width: 1119px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 92px;
}

.section-block__title {
  margin: 0 0 1em;
  font-size: inherit;
  font-weight: inherit;
  text-transform: uppercase;
  line-height: var(--lh-22);
}

.section-block__text {
  width: 100%;
  text-align: left;
}

.section-block__text p {
  margin: 0 0 1.5em;
}

.section-block__text p:last-child {
  margin-bottom: 0;
}

.member-name {
  text-transform: uppercase;
}

/* Équipe : texte + image côte à côte */
#equipe.section-block {
  flex-direction: row;
  align-items: flex-start;
  gap: 134px;
}

#equipe .section-block__text {
  flex: 1;
  min-width: 280px;
}

.section-block__media img {
  width: var(--width-432);
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* Infos : 2 colonnes alignées à gauche */
#infos.section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 134px;
  row-gap: 0;
  align-items: start;
}

#infos .section-block__text,
#infos .section-block__aside {
  text-align: left;
}

.section-block__aside {
  text-align: left;
}

.section-block__aside p {
  margin: 0;
}

/* Producteurs */
.section-producteurs {
  align-items: flex-start;
  align-self: stretch;
  gap: 102px;
}

.producteurs-list {
  align-self: flex-start;
  width: 100%;
  max-width: var(--width-659);
  display: flex;
  flex-direction: column;
}

.producteur-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  padding: 6px 0;
  border-bottom: var(--border-1);
  line-height: var(--lh-40);
}

.producteur-nom {
  text-transform: uppercase;
  text-align: left;
}

.producteur-metier {
  text-align: left;
}

/* ── Carrousels ───────────────────────────────────────── */
.carousel-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-24);
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}

.carousel {
  position: relative;
  width: var(--width-432);
  height: var(--height-648);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.carousel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.carousel > img.is-active {
  opacity: 1;
  z-index: 1;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  width: 100%;
  padding: var(--padding-40) var(--site-edge) 72px;
  background-color: var(--color-whitesmoke);
  box-sizing: border-box;
  font-size: var(--fs-14);
  line-height: var(--lh-18);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.site-footer__col {
  text-align: left;
}

/* ── Responsive ───────────────────────────────────────── */
@media screen and (max-width: 1050px) {
  .header-reserve {
    top: var(--padding-26);
  }

  .sidebar-nav {
    top: var(--padding-26);
  }

  .bottom-bar {
    padding-left: var(--padding-24);
    padding-right: var(--padding-24);
  }

  #equipe.section-block {
    flex-wrap: wrap;
    gap: var(--gap-67);
  }

  #infos.section-block {
    column-gap: var(--gap-67);
  }
}

@media screen and (max-width: 750px) {
  .homepage {
    min-height: 80vh;
  }

  .layout {
    flex-direction: column;
    gap: var(--gap-40);
    padding-left: var(--padding-24);
  }

  .sidebar-nav {
    flex-direction: row;
    gap: var(--gap-20);
    position: static;
  }

  .header-reserve {
    top: var(--padding-20);
    right: var(--padding-24);
  }

  .bottom-bar {
    padding-left: var(--padding-24);
    padding-right: var(--padding-24);
  }

  .content {
    gap: var(--gap-40);
  }

  #equipe.section-block {
    flex-direction: column;
    gap: 33px;
  }

  #infos.section-block {
    grid-template-columns: 1fr;
    row-gap: 33px;
  }

  .section-block__media img {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .producteur-line {
    column-gap: 16px;
  }
}

@media screen and (max-width: 450px) {
  .header-reserve {
    right: var(--padding-20);
  }

  .bottom-bar {
    padding-left: var(--padding-20);
    padding-right: var(--padding-20);
  }
}
