/*
 * Site público (página institucional — site/inicio.php e site/unidade.php).
 * Folha própria e enxuta: sem Bootstrap, para carregar rápido no celular
 * (desempenho conta no Google). Paleta de main.css; botões em azul-petróleo
 * porque o verde da marca não tem contraste suficiente com texto branco.
 */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --sp-fundo: #ffffff;
    --sp-fundo-alt: #f4f7fa;
    --sp-texto: #1e293b;
    --sp-texto-suave: #475569;
    --sp-borda: #dce4ec;
    --sp-marca: #1e3a54;
    --sp-marca-forte: #142a3e;
    --sp-destaque: #256f59;
    --sp-destaque-claro: #e6f5f0;
    --sp-laranja: #f99e34;
    --sp-cartao: #ffffff;
    --sp-link: #1a5684;
    --sp-sombra: 0 4px 16px rgba(15, 23, 42, .05);
    --sp-sombra-hover: 0 10px 24px rgba(15, 23, 42, .09);
    --sp-abertura-fundo:
        radial-gradient(circle at 85% 20%, rgba(56, 145, 122, .32) 0%, transparent 48%),
        linear-gradient(135deg, #162d42 0%, #1e3a54 52%, #2b6b5c 100%);
    --sp-abertura-texto: #ffffff;
    --sp-raio: 14px;
    --sp-fonte: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --sp-fundo: #0f1720;
        --sp-fundo-alt: #15202b;
        --sp-texto: #e5ecf2;
        --sp-texto-suave: #a9b7c4;
        --sp-borda: #273544;
        --sp-marca: #7fc4ea;
        --sp-marca-forte: #a6d6f2;
        --sp-destaque: #6fd3ae;
        --sp-destaque-claro: #173a31;
        --sp-cartao: #172331;
        --sp-link: #8ccaf0;
        --sp-sombra: 0 4px 16px rgba(0, 0, 0, .25);
        --sp-sombra-hover: 0 10px 24px rgba(0, 0, 0, .38);
        --sp-abertura-fundo:
            radial-gradient(circle at 85% 20%, rgba(47, 125, 100, .25) 0%, transparent 48%),
            linear-gradient(135deg, #0b1927 0%, #142e44 55%, #1c5043 100%);
    }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.site {
    margin: 0;
    background: var(--sp-fundo);
    color: var(--sp-texto);
    font-family: var(--sp-fonte);
    font-size: 1.05rem;
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--sp-link); text-underline-offset: 3px; }
a:focus-visible,
summary:focus-visible,
button:focus-visible { outline: 3px solid var(--sp-laranja); outline-offset: 2px; border-radius: 4px; }

.pular {
    position: absolute; left: -9999px; top: 0;
    background: var(--sp-marca); color: #fff; padding: .5rem 1rem; z-index: 20;
}
.pular:focus { left: 1rem; top: 1rem; }

