body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

nav a.active {
  pointer-events: none;   /* désactive le clic */
  cursor: default;        /* change le curseur */
  color: #b87333;         /* couleur différente pour montrer que c’est actif */
}

.lang-switch a.active {
  pointer-events: none;   /* désactive le clic */
  cursor: default;        /* change le curseur */
  color: #b87333;         /* couleur différente pour montrer que c’est actif */
  text-decoration: underline; /* optionnel : style actif */
}
.header-top {
  background: none; /* supprime le fond bleu si non voulu */
  padding: 0;        /* supprime les marges internes */
  margin: 0;         /* supprime les marges externes */
  border: none;      /* supprime toute bordure */
}

.site-title {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

section {
  background: none; /* supprime le fond bleu si non voulu */
  padding: 0;        /* supprime les marges internes */
  margin: 0;         /* supprime les marges externes */
  border: none;      /* supprime toute bordure */
}

.footer {
  background: none; /* supprime le fond bleu si non voulu */
  padding: 0;        /* supprime les marges internes */
  margin: 0;         /* supprime les marges externes */
  border: none;      /* supprime toute bordure */
}

.wine-card {
  border: 1px solid #1C3454;
  padding: 1rem;
  margin: 1rem 0;
}


/* Ligne titre + langue */
.header-top {
  display: flex;
  justify-content: center;   /* centre le titre */
  align-items: center;
  background-color: #1C3454;
  padding: 0rem 2rem;
  color: white;
  position: relative;
  margin-bottom: 0rem;
}

.logo3 {
  width:450px;       /* ajuste ici la taille souhaitée */
  height: auto;      /* conserve les proportions */
  display: block;    /* évite les espaces parasites */
}


/* FR | EN à droite */
.lang-switch {
  position: absolute;
  right: 2rem;
  font-size: 0.9rem;
  font-weight: bold;
}

.lang-switch a {
  color: white;
  text-decoration: none;
  margin-left: 0.5rem;
}

.lang-switch a:hover {
  text-decoration: underline;
}
/* Menu horizontal */
.nav-vitrine {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: #1C3454;
  padding: 0.2rem 2rem;
  height: 70px; /* fixe la hauteur totale */
  min-height: 100px;
}


.nav-left,
.nav-right {
  display: flex;
  justify-content: space-evenly; /* espace égal entre chaque lien */
  flex-wrap: wrap;
  width: 100%;
}

.nav-vitrine a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-vitrine a:hover {
  text-decoration: underline;
}

/* Logo centré */
.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px; /* fixe la hauteur du menu */
  margin-bottom: 10px;
}

.logo {
  height: 100px; /* réduit légèrement */
  width: auto;
  margin: 0;
}

/* Trait cuivré */
.cuivre-bar {
  height: 2px;
  background: linear-gradient(to right, #b87333, #d4af37);
  width: 100%;
  margin: 0 auto;
}

/* Header complet fixé */
.header-vitrine {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* reste au-dessus du contenu */
}



.footer-vitrine {
  background-color: #1C3454;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Georgia', serif;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}


.logo2 {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0 1rem; /* optionnel : respiration latérale */
  box-sizing: border-box;
}


/* Réseaux sociaux */
.footer-socials {
  margin: 1rem 0;
}

.footer-socials a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.6rem; /* taille bien visible */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #b87333; /* effet cuivré au survol */
}


/* Mentions légales */
.footer-legal p {
  font-size: 0.8rem;
  margin: 0.3rem 0;
}

.footer-legal a {
  color: white;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}


.wine-page {
  padding-top: 10px; /* ajuste selon la hauteur de ton menu */
}

/* Section avec image de fond */
.wine-filter-section {
  background-image: url("../../images/vigne.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 30px 20px; /* espace interne réduit */
  margin-top: 0px;  /* descend sous le header fixe */
  border-radius: 12px;
  text-align: center;

  overflow: hidden;  /* empêche l’image de déborder */
  position: relative;
  max-width: 1200px;   /* largeur élégante */
  margin: 0 auto;      /* centre la bannière */
  padding: 40px 20px;  /* espace interne */
  border-radius: 12px;
}


.wine-filter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

/* Conteneur du menu */
.wine-filter {
  display: inline-flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.wine-filter-wrapper {
  padding-top: 50px; /* hauteur réelle du header fixe */
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 40px;
}


.wine-filter button {
  padding: 0.6rem 1.4rem;
  border: none;
  background: white;
  color: #1C3454;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.wine-filter button:hover {
  background: #f5f5f5;
  color: #b87333;
}

.wine-filter button.active {
  background: #b87333;
  color: white;
}



.wine-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 2rem; /* espace entre les cartes */
  justify-items: center; /* centre chaque carte */
  max-width: 900px; /* largeur totale de la grille */
  margin: 0 auto; /* centre la grille sur la page */
  margin-bottom: 4rem;
}

.wine-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  max-width: 350px;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #b87333; /* ton brun du texte */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.wine-item img {
  width: 100%;
  height: 250px; /* hauteur uniforme */
  object-fit: cover; /* recadre proprement sans déformer */
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.wine-item h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a2f2f;
  margin: 0.4rem 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.wine-item h3 {
  font-size: 0.95rem;
  font-weight: 300;
  color: #7a6a6a;
  margin: 0;
  font-style: italic;
}

.wine-item h4 {
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0.5rem 0 0.3rem;
  text-align: center;
}

.wine-item h4 a {
  color: #4a2f2f;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: 0.3s ease;
}

.wine-item h4 a:hover {
  color: #b87333; /* effet cuivré */
}

.wine-content {
  flex-grow: 1;
  min-height: 400px;
}

.wine-footer {
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
}

.wine-footer h4 {
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
}

.wine-footer h4 a {
  color: #4a2f2f;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: 0.3s ease;
}

.wine-footer h4 a:hover {
  color: #b87333;
}

/* Lightbox cachée par défaut */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px); /* flou du fond */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Image agrandie */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Curseur sur les images cliquables */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.zoomable:hover {
  transform: scale(1.03);
}




@media (max-width: 768px) {
  .wine-list {
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
  }
}

/* MENU MOBILE — VERSION CONTACT */

.mobile-menu-toggle {
  display: none;
  background-color: #1C3454;
  color: white;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.menu-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(28, 52, 84, 0.95);
  z-index: 9999;
  animation: fadeIn 0.3s ease forwards;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1C3454;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  animation: slideDown 0.4s ease forwards;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 1rem 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #b87333;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 100000;
}

.lang-switch-mobile {
  margin-top: 2rem;
  font-weight: bold;
}

.lang-switch-mobile a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
}

.lang-switch-mobile a.active {
  color: #b87333;
  text-decoration: underline;
  pointer-events: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translate(-50%, -60%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .nav-vitrine {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .lang-switch {
    display: none;
  }

  .nav-center {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-menu-overlay,
  .mobile-menu-toggle {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

iframe, img {
  max-width: 100%;
  height: auto;
  display: block;
}
