/* ── RÉALISATIONS SECTIONS ─────────────────────────────────── */
.real-section {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}

.real-section-alt {
  background: rgba(22,59,38,0.25);
}

.real-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.real-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.real-count {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
}

/* ── GRILLE PHOTOS ──────────────────────────────────────────── */
.real-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.real-grid a {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--green-panel);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.real-grid a:hover {
  border-color: var(--border-strong);
  z-index: 1;
  position: relative;
}

.real-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.9);
}

.real-grid a:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .real-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .real-grid { grid-template-columns: repeat(2, 1fr); }
  .real-section-header { flex-direction: column; gap: 0.5rem; }
}

/* ── GLIGHTBOX — sous-titres blancs sans fond ───────────────── */
.glightbox-clean .gslide-description,
.glightbox-clean .gslide-description *,
.glightbox-clean .gdesc-inner,
.glightbox-clean .gdesc-inner * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.glightbox-clean .gslide-title {
  color: #ffffff !important;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  text-align: center !important;
  margin: 0 !important;
  padding: 0.6rem 0 !important;
}

/* ── GLIGHTBOX — taille maximale de l'image ─────────────────── */
.glightbox-clean .gslide-image img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