.faixa { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.faixa.estreita { max-width: 820px; }

/* ── Topo ───────────────────────────────────────────── */
.topo {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sp-borda);
}
@media (prefers-color-scheme: dark) {
    .topo { background: rgba(15, 23, 32, .92); }
}
.topo .faixa {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 68px;
}
.marca {
    display: flex; align-items: center; gap: .75rem;
    color: var(--sp-texto); text-decoration: none;
    min-width: 0;
}
.marca img { height: 44px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; display: block; }
.marca-texto { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.marca-texto strong { font-size: 1.08rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marca-texto small { font-size: .78rem; color: var(--sp-texto-suave); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 1.25rem; font-size: .95rem; flex-shrink: 0; }
.menu a:not(.botao) {
    color: var(--sp-texto-suave); text-decoration: none; font-weight: 600;
    padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.menu a:not(.botao):hover { color: var(--sp-texto); border-bottom-color: var(--sp-destaque); }

/* ── Botões ─────────────────────────────────────────── */
.botao {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sp-marca); color: #fff;
    font-weight: 600; text-decoration: none;
    padding: .8rem 1.45rem; border-radius: 999px;
    border: 2px solid var(--sp-marca);
    line-height: 1.2;
    transition: background .15s, border-color .15s, transform .15s;
}
.botao:hover { background: var(--sp-marca-forte); border-color: var(--sp-marca-forte); }
.botao-pequeno { padding: .52rem 1.05rem; font-size: .88rem; }
.botao-claro { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .82); }
.botao-claro:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

@media (prefers-color-scheme: dark) {
    .botao { color: #0f1720; }
    .botao-claro { color: #fff; }
}

/* ── Abertura (Hero) ────────────────────────────────── */
.abertura {
    background: var(--sp-abertura-fundo);
    color: var(--sp-abertura-texto);
    padding: 3.75rem 0 3.5rem;
}
.abertura .botao:not(.botao-claro) {
    background: #fff; color: var(--sp-marca-forte); border-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}
.abertura .botao:not(.botao-claro):hover { background: #f0f6fa; border-color: #f0f6fa; }
@media (prefers-color-scheme: dark) {
    .abertura .botao:not(.botao-claro) { color: #0f2233; }
}
.sobretitulo {
    display: inline-block;
    margin: 0 0 .85rem;
    padding: .28rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.abertura h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.6vw, 3.05rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.02em;
    max-width: 22ch;
}
.nome-escola {
    display: block;
    margin: 0 0 .35rem;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.35;
    letter-spacing: 0;
    color: #ffd29d;
}
.titulo-principal { display: block; }
.lead { margin: 0 0 1.5rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 46ch; opacity: .95; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Topo em duas colunas: chamada + "como começar" ─── */
.abertura-grade { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 840px) { .abertura-grade { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.selos { list-style: none; padding: 0; margin: 0 0 1.65rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.selos li {
    font-size: .86rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px;
    background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26);
}
.selos li::before { content: '✓ '; color: var(--sp-laranja); font-weight: 700; }
.selos li.selo-aberto {
    background: rgba(249, 158, 52, .22);
    border-color: rgba(249, 158, 52, .65);
}

.passos-caixa {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: calc(var(--sp-raio) + 2px);
    padding: 1.35rem 1.5rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.passos-titulo {
    margin: 0 0 .75rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #ffd29d;
}
.passos {
    list-style: none; margin: 0; padding: 0; counter-reset: passo;
}
.passos li { counter-increment: passo; position: relative; padding: .75rem 0 .75rem 3rem; }
.passos li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
.passos li::before {
    content: counter(passo); position: absolute; left: 0; top: .8rem;
    width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--sp-laranja); color: #1e293b; font-weight: 700; font-size: .95rem;
}
.passos strong { display: block; font-size: 1.02rem; margin-bottom: .1rem; }
.passos span { display: block; font-size: .9rem; opacity: .92; line-height: 1.45; }

/* ── Faixa de indicadores institucionais ────────────── */
.destaques-faixa {
    background: var(--sp-fundo);
    border-bottom: 1px solid var(--sp-borda);
    padding: 1.5rem 0;
}
.indicadores-grade {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.indicadores-grade li {
    padding: .5rem 0 .5rem .95rem;
    border-left: 3px solid var(--sp-destaque);
}
.indicadores-grade strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sp-marca);
    line-height: 1.25;
}
.indicadores-grade span {
    display: block;
    font-size: .88rem;
    color: var(--sp-texto-suave);
    line-height: 1.45;
    margin-top: .15rem;
}

/* ── Blocos e Cabeçalhos de Seção ───────────────────── */
.bloco { padding: 3.5rem 0; scroll-margin-top: 68px; }
.bloco.alternado { background: var(--sp-fundo-alt); }
.secao-cabecalho { margin-bottom: 1.75rem; }
.secao-kicker {
    margin: 0 0 .3rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--sp-destaque);
}
.bloco h2 {
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    line-height: 1.22;
    letter-spacing: -.015em;
    margin: 0 0 .6rem;
}
.bloco h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .35rem; }
.detalhe { color: var(--sp-texto-suave); margin: 0; max-width: 68ch; }

/* ── Cartões (Turmas e Unidades) ────────────────────── */
.cartoes {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: grid; gap: 1.15rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    align-items: stretch;
}
.cartao {
    background: var(--sp-cartao);
    border: 1px solid var(--sp-borda);
    border-radius: var(--sp-raio);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--sp-sombra);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cartao:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-sombra-hover);
    border-color: #c2d0de;
}
.cartao p { margin: 0 0 .35rem; }
.cartao dl { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin: .75rem 0 0; font-size: .92rem; }
.cartao dt { color: var(--sp-texto-suave); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.cartao dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Áreas de cursos ────────────────────────────────── */
.areas {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    align-items: start; /* Impede que abrir <details> estique os cartões vizinhos */
}
.area-cartao {
    background: var(--sp-cartao);
    border: 1px solid var(--sp-borda);
    border-top: 3px solid var(--sp-destaque);
    border-radius: var(--sp-raio);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--sp-sombra);
}
.area-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .65rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--sp-borda);
}
.area-topo h3 { margin: 0; font-size: 1.12rem; }
.contagem {
    font-size: .78rem;
    font-weight: 700;
    color: var(--sp-destaque);
    background: var(--sp-destaque-claro);
    padding: .22rem .68rem;
    border-radius: 999px;
    white-space: nowrap;
}
.lista-cursos { list-style: none; padding: 0; margin: 0; }
.lista-cursos li {
    position: relative;
    padding: .36rem 0 .36rem 1rem;
    border-bottom: 1px dashed var(--sp-borda);
    font-size: .94rem;
    line-height: 1.45;
}
.lista-cursos li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .78rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sp-destaque);
    opacity: .75;
}
.lista-cursos li:last-child { border-bottom: 0; }
.lista-cursos li.curso-com-vaga {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-weight: 600;
}
.selo-vaga-curso {
    font-size: .74rem;
    font-weight: 700;
    color: var(--sp-destaque);
    background: var(--sp-destaque-claro);
    border: 1px solid rgba(37, 111, 89, .28);
    padding: .15rem .55rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.selo-vaga-curso:hover { text-decoration: underline; }
.lista-cursos-extra { border-top: 1px dashed var(--sp-borda); margin-top: .35rem; }

.mais-cursos {
    border: 0; padding: 0; margin: .7rem 0 0; background: none;
    box-shadow: none;
}
.mais-cursos summary {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--sp-link);
    background: var(--sp-fundo-alt);
    border: 1px solid var(--sp-borda);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    list-style: none;
    transition: background .15s, border-color .15s;
}
.mais-cursos summary::-webkit-details-marker { display: none; }
.mais-cursos summary:hover { border-color: var(--sp-link); }
.mais-cursos .ver-mais-aberto { display: none; }
.mais-cursos[open] .ver-mais-fechado { display: none; }
.mais-cursos[open] .ver-mais-aberto { display: inline; }

