/* Identidade visual do Colégio Sidarta (sidarta.org.br): fonte M PLUS 1p,
   cabeçalho branco fixo e as quatro cores do logo. */
:root {
  --azul: #0082c6;
  --azul-claro: #43a4d7;
  --verde: #50b848;
  --verde-escuro: #298822;
  --amarelo: #fdb913;
  --vermelho: #ee3048;

  --fundo: #ffffff;
  --fundo-alt: #f5f8fb;
  --texto: #1d1d1d;
  --suave: #4b5563;
  --borda: #e5e7eb;
  --titulo: var(--azul);
  --bolha-eu: #e3f1fa;
  --bolha-bot: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #121417;
    --fundo-alt: #1a1d21;
    --texto: #ecedef;
    --suave: #a7adb5;
    --borda: #2c3036;
    --titulo: var(--azul-claro);
    --bolha-eu: #16344a;
    --bolha-bot: #1e2227;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 17px/1.6 "M PLUS 1p", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- cabeçalho fixo, como no site da escola (o logo é feito para fundo branco) --- */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: #ffffff;
  box-shadow: 0 2px 0 0 #f5f5f5;
}
.barra-dentro {
  max-width: 1040px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.barra img { display: block; width: 168px; max-width: 45vw; height: auto; }
.barra .liss { font-size: 13px; font-weight: 500; color: #4b5563; text-align: right; line-height: 1.3; }
.faixa { display: flex; height: 6px; }
.faixa span { flex: 1; }
.faixa span:nth-child(1) { background: var(--azul); }
.faixa span:nth-child(2) { background: var(--verde); }
.faixa span:nth-child(3) { background: var(--amarelo); }
.faixa span:nth-child(4) { background: var(--vermelho); }

/* --- topo --- */
.topo-fundo { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%); color: #ffffff; }
.topo, main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.topo { padding-top: 56px; padding-bottom: 56px; }
.selo {
  display: inline-block; margin: 0; padding: 4px 14px; border-radius: 99px;
  background: var(--amarelo); color: #1d1d1d; font-size: 13px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; font-weight: 800; margin: 16px 0 12px; }
.sub { max-width: 640px; margin: 0 0 28px; font-size: 1.1rem; opacity: .95; }
.numeros { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 32px; padding: 0; list-style: none; }
.numeros strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.numeros span { font-size: 14px; opacity: .9; }

h2 { font-size: 1.6rem; font-weight: 800; margin: 56px 0 12px; color: var(--titulo); }
h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }

/* --- botões em pílula, como o "Agende uma visita" do site --- */
.cta, .liberar, #chat-enviar {
  display: inline-block;
  background: var(--verde);
  color: #ffffff;
  border: 0;
  border-radius: 99px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.cta:hover, .liberar:hover, #chat-enviar:hover { background: var(--verde-escuro); }
.cta.secundario { background: #ffffff; color: var(--azul); }
.cta.secundario:hover { background: #e3f1fa; }
main .cta.secundario { border: 2px solid var(--azul); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- conteúdo --- */
main { padding-bottom: 72px; }
main ul, main ol { padding-left: 20px; }
.duas-colunas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }

.cotas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.cota {
  border: 1px solid var(--borda); border-top: 8px solid var(--cor, var(--azul));
  border-radius: 1rem; padding: 20px; background: var(--fundo-alt);
  display: flex; flex-direction: column;
}
.cota.platina { --cor: var(--azul); }
.cota.ouro { --cor: var(--amarelo); }
.cota.prata { --cor: #9ca3af; }
.cota.pf { --cor: var(--verde); }
.cota .valor { font-size: 1.6rem; font-weight: 800; margin: 6px 0 0; }
.cota .qtd { margin: 0 0 10px; color: var(--suave); font-size: 14px; }
.cota ul { margin: 0 0 12px; font-size: 15px; flex: 1; }
.cota a { color: var(--verde-escuro); font-weight: 800; overflow-wrap: anywhere; }
.nota { font-size: 14px; color: var(--suave); }

.passos { counter-reset: passo; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.passos li { counter-increment: passo; position: relative; padding: 14px 16px 14px 60px; border-radius: 1rem; background: var(--fundo-alt); }
.passos li::before {
  content: counter(passo); position: absolute; left: 16px; top: 13px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--azul); color: #ffffff; font-weight: 800;
}

details { border-top: 1px solid var(--borda); padding: 12px 0; }
summary { cursor: pointer; font-weight: 800; }

.rodape { background: var(--fundo-alt); border-top: 1px solid var(--borda); }
.rodape p { max-width: 1040px; margin: 0 auto; padding: 24px 16px; font-size: 14px; color: var(--suave); }

/* --- chat --- */
dialog#chat-painel {
  width: min(520px, 100vw - 16px);
  height: min(640px, 100dvh - 16px);
  padding: 0;
  border: 1px solid var(--borda);
  border-radius: 1rem;
  background: var(--fundo);
  color: var(--texto);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
dialog#chat-painel[open] { display: flex; }
dialog::backdrop { background: rgb(0 0 0 / 0.45); }

.chat-cabecalho { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--azul); color: #ffffff; }
#chat-fechar { background: none; border: 0; color: #ffffff; font-size: 26px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--fundo-alt); }
.msg { margin: 0; padding: 9px 13px; border-radius: 14px; max-width: 88%; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--bolha-bot); border: 1px solid var(--borda); align-self: flex-start; }
.msg.eu { background: var(--bolha-eu); align-self: flex-end; }
.msg.digitando { color: var(--suave); }
.liberar { margin: 10px 14px; text-align: center; }
.liberar[hidden] { display: none; }
.aviso { margin: 8px 14px 0; font-size: 14px; color: var(--suave); }

#chat-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--borda); }
#chat-input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--borda); border-radius: 99px; background: var(--bolha-bot); color: var(--texto); font: inherit; }

/* --- arte, formas da marca e seções novas --- */
.topo-fundo { position: relative; overflow: hidden; }
.forma { position: absolute; pointer-events: none; opacity: .18; }
.forma-a { width: 300px; height: auto; right: -80px; top: -90px; }
.forma-b { width: 320px; height: auto; left: -120px; bottom: -70px; }
.topo { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .topo { grid-template-columns: 1fr; } }
.arte { margin: 0; }
.arte img { display: block; width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }

.resumo { margin-top: 40px; padding: 18px 20px; border-left: 6px solid var(--amarelo); background: var(--fundo-alt); border-radius: 0 1rem 1rem 0; }
.resumo p { margin: 0; }

.duas-colunas { align-items: start; }
.cartaz { margin: 56px 0 0; text-align: center; }
.cartaz img { width: 100%; max-width: 300px; height: auto; border-radius: 1rem; }
.cartaz figcaption { font-size: 13px; color: var(--suave); }

.caminho { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.caminho li { padding: 14px 16px; border-radius: 1rem; background: var(--fundo-alt); border-bottom: 4px solid var(--verde); }
.caminho li:last-child { border-bottom-color: var(--amarelo); }
.caminho strong, .caminho span { display: block; }
.caminho span { color: var(--suave); font-size: 15px; }

.projetos-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px; border-radius: 1rem; border: 2px dashed var(--azul-claro); }
.projetos-aviso img { width: 140px; height: auto; }
.projetos-aviso div { flex: 1; min-width: 220px; }
.projetos-aviso p { margin-top: 0; }

.rodape a { color: inherit; }

/* --- robozinho (desenhado e animado por robo.js) --- */
.robo { display: block; width: 100%; height: auto; overflow: visible; }
.robo .casca { fill: #f4f6f8; stroke: #1d1d1d; stroke-width: 4; stroke-linejoin: round; }
.robo .esteira { fill: #3a3f47; stroke: #1d1d1d; stroke-width: 4; }
.robo .detalhe { stroke: #9ca3af; stroke-width: 4; stroke-linecap: round; fill: none; }
.robo .detalhe-cheio { fill: #d1d5db; }
.robo .led { fill: var(--vermelho); animation: led 1.6s steps(1) infinite; }
.robo .lente-aro { fill: #2b3440; stroke: #1d1d1d; stroke-width: 4; }
.robo .lente { fill: var(--azul-claro); }
.robo .lente-brilho { fill: #ffffff; }
.robo-olho { transition: transform .12s ease-out; }
.robo .pneu { fill: #1d1d1d; }
.robo .aro { fill: var(--azul); stroke: #0b2a3d; stroke-width: 2; }
.robo .raio { stroke: #ffffff; stroke-width: 3; stroke-linecap: round; }
.robo .robo-sombra { fill: rgb(0 0 0 / .12); transform-origin: 100px 160px; }
.robo-brilhos path { stroke: var(--amarelo); stroke-width: 5; stroke-linecap: round; fill: none; }
.robo-brilhos { opacity: 0; transform: scale(.7); transform-origin: 100px 80px; transition: opacity .2s, transform .2s; }

.robo-corpo { animation: respira 2.6s ease-in-out infinite; transform-origin: 100px 130px; }
.robo-cabeca { transform-origin: 100px 68px; transition: transform .25s ease; }
.robo .lente, .robo .lente-brilho { transform-box: fill-box; transform-origin: center; animation: pisca 5s infinite; }
.robo-roda { transform-box: fill-box; transform-origin: center; }

/* hover: inclina a cabeça e acende os brilhos */
[data-robo]:hover .robo-cabeca, [data-robo]:focus-visible .robo-cabeca { transform: rotate(-9deg); }
[data-robo]:hover .robo-brilhos, [data-robo]:focus-visible .robo-brilhos { opacity: 1; transform: scale(1); }
[data-robo]:hover .robo-roda { animation: balanca .5s ease-in-out infinite alternate; }

/* clique: pulinho com as rodas girando */
.robo-feliz .robo-pula { animation: pulo .9s cubic-bezier(.3,1.6,.5,1); transform-origin: 100px 156px; }
.robo-feliz .robo-roda { animation: gira .9s ease-out; }
.robo-feliz .robo-sombra { animation: sombra .9s ease; }
.robo-feliz .robo-brilhos { opacity: 1; transform: scale(1.15); }

/* seção nova na tela: aceno de cabeça */
.robo-aceno .robo-cabeca { animation: aceno 1.2s ease-in-out; }

@keyframes respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes pisca { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(.1); } }
@keyframes led { 50% { fill: #7f1d2a; } }
@keyframes balanca { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes gira { to { transform: rotate(720deg); } }
@keyframes pulo { 0% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.08, .9); }
  45% { transform: translateY(-28px) scale(.95, 1.06); } 75% { transform: translateY(0) scale(1.06, .94); } 100% { transform: translateY(0) scale(1); } }
@keyframes sombra { 45% { transform: scale(.6); opacity: .5; } }
@keyframes aceno { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .robo-corpo, .robo .lente, .robo .lente-brilho, .robo .led { animation: none; }
  [data-robo]:hover .robo-roda { animation: none; }
}

/* botão flutuante */
.robo-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 18px 4px 4px; border: 0; border-radius: 99px;
  background: #ffffff; color: var(--azul); font: inherit; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 20px rgb(0 0 0 / .22); cursor: pointer;
}
.robo-flutuante .robo { width: 76px; }
@media (max-width: 520px) { .robo-rotulo { display: none; } .robo-flutuante { padding: 4px; } }

.robo-balao {
  position: absolute; right: 8px; bottom: calc(100% + 10px); width: max-content; max-width: 240px;
  margin: 0; padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  background: var(--amarelo); color: #1d1d1d; font-size: 14px; font-weight: 800; text-align: left;
  box-shadow: 0 6px 16px rgb(0 0 0 / .18); animation: surge .25s ease-out;
}
.robo-balao[hidden] { display: none; }
@keyframes surge { from { opacity: 0; transform: translateY(6px) scale(.95); } }

.robo-grande { width: 170px; padding: 0; border: 0; background: none; cursor: pointer; }
main { padding-bottom: 120px; }

/* --- modo 3D (robo3d.js, carregado só no clique) --- */
.robo-grande { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.robo-3d-selo { font: inherit; font-size: 13px; font-weight: 800; color: var(--azul); }
.robo-grande[aria-busy="true"] .robo-3d-selo::after { content: " …"; }
dialog.robo3d {
  width: min(720px, 100vw - 16px); height: min(560px, 100dvh - 16px);
  padding: 0; border: 0; border-radius: 1rem; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #e3f1fa 60%, #bfe0f3 100%);
}
dialog.robo3d::backdrop { background: rgb(0 40 70 / .55); }
dialog.robo3d canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
dialog.robo3d canvas:active { cursor: grabbing; }
.robo3d-fechar {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #ffffff; color: #1d1d1d; font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / .2);
}
.robo3d-dica {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0;
  padding: 6px 14px; border-radius: 99px; background: var(--amarelo); color: #1d1d1d;
  font-size: 14px; font-weight: 800; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}

/* --- projetos: cards na home e página de cada um --- */
.projetos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.projeto-card {
  display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--fundo-alt); border: 1px solid var(--borda); transition: transform .15s, box-shadow .15s;
}
.projeto-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(0 0 0 / .12); }
.projeto-card img, .projeto-card-sem-foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.projeto-card img.projeto-card-sem-foto { object-fit: contain; padding: 24px 40px; background: linear-gradient(135deg, #e3f1fa, #ffffff); }
.projeto-card-texto { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; font-size: 15px; }
.projeto-card-texto strong { font-size: 1.1rem; }
.projeto-modalidade { color: var(--azul); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.projeto-torcida { margin-top: 6px; color: var(--verde-escuro); font-weight: 800; }
.projeto-torcida::before, .torcida-total::before { content: "♥ "; color: var(--vermelho); }

.projeto-topo .voltar a { color: #ffffff; font-weight: 800; }
.projeto-foto { display: block; width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
.projeto-foto-robo { max-width: 320px; margin: 0 auto; padding: 24px; background: #ffffff; box-shadow: none; }

.torcida {
  margin-top: 40px; padding: 24px; border-radius: 1rem; background: var(--fundo-alt);
  border: 2px solid var(--amarelo); display: grid; gap: 12px;
}
.torcida h2 { margin-top: 0; }
.torcida-total { font-size: 1.3rem; font-weight: 800; margin: 0; }
.torcida [data-torcer] { justify-self: start; font-size: 1.1rem; }
.torcida.torcendo [data-torcer] { background: var(--verde-escuro); cursor: default; }
.torcida-recado { padding: 16px; border-radius: 1rem; background: #ffffff; border: 1px solid var(--borda); animation: surge .3s ease-out; }
.torcida-recado[hidden] { display: none; }
.torcida-fala { margin-top: 0; font-weight: 800; }
@media (prefers-color-scheme: dark) { .torcida-recado { background: var(--bolha-bot); } }

/* --- patrocinadores: espelho das costas da camiseta (mock da Soraia) --- */
.patrocinadores { margin-top: 56px; }
.faixa-cota { margin: 24px 0; --linha: var(--azul); --espaco: #d6e4f2; }
.faixa-cota.cota-ouro { --linha: var(--amarelo); --espaco: #f3e3bd; }
.faixa-cota.cota-prata { --linha: #9ca3af; --espaco: #e5e7eb; }
.faixa-cota h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 12px;
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto); }
.faixa-cota h3::before, .faixa-cota h3::after { content: ""; flex: 1; height: 4px; border-radius: 2px; background: var(--linha); }
.espacos { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.cota-platina .espacos { grid-template-columns: repeat(2, 1fr); }
.cota-ouro .espacos { grid-template-columns: repeat(4, 1fr); }
.cota-prata .espacos { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { .cota-ouro .espacos, .cota-prata .espacos { grid-template-columns: repeat(2, 1fr); } }
.espaco { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 12px; background: var(--espaco); color: #374151; text-align: center; padding: 10px; }
.cota-platina .espaco { min-height: 120px; font-size: 1.15rem; }
.cota-ouro .espaco { min-height: 92px; }
.cota-prata .espaco { min-height: 70px; font-size: 14px; }
.espaco-livre span { font-weight: 800; }
.espaco-livre small { font-size: 12px; opacity: .8; }
.espaco-logo { background: #ffffff; border: 1px solid var(--borda); }
.espaco-logo img { display: block; max-width: 100%; max-height: 80px; object-fit: contain; }
.cota-platina .espaco-logo img { max-height: 100px; }
.patrocinadores .acoes { margin-top: 8px; }

.contato-patrocinio { margin: 24px 0 16px; padding: 18px 20px; border-radius: 1rem; background: var(--fundo-alt); border-left: 6px solid var(--verde); }
.contato-patrocinio h3 { margin: 0 0 6px; }
.contato-patrocinio p { margin: 0 0 6px; }
.contato-patrocinio a { color: var(--azul); font-weight: 800; }

/* --- Powered by B2H4: discreto, no rodapé e no chat --- */
.rodape { text-align: left; }
.powered {
  display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 32px);
  margin: 0 auto; padding: 0 16px 24px; color: var(--suave); text-decoration: none; font-size: 14px;
}
.powered img { display: block; }
.powered strong { color: var(--texto); letter-spacing: .04em; }
.powered-produto { padding: 2px 8px; border-radius: 99px; background: #e6f4f6; color: #0b4a6f; font-weight: 800; font-size: 12px; }
.powered:hover strong { color: #1a8fa0; }
@media (prefers-color-scheme: dark) { .powered-produto { background: #12333f; color: #8fd3dd; } }
.chat-credito { margin: 0; padding: 6px 14px 10px; font-size: 12px; color: var(--suave); text-align: center; }
.chat-credito a { color: inherit; font-weight: 800; text-decoration: none; }
.chat-credito img { vertical-align: -3px; }

/* --- rodada 08/10: data da apresentação, agenda, quem orienta, vídeo, apoio --- */
.projeto-data { color: var(--suave); font-size: 13px; font-weight: 800; }
.projeto-data::before { content: "📅 "; }
.projeto-quando { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 99px; background: rgb(255 255 255 / .18); font-weight: 800; }
.projeto-quando:empty { display: none; }

.projetos-rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.projetos-rodape .nota { flex: 1; min-width: 240px; margin: 0; }
.projetos-rodape .robo-grande { width: 130px; }

.agenda { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.agenda-dia { padding: 18px 20px; border-radius: 1rem; background: var(--fundo-alt); border-top: 6px solid var(--azul); }
.agenda-dia:last-child { border-top-color: var(--verde); }
.agenda-dia h3 { margin: 0 0 8px; font-size: 1.4rem; }
.agenda-dia p { margin: 6px 0; }
.agenda-dia span { display: inline-block; min-width: 64px; font-weight: 800; color: var(--suave); }
.agenda-dia a { color: var(--azul); font-weight: 800; text-decoration: none; }
.agenda-dia a:hover { text-decoration: underline; }

.orientadores { display: flex; flex-wrap: wrap; gap: 32px; }
.orientadores figure { margin: 0; display: flex; align-items: center; gap: 16px; }
.orientadores img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--amarelo); }
.orientadores figcaption { display: flex; flex-direction: column; max-width: 220px; color: var(--suave); font-size: 15px; }
.orientadores strong { color: var(--texto); font-size: 1.05rem; }

.dinheiro { padding: 14px 18px; border-radius: 1rem; background: #eaf7e8; color: #1d3b1a; font-weight: 800; }
@media (prefers-color-scheme: dark) { .dinheiro { background: #183019; color: #cdeec9; } }

.video-capa { position: relative; display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 1rem; overflow: hidden; cursor: pointer; background: #000; }
.video-capa img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-capa:hover img { opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgb(238 48 72 / .92); box-shadow: 0 6px 20px rgb(0 0 0 / .35); }
.video-play::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video-quadro { display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border: 0; border-radius: 1rem; }

.apoio-tecnologia { margin: 20px 0 0; }
.apoio-tecnologia h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.apoio-tecnologia a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 1rem; border: 1px solid var(--borda); background: var(--fundo-alt); color: var(--texto); text-decoration: none; }
.apoio-tecnologia a:hover { border-color: #1a8fa0; }

/* --- kit para empresas --- */
.pitch { margin: 0; padding: 24px; border-radius: 1rem; background: rgb(255 255 255 / .14); font-size: 1.1rem; line-height: 1.5; }
.pitch p { margin: 0 0 10px; }
.pitch footer { font-size: 14px; opacity: .9; }
.kit-projetos { padding-left: 20px !important; }
.kit-projetos li { margin: 8px 0; }
.kit-projetos a { color: var(--azul); text-decoration: none; }
.kit-projetos .projeto-data { white-space: nowrap; }
@media print {
  .barra { position: static; }
  .robo-flutuante, .acoes, .kit-compartilhar, dialog, .faixa-cota .espaco-livre small { display: none !important; }
  .topo-fundo { background: none; color: #1d1d1d; }
  .pitch { background: #f5f8fb; }
  body { font-size: 12pt; }
  a { color: inherit; }
}

/* --- proposta v10: arte da camiseta --- */
/* Ilustração, não peça principal: cabe na tela sem rolar. */
.camiseta { margin: 20px auto; max-width: 520px; }
.camiseta img { display: block; width: 100%; height: auto; max-height: 55vh; object-fit: contain; margin: 0 auto; border-radius: 1rem; border: 1px solid var(--borda); }
.camiseta figcaption { font-size: 14px; color: var(--suave); margin-top: 6px; text-align: center; }

/* --- barra da meta das cotas --- */
.meta { margin: 8px 0 24px; padding: 16px 18px; border-radius: 1rem; background: var(--fundo-alt); }
.meta-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 10px; }
.meta-topo strong { font-size: 1.3rem; color: var(--verde-escuro); }
.meta-topo small { color: var(--suave); font-weight: 700; }
.meta-trilho { display: flex; height: 14px; border-radius: 99px; background: var(--borda); overflow: hidden; }
.meta-barra { height: 100%; min-width: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--verde), var(--amarelo)); }
.meta-legenda { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .88rem; font-weight: 700; color: var(--suave); }
.meta-legenda li { white-space: nowrap; }
.meta-legenda li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.meta-legenda-recebido::before { background: linear-gradient(90deg, var(--verde), var(--amarelo)); }
.meta-legenda-andamento strong { color: #8a6a00; }
.meta-legenda-andamento::before { background: #fde7a6; box-shadow: inset 0 0 0 1px #e0c060; }
.meta-rodape { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--borda); font-size: .92rem; color: var(--suave); }
.meta-rodape strong { color: var(--verde-escuro); }
/* Em andamento: fechou, não pagou. Mesma trilha, cor mais clara, fora do total. */
.meta-andamento { height: 100%; margin-left: -7px; padding-left: 7px; border-radius: 0 99px 99px 0; background: #fde7a6; }

/* PIX do Instituto Sidarta, cronograma e mensagem pronta (kit das empresas) */
.pix { display: grid; gap: 8px; padding: 18px; border-radius: 1rem; background: var(--fundo-alt); }
.pix p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pix p span { min-width: 150px; color: var(--suave); }
.pix-codigo code { display: block; width: 100%; font-size: 12px; overflow-wrap: anywhere; }
.prazo { margin-top: 12px; }
.cronograma { list-style: none; padding: 0; display: grid; gap: 8px; }
.cronograma li { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cronograma strong { min-width: 110px; }
.modelo-mensagem { margin-top: 18px; }
.modelo-mensagem pre { white-space: pre-wrap; font-family: inherit; font-size: 14px; padding: 14px; border-radius: 1rem; background: var(--fundo-alt); }
.orientadores .sem-foto > span { display: grid; place-items: center; width: 160px; height: 160px; border-radius: 50%; background: var(--fundo-alt); font-weight: 800; }
.comprovante { margin-top: 18px; padding: 16px 18px; border-radius: 1rem; border: 2px solid var(--fundo-alt); }
.comprovante h3 { margin-top: 0; }

/* Patrocinador sem logo: o nome no mesmo card */
.espaco-nome { font-weight: 800; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.cota-prata .espaco-nome { font-size: .9rem; }
.espaco-andamento { flex-direction: column; gap: 6px; background: #ffffff; border: 1px dashed var(--borda); }
.selo { padding: 2px 10px; border-radius: 99px; background: #fde7a6; color: #6b5200; font-size: 12px; font-weight: 800; }

/* Como ajudar (topo da home) e convite ao robô */
.como-ajudar { margin-top: 8px; }
.ajudar-opcoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ajudar-opcao { padding: 18px; border-radius: 1rem; background: var(--fundo-alt); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ajudar-opcao h3, .ajudar-opcao p { margin: 0; }
.ajudar-opcao .cta { margin-top: auto; }
.ajudar-opcao .acoes { margin-top: auto; }
.ajudar-opcao .acoes .cta { margin-top: 0; }
#apoiar { scroll-margin-top: 80px; }
.convite-robo { margin-top: 14px; font-size: 1.05rem; }
.link-robo { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--azul); text-decoration: underline; cursor: pointer; }

/* Perguntas prontas no chat */
.sugestoes { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 0; }
.sugestoes[hidden] { display: none; }
.sugestoes button { border: 1px solid var(--azul); background: #ffffff; color: var(--azul); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.sugestoes button:hover { background: #e3f1fa; }
.msg.bot a { color: var(--azul); font-weight: 700; }
.chat-privacidade { margin: 6px 14px 0; font-size: 12px; color: var(--suave); }
