/* Área da Revendedora Majuli — tema claro quente. Sem build, sem inline. */
:root {
  --fundo: #fff9f6;
  --branco: #fff;
  --rosa: #f6ebe8;
  --texto: #321c28;
  --texto-2: #65545b;
  --carmim: #e00e4d;
  --carmim-2: #bc0c41;
  --carmim-3: #9e103b;
  --mauve: #965a6c;
  --pessego: #ffcfca;
  --pessego-2: #e9a6a4;
  --borda: #e4d6d9;
  --borda-campo: #907980;
  --foco: #84234a;
  --ok: #006348;
  --ok-fundo: #e4f5ed;
  --ok-traco: #00a077;
  --erro: #981b3e;
  --erro-fundo: #fff0f2;
  --aviso: #754500;
  --aviso-fundo: #fff2d9;
  --suave: cubic-bezier(.2, .7, .2, 1);
  --display: Montserrat, Arial, sans-serif;
  --corpo: Poppins, Arial, sans-serif;
  --sombra: 0 2px 8px #321c280c;
  --sombra-alta: 0 14px 28px #965a6c38;
  --barra-cel: 68px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--corpo); font-size: 16px; line-height: 25px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: 28px; line-height: 34px; }
h2 { font-size: 22px; line-height: 28px; }
h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
p { margin: 0 0 .8em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
.muted, .meta { color: var(--texto-2); }
.meta { font-size: 14px; line-height: 20px; margin: 0; }
.texto { white-space: pre-line; }
.texto-curto { max-width: 62ch; }
.dica { color: var(--texto-2); font-size: 14px; line-height: 20px; margin: 0; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 861px) { h1 { font-size: 36px; line-height: 44px; } }

/* ── estrutura ── */
.app { display: flex; min-height: 100vh; }
.lateral { width: 248px; flex: none; background: var(--branco); border-right: 1px solid var(--borda); display: flex; flex-direction: column; padding: 24px 16px 16px; position: sticky; top: 0; height: 100vh; view-transition-name: lateral; }
.marca { display: flex; align-items: center; gap: 8px; padding: 0 8px 24px; font: 800 22px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--texto); }
.marca img { width: 40px; height: 40px; object-fit: contain; }
.menu { display: flex; flex-direction: column; gap: 4px; }
.menu > a, .conta-cel summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--texto); font-weight: 500; font-size: 16px; cursor: pointer; list-style: none; }
.menu a:hover { background: var(--rosa); }
.menu a.ativo { background: var(--pessego); font-weight: 600; }
.conta-cel { display: none; }
.lateral-pe { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--borda); padding-top: 12px; }
.lateral-pe > a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--mauve); text-decoration: underline; border-radius: 10px; }
.lateral-pe > a:hover { background: var(--rosa); }
.perfil { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pessego); color: var(--texto); display: grid; place-items: center; font: 700 16px var(--display); flex: none; }
.perfil-txt { min-width: 0; line-height: 18px; }
.perfil-txt strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perfil-txt span { display: block; font-size: 12px; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conteudo { flex: 1; min-width: 0; }
.erro { background: var(--erro-fundo); border: 1px solid #e7b3c0; color: var(--erro); padding: 12px 16px; border-radius: 12px; font-size: 15px; line-height: 22px; margin-bottom: 16px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: var(--texto); color: #fff; padding: 12px 20px; border-radius: 16px; box-shadow: 0 10px 30px #321c2840; font-size: 15px; max-width: calc(100vw - 32px); }
.toast svg { stroke: #7de3c0; }

/* ── formas orgânicas ── */
.forma { position: absolute; pointer-events: none; z-index: 0; }
.f1 { width: 280px; height: 280px; left: -80px; bottom: -120px; background: var(--pessego-2); opacity: .55; border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
.f2 { width: 200px; height: 200px; right: 30%; top: -90px; background: var(--mauve); opacity: .14; border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
.f3 { width: 120px; height: 120px; right: 8%; bottom: 18px; background: #fff; opacity: .45; border-radius: 50%; }

/* ── banner e início ── */
.vitrine { max-width: 1120px; margin: 0 auto; padding: 16px 16px 48px; }
.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px 48px 24px 24px; }
.banner-padrao { background: var(--pessego); color: var(--texto); min-height: 200px; display: flex; align-items: center; padding: 28px 24px; }
.banner-padrao::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 48%; height: 170%; right: -9%; top: 18%; border: clamp(12px, 2vw, 28px) solid var(--pessego-2); border-radius: 50% 50% 0 0; }
.banner-txt { position: relative; z-index: 1; }
.banner-logo { width: 84px; height: 84px; object-fit: contain; display: block; margin: -14px 0 -10px -14px; }
.banner-txt .sobre { margin: 0; font: 600 14px/20px var(--corpo); letter-spacing: .12em; text-transform: uppercase; }
.banner-txt h1 { font-weight: 800; font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 4px 0 6px; }
.banner-txt .sub { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; }
/* carrossel: rolagem com encaixe; app.js acrescenta bolinhas, setas e troca automática */
.carrossel { position: relative; }
.carrossel-faixa { border-radius: 24px 48px 24px 24px; background: var(--pessego); }
.carrossel-faixa { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carrossel-faixa::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide a, .slide img, .slide picture { display: block; width: 100%; }
.slide img { aspect-ratio: 5 / 1; object-fit: cover; }
/* celular: todos os slides em 2:1 para o carrossel não pular de altura; sem versão de celular, a arte aparece inteira sobre pêssego */
@media (max-width: 600px) {
  .slide img { aspect-ratio: 2 / 1; }
  .slide picture.sem-celular { background: var(--pessego); }
  .slide picture.sem-celular img { object-fit: contain; }
}
.carrossel-bolinhas { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.carrossel-bolinhas button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carrossel-bolinhas button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pessego-2); opacity: 1; transition: width .3s var(--suave), opacity .3s; }
.carrossel-bolinhas button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--carmim); }
.carrossel-seta { display: none; position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fffe; color: var(--texto); cursor: pointer; place-items: center; box-shadow: var(--sombra); transition: transform .2s var(--suave); }
.carrossel-seta:hover { transform: translateY(-50%) scale(1.06); }
.carrossel-seta.ante { left: 12px; } .carrossel-seta.prox { right: 12px; }
@media (min-width: 861px) { .carrossel-seta { display: grid; } }
@media (prefers-reduced-motion: reduce) { .carrossel-faixa { scroll-behavior: auto; } .carrossel-bolinhas button::before { transition: none; } }
.saudacao-linha { padding: 16px 4px 0; }
.saudacao-linha h1 { margin: 0; }
.saudacao-linha p { margin: 0; color: var(--texto-2); }

.continue { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; background: var(--branco); border: 1px solid var(--borda); border-radius: 24px 36px 24px 24px; padding: 20px 24px; margin-top: 24px; box-shadow: var(--sombra); }
.anel { position: relative; width: 88px; height: 88px; }
.anel svg { width: 88px; height: 88px; transform: rotate(-90deg); stroke-width: 7; }
.anel-trilho { stroke: var(--rosa); }
.anel-valor { stroke: var(--carmim); }
.anel b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 18px var(--display); }
.continue-txt { min-width: 0; }
.rotulo { margin: 0; font: 600 14px/20px var(--corpo); color: var(--carmim-3); letter-spacing: .06em; text-transform: uppercase; }
.continue-txt h2 { margin: 2px 0 2px; font-size: 20px; line-height: 26px; }

.secao { margin-top: 40px; }
.secao h2 { margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--borda); border-radius: 18px 36px 18px 18px; background: var(--rosa); box-shadow: var(--sombra); -webkit-tap-highlight-color: transparent; }
.card-capa { position: relative; flex: none; aspect-ratio: 2 / 3; overflow: hidden; background: var(--rosa); }
.card-capa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.capa-padrao { position: absolute; inset: 0; background: var(--pessego); display: grid; place-items: center; overflow: hidden; }
.capa-padrao::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 11%; bottom: -34%; border: 14px solid var(--pessego-2); border-radius: 50%; opacity: .8; }
.capa-padrao img { position: relative; width: 38%; height: auto; opacity: .85; margin-top: -14%; }
.card-txt { flex: 1; background: var(--branco); color: var(--texto); padding: 12px; }
.card-txt strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 16px/21px var(--display); }
.card-txt span { display: block; font-size: 14px; line-height: 20px; color: var(--texto-2); margin-top: 2px; }
.card.rascunho .card-capa > img, .card.rascunho .capa-padrao { opacity: .6; }
.selo { position: absolute; top: 8px; left: 8px; z-index: 2; font-style: normal; }
.cards-admin { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vazio { text-align: center; padding: 56px 20px; color: var(--texto-2); }

.estado { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 500 14px/20px var(--corpo); }
.estado svg { width: 18px; height: 18px; stroke-width: 2.6; stroke: var(--ok-traco); }
.estado-concluida { color: var(--ok); background: var(--ok-fundo); }
.estado-rascunho { color: var(--aviso); background: var(--aviso-fundo); }
.estado-bloqueado { color: var(--erro); background: var(--erro-fundo); font-style: normal; }

/* ── páginas internas ── */
.pagina { max-width: 1120px; margin: 0 auto; padding: 24px 16px 48px; }
.estreita { max-width: 520px; }
.estreita-larga { max-width: 780px; }
.voltar { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--mauve); text-decoration: underline; font-size: 15px; margin-bottom: 8px; }
.link-admin { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--mauve); text-decoration: underline; }
.aula-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; margin-top: 16px; align-items: start; }
.aula-num { margin: 0; font: 600 14px/20px var(--corpo); color: var(--carmim-3); letter-spacing: .06em; text-transform: uppercase; }
.player { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 18px 36px 18px 18px; overflow: hidden; display: block; margin: 12px 0 20px; }
.player iframe { width: 100%; height: 100%; border: 0; }
.anexos { margin-top: 24px; }
.anexo { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; background: var(--branco); border: 1px solid var(--borda); border-radius: 14px; margin-bottom: 8px; transition: border-color .15s, background-color .15s; }
.anexo:hover { border-color: var(--carmim); background: var(--fundo); }
.anexo svg { color: var(--carmim-2); }
.anexo span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anexo small { color: var(--texto-2); font-size: 14px; }
.anexo b { color: var(--carmim-3); font-weight: 600; font-size: 15px; }
.aula-acoes { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.concluir { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lista-aulas { background: var(--branco); border: 1px solid var(--borda); border-radius: 24px; padding: 8px; position: sticky; top: 16px; }
.lista-aulas summary { display: none; }
.lista-aulas ol { list-style: none; margin: 0; padding: 0; }
.lista-aulas a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 16px; font-size: 15px; line-height: 21px; }
.lista-aulas a:hover { background: var(--rosa); }
.lista-aulas li.atual a { background: var(--pessego); font-weight: 600; }
.check { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--borda-campo); display: grid; place-items: center; font-size: 13px; font-weight: 500; flex: none; }
.check svg { width: 18px; height: 18px; stroke-width: 2.6; }
.check.feito { background: var(--ok-fundo); border-color: var(--ok-traco); color: var(--ok); }
.check.feito svg { stroke: var(--ok); }