/* ── Cartões de unidade ─────────────────────────────── */
.cartao.unidade {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.unidade-topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .35rem;
}
.unidade h3 { font-size: 1.16rem; margin: 0; }
.unidade h3 a { color: var(--sp-texto); text-decoration: none; }
.unidade h3 a:hover { color: var(--sp-link); text-decoration: underline; }
.unidade-sigla {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--sp-texto-suave);
    background: var(--sp-fundo-alt);
    border: 1px solid var(--sp-borda);
    padding: .15rem .5rem;
    border-radius: 6px;
    flex-shrink: 0;
}
.unidade .endereco { color: var(--sp-texto-suave); font-size: .93rem; line-height: 1.5; margin-bottom: .5rem; }
.telefone-linha { margin: .35rem 0 0; }
.telefone {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 600; font-size: .93rem; text-decoration: none;
    color: var(--sp-destaque);
}
.telefone::before { content: '☎'; font-size: .9rem; }
.telefone:hover { text-decoration: underline; }
.cartao-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--sp-borda);
}
.cartao-acoes .botao { flex: 1 1 auto; text-align: center; }
.botao-contorno { background: transparent; color: var(--sp-marca); border-color: var(--sp-borda); }
.botao-contorno:hover { background: var(--sp-fundo-alt); color: var(--sp-marca-forte); border-color: var(--sp-marca); }

