/* Litoral Ao Vivo (23/11/2026): /ao-vivo e as miniaturas da balsa na home, no visual do mockup aprovado (fundo #0B1622, cartões #142536,
   Bebas Neue nos títulos e números grandes, Inter no resto). Cores com texto (Livre/Lento/Parado), contraste >= 4.5:1. */
.ao-vivo { --av-fundo: #0B1622; --av-cartao: #142536; --av-linha: #1E3247; --av-mudo: #A9B8C8; --av-livre: #7FE0A8; --av-lento: #F2C14E; --av-parado: #FF8A93;
  --av-barra-livre: #3DBE7A; --av-barra-lento: #F2C14E; --av-barra-parado: #E5484D; --av-ponto: #FF3B4E;
  background: var(--av-fundo); color: #fff; font-family: Inter, system-ui, sans-serif; max-width: 720px; margin: 0 auto; padding-bottom: 24px; }
.ao-vivo h1, .ao-vivo .ao-vivo-grande { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .03em; line-height: 1; }
.ao-vivo-topo { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--av-linha); flex-wrap: wrap; }
.ao-vivo-topo h1 { margin: 0; font-size: 30px; text-transform: uppercase; }
.ao-vivo-voltar { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ao-vivo-ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--av-ponto); animation: av-pulso 1.4s infinite; }
@keyframes av-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ao-vivo-ponto { animation: none; } }
.ao-vivo-atualizado { margin-left: auto; font-size: 12px; color: var(--av-mudo); }
.ao-vivo-abas { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; }
.ao-vivo-abas a { text-decoration: none; background: var(--av-cartao); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 999px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; white-space: nowrap; }
.ao-vivo-abas a.is-ativa { background: #fff; color: var(--av-fundo); font-weight: 700; }
.ao-vivo-secao { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--av-linha); }
.ao-vivo-secao:first-of-type { border-top: 0; }
.ao-vivo-secao h2 { margin: 0; font-size: 18px; font-weight: 700; }
.ao-vivo-linha { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ao-vivo-grande { font-size: 30px; text-transform: uppercase; white-space: nowrap; }
.ao-vivo .c-livre { color: var(--av-livre); } .ao-vivo .c-lento { color: var(--av-lento); } .ao-vivo .c-parado { color: var(--av-parado); } .ao-vivo .c-sem { color: var(--av-mudo); }
.ao-vivo-camera { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--av-cartao); aspect-ratio: 16 / 9; }
.ao-vivo-camera img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ao-vivo-camera figcaption { position: absolute; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; gap: 8px; }
.ao-vivo-selo, .ao-vivo-hora { font-size: 11px; background: rgba(0, 0, 0, .65); padding: 3px 6px; border-radius: 4px; }
.ao-vivo-hora { background: #B71C30; font-weight: 700; }
.ao-vivo-sem { display: flex; align-items: center; justify-content: center; min-height: 120px; height: 100%; color: var(--av-mudo); font-size: 14px; }
.ao-vivo-credito, .ao-vivo-nota, .ao-vivo-legenda, .ao-vivo-rodape { font-size: 12px; color: var(--av-mudo); margin: 0; }
.ao-vivo-historico { display: flex; flex-direction: column; gap: 4px; }
.ao-vivo-historico label { font-size: 13px; font-weight: 600; }
.ao-vivo-historico input { width: 100%; height: 44px; accent-color: var(--av-ponto); }
.ao-vivo-marcas { display: flex; justify-content: space-between; font-size: 11px; color: var(--av-mudo); }
.ao-vivo-miniaturas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ao-vivo-mini { position: relative; height: 64px; border: 2px solid transparent; border-radius: 8px; background: var(--av-cartao); color: #C7D3DF; font: 600 10px/1.2 Inter, sans-serif; padding: 0; overflow: hidden; cursor: pointer; }
.ao-vivo-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.ao-vivo-mini span { position: absolute; left: 4px; right: 4px; bottom: 3px; text-align: left; text-shadow: 0 1px 2px #000; white-space: nowrap; font-size: 11px; }
.ao-vivo-mini.is-ativa { border-color: #fff; color: #fff; }
.ao-vivo-mini:disabled { cursor: default; opacity: .6; }
.ao-vivo-cartao { background: var(--av-cartao); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ao-vivo-cartao-texto { display: flex; flex-direction: column; gap: 2px; }
.ao-vivo-rotulo { font-size: 12px; color: var(--av-mudo); }
.ao-vivo-link { background: none; border: 0; color: #fff; text-decoration: underline; font: 600 13px Inter, sans-serif; min-height: 44px; padding: 0 4px; cursor: pointer; }
.ao-vivo-dica { margin: 0; background: #2A2410; color: #FFE7A3; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.ao-vivo-rotas { display: flex; flex-direction: column; gap: 8px; }
.ao-vivo-rota { background: var(--av-cartao); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.ao-vivo-barra { width: 12px; height: 40px; border-radius: 6px; flex: 0 0 12px; background: #4A5B6C; }
.ao-vivo-barra.c-fundo-livre { background: var(--av-barra-livre); } .ao-vivo-barra.c-fundo-lento { background: var(--av-barra-lento); } .ao-vivo-barra.c-fundo-parado { background: var(--av-barra-parado); }
.ao-vivo-rota-meio { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ao-vivo-rota-meio strong { font-size: 15px; }
.ao-vivo-rota-fim { text-align: right; display: flex; flex-direction: column; font-size: 12px; white-space: nowrap; }
.ao-vivo-rota-fim strong { font-size: 16px; }
.ao-vivo-legenda span { margin-right: 12px; }
.ao-vivo-der { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ao-vivo-der-item { margin: 0; background: var(--av-cartao); border-radius: 10px; overflow: hidden; }
.ao-vivo-der-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ao-vivo-der-item .ao-vivo-sem { aspect-ratio: 16 / 9; min-height: 0; width: 100%; box-sizing: border-box; padding: 8px; text-align: center; font-size: 13px; }
.ao-vivo-der-item figcaption { font-size: 12px; padding: 6px 8px; color: #DDE6EF; }
.ao-vivo-rodape { padding: 16px; border-top: 1px solid var(--av-linha); }

/* Home: miniaturas da balsa dentro do "Litoral agora" (altura reservada, sem pulo ao carregar). */
.av-home { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.av-home-lado { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #142536; aspect-ratio: 16 / 9; text-decoration: none; color: #fff; }
.av-home-lado img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Tarja só no terço de baixo (a fila aparece em cima); gradiente para o texto ficar legível sem cobrir a imagem. */
.av-home-info { position: absolute; left: 0; right: 0; bottom: 0; max-height: 33.4%; box-sizing: border-box; padding: 4px 8px 5px; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, 0)); display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; font: 600 12px/1.2 Inter, sans-serif; }
.av-home-espera { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .03em; }
.av-home-hora { font-size: 11px; color: #DDE6EF; white-space: nowrap; flex: 0 0 auto; }
.av-home-espera { white-space: nowrap; }
.av-home-ver { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: #0B1622; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
