/* =========================================================
   FoxFarma — página pública "Central Oficial" (mobile-first)
   Redesign premium: fundo com profundidade (auroras + grid científico),
   vidro contido, cards de destino com diferenciação por categoria.
   Tokens: design-system/foxfarma/MASTER.md — branco/azul, contraste AA.
   ========================================================= */

/* ---------- Fontes self-hosted (variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/static/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/static/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --color-primary: #0F62FE;
  --color-primary-strong: #0B4EC2;
  --color-primary-soft: #E8F0FE;
  --color-primary-tint: #D3E3FD;
  --color-accent: #22D3EE;          /* ciano controlado — apenas detalhes decorativos */
  --color-ink: #0A1E3C;
  --color-ink-secondary: #3D5270;
  --color-ink-muted: #556A8E;
  --color-background: #F4F7FB;
  --color-surface: #FFFFFF;
  --color-border: #DCE5F0;
  --color-success: #0E7B3D;
  --color-danger: #C22A2A;
  --color-on-primary: #FFFFFF;

  /* Tintura de categoria (diferenciação sutil, com contraste ≥ 4.5:1 do glifo) */
  --cat-wa-bg: #E7F6EE;      --cat-wa-ink: #0B7A43;    --cat-wa-line: rgba(11, 122, 67, 0.20);
  --cat-store-bg: #EAF1FE;   --cat-store-ink: #0B4EC2; --cat-store-line: rgba(11, 78, 194, 0.18);
  --cat-generic-bg: #EEF3FA; --cat-generic-ink: #3D5270; --cat-generic-line: rgba(61, 82, 112, 0.16);

  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-blur: 14px;
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 34%);
  --shadow-card: 0 1px 2px rgba(10, 30, 64, 0.05), 0 10px 28px rgba(10, 30, 64, 0.09);
  --shadow-card-hover: 0 2px 6px rgba(10, 30, 64, 0.07), 0 18px 40px rgba(10, 30, 64, 0.14);

  --font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 64px;

  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 22px; --radius-full: 999px;

  --shadow-1: 0 1px 2px rgba(10, 30, 64, 0.06);
  --shadow-2: 0 2px 8px rgba(10, 30, 64, 0.08);
  --shadow-3: 0 8px 24px rgba(10, 30, 64, 0.12);

  --dur-fast: 140ms; --dur-med: 240ms; --dur-slow: 380ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);

  --z-glass: 10; --z-toast: 100;

  --wrap: 600px; /* largura máxima da coluna de conteúdo */
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-background); /* fallback sob a camada .bg */
  min-height: 100vh;
  padding: 0 clamp(20px, 5vw, 32px);
  overflow-x: clip;
  position: relative; /* ancora a camada .bg na altura do documento */
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(15, 98, 254, 0.16); }

/* Foco visível (AA) */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: var(--z-toast);
  box-shadow: var(--shadow-2);
}
.skip-link:focus { left: 0; }

/* Texto acessível invisível (contexto para leitores de tela) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Fundo com profundidade (auroras + grid científico) ----------
   Camada ancorada ao documento (sem emendas em telas longas); gradientes
   radiais (sem filter: blur — custo de GPU desnecessário). Grid de altura
   fixa com máscara de desvanecimento. Fallback: cor sólida no body — a
   página permanece legível sem qualquer uma das camadas. */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F6F9FD 38%, #EDF3FB 74%, #E9F0F9 100%);
}
.bg-aurora {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.bg-aurora--1 {
  width: 560px; height: 560px;
  top: -170px; right: -140px;
  background: radial-gradient(closest-side, rgba(15, 98, 254, 0.15), rgba(15, 98, 254, 0) 72%);
  animation: bg-drift 44s var(--ease-out) infinite alternate;
}
.bg-aurora--2 {
  width: 500px; height: 500px;
  top: 540px; left: -200px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0) 72%);
  animation: bg-drift 38s var(--ease-out) infinite alternate-reverse;
}
.bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 920px;
  background-image:
    linear-gradient(to right, rgba(10, 30, 64, 0.030) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 30, 64, 0.030) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 100%);
}
@keyframes bg-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-22px, 16px, 0); }
}

/* ---------- Vidro (contido) ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.25);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.25);
  border: 1px solid var(--glass-border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.94); } /* fallback opaco: contraste garantido */
}