/* ── Sobre a escola (Editorial) ─────────────────────── */
.sobre-painel {
    background: var(--sp-cartao);
    border: 1px solid var(--sp-borda);
    border-radius: calc(var(--sp-raio) + 2px);
    padding: 2rem 2.25rem;
    box-shadow: var(--sp-sombra);
}
.texto p, .texto ul { margin: 0 0 1.1rem; }
.texto p:last-child, .texto ul:last-child { margin-bottom: 0; }
.sobre-painel > p:first-of-type {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--sp-marca);
}
.sobre-painel h2,
.sobre-painel h3 {
    font-size: 1.22rem;
    line-height: 1.35;
    color: var(--sp-marca);
    margin: 1.85rem 0 .65rem;
    padding-left: .75rem;
    border-left: 4px solid var(--sp-destaque);
}
.sobre-painel h2:first-child { margin-top: 0; }
.sobre-painel ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .45rem 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.sobre-painel ul li {
    position: relative;
    padding: .45rem .75rem .45rem 1.85rem;
    background: var(--sp-fundo-alt);
    border-radius: 8px;
    font-size: .95rem;
}
.sobre-painel ul li::before {
    content: '✓';
    position: absolute;
    left: .65rem;
    top: .45rem;
    color: var(--sp-destaque);
    font-weight: 700;
}
.texto strong { color: var(--sp-texto); }

/* ── Perguntas frequentes (FAQ) ─────────────────────── */
.perguntas-lista { display: grid; gap: .75rem; }
details.pergunta-item {
    background: var(--sp-cartao);
    border: 1px solid var(--sp-borda);
    border-radius: var(--sp-raio);
    padding: 1rem 1.25rem;
    box-shadow: var(--sp-sombra);
    transition: border-color .15s;
}
details.pergunta-item[open] {
    border-color: var(--sp-destaque);
}
details.pergunta-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.03rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
details.pergunta-item summary::-webkit-details-marker { display: none; }
details.pergunta-item summary::after {
    content: '+';
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--sp-destaque-claro);
    color: var(--sp-destaque);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
details.pergunta-item[open] summary::after {
    content: '−';
    background: var(--sp-destaque);
    color: #fff;
}
details.pergunta-item p {
    margin: .75rem 0 0;
    padding-top: .75rem;
    border-top: 1px solid var(--sp-borda);
    color: var(--sp-texto-suave);
    font-size: .97rem;
}

