:root {
  --leaf: #b8db7d;
  --green: #7aa848;
  --green-deep: #4f7029;
  --green-mist: #f0f7e4;
  --cream: #f7f4ef;
  --card: #ffffff;
  --ink: #1b1b1b;
  --mid: #6d6a66;
  --faint: #9b9791;
  --rule: rgba(27, 27, 27, 0.09);
  --shadow: 0 14px 40px rgba(58, 82, 32, 0.09);
  --alert-bg: #fdf4e6;
  --alert-line: #d99b3a;
  --alert-ink: #8a5316;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: linear-gradient(178deg, var(--cream) 0%, #f2f8e8 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 40px;
}

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 18px; }

/* ---------- topo ---------- */

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0 14px;
}

.masthead img { width: 46px; height: auto; }

.masthead a { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 12px; }

.masthead strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  display: block;
}

.masthead strong + span { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--green-deep);
  text-decoration: none;
  margin: 6px 0 18px;
}

.back svg { width: 15px; height: 15px; }

/* ---------- cabecalho da pagina ---------- */

.page-head { padding: 12px 0 26px; }

.kicker {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-mist);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 14px;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.95rem, 7.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.standfirst { margin-top: 14px; color: var(--mid); font-size: 1.02rem; }

.byline {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.79rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- corpo do artigo ---------- */

article { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; }

article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.18;
  margin: 30px 0 10px;
}

article h2:first-child { margin-top: 0; }

article h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 6px; }

article p { color: var(--mid); margin-bottom: 13px; }

article strong { color: var(--ink); font-weight: 600; }

article ul { list-style: none; margin: 0 0 14px; }

article li { color: var(--mid); position: relative; padding-left: 22px; margin-bottom: 9px; }

article li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

/* ---------- caixa de alerta ---------- */

.alert {
  background: var(--alert-bg);
  border: 1px solid rgba(217, 155, 58, 0.35);
  border-left: 5px solid var(--alert-line);
  border-radius: 16px;
  padding: 20px 20px 14px;
  margin: 26px 0;
}

.alert h2, .alert h3 {
  color: var(--alert-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.32rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.alert li { color: #7a4d18; }
.alert li::before { background: var(--alert-line); }
.alert p { color: #7a4d18; }
.alert p:last-child { margin-bottom: 0; }

/* ---------- pontos-chave ---------- */

.keypoints { background: var(--green-mist); border-radius: 16px; padding: 20px 20px 14px; margin: 0 0 26px; }
.keypoints h2 { margin: 0 0 10px; font-size: 1.22rem; }
.keypoints li { color: var(--green-deep); }
.keypoints li::before { background: var(--green); }

/* ---------- rodape do artigo ---------- */

.disclaimer { font-size: 0.83rem; color: var(--faint); margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }

.cta { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; margin-top: 20px; text-align: center; }

.cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 6px; }
.cta p { color: var(--mid); font-size: 0.93rem; margin-bottom: 16px; }

.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(58, 82, 32, 0.22);
}

/* ---------- indice ---------- */

.topic {
  display: block;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 20px;
  margin-bottom: 13px;
  text-decoration: none;
  color: inherit;
  border-left: 5px solid var(--leaf);
  min-height: 76px;
}

.topic:hover { border-left-color: var(--green); }

.topic strong { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; display: block; line-height: 1.2; }
.topic span { display: block; font-size: 0.89rem; color: var(--mid); margin-top: 5px; }
.topic em { display: block; font-style: normal; font-size: 0.75rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }

/* ---------- rodape ---------- */

footer { text-align: center; padding: 34px 0 6px; }
footer img { width: 176px; max-width: 60%; height: auto; opacity: 0.93; }
footer p { margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.09em; color: var(--faint); }

a:focus-visible { outline: 3px solid rgba(122, 168, 72, 0.55); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