/* ── botões e formulários ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 600 16px/22px var(--corpo); cursor: pointer; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-grande { min-height: 52px; padding: 0 28px; }
.btn-peq { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-cheio { background: var(--carmim); color: #fff; }
.btn-cheio:hover { background: var(--carmim-2); }
.btn-cheio:active { background: var(--carmim-3); }
.btn-contorno { background: var(--branco); color: var(--texto); border-color: var(--borda-campo); }
.btn-contorno:hover { background: var(--rosa); border-color: var(--texto); }
.btn-texto { background: none; color: var(--mauve); text-decoration: underline; padding: 0 12px; min-height: 44px; font-size: 15px; }
.btn-texto:hover { background: var(--rosa); }
.perigo { color: var(--erro); }
.btn:disabled { background: #eee6e7; color: var(--texto-2); border-color: transparent; cursor: not-allowed; }
.form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; }
label small { font-weight: 400; color: var(--texto-2); font-size: 14px; }
input, select, textarea { font: 400 16px/24px var(--corpo); color: var(--texto); background: var(--branco); border: 1.5px solid var(--borda-campo); border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--foco); }
input[type=checkbox] { width: 24px; height: 24px; min-height: 24px; accent-color: var(--carmim); flex: none; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bloco { background: var(--branco); border: 1px solid var(--borda); border-radius: 24px; padding: 20px; margin-top: 20px; }
fieldset.bloco { display: flex; flex-direction: column; gap: 16px; }
legend { font: 700 18px var(--display); padding: 0; float: left; width: 100%; margin-bottom: 16px; }
legend + * { clear: both; }
.check-linha { flex-direction: row; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; font-size: 15px; }
.ordem { max-width: 120px; }
.linha { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.titulo-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.titulo-linha h2, .titulo-linha h3 { margin: 0; }
.secao-edit { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.secao-edit .grande { flex: 1; min-width: 200px; }
.expansor > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 600; cursor: pointer; list-style: none; color: var(--mauve); }
.expansor > summary::-webkit-details-marker, .conta-cel summary::-webkit-details-marker { display: none; }
.expansor > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin: -4px 4px 0; }
.expansor[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.secao-admin > .expansor { margin-top: 12px; border-top: 1px solid var(--borda); }
.expansor-bloco > summary { color: var(--texto); font-family: var(--display); font-size: 18px; }
.expansor[open] > summary { margin-bottom: 8px; }
.linha-banner { margin-bottom: 16px; }
.lista-banners { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.item-banner { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--borda); border-radius: 18px 36px 18px 18px; background: var(--branco); }
.item-banner.pausado .mini-banner { opacity: .45; filter: grayscale(.6); }
.banner-edit { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.banner-edit .grande { flex: 1 1 260px; }
.banner-edit .linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.minis { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.minis figure { margin: 0; display: grid; gap: 4px; }
.minis figcaption { font-size: 13px; color: var(--mauve); }
.minis figure:first-child { flex: 1 1 300px; max-width: 480px; }
.minis .mini-celular { width: 220px; max-width: 100%; aspect-ratio: 2 / 1; border-radius: 12px; }
.minis .mini-vazio { display: grid; place-items: center; padding: 10px; text-align: center; font-size: 13px; line-height: 18px; background: var(--pessego); color: var(--texto); }
.celular-det > summary { cursor: pointer; font-weight: 600; color: var(--carmim-3); padding: 6px 0; }
.banner-celular { display: grid; gap: 10px; max-width: 480px; }
.banner-celular .linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mini-banner { width: 100%; max-width: 480px; aspect-ratio: 5 / 1; object-fit: cover; border-radius: 12px; display: block; }
.mini-capa { width: 96px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px 24px 12px 12px; flex: none; }
.capa-edit { display: flex; gap: 16px; align-items: flex-start; }
.capa-soltar { flex: 1; min-width: 0; }
.duas-colunas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.duas-colunas .bloco { margin-top: 20px; }
.lista-admin { list-style: none; padding: 0; margin: 0; }
.lista-admin a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--borda); margin-bottom: 8px; transition: border-color .15s, background-color .15s; }
.lista-admin a:hover { border-color: var(--carmim); background: var(--fundo); }
.lista-admin .num { width: 30px; height: 30px; border-radius: 50%; background: var(--pessego); display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.lista-admin .nome { flex: 1; min-width: 0; }
.lista-admin small { color: var(--texto-2); font-size: 14px; }
.anexo-admin { display: flex; align-items: center; gap: 10px; padding: 4px 12px; background: var(--fundo); border: 1px solid var(--borda); border-radius: 12px; }
.anexo-admin span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anexo-admin small { color: var(--texto-2); }
.enviando { color: var(--aviso); background: var(--aviso-fundo); padding: 10px 14px; border-radius: 12px; font-size: 15px; margin: 0; }
.enviando[hidden] { display: none; }
.exclusao { margin-top: 24px; padding-top: 12px; border-top: 1px dashed var(--borda); }
.exclusao .btn { font-size: 14px; }
.linha-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.linha-form label { flex: 1; min-width: 200px; }
.linha-form .btn { align-self: flex-start; margin-top: 26px; }
.senha-nova { background: var(--ok-fundo); border: 1px solid var(--ok-traco); border-radius: 24px; padding: 20px; margin-top: 16px; }
.senha-nova h3 { color: var(--ok); margin-bottom: 4px; }
.senha-nova pre { white-space: pre-wrap; word-break: break-word; background: var(--branco); border: 1px solid var(--borda); padding: 14px 16px; border-radius: 12px; font: 15px/24px var(--corpo); user-select: all; }

/* zona de soltar */
.soltar { display: flex; flex-direction: column; gap: 8px; }
.soltar-area { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 28px 16px; min-height: 140px; border: 2px dashed var(--borda-campo); border-radius: 18px; background: var(--fundo); transition: background-color .2s, border-color .2s, transform .2s var(--suave); cursor: pointer; }
.soltar-area svg { width: 36px; height: 36px; color: var(--carmim-2); }
.soltar-area strong { font-size: 16px; font-weight: 600; }
.soltar-area small { font-weight: 400; }
.soltar-area input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.soltar:hover .soltar-area { background: var(--rosa); border-color: var(--mauve); }
.soltar:focus-within .soltar-area { outline: 3px solid var(--foco); outline-offset: 3px; }
.soltar.arrastando .soltar-area { background: var(--pessego); border-color: var(--carmim); border-style: solid; transform: scale(1.01); }
.soltar-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.soltar-lista li { display: flex; gap: 12px; align-items: center; padding: 8px 14px; min-height: 44px; background: var(--ok-fundo); color: var(--ok); border-radius: 12px; font-weight: 500; font-size: 14px; }
.soltar-lista li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soltar-lista li small { color: var(--ok); }

