/* ==========================
   STYLE GLOBAL — NUTRITION.NELLES
   ========================== */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #FDFBF8;
  color: #333;
  line-height: 1.6;
}

a {
  color: #00B5B8;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #008c8f;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: #222;
}

/* ==========================
   HEADER & NAVBAR
   ========================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}

.navbar img.logo {
  width: auto;
  height: 60px;
}

.navbar nav a {
  margin: 0 0.8rem;
  color: #333;
  font-weight: 500;
}

.navbar nav a.active {
  color: #00B5B8;
  font-weight: 600;
  border-bottom: 2px solid #00B5B8;
  padding-bottom: 4px;
}

.wave {
  height: 2px;
  background-color: #00B5B8;
  width: 100%;
}

/* ==========================
   CONTAINER PRINCIPAL
   ========================== */
main.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ==========================
   HERO PRODUIT
   ========================== */
.hero-produit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FAFAF8 100%);
  padding: 3rem 1rem 3rem;
  border-bottom: 2px solid #00B5B8;
}

.hero-produit .texte {
  flex: 1;
  max-width: 420px;
  min-width: 280px;
}

.hero-produit h1 {
  font-family: 'Lora', serif;
  font-size: 2.3rem;
  color: #222;
  margin-bottom: 0.6rem;
}

.hero-produit h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #00B5B8;
  margin-top: 8px;
  border-radius: 2px;
}

.hero-produit .lead {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.hero-produit .image {
  flex: 1;
  text-align: center;
  min-width: 280px;
}

.hero-produit .image img {
  width: 360px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ==========================
   FICHES DETAILS
   ========================== */
.fiche-details {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 950px;
}

.fiche-details h2 {
  color: #00B5B8;
  font-size: 1.4rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fiche-details p, 
.fiche-details ul {
  color: #444;
  font-size: 0.97rem;
}

.fiche-details ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.fiche-details li {
  margin-bottom: 0.4rem;
}

/* ==========================
   RECETTES ASSOCIEES
   ========================== */
.recette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.recette-grid article {
  text-align: center;
}

.recette-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 0.6rem;
  transition: transform 0.3s;
}

.recette-grid img:hover {
  transform: scale(1.03);
}

.recette-grid h3 {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* ==========================
   CITATION PRODUIT
   ========================== */
.citation-produit {
  text-align: center;
  margin: 3rem 1rem 2rem;
  font-style: italic;
  color: #444;
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.citation-produit blockquote {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.citation-produit cite {
  display: block;
  margin-top: 0.6rem;
  color: #777;
  font-size: 0.95rem;
}

/* ==========================
   FOOTER
   ========================== */
footer.footer {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 768px) {
  .hero-produit {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-produit .texte {
    max-width: 100%;
  }
  .fiche-details {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem;
  }
}