/* ---------- Cabeçalho de marca ---------- */
.brand-head {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.brand-logo {
  /* quadrado → 48px; horizontal → expande até 200px sem CLS (altura fixa) */
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}
.brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.chip-official {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, rgba(234, 241, 254, 0.92), rgba(222, 235, 252, 0.92));
  border: 1px solid var(--color-primary-tint);
  color: var(--color-primary-strong);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(10, 30, 64, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.chip-official svg { flex: 0 0 auto; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 var(--space-8);
}

/* ---------- Hero editorial ---------- */
.hero { padding-top: 30px; }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 8.4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hero-desc {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-ink-secondary);
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.hero-rule {
  width: 56px;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: 22px 0 16px;
}
.preview-tag {
  display: inline-block;
  margin-left: var(--space-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-tint);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- Sinais de confiança (linguagem institucional neutra) ---------- */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 var(--space-2);
  padding: 0;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-secondary);
}
.trust-item svg { flex: 0 0 auto; color: var(--color-primary-strong); }

/* ---------- Cards de destino ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: 22px;
}
.link-card {
  /* poço de ícone — genérico por padrão; categorias sobrescrevem */
  --well-bg: var(--cat-generic-bg);
  --well-ink: var(--cat-generic-ink);
  --well-line: var(--cat-generic-line);

  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-4);
  min-height: 76px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--color-ink);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.link-card::before {
  /* reflexo de vidro superior — nunca reduz o contraste do texto */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-sheen);
  pointer-events: none;
}
.link-card:hover, .link-card:focus-visible {
  text-decoration: none;
}
.link-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-top: 1px; /* alinhamento óptico com a primeira linha do título */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--well-bg);
  color: var(--well-ink);
  box-shadow:
    inset 0 0 0 1px var(--well-line),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform var(--dur-med) var(--ease-spring);
}
.link-icon svg { width: 24px; height: 24px; }
.link-icon--img { background: var(--color-surface); padding: 5px; overflow: hidden; }
.link-icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.link-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.link-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--color-ink);
  overflow-wrap: anywhere;
}
.link-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-ink-secondary);
  overflow-wrap: anywhere;
}
.link-flag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-on-primary);
  background: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  margin-bottom: 7px;
  box-shadow: 0 1px 2px rgba(11, 78, 194, 0.25);
}
.link-go {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 11px; /* centro óptico na primeira linha do título */
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.link-go svg { width: 17px; height: 17px; }

/* Diferenciação sutil por categoria (configurada no painel — nunca inferida da URL) */
.cat-whatsapp_group { --well-bg: var(--cat-wa-bg); --well-ink: var(--cat-wa-ink); --well-line: var(--cat-wa-line); }
.cat-store { --well-bg: var(--cat-store-bg); --well-ink: var(--cat-store-ink); --well-line: var(--cat-store-line); }

/* Destaque — presença maior sem poluição */
.link-card.featured {
  border-color: rgba(15, 98, 254, 0.45);
  box-shadow:
    0 0 0 1px rgba(15, 98, 254, 0.16),
    var(--shadow-card);
}
.link-card.featured .link-go {
  background: linear-gradient(160deg, #1671FE, var(--color-primary-strong));
  color: var(--color-on-primary);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(11, 78, 194, 0.35);
}

/* Hover (apontadores reais) e foco por teclado — mesma elevação */
@media (hover: hover) {
  .link-card:hover {
    transform: translateY(-2px);
    border-color: #C9DCF5;
    box-shadow: var(--shadow-card-hover);
  }
  .link-card:hover .link-go {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
    transform: translateX(1px);
  }
  .link-card:hover .link-icon { transform: scale(1.05); }
}
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 98, 254, 0.5);
  box-shadow: var(--shadow-card-hover);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.link-card:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}

/* ---------- Estado vazio (intencional e compacto) ---------- */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px var(--space-4) 6px;
}
.empty-art { flex: 0 0 auto; }
.empty-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 14px 0 6px;
  max-width: 26ch;
  text-wrap: balance;
}
.empty-sub {
  font-size: 14.5px;
  color: var(--color-ink-muted);
  margin: 0;
}

