/* Styles généraux du site */

body {
  margin: 0;
  padding: 1rem;
  font-family: 'Montserrat', sans-serif;
  background: url('A_classical-style_marble_statue_of_Diogenes_is_dep.png') no-repeat center center fixed;
  background-size: cover;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Bandeau de navigation */
.bandeau {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.3rem;
  z-index: 1000;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.bandeau a {
  color: #000;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 10px;
}

.bandeau a.active {
  background-color: #0066cc;
  color: #fff;
}

/* Titres (à activer si besoin) */
h1 {
  color: #f68909;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  border-radius: 15px;
  padding: 0.5rem 1rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  display: inline-block;
  margin-top: 50px;
  text-align: center;
}

/* Icône email */
.email-icon {
  height: 25px;
  margin-top: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

/* Espacement */
.spacer {
  height: 3rem;
}

/* Bloc général */
.block {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 20px;
  font-size: 1.1em;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* Pied de page */
.bottom {
  font-size: 0.9em;
  margin-top: auto;
}

/* Zone centrale */
.middle {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Media queries pour bandeau */
@media (max-width: 768px) {
  .bandeau {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

/* ---- Styles spécifiques page Réalisations ---- */

/* Container principal avec padding top pour décaler sous le bandeau */
.container {
  padding-top: 70px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Sous-bandeau catégories */
.sous-bandeau {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  border-radius: 15px;
  padding: 0.3rem;
  margin-bottom: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.sous-bandeau a {
  color: #000;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 10px;
}

.sous-bandeau a.active {
  background-color: #0066cc;
  color: #fff;
}

/* Boîte de galerie */
        .gallery-box {
            background: rgba(255, 255, 255, 0.3);
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
        }

/* Swiper container */
        .swiper {
            width: 100%;
            height: 600px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 10px;
        }

		.swiper-wrapper {
			height: 100%;
		}

        .swiper-slide {
            text-align: center;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 10px;
        }

.swiper-slide img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
}

/* Bloc de texte explicatif */
.text-block {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 20px;
  font-size: 1.1em;
  margin: 10px auto 0 auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsive Swiper hauteur */
@media (max-width: 768px) {
  .swiper {
    height: 400px;
  }
}
/* Styles spécifiques à la page CGV */

/* Corps de page : on ajoute un peu de padding latéral mais pas trop (sinon conflit avec body global) */
body.cgv-page {
  padding: 1rem 2rem; /* un peu plus d'espace latéral que global */
  color: #000; /* texte noir */
}

/* Conteneur principal, spécifique CGV */
.cgv-container {
  width: 800px;
  margin: 8% auto 5% auto; /* marge en haut sous bandeau, en bas */
  background: rgba(255, 255, 255, 0.9);
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cgv-container h2 {
  color: #000;
  background: none;
  font-size: 1.8rem;
  margin-bottom: 0.5em;
  font-weight: bold;
}


/* Section fabricant */
.fabricant {
  margin-bottom: 3em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

/* Logos fabricants */
.fabricant img {
  max-height: 60px;
  margin: 1em 0;
  display: inline-block;
}

/* Liens spécifiques CGV */
.fabricant p a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fabricant p a:hover {
  text-decoration: underline;
  color: #004a99;
}

/* Responsive : sur petits écrans, marges et paddings réduits */
@media (max-width: 768px) {
  body.cgv-page {
    padding: 1rem;
  }

  .cgv-container {
    margin-top: 120px; /* pour tenir compte du bandeau fixe */
    padding: 1.5em;
  }

  .fabricant img {
    max-height: 40px;
  }
}

/* Partenaires */

.partenaires-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.partenaire {
  background: rgba(255, 255, 255, 0.9); /* Plus opaque */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.partenaire h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #000;
}

.partenaire img {
  max-height: 60px; /* limite la hauteur à 60px */
  width: auto;      /* largeur automatique pour garder les proportions */
  margin-bottom: 10px;
}

.partenaire .description {
  font-size: 0.95em;
  margin-bottom: 10px;
  color: #333;
}
