/* Visual inspirado no GitHub. Fonte Mona Sans: SIL OFL 1.1 (github.com/github/mona-sans). */
@font-face{font-family:'Mona Sans';font-style:normal;font-weight:200 900;font-display:swap;src:url(../fonts/MonaSansVF-opsz-wght.woff2) format('woff2')}
html:root,html body{
	--f-display:'Mona Sans','Space Grotesk',system-ui,sans-serif;
	--gh-0:#161b22;--gh-1:#0e4429;--gh-2:#006d32;--gh-3:#26a641;--gh-4:#39d353;
	--gh-purple:#a371f7;--gh-attn:#d29922;--gh-green:#3fb950;
}
h1,h2,h3,.fl-heading{font-weight:650!important;letter-spacing:-.01em!important}
#inicio h1,#inicio .fl-heading{font-weight:750!important;letter-spacing:-.035em}

/* Ícones Octicons nos rótulos de seção (máscara SVG, herda a cor do texto) */
.g-section .g-eyebrow p::before,#inicio .g-eyebrow p::before{content:"";display:inline-block;width:14px;height:14px;margin:0 8px -2px 0;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
#inicio{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z'/%3E%3C/svg%3E")}
#registro{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.878.392a1.75 1.75 0 0 0-1.756 0l-5.25 3.045A1.75 1.75 0 0 0 1 4.951v6.098c0 .624.332 1.2.872 1.514l5.25 3.045a1.75 1.75 0 0 0 1.756 0l5.25-3.045c.54-.313.872-.89.872-1.514V4.951c0-.624-.332-1.2-.872-1.514ZM7.875 1.69a.25.25 0 0 1 .25 0l4.63 2.685L8 7.133 3.245 4.375l4.63-2.685ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z'/%3E%3C/svg%3E")}
#atividade{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z'/%3E%3C/svg%3E")}
#por-que{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.755 1.755 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z'/%3E%3C/svg%3E")}
#parceiros,#tambem{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E")}
#blog{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z'/%3E%3C/svg%3E")}

/* Registro como "README" do GitHub: moldura com barra de arquivo */
#registro .g-reg{border:1px solid var(--line);border-radius:6px;overflow:hidden}
#registro .g-reg thead th{background:var(--surface)}
.g-reg .g-pill{display:inline-block;padding:2px 9px;border:1px solid var(--line);border-radius:999px;font-size:12px;line-height:18px;color:var(--text);white-space:nowrap}
.g-reg-price .g-pill{color:var(--muted)}
.g-reg-price.g-free .g-pill{color:var(--gh-green);border-color:rgba(63,185,80,.45);background:rgba(63,185,80,.08)}
.g-reg-bar i{background:var(--gh-3)!important}

/* Gráfico de atividade (contribution graph) */
.g-atividade{border:1px solid var(--line);border-radius:6px;padding:18px 20px;background:var(--surface);overflow-x:auto}
.g-atividade-topo{font-size:14px;color:var(--muted);margin-bottom:12px;display:flex;align-items:center;gap:8px}
.g-atividade-topo strong{color:var(--text);white-space:nowrap}
.g-atividade-topo .octicon{color:var(--gh-4)}
.g-atividade-meses,.g-atividade-grade{display:grid;grid-auto-flow:column;grid-auto-columns:13px;gap:3px;min-width:max-content}
.g-atividade-meses span{font-family:var(--f-mono);font-size:10px;color:var(--dim);height:14px;white-space:nowrap}
.g-atividade-grade b{display:grid;grid-template-rows:repeat(7,10px);gap:3px}
.g-atividade i{display:block;width:10px;height:10px;border-radius:2px;background:var(--gh-0);outline:1px solid rgba(255,255,255,.04);outline-offset:-1px}
.g-atividade i.n1{background:var(--gh-1)}.g-atividade i.n2{background:var(--gh-2)}.g-atividade i.n3{background:var(--gh-3)}.g-atividade i.n4{background:var(--gh-4)}
.g-atividade-legenda{display:flex;align-items:center;justify-content:flex-end;gap:3px;margin-top:10px;font-size:11px;color:var(--dim)}
.g-atividade-legenda i{display:inline-block}

/* Feed do blog no estilo histórico de commits */
.g-blogfeed{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.g-blogfeed li{display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:start;padding:14px 18px;border-top:1px solid var(--line)}
.g-blogfeed li:first-child{border-top:0}
.g-blogfeed li:hover{background:var(--surface)}
.g-blogfeed-ico{color:var(--dim);padding-top:3px}
.g-blogfeed a{font-weight:600;color:var(--text);text-decoration:none}
.g-blogfeed a:hover{color:var(--blue-lit)}
.g-blogfeed p{margin:4px 0 0;font-size:14px;color:var(--muted)}
.g-blogfeed time{font-family:var(--f-mono);font-size:12px;color:var(--dim);white-space:nowrap;padding-top:3px}
.g-blogfeed-mais{margin-top:12px;font-family:var(--f-mono);font-size:13px}
@media (max-width:640px){.g-blogfeed li{grid-template-columns:18px 1fr}.g-blogfeed time{grid-column:2}}

/* Atividade no celular: cabeçalho quebra limpo e a grade abre nas semanas recentes */
@media (max-width:767px){
	.g-atividade-topo{flex-wrap:wrap;gap:4px 8px}
	.g-atividade{direction:rtl}
	.g-atividade > *{direction:ltr}
}
