/* SchmatzGarcia — identidade tipográfica própria (GG-6).
   Deliberadamente diferente do advgg: serifa, base escura, sem foto de banco de imagem.
   O escritório ainda não tem material de marca para a SchmatzGarcia; quando tiver,
   logo e paleta entram aqui. */

:root {
  --tinta:   #16211d;
  --papel:   #f7f6f2;
  --verde:   #1f4438;
  --verde-c: #2f6a56;
  --ouro:    #9a7b3f;
  --cinza:   #5d6663;
  --linha:   #dcd8ce;
  --largura: 76rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1.0625rem/1.65 Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--verde-c); }
a:hover { color: var(--ouro); }

/* ---------- topo ---------- */
.topo {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: var(--largura); margin: 0 auto; padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--linha);
}
.marca { text-decoration: none; color: var(--tinta); letter-spacing: .02em; line-height: 1.1; }
.marca .m1 { font-size: 1.6rem; font-weight: 400; }
.marca .m2 { font-size: 1.6rem; font-weight: 700; color: var(--verde); }
.marca small {
  display: block; font: 600 .68rem/1 system-ui, sans-serif;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cinza); margin-top: .3rem;
}
.topo nav a {
  font: 600 .8rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; margin-left: 1.5rem;
}

/* ---------- capa ---------- */
.capa {
  max-width: var(--largura); margin: 0 auto; padding: 4rem 1.5rem 3rem;
}
.capa h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; font-weight: 400;
  margin: 0 0 1.25rem; max-width: 22ch; color: var(--verde);
}
.linha {
  font: 600 .78rem/1.7 system-ui, sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ouro); margin: 0 0 1.5rem;
}
.sub { font-size: 1.15rem; color: var(--cinza); max-width: 62ch; margin: 0 0 2rem; }

.botao {
  display: inline-block; background: var(--verde); color: #fff; text-decoration: none;
  padding: .85rem 1.9rem; border-radius: 2px;
  font: 600 .82rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.botao:hover { background: var(--ouro); color: #fff; }

/* ---------- áreas ---------- */
.areas, .materias, .contato, .materia, .erro {
  max-width: var(--largura); margin: 0 auto; padding: 2.5rem 1.5rem;
}
.areas h2, .materias h1, .materias h2, .contato h1, .erro h1 {
  font-weight: 400; color: var(--verde); margin: 2rem 0 1rem;
}
.areas h2 { border-top: 1px solid var(--linha); padding-top: 2.5rem; }

.grade { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grade article { border-left: 3px solid var(--ouro); padding-left: 1.1rem; }
.grade h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700; color: var(--tinta); }
.grade p  { margin: 0; color: var(--cinza); font-size: .98rem; }

/* ---------- listas de matéria ---------- */
.lista { list-style: none; padding: 0; margin: 0 0 2rem; }
.lista li { padding: 1.1rem 0; border-bottom: 1px solid var(--linha); }
.lista li > a { font-size: 1.2rem; text-decoration: none; font-weight: 700; }
.lista li p { margin: .4rem 0 0; color: var(--cinza); font-size: .98rem; }
.tag {
  display: inline-block; font: 600 .68rem/1 system-ui, sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ouro); margin: 0 .6rem .35rem 0;
}
.maisr { font: 600 .82rem/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- matéria ---------- */
.materia { max-width: 46rem; }
.materia h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; font-weight: 400; color: var(--verde); margin: .3rem 0 .75rem; }
.materia .data { font: 400 .85rem/1 system-ui, sans-serif; color: var(--cinza); margin: 0 0 2rem; }
.texto { font-size: 1.08rem; }
.texto img { max-width: 100%; height: auto; }
.texto h2, .texto h3 { color: var(--verde); font-weight: 400; }
.texto table { width: 100%; border-collapse: collapse; }
.texto td, .texto th { border: 1px solid var(--linha); padding: .5rem; }
.fecho {
  margin-top: 3rem; padding: 1.75rem; background: #fff; border: 1px solid var(--linha);
}
.fecho p:first-child { margin-top: 0; color: var(--cinza); font-size: .98rem; }

/* ---------- contato ---------- */
.cartao { background: #fff; border: 1px solid var(--linha); padding: 1.5rem; margin-bottom: 1.25rem; max-width: 42rem; }
.cartao .grande { font-size: 1.45rem; margin: 0 0 .25rem; color: var(--verde); }
.cartao p:last-child { margin-bottom: 0; color: var(--cinza); }
.obs { color: var(--cinza); font-size: .98rem; max-width: 62ch; }

/* ---------- rodapé ---------- */
.rodape { background: var(--verde); color: #d8e2dd; margin-top: 4rem; padding: 3rem 1.5rem 2rem; }
.rodape .cols {
  max-width: var(--largura); margin: 0 auto;
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.rodape strong { display: block; color: #fff; font: 600 .78rem/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .75rem; }
.rodape p { margin: 0 0 .6rem; font-size: .95rem; }
.rodape a { color: #f0d9a8; }
.legal {
  max-width: var(--largura); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #a9bcb5;
}
