/* === MAISON BLANC DE NÈFLES - STYLE PRINCIPAL === */

:root {
  --noir: #000000;
  --blanc: #ffffff;
  --dore: #c8a35f;
  --font-titre: 'Lora', serif;
  --font-texte: 'Montserrat', sans-serif;
}

/* RÉINITIALISATION */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--noir);
  color: var(--blanc);
  font-family: var(--font-texte);
  line-height: 1.6;
}

.header {
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 9999;
}

img.logo {
  height: 150px !important;
  width: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

img.logo:hover {
  transform: scale(1.05);
}


/* NAVIGATION */
.nav a {
  color: var(--blanc);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--dore);
}

/* HERO */
.hero {
  text-align: center;
  padding: 140px 20px;
  background: linear-gradient(to bottom, #000000, #111111);
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: 3rem;
  color: var(--dore);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn,
.btn-secondary {
  padding: 12px 30px;
  border: 1px solid var(--dore);
  color: var(--blanc);
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background-color: var(--dore);
  color: var(--noir);
}

.btn-secondary:hover {
  color: var(--dore);
}

/* INTRO */
.intro {
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
  padding: 0 20px;
}

.intro h2 {
  font-family: var(--font-titre);
  font-size: 2rem;
  color: var(--dore);
  margin-bottom: 20px;
}

/* PRODUITS SUR ACCUEIL */
.produits-home {
  padding: 60px 20px;
  text-align: center;
  background-color: #0a0a0a;
}

.produits-home h2 {
  color: var(--dore);
  font-family: var(--font-titre);
  font-size: 2rem;
  margin-bottom: 40px;
}

.produit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.produit img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--dore);
  transition: transform 0.4s;
}

.produit img:hover {
  transform: scale(1.05);
}

.produit h3 {
  color: var(--dore);
  margin-top: 15px;
  font-family: var(--font-titre);
}

.produit p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.center-btn {
  margin-top: 50px;
}

/* RESEAUX */
.reseaux {
  padding: 100px 20px;
  text-align: center;
}

.reseaux h2 {
  color: var(--dore);
  font-family: var(--font-titre);
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--dore);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .produit-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 600;
  color: var(--dore);
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  background-color: #111;
  border: 1px solid var(--dore);
  border-radius: 6px;
  color: var(--blanc);
  font-family: var(--font-texte);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 10px;
}

/* === SECTION CONTACT === */
.contact {
  background: #111;
  color: white;
  padding: 80px 20px;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info a {
  color: var(--dore);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--dore);
  border-radius: 5px;
  background: #222;
  color: white;
}

.contact-form .btn {
  background: var(--dore);
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #e6c86e;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: var(--dore);
  text-decoration: none;
  font-weight: 600;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media(max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Amélioration de la mise en page du formulaire de commande ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
  max-width: 900px;
}

form label {
  color: var(--dore);
  font-weight: 600;
  margin-bottom: 6px;
}

form input,
form textarea,
form select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dore);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #eac16c;
  background-color: rgba(255, 255, 255, 0.1);
}

form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

form .row > div {
  flex: 1;
  min-width: 250px;
}

form textarea {
  resize: vertical;
  min-height: 80px;
}

form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

