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

.mud-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 2rem 3rem;
  background-image: url('images_site/mud.webp'); /* nom de la tache */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  z-index: 1;
}

.mud-wrapper h1 {
  position: relative;
  z-index: 2;
  font-size: 2.2rem;
  color: #3a2b1d; /* marron foncé lisible */
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

header {
  position: relative;
  padding: 2rem 0;
  text-align: center;
  background-image: 
    url('images_site/header.webp');
  background-repeat: repeat-x;
  background-size: auto 100%;
  border-bottom: 2px solid #ddd;
}

.mud-wrapper h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

nav a {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  font-weight: bold;
  text-decoration: none;
}
nav ul {
  background-color: rgba(0, 0, 0, 0.3); /* léger fond pour améliorer lisibilité */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  gap: 1.5rem;
}


nav a:hover {
  color: #ffeaea; /* ou une teinte plus claire au survol */
}

nav a:hover {
  color: #000;
}

/* === INTRO SECTION === */
#intro {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  margin-top: 2rem;
}

/* === PRODUITS === */
#produits {
  margin-top: 3rem;
}

.produit {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.2s;
}

.produit:hover {
  transform: translateY(-5px);
}

.produit img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  margin: 1rem 0;
}
.produit h3 {
  color: #f58787; /* rose thème */
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}
@media screen and (max-width: 768px) {
  #sommaire {
    display: none;
  }
}


.produit h3::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('images_site/queue-cochon.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#pig-peek {
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none; /* pour ne pas bloquer les clics */
  transition: opacity 0.3s ease;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

#cookie-banner a {
  color: #f58787;
  text-decoration: underline;
}

#cookie-banner button {
  background: #f58787;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 1rem;
  flex-shrink: 0;
}

#cookie-banner button:hover {
  background: #e56a6a;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  #cookie-banner button {
    margin: 0.5rem 0 0;
  }
}

#pig-peek img {
  height: auto;
  max-height: 200px;
  width: auto;
  display: block;
}

/* Responsive : plus petit sur mobile */
@media (max-width: 380px) {
  #pig-peek img {
    max-height: 60px;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f58787;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background-color: #e56a6a;
}

.groin-icon svg {
  display: block;
}


/* === AUTRES SECTIONS === */
#conseils, #contact {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* === FOOTER === */
footer {
  background-color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
  margin-top: 4rem;
  border-top: 2px solid #ddd;
  font-size: 0.9rem;
}

footer a {
  color: #555;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.sommaire-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#sommaire {
  position: sticky;
  top: 8rem; /* ou selon ton header */
  flex: 0 0 260px;
  height: max-content;
  z-index: 10;
}
#contenu-articles {
  flex: 1;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  #sommaire {
    display: none;
  }
}


.layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

#groin-marker {
  position: absolute;
  left: 0; /* ou ajuste selon ton design */
  top: 0;
  width: 24px;
  height: 24px;
  transition: top 0.3s ease;
  z-index: 20;
  pointer-events: none;
}
#groin-marker svg {
  width: 24px;
  height: 24px;
}

/* SVG groin dans TOC */
.svg-groin {
  vertical-align: middle;
  margin-right: 6px;
}

/* Article actif : effet lumineux ou ombré par exemple */
article.produit.active {
  box-shadow: 0 0 15px rgba(245, 135, 135, 0.4);
  transition: box-shadow 0.3s ease-in-out;
}

.toc {
  list-style: none;
  padding-left: 1rem;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: #f58787;
  text-decoration: none;
  font-weight: bold;
}

.toc a.active {
  color: #f58787;
  font-weight: bold;
  text-decoration: underline;
}


.toc a:hover {
  text-decoration: underline;
}


.conseil-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.conseil-bloc {
  flex: 1 1 300px;
  background-color: #fff7f9;
  border: 1px solid #f4c5d1;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.conseil-bloc:hover {
  transform: translateY(-4px);
}

.conseil-bloc h3 {
  color: #d85773;
  margin-bottom: 0.5rem;
}

.btn-small {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background-color: #f4a7b9;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  #pig-peek {
    display: none;
  }
}


/* === FAQ Section Styling === */
.faq-section {
  background-color: rgba(255, 250, 252, 0.9); /* fond doux */
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #d85773;
  text-align: center;
  position: relative;
}

.faq-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.5rem auto 0;
  background: #f4a7b9;
  border-radius: 4px;
}

.faq-section h3 {
  font-size: 1.2rem;
  color: #3a2b1d;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.4rem;
}

.faq-section h3::before {
  content: "🐽";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.faq-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #4b3c2f;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-section {
    padding: 1.5rem 1rem;
  }

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-section h3 {
    font-size: 1.1rem;
  }
}
.footer-menu {
  background-color: #fff5f7;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid #f4c5d1;
  border-bottom: 2px solid #f4c5d1;
}

.footer-menu h3 {
  color: #d85773;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-menu li a {
  display: inline-block;
  color: #d85773;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #f4a7b9;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.footer-menu li a:hover {
  background-color: #f4a7b9;
  color: #fff;
}
.prix {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #f4e7db; /* beige boue clair */
  color: #5b3a29; /* marron doux */
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  box-shadow: 1px 1px 4px rgba(91, 58, 41, 0.15);
  white-space: nowrap;
}

/* Optionnel : un peu plus petit sur mobile */
@media (max-width: 480px) {
  .prix {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
}
main h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #d64a75;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

main h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #e27898;
  margin: 40px 0 20px;
  border-bottom: 2px solid #f4a7b9;
  padding-bottom: 8px;
}

main h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e27898;
  margin: 25px 0 10px;
}main h2 {
  transition: all 0.3s ease-in-out;
}

main h2:hover {
  color: #d6336c;
  letter-spacing: 0.5px;
}

main ul {
  list-style: none;
  padding-left: 1.5rem;
}

main li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5em;
  height: 0.5em;
  background-color: #f48fb1; /* rose doux */
  border-radius: 50%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #fce4ec; /* rose clair */
  color: #c2185b;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

@media screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem;
  }

  td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
    color: #c2185b;
  }
}

.cartes-liens-succinctes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 20px 0;
}

.mini-carte {
  width: 300px;
  text-align: center;
  background: #fff0f5;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.mini-carte:hover {
  transform: translateY(-5px);
}

.mini-carte img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.mini-carte span {
  display: block;
  padding: 12px 0;
  font-size: 1.2em;
  color: #c94d6d;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .mini-carte {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .mini-carte {
    width: 100%;
  }
}
@media (max-width: 600px) {
  header {
    padding: 1rem 0;
    background-size: cover; /* mieux que auto 100% */
    background-position: center;
  }

  .mud-wrapper {
    padding: 1rem 1.5rem;
    background-size: 80%;
  }

  .mud-wrapper h1 {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  }
}