:root {
  --ink: #1c1a17;
  --paper: #f4efe6;
  --paper-2: #ece4d6;
  --line: #e2d8c6;
  --brass: #b08543;
  --brass-deep: #8a6529;
  --muted: #6b6459;
  --fraque: #1f1d18;
  --on-dark: #f0e9dc;
  --on-dark-muted: #a79d8c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1000px, 100%); margin: 0 auto; padding: 0 1.5rem; }
a { color: inherit; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; border-radius: 10px; padding: 0.8rem 1.5rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--brass-deep); color: var(--paper); }
.btn-primary:hover { background: #74531f; }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(240,233,220,0.28); }
.btn-ghost-dark:hover { border-color: rgba(240,233,220,0.6); }

/* Brasão */
.crest {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; color: var(--paper);
  background: linear-gradient(155deg, var(--brass) 0%, var(--brass-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 30px -12px rgba(138,101,41,0.7);
}
.crest svg { width: 32px; height: 32px; }

/* HERO — superfície fraque */
.hero {
  background: radial-gradient(120% 90% at 50% -20%, #2a251d 0%, var(--fraque) 60%);
  color: var(--on-dark);
  text-align: center;
  padding: 4rem 0 4.5rem;
}
.hero .brand { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-bottom: 2rem; }
.hero .wordmark { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.hero h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.02em;
  max-width: 16ch; margin: 0 auto 1.1rem;
}
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--on-dark-muted); max-width: 52ch; margin: 0 auto 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.cta-note { margin-top: 1rem; font-size: 0.85rem; color: var(--on-dark-muted); }

/* Faixa de introdução */
.intro { padding: 3.5rem 0; }
.intro p {
  font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 24ch;
}
.intro .accent { color: var(--brass-deep); }

/* Seção */
.section { padding: 3rem 0 3.5rem; border-top: 1px solid var(--line); }
.section h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem); letter-spacing: -0.01em; margin-bottom: 2rem;
}

/* "Livro de tarefas" — sem cards flutuantes, divisórias tipo ledger */
.duties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.duty { display: flex; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.duty:nth-child(-n+2) { border-top: 0; }
@media (max-width: 640px) {
  .duties { grid-template-columns: 1fr; }
  .duty { border-top: 1px solid var(--line); }
  .duty:first-child { border-top: 0; }
}
.duty .ic { flex: none; width: 34px; height: 34px; color: var(--brass-deep); }
.duty .ic svg { width: 34px; height: 34px; }
.duty h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; font-weight: 600; margin-bottom: 0.2rem; }
.duty p { color: var(--muted); font-size: 0.95rem; }

/* Para quem — trio, sem numeração */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 640px) { .how { grid-template-columns: 1fr; } }
.how h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
.how p { color: var(--muted); font-size: 0.95rem; }

/* CTA final — fraque de novo (bookend) */
.cta-band { background: var(--fraque); color: var(--on-dark); text-align: center; padding: 3.5rem 0; }
.cta-band h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 1.5rem; max-width: 20ch; margin-inline: auto; }

/* Rodapé */
footer { padding: 2.5rem 0; color: var(--muted); font-size: 0.88rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer a { color: var(--brass-deep); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.langs a { color: var(--muted); font-weight: 500; text-decoration: none; }
.langs a[aria-current="true"] { color: var(--brass-deep); font-weight: 700; }
.langs a:hover { color: var(--brass-deep); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