/* ---------- Rodapé deliberado ---------- */
.footer { margin-top: 56px; padding-bottom: var(--space-2); }
.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(10, 30, 64, 0.12), rgba(10, 30, 64, 0));
  margin-bottom: 18px;
}
.footer-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  max-width: 56ch;
  margin: 0 0 var(--space-2);
}
.footer-copy {
  font-size: 12.5px;
  color: var(--color-ink-muted);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* ---------- Aparência progressiva (reveal) ----------
   Escondido SOMENTE quando o JS está presente (.js) — sem JavaScript o
   conteúdo permanece sempre visível; com reduced-motion nunca chega a esconder. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
    transition-delay: min(calc(var(--i, 0) * 55ms), 420ms);
  }
  /* transform só no estado pré-reveal — revelado fica sem transform,
     para não suprimir a elevação de hover/foco (especificidade 0,3,0 > 0,2,0) */
  .js [data-reveal]:not(.revealed) { transform: translateY(12px); }
  .js [data-reveal].revealed {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ≥768px: escala, não centro ---------- */
@media (min-width: 768px) {
  body { padding: 0 clamp(32px, 6vw, 56px); }
  .brand-head { padding-top: 30px; }
  .hero { padding-top: 44px; }
  .link-card { padding: 18px 22px; gap: var(--space-4); }
  .link-icon { margin-top: 3px; }
  .link-go { margin-top: 13px; }
  .links { gap: 14px; margin-top: 28px; }
  .footer { margin-top: 72px; }
  .bg-aurora--1 { width: 720px; height: 720px; top: -220px; right: -180px; }
  .bg-aurora--2 { width: 620px; height: 620px; left: -240px; }
}

/* ---------- ≥1024px: presença do fundo, coluna refinada ---------- */
@media (min-width: 1024px) {
  :root { --wrap: 680px; }
  body { padding: 0 clamp(48px, 8vw, 96px); }
  .bg-grid { background-size: 52px 52px; }
}

/* ---------- ≤359px: apertado, sem compressão ---------- */
@media (max-width: 359px) {
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 15.5px; }
  .link-icon { width: 46px; height: 46px; border-radius: 13px; }
  .link-icon svg { width: 21px; height: 21px; }
  .link-title { font-size: 16px; }
  .link-desc { font-size: 14px; }
  .link-go { width: 30px; height: 30px; }
  .chip-official { font-size: 11.5px; padding: 6px 10px 6px 8px; }
  .trust-item { font-size: 12.5px; }
}

/* =========================================================
   P1 — Páginas institucionais (/sobre, /institucional, /contato)
   Seção 100% aditiva: reutiliza exclusivamente os tokens acima
   (mesmas cores, tipografia, raios, sombras e vidro). Nada aqui
   afeta a homepage; o rodapé ganha apenas .footer-nav.
   ========================================================= */

/* ---------- Cabeçalho: marca e chip viciados em link ---------- */
.brand-link, .brand-link:hover { text-decoration: none; }
.brand-link:focus-visible { outline-offset: 6px; border-radius: 6px; }
a.chip-link { text-decoration: none; }
a.chip-link:hover { text-decoration: none; }
a.chip-link .chip-official { transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
a.chip-link:hover .chip-official { background: linear-gradient(180deg, rgba(211, 227, 253, 0.95), rgba(200, 224, 251, 0.95)); }
a.chip-link:active .chip-official { transform: scale(0.98); }

/* ---------- Hero da página ---------- */
.page-hero { padding-top: 34px; }
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(27px, 7vw, 38px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
}
.page-lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-ink-secondary);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- Seções editoriais ---------- */
.page-section { margin-top: var(--space-7); }
.section-title {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.014em;
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
}
.section-p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink-secondary);
  margin: 0 0 var(--space-3);
  max-width: 52ch;
  text-wrap: pretty;
}
.section-p:last-child { margin-bottom: 0; }
.section-helper {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-ink-muted);
  margin: calc(var(--space-2) * -1) 0 var(--space-4);
}

/* ---------- Pilares / princípios ---------- */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
}
.pillar-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
}
.pillar-body { min-width: 0; }
.pillar-title {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.008em;
  color: var(--color-ink);
  margin: 0;
}
.pillar-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-ink-secondary);
  margin: 3px 0 0;
}

/* ---------- Nota de fechamento ---------- */
.page-closing {
  margin-top: var(--space-7);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-primary-tint);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(232, 240, 254, 0.65), rgba(232, 240, 254, 0.35));
}
.page-closing p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-primary-strong);
  font-weight: 500;
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---------- Nav institucional no rodapé (homepage + páginas) ---------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.footer-nav a {
  color: var(--color-ink-muted);
  font-weight: 500;
}
.footer-nav a:hover { color: var(--color-primary-strong); }

/* ---------- Responsivo das páginas institucionais ---------- */
@media (min-width: 768px) {
  .page-hero { padding-top: 48px; }
  .page-section { margin-top: var(--space-8); }
  .section-title { font-size: 22px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 14px; }
  .page-closing { padding: var(--space-5) var(--space-6); }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 359px) {
  .page-title { font-size: 25px; }
  .page-lead { font-size: 15.5px; }
  .pillar-icon { width: 40px; height: 40px; border-radius: 12px; }
}
