
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/tutorial/fonts/dm-sans-variable.woff2') format('woff2-variations'), url('/tutorial/fonts/dm-sans-variable.woff2') format('woff2'); }

:root {
  --geo: #D26E29;          /* terracota: só decoração (filetes, ícones, bordas) */
  --geo-forte: #A4480F;    /* terracota para TEXTO sobre fundo claro (5,4:1) */
  --geo-botao: #B8551B;    /* fundo de botão com texto branco (4,8:1) */
  --geo-tint: rgba(210,110,41,.10);
  --ink: #1A1A18;
  --text: #1E1E1E;
  --text-2: #4F534C;
  --text-3: #62665F;
  --bg: #F7F8F5;
  --bg-2: #EFF1EA;
  --card: #FFFFFF;
  --border: #DEE0D8;
  --ok-bg: #EEF3E6; --ok-borda: #C7D6B0; --ok-txt: #3B5220;
  --aviso-bg: #FBF0E6; --aviso-borda: #EBC7A6; --aviso-txt: #7A3A0C;
  --erro-txt: #A3301F;
  --sombra: 0 1px 3px rgba(26,26,24,.06), 0 6px 18px rgba(26,26,24,.05);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-botao: 16px;
  --r-card: 18px;
  --r-pill: 9999px;
  --scrim: rgba(12,12,10,.88);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --geo: #E08A4F; --geo-forte: #F2A673; --geo-botao: #B8551B; --geo-tint: rgba(224,138,79,.14);
    --ink: #F1F1EC; --text: #E9EAE4; --text-2: #C3C5BD; --text-3: #A9ACA3;
    --bg: #161614; --bg-2: #1F1F1C; --card: #23231F; --border: #3A3A35;
    --ok-bg: #1E2718; --ok-borda: #3D5229; --ok-txt: #CFE3B4;
    --aviso-bg: #2B1F16; --aviso-borda: #6B4426; --aviso-txt: #F4C9A6;
    --erro-txt: #FF9C8C;
    --sombra: 0 1px 3px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --geo: #E08A4F; --geo-forte: #F2A673; --geo-botao: #B8551B; --geo-tint: rgba(224,138,79,.14);
  --ink: #F1F1EC; --text: #E9EAE4; --text-2: #C3C5BD; --text-3: #A9ACA3;
  --bg: #161614; --bg-2: #1F1F1C; --card: #23231F; --border: #3A3A35;
  --ok-bg: #1E2718; --ok-borda: #3D5229; --ok-txt: #CFE3B4;
  --aviso-bg: #2B1F16; --aviso-borda: #6B4426; --aviso-txt: #F4C9A6;
  --erro-txt: #FF9C8C;
  --sombra: 0 1px 3px rgba(0,0,0,.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--geo-forte); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--geo); outline-offset: 3px; border-radius: 6px; }
b, strong { font-weight: 700; color: var(--ink); }
code, kbd { font-family: inherit; font-size: .95em; font-weight: 600; background: var(--bg-2); padding: .1em .35em; border-radius: 6px; }

.pular { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 12px 16px; border-radius: var(--r-botao); z-index: 50; }
.pular:focus { left: 16px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Cabeçalho */
.topo { border-bottom: 1px solid var(--border); padding: 28px 0 24px;
  background-image: radial-gradient(ellipse 70% 60% at 0% 0%, var(--geo-tint) 0%, transparent 70%); }
.marca { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.marca svg { width: 34px; height: 35px; flex: 0 0 auto; color: var(--ink); }
.marca .nome { font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.15; }
.marca .por { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--geo-forte); margin: 0 0 8px; }
h1 { font-size: clamp(1.75rem, 6.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); margin: 0; }
h1 em { font-style: normal; color: var(--geo-forte); }
.sub { color: var(--text-2); margin: 12px 0 0; font-size: 16px; }
.selos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.selo { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; margin: 0; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; background: var(--card); color: var(--text-2); border: 1px solid var(--border); }
.selo--geo { background: var(--geo-tint); color: var(--geo-forte); border-color: transparent; }

/* Seções gerais */
main { padding-bottom: 96px; }
.bloco { padding: 32px 0 8px; }
h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; font-weight: 800; }
h3 { font-size: 1.08rem; color: var(--ink); margin: 26px 0 8px; font-weight: 700; }
h4 { font-size: 1rem; color: var(--ink); margin: 18px 0 6px; }
p { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin: 4px 0; }
.lead { font-size: 1.06rem; color: var(--text-2); margin-bottom: 4px; }
.ui { font-weight: 700; color: var(--ink); }
.correcao { display: inline-block; font-size: 12px; font-weight: 600; color: var(--text-3); border: 1px dashed var(--border);
  border-radius: var(--r-pill); padding: 0 8px; margin-left: 4px; vertical-align: 1px; white-space: nowrap; }

