/* Ouverture « cinema » — ecran noir, blason qui zoome, puis titre et adresse.
   Replique l'ouverture de champel.mbbssarl.ch, aux couleurs de Gynecologie Urgence. */
.cinema {
  position: fixed; inset: 0; margin: 0; border: 0; padding: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: #000; color: #f4f2ef;
  font-family: Georgia, "Times New Roman", serif; overflow: hidden; text-align: center;
}
.cinema::backdrop { background: #000; }
.cinema-scene {
  height: 100%; min-height: 100svh; display: grid; place-content: center;
  justify-items: center; padding: 80px 24px 110px;
}
.cinema-blason { display: block; width: min(530px, 82vw); height: auto; object-fit: contain; }
.cinema-title { display: grid; justify-items: center; }
.cinema-eyebrow {
  font: 10px/1.8 Arial, sans-serif; text-transform: uppercase; letter-spacing: .22em;
  color: #fff; margin: 0 0 26px; font-size: clamp(15px, 2.4vw, 22px);
}
.cinema-title-l1, .cinema-title-l2 { display: block; }
.cinema-title-l2 { display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.cinema-address-line {
  margin: 0; line-height: 1.6; font-size: clamp(26px, 3.9vw, 42px);
  letter-spacing: .05em; color: #fff;
}
.cinema-address-city { font-size: clamp(21px, 2.6vw, 30px); margin-top: 2px; }

.cinema .grow { animation: cinema-zoom 1.75s cubic-bezier(.22, .61, .36, 1) both; }
.cinema .grow-out { animation: cinema-out .35s both; }
.cinema .title { animation: cinema-zoom 1.75s cubic-bezier(.22, .61, .36, 1) both; transform-origin: center; }
.cinema .cinema-zoom { animation: cinema-zoom 1.75s cubic-bezier(.22, .61, .36, 1) both; }
.cinema .title-out { animation: cinema-out .35s both; }
.cinema.cinema-closing { animation: cinema-fade .5s forwards; }

@keyframes cinema-zoom { 0% { transform: scale(.2); opacity: 0; } 15% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes cinema-in { 0% { opacity: 0; } to { opacity: 1; } }
@keyframes cinema-out { 0% { opacity: 1; } to { opacity: 0; } }
@keyframes cinema-fade { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cinema .grow, .cinema .grow-out, .cinema .title, .cinema .title-out { animation: none; }
}
