* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

/* Container fullscreen */
.tv-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
}

/* Cada tile ocupa 100% do stage, empilhado */
.tv-tile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}

/* Tile ativo: visível e interagível */
.tv-tile.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.tv-tile iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Indicadores de slide (pontinhos na parte inferior) ─────────────────── */
.tv-dots {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 99;
  opacity: 0.7;
  transition: opacity 300ms;
}

.tv-dots:hover {
  opacity: 1;
}

.tv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 300ms, transform 300ms;
  cursor: pointer;
  pointer-events: auto;
}

.tv-dot.is-active {
  background: rgba(21, 212, 255, 0.95);
  transform: scale(1.3);
}

/* ── Barra de progresso do slide atual ──────────────────────────────────── */
.tv-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: rgba(21, 212, 255, 0.8);
  z-index: 99;
  transition: width linear;
}

/* Placeholder para sistemas sem link */
.tv-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(150, 190, 220, 0.6);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
  background: linear-gradient(145deg, #071d30, #030f1e);
}

.tv-placeholder svg {
  opacity: 0.3;
}

/* ── Marca d'água (watermark) ───────────────────────────────────────────── */
.watermark {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 400ms ease;
  mix-blend-mode: multiply;
  display: flex;
  align-items: flex-end;
}

.watermark:hover {
  opacity: 0.92;
}

.watermark img {
  width: 150px;
  height: auto;
  display: block;
  transform: translateY(30px);
}

/* ── Logo da Prefeitura (esquerda) ─────────────────────────────────────── */
.watermark-prefeitura {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 400ms ease;
  mix-blend-mode: multiply;
  display: flex;
  align-items: flex-end;
}

.watermark-prefeitura:hover {
  opacity: 0.92;
}

.watermark-prefeitura img {
  width: 150px;
  height: auto;
  display: block;
  transform: translateY(-35px);
}