/* ── Serviços ───────────────────────────────────────── */
.servicos {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.servicos a {
    display: flex; flex-direction: column; justify-content: space-between;
    height: 100%;
    background: var(--sp-cartao); border: 1px solid var(--sp-borda); border-radius: var(--sp-raio);
    padding: 1.2rem 1.3rem; text-decoration: none; color: var(--sp-texto);
    box-shadow: var(--sp-sombra);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.servicos a:hover {
    border-color: var(--sp-destaque);
    transform: translateY(-2px);
    box-shadow: var(--sp-sombra-hover);
}
.servicos strong {
    display: flex; align-items: center; justify-content: space-between;
    color: var(--sp-link); margin-bottom: .35rem; font-size: 1.04rem;
}
.servicos strong::after { content: '→'; font-weight: 700; transition: transform .15s; }
.servicos a:hover strong::after { transform: translateX(3px); }
.servicos span { color: var(--sp-texto-suave); font-size: .92rem; line-height: 1.45; }
.contato { margin-top: 1.75rem; font-size: .98rem; }

/* ── Chamada final ──────────────────────────────────── */
.chamada-final { background: var(--sp-abertura-fundo); color: #fff; padding: 3.25rem 0; text-align: center; }
.chamada-final h2 { margin: 0 0 .5rem; font-size: clamp(1.45rem, 3.4vw, 1.95rem); }
.chamada-final p { margin: 0 0 1.5rem; opacity: .92; }
.chamada-final .acoes { justify-content: center; }
.chamada-final .botao:not(.botao-claro) { background: #fff; color: var(--sp-marca-forte); border-color: #fff; }
@media (prefers-color-scheme: dark) {
    .chamada-final .botao:not(.botao-claro) { color: #0f2233; }
    .botao-contorno { color: var(--sp-marca); }
}

/* ── Vídeo ──────────────────────────────────────────── */
.video-capa,
.video-palco {
    position: relative; display: block; width: 100%; padding: 0; border: 0;
    aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--sp-raio); background: #0d1f2d;
    box-shadow: var(--sp-sombra-hover);
}
.video-capa { cursor: pointer; }
.video-capa img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .25s; }
.video-capa:hover img { opacity: 1; transform: scale(1.02); }
.video-play {
    position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%);
    background: #e00; border-radius: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}
.video-play::after {
    content: ''; position: absolute; left: 29px; top: 15px;
    border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video-quadro, .video-arquivo {
    display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--sp-raio); background: #000;
}
.video-thumb {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 1.5rem;
    cursor: pointer; color: #fff; text-align: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(56, 145, 122, .42) 0%, transparent 52%),
        linear-gradient(135deg, rgba(20, 42, 62, .92) 0%, rgba(30, 58, 84, .88) 55%, rgba(37, 111, 89, .9) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; transition: background .35s ease;
}
/* Capa enviada ou cena do vídeo já à mostra: a imagem aparece inteira, só com uma
   sombra leve no centro para o botão de play se destacar. */
.video-palco.com-capa .video-thumb,
.video-palco.quadro-pronto .video-thumb {
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .08) 45%, transparent 70%);
}
.video-thumb-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s ease;
}
.video-thumb:hover .video-thumb-img { transform: scale(1.02); }
.video-play-circulo {
    z-index: 1;
    position: relative; width: 68px; height: 68px; border-radius: 50%;
    background: var(--sp-laranja);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .32), 0 0 0 8px rgba(249, 158, 52, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.video-thumb:hover .video-play-circulo {
    transform: scale(1.07);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .4), 0 0 0 11px rgba(249, 158, 52, .3);
}
.video-play-circulo::after {
    content: ''; position: absolute; left: 27px; top: 21px;
    border-style: solid; border-width: 13px 0 13px 20px;
    border-color: transparent transparent transparent #142a3e;
}
.video-thumb:focus-visible { outline: 3px solid var(--sp-laranja); outline-offset: -3px; }

/* ── Página do vídeo (/video) ───────────────────────── */
.video-pagina { padding-top: 2rem; }
.migalhas-escuro { color: var(--sp-texto-suave); opacity: 1; }
.migalhas-escuro a { color: var(--sp-link); }
.video-titulo { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin: 0 0 1.1rem; letter-spacing: -.01em; }
.video-info { margin-top: 1.25rem; }
.video-descricao { margin: 0 0 .6rem; font-size: 1.05rem; line-height: 1.6; max-width: 68ch; }
.video-dados { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 1.1rem; color: var(--sp-texto-suave); font-size: .9rem; }
.video-dados span + span::before { content: '·'; margin-right: 1rem; }

/* ── Compartilhar ───────────────────────────────────── */
.compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.compartilhar-rotulo { font-weight: 600; font-size: .92rem; margin-right: .15rem; }
.compartilhar .botao { cursor: pointer; font-family: inherit; }
.compartilhar-aviso { font-size: .88rem; color: var(--sp-destaque); font-weight: 600; }
.compartilhar-link {
    width: min(100%, 340px); font: inherit; font-size: .85rem; padding: .35rem .6rem;
    border: 1px solid var(--sp-borda); border-radius: 8px; background: var(--sp-cartao); color: var(--sp-texto);
}

/* ── Página da unidade ──────────────────────────────── */
.migalhas { font-size: .9rem; margin: 0 0 .75rem; opacity: .9; }
.migalhas a { color: inherit; }
.cartao h3 a { color: inherit; text-decoration: none; }
.cartao h3 a:hover { text-decoration: underline; }
.cartao .mais { font-weight: 600; }
.unidade-grade { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .unidade-grade { grid-template-columns: 1fr 1fr; align-items: start; } }
.mapa {
    width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--sp-borda); border-radius: var(--sp-raio);
    background: var(--sp-fundo-alt); box-shadow: var(--sp-sombra);
}
.horarios { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horarios th, .horarios td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--sp-borda); }
.horarios th { font-weight: 600; width: 40%; }

/* ── Rodapé ─────────────────────────────────────────── */
.rodape-publico { border-top: 1px solid var(--sp-borda); color: var(--sp-texto-suave) !important; }
.acesso-equipe { text-align: center; font-size: .78rem; margin: 0 0 1.5rem; }
.acesso-equipe a { color: var(--sp-texto-suave); }

@media (max-width: 680px) {
    .marca-texto small { display: none; }
    .menu { gap: .75rem; }
    .menu a:not(.botao) { font-size: .86rem; }
}

@media (max-width: 540px) {
    .menu a:not(.botao) { display: none; }
    .abertura { padding: 2.5rem 0 2.25rem; }
    .acoes .botao { flex: 1 1 100%; text-align: center; }
    .bloco { padding: 2.4rem 0; }
    .sobre-painel { padding: 1.35rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
