body {
  font-family: "Montserrat", 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 */
  margin-top: 10px;
}


/* 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: flex;
  justify-content: center;
  align-items: center;
  background-color: #1C3454;
  padding: 0.5rem 2rem;
  height: 75px;
  gap: 1rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-vitrine a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.85rem, 1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 1rem;
}

.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 */
}

.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;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo2 {
  width: 300px; /* ajuste la taille ici */
  height: auto;
  display: block;
}

/* 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;
}

.hero {
  position: relative;
  height: auto; /* hauteur visible, à ajuster selon le panneau */
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  margin-top: 0px;
}

.hero-image {
  width: 100%;
  height: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* clé du responsive parfait */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* le texte ne bloque pas les clics */
}

.hero-text {
  color: white;
  font-size: 2.5rem;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.marge {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  grid-auto-rows: 6px;
  grid-auto-flow: dense;
  column-gap: 20px; /* espace entre les colonnes */
  row-gap: 0.2px;     /* petit espace vertical pour garder le Masonry propre */
}

.zoom-wrapper {
  display: block;
  overflow: hidden;
  align-self: start;
  grid-row-end: span var(--rows, 1);
}

.zoom-wrapper picture {
  display: block;
}

.zoom-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform .3s ease;
}

.zoom-wrapper:hover img {
  transform: scale(1.03);
}






/* Responsive */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}




/* 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);
}



* {
  box-sizing: border-box;
}

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

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

@media (max-width: 768px) {
  .contact-block .contact-container,
  .contact-bock .contact-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 840px) {
  .lang-switch {
    display: none;
  }
}


/* 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;
}

.mobile-menu a.active {
  color: #b87333;
  pointer-events: none;
}

.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: 840px) {
  .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: 840px) {
  .mobile-menu-overlay,
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
 .hero { 
	display: flex; 
	flex-direction: column; 
	align-items: center; 
	text-align: center; 
	height: auto !important; /* override desktop height */ 
        margin-top: 0px;
 }
 
 .promo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }
  
 .hero-text {
    transform: none;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-image {
    width: 100%;
    max-width: 500px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

}
