/* Charte graphique
vert clair : rgb(160, 207, 157)
vert foncé : rgb(37, 78, 47)
orange : rgb(230, 121, 43)
beige :f8f4ed
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 75%;
  font-weight: 200;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

h1 {
  font-family: "Lato", sans-serif;
  font-weight: 500;
}

h2 {
  font-family: "Baskerville Old Face";
  font-weight: 300;
}

h1,
h2 {
  color: rgb(230, 121, 43);
  font-size: 450%;
}

h3 {
  color: rgb(230, 121, 43);
  font-size: 400%;
  font-family: "Baskerville Old Face";
  font-weight: 300;
}

h6 {
  color: rgb(230, 121, 43);
  font-size: 200%;
  font-family: "Baskerville Old Face";
  font-weight: 100;
}

p {
  font-size: 150%;
  color: rgb(37, 78, 47);
}

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

.btn {
  display: inline-block;
  padding: 10px 10px;
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgb(37, 78, 47);
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: rgb(160, 207, 157);
}

.header {
  position: sticky;
  top: 0;
  padding: 10px;
  background-color: #fff;
  border-bottom: 3px solid rgb(37, 78, 47);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: auto;
}

.header .logo img {
  position: relative;
  max-height: 90px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 91vh;
  overflow: auto;
  background-image: url("/images/equipe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero-content {
  background-color: rgba(255, 255, 255, 0.7);
  background-size: cover;
  width: 100%;
  padding: 5px;
  border-radius: 8px;
  text-align: center;
}

.hero-content p {
  text-align: center;
}

.creations {
  padding: 50px 0;
  background-color: #fff;
}

.creations-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  gap: 40px;
  flex-wrap: wrap;
}

.creations-texte {
  flex: 1;
  min-width: 280px;
  color: rgb(37, 78, 47);
  text-align: center;
}

.creations-texte p {
  text-align: center;
}

.creations-image {
  flex: 1;
  min-width: 280px;
}

.creations-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Mobile : empilement vertical */
@media (max-width: 768px) {
  .creations-container {
    flex-direction: column;
    text-align: center;
  }

  .creations-texte,
  .creations-image {
    width: 100%;
  }
}

.plateaux {
  height: 60vh;
  position: relative;
  background-color: rgb(160, 207, 157);
  color: #fff;
}

.plateaux-intro {
  text-align: center;
}

.plateaux p {
  text-align: center;
}
.plateaux-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1%;
}

.plateaux-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.noustrouver-texte {
  text-align: center;
}

.noustrouver-texte p {
  text-align: center;
}
.map {
  padding: 20px;
}

.map-horaires {
  display: flex; /* aligne les enfants côte à côte */
  justify-content: center; /* centre le tout */
  align-items: flex-start; /* aligne en haut */
  gap: 20px; /* espace entre les deux blocs */
  padding: 20px;
  flex-wrap: wrap; /* pour que ça passe bien sur mobile */
}

.map {
  flex: 1; /* prend de la place */
  min-width: 200px; /* évite que ça devienne trop petit */
}

.horaires {
  flex: 1;
  min-width: 250px;
}

table {
  padding: 20px;
  width: 100%;
  height: 50%;
  margin-right: auto;
  border-collapse: collapse;
  font-size: 1.4rem;
}

th,
td {
  padding: 0px;
  border-bottom: 1px solid #ddd;
  font-size: 75%;
  text-align: center;
}

th {
  color: rgb(160, 207, 157);
  background-color: rgb(37, 78, 47, 0.5);
}

td {
  color: rgb(37, 78, 47);
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .map-horaires {
    flex-direction: column-reverse; /* inverse l'ordre */
    align-items: center; /* centre le contenu */
  }

  .map,
  .horaires {
    width: 100%; /* prend toute la largeur */
    max-width: 500px; /* limite la taille pour éviter trop grand */
  }
}

/* Page histoire*/
.histoire-content {
  padding: 20px;
  background-color: #fff;
}

.histoire-content,
h1 {
  text-align: center;
}

.histoire-content,
p {
  text-align: justify;
  color: rgb(37, 78, 47);
}

.histoire-content,
span {
  text-align: center;
}

.imagedessin {
  background-image: url(images/dessinmaison.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 45vh;
  position: relative;
}

/* Page créations */

.herocreations {
  background-image: url(images/fromages.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 45vh;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  /*background-color: rgba(255, 255, 255, 0.5);*/
  background-color: rgba(0, 0, 0, 0.5);
}

.herocreations-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center; /*horizontalement */
  align-items: center; /* verticalement */
  text-align: center;
}

.herocreations-content h1 {
  /*color: #fff;*/
  color: rgb(230, 121, 43);
}

.creationspage {
  background-color: #fff;
}

.beurre,
.ul {
  color: rgb(37, 78, 47);
}

.beurre {
  padding: 20px;
}

.beurre-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.beurre-texte {
  flex: 1;
  min-width: 280px;
  color: rgb(37, 78, 47);
  text-align: center;
}

.listebeurre {
  list-style: circle;
  list-style-type: none;
  margin: 0;
  padding-left: 60px;
  text-align: left;
  font-size: 150%;
  flex: 1; /* le texte prend l’espace dispo */
}

.beurre-flex {
  display: flex;
  align-items: center; /* centre verticalement */
  gap: 20px; /* espace entre texte et image */
  margin-bottom: 40px;
}

.beurre-img img {
  max-width: 350px; /* taille max de l’image */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .beurre-flex {
    flex-direction: column; /* empile en colonne */
    text-align: center;
  }

  .beurre-img img {
    max-width: 90%;
  }
}

.roueforestiere {
  padding: 20px;
}
.roueforestiere-flex {
  display: flex;
  align-items: center; /* centre verticalement */
  gap: 20px; /* espace entre texte et image */
  margin-bottom: 40px;
}

.roueforestiere-content {
  flex: 1; /* le texte prend l’espace dispo */
}

.roueforestiere-img img {
  max-width: 350px; /* taille max de l’image */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .roueforestiere-flex {
    flex-direction: column; /* empile en colonne */
    text-align: center;
  }

  .roueforestiere-img img {
    max-width: 90%;
  }
}

.gammedesbrasseurs-title {
  background-image: url(images/gammedesbrasseurs.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 45vh;
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
}

.gammedesbrasseurs-title h2 {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
}

.gammedesbrasseurs-title p {
  color: #fff;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.overlaygdb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: rgba(255, 255, 255, 0.5);*/
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.gammedesbrasseurs-content {
  padding: 20px;
}

.dl-num {
  counter-reset: item;
  margin: 0;
  padding: 0;
}

.dl-num dt {
  counter-increment: item;
  position: relative;
  padding-left: 2.5rem; /* place pour le numéro */
  margin-top: 1rem;
  color: rgb(37, 78, 47);
  font-weight: 700;
}

.dl-num dt::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: rgb(230, 121, 43); /* couleur du numéro */
  font-weight: 500;
  font-size: 400%;
  font-family: "Baskerville Old Face";
}

.dl-num dd {
  margin: 0rem 0 1rem 2.2rem; /* aligner avec le texte du dt */
  color: rgb(37, 78, 47);
}

.gouda {
  padding: 20px;
}

/* Footer */

.footer {
  background-color: rgb(230, 121, 43);
  height: 18vh;
  width: 100%;
  padding: 10px;
  position: relative;
}

.footer p {
  text-align: center;
  vertical-align: middle;
  color: #fff;
}
