/* closs.net.br — estilos compartilhados */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Instrument+Sans:wght@400;500;600&display=swap");

:root{
  --bg:#F3F5F1;
  --surface:#FFFFFF;
  --text:#18221D;
  --muted:#56635C;
  --line:#D7DDD6;
  --brand:#1F4D3A;      /* verde pinho */
  --accent:#A8792A;     /* ouro velho */
  --on-brand:#F3F5F1;
  color-scheme:light;
}
html[data-theme="dark"]{
  --bg:#111814;
  --surface:#18221D;
  --text:#E8EDE8;
  --muted:#9AA8A0;
  --line:#2A3730;
  --brand:#7FB89A;
  --accent:#D3A856;
  --on-brand:#111814;
  color-scheme:dark;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Instrument Sans",system-ui,sans-serif;
  background:var(--bg);color:var(--text);
  font-size:1.0625rem;line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background .2s,color .2s;
}
a{color:var(--brand)}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.wrap{max-width:64rem;margin:0 auto;padding:0 1.5rem}

/* idioma: só o idioma ativo aparece */
[data-en],[data-de]{display:none}
html[lang="en"] [data-pt],html[lang="de"] [data-pt]{display:none}
html[lang="en"] [data-en]{display:revert}
html[lang="de"] [data-de]{display:revert}

/* cabeçalho */
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 0;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--text)}
.brand svg,.brand img{width:2.25rem;height:2.25rem}
.brand b{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:1.25rem;letter-spacing:.01em}
.tools{display:flex;align-items:center;gap:.75rem}
.langs{display:flex;gap:.15rem}
.langs button,.theme{
  font:inherit;font-size:.8125rem;font-weight:600;
  background:none;border:1px solid transparent;color:var(--muted);
  padding:.3rem .55rem;border-radius:999px;cursor:pointer;
}
.langs button[aria-pressed="true"]{color:var(--text);border-color:var(--line);background:var(--surface)}
.theme{border-color:var(--line);display:flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;padding:0}
.theme svg{width:1rem;height:1rem}
html[data-theme="dark"] .sun{display:none}
html:not([data-theme="dark"]) .moon{display:none}

/* hero */
.hero{padding:5rem 0 3.5rem;display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center}
.hero h1{font-family:"Fraunces",Georgia,serif;font-weight:400;font-size:clamp(2.6rem,7vw,4.5rem);line-height:1.02;letter-spacing:-.015em}
.hero p{margin-top:1.25rem;max-width:34rem;color:var(--muted);font-size:1.1875rem}
.crest{width:clamp(7rem,16vw,10rem);height:auto;color:var(--brand)}

/* membros */
.people{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.25rem;padding:1rem 0 5rem}
.person{
  display:block;text-decoration:none;color:var(--text);
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:1.75rem 1.5rem 1.5rem;transition:border-color .15s;
}
.person:hover{border-color:var(--brand)}
.mono{
  width:3.25rem;height:3.25rem;border-radius:50%;
  display:grid;place-items:center;
  background:var(--brand);color:var(--on-brand);
  font-family:"Fraunces",Georgia,serif;font-size:1.35rem;margin-bottom:1.25rem;
}
.person h2{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:1.5rem;line-height:1.2}
.person p{color:var(--muted);margin-top:.35rem}
.person .go{display:inline-block;margin-top:1.25rem;font-weight:600;color:var(--brand);font-size:.9375rem}

/* página individual */
.back{display:inline-block;margin-top:2rem;font-size:.9375rem;text-decoration:none;font-weight:500}
.profile{padding:2.5rem 0 1rem;display:flex;gap:1.5rem;align-items:center}
.profile .mono{width:5rem;height:5rem;font-size:2rem;margin:0;flex:none}
.profile h1{font-family:"Fraunces",Georgia,serif;font-weight:400;font-size:clamp(2.4rem,6vw,3.75rem);line-height:1.05}
.profile p{color:var(--muted);margin-top:.35rem;font-size:1.125rem}
.block{padding:2.5rem 0;border-top:1px solid var(--line);display:grid;grid-template-columns:12rem 1fr;gap:2rem}
.block:first-of-type{border-top:0}
.block h2{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:1.25rem;color:var(--brand)}
.block .body{max-width:40rem}
.block .body p+p{margin-top:.9rem}
.list{list-style:none}
.list li{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--line)}
.list li:last-child{border-bottom:0}
.list small{color:var(--muted);font-size:.9375rem;white-space:nowrap}
.btns{display:flex;flex-wrap:wrap;gap:.75rem}
.btn{display:inline-block;padding:.65rem 1.15rem;border-radius:999px;text-decoration:none;font-weight:600;font-size:.9375rem;border:1px solid var(--brand)}
.btn.primary{background:var(--brand);color:var(--on-brand)}
.btn.ghost{color:var(--brand)}
.todo{color:var(--accent);font-style:italic}

/* rodapé */
footer{border-top:1px solid var(--line);padding:2rem 0 3rem;color:var(--muted);font-size:.875rem;margin-top:3rem}
footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

@media (max-width:680px){
  .hero{grid-template-columns:1fr;padding-top:3rem}
  .hero .crest{order:-1;width:6rem}
  .block{grid-template-columns:1fr;gap:.75rem}
  .brand b{display:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* página única: seções por membro */
.jump{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2rem}
.jump a{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:.35rem .9rem .35rem .35rem;font-weight:500;font-size:.9375rem}
.jump a:hover{border-color:var(--brand)}
.jump .mono{width:1.9rem;height:1.9rem;font-size:.95rem;margin:0}
.member{padding:3.5rem 0;border-top:1px solid var(--line);scroll-margin-top:1rem}
.member .profile{padding:0 0 1.75rem}
.member .profile h2{font-family:"Fraunces",Georgia,serif;font-weight:400;font-size:clamp(2rem,5vw,3rem);line-height:1.05}
.member .profile p{color:var(--muted);margin-top:.3rem;font-size:1.0625rem}
.member .about{max-width:40rem}
.member .list{max-width:40rem;margin-top:1.5rem}
.member .btns{margin-top:1.75rem}
.member .about p+p{margin-top:.9rem}
