:root {
  color-scheme: light dark;
  --fundo: #F4F6F1;
  --superficie: #FFFFFF;
  --superficie-2: #EBEFE7;
  --tinta: #0F1F19;
  --suave: #52615A;
  --linha: #DDE3DA;
  --linha-forte: #C3CDC0;
  --marca: #17603F;
  --sobre-marca: #FFFFFF;
  --marca-texto: #17603F;
  --limao: #C5EE4E;
  --destaque: #DDF58A;
  --sobre-destaque: #0F1F19;
  --painel: #0F1F19;
  --sobre-painel: #F4F6F1;
  --sobre-painel-suave: #A9B8B0;
  --sombra: 15, 31, 25;
}
@media (prefers-color-scheme: dark) {
  :root {
  --fundo: #0B1411;
  --superficie: #121E1A;
  --superficie-2: #192824;
  --tinta: #E8F0EA;
  --suave: #9AAAA2;
  --linha: #23342E;
  --linha-forte: #34493F;
  --marca: #C5EE4E;
  --sobre-marca: #0B1411;
  --marca-texto: #C5EE4E;
  --limao: #C5EE4E;
  --destaque: #C5EE4E;
  --sobre-destaque: #0B1411;
  --painel: #16251F;
  --sobre-painel: #E8F0EA;
  --sobre-painel-suave: #9AAAA2;
  --sombra: 0, 0, 0;
  }
}
/* bio.iarlison.com — paleta Floresta (verde-floresta e limão), tema claro e escuro */
:root {
  /* cores: vêm de _sistema/marca/paleta.json (o gerar.py injeta claro e escuro no topo) */
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--tinta);
  font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 480px; margin: 0 auto; padding: 40px 16px 56px; }

/* ---------- perfil ---------- */
.perfil { text-align: center; }
.foto {
  width: 104px; height: 104px; border-radius: 50%; display: block; margin: 0 auto 16px;
  box-shadow: 0 0 0 4px var(--superficie), 0 0 0 5px var(--linha);
}
.nome { font: 600 30px/1.15 var(--serif); letter-spacing: -.01em; margin: 0; }
.titulo { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--marca-texto); }
.bio { margin: 12px auto 0; max-width: 34ch; color: var(--suave); font-size: 15px; }
.provas { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.provas li {
  font-size: 12.5px; font-weight: 500; color: var(--tinta); background: var(--superficie);
  border: 1px solid var(--linha); border-radius: 999px; padding: 5px 11px;
}

/* ---------- redes ---------- */
.redes { display: flex; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.redes a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--superficie); border: 1px solid var(--linha); color: var(--tinta);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.redes a:hover { transform: translateY(-2px); border-color: var(--marca-texto); color: var(--marca-texto); }
.redes svg { width: 20px; height: 20px; }

/* ---------- destaque (comunidade) ---------- */
.destaque {
  margin: 32px 0 0; background: var(--painel); color: var(--sobre-painel); border-radius: var(--r);
  border: 1px solid var(--linha);
  padding: 22px 22px 22px; position: relative; overflow: hidden;
}
.destaque::after {   /* pontos limão */
  content: ""; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--limao) 2px, transparent 2.5px) 0 0 / 14px 14px; opacity: .55;
  mask-image: linear-gradient(225deg, #000 20%, transparent 75%);
  -webkit-mask-image: linear-gradient(225deg, #000 20%, transparent 75%);
}
.rotulo {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--marca-texto);
}
.destaque h2 { font: 600 23px/1.2 var(--serif); margin: 8px 0 6px; max-width: 18ch; }
.destaque p { margin: 0 0 18px; color: var(--sobre-painel-suave); font-size: 15px; max-width: 30ch; }
.destaque .rotulo { color: var(--limao); }

