/* AILAWTV · palco 1920×1080 (TV e pré-visualização do gerenciamento)
   Compatível com Chromium ~38 (webOS 3 · LG LH6000): sem variáveis CSS, sem grid.
   As cores abaixo são os valores da paleta oficial AI LAW (brand/tokens.css):
   grafite #2D2D2D · grafite profundo #1D1D1C · bege #E8E0D4 · taupe #B5A99A · papel #F5F3EF
   bronze #A08258 (claro) · bronze claro #BA9E75 (escuro) · bronze profundo #6E5A3C (texto pequeno no claro) */

.tv-stage {
  position: relative; width: 1920px; height: 1080px; overflow: hidden;
  background: #1D1D1C; color: #F5F3EF;
  font-family: "Montserrat", Arial, sans-serif; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.tv-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 1; }
.tv-layer.tv-enter { opacity: 0; }
.tv-fade .tv-layer { -webkit-transition: opacity .9s ease; transition: opacity .9s ease; }

/* ---------------- slide base ---------------- */
.tvs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.tvs-bg-grafite { background: #1D1D1C; color: #F5F3EF; }
.tvs-bg-bege    { background: #E8E0D4; color: #2D2D2D; }
.tvs-bg-papel   { background: #F5F3EF; color: #2D2D2D; }
.tvs-bg-foto, .tvs-bg-imagem { background: #1D1D1C; color: #F5F3EF; }

.tvs-content {
  position: absolute; left: 112px; right: 112px; top: 170px; bottom: 170px;
  display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column;
  overflow: hidden; font-size: 40px; z-index: 2;
}
/* centraliza sem cortar o topo quando o conteúdo é grande */
.tvs-content > :first-child { margin-top: auto; }
.tvs-content > :last-child { margin-bottom: auto; }
.tvs-narrow { right: 920px; }

.tvs-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 28px; }
.tvs-row .tvs-eyebrow { margin-bottom: 0; }

.tvs-eyebrow {
  font-size: 22px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 28px; color: #6E5A3C;
}
.tvs-dark .tvs-eyebrow { color: #BA9E75; }

.tvs-ico {
  display: inline-block; vertical-align: middle; background-color: #A08258;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center;
  -webkit-flex-shrink: 0; flex-shrink: 0;
}
.tvs-dark .tvs-ico { background-color: #BA9E75; }
.tvs-ico-lg { width: 96px; height: 96px; margin-bottom: 40px; }
.tvs-ico-sm { width: 44px; height: 44px; margin-right: 20px; }

.tvs-title {
  font-weight: 300; font-size: 96px; line-height: 1.1; letter-spacing: -.012em;
  margin: 0 0 36px; max-width: 1560px;
}
.tvs-type-noticia .tvs-title { font-size: 84px; }
.tvs-title-md { font-size: 64px; margin-bottom: 40px; }

.tvs-body {
  font-size: 40px; line-height: 1.45; font-weight: 400; margin: 0; max-width: 1400px;
  color: #4A4640;
}
.tvs-dark .tvs-body { color: #D9D2C7; }
.tvs-body b { font-weight: 700; color: #2D2D2D; }
.tvs-dark .tvs-body b { color: #F5F3EF; }
.tvs-body-lg { font-size: 48px; }

.tvs-note {
  font-size: 24px; font-weight: 500; margin: 36px 0 0; letter-spacing: .02em; color: #6E665B;
}
.tvs-dark .tvs-note { color: #A99F92; }

/* padrão gráfico (monograma A/I) — textura, surge da direita */
.tvs-pattern {
  position: absolute; right: 0; top: 0; bottom: 0; width: 34%; z-index: 0;
  background: url(/brand/pattern/ailaw-pattern-module.svg) repeat; background-size: 138px 129px;
  opacity: .07;
  -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

/* imagem lateral */
.tvs-side { position: absolute; right: 0; top: 0; bottom: 0; width: 820px; z-index: 1; background: #2D2D2D; }
.tvs-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvs-side:after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200px;
  background: -webkit-linear-gradient(top, rgba(29,29,28,.6), rgba(29,29,28,0));
  background: linear-gradient(to bottom, rgba(29,29,28,.6), rgba(29,29,28,0));
}

/* foto de fundo */
.tvs-photo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tvs-scrim {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1;
  background: -webkit-linear-gradient(left, rgba(29,29,28,.92) 0%, rgba(29,29,28,.75) 50%, rgba(29,29,28,.35) 100%);
  background: linear-gradient(to right, rgba(29,29,28,.92) 0%, rgba(29,29,28,.75) 50%, rgba(29,29,28,.35) 100%);
}

/* ---------------- destaque (número herói) ---------------- */
.tvs-hero-num {
  font-weight: 200; font-size: 300px; line-height: 1; letter-spacing: -.03em; color: #A08258;
  margin: 0 0 32px; font-variant-numeric: tabular-nums; -webkit-font-feature-settings: "tnum"; font-feature-settings: "tnum";
}
.tvs-dark .tvs-hero-num { color: #BA9E75; }

/* ---------------- agenda ---------------- */
.tvs-agenda, .tvs-feed, .tvs-bd { list-style: none; margin: 0; padding: 0; }
.tvs-ag-row {
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  padding: .55em 0; border-top: 1px solid rgba(45,45,45,.16);
}
.tvs-ag-row:last-child { border-bottom: 1px solid rgba(45,45,45,.16); }
.tvs-dark .tvs-ag-row { border-color: rgba(245,243,239,.16); }
.tvs-compact .tvs-ag-row { padding: .32em 0; font-size: .82em; }
.tvs-ag-date { width: 3.2em; -webkit-flex-shrink: 0; flex-shrink: 0; }
.tvs-ag-day { display: block; font-size: 1.5em; font-weight: 300; line-height: 1; color: #A08258; font-feature-settings: "tnum"; -webkit-font-feature-settings: "tnum"; }
.tvs-dark .tvs-ag-day { color: #BA9E75; }
.tvs-ag-wd { display: block; font-size: .5em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-top: .35em; color: #6E665B; }
.tvs-dark .tvs-ag-wd { color: #A99F92; }
.tvs-ag-time { width: 4.2em; -webkit-flex-shrink: 0; flex-shrink: 0; font-weight: 600; font-size: .9em; font-feature-settings: "tnum"; -webkit-font-feature-settings: "tnum"; }
.tvs-ag-what { -webkit-flex: 1; flex: 1; min-width: 0; }
.tvs-ag-title { font-size: 1em; font-weight: 500; line-height: 1.25; }
.tvs-ag-place { font-size: .62em; font-weight: 500; margin-top: .3em; color: #6E665B; }
.tvs-dark .tvs-ag-place { color: #A99F92; }
.tvs-ag-empty { font-size: 32px; padding: 32px 0; color: #6E665B; }
.tvs-dark .tvs-ag-empty { color: #A99F92; }

/* ---------------- aniversariantes ---------------- */
.tvs-bd { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-left: -24px; }
.tvs-bd-card {
  display: block; box-sizing: border-box; margin: 0 0 24px 24px; padding: .6em .7em;
  border-left: 4px solid #A08258; background: rgba(45,45,45,.05);
}
.tvs-dark .tvs-bd-card { border-left-color: #BA9E75; background: rgba(245,243,239,.06); }
.tvs-bd-2 .tvs-bd-card { width: -webkit-calc(50% - 24px); width: calc(50% - 24px); }
.tvs-bd-3 .tvs-bd-card { width: -webkit-calc(33.333% - 24px); width: calc(33.333% - 24px); font-size: .85em; }
.tvs-bd-4 .tvs-bd-card { width: -webkit-calc(25% - 24px); width: calc(25% - 24px); font-size: .72em; }
.tvs-bd-day { display: block; font-size: .7em; font-weight: 700; letter-spacing: .18em; color: #6E5A3C; }
.tvs-dark .tvs-bd-day { color: #BA9E75; }
.tvs-bd-name { display: block; font-size: 1.05em; font-weight: 500; margin-top: .2em; line-height: 1.2; }
.tvs-bd-team { display: block; font-size: .6em; font-weight: 500; margin-top: .3em; color: #6E665B; }
.tvs-dark .tvs-bd-team { color: #A99F92; }

/* ---------------- feed de notícias (slide) ---------------- */
.tvs-fd-row {
  display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start;
  padding: .5em 0; border-top: 1px solid rgba(45,45,45,.16);
}
.tvs-fd-row:last-child { border-bottom: 1px solid rgba(45,45,45,.16); }
.tvs-dark .tvs-fd-row { border-color: rgba(245,243,239,.16); }
.tvs-compact .tvs-fd-row { padding: .35em 0; font-size: .85em; }
.tvs-fd-n { width: 2.4em; -webkit-flex-shrink: 0; flex-shrink: 0; font-size: 1.3em; font-weight: 200; line-height: 1; color: #A08258; font-feature-settings: "tnum"; -webkit-font-feature-settings: "tnum"; }
.tvs-dark .tvs-fd-n { color: #BA9E75; }
.tvs-fd-date { font-size: .5em; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .35em; color: #6E665B; }
.tvs-dark .tvs-fd-date { color: #A99F92; }
.tvs-fd-title { font-size: 1em; font-weight: 500; line-height: 1.28; }

/* ---------------- imagem / cartaz ---------------- */
.tvs-full { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.tvs-fit-cover { object-fit: cover; }
.tvs-fit-contain { object-fit: contain; }
.tvs-topscrim {
  position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: 1;
  background: -webkit-linear-gradient(top, rgba(29,29,28,.7), rgba(29,29,28,0));
  background: linear-gradient(to bottom, rgba(29,29,28,.7), rgba(29,29,28,0));
}
.tvs-caption {
  position: absolute; left: 112px; bottom: 170px; max-width: 1100px; z-index: 2;
  background: rgba(29,29,28,.86); border-left: 4px solid #BA9E75; padding: 32px 40px; color: #F5F3EF;
}
.tvs-cap-title { font-size: 52px; font-weight: 300; line-height: 1.15; }
.tvs-cap-body { font-size: 28px; line-height: 1.45; margin-top: 14px; color: #D9D2C7; }

/* ---------------- cabeçalho (marca + relógio) ---------------- */
.tv-hdr {
  position: absolute; left: 0; right: 0; top: 0; height: 130px; padding: 0 112px; z-index: 5;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  -webkit-justify-content: space-between; justify-content: space-between;
  color: #F5F3EF; -webkit-transition: color .9s ease; transition: color .9s ease;
}
.tv-light .tv-hdr { color: #2D2D2D; }
.tvh-brand { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.tvh-logo { height: 30px; width: 169px; fill: currentColor; display: block; }
.tvh-div { width: 1px; height: 36px; background: currentColor; opacity: .3; margin: 0 24px; }
.tvh-tv { font-family: "Unbounded", "Montserrat", sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .12em; color: #BA9E75; }
.tv-light .tvh-tv { color: #6E5A3C; }
.tvh-time { text-align: right; }
.tvh-clock { font-size: 56px; font-weight: 200; line-height: 1; letter-spacing: -.01em; margin-left: 28px; font-feature-settings: "tnum"; -webkit-font-feature-settings: "tnum"; vertical-align: middle; }
.tvh-date { font-size: 20px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .8; vertical-align: middle; }

/* ---------------- barra inferior: progresso + letreiro ---------------- */
.tv-progress { position: absolute; left: 0; bottom: 96px; height: 4px; width: 0; background: #BA9E75; z-index: 6; }
.tv-progress-track { position: absolute; left: 0; right: 0; bottom: 96px; height: 4px; background: rgba(181,169,154,.25); z-index: 6; }
/* contador "03 / 07" — quanto falta para a próxima tela fica na barra de progresso */
.tv-count {
  position: absolute; right: 112px; bottom: 122px; z-index: 6; font-size: 20px; font-weight: 700; letter-spacing: .2em;
  font-feature-settings: "tnum"; -webkit-font-feature-settings: "tnum"; color: #A99F92;
}
.tv-light .tv-count { color: #6E665B; }
.tv-count b { color: #BA9E75; font-weight: 700; }
.tv-light .tv-count b { color: #6E5A3C; }
.tv-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 96px; z-index: 6; overflow: hidden;
  background: #2D2D2D; color: #F5F3EF;
  display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch;
}
.tv-bar-label {
  -webkit-flex-shrink: 0; flex-shrink: 0; position: relative; z-index: 2;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  padding: 0 40px 0 112px; background: #BA9E75; color: #1D1D1C;
  font-size: 22px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.tv-bar-label:after {
  content: ""; position: absolute; right: -24px; top: 0; width: 0; height: 0;
  border-top: 96px solid #BA9E75; border-right: 24px solid transparent;
}
.tv-bar-live { display: inline-block; width: 12px; height: 12px; background: #1D1D1C; margin-right: 16px; border-radius: 999px;
  -webkit-animation: tvblink 2s ease-in-out infinite; animation: tvblink 2s ease-in-out infinite; }
.tv-ticker { -webkit-flex: 1; flex: 1; position: relative; overflow: hidden; }
.tv-ticker-track {
  position: absolute; left: 0; top: 0; height: 96px; white-space: nowrap;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  -webkit-animation: tvscroll 60s linear infinite; animation: tvscroll 60s linear infinite;
  -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);
}
.tv-tk-item { display: inline-block; font-size: 34px; font-weight: 500; padding-left: 64px; }
.tv-tk-sep { display: inline-block; width: 12px; height: 12px; background: #BA9E75; margin-left: 64px; vertical-align: middle; }
.tv-tk-tag {
  display: inline-block; font-size: 18px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid #B5A99A; color: #E8E0D4; padding: 6px 12px 5px; margin-right: 18px; vertical-align: middle; position: relative; top: -3px;
}
.tv-tk-tag-aviso { background: #E8E0D4; color: #2D2D2D; border-color: #E8E0D4; }
.tv-bar-sign {
  -webkit-flex: 1; flex: 1; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  padding: 0 112px; font-size: 30px; font-weight: 300; font-style: italic; color: #E8E0D4;
}
.tv-bar-sign span { -webkit-flex: 1; flex: 1; }
.tv-dots { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.tv-dot { width: 10px; height: 10px; margin-left: 12px; background: rgba(245,243,239,.25); border-radius: 999px; }
.tv-dot.on { background: #BA9E75; width: 32px; }

@-webkit-keyframes tvscroll { from { -webkit-transform: translate3d(0,0,0); } to { -webkit-transform: translate3d(-50%,0,0); } }
@keyframes tvscroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@-webkit-keyframes tvblink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes tvblink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------------- telas de sistema (vazio / carregando) ---------------- */
.tv-sys { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #1D1D1C; color: #F5F3EF; }
.tv-sys .tvs-content { -webkit-align-items: flex-start; align-items: flex-start; }
.tv-sys code { font-family: "Montserrat", sans-serif; font-weight: 600; color: #BA9E75; }

@media (prefers-reduced-motion: reduce) {
  .tv-fade .tv-layer { -webkit-transition: none; transition: none; }
  .tv-bar-live { -webkit-animation: none; animation: none; }
}