form button {
  background-color: var(--dore);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

form button:hover {
  background-color: #f3d27e;
  transform: translateY(-2px);
}

/* ===== STYLES SPÉCIAUX BOUTIQUE MBDN ===== */

body {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

:root {
  --dore: #d4af37;
}

h1, h2, h3 {
  color: var(--dore);
  text-align: center;
  margin-bottom: 15px;
}

p {
  line-height: 1.6;
  text-align: center;
  margin-bottom: 15px;
}

/* ===== En-tête ===== */
.header {
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  max-width: 420px; /* augmente la taille */
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
  color: var(--dore);
}

/* ===== Section Héro ===== */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #111, #000);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* ===== Tableau des tarifs dégressifs ===== */
.tarifs {
  padding: 40px 20px;
  text-align: center;
}

.tarifs table {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.tarifs th, .tarifs td {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 15px;
}

.tarifs th {
  background-color: var(--dore);
  color: #000;
}

.tarifs td {
  color: #fff;
}

.tarifs tr:nth-child(even) {
  background-color: rgba(255,255,255,0.03);
}

/* === Mise en page des cartes produits - version finale propre === */
.produits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 30px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #000;
}

.produits .produit {
  flex: 0 0 280px;               /* largeur fixe */
  max-width: 280px;
  min-height: 520px;            /* hauteur commune pour alignement bas */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* espace entre contenu haut et footer */
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  background: linear-gradient(180deg, #0a0a0a, #111);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produit-footer {
  margin-top: auto; /* pousse le bloc bas en bas de la carte */
}

.produit img {
  flex-shrink: 0;
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 15px;
}

.produit:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.produit h3 {
  margin-top: 10px;
  color: var(--dore);
}

.produit p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.produit label {
  color: var(--dore);
  font-weight: 600;
}

.produit input[type="number"] {
  width: 60px;
  text-align: center;
  border: 1px solid var(--dore);
  border-radius: 6px;
  padding: 5px;
  margin-left: 5px;
  background-color: rgba(255,255,255,0.05);
  color: #fff;
}



/* ========================================================= */
/* === PAGE RECETTES — même principe de centrage que PRODUITS === */
/* ========================================================= */

.produit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centre les lignes incomplètes */
  gap: 40px;
  padding: 50px 30px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #000;
}

/* taille fixe des cartes recettes */
.produit-grid .produit {
  flex: 0 0 280px; /* largeur fixe */
  max-width: 280px;
  box-sizing: border-box;
}

/* === Responsive — s’adapte comme PRODUITS === */
@media (max-width: 1024px) {
  .produit-grid {
    gap: 30px;
    padding: 40px 20px;
    max-width: 90%;
  }
  .produit-grid .produit {
    flex: 0 0 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .produit-grid {
    gap: 20px;
    padding: 30px 15px;
    max-width: 100%;
  }
  .produit-grid .produit {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ===== Livraison ===== */
.livraison {
  padding: 40px 20px;
  text-align: center;
}

.livraison ul {
  list-style: none;
  padding: 0;
}

.livraison li {
  margin: 10px 0;
  font-size: 1rem;
}

/* ===== Formulaire de commande ===== */
#commande {
  padding: 50px 20px;
  background: linear-gradient(180deg, #111, #000);
  border-top: 1px solid rgba(255,255,255,0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  max-width: 900px;
  background-color: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

form label {
  color: var(--dore);
  font-weight: 600;
  margin-bottom: 6px;
}

form input,
form textarea,
form select {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--dore);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
}

form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

form .row > div {
  flex: 1;
  min-width: 250px;
}

form textarea {
  resize: vertical;
  min-height: 80px;
}

form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

form button {
  background-color: var(--dore);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 10px;
}

form button:hover {
  background-color: #f3d27e;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #ccc;
}
footer a {
  color: var(--dore);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ===== EFFETS DE SURBRILLANCE DORÉE ===== */

/* Surbrillance douce sur les boutons */
button, .produit input[type="number"] {
  transition: all 0.3s ease;
}

button:hover {
  background: linear-gradient(90deg, #f5d97c, #d4af37);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  color: #000;
}

/* Animation dorée au survol des produits */
.produit {
  position: relative;
  overflow: hidden;
}

.produit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(212,175,55,0.2), transparent);
  transition: all 0.7s ease;
}

.produit:hover::before {
  left: 100%;
}

/* Bordure lumineuse subtile au survol */
.produit:hover {
  box-shadow: 0 0 25px rgba(212,175,55,0.3);
}

/* Effet doré sur les images au survol */
.produit img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.produit:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Accent doré au survol du lien “Boutique” dans la navigation */
.nav a:hover {
  color: var(--dore);
  text-shadow: 0 0 5px rgba(212,175,55,0.6);
}

/* ===== FORMULAIRE DE COMMANDE ===== */

.form-commande {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--dore);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

.form-commande h2 {
  color: var(--dore);
  text-align: center;
  margin-bottom: 30px;
}

.form-commande label {
  display: block;
  color: var(--blanc);
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-commande input,
.form-commande textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid var(--dore);
  border-radius: 6px;
  background-color: #111;
  color: var(--blanc);
  font-size: 0.9rem;
}

.form-commande input:focus,
.form-commande textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

/* --- Case à cocher bien alignée avec le texte --- */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px; /* espace régulier entre la case et le texte */
  margin: 20px 0;
  line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--dore);
  border-radius: 3px;
  background-color: transparent;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  top: 1px; /* ajuste légèrement la hauteur */
}

.checkbox-container input[type="checkbox"]:checked {
  background-color: var(--dore);
  box-shadow: 0 0 4px rgba(212,175,55,0.5);
}

.checkbox-container label {
  color: var(--blanc);
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-container a {
  color: var(--dore);
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

/* Correction position case à cocher */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dore);
  cursor: pointer;
}

.checkbox-container label {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-container a {
  color: var(--dore);
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

/* --- Animation d'apparition fluide du formulaire --- */
form {
  opacity: 0;
  transform: scale(0.98);
  animation: fadeZoomIn 0.8s ease-out forwards;
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Effet visuel sur le bouton de commande --- */
button[type="submit"] {
  background-color: var(--dore);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #f1c761;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ===== Animation du formulaire de commande ===== */
#commande-form {
  opacity: 0;
  transform: scale(0.98);
  animation: fadeZoomIn 0.8s ease-out forwards;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== PAGE HISTOIRE ===== */
.histoire-section {
  padding: 60px 20px;
  background-color: #000;
  color: #fff;
}

.histoire-section.alt {
  background: linear-gradient(180deg, #0b0b0b, #000);
}

.histoire-section .contenu {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.histoire-section h2 {
  color: var(--dore);
  margin-bottom: 20px;
}

.histoire-section p {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.histoire-section blockquote {
  margin-top: 25px;
  font-style: italic;
  color: var(--dore);
  font-size: 1.2rem;
}


/* ===== Style du lien actif dans le menu ===== */
.nav a.active {
  color: var(--dore);
  font-weight: 600;
  border-bottom: 2px solid var(--dore);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

/* Effet au survol */
.nav a:hover {
  color: var(--dore);
}

/* Bouton du menu du haut (header) */
.nav .btn {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--blanc);
  font-weight: 400;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav .btn:hover {
  color: var(--dore);
  border-bottom: 2px solid var(--dore);
}

/* ==== Halo doré sur la page active du menu ==== */
.nav a.active {
  color: var(--dore);
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: radial-gradient(circle, var(--dore) 40%, transparent 70%);
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from { opacity: 0.4; transform: scaleX(0.95); }
  to { opacity: 1; transform: scaleX(1); }
}

/* === Correction : empêcher le texte de passer au-dessus du logo === */
.header {
  position: relative;
  z-index: 10; /* le header passe au-dessus du contenu */
}

main, section, .produits, .hero, .intro, .histoire-section, .tarifs {
  position: relative;
  z-index: 1; /* le contenu reste en dessous */
}

main, section {
  position: relative;
  z-index: 1;
}
/* === CORRECTION DU HEADER ET DU DÉFILEMENT === */

/* Le contenu passe sous le header */
main, section {
  position: relative;
  z-index: 1;
}

/* Le header reste toujours au-dessus */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* === CORRECTION DU BODY + ANIMATION D'OUVERTURE === */
body {
  position: static;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

/* === CORRECTION DU HEADER ET DES SUPERPOSITIONS === */
.header {
  position: sticky;
  top: 0;
  z-index: 9999; /* reste toujours au-dessus */
  background-color: #000; /* évite la transparence pendant le scroll */
}

/* Empêche les sections de passer par-dessus */
.hero,
.histoire-section,
.tarifs,
.produits,
.livraison,
#commande {
  position: relative;
  z-index: 1;
}

.hero-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-image img {
  max-width: 300px; /* adapte selon ton goût */
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Liste des salons --- */
.salon-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;   /* Centrer la liste */
  max-width: 700px;      /* Largeur maximale pour éviter que ça prenne tout l’écran */
}

.salon-list li {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.2rem;
  border-left: 4px solid #cfa66d;
  border-right: 4px solid #cfa66d; /* ✅ Ajout de la bordure droite */
  border-radius: 8px;
  line-height: 1.4;
}

.salon-list strong {
  color: #fff;
  font-weight: 600;
}

.salon-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

/* --- Bonus esthétique : centrage du texte et ombre légère --- */
.salon-list li {
  text-align: center; /* Centre le texte dans chaque ligne */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Légère ombre autour du bloc */
  transition: transform 0.2s ease;
}

.salon-list li:hover {
  transform: scale(1.02); /* Légère mise en avant au survol */
}

/* === SECTION CARTE GOOGLE === */
.carte {
  text-align: center;
  padding: 60px 20px;
  background: #111;
  color: var(--dore);
}

.carte h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dore);
}

.google-map {
  max-width: 900px;
  margin: 0 auto;
  border: 3px solid var(--dore);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.social-links {
  margin-top: 15px;
  font-size: 1.1rem;
}

.social-links a {
  color: var(--dore);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icon {
  width: 40px;
  height: 40px;
  color: var(--dore);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

/* === POPUP DE VÉRIFICATION D’ÂGE (position haute) === */
.age-popup {
  position: fixed;
  top: 80px; /* distance depuis le haut, ajuste selon ton header */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  width: 100%;
  height: calc(100% - 80px);
  display: flex;
  align-items: flex-start; /* aligné en haut */
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease;
  overflow-y: auto;
  padding-top: 50px; /* espace au-dessus du bloc */
}

.age-popup.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-popup-content {
  background: #111;
  border: 2px solid var(--dore);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  animation: fadeSlideDown 0.5s ease;
}

/* Animation d’arrivée fluide */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-popup-content h2 {
  color: var(--dore);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.age-popup-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #888;
  color: #ccc;
  margin-left: 10px;
}

.btn-secondary:hover {
  background: #333;
}

/* === POPUP VÉRIFICATION D'ÂGE (fixe, en haut, responsive) === */
#age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;       /* placer en haut */
  padding-top: calc(var(--header-height, 88px) + 10px); /* laisse de l'espace pour le header */
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(3px);
  z-index: 100000 !important;    /* doit être au-dessus de tout */
  box-sizing: border-box;
  overflow-y: auto;              /* sur mobile, permet le scroll si nécessaire */
}

#age-verification .logo-age {
  width: 250px;
  max-width: 80%;
  display: block;
  margin: 0 auto 1rem;
}


/* Le panneau lui-même */
#age-verification .age-popup-content {
  width: min(600px, 92%);
  background: #111;
  color: #fff;
  border: 2px solid var(--dore);
  border-radius: 14px;
  padding: 28px 26px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.15);
  transform-origin: top center;
  animation: agePopIn 320ms ease;
  margin: 0 auto;
}

/* boutons */
#age-verification .popup-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

#enter-site.btn {
  background: var(--dore);
  color: #000;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
}

#leave-site.btn-secondary {
  background: transparent;
  color: #ccc;
  border: 1px solid #666;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

/* animation */
@keyframes agePopIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* accessibilité : cache la popup quand l'utilisateur a validé */
#age-verification.hidden {
  display: none !important;
}

/* === Bloquer le scroll tant que la popup d'âge est active === */
body.no-scroll,
html.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
}

/* Sécurise l'overlay : il doit couvrir toute la page et capter les événements */
#age-verification {
  position: fixed;
  inset: 0;                /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* popup en haut */
  padding-top: 90px;       /* ajuste si ton header est plus grand */
  background: rgba(0,0,0,0.85);
  z-index: 100000;
  box-sizing: border-box;
  overflow-y: auto;
}

/* cache contrôlé via une classe .hidden */
#age-verification.hidden { display: none !important; }

.cart-link {
  font-size: 1.1rem;
  margin-left: 1rem;
  color: #c8a35f;
  text-decoration: none;
  position: relative;
}

#cart-count {
  background: #c8a35f;
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  padding: 0.2em 0.5em;
  position: absolute;
  top: -8px;
  right: -10px;
}

.panier table {
  width: 90%;
  margin: 2rem auto;
  border-collapse: collapse;
}

.panier th, .panier td {
  border-bottom: 1px solid #ccc;
  padding: 0.8rem;
  text-align: center;
}

.panier input[type=number] {
  width: 50px;
  text-align: center;
}

.panier .suppr {
  background: none;
  border: none;
  color: #c8a35f;
  font-size: 1.1rem;
  cursor: pointer;
}

#panier-total {
  text-align: right;
  width: 90%;
  margin: 1rem auto 3rem;
  font-size: 1.2rem;
}

.btn {
  background: #c8a35f;
  color: white;
  padding: 0.7em 1.2em;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}



/* === STYLE SPÉCIFIQUE AUX BOUTONS "AJOUTER AU PANIER" === */
.btn-panier {
  display: inline-block;
  background: linear-gradient(90deg, var(--dore), #f5d97c);
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
  margin-top: 12px;
  font-family: var(--font-texte);
  letter-spacing: 0.3px;
}

.btn-panier:hover {
  background: linear-gradient(90deg, #f5d97c, var(--dore));
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(212,175,55,0.6);
}

/* === SECTION BOUTIQUE : Quantité + bouton panier === */

.quantite-bloc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quantite-bloc label {
  color: var(--dore);
  font-weight: 600;
}

.quantite-bloc select {
  background-color: #111; /* fond sombre bien lisible */
  border: 1px solid var(--dore);
  border-radius: 6px;
  color: #fff; /* texte bien visible */
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
  appearance: none; /* style uniforme entre navigateurs */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.quantite-bloc select option {
  background-color: #111; /* fond sombre du menu déroulant */
  color: #fff; /* texte clair */
}

.quantite-bloc .prix-groupe {
  color: #ccc;
  font-size: 0.95rem;
}

/* --- Bouton "Ajouter au panier" --- */
.btn-panier {
  display: inline-block;
  background: linear-gradient(90deg, var(--dore), #f5d97c);
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
  margin-top: 12px;
  font-family: var(--font-texte);
  letter-spacing: 0.3px;
}

.btn-panier:hover {
  background: linear-gradient(90deg, #f5d97c, var(--dore));
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(212,175,55,0.6);
}

/* === STYLE DU MENU DÉROULANT (quantité) === */
.produit select.quantite {
  background-color: transparent;
  color: #fff; /* texte blanc */
  border: 1px solid #c8a35f; /* doré */
  border-radius: 8px;
  padding: 6px 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  appearance: none; /* supprime la flèche par défaut */
  background-image: url("data:image/svg+xml,%3Csvg fill='%23c8a35f' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.produit select.quantite:hover {
  border-color: #d7b868;
  box-shadow: 0 0 6px rgba(200, 163, 95, 0.5);
}

.produit select.quantite:focus {
  outline: none;
  border-color: #e3c784;
  box-shadow: 0 0 8px rgba(227, 199, 132, 0.6);
}

/* Options dans le menu déroulant */
.produit select.quantite option {
  background-color: #222; /* fond foncé dans la liste */
  color: #fff;
}

/* === HEADER GLOBAL UNIFORME === */
.header {
  background-color: #000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

/* === NAVIGATION === */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nav-link {
  color: var(--blanc);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dore);
}

/* === Double soulignement doré pour la page active === */
.nav-link.active {
  position: relative;
}



/* === FOOTER UNIFORME === */
.footer {
  text-align: center;
  padding: 35px 15px;
  background-color: #000;
  border-top: 1px solid var(--dore);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.footer a {
  color: var(--dore);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-mentions {
  color: var(--dore);
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-style: italic;
}

/* === PAGE PANIER === */
.panier-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#panier-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

#panier-table th,
#panier-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: #fff;
}

#panier-table th {
  color: #c8a35f;
  font-weight: 600;
  text-transform: uppercase;
}

#panier-table input[type="number"] {
  width: 60px;
  padding: 6px;
  border-radius: 6px;
  border: none;
  text-align: center;
  font-size: 1rem;
}

#panier-table button.suppr {
  background: none;
  border: none;
  color: #c8a35f;
  font-size: 1.2rem;
  cursor: pointer;
}

.panier-total {
  margin-top: 40px;
  font-size: 1.2rem;
}

.panier-total strong {
  color: #c8a35f;
}

.btns-panier {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #c8a35f;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background-color: #c8a35f;
  color: #000;
}

.btn-gold {
  background: #c8a35f;
  color: #000;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-gold:hover {
  background: #e2c97b;
}

/* === GALERIES HISTOIRE === */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.galerie img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* === Correction du timing de fade-in sur pages lourdes (ex : Histoire) === */
body {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

body.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* === PAGE "NOTRE HISTOIRE" — AJUSTEMENTS FINAUX (v4) === */
/* ========================================================= */

/* Général : centrer les galeries dans la largeur du texte */
.histoire-section .galerie {
  max-width: 900px;
  margin: 2rem auto 0;
}

/* ========================================================= */
/* 1️⃣ LES DÉBUTS À SAINT-CHAMAS — 2 PORTRAITS CENTRÉS */
/* ========================================================= */
.histoire-section:nth-of-type(2) .galerie {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.histoire-section:nth-of-type(2) .galerie img {
  width: auto;             /* garde le format vertical */
  height: 420px;           /* hauteur fixe → portrait */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.histoire-section:nth-of-type(2) .galerie img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* ========================================================= */
/* 2️⃣ CINQ ANS D’ÉQUILIBRE — 3 COLONNES */
/* ========================================================= */
.histoire-section:nth-of-type(3) .galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  justify-items: center;
  margin-top: 2rem;
}

.histoire-section:nth-of-type(3) .galerie img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* ========================================================= */
/* 3️⃣ RÉHABILITER LA NÈFLE — NÉFLIER CENTRAL SUR 2 LIGNES */
/* ========================================================= */
.histoire-section:nth-of-type(4) .galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

/* images normales */
.histoire-section:nth-of-type(4) .galerie img {
  width: 100%;
  max-width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Néflier central sur 2 lignes */
.histoire-section:nth-of-type(4) .galerie img[alt*="Néflier"],
.histoire-section:nth-of-type(4) .galerie img[alt*="neflier"] {
  grid-column: 2;   /* colonne du milieu */
  grid-row: 1 / span 2; /* occupe les deux lignes */
  height: 420px;
}

/* Réarrangement manuel des 4 autres images */
.histoire-section:nth-of-type(4) .galerie img:nth-child(1) { grid-column: 1; grid-row: 1; }
.histoire-section:nth-of-type(4) .galerie img:nth-child(2) { grid-column: 3; grid-row: 1; }
.histoire-section:nth-of-type(4) .galerie img:nth-child(3) { grid-column: 1; grid-row: 2; }
.histoire-section:nth-of-type(4) .galerie img:nth-child(4) { grid-column: 3; grid-row: 2; }


/* ========================================================= */
/* 4️⃣ L’ESPRIT MAISON — CARTONS CENTRAL SUR 2 LIGNES */
/* ========================================================= */
.histoire-section:nth-of-type(5) .galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

/* images normales */
.histoire-section:nth-of-type(5) .galerie img {
  width: 100%;
  max-width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Cartons central sur 2 lignes */
.histoire-section:nth-of-type(5) .galerie img[alt*="Cartons"],
.histoire-section:nth-of-type(5) .galerie img[alt*="cartons"] {
  grid-column: 2;   /* colonne du milieu */
  grid-row: 1 / span 2; /* occupe les deux lignes */
  height: 420px;
}

/* Réarrangement manuel des 4 autres images */
.histoire-section:nth-of-type(5) .galerie img:nth-child(1) { grid-column: 1; grid-row: 1; }
.histoire-section:nth-of-type(5) .galerie img:nth-child(2) { grid-column: 3; grid-row: 1; }
.histoire-section:nth-of-type(5) .galerie img:nth-child(3) { grid-column: 1; grid-row: 2; }
.histoire-section:nth-of-type(5) .galerie img:nth-child(4) { grid-column: 3; grid-row: 2; }



/* ========================================================= */
/* 🔁 RESPONSIVE — TABLETTE & MOBILE */
/* ========================================================= */
@media (max-width: 768px) {
  .histoire-section .galerie {
    max-width: 100%;
  }

  /* Les débuts : une photo par ligne */
  .histoire-section:nth-of-type(2) .galerie {
    flex-direction: column;
    align-items: center;
  }

  .histoire-section:nth-of-type(2) .galerie img {
    height: 340px;
    width: 80%;
    max-width: 320px;
  }

  /* Réhabiliter : néflier reprend taille normale */
  .histoire-section:nth-of-type(4) .galerie {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .histoire-section:nth-of-type(4) .galerie img[alt*="Néflier"],
  .histoire-section:nth-of-type(4) .galerie img[alt*="neflier"] {
    grid-column: span 2;
    grid-row: auto;
    height: 320px;
  }
}

/* ========================================================= */
/* === RÉDUCTION GÉNÉRALE DES PHOTOS - PAGE HISTOIRE (FORCÉE) === */
/* ========================================================= */

/* Portraits (Les débuts) */
section.histoire-section:nth-of-type(2) .galerie img {
  height: 320px !important;
}

/* Cinq ans d’équilibre */
section.histoire-section:nth-of-type(3) .galerie img {
  max-width: 240px !important;
  height: 170px !important;
}

/* Réhabiliter la nèfle */
section.histoire-section:nth-of-type(4) .galerie img {
  max-width: 220px !important;
  height: 170px !important;
}

/* Néflier central */
section.histoire-section:nth-of-type(4) .galerie img[alt*="Néflier"],
section.histoire-section:nth-of-type(4) .galerie img[alt*="neflier"] {
  height: 360px !important;
}

/* L’esprit Maison */
section.histoire-section:nth-of-type(5) .galerie img {
  max-width: 240px !important;
  height: 170px !important;
}

/* Cartons central */
section.histoire-section:nth-of-type(5) .galerie img[alt*="Cartons"],
section.histoire-section:nth-of-type(5) .galerie img[alt*="cartons"] {
  height: 360px !important;       /* même hauteur que le Néflier */
  grid-column: 2 !important;      /* colonne centrale */
  grid-row: 1 / span 2 !important;/* occupe les deux lignes */
}

/* ============================================= */
/* === RESPONSIVE — PAGE PRODUITS ============== */
/* ============================================= */

/* Tablettes (écrans ≤ 1024px) */
@media (max-width: 1024px) {
  .produits {
    gap: 30px;
    padding: 40px 20px;
    max-width: 90%;
  }
  .produits .produit {
    flex: 0 0 45%;   /* deux colonnes */
    max-width: 45%;
  }
}

/* Mobiles (écrans ≤ 600px) */
@media (max-width: 600px) {
  .produits {
    gap: 20px;
    padding: 30px 15px;
    max-width: 100%;
  }
  .produits .produit {
    flex: 0 0 100%;  /* une seule colonne */
    max-width: 100%;
  }
}

/* ========================= */
/* ✅ Ajustement responsive Recettes */
/* ========================= */

@media (max-width: 900px) {
  .recettes {
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .recette {
    flex: 0 0 260px;
    max-width: 260px;
  }
}

@media (max-width: 600px) {
  .recettes {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
  }

  .recette {
    width: 100%;
    max-width: 320px;
  }
}

/* ========================= */
/* ✅ Ajustement responsive Produits */
/* ========================= */

@media (max-width: 900px) {
  .produits {
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .produit {
    flex: 0 0 260px;
    max-width: 260px;
  }
}

@media (max-width: 600px) {
  .produits {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
  }

  .produit {
    width: 100%;
    max-width: 320px;
  }
}

/* === Centrage du bouton de paiement dans la page panier === */
.paiement-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.paiement-container button {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.paiement-container button:hover {
  background-color: #b9962c;
}

/* --- Ajustement affichage prix produit sous la quantité --- */
.produit .quantite {
  display: block;
  margin: 0 auto;              /* centre le select */
  text-align: center;
}

.produit .prix-produit {
  display: block;              /* force passage à la ligne */
  text-align: center;          /* centre le texte */
  margin-top: 5px;             /* petit espace sous le select */
  font-weight: 600;            /* optionnel : plus visible */
  font-size: 1rem;             /* tu peux ajuster si besoin */
}

/* ================================
   PRIX + INFOBULLE TARIFS DÉGRESSIFS
================================ */
.info-prix {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  position: relative;
}

.prix-produit {
  font-size: 1.2rem;
  font-weight: 600;
}

.info-btn {
  background-color: #1e88e5;   /* fond bleu */
  color: white;                /* i en blanc */
  font-size: 0.9rem;
  font-family: "Lora", serif;
  font-style: italic;          /* i italique */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;          /* rond parfait */
  cursor: help;
  margin-left: 6px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.info-btn:hover {
  background-color: #0d47a1;   /* bleu plus foncé au survol */
  transform: scale(1.15);
}


.tooltip-box {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -100%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 20;
border: 2px solid #c8a35f; /* liseré doré */
}

.tooltip-box p {
  margin: 2px 0;
}

.tooltip-box::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.info-btn:hover + .tooltip-box,
.info-btn:focus + .tooltip-box {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   Phrase signature : "Évocateur de souvenirs..."
   Effet lumière blanc → doré MBDN
   Deux reflets décalés (un passage toutes les 3s)
   ===================================================== */

.souvenir-phrase {
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.6rem;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 1rem;

  /* Couleur blanche de base */
  color: #ffffff;

  /* Lueur dorée autour du texte */
  text-shadow:
    0 0 8px rgba(255, 240, 210, 0.7),
    0 0 20px rgba(226, 179, 92, 0.5),
    0 0 35px rgba(226, 179, 92, 0.3);

  overflow: hidden; /* masque les reflets */
}

/* Reflet doré principal */
.souvenir-phrase::before,
.souvenir-phrase::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  pointer-events: none;

  /* Reflet doré chaud dans la charte MBDN */
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,230,150,0.85) 40%,
    rgba(255,200,100,0) 100%);
  transform: skewX(-20deg);
  filter: blur(0.5px);
  animation: mbdn-sheen 6s ease-in-out infinite; /* vitesse inchangée */
}

/* Second reflet : décalé de moitié de cycle → passage toutes les 3s */
.souvenir-phrase::after {
  animation-delay: 3s;
}

/* Animation du déplacement du reflet */
@keyframes mbdn-sheen {
  0%   { left: -50%; opacity: 0; }
  10%  { opacity: 1; }
  50%  { left: 120%; opacity: 0.85; }
  70%  { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

/* Ajustement mobile : lisible mais pas trop grand */
@media (max-width: 768px) {
  .souvenir-phrase {
    font-size: 1.8rem;
    text-shadow:
      0 0 6px rgba(255, 240, 210, 0.6),
      0 0 14px rgba(226, 179, 92, 0.4);
  }
}

/* =======================================
   🛒 Icône panier – Version finale MBDN
   ======================================= */

.panier-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.6rem;            /* agrandit l'emoji 🛒 */
  font-weight: 600;
  color: var(--blanc);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.panier-link:hover {
  transform: scale(1.1);
  color: var(--dore);           /* doré au survol */
}

/* Compteur doré rond */
#cart-count {
  background-color: var(--dore);
  color: #000;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  top: -5px;
  right: 2px;
}

/* ✅ Version mobile : panier plus visible */
@media (max-width: 768px) {
  .panier-link {
    font-size: 1.9rem;
  }

  #cart-count {
    font-size: 0.9rem;
    top: -7px;
  }
}

/* === Alerte Panier (quantités autorisées) === */
#cart-alert {
  display: none; /* visible seulement quand déclenché */
  background-color: rgba(212, 175, 55, 0.1); /* doré léger */
  border: 1px solid #d4af37;
  color: #d4af37;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  padding: 15px 20px;
  margin: 30px auto;
  max-width: 900px;
  border-radius: 8px;
  animation: fadeInAlert 0.6s ease;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.produit .deg {
  color: #d4af37;
  font-style: italic;
  font-size: 0.95em;
  margin-top: 4px;
}