/* tabela e fichas */
.tabela-wrap { overflow-x: auto; padding: 8px 20px; }
.tabela { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.tabela th { text-align: left; color: var(--texto-2); font-weight: 500; font-size: 14px; padding: 12px 8px; border-bottom: 1px solid var(--borda); }
.tabela td { padding: 10px 8px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela tr.inativo td { color: var(--texto-2); }
.tabela .acoes { text-align: right; white-space: nowrap; }
.fichas { display: none; }
.ficha { background: var(--branco); border: 1px solid var(--borda); border-radius: 18px 28px 18px 18px; padding: 16px; margin-top: 12px; }
.ficha header { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 17px; }
.ficha dl { margin: 12px 0; display: grid; gap: 4px; }
.ficha dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ficha dt { color: var(--texto-2); }
.ficha dd { margin: 0; font-weight: 500; text-align: right; }
.ficha.inativo { background: var(--rosa); }

/* ── login ── */
.tela-login { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--fundo); }
.tela-login::before { content: ""; position: absolute; z-index: -1; width: min(70vw, 560px); aspect-ratio: 1; right: -12%; top: -22%; border: 28px solid var(--pessego); border-radius: 50%; opacity: .8; }
.tela-login .f1 { left: -6%; bottom: -8%; width: 360px; height: 360px; }
.tela-login .f2 { right: 6%; bottom: 10%; top: auto; width: 240px; height: 240px; }
.tela-login .f3 { left: 12%; top: 12%; right: auto; bottom: auto; width: 140px; height: 140px; background: var(--pessego); opacity: .7; }
.cartao-login { position: relative; z-index: 1; width: 100%; max-width: 420px; background: var(--branco); border: 1px solid var(--borda); border-radius: 24px 48px 24px 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 16px 40px #965a6c26; }
.cartao-login h1 { text-align: center; margin: 0; font-size: 24px; line-height: 30px; }
.cartao-login .sub { text-align: center; margin: -8px 0 4px; color: var(--texto-2); }
.logo-login { width: 120px; height: 120px; object-fit: contain; margin: -22px auto -30px; display: block; }
.cartao-login .dica { text-align: center; }
.campo-senha { position: relative; display: block; }
.campo-senha input { padding-right: 116px; }
.ver-senha { position: absolute; right: 2px; top: 2px; bottom: 2px; min-width: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; background: none; border: 0; border-radius: 8px; color: var(--mauve); font: 500 14px var(--corpo); cursor: pointer; }
.ver-senha:hover { background: var(--rosa); }
.ver-senha svg { width: 20px; height: 20px; }

/* ── celular ── */
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .lateral { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: auto; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); flex-direction: row; border-right: 0; border-top: 1px solid var(--borda); box-shadow: 0 -4px 16px #321c280d; }
  .marca, .lateral-pe { display: none; }
  .menu { flex: 1; flex-direction: row; gap: 4px; }
  .menu > a, .conta-cel summary { flex: 1; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 4px 6px; font-size: 13px; line-height: 16px; border-radius: 16px; }
  .menu a.ativo { background: var(--pessego); }
  .conta-cel { display: block; flex: 1; }
  .conta-cel summary { width: 100%; }
  .conta-cel[open] summary { background: var(--rosa); }
  .conta-painel { position: fixed; right: 12px; bottom: calc(var(--barra-cel) + 12px + env(safe-area-inset-bottom)); width: min(300px, calc(100vw - 24px)); background: var(--branco); border: 1px solid var(--borda); border-radius: 20px 28px 20px 20px; padding: 8px; box-shadow: 0 12px 32px #321c2829; }
  .conta-painel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 500; }
  .conta-painel a:hover { background: var(--rosa); }
  .conta-nome { padding: 10px 14px 12px; border-bottom: 1px solid var(--borda); margin-bottom: 4px; line-height: 20px; overflow-wrap: anywhere; }
  .conta-nome strong, .conta-nome small { display: block; }
  .conta-nome small { color: var(--texto-2); font-size: 13px; }
  .conteudo { padding-bottom: calc(var(--barra-cel) + 16px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(var(--barra-cel) + 16px + env(safe-area-inset-bottom)); }
  .tela-login .toast { bottom: 16px; }
  .banner-padrao { min-height: 180px; padding: 24px 20px; }
  .banner-padrao::before { width: 70%; right: -22%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .continue { grid-template-columns: auto 1fr; padding: 18px; gap: 16px; }
  .continue .btn { grid-column: 1 / -1; width: 100%; }
  .anel, .anel svg { width: 76px; height: 76px; }
  .aula-layout, .duas-colunas { grid-template-columns: 1fr; gap: 16px; }
  .lista-aulas { position: static; order: -1; padding: 4px; }
  .lista-aulas summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 12px; font-weight: 600; cursor: pointer; list-style: none; }
  .lista-aulas summary::-webkit-details-marker { display: none; }
  .lista-aulas summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
  .lista-aulas[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .tabela-wrap { display: none; }
  .fichas { display: block; }
  .linha-form .btn { margin-top: 0; width: 100%; }
  .secao-edit .btn, .aula-acoes .btn { flex: 1 1 auto; }
  .aula-acoes { flex-direction: column; align-items: stretch; }
  .concluir { justify-content: space-between; }
  .capa-edit { flex-direction: column; }
  .capa-soltar { width: 100%; }
  .titulo-linha .btn { width: 100%; }
}
@media (min-width: 861px) {
  .vitrine, .pagina { padding-left: 32px; padding-right: 32px; padding-top: 32px; }
  .banner-padrao { min-height: 240px; padding: 36px 48px; }
  .secao { margin-top: 48px; }
  .cards { gap: 16px; }
}

/* ── movimento (só para quem não pediu menos movimento) ── */
@view-transition { navigation: auto; }
@keyframes vt-sai { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(12px); } }
@keyframes subir { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes flutua-a { 50% { transform: translate3d(28px, -18px, 0) rotate(8deg); } }
@keyframes flutua-b { 50% { transform: translate3d(-24px, 20px, 0) rotate(-10deg); } }
@keyframes flutua-c { 50% { transform: translate3d(16px, 14px, 0) scale(1.08); } }
@keyframes toast-vida { 0% { opacity: 0; transform: translate(-50%, 24px); } 8%, 90% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 16px); } }
@keyframes desenha { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
@keyframes pulo { 40% { transform: scale(1.12); } }
@keyframes faisca { 0% { opacity: 0; transform: translate(0, 0) rotate(45deg) scale(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(45deg) scale(1); } }

.faiscas { display: none; }
.check-desenho path { stroke-dasharray: 22; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-sai 150ms ease-in both; }
  ::view-transition-new(root) { animation: vt-entra 250ms var(--suave) both; }
  ::view-transition-group(lateral) { animation-duration: 0s; }

  .f1 { animation: flutua-a 16s ease-in-out infinite; }
  .f2 { animation: flutua-b 20s ease-in-out infinite; }
  .f3 { animation: flutua-c 12s ease-in-out infinite; }

  .espera .card { opacity: 0; }
  .entrou .card { animation: subir .5s var(--suave) both; }
  .entrou > h2 { animation: subir .4s var(--suave) both; }
  .continue { animation: subir .5s var(--suave) both; animation-delay: .1s; }

  .card { transition: transform .25s var(--suave), box-shadow .25s; }
  .card-capa > img { transition: transform .5s var(--suave); }
  .card:active { transform: scale(.98); transition-duration: .09s; }
  @media (hover: hover) and (pointer: fine) {
    .card:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
    .card:hover .card-capa > img { transform: scale(1.04); }
  }

  .toast { animation: toast-vida 4s var(--suave) both; }
  .soltar-lista li { animation: subir .3s var(--suave) both; }

  .acabou-de-concluir .check-desenho path { animation: desenha .5s .1s var(--suave) both; }
  .acabou-de-concluir .estado-concluida { animation: pulo .45s .5s var(--suave); }
  .acabou-de-concluir .faiscas { display: block; position: absolute; left: 26px; top: 50%; width: 0; height: 0; pointer-events: none; }
  .faiscas i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: var(--carmim); opacity: 0; animation: faisca .7s .15s var(--suave) both; }
  .faiscas i:nth-child(1) { --dx: -22px; --dy: -32px; }
  .faiscas i:nth-child(2) { --dx: 8px; --dy: -40px; background: var(--mauve); }
  .faiscas i:nth-child(3) { --dx: 34px; --dy: -26px; background: var(--pessego-2); }
  .faiscas i:nth-child(4) { --dx: -34px; --dy: 10px; background: var(--pessego-2); }
  .faiscas i:nth-child(5) { --dx: 38px; --dy: 12px; background: var(--mauve); }
  .faiscas i:nth-child(6) { --dx: 0; --dy: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ajustes finos */
.tabela th, .tabela td { white-space: nowrap; }
.tabela .acoes .inline { flex-wrap: nowrap; justify-content: flex-end; }

/* ── lives: espaço em disco, envio, linha do tempo, texto da aula ── */
.disco { display: flex; align-items: center; gap: 14px; background: var(--branco); border: 1px solid var(--borda); border-radius: 18px 28px 18px 18px; padding: 14px 20px; margin-top: 20px; }
.disco svg { width: 26px; height: 26px; color: var(--mauve); }
.disco strong { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.disco span { display: block; font-size: 14px; line-height: 20px; margin-top: 2px; }
.disco-alerta { background: var(--aviso-fundo); border-color: #e3c58a; color: var(--aviso); }
.disco-alerta svg { color: var(--aviso); }
.disco-mini { margin-top: 20px; }
.lives-recentes .lista-admin { margin-top: 4px; }
.estado-live-na_fila, .estado-live-processando { color: var(--aviso); background: var(--aviso-fundo); font-style: normal; }
.estado-live-aguardando_chave, .estado-live-erro { color: var(--erro); background: var(--erro-fundo); font-style: normal; }
.estado-live-pronto { color: var(--ok); background: var(--ok-fundo); font-style: normal; }

.envio-progresso { display: flex; flex-direction: column; gap: 8px; }
.envio-progresso[hidden], [data-envio-erro][hidden] { display: none; }
.envio-linha { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.envio-linha span { font-weight: 600; color: var(--carmim-3); }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 14px; border: 0; border-radius: 999px; overflow: hidden; background: var(--rosa); }
progress::-webkit-progress-bar { background: var(--rosa); }
progress::-webkit-progress-value { background: var(--carmim); border-radius: 999px; transition: width .3s var(--suave); }
progress::-moz-progress-bar { background: var(--carmim); border-radius: 999px; }

.acompanha { padding: 24px; }
.linha-tempo { list-style: none; margin: 0 0 20px; padding: 0; }
.passo { position: relative; display: flex; align-items: center; gap: 16px; min-height: 56px; }
.passo:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 46px; bottom: -10px; width: 2px; background: var(--borda); }
.passo-feito:not(:last-child)::after { background: var(--ok-traco); }
.passo-bolha { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--borda-campo); background: var(--branco); display: grid; place-items: center; flex: none; z-index: 1; }
.passo-bolha svg { display: none; width: 20px; height: 20px; stroke-width: 2.8; }
.passo-bolha .i-atual { display: none; width: 12px; height: 12px; border-radius: 50%; background: var(--carmim); }
.passo-txt { font-size: 16px; line-height: 22px; color: var(--texto-2); }
.passo-feito .passo-bolha { background: var(--ok-fundo); border-color: var(--ok-traco); }
.passo-feito .i-feito { display: block; stroke: var(--ok); }
.passo-feito .passo-txt { color: var(--texto); }
.passo-atual .passo-bolha { border-color: var(--carmim); background: var(--pessego); }
.passo-atual .i-atual { display: block; }
.passo-atual .passo-txt { color: var(--texto); font-weight: 600; }
.passo-erro .passo-bolha { border-color: var(--erro); background: var(--erro-fundo); }
.passo-erro .i-erro { display: block; stroke: var(--erro); }
.passo-erro .passo-txt { color: var(--erro); font-weight: 600; }
.passo-pausado .passo-bolha { border-color: var(--aviso); background: var(--aviso-fundo); }
.passo-pausado .i-pausa { display: block; stroke: var(--aviso); }
.passo-pausado .passo-txt { color: var(--aviso); font-weight: 600; }
.acompanha-msg { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--rosa); font-size: 15px; line-height: 22px; }
.estado-msg-erro, .estado-msg-aguardando_chave { background: var(--erro-fundo); color: var(--erro); }
.estado-msg-pronto { background: var(--ok-fundo); color: var(--ok); }
.resumo-custo { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.resumo-custo div { flex: 1; min-width: 150px; background: var(--fundo); border: 1px solid var(--borda); border-radius: 14px 22px 14px 14px; padding: 10px 16px; }
.resumo-custo dt { font-size: 13px; line-height: 18px; color: var(--texto-2); }
.resumo-custo dd { margin: 0; font: 700 18px/26px var(--display); }
.acompanha-acoes .inline { display: inline-flex; }

.descricao { margin-top: 4px; }
.descricao .texto-titulo { margin: 24px 0 10px; font-size: 18px; }
.texto-lista { margin: 0 0 12px; padding: 0 0 0 22px; }
.texto-lista li { margin-bottom: 6px; padding-left: 4px; }
.texto-lista li::marker { color: var(--carmim); }
.texto-lista .passo-acao { list-style: none; position: relative; padding-left: 34px; margin-left: -22px; min-height: 28px; }
.texto-lista .passo-acao::before { content: ""; position: absolute; left: 4px; top: 3px; width: 20px; height: 20px; border: 2px solid var(--borda-campo); border-radius: 7px; background: var(--branco); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes pulsa { 0% { box-shadow: 0 0 0 0 #e00e4d66; } 70% { box-shadow: 0 0 0 12px #e00e4d00; } 100% { box-shadow: 0 0 0 0 #e00e4d00; } }
  @keyframes bolinha { 50% { transform: scale(.7); } }
  .passo-atual .passo-bolha { animation: pulsa 1.6s ease-out infinite; }
  .passo-atual .i-atual { animation: bolinha 1.6s ease-in-out infinite; }
  .passo-feito .i-feito path { stroke-dasharray: 22; animation: desenha .5s var(--suave) both; }
  .linha-tempo .passo { animation: subir .4s var(--suave) both; }
  .linha-tempo .passo:nth-child(2) { animation-delay: .06s; }
  .linha-tempo .passo:nth-child(3) { animation-delay: .12s; }
  .linha-tempo .passo:nth-child(4) { animation-delay: .18s; }
  .linha-tempo .passo:nth-child(5) { animation-delay: .24s; }
  .disco, .lives-recentes { animation: subir .5s var(--suave) both; }
}
.acompanha + .meta { margin-top: 12px; }

/* ── agenda de lives ── */
.data-selo { flex: none; width: 84px; height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--pessego); border-radius: 24px 36px 24px 24px; color: var(--texto); }
.data-selo b { font: 800 32px/34px var(--display); }
.data-selo small { font: 600 12px/14px var(--corpo); letter-spacing: .1em; text-transform: uppercase; color: var(--carmim-3); }
.proxima-live { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; background: var(--branco); border: 1px solid var(--borda); border-radius: 24px 36px 24px 24px; padding: 20px 24px; margin-top: 24px; box-shadow: var(--sombra); }
.proxima-live .live-txt { min-width: 0; }
.proxima-live h2 { margin: 2px 0 2px; font-size: 20px; line-height: 26px; }
.proxima-live .live-grav { margin-top: 6px; }
.live-acoes { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.live-rodape { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--borda); padding-top: 8px; margin-top: -4px; font-size: 14px; line-height: 20px; color: var(--texto-2); }
.live-rodape a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--mauve); font-weight: 500; text-decoration: underline; margin-left: auto; }
.live-rodape a svg { width: 16px; height: 16px; }
.ao-vivo { display: inline-flex; align-items: center; gap: 8px; background: var(--carmim); color: #fff; padding: 2px 12px 2px 10px; border-radius: 999px; font-size: 13px; line-height: 22px; letter-spacing: .08em; }
.ao-vivo i { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: block; }
.btn-entrar svg { width: 22px; height: 22px; }
.live-passada .data-selo { background: var(--rosa); }
.live-passada .data-selo small { color: var(--mauve); }

.contagem { display: flex; gap: 8px; margin-top: 10px; }
.contagem span { min-width: 60px; text-align: center; background: var(--rosa); border-radius: 14px 18px 14px 14px; padding: 6px 8px; }
.contagem b { display: block; font: 700 20px/24px var(--display); font-variant-numeric: tabular-nums; }
.contagem small { display: block; font-size: 12px; line-height: 16px; color: var(--texto-2); }

/* Card da live no estilo dos banners: carmim, ouro claro, arcos dourados. A 1ª live e a "ao vivo" usam; as demais da lista ficam claras (.live-calma). */
.proxima-live:not(.live-calma) {
  --ouro: #ffe7b3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160' fill='none' stroke='%23ffe7b3' stroke-width='2'%3E%3Cpath d='M20 160V80a80 80 0 0 1 160 0v80' stroke-opacity='.34'/%3E%3Cpath d='M50 160V84a50 50 0 0 1 100 0v76' stroke-opacity='.26'/%3E%3Cpath d='M80 160V88a20 20 0 0 1 40 0v72' stroke-opacity='.18'/%3E%3C/svg%3E") no-repeat right -24px bottom -8px / auto 150%,
    linear-gradient(120deg, #bc0c41 0%, #cd0d47 55%, #e00e4d 100%);
  border: 0; color: #fff; box-shadow: 0 16px 32px #bc0c4140, 0 2px 6px #321c2820; margin-top: 28px; margin-bottom: 4px;
}
.proxima-live:not(.live-calma) .rotulo { color: var(--ouro); }
.proxima-live:not(.live-calma) h2 { color: #fff; }
.proxima-live:not(.live-calma) .meta { color: #fff; }
.proxima-live:not(.live-calma) .data-selo { background: #ffffff1f; box-shadow: inset 0 0 0 1px #ffe7b380; color: #fff; }
.proxima-live:not(.live-calma) .data-selo small { color: var(--ouro); }
.proxima-live:not(.live-calma) .contagem span { background: #4a0a1f40; box-shadow: inset 0 0 0 1px #ffe7b340; }
.proxima-live:not(.live-calma) .contagem small { color: var(--ouro); }
.proxima-live:not(.live-calma) .btn-cheio { background: #fff; color: var(--carmim-2); box-shadow: 0 6px 16px #4a0a1f40; }
.proxima-live:not(.live-calma) .btn-cheio:hover { background: #fff3d9; }
.proxima-live:not(.live-calma) .btn-contorno { background: transparent; color: #fff; border-color: #ffe7b3; }
.proxima-live:not(.live-calma) .btn-contorno:hover { background: #ffffff26; border-color: #fff; }
.proxima-live:not(.live-calma) .live-rodape { border-top: 1px dashed #ffe7b380; color: #fff; }
.proxima-live:not(.live-calma) .live-rodape a { color: var(--ouro); }
.proxima-live:not(.live-calma) :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.proxima-live:not(.live-calma) .ao-vivo { background: #fff; color: var(--carmim-2); font-weight: 700; }
.proxima-live:not(.live-calma) .ao-vivo i { background: var(--carmim); }
.proxima-live:not(.live-calma) .btn-entrar { min-height: 56px; padding: 0 30px; font-size: 18px; }
.live-calma .live-rodape a { color: var(--mauve); }

.menu-agenda { position: relative; }
.menu-agenda > summary { list-style: none; cursor: pointer; width: 100%; }
.menu-agenda > summary::-webkit-details-marker { display: none; }
.menu-agenda > summary svg { width: 18px; height: 18px; }
.menu-agenda-painel { position: absolute; z-index: 20; right: 0; top: calc(100% + 6px); min-width: 250px; background: var(--branco); border: 1px solid var(--borda); border-radius: 18px 24px 18px 18px; padding: 6px; box-shadow: var(--sombra-alta); }
.menu-agenda-painel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.menu-agenda-painel a:hover { background: var(--rosa); }

.lives-bloco { margin-top: 32px; }
.lives-bloco > h2 { margin-bottom: 4px; }
.lives-bloco .proxima-live { margin-top: 12px; }
.vazio-live { background: var(--branco); border: 1px dashed var(--borda-campo); border-radius: 24px; padding: 28px 20px; margin-top: 12px; }
.vazio-live p { margin: 0; }
.lista-live { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.live-linha { display: flex; align-items: center; gap: 16px; background: var(--branco); border: 1px solid var(--borda); border-radius: 18px 28px 18px 18px; padding: 12px 16px; }
.live-linha .data-selo { width: 60px; height: 60px; border-radius: 18px 26px 18px 18px; background: var(--rosa); }
.live-linha .data-selo b { font-size: 22px; line-height: 24px; }
.live-linha .data-selo small { font-size: 10px; line-height: 12px; color: var(--mauve); }
.live-linha-txt { flex: 1; min-width: 0; }
.live-linha-txt strong { display: block; font: 700 16px/22px var(--display); }
.live-sem-grav { max-width: 24ch; text-align: right; }

.live-admin { background: var(--branco); border: 1px solid var(--borda); border-radius: 24px 36px 24px 24px; padding: 18px 20px; margin-top: 12px; }
.live-admin header { display: flex; align-items: center; gap: 16px; }
.live-admin .data-selo { width: 64px; height: 64px; border-radius: 20px 28px 20px 20px; }
.live-admin .data-selo b { font-size: 24px; line-height: 26px; }
.live-admin .data-selo small { font-size: 10px; line-height: 12px; }
.live-admin.live-passada .data-selo { background: var(--rosa); }
.live-admin.live-aovivo { background: var(--branco); }
.live-admin-txt { flex: 1; min-width: 0; }
.live-admin-txt h3 { margin: 0; overflow-wrap: anywhere; }
.estado-live-aovivo { color: #fff; background: var(--carmim); font-style: normal; }
.estado-live-passada { color: var(--texto-2); background: var(--rosa); font-style: normal; }
.live-admin-dados { margin: 14px 0 6px; display: grid; gap: 4px; }
.live-admin-dados div { display: flex; gap: 12px; font-size: 15px; line-height: 22px; }
.live-admin-dados dt { flex: none; width: 84px; color: var(--texto-2); }
.live-admin-dados dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.live-admin-dados a, .presenca .dica a { color: var(--mauve); text-decoration: underline; }
.presenca { border-top: 1px solid var(--borda); margin-top: 8px; }
.lista-presenca { list-style: none; margin: 0 0 8px; padding: 0; }
.lista-presenca li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--borda); font-size: 15px; line-height: 22px; }
.lista-presenca li:last-child { border-bottom: 0; }
.lista-presenca span { color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lista-presenca small { color: var(--texto-2); font-size: 14px; white-space: nowrap; }
.live-admin-acoes { margin-top: 8px; }
.linha-quando label { min-width: 150px; }

@media (max-width: 860px) {
  .proxima-live { grid-template-columns: auto 1fr; padding: 18px; gap: 14px 16px; }
  .proxima-live { align-items: start; }
  .proxima-live .data-selo { width: 68px; height: 68px; }
  .proxima-live .data-selo b { font-size: 26px; line-height: 28px; }
  .live-acoes { grid-column: 1 / -1; }
  .live-acoes .btn { width: 100%; }
  .menu-agenda-painel { left: 0; right: 0; min-width: 0; }
  .live-linha { flex-wrap: wrap; }
  .live-linha .btn { width: 100%; }
  .live-sem-grav { max-width: none; text-align: left; flex-basis: 100%; }
  .lista-presenca li { grid-template-columns: 1fr auto; }
  .lista-presenca span { grid-column: 1 / -1; grid-row: 2; }
  .live-admin-dados div { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes ao-vivo-pulsa { 0% { box-shadow: 0 0 0 0 #e00e4dcc; } 70% { box-shadow: 0 0 0 9px #e00e4d00; } 100% { box-shadow: 0 0 0 0 #e00e4d00; } }
  @keyframes entrar-pulsa { 0% { box-shadow: 0 6px 16px #4a0a1f40, 0 0 0 0 #ffffffb0; } 70% { box-shadow: 0 6px 16px #4a0a1f40, 0 0 0 14px #ffffff00; } 100% { box-shadow: 0 6px 16px #4a0a1f40, 0 0 0 0 #ffffff00; } }
  .live-aovivo .btn-entrar { animation: entrar-pulsa 2.2s ease-out infinite; }
  @keyframes ao-vivo-brilho { 50% { box-shadow: 0 18px 40px #e00e4d66, 0 2px 6px #321c2820; } }
  .ao-vivo i { animation: ao-vivo-pulsa 1.8s ease-out infinite; }
  .proxima-live { animation: subir .5s var(--suave) both; }
  .proxima-live.live-aovivo { animation: subir .5s var(--suave) both, ao-vivo-brilho 3.2s ease-in-out .6s infinite; }
  .live-admin, .live-linha { animation: subir .45s var(--suave) both; }
}

/* ── /lives: cabeçalho com a arte e capas das gravações ── */
.lives-topo { margin: 0 0 16px; border-radius: 24px 48px 24px 24px; overflow: hidden; background: var(--pessego); }
.lives-topo picture, .lives-topo img { display: block; width: 100%; }
.lives-topo img { aspect-ratio: 5 / 1; object-fit: cover; }
@media (max-width: 600px) { .lives-topo { border-radius: 20px 32px 20px 20px; } .lives-topo img { aspect-ratio: 2 / 1; } }
.live-linha-capa { flex: none; width: 56px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px 16px 10px 10px; background: var(--rosa); }