/* Caixas */
.caixa { border-radius: var(--r-card); padding: 16px 18px; margin: 18px 0; border: 1px solid var(--border); background: var(--card); }
.caixa > :last-child { margin-bottom: 0; }
.caixa h3, .caixa h4 { margin-top: 0; }
.caixa--alerta { background: var(--aviso-bg); border-color: var(--aviso-borda); color: var(--aviso-txt); }
.caixa--alerta b { color: inherit; }
.caixa--testar { background: var(--ok-bg); border-color: var(--ok-borda); }
.caixa--testar h3 { color: var(--ok-txt); }
.caixa--erro h3 { color: var(--erro-txt); }
.caixa ul { margin-bottom: 0; }
.testar { list-style: none; padding-left: 0; }
.testar li { position: relative; padding-left: 26px; margin: 8px 0; }
.testar li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok-txt); }

/* Passo a passo */
ol.passos { list-style: none; counter-reset: passo; padding-left: 0; }
ol.passos > li { counter-increment: passo; position: relative; padding-left: 42px; margin: 12px 0; }
ol.passos > li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--geo-tint); color: var(--geo-forte); font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* Tarefas */
.tarefa { padding: 40px 0 8px; border-top: 1px solid var(--border); margin-top: 24px; }
.tarefa-cab { display: flex; align-items: flex-start; gap: 8px; }
.tarefa-cab h2 { flex: 1 1 auto; min-width: 0; }
.tarefa-cab .ancora { flex: 0 0 auto; margin-top: -8px; }
.ancora { font-size: 14px; color: var(--text-3); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.ancora:hover { color: var(--geo-forte); }

/* Figuras */
.print { margin: 14px 0 20px; max-width: 360px; }
.print .zoom { display: block; width: 100%; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  background: var(--card); cursor: zoom-in; box-shadow: var(--sombra); }
.print img { width: 100%; }
.print figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; line-height: 1.45; }
.faixa { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 10px -16px 8px; padding-left: 16px; padding-right: 16px;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.faixa .print { flex: 0 0 min(72%, 280px); margin: 0; scroll-snap-align: start; }
.faixa-dica { font-size: 13px; color: var(--text-3); margin: -2px 0 12px; }
@media (min-width: 720px) { .faixa { margin-left: 0; margin-right: 0; padding-left: 2px; } .faixa .print { flex-basis: 240px; } }

.pendente { border: 1.5px dashed var(--border); border-radius: var(--r-card); padding: 10px 14px; margin: 12px 0; font-size: 14px; color: var(--text-3); max-width: 360px; }
.pendente-rotulo { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }

/* Comece aqui + plataforma */
.duas { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .duas { grid-template-columns: 1fr 1fr; } }
.duas .caixa { margin: 0; }

/* Índice */
.busca { position: relative; margin: 12px 0 16px; }
.busca label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 15px; }
.busca input { width: 100%; min-height: 52px; font: inherit; font-size: 17px; color: var(--text); background: var(--card);
  border: 1.5px solid var(--border); border-radius: var(--r-botao); padding: 12px 16px; -webkit-appearance: none; appearance: none; }
.busca input:focus { outline: none; border-color: var(--geo); box-shadow: 0 0 0 3px var(--geo-tint); }
.busca input::placeholder { color: var(--text-3); }
.indice-grupo { margin: 18px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.indice { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.indice a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 16px; border-radius: var(--r-botao);
  background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.indice a:hover { border-color: var(--geo); }
.indice .t { font-weight: 700; color: var(--ink); }
.indice .d { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.indice-vazio { color: var(--text-2); font-size: 15px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Linha do tempo */
.tempo { list-style: none; padding: 0; margin: 12px 0 0; border-left: 2px solid var(--border); }
.tempo li { position: relative; padding: 0 0 14px 20px; margin: 0; }
.tempo li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--geo); }
.tempo .v { font-weight: 800; color: var(--ink); }
.tempo .q { font-size: 12px; color: var(--text-3); margin-left: 6px; }
.tempo p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }

/* Tabela simples */
.tabela { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.tabela th, .tabela td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tabela th { font-size: 13px; color: var(--text-2); font-weight: 700; }

/* Glossário */
dl.glossario { margin: 8px 0; }
dl.glossario dt { font-weight: 700; color: var(--ink); margin-top: 12px; }
dl.glossario dd { margin: 2px 0 0; color: var(--text-2); }

details.diego { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--card); }
details.diego summary { cursor: pointer; padding: 14px 16px; min-height: 48px; font-weight: 700; color: var(--ink); }
details.diego > div { padding: 0 16px 14px; font-size: 15px; color: var(--text-2); }

/* Botão flutuante para o índice */
.ir-indice { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-botao);
  background: var(--geo-botao); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.ir-indice:hover { background: #9E4714; }

.rodape { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--text-2); }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  background: transparent; color: #fff; }
dialog.lightbox::backdrop { background: var(--scrim); }
.lb-palco { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; gap: 10px; }
.lb-palco img { max-width: min(100%, 520px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 18px; background: #fff; }
.lb-legenda { max-width: 520px; text-align: center; font-size: 15px; color: #F1F1EC; margin: 0; }
.lb-fechar { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; min-width: 48px; min-height: 48px; border-radius: var(--r-botao);
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 0 16px; cursor: pointer; }

/* Navegação simples entre a ajuda e a página inicial. */
.nav-guia { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.nav-guia a { color: var(--geo-forte); font-weight: 700; text-decoration: none; }
.nav-guia a:hover { text-decoration: underline; }