.botao {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--marca); color: var(--sobre-marca); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 15px 18px; border-radius: 12px; transition: background .15s ease, transform .15s ease;
}
.botao:hover { filter: brightness(1.08); transform: translateY(-1px); }
.destaque .botao { background: var(--limao); color: #0F1F19; }
.botao svg { width: 18px; height: 18px; }

/* ---------- links ---------- */
.links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.redes + .links { margin-top: 30px; }   /* sem o bloco da comunidade, os links descem um pouco */
.links a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--superficie); border: 1px solid var(--linha); border-radius: 14px; padding: 15px 16px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.links a:hover { border-color: var(--linha-forte); transform: translateY(-1px); box-shadow: 0 6px 18px -12px rgba(var(--sombra), .35); }
.links .t { display: block; font-weight: 600; font-size: 16px; }
.links .s { display: block; color: var(--suave); font-size: 13.5px; margin-top: 1px; }
.links .txt { flex: 1; min-width: 0; }
.links .seta { color: var(--marca-texto); flex: none; }
.links .seta svg { width: 18px; height: 18px; display: block; }

/* ---------- prévia: link que falta ---------- */
.pendente { outline: 2px dashed #E0A400; outline-offset: 2px; }
.pendente-tag {
  display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #8A6500; background: #FFF4CC; border-radius: 4px; padding: 1px 5px; vertical-align: 2px;
}

/* ---------- rodapé ---------- */
.rodape { margin-top: 40px; text-align: center; font-size: 12.5px; color: var(--suave); }
.rodape a { color: var(--suave); }

/* =================== página de material =================== */
.topo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.topo b { font-weight: 600; font-size: 14.5px; display: block; line-height: 1.2; }
.topo span { color: var(--suave); font-size: 13px; }

.capa-wrap { margin: 28px auto 0; width: 64%; max-width: 280px; }
.capa {
  display: block; width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -18px rgba(var(--sombra), .5), 0 8px 16px -10px rgba(var(--sombra), .35);
  transform: rotate(-1.5deg);
}
.material { text-align: center; margin-top: 30px; }
.material .rotulo { color: var(--marca-texto); }
.material h1 { font: 600 34px/1.1 var(--serif); letter-spacing: -.015em; margin: 8px 0 8px; }
.material .sub { font: 400 italic 18px/1.4 var(--serif); color: var(--suave); margin: 0 auto; max-width: 28ch; }
.material .desc { margin: 16px auto 0; max-width: 36ch; font-size: 15.5px; }
.cta-bloco { margin-top: 24px; }
.detalhes { margin-top: 10px; font-size: 13px; color: var(--suave); text-align: center; }

.dentro {
  margin-top: 28px; background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--r); padding: 20px 20px 8px;
}
.dentro h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); margin: 0 0 6px; }
.dentro ul { list-style: none; margin: 0; padding: 0; }
.dentro li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linha); font-size: 15px; }
.dentro li:first-child { border-top: 0; }
.dentro .n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--destaque); color: var(--sobre-destaque);
  font-size: 12.5px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }

.depois { margin-top: 28px; display: grid; gap: 10px; }
.secundario {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--linha); background: var(--superficie);
  transition: border-color .15s ease;
}
.secundario:hover { border-color: var(--linha-forte); }
.secundario svg { width: 18px; height: 18px; }

/* =================== aviso de cookies (LGPD) =================== */
.aviso {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; max-width: 456px; margin: 0 auto;
  background: var(--superficie); color: var(--tinta); border: 1px solid var(--linha); border-radius: 16px;
  padding: 16px; box-shadow: 0 16px 40px -16px rgba(var(--sombra), .45);
}
.aviso[hidden] { display: none; }
.aviso p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.aviso a { color: var(--marca-texto); }
.aviso-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aviso button {
  font: 600 14.5px/1 var(--sans); padding: 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--linha-forte); background: var(--superficie); color: var(--tinta);
}
.aviso button:last-child { background: var(--marca); color: var(--sobre-marca); border-color: var(--marca); }

/* =================== página de texto (privacidade) =================== */
.texto h1 { font: 600 30px/1.15 var(--serif); margin: 28px 0 4px; }
.texto h2 { font-size: 15px; font-weight: 700; margin: 26px 0 6px; }
.texto p { margin: 0 0 10px; font-size: 15.5px; }
.texto a { color: var(--marca-texto); }
.texto .atualizado { color: var(--suave); font-size: 13px; }
.texto button.secundario { font: 600 15px var(--sans); color: var(--tinta); cursor: pointer; width: 100%; }

@media (min-width: 640px) {
  .wrap { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .capa { transform: none; }
}
