/* ==========================================================================
   Experiência de vídeo — modal fullscreen, sem aparência de player genérico
   ========================================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease-out), visibility 0s;
}

.video-modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.video-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top, 0px));
  right: clamp(20px, 3vw, 48px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
  transition: color 0.4s var(--ease-out);
}

.video-modal__close span {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold-light);
  transition: transform 0.6s var(--ease-luxe);
}

.video-modal__close:hover {
  color: var(--gold-lumi);
}

.video-modal__close:hover span {
  transform: rotate(90deg);
}

body.is-video-open {
  overflow: hidden;
}

/* Botão Assistir vídeo — ícone de play */
.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

