/* Seção de filme — herda o visual das demais seções (.models-section) */
.film-section .film-frame {
  position: relative;
  margin-top: 60px;
  aspect-ratio: 16 / 9;
  background: #071513;
  border: 1px solid #171c1b33;
  overflow: hidden;
}
.film-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #071513;
  cursor: pointer;
}
.film-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(to top, #041211c2, #04121100);
  pointer-events: none;
}
.film-frame__tag {
  position: absolute;
  top: 28px;
  left: 31px;
  z-index: 2;
  color: #fff;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px #0006;
  pointer-events: none;
}
.film-controls {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.film-btn,
.film-sound__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff73;
  border-radius: 50%;
  transition: color .25s var(--ease-out), background .25s var(--ease-out), transform .16s var(--ease-out);
}
.film-btn {
  padding: 0;
  cursor: pointer;
}
.film-btn svg,
.film-sound__ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.film-sound {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.film-sound__label::before { content: "Ativar som"; }
.film-frame.is-sound .film-sound__label::before { content: "Som ativado"; }

/* ícones conforme o estado */
.film-frame.is-playing .i-play,
.film-frame:not(.is-playing) .i-pause,
.film-frame.is-sound .i-mute,
.film-frame:not(.is-sound) .i-vol { display: none; }

.film-btn:active,
.film-sound:active .film-sound__ico { transform: scale(.94); }
.film-btn:focus-visible,
.film-sound:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }
.film-sound:focus-visible { outline-offset: 6px; }

@media (hover: hover) {
  .film-btn:hover,
  .film-sound:hover .film-sound__ico { color: var(--velador-green); background: #fff; }
}

.film-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 2px;
  background: #ffffff2e;
  pointer-events: none;
}
.film-progress i {
  display: block;
  height: 100%;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 820px) {
  .film-section .film-frame { margin-top: 40px; }
  .film-frame__tag { top: 18px; left: 18px; }
  .film-controls { left: 18px; right: 18px; bottom: 18px; }
  .film-btn, .film-sound__ico { width: 40px; height: 40px; }
  .film-sound { gap: 11px; font-size: 8px; }
}
@media (max-width: 480px) {
  .film-section .film-frame { aspect-ratio: 4 / 3; }
  .film-sound__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .film-btn, .film-sound__ico { transition: none; }
}
