/* Visual copiado do Notion (claro e escuro), usado pela área interna e pela página pública de boas-vindas. */
:root {
  --fundo: #ffffff;
  --texto: #37352f;
  --texto-fraco: rgba(55, 53, 47, 0.65);
  --texto-apagado: rgba(55, 53, 47, 0.45);
  --linha: rgba(55, 53, 47, 0.16);
  --linha-fraca: rgba(55, 53, 47, 0.09);
  --hover: rgba(55, 53, 47, 0.06);
  --cabecalho-tabela: rgb(247, 246, 243);
  --cartao: #ffffff;
  --azul: #2383e2;
  --vermelho: #d44c47;
  --vermelho-fundo: rgb(253, 235, 236);
  --aviso-fundo: rgb(248, 248, 247);
  --c-default: rgba(227, 226, 224, 0.5);
  --c-gray: rgb(227, 226, 224);
  --c-brown: rgb(238, 224, 218);
  --c-orange: rgb(250, 222, 201);
  --c-yellow: rgb(253, 236, 200);
  --c-green: rgb(219, 237, 219);
  --c-blue: rgb(211, 229, 239);
  --c-purple: rgb(232, 222, 238);
  --c-pink: rgb(245, 224, 233);
  --c-red: rgb(255, 226, 221);
  --sombra: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.1), 0 9px 24px rgba(15, 15, 15, 0.2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #191919;
    --texto: rgb(240, 239, 237);
    --texto-fraco: rgba(255, 255, 255, 0.6);
    --texto-apagado: rgba(255, 255, 255, 0.4);
    --linha: rgba(255, 255, 255, 0.13);
    --linha-fraca: rgba(255, 255, 255, 0.07);
    --hover: rgba(255, 255, 255, 0.055);
    --cabecalho-tabela: rgb(32, 32, 32);
    --cartao: #202020;
    --azul: #2383e2;
    --vermelho: #df5452;
    --vermelho-fundo: rgb(80, 44, 41);
    --aviso-fundo: rgb(37, 37, 37);
    --c-default: rgb(55, 55, 55);
    --c-gray: rgb(90, 90, 90);
    --c-brown: rgb(96, 59, 44);
    --c-orange: rgb(133, 76, 29);
    --c-yellow: rgb(137, 99, 42);
    --c-green: rgb(43, 89, 63);
    --c-blue: rgb(40, 69, 108);
    --c-purple: rgb(73, 47, 100);
    --c-pink: rgb(105, 49, 76);
    --c-red: rgb(110, 54, 48);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica,
    "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Página */
.capa { display: block; width: 100%; height: 30vh; max-height: 280px; min-height: 140px; object-fit: cover; }
.pagina { max-width: 900px; margin: 0 auto; padding: 0 96px 120px; }
.pagina.sem-capa { padding-top: 80px; }
.icone-pagina { font-size: 78px; line-height: 1.1; height: 78px; margin: -42px 0 0 -3px; position: relative; display: block; }
.pagina.sem-capa .icone-pagina { margin-top: 0; }
h1.titulo { font-size: 40px; line-height: 1.2; font-weight: 700; margin: 30px 0 8px; overflow-wrap: anywhere; }
.conteudo > * { margin-top: 2px; margin-bottom: 1px; }
.conteudo p { margin: 0; padding: 3px 2px; min-height: 1.5em; white-space: pre-wrap; overflow-wrap: anywhere; }
.conteudo h2 { font-size: 1.5em; line-height: 1.3; font-weight: 600; margin: 1.4em 0 1px; padding: 3px 2px; }
.conteudo h3 { font-size: 1.25em; line-height: 1.3; font-weight: 600; margin: 1em 0 1px; padding: 3px 2px; }
.conteudo ul, .conteudo ol { margin: 0; padding: 3px 2px 3px 1.7em; }
.conteudo li { padding: 3px 0 3px 2px; }
.conteudo hr { border: 0; border-top: 1px solid var(--linha); margin: 10px 0; }
.vazio { height: 30px; }
.centro { text-align: center; }
.vermelho { color: var(--vermelho); }
.conteudo a.link { color: inherit; text-decoration: underline; text-decoration-color: var(--texto-apagado); text-underline-offset: 2px; }

/* Link para página ou banco (linha clicável) */
.link-pagina {
  display: flex; align-items: center; gap: 6px; padding: 3px 2px; margin: 1px 0; border-radius: 4px;
  text-decoration: none; font-weight: 500;
}
.link-pagina:hover { background: var(--hover); }
.link-pagina .ic { width: 24px; text-align: center; font-size: 18px; line-height: 1; }
.link-pagina .nm { border-bottom: 1px solid var(--linha); line-height: 1.3; }

/* Destaque vermelho (callout) com título que abre e fecha */
.destaque { background: var(--vermelho-fundo); border-radius: 10px; padding: 12px 16px 12px 12px; margin: 4px 0; }
.destaque h2 { margin: 0; color: var(--vermelho); font-weight: 700; }
.destaque > details > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 4px; }
.destaque > details > summary::-webkit-details-marker { display: none; }
.destaque > details > summary::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 7px; border-radius: 4px;
  background: no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='22,8 88,50 22,92' fill='%23d44c47'/%3E%3C/svg%3E");
  transition: transform 0.2s;
}
.destaque > details[open] > summary::before { transform: rotate(90deg); }
.destaque > details > summary:hover::before { background-color: var(--hover); }
.destaque .dentro { padding: 4px 0 4px 28px; }
.destaque .dentro > * { margin-top: 2px; margin-bottom: 1px; }

