
/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #e07a1f;
  --orange-fonce: #c0630f;
  --sombre: #2b1d14;
  --clair: #fdf8f2;
  --texte: #3a2e26;
}

body {
  background-image:
  linear-gradient(rgba(253, 248, 242, 0.9), rgba(253, 248, 242, 0.9)),
  url("https://images.pexels.com/photos/6117809/pexels-photo-6117809.jpeg?auto=compress&cs=tinysrgb&w=1920");
  width: 100%;
  height: 100%;
background-size: cover;
background-position: center;
  font-family: "Poppins", sans-serif;
  background-color: var(--clair);
  color: var(--texte);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: "Playfair Display", serif;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== EN-TÊTE ===== */
.entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sombre);
  text-decoration: none;
}

.navigation {
  display: flex;
  gap: 28px;
}

.navigation a {
  color: var(--texte);
  text-decoration: none;
  font-weight: 500;
}

.navigation a:hover,
.navigation a.actif {
  color: var(--orange);
}
/* ===== PAGE MENU ===== */
/*menu {
  padding: 60px 8%;
  background-image:
  linear-gradient(rgba(253, 248, 242, 0.9), rgba(253, 248, 242, 0.9)),
  url("https://images.pexels.com/photos/6117809/pexels-photo-6117809.jpeg?auto=compress&cs=tinysrgb&w=1920");
  width: 100%;
  height: 100%;
background-size: cover;
background-position: center;
}*/

.menu h1 {
  font-size: 2.6rem;
  color: var(--sombre);
  text-align: center;
  margin-bottom: 12px;
}

.menu-intro {
  text-align: center;
  margin-bottom: 48px;
}

.menu-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 plats par ligne */
  gap: 28px;
}

.plat {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;   /* permet d'aligner les prix en bas */
}

.plat img {
  width: 100%;
  aspect-ratio: 4 / 3;      /* même largeur et même hauteur pour toutes les photos */
  object-fit: cover;        /* recadre sans déformer */
}

.plat-infos {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;                  /* toutes les cartes ont la même hauteur */
}

.plat-infos h3 {
  font-size: 1.3rem;
  color: var(--sombre);
  margin-bottom: 8px;
}

.plat-infos p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.prix {
  margin-top: auto;         /* pousse le prix tout en bas de la carte */
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--orange);
}
/* ===== RESPONSIVE ===== */
@media (max-width:768px){
   .entete {
    flex-direction: column;
    gap: 12px;
  }

  .navigation {
    gap: 18px;
  }

  .menu {
    padding: 40px 4%;
  }

  .menu h1 {
    font-size: 2rem;
  }

  .menu-grille {
    grid-template-columns: repeat(2, 1fr); /* 2 plats par ligne */
    gap: 14px;
  }

  .plat-infos {
    padding: 12px;
  }

  .plat-infos h3 {
    font-size: 1rem;
  }

  .plat-infos p {
    font-size: 0.8rem;
  }
}