/* Le troisième volet reprend la mise en page de l'article de conférence. */
#troisieme-partie { scroll-margin-top: 90px; }
.conf-socio-suite { padding-top: 8px; }
.conf-socio-suite .article > h2:first-child { margin-top: 0; }
.soc-video-launch {
  background: radial-gradient(circle at 48% 40%, rgba(168,120,255,.22), transparent 55%), linear-gradient(145deg, #1a1734, #070b19);
}
.soc-video-launch--grecs {
  background: radial-gradient(circle at 60% 40%, rgba(56,225,255,.14), transparent 58%), linear-gradient(145deg, #16182f, #090b18);
}
.soc-video-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 16% 10% 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  text-align: center;
}
.soc-video-launch .video-launch__play { margin-top: 18%; }
.soc-gallery {
  max-width: 680px;
  margin: 2em auto;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(14,18,38,.58);
  text-align: center;
}
.soc-gallery__open img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(58vh, 590px);
  margin: auto;
  object-fit: contain;
}
.soc-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
}
.soc-gallery__controls button {
  min-width: 44px;
  min-height: 42px;
  padding: 2px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}
.soc-gallery__controls button:hover,
.soc-gallery__controls button:focus-visible { border-color: var(--cyan); }
.soc-gallery__count { color: var(--text); font-family: var(--font-display); }
.soc-gallery__caption { margin: 10px 0 0 !important; color: var(--text-dim) !important; font-size: .76rem !important; }
.soc-evidence { margin-bottom: 16px; }
/* La capture s'agrandit sur place. Ouvrir un onglet faisait perdre le fil de
   la page, ce qui n'est pas tenable en pleine presentation. Pas de regle
   position ici : la valeur du navigateur pour une boite modale suffit, et la
   redefinir sortirait la fenetre de l'ecran. */
.soc-lightbox {
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 4, 12, .95);
  color: var(--text);
  overflow: hidden;
}
.soc-lightbox::backdrop { background: rgba(3, 4, 12, .95); }
.soc-lightbox__image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: 100vw;
  /* Toute la hauteur de la fenetre : c'est ce qu'on vient chercher en cliquant. */
  height: 100dvh;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.soc-lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(8, 11, 26, .8);
  color: var(--text);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.soc-lightbox button:hover,
.soc-lightbox button:focus-visible { border-color: var(--cyan); background: rgba(8, 11, 26, .95); }
.soc-lightbox__prev,
.soc-lightbox__next {
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  padding-bottom: 4px;
  font-size: 2rem;
}
.soc-lightbox__prev { left: 16px; }
.soc-lightbox__next { right: 16px; }
.soc-lightbox__close {
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding-bottom: 3px;
  font-size: 1.7rem;
}
.soc-lightbox__count {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: .85rem;
  text-align: center;
  text-shadow: 0 1px 6px rgba(3, 4, 12, .9);
}
.soc-gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
@media (max-width: 600px) {
  .soc-gallery__open img { height: min(64vh, 500px); }
  .soc-lightbox__prev,
  .soc-lightbox__next { width: 46px; height: 46px; margin-top: -23px; font-size: 1.7rem; }
  .soc-lightbox__prev { left: 8px; }
  .soc-lightbox__next { right: 8px; }
}
