/* ============ Album mosaïque ============ */
.album-section { padding: 90px 0; }
.album-intro { max-width: 62ch; color: var(--pierre); font-size: 1.06rem; line-height: 1.75; margin-bottom: 42px; }

.album { columns: 4 250px; column-gap: 16px; }
.album-item {
  display: block; break-inside: avoid; margin: 0 0 16px;
  position: relative; border-radius: 4px; overflow: hidden;
  background: var(--ai-deep); cursor: zoom-in;
  box-shadow: 0 6px 20px rgba(7,23,40,.08);
}
.album-item img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.album-item:hover img { transform: scale(1.05); }
.album-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,23,40,.4), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.album-item:hover::after { opacity: 1; }
.album-item .loupe {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--shu); display: grid; place-items: center;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.album-item:hover .loupe { opacity: 1; transform: none; }
.album-item .loupe svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* ============ Lightbox (CSS pur, via :target) ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,23,40,.94); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.lightbox:target { opacity: 1; visibility: visible; }
.lightbox .fond { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox picture { position: relative; display: block; }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox .fermer {
  position: absolute; top: 18px; right: 24px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06);
  display: grid; place-items: center; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.lightbox .fermer:hover { background: var(--shu); border-color: var(--shu); }
.lightbox .fermer svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.lightbox .nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05);
  display: grid; place-items: center; text-decoration: none; transition: background .2s, border-color .2s;
}
.lightbox .nav:hover { background: var(--shu); border-color: var(--shu); }
.lightbox .prev { left: 22px; } .lightbox .next { right: 22px; }
.lightbox .nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .lightbox .nav { display: none; } .lightbox { padding: 14px; } }

/* ============ Section vidéos ============ */
.videos { background: var(--ai); color: #fff; padding: 90px 0; border-top: 3px solid var(--shu); }
.videos .inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
@media (max-width: 820px) { .videos .inner { grid-template-columns: 1fr; gap: 34px; } }
.videos h2 { color: #fff; }
.videos p { color: rgba(255,255,255,.8); font-size: 1.04rem; line-height: 1.75; margin-bottom: 28px; }
.video-carte {
  position: relative; border-radius: 10px; overflow: hidden; display: block;
  aspect-ratio: 16 / 9; background: var(--ai-deep);
  box-shadow: 0 18px 46px rgba(0,0,0,.4);
}
.video-carte img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .3s, transform .6s cubic-bezier(.22,.61,.36,1); }
.video-carte:hover img { opacity: .48; transform: scale(1.04); }
.video-carte .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-carte .play span {
  width: 78px; height: 78px; border-radius: 50%; background: var(--shu);
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(173,49,33,.55);
  transition: transform .3s;
}
.video-carte:hover .play span { transform: scale(1.09); }
.video-carte .play svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }
@media (max-width: 820px) { .videos-media { order: -1; } }
