/* exemples.css — galerie « Voir un exemple » (aucune dépendance) */
section.exemples {
  margin: 2rem 0;
  padding: 1.3rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 12px;
}
section.exemples h2 { margin: 0 0 0.3rem; color: var(--bleu-fonce); }
section.exemples .intro-exemple { color: var(--texte-doux); margin: 0 0 0.9rem; font-size: 0.95rem; }
.galerie-exemple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}
.galerie-exemple figure { margin: 0; }
.galerie-exemple button {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  display: block;
}
.galerie-exemple img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--bordure);
}
.galerie-exemple figcaption { font-size: 0.85rem; color: var(--texte-doux); margin-top: 0.3rem; }
.vignette-exemple {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--bordure);
  margin-bottom: 0.2rem;
}
.galerie-carte { grid-template-columns: 1fr 1fr; margin: 0.3rem 0 0.4rem; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 30, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}
.lightbox.ouvert { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.lightbox .fermer {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
.lightbox .legende {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #e8eaf0;
  font-size: 0.95rem;
  padding: 0 60px;
}
@media (prefers-reduced-motion: reduce) { .carte { transition: none; } }
.page-web-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 3rem);
  padding-block: clamp(1rem, 4vw, 3rem);
}
.page-web-hero__image {
  margin: 0;
  padding: 0.75rem;
  background: #e1eae3;
  border-radius: 1rem;
}
.page-web-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
}
.page-web-hero__image figcaption {
  color: #263c34;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  .page-web-hero { grid-template-columns: minmax(0, 1fr); }
  .page-web-hero__image { max-width: 38rem; }
}