/* Tabela simples */
.tabela-rolagem { overflow-x: auto; margin: 6px 0 10px; }
table.simples { border-collapse: collapse; font-size: 14px; min-width: 100%; }
table.simples td { border: 1px solid var(--linha); padding: 7px 9px; vertical-align: top; min-width: 120px; width: 50%; font-style: normal; }
table.simples.cab-linha tr:first-child td, table.simples.cab-coluna td:first-child { background: var(--cabecalho-tabela); font-weight: 600; }

/* Vídeo */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 6px 0; background: var(--hover); border-radius: 2px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Etiquetas de seleção */
.etq {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 3px; font-size: 14px;
  line-height: 120%; white-space: nowrap; background: var(--c-default); margin: 0 6px 0 0; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.etq.default { background: var(--c-default); } .etq.gray { background: var(--c-gray); }
.etq.brown { background: var(--c-brown); } .etq.orange { background: var(--c-orange); }
.etq.yellow { background: var(--c-yellow); } .etq.green { background: var(--c-green); }
.etq.blue { background: var(--c-blue); } .etq.purple { background: var(--c-purple); }
.etq.pink { background: var(--c-pink); } .etq.red { background: var(--c-red); }

@media (max-width: 800px) {
  .pagina { padding: 0 24px 80px; }
  h1.titulo { font-size: 32px; }
}
@media (max-width: 480px) {
  .pagina { padding: 0 16px 80px; }
  .destaque .dentro { padding-left: 8px; }
}

/* ------------------------------------------------------------------ Páginas vindas da exportação oficial do Notion (.exp) */
.exp { white-space: normal; overflow-wrap: anywhere; }
.exp > * { margin-top: 2px; margin-bottom: 1px; }
.exp p { white-space: pre-wrap; }
.exp h1 { font-size: 1.875em; line-height: 1.3; font-weight: 600; margin: 1.4em 0 1px; padding: 3px 2px; }
.exp h1:first-child, .exp h2:first-child, .exp h3:first-child { margin-top: 0; }
.exp .icon[data-emoji]::before { content: attr(data-emoji); }
.exp .icon { display: inline-block; max-width: 1.2em; max-height: 1.2em; text-decoration: none; vertical-align: text-bottom; margin-right: 0.4em; }
.exp img.icon { border-radius: 3px; width: 1.2em; height: 1.2em; }
.exp .page-description { color: var(--texto-fraco); }
.exp a { color: inherit; text-decoration: underline; text-decoration-color: var(--texto-apagado); text-underline-offset: 2px; }
.exp a[data-sumiu] { text-decoration: none; cursor: default; pointer-events: none; }
.exp figure { margin: 6px 0; }
.exp figure.image img, .exp img { max-width: 100%; height: auto; }
.exp figure.image a { text-decoration: none; display: block; }
.exp figcaption { font-size: 14px; color: var(--texto-fraco); padding: 6px 2px; }
.exp figure.link-to-page { margin: 1px 0; }
.exp figure.link-to-page a { display: flex; align-items: center; gap: 2px; padding: 3px 2px; border-radius: 4px; text-decoration: none; font-weight: 500; }
.exp figure.link-to-page a:hover { background: var(--hover); }
.exp .source { border: 1px solid var(--linha); border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.exp .source a { text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp .source a::before { content: "📎 "; }
.exp .source a[data-grande]::after { content: " · arquivo grande, guardado fora do site: " attr(data-grande); color: var(--texto-fraco); }
.exp .source a[data-grande] { pointer-events: none; white-space: normal; }
.exp .callout { border-radius: 10px; padding: 12px 16px 12px 12px; margin: 4px 0; gap: 8px; white-space: normal !important; background: var(--f-gray); }
.exp .callout > div:first-child:not([style*="width:100%"]) { flex: none; font-size: 20px !important; line-height: 1.4; }
.exp .callout .icon { margin: 0; max-width: none; max-height: none; }
.exp .callout h1, .exp .callout h2, .exp .callout h3 { margin-top: 0; }
.exp .column-list { display: flex; gap: 28px; margin: 4px 0; }
.exp .column { min-width: 0; padding: 0; }
.exp .column > * { margin-top: 2px; margin-bottom: 1px; }
.exp ul, .exp ol { margin: 0; padding: 3px 2px 3px 1.7em; }
.exp li { padding: 3px 0 3px 2px; }
.exp ul.toggle, .exp ul.to-do-list { list-style: none; padding-left: 2px; }
.exp ul.toggle > li { padding: 1px 0; }
.exp details > summary { cursor: pointer; padding: 3px 2px; }
.exp details > summary > * { display: inline; margin: 0; }
.exp details > :not(summary) { margin-left: 1.4em; }
.exp .indented { padding-left: 1.5em; }
.exp .checkbox { display: inline-flex; vertical-align: text-bottom; width: 16px; height: 16px; margin-right: 0.6em; border: 1.5px solid var(--texto); border-radius: 3px; align-items: center; justify-content: center; }
.exp .checkbox-on { background: var(--azul); border-color: var(--azul); }
.exp .checkbox-on::after { content: "✓"; color: #fff; font-size: 11px; line-height: 1; }
.exp .to-do-children-checked { text-decoration: line-through; color: var(--texto-fraco); }
.exp blockquote { margin: 4px 0; padding: 3px 14px; border-left: 3px solid currentColor; font-size: 1em; }
.exp blockquote.quote-large { font-size: 1.25em; }
.exp hr { border: 0; border-top: 1px solid var(--linha); margin: 10px 0; }
.exp pre.code { background: var(--aviso-fundo); border-radius: 8px; padding: 20px; overflow-x: auto; white-space: pre; font-size: 85%; }
.exp pre.code.code-wrap { white-space: pre-wrap; }
.exp code { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 85%; background: var(--hover); color: var(--t-red); border-radius: 4px; padding: 0.2em 0.4em; }
.exp pre code { background: none; color: inherit; padding: 0; font-size: 100%; }
.exp table.simple-table { border-collapse: collapse; font-size: 14px; margin: 6px 0 10px; display: block; overflow-x: auto; max-width: 100%; }
.exp table.simple-table td, .exp table.simple-table th { border: 1px solid var(--linha); padding: 7px 9px; vertical-align: top; min-width: 120px; text-align: left; font-weight: 400; white-space: pre-wrap; }
.exp .simple-table-header-color { background: var(--cabecalho-tabela); font-weight: 600 !important; }
.exp .bookmark { display: flex; border: 1px solid var(--linha); border-radius: 6px; text-decoration: none; overflow: hidden; margin: 4px 0; }
.exp .bookmark-info { padding: 12px; flex: 4 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.exp .bookmark-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp .bookmark-description { font-size: 12px; color: var(--texto-fraco); height: 2.9em; overflow: hidden; }
.exp .bookmark-href { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.exp .bookmark-image { flex: 1 1 180px; max-width: 30%; object-fit: cover; }
.exp nav.table_of_contents a, .exp .table_of_contents-item a { color: var(--texto-fraco); }
.exp .table_of_contents-item { display: block; font-size: 14px; padding: 2px 0; }
.exp .table_of_contents-indent-1 { margin-left: 1.5rem; } .exp .table_of_contents-indent-2 { margin-left: 3rem; } .exp .table_of_contents-indent-3 { margin-left: 4.5rem; }
.exp .collection-content { margin: 10px 0 16px; }
.exp .collection-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.exp .collection-content .tb-rolagem { margin: 0; padding: 0 0 8px; }
.exp table.tb a { text-decoration: none; }
.exp table.tb td:first-child a { border-bottom: 1px solid var(--linha); }
.exp table.properties { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 14px; border-bottom: 1px solid var(--linha-fraca); display: block; padding-bottom: 12px; }
.exp table.properties tbody { display: block; }
.exp table.properties tr { display: grid; grid-template-columns: 220px 1fr; gap: 8px; }
.exp table.properties th { color: var(--texto-fraco); font-weight: 400; text-align: left; padding: 6px; }
.exp table.properties td { padding: 6px 8px; min-width: 0; white-space: pre-wrap; }
.exp .selected-value { display: inline-block; padding: 0 6px; border-radius: 3px; font-size: 14px; line-height: 20px; background: var(--c-default); margin-right: 6px; }
.exp .user-icon, .exp .user-icon-inner, .exp .text-icon { display: none; }
.exp .user { color: var(--texto-fraco); }
.exp time { color: var(--texto-fraco); }
.exp figure.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--hover); }
.exp figure.video-embed iframe, .exp figure.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.exp mark { background: none; color: inherit; }
@media (max-width: 700px) {
  .exp .column-list { flex-direction: column; gap: 0; }
  .exp .column { width: 100% !important; }
  .exp table.properties tr { grid-template-columns: 1fr; gap: 0; }
}
.exp .highlight-gray, .exp .block-color-gray { color: var(--t-gray); }
.exp .highlight-gray_background { background: var(--f-gray); border-radius: 3px; padding: 1px 2px; } .exp .block-color-gray_background { background: var(--f-gray); }
.exp .select-value-color-gray { background: var(--c-gray); }
.exp .highlight-brown, .exp .block-color-brown { color: var(--t-brown); }
.exp .highlight-brown_background { background: var(--f-brown); border-radius: 3px; padding: 1px 2px; } .exp .block-color-brown_background { background: var(--f-brown); }
.exp .select-value-color-brown { background: var(--c-brown); }
.exp .highlight-orange, .exp .block-color-orange { color: var(--t-orange); }
.exp .highlight-orange_background { background: var(--f-orange); border-radius: 3px; padding: 1px 2px; } .exp .block-color-orange_background { background: var(--f-orange); }
.exp .select-value-color-orange { background: var(--c-orange); }
.exp .highlight-yellow, .exp .block-color-yellow { color: var(--t-yellow); }
.exp .highlight-yellow_background { background: var(--f-yellow); border-radius: 3px; padding: 1px 2px; } .exp .block-color-yellow_background { background: var(--f-yellow); }
.exp .select-value-color-yellow { background: var(--c-yellow); }
.exp .highlight-green, .exp .block-color-green { color: var(--t-green); }
.exp .highlight-green_background { background: var(--f-green); border-radius: 3px; padding: 1px 2px; } .exp .block-color-green_background { background: var(--f-green); }
.exp .select-value-color-green { background: var(--c-green); }
.exp .highlight-blue, .exp .block-color-blue { color: var(--t-blue); }
.exp .highlight-blue_background { background: var(--f-blue); border-radius: 3px; padding: 1px 2px; } .exp .block-color-blue_background { background: var(--f-blue); }
.exp .select-value-color-blue { background: var(--c-blue); }
.exp .highlight-purple, .exp .block-color-purple { color: var(--t-purple); }
.exp .highlight-purple_background { background: var(--f-purple); border-radius: 3px; padding: 1px 2px; } .exp .block-color-purple_background { background: var(--f-purple); }
.exp .select-value-color-purple { background: var(--c-purple); }
.exp .highlight-pink, .exp .block-color-pink { color: var(--t-pink); }
.exp .highlight-pink_background { background: var(--f-pink); border-radius: 3px; padding: 1px 2px; } .exp .block-color-pink_background { background: var(--f-pink); }
.exp .select-value-color-pink { background: var(--c-pink); }
.exp .highlight-red, .exp .block-color-red { color: var(--t-red); }
.exp .highlight-red_background { background: var(--f-red); border-radius: 3px; padding: 1px 2px; } .exp .block-color-red_background { background: var(--f-red); }
.exp .select-value-color-red { background: var(--c-red); }
.exp .highlight-teal, .exp .block-color-teal { color: var(--t-green); } .exp .highlight-teal_background, .exp .block-color-teal_background { background: var(--f-green); }
.exp .callout.block-color-default_background, .exp .callout.block-color-default { background: none; box-shadow: inset 0 0 0 1px var(--linha); }
