/* =====================================================================
   REVISTA DIGITAL (28/11/2026)
   Páginas geradas por ferramentas/revista.mjs: /revista/{id} (matéria) e /revista (lista).
   Ao mudar este arquivo, troque o VERSAO_CSS em public/js/revista-montar.js e rode o gerador.
   ===================================================================== */

.rev-trilha { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.rev-trilha a { color: var(--muted); text-decoration: none; }
.rev-trilha a:hover { text-decoration: underline; }
.rev-rascunho { background: #fff3c4; color: #6b5300; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }

/* ---------- Matéria ---------- */
.rev-grade { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; padding-bottom: 50px; }

.rev-chapeu { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.rev-titulo { font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; color: var(--text); }
.rev-linhafina { font-size: 21px; line-height: 1.45; color: #4b5563; margin: 0 0 18px; }

.rev-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
            padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.rev-meta__autor { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #4b5563; }
.rev-meta__autor img { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--border); padding: 3px; }
.rev-meta__autor b { color: var(--text); display: block; font-size: 14px; }
.rev-compartilhar { display: flex; gap: 8px; }
.rev-compartilhar button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text);
                           border: 1px solid var(--border); background: #fff; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.rev-compartilhar button:hover { border-color: var(--text); }
.rev-compartilhar .fa-whatsapp { color: #25D366; font-size: 16px; }

.rev-foto { margin: 0 0 26px; }
.rev-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; background: #e5e7eb; }
.rev-foto figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.rev-foto__quadro { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
/* Cartaz da turnê: a arte aparece inteira, com a própria imagem desfocada no fundo */
.rev-foto--cartaz .rev-foto__quadro::before { content: ""; position: absolute; inset: -30px; background: var(--rev-fundo) center / cover no-repeat;
                                              filter: blur(22px) brightness(.75); }
.rev-foto--cartaz img { position: relative; object-fit: contain; background: transparent; }

.rev-corpo { font-size: 20px; line-height: 1.7; color: #1f2937; }
.rev-corpo p { margin: 0 0 18px; }
.rev-corpo h2 { font-size: 27px; line-height: 1.25; margin: 38px 0 14px; color: var(--text); }
.rev-corpo h3 { font-size: 20px; line-height: 1.3; margin: 26px 0 10px; color: var(--text); }
.rev-corpo strong { color: var(--text); }
.rev-lk { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.rev-lk:hover { color: var(--accent); }

/* Citação de artista: "> fala | quem disse" */
.rev-citacao { position: relative; margin: 30px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--accent); }
.rev-citacao::before { content: "\201C"; position: absolute; left: 18px; top: -26px; font-size: 80px; line-height: 1; color: var(--accent); opacity: .18; font-family: Georgia, serif; }
.rev-citacao p { font-size: 26px; line-height: 1.35; font-weight: 700; color: var(--text); margin: 0 0 8px !important; }
.rev-citacao cite { display: block; font-style: normal; font-size: 15px; color: var(--muted); }
.rev-citacao cite::before { content: "— "; }

/* Sobre o artista */
.rev-sobre { margin: 40px 0 10px; padding: 26px 28px 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.rev-sobre h2 { margin-top: 0 !important; }
.rev-sobre p { font-size: 18px; }
.rev-sobre__link a { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 16px; }

/* Tabela de datas da turnê */
.rev-tabela { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border);
              border-radius: 12px; overflow: hidden; font-size: 15px; line-height: 1.4; margin: 4px 0 10px; }
.rev-tabela th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280;
                 background: #fafafa; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.rev-tabela td { padding: 10px 16px; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.rev-tabela tr:last-child td { border-bottom: 0; }
.rev-tabela tr.rev-marco td { background: #fff7f7; }
.rev-dt { font-weight: 600; white-space: nowrap; }
.rev-dt small { color: var(--muted); font-weight: 400; margin-left: 5px; }
.rev-cid small { display: block; color: var(--muted); font-size: 13px; }
.rev-cidade { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid #d1d5db; }
.rev-cidade:hover { color: var(--accent); border-color: var(--accent); }
.rev-situacao { font-size: 12px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.rev-situacao--breve { color: #6b7280; background: #f3f4f6; }
.rev-situacao--venda { color: #166534; background: #dcfce7; }
.rev-situacao--esgotado { color: #92400e; background: #fef3c7; }
.rev-situacao--cancelado { color: #fff; background: #c62828; }
.rev-ver a { color: var(--accent); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.rev-ver__curto, .rev-sit-celular { display: none; }
.rev-nome { display: block; font-size: 15px; color: var(--text); }
.rev-nota { font-size: 13px !important; color: var(--muted); line-height: 1.5; margin-bottom: 22px !important; }

/* Outros shows (fora da turnê) */
.rev-show { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent);
            border-radius: 12px; padding: 14px 18px; margin: 0 0 12px; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.45; }
.rev-show:hover { box-shadow: var(--shadow-md); }
.rev-show__data { text-align: center; min-width: 64px; font-size: 12px; text-transform: uppercase; color: #4b5563; font-weight: 600; }
.rev-show__data b { display: block; font-size: 26px; line-height: 1; color: var(--accent); }
.rev-show__txt { flex: 1; color: #4b5563; }
.rev-show__txt b { display: block; font-size: 16px; color: var(--text); }
.rev-show__botao { background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 8px; white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }

/* Seguir artista */
.rev-seguir { display: flex; align-items: center; gap: 18px; background: #111827; color: #d1d5db; border-radius: 14px; padding: 20px 22px; margin: 28px 0; font-size: 15px; line-height: 1.45; }
.rev-seguir img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; flex: 0 0 68px; }
.rev-seguir div { flex: 1; }
.rev-seguir b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.rev-seguir a { background: #fff; color: #111827; font-weight: 700; font-size: 13px; padding: 11px 16px; border-radius: 8px; text-decoration: none;
                display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.rev-seguir a .fa-heart { color: var(--accent); }

/* Player do Deezer: escuro, com 200px de altura, abre dentro da página */
.rev-deezer { background: #121212; border: 0; border-radius: 14px; padding: 14px 16px 16px; margin: 6px 0 26px; }
.rev-deezer__topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 16px; }
.rev-deezer__topo b { color: #fff; }
.rev-deezer__botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-deezer__botoes button, .rev-deezer__botoes a { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 700;
                      padding: 9px 14px; border-radius: 999px; text-decoration: none; cursor: pointer; }
.rev-deezer__botoes button { background: #fff; color: #121212; border: 0; }
.rev-deezer__botoes a { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.rev-deezer__botoes .fa-arrow-up-right-from-square { font-size: 11px; }
.rev-deezer.is-aberto [data-rev-deezer-abrir] { display: none; }
.rev-deezer__player iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: 10px; margin-top: 12px; }
.rev-deezer .rev-aviso-externo { color: #a3a3a3; }
.rev-aviso-externo { font-size: 12px !important; color: var(--muted); margin: 10px 0 0 !important; line-height: 1.4; }
.rev-aviso-externo a { color: var(--muted); }
.is-aberto > .rev-aviso-externo, .rev-insta.is-aberto .rev-aviso-externo { display: none; }

/* Post do Instagram: abre e toca dentro da página. O Instagram limita a largura do post a 540px. */
.rev-insta { margin: 10px auto 28px; max-width: 540px; }
.rev-insta blockquote { margin: 0 auto !important; }
.rev-insta__capa { display: flex; align-items: center; gap: 16px; width: 100%; font: inherit; text-align: left; cursor: pointer;
                   background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.rev-insta__capa:hover { border-color: var(--text); }
.rev-insta__logo { flex: 0 0 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px;
                   background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.rev-insta__txt { flex: 1; font-size: 14px; color: var(--muted); line-height: 1.4; }
.rev-insta__txt b { display: block; font-size: 17px; color: var(--text); }
.rev-insta__play { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* Fontes e assuntos */
.rev-fontes { font-size: 13px; color: #6b7280; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 30px; line-height: 1.6; }
.rev-fontes b { color: #374151; }
.rev-fontes a { color: #374151; }
.rev-assuntos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.rev-assuntos > b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #374151; margin-right: 4px; }
.rev-assuntos a { font-size: 13px; color: #374151; text-decoration: none; background: #fff; border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.rev-assuntos a:hover { border-color: var(--text); }

/* ---------- Lateral ---------- */
.rev-lateral { display: flex; flex-direction: column; gap: 20px; }   /* parada (sem acompanhar a rolagem) */
.rev-caixa { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.rev-caixa h3 { font-size: 15px; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; color: var(--text); }
.rev-caixa h3 a { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 600; }
.rev-artista { display: flex; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--muted); font-size: 12.5px; }
.rev-artista img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 54px; }
.rev-artista b { display: block; font-size: 15px; color: var(--text); }
.rev-prox { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f0f1f3; text-decoration: none; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.rev-caixa h3 + .rev-prox { border-top: 0; }
.rev-prox__data { width: 48px; flex: 0 0 48px; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 5px 0; }
.rev-prox__data span { display: block; font-size: 10.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.rev-prox__data b { display: block; font-size: 18px; line-height: 1; color: var(--text); }
.rev-prox__txt b { display: block; font-size: 14px; color: var(--text); }
.rev-outras a { display: block; text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.4; font-weight: 600; padding: 10px 0; border-top: 1px solid #f0f1f3; }
.rev-outras h3 + a { border-top: 0; padding-top: 0; }
.rev-outras a:hover { color: var(--accent); }
.rev-outras small { display: block; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }

/* ---------- Lista (/revista) ---------- */
.rev-lista-topo { margin-bottom: 24px; }
.rev-lista-topo h1 { font-size: 34px; margin: 0 0 6px; color: var(--text); }
.rev-lista-topo p { color: var(--muted); margin: 0; font-size: 16px; }
.rev-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 60px; }
.rev-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
            text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.rev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rev-card__img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e5e7eb; }
.rev-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rev-card__txt { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.rev-card__txt small { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rev-card__txt b { font-size: 18px; line-height: 1.3; }
.rev-card__txt span { color: #4b5563; font-size: 14px; line-height: 1.45; }
.rev-card__txt em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.rev-vazio { color: var(--muted); }

/* ---------- Tablet e celular ---------- */
@media (max-width: 992px) {
  .rev-grade { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rev-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .rev-titulo { font-size: 28px; line-height: 1.18; }
  .rev-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rev-foto { margin-left: -24px; margin-right: -24px; }   /* a foto vai de ponta a ponta, como o topo da página do artista */
  .rev-foto img { aspect-ratio: 4 / 3; border-radius: 0; }
  .rev-foto__quadro { border-radius: 0; }
  .rev-foto figcaption { padding: 0 24px; }
  .rev-corpo { font-size: 18px; line-height: 1.65; }
  .rev-corpo h2 { font-size: 23px; margin-top: 32px; }
  .rev-linhafina { font-size: 18px; }
  .rev-citacao p { font-size: 21px; }
  .rev-sobre { padding: 20px 18px 6px; }
  .rev-sobre p { font-size: 17px; }

  /* Tabela vira lista enxuta (28/11/2026): data | cidade | "Ver ›", numa linha só.
     Sem dia da semana e sem "Em breve"; À venda, Esgotado e Cancelado ficam embaixo da cidade. */
  .rev-tabela thead { display: none; }
  .rev-tabela, .rev-tabela tbody { display: block; }
  .rev-tabela tr { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 0 10px; padding: 11px 14px; border-bottom: 1px solid #f0f1f3; align-items: center; font-size: 14.5px; }
  .rev-tabela tr:last-child { border-bottom: 0; }
  .rev-tabela tr.rev-marco { background: #fff7f7; }
  .rev-tabela tr.rev-marco td { background: none; }
  .rev-tabela td { padding: 0; border: 0; }
  .rev-dt small, .rev-tabela td.rev-sit, .rev-ver__longo { display: none; }
  .rev-ver__curto { display: inline; }
  .rev-ver { text-align: right; }
  .rev-marca { display: block; font-size: 12.5px; color: var(--muted); }
  .rev-marca__ponto { display: none; }
  .rev-cid small { font-size: 12.5px; }
  .rev-sit-celular { display: none !important; }   /* no celular, sem a situação do ingresso */
  .rev-sit-celular--venda { color: #166534; }
  .rev-sit-celular--esgotado { color: #92400e; }
  .rev-sit-celular--cancelado { color: #c62828; }

  .rev-show { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .rev-show__botao { width: 100%; text-align: center; }
  .rev-seguir { flex-wrap: wrap; padding: 18px; }
  .rev-seguir a { width: 100%; justify-content: center; }

  .rev-lista { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rev-lista-topo h1 { font-size: 28px; }
}
