/* A demonstração acontece dentro de um celular fixo, com a gravação real. */
.video-showcase {
  width:min(100%,500px);
  margin-inline:auto;
}
.video-eyebrow {
  margin-bottom:20px;
  text-align:center;
  font-size:9px;
  font-weight:600;
  letter-spacing:1.7px;
  color:#537b8b;
}
.demo-video-stage {
  position:relative;
  isolation:isolate;
  padding:20px 22px 30px;
}
.demo-video-stage::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:1% -9% 0;
  border-radius:50%;
  background:radial-gradient(ellipse at 50% 48%,#47dcfba6 0%,#53daf46b 28%,#7ce4f73d 47%,transparent 71%);
  filter:blur(14px);
}
.demo-video-stage::after {
  content:"";
  position:absolute;
  z-index:-1;
  bottom:5px;
  left:20%;
  width:64%;
  height:26px;
  border-radius:50%;
  background:#003e6333;
  filter:blur(17px);
}
.demo-device {
  position:relative;
  width:min(310px,100%);
  margin-inline:auto;
  padding:18px 9px 12px;
  border:2px solid #a6beca;
  border-radius:40px;
  background:linear-gradient(115deg,#506c7e 0%,#182c3a 5%,#081725 48%,#1c3443 94%,#577587 100%);
  box-shadow:1px 0 0 #effaff,-2px 1px 0 #4c697a,-4px 2px 0 #738e9c,-6px 3px 0 #193444,-7px 4px 0 #aec5d0,0 33px 45px #002b4e30,0 7px 12px #002b4e24,inset 0 0 0 2px #d4eaf329;
}
.demo-device::before {
  content:"";
  position:absolute;
  top:7px;
  left:calc(50% - 23px);
  width:37px;
  height:3px;
  border-radius:4px;
  background:#02080e;
  box-shadow:0 1px 0 #ffffff26;
}
.demo-device::after {
  content:"";
  position:absolute;
  top:6px;
  left:calc(50% + 20px);
  width:5px;
  height:5px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#315772,#07121f 65%);
  box-shadow:0 0 0 1px #ffffff15;
}
.device-buttons {
  position:absolute;
  left:-8px;
  top:108px;
  width:3px;
  height:32px;
  border-radius:3px 0 0 3px;
  background:linear-gradient(90deg,#6e8b9e,#1e3745);
  box-shadow:0 45px 0 #375361;
}
.device-buttons::after {
  content:"";
  position:absolute;
  left:calc(310px + 3px);
  top:17px;
  height:57px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:#3e596b;
}
.demo-screen {
  position:relative;
  border-radius:28px;
  overflow:hidden;
  background:#f4f8fb;
  box-shadow:0 0 0 1px #000,0 0 0 2px #e6f8ff1f;
}
.demo-device video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:720 / 1450;
  object-fit:contain;
  background:#f4f8fb;
  border-radius:0;
}
.tap-cue {
  position:absolute;
  z-index:2;
  width:25px;
  height:25px;
  border:1.5px solid #0085a7;
  border-radius:50%;
  background:#00bedb24;
  box-shadow:0 0 0 3px #ffffffb3,0 2px 8px #00375420;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,-50%);
}
.tap-cue::after {
  content:"";
  position:absolute;
  inset:8px;
  border-radius:50%;
  background:#007e9f;
}
.video-caption {
  text-align:center;
  margin:24px auto 16px;
  min-height:58px;
}
.video-caption strong {
  display:block;
  font-size:18px;
  line-height:1.35;
  letter-spacing:-.45px;
}
.video-caption p {
  margin-top:7px;
  color:#5e6d78;
  font-size:11px;
  line-height:1.6;
}
.video-controls {
  border:1px solid #dce7ec;
  border-radius:18px;
  background:#ffffffd9;
  padding:13px;
}
.video-chapters {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  margin-top:0;
}
.video-chapters button {
  padding:9px 4px;
  min-height:54px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#526b7b;
  font-size:9px;
  line-height:1.4;
  font-weight:600;
}
.video-chapters button span {
  display:block;
  font-size:9px;
  margin-bottom:4px;
  color:var(--cyan-dark);
}
.video-chapters button[aria-pressed="true"] {
  background:#e0f6fc;
  color:var(--navy);
}
.video-chapters button:hover { background:#eafbff; }
.video-error { margin-top:12px; text-align:center; font-size:12px; color:#536b7a; }
.video-error a { text-decoration:underline; }
@media(max-width:480px) {
  .video-eyebrow { font-size:8px; letter-spacing:1.1px; margin-bottom:18px; }
  .demo-video-stage { padding:17px 18px 25px; }
  .demo-device { width:min(286px,100%); padding:16px 7px 10px; border-radius:34px; }
  .demo-screen { border-radius:25px; }
  .device-buttons::after { display:none; }
  .video-caption { min-height:76px; margin-top:22px; margin-bottom:10px; }
  .video-caption strong { font-size:17px; }
  .video-caption p { max-width:290px; margin-inline:auto; }
  .video-controls { padding:10px; }
  .video-chapters button { font-size:8px; padding-inline:2px; }
}

.demo-screen[role=button] { cursor:pointer; }
.demo-screen:focus-visible { outline:3px solid var(--cyan-dark); outline-offset:5px; }


/* Gravações diretas dos passos 1, 2 e 3: proporção da tela sem a barra de status. */
.demo-device #app-demo,
.demo-device #demo-edicao,
.demo-device #demo-repertorio { aspect-ratio:720 / 1480; }
