/* =====================================================================
   LIVES DIARIAS - Movimento das Artes (Arte & Cultura)
   Arquivo: css/lives_estilo_v2.css  |  Versao 20261124a (24/11/2026) - TESTE da reformulacao
   Pagina nova das Lives na moldura das paginas de evento (Materias):
     - cabecalho e rodape: css/mda_moldura.css + js/mda_moldura.js (moldura unica do portal)
     - area do conteudo (tarja cinza, barra, botao Topo, Compartilhar): css/materias_estilo.css
     - este arquivo: so o conteudo proprio das Lives (abertura, destaques, todo dia, programacao, aviso, apoio)
   Carregar DEPOIS do materias_estilo.css e do mda_moldura.css.
   As Lives antigas (ate 19/11/2026) continuam com css/lives_estilo.css, que NAO muda.
   Tema: html.a11y-escuro (mesma regra das Materias; chave do site mda-tema)
   Letra: var(--mt-escala) (botoes A- A A+ das Materias; chave mda-fonte)
   Codificacao: windows-1252 + CRLF (so ASCII neste arquivo)
   ===================================================================== */

/* ---------- 1. Cores e fontes ---------- */
:root {
  --lv-laranja: #FA6D05;
  --lv-laranja-texto: #B54A00;
  --lv-tinta: #22232A;
  --lv-grafite: #5E6270;
  --lv-papel: #FFFFFF;
  --lv-linha: #E2E4E9;
  --lv-serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --lv-sans: "Figtree", "Segoe UI", Arial, Helvetica, sans-serif;
  --lv-largura: 940px;
  --lv-raio: 14px;
  --lv-tarja: linear-gradient(180deg, #FA6D05 0%, #FFB273 100%);
}
html.a11y-escuro {
  --lv-laranja: #FF7A1A;
  --lv-laranja-texto: #FFA562;
  --lv-tinta: #ECEDF0;
  --lv-grafite: #A9ADB8;
  --lv-papel: #30333A;
  --lv-linha: #41444D;
  --lv-tarja: linear-gradient(180deg, #FF7A1A 0%, #8A4513 100%);
}

/* ---------- 2. Abertura dentro da tarja cinza (a mesma da foto das materias) ---------- */
.mt-foto.lv-abertura { display: block; line-height: 1.45; text-align: left; color: #FFFFFF; padding: 26px 34px 26px;
  font-family: var(--lv-sans); }
.lv-abertura-int { max-width: var(--lv-largura); margin: 0 auto; position: relative; z-index: 1; }
.lv-chamada { margin: 0; font-size: calc(16px * var(--mt-escala)); font-weight: 600; letter-spacing: .02em; color: #F4F4F5; }
.lv-dia { margin: 2px 0 10px; font-family: var(--lv-serif); font-weight: 500; letter-spacing: -.01em; color: #FFFFFF;
  font-size: calc(clamp(38px, 7vw, 74px) * var(--mt-escala)); line-height: 1.04; font-variation-settings: "opsz" 96;
  text-shadow: 2px 2px 3px rgba(0,0,0,.35); }
.lv-dia .lv-dia-semana { display: block; font-style: italic; font-weight: 400; color: #FFE1C7; font-size: .5em; letter-spacing: 0; margin-bottom: .08em; }
.lv-resumo { margin: 0 0 22px; max-width: 62ch; color: #F4F4F5; font-size: calc(16.5px * var(--mt-escala)); }
.lv-resumo strong { color: #FFFFFF; font-weight: 700; }

/* regua do dia */
.lv-regua { position: relative; height: 54px; margin: 0 4px 6px; }
.lv-regua-eixo { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(255,255,255,.55); border-radius: 2px; }
.lv-regua-24h { position: absolute; left: 0; right: 0; top: 20px; height: 6px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, #FFB273 0 2px, transparent 2px 9px); opacity: .45; }
.lv-regua-marca { position: absolute; top: 23px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #FF7A1A; box-shadow: 0 0 0 3px #808080, 0 0 10px rgba(255,140,40,.75); }
.lv-regua-marca[data-n="1"] { width: 10px; height: 10px; }
.lv-regua-marca[data-n="2"] { width: 14px; height: 14px; }
.lv-regua-marca[data-n="3"] { width: 18px; height: 18px; }
.lv-regua-hora { position: absolute; top: 34px; transform: translateX(-50%); font-size: 12px; color: #F4F4F5; font-variant-numeric: tabular-nums; }
.lv-regua-hora.lv-ini { transform: none; }
.lv-regua-hora.lv-fim { transform: translateX(-100%); }

/* links internos de horario: pastilhas em alto-relevo (mesmo acabamento dos botoes da barra) */
.lv-indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lv-indice a { display: inline-flex; align-items: baseline; min-height: 40px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid; border-color: #D9DCE2 #C4C8D0 #B4B9C2 #CDD1D8; background: linear-gradient(180deg, #FFFFFF 0%, #F1F2F5 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(34,35,42,.07), 1px 2px 3px rgba(0,0,0,.30);
  color: #22232A !important; text-decoration: none; font-family: var(--lv-serif); font-size: calc(19px * var(--mt-escala)); line-height: 1.2;
  font-variant-numeric: lining-nums; transition: box-shadow .15s ease, transform .1s ease; }
.lv-indice a:hover, .lv-indice a:focus-visible { box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 2px #FF7A1A, 1px 3px 6px rgba(0,0,0,.35); color: #22232A !important; }
.lv-indice a:active { transform: translateY(1px); }
html.a11y-escuro .lv-indice a { background: linear-gradient(180deg, #2C2E35 0%, #22242A 100%); border-color: #555A66 #474B56 #3E424C #4A4E5A;
  color: #F2F2F2 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 1px 2px 3px rgba(0,0,0,.5); }

/* ---------- 3. Barra (tema | nome da pagina | A- A A+): o nome ocupa o lugar da busca ---------- */
.lv-barra-nome { margin: 0; text-align: center; font-family: var(--lv-serif); font-style: italic; font-weight: 500;
  font-size: calc(22px * var(--mt-escala)); line-height: 1.2; color: #22232A; }
html.a11y-escuro .lv-barra-nome { color: #F2F2F2; }

/* ---------- 4. Conteudo ---------- */
.lv-corpo { max-width: var(--lv-largura); margin: 0 auto; padding: 30px 14px 10px; font-family: var(--lv-sans); color: var(--lv-tinta);
  font-size: calc(17px * var(--mt-escala)); line-height: 1.5; }
.lv-secao { margin: 0 0 40px; }
.lv-secao-titulo { margin: 0 0 14px; font-family: var(--lv-serif); font-weight: 500; font-style: italic;
  font-size: calc(27px * var(--mt-escala)); line-height: 1.2; color: var(--lv-tinta); text-shadow: 2px 2px 2px rgba(34,35,42,.18); }
html.a11y-escuro .lv-secao-titulo { text-shadow: 2px 2px 2px rgba(0,0,0,.6); }
.lv-secao-nota { margin: -8px 0 16px; color: var(--lv-grafite); font-size: .9em; }
.lv-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* cards com o relevo e a sombra dos cards do Programe-se (var --mt-prog-sombra do materias_estilo.css) */
.lv-bloco, .lv-destaques a, .lv-aviso { background: var(--lv-papel); border: 1px solid; border-color: #EAEAEA #D2D2D2 #C8C8C8 #E6E6E6;
  box-shadow: var(--mt-prog-sombra); }
html.a11y-escuro .lv-bloco, html.a11y-escuro .lv-destaques a, html.a11y-escuro .lv-aviso { border-color: #444750 #30323A #2C2E35 #444750; }

/* tarja laranja em degrade so do lado esquerdo */
.lv-bloco, .lv-destaques a { position: relative; overflow: hidden; border-radius: var(--lv-raio); }
.lv-bloco::before, .lv-destaques a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lv-tarja); pointer-events: none; }

/* Destaques de hoje */
.lv-destaques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lv-destaques a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; height: 100%;
  padding: 16px 18px 16px 22px; color: var(--lv-tinta) !important; text-decoration: none; transition: transform .15s ease; }
.lv-destaques a:hover, .lv-destaques a:focus-visible { transform: translate(-1px, -1px); }
.lv-destaques .lv-d-hora { grid-row: span 2; font-family: var(--lv-serif); font-size: calc(30px * var(--mt-escala)); line-height: 1; color: var(--lv-laranja-texto); padding-top: 2px; min-width: 2.2em; }
.lv-destaques .lv-d-assunto { font-weight: 650; line-height: 1.3; }
.lv-destaques .lv-d-podcast { font-size: .86em; color: var(--lv-grafite); margin-top: 4px; }

/* faixa de horario */
.lv-faixa { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 18px; margin: 0 0 18px; align-items: start; }
.lv-hora { position: sticky; top: 132px; margin: 0; padding-top: 10px; text-align: right; color: var(--lv-tinta);
  font-family: var(--lv-serif); font-weight: 500; font-size: calc(46px * var(--mt-escala)); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.lv-hora small { font-size: .5em; letter-spacing: 0; }
.lv-hora .lv-hora-txt { display: block; font-size: .42em; font-style: italic; letter-spacing: 0; line-height: 1.15; color: var(--lv-grafite); }
.lv-bloco { margin: 0; padding: 4px 0; list-style: none; }

/* evento */
.lv-evento { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 22px; }
.lv-evento + .lv-evento { border-top: 1px solid var(--lv-linha); }
.lv-ev-texto { flex: 1 1 auto; min-width: 0; }
.lv-ev-origem { margin: 0 0 4px; font-size: .84em; color: var(--lv-grafite); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.lv-ev-programa { color: var(--lv-tinta); font-weight: 600; letter-spacing: .01em; }
.lv-ev-selo { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px 1px 7px; border-radius: 999px;
  background: rgba(250,109,5,.12); color: var(--lv-laranja-texto); font-weight: 600; font-size: .92em; }
.lv-ev-selo svg { width: 12px; height: 12px; }
.lv-ev-assunto { margin: 0; font-size: calc(19px * var(--mt-escala)); line-height: 1.3; font-weight: 650; overflow-wrap: anywhere; color: var(--lv-tinta); }
.lv-ev-com { margin: 5px 0 0; color: var(--lv-grafite); }
.lv-ev-com b { color: var(--lv-tinta); font-weight: 600; }
.lv-ev-cohost { margin-top: 2px; }
.lv-ev-replay { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 9px 1px 7px; border-radius: 999px; vertical-align: middle;
  background: rgba(94,98,112,.13); color: var(--lv-grafite); font-family: var(--lv-sans); font-weight: 600; font-size: calc(13px * var(--mt-escala)); line-height: 1.5; white-space: nowrap; }
.lv-ev-replay svg { width: 12px; height: 12px; }
html.a11y-escuro .lv-ev-replay { background: rgba(169,173,184,.17); }

/* botao Assistir */
.lv-assistir { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 16px 5px 6px;
  border-radius: 999px; border: 1.5px solid var(--lv-laranja); background: transparent; color: var(--lv-tinta) !important;
  font: 650 15px var(--lv-sans); text-decoration: none !important; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.lv-assistir .lv-play { width: 32px; height: 32px; border-radius: 50%; background: var(--lv-laranja); display: grid; place-items: center; }
.lv-assistir .lv-play svg { width: 12px; height: 12px; margin-left: 2px; fill: #22232A; }
.lv-assistir:hover, .lv-assistir:focus-visible { background: var(--lv-laranja); color: #22232A !important; }
.lv-assistir:hover .lv-play, .lv-assistir:focus-visible .lv-play { background: #FFFFFF; }

/* aviso */
.lv-aviso { margin: 8px 0 0; padding: 18px 22px; border-radius: var(--lv-raio); color: var(--lv-grafite); font-size: .92em; }
.lv-aviso strong { color: var(--lv-tinta); }

/* ---------- 5. Apoio cultural (formato proprio das Lives; nao usa a apoiadores.xlsx) ---------- */
.lv-apoio { max-width: calc(var(--lv-largura) - 28px); margin: 34px auto 26px; padding: 22px 0 18px; border-top: 1px solid var(--lv-linha); border-bottom: 1px solid var(--lv-linha);
  display: flex; align-items: flex-start; gap: 12px 28px; font-family: var(--lv-sans); }
.lv-apoio-t { flex: 0 0 auto; margin: 0; line-height: 1; font-family: var(--lv-serif); font-style: italic; font-size: 15.3px; color: var(--lv-grafite); }
.lv-apoio-lista { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-around; gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.lv-apoio-lista a { display: flex; align-items: center; justify-content: center; height: 64px; padding: 4px 6px; border-radius: 10px; }
.lv-apoio-lista img { display: block; width: auto; height: auto; max-height: 48px; max-width: 132px; transition: transform .22s ease-out; }
.lv-apoio-lista a:hover img, .lv-apoio-lista a:focus-visible img { transform: scale(.9); }
.lv-apoio-lista img.lv-apoio-maior { max-height: 57.6px; max-width: 158px; }
.lv-apoio-lista img.lv-apoio-menor { max-height: 41px; max-width: 112px; }
/* logo alternativo so do tema escuro (24/11/2026: Pedreschi pelo opassado/img_op/lg_pedreschi.png); sem brilho branco nos logos */
.lv-apoio-lista img.lv-so-escuro { display: none; }
html.a11y-escuro .lv-apoio-lista img.lv-so-claro { display: none; }
html.a11y-escuro .lv-apoio-lista img.lv-so-escuro { display: block; }
/* entrada dos logos: formacao rapida, um apos o outro; repete sempre que a area volta a tela */
html.lv-apoio-anima .lv-apoio-lista li { opacity: 0; transform: scale(.8); filter: blur(4px);
  transition: opacity .4s ease-out, transform .4s cubic-bezier(.2,1.4,.4,1), filter .4s ease-out; }
html.lv-apoio-anima .lv-apoio.lv-visto .lv-apoio-lista li { opacity: 1; transform: none; filter: none; }

/* ---------- 6. Rodape: so "DD/MM/AAAA - Equipe MDA" ao lado da data (sem o Equipe MDA do fim da faixa) ---------- */
body.lv-pagina2 .mt-rod-equipe { display: none; }

/* ---------- 7. Tablet e celular ---------- */
@media (max-width: 700px) {
  .mt-foto.lv-abertura { padding: 18px 16px 20px; }
  .lv-dia { font-size: calc(clamp(38px, 11vw, 54px) * var(--mt-escala)); }
  .lv-barra-nome { font-size: calc(18px * var(--mt-escala)); }
  .lv-corpo { padding: 24px 6px 6px; }
  .lv-destaques { grid-template-columns: 1fr; }
  .lv-faixa { grid-template-columns: 1fr; }
  .lv-hora { position: static; text-align: left; padding: 0 4px 8px; font-size: calc(36px * var(--mt-escala)); display: flex; align-items: baseline; gap: 10px; }
  .lv-hora .lv-hora-txt { display: inline; }
  .lv-hora small { margin-right: 4px; }
  .lv-evento { align-items: flex-start; gap: 12px; padding: 15px 14px 15px 18px; }
  .lv-assistir { padding: 0; min-height: 0; width: 46px; height: 46px; justify-content: center; }
  .lv-assistir .lv-play { width: 34px; height: 34px; }
  .lv-assistir-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lv-apoio { margin: 26px 8px 18px; padding: 20px 0 16px; flex-direction: column; gap: 10px; }
  .lv-apoio-lista { width: 100%; gap: 10px 18px; }
  .lv-apoio-lista img { max-height: 38px; max-width: 108px; }
  .lv-apoio-lista img.lv-apoio-maior { max-height: 45.6px; max-width: 130px; }
  .lv-apoio-lista img.lv-apoio-menor { max-height: 32px; max-width: 92px; }
}
/* na barra do celular o nome desce para uma linha propria (como a busca nas materias) */
@media (max-width: 640px) {
  .mt-ferramentas.lv-barra { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .mt-ferramentas.lv-barra .lv-barra-nome { order: -1; flex: 1 1 100%; padding: 4px 0 2px; }
}

/* ---------- 8. Animacao de abertura (uma vez) ---------- */
html.lv-anima .lv-dia, html.lv-anima .lv-resumo, html.lv-anima .lv-regua, html.lv-anima .lv-indice {
  opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
html.lv-anima .lv-regua-marca { transform: translate(-50%, -50%) scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
html.lv-anima.lv-pronto .lv-dia, html.lv-anima.lv-pronto .lv-resumo, html.lv-anima.lv-pronto .lv-regua, html.lv-anima.lv-pronto .lv-indice { opacity: 1; transform: none; }
html.lv-anima.lv-pronto .lv-regua-marca { transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce) {
  html.lv-anima .lv-dia, html.lv-anima .lv-resumo, html.lv-anima .lv-regua, html.lv-anima .lv-indice { opacity: 1; transform: none; transition: none; }
  html.lv-anima .lv-regua-marca { transform: translate(-50%, -50%); transition: none; }
  html.lv-apoio-anima .lv-apoio-lista li { opacity: 1; transform: none; filter: none; transition: none; }
}
@media print { .lv-assistir, .lv-indice { display: none !important; } .lv-bloco, .lv-destaques a { box-shadow: none; } }
