html, body {
  margin: 0;
  padding: 0;
  font-family: 'Crimson Text', serif;
  background-color: #1b1a17;
  color: #fcecc9;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.accueil {
  background-image: url('img/test.png');
}

body.coutellerie {
  background-image: url('img/fond_coutellerie.png');
}

.top-bar {
  background-color: transparent;
  color: #dfac72;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 10;
}
.top-bar img {
  height: 50px;
}
.top-bar .title {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffcc66;
  text-shadow: 0 0 10px #ffcc66;
}
.top-bar a {
  color: #dfac72;
  text-decoration: none;
  font-size: 1rem;
}

main {
  padding: 0 20px;
  max-width: 1200px;
  margin: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1cm;
  position: relative;
  z-index: 1;
}

.intro {
  font-size: 1.2rem;
  margin-bottom: 40px;
  
}

.sections {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
}

.section {
  background: linear-gradient(135deg, #4b3621, #5a4a36);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #a98f61;
  font-family: 'Crimson Text', serif;
  transition: all 0.3s ease;
  color: #fcecc9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  flex: 1 1 0;
  min-width: 200px;
  max-width: 300px;
  background-size: cover;
  background-blend-mode: multiply;
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
  background-blend-mode: normal;
}

.section h2 {
  color: #dfac72;
  margin-bottom: 10px;
  font-size: 2rem;
}
.section p {
  font-size: 1.2rem;
}
.section a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

footer {
  margin-top: auto;
}

.atelier-shift {
  margin-top: 9vh;
  position: relative;
  z-index: 2;
}

.atelier-shift main {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .atelier-shift {
    margin-top: 2vh;
    padding: 0 5vw;
  }

  .atelier-shift main {
    font-size: 1rem;
    padding: 0 10px 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .top-bar .title {
    font-size: 1.4rem;
  }

  .section {
    min-width: 100%;
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  .sections {
    flex-direction: column;
    align-items: center;
  }

  .section {
    max-width: 90%;
    min-width: unset;
  }
}


@media (max-width: 768px) {
  .section {
    width: 90% !important;
    max-width: 90% !important;
    min-width: 90% !important;
  }
  .produits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.produit {
  background-color: rgba(27, 26, 23, 0.9);
  border: 1px solid #a98f61;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  max-width: 250px;
}

.produit img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.produit h3 {
  margin-top: 10px;
  color: #dfac72;
}

.produit .prix {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #fcecc9;
}
