/*
  site.css — base visual compartilhada (home, /grupo, /privacidade).
  Identidade da Apresentação Institucional 2026. Tema claro único.
  Regra de contraste: lima (#CCFC7E) só sobre verde-floresta ou como fundo de botão.
*/
:root {
  --forest: #1B4332;
  --forest-2: #2D6A4F;
  --forest-hover: #245A43;
  --lime: #CCFC7E;
  --lime-hover: #DBFF9E;
  --cream: #F9F3ED;
  --surface: #FFFFFF;
  --line: #DDDCD5;
  --line-soft: #EFEBE7;
  --ink: #444444;
  --muted: #566B5F;
  --mint: #A8D5B5;
  --on-forest-line: rgba(168, 213, 181, 0.22);
  --danger: #B42318;
  --font: 'Figtree', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --maxw: 1200px;
  --radius: 18px;
  --head-h: 72px;
  --shadow: 0 1px 2px rgba(27, 67, 50, 0.04), 0 8px 24px -12px rgba(27, 67, 50, 0.14);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest);
  text-wrap: balance;
}
p { margin: 0; }
b, strong { font-weight: 800; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--head-h) + 20px); }
::selection { background: var(--lime); color: var(--forest); }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.on-forest :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--lime); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--forest); font-weight: 800;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.85;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Superfície verde ---------- */
.on-forest { background: var(--forest); color: #E6F1EA; }
.on-forest h1, .on-forest h2, .on-forest h3 { color: #FFFFFF; }

/* ---------- Eyebrow + destaques ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px;
  font-size: 13px; font-weight: 800; line-height: 1.4;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 30px; height: 3px; border-radius: 2px;
  background: var(--lime);
}
.on-forest .eyebrow { color: var(--lime); }
/* Destaque em seção clara: texto forest com marca lima por trás (lima nunca vira cor de texto aqui). */
.mark {
  padding: 0 0.08em;
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl { color: var(--lime); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 800; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease,
    transform .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover {
  background: var(--lime-hover); color: var(--forest); transform: translateY(-1px);
  box-shadow: 0 10px 28px -12px rgba(204, 252, 126, 0.7);
}
.btn-ghost { color: #FFFFFF; border-color: rgba(168, 213, 181, 0.55); }
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }
.btn-forest { background: var(--forest); color: #FFFFFF; }
.btn-forest:hover { background: var(--forest-hover); color: #FFFFFF; transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-sm .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--forest);
  border-bottom: 4px solid var(--lime);
}
.head-in { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 46px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 2px; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px;
  color: #E6F1EA; font-size: 15px; font-weight: 600; text-decoration: none;
}
.site-nav a:hover { color: var(--lime); background: rgba(204, 252, 126, 0.1); }
.head-cta { margin-left: 8px; }

/* ---------- Rodapé ---------- */
.site-foot { background: var(--forest); color: var(--mint); }
.foot-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding: 36px 0;
  border-top: 1px solid var(--on-forest-line);
}
.foot-facts dt {
  margin-bottom: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
}
.foot-facts dd { margin: 0; color: #FFFFFF; font-weight: 600; overflow-wrap: anywhere; }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 28px; padding: 22px 0 30px;
  border-top: 1px solid var(--on-forest-line);
  font-size: 14px;
}
.foot-bottom img { height: 40px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot-links a { color: var(--mint); }
.foot-links a:hover { color: var(--lime); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  :root { --head-h: 64px; }
  .brand img { height: 40px; }
  .eyebrow { letter-spacing: 0.12em; gap: 10px; font-size: 12px; }
  .eyebrow::before { width: 22px; }
  .foot-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
}
