/* =========================================================================
   EMPREENDEDOR CRISTÃO — Design System
   "Editorial Sanctuary": parchment cream, ink navy, brass gold.
   Fraunces (display) + Manrope (body) + JetBrains Mono (numerals/labels).
   ========================================================================= */

/* ---------- Tokens ------------------------------------------------------- */

:root {
  /* Surfaces */
  --paper:        #F4ECDB;
  --paper-2:      #FBF7EC;
  --paper-3:      #ECE2CA;
  --paper-warm:   #E9DDC2;

  /* Inks — navy mais azulado, alinhado ao logotipo atual */
  --ink:          #0B1B3A;
  --ink-2:        #15264A;
  --ink-soft:     #4A5466;
  --ink-faint:    #7A8294;

  /* Accents — dourado khaki do logotipo original */
  --brass:        #B89A5C;
  --brass-2:      #D4BD86;
  --brass-3:      #8C7338;
  --clay:         #A8512E;
  --moss:         #4F6B3F;
  --berry:        #7C3346;

  /* Lines & shadows */
  --line:         rgba(15, 26, 40, 0.14);
  --line-soft:    rgba(15, 26, 40, 0.06);
  --line-strong:  rgba(15, 26, 40, 0.32);
  --shadow-sm:    0 1px 2px rgba(15, 26, 40, 0.06), 0 1px 4px rgba(15, 26, 40, 0.04);
  --shadow-md:    0 4px 16px rgba(15, 26, 40, 0.08), 0 2px 6px rgba(15, 26, 40, 0.04);
  --shadow-lg:    0 24px 60px -16px rgba(15, 26, 40, 0.20), 0 8px 24px -8px rgba(15, 26, 40, 0.12);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spatial */
  --container:    1280px;
  --container-wide: 1440px;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;
  --radius-pill:  999px;

  /* Easing */
  --ease-out:     cubic-bezier(.22, 1, .36, 1);
  --ease-in-out:  cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(900px 600px at 12% -10%, rgba(182, 138, 78, 0.10), transparent 60%),
    radial-gradient(800px 500px at 100% 8%, rgba(168, 81, 46, 0.06), transparent 60%);
  background-attachment: fixed;
  font-feature-settings: "ss01", "ss02", "cv11";
}

img, svg, video { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Typography helpers ------------------------------------------ */

.display {
  font-family: var(--font-display);
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display em, .display i {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--brass-3);
}

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss03"; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  flex: none;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow .num {
  color: var(--brass);
  font-weight: 600;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-3);
  letter-spacing: 0.12em;
}

/* Headline sizes (clamped, responsive) */
.h-xxl { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 7vw, 112px); line-height: 0.96; letter-spacing: -0.025em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.h-xl  { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.h-lg  { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 120, "SOFT" 30; }
.h-md  { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.015em; font-variation-settings: "opsz" 60, "SOFT" 30; }
.h-sm  { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.h-xxl em, .h-xl em, .h-lg em, .h-md em, .h-sm em { font-style: italic; color: var(--brass-3); }
.h-xxl i, .h-xl i, .h-lg i, .h-md i { font-style: italic; color: var(--brass-3); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-3);
}

.balanced { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- Layout primitives ------------------------------------------- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: 28px; }
.container-narrow { width: 100%; max-width: 880px; margin-inline: auto; padding-inline: 28px; }

@media (max-width: 720px) {
  .container, .container-wide, .container-narrow { padding-inline: 20px; }
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 144px);
}
.section--lg { padding-block: clamp(96px, 12vw, 180px); }
.section--sm { padding-block: clamp(48px, 6vw, 80px); }

.section-divider {
  height: 1px;
  background: var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row   { display: flex; flex-direction: row; gap: var(--gap, 16px); }
.row.wrap { flex-wrap: wrap; }
.row.center { align-items: center; }
.row.between { justify-content: space-between; }

.grid { display: grid; gap: var(--gap, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Dark/inverted section */
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .lead { color: rgba(244, 236, 219, 0.74); }
.section--dark .eyebrow { color: rgba(244, 236, 219, 0.7); }
.section--dark .eyebrow::before { background: rgba(244, 236, 219, 0.45); }
.section--dark .h-xxl em, .section--dark .h-xl em, .section--dark .h-lg em, .section--dark .h-md em,
.section--dark .h-xxl i, .section--dark .h-xl i, .section--dark .h-lg i, .section--dark .h-md i,
.section--dark .display em, .section--dark .display i { color: var(--brass-2); }

/* ---------- Header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 236, 219, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

/* Logotipo oficial — lâmpada com cruz + "EMPREENDEDOR CRISTÃO" */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.logo img {
  display: block;
  height: 40px;
  width: auto;
  /* invert white logo to ink on light backgrounds */
  filter: brightness(0) saturate(100%) invert(8%) sepia(45%) saturate(2000%) hue-rotate(208deg) brightness(95%) contrast(95%);
}
.logo.is-light img {
  filter: none; /* logo branco original, fundo escuro */
}
.logo.is-brass img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(36%) saturate(434%) hue-rotate(11deg) brightness(94%) contrast(86%);
}
@media (max-width: 720px) {
  .logo img { height: 32px; }
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  position: relative;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color .2s var(--ease-out), background .2s var(--ease-out);
}
.nav a:hover { background: rgba(15,26,40,0.05); }
.nav a.active { color: var(--brass-3); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--brass);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

@media (max-width: 1024px) {
  .nav, .header-actions .desktop-only { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
  }
  .menu-toggle svg { width: 18px; height: 18px; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  padding: 28px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu nav a em { color: var(--brass-3); font-style: italic; }

/* ---------- Footer ------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 32px;
  margin-top: 0;
}
.site-footer .grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1000px) {
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer .grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(244, 236, 219, 0.78); transition: color .2s; font-size: 14.5px; }
.site-footer a:hover { color: var(--paper); }

.site-footer .brand-block .display {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.site-footer .brand-block .display em { color: var(--brass-2); font-style: italic; }
.site-footer .brand-block p {
  margin-top: 16px;
  color: rgba(244, 236, 219, 0.7);
  max-width: 36ch;
  font-size: 14.5px;
}

.site-footer .newsletter input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 236, 219, 0.4);
  padding: 12px 0;
  color: var(--paper);
  outline: none;
}
.site-footer .newsletter input:focus { border-bottom-color: var(--brass-2); }
.site-footer .newsletter button {
  margin-top: 16px;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass-2);
  border-bottom: 1px solid var(--brass);
  align-self: flex-start;
}
.site-footer .newsletter button:hover { color: var(--paper); }

.site-footer__base {
  border-top: 1px solid rgba(244, 236, 219, 0.14);
  margin-top: 64px;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12.5px;
  color: rgba(244, 236, 219, 0.5);
}
.site-footer__base a { font-size: 12.5px; }
.site-footer .socials { display: flex; gap: 12px; }
.site-footer .socials a {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(244, 236, 219, 0.24);
  border-radius: 50%;
  transition: all .2s var(--ease-out);
}
.site-footer .socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.site-footer .socials svg { width: 16px; height: 16px; }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ink      { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }

.btn--brass    { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-3); color: var(--paper); }

.btn--ghost    { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(244, 236, 219, 0.3); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 17px 28px; font-size: 15.5px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: all .2s var(--ease-out);
}
.btn-link:hover { color: var(--brass-3); border-bottom-color: var(--brass); }
.btn-link svg { width: 12px; height: 12px; transition: transform .2s var(--ease-out); }
.btn-link:hover svg { transform: translateX(3px); }

/* ---------- Badges & chips ---------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-soft);
  white-space: nowrap;
}
.badge--brass { background: rgba(182, 138, 78, 0.14); color: var(--brass-3); border-color: rgba(182, 138, 78, 0.32); }
.badge--ink   { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.badge--clay  { background: rgba(168, 81, 46, 0.14); color: var(--clay); border-color: rgba(168, 81, 46, 0.3); }
.badge--moss  { background: rgba(79, 107, 63, 0.14); color: var(--moss); border-color: rgba(79, 107, 63, 0.3); }
.badge--ghost { background: transparent; border-color: var(--line); }
.badge--dot::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  transition: all .2s var(--ease-out);
  white-space: nowrap;
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .count { color: var(--ink-faint); font-family: var(--font-mono); font-size: 11px; }
.chip.active .count { color: var(--brass-2); }

/* ---------- Forms ------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15,26,40,0.08);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.textarea { resize: vertical; min-height: 120px; }

.search {
  position: relative;
}
.search input {
  padding-left: 48px;
}
.search svg {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-soft);
  pointer-events: none;
}

.check {
  display: inline-flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; }

/* ---------- Marquee ----------------------------------------------------- */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid rgba(140, 115, 56, 0.3);
  background: linear-gradient(180deg, #B89A5C 0%, #A98948 100%);
  color: var(--ink);
  padding-block: 22px;
}
.marquee--paper {
  background: var(--paper);
  color: var(--ink);
}
.marquee--ink {
  background: var(--ink);
  color: var(--paper);
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variation-settings: "opsz" 120, "SOFT" 40;
}
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.marquee__track em { font-style: italic; color: var(--ink); font-weight: 600; }
.marquee--paper .marquee__track em { color: var(--brass-3); }
.marquee--ink .marquee__track em { color: var(--brass-2); }
.marquee .dot { background: var(--ink); }
.marquee--ink .dot { background: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Cards: company, post, event --------------------------------- */

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink-soft); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media .overlay {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.card__media .corner {
  position: absolute; top: 14px; right: 14px;
}
.card__body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.card__body .meta {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.card__body .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.card__body .desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.card__body .footer {
  margin-top: 6px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card__body .footer .arrow svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.card:hover .card__body .footer .arrow svg { transform: translateX(4px); color: var(--brass-3); }

/* Company card — slightly different feel */
.company-card .card__media { aspect-ratio: 16 / 11; }
.company-card .row-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.company-card .row-cats .badge { background: transparent; border-color: var(--line); }
.company-card .where {
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
}
.company-card .where svg { width: 13px; height: 13px; }

/* ---------- Hero patterns ---------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(72px, 8vw, 128px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero__lead {
  display: flex; flex-direction: column; gap: 24px;
}
.hero__lead .h-xxl { max-width: 14ch; }
.hero__lead .lead { max-width: 44ch; }
.hero__art {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .stat-card {
  position: absolute;
  left: -28px; bottom: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  max-width: 260px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-md);
}
.hero__art .stat-card .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.hero__art .stat-card .lbl {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
@media (max-width: 540px) {
  .hero__art .stat-card { left: 16px; right: 16px; max-width: none; }
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__people {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.hero__people .stack-imgs { display: inline-flex; }
.hero__people .stack-imgs img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  object-fit: cover;
  margin-left: -10px;
}
.hero__people .stack-imgs img:first-child { margin-left: 0; }
.hero__people .text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.hero__people .text strong { color: var(--ink); font-weight: 700; }

/* ---------- Pillars (4 cards: propósito, comunidade, etc.) -------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  position: relative;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.pillar:last-child { border-right: 0; }
.pillar .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass-3);
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.pillar h3 em { color: var(--brass-3); font-style: italic; }
.pillar p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(odd) { border-right: 1px solid var(--line); }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Benefits list (membros/apoiadores) -------------------------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.benefit {
  position: relative;
  padding: 32px 28px 36px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper-2);
}
.benefit:nth-child(3n) { border-right: 0; }
.benefit__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--brass);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
}
.benefit h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.benefit p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3n) { border-right: 1px solid var(--line); }
  .benefit:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: 0 !important; }
}

/* ---------- Plan / pricing table --------------------------------------- */

.plan {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.plan--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan--feature .ink-soft { color: rgba(244, 236, 219, 0.7); }
.plan__name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-3);
  margin-bottom: 12px;
}
.plan--feature .plan__name { color: var(--brass-2); }
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-block: 8px 6px;
}
.plan__price .currency {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.plan__price .amount {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price .period {
  font-size: 14px;
  color: var(--ink-soft);
}
.plan--feature .plan__price .period { color: rgba(244, 236, 219, 0.7); }
.plan__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.plan__features { display: flex; flex-direction: column; gap: 12px; margin-block: 24px 28px; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.plan__features li svg {
  flex: none;
  width: 16px; height: 16px; margin-top: 3px;
  color: var(--brass);
}
.plan--feature .plan__features li svg { color: var(--brass-2); }

.plan__toggle {
  display: inline-flex;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 16px;
}
.plan__toggle button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: all .2s;
}
.plan__toggle button.active { background: var(--ink); color: var(--paper); }

/* ---------- Testimonials ----------------------------------------------- */

.tt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 760px) { .tt-grid { grid-template-columns: 1fr; } }
.tt {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.tt::before {
  content: "“";
  position: absolute;
  top: 14px; right: 28px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--brass);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  pointer-events: none;
}
.tt__quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.tt__quote em { font-style: italic; color: var(--brass-3); }
.tt__author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.tt__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tt__author .name { font-weight: 600; font-size: 15px; }
.tt__author .role { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- FAQ Accordion ---------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 26px 0;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  transition: color .2s;
}
.faq__btn:hover { color: var(--brass-3); }
.faq__btn .ic {
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid; place-items: center;
  transition: all .25s var(--ease-out);
  background: var(--paper-2);
}
.faq__btn .ic svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.faq__btn[aria-expanded="true"] .ic { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq__btn[aria-expanded="true"] .ic svg { transform: rotate(45deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq__panel[data-open="true"] { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 70ch;
  padding-bottom: 26px;
  line-height: 1.6;
}

/* ---------- Supporters strip ------------------------------------------- */

.supporters {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.supporters .supp {
  position: relative;
  padding: 28px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  transition: all .25s var(--ease-out);
  text-align: center;
  line-height: 1.1;
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
}
.supporters .supp:last-child { border-right: 0; }
.supporters .supp:hover { color: var(--brass-3); background: var(--paper-2); }
@media (max-width: 960px) {
  .supporters { grid-template-columns: repeat(4, 1fr); }
  .supporters .supp:nth-child(4n) { border-right: 0; }
  .supporters .supp:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .supporters { grid-template-columns: repeat(2, 1fr); }
  .supporters .supp:nth-child(4n) { border-right: 1px solid var(--line); }
  .supporters .supp:nth-child(2n) { border-right: 0; }
  .supporters .supp:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Idealizador / spotlight ------------------------------------ */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.spotlight__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spotlight__art img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__art .tag {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Stats row -------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
.stat {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat .num em { color: var(--brass-3); font-style: italic; }
.stat .lbl {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Vitrine: filters + grid ------------------------------------ */

.vitrine-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
@media (max-width: 880px) { .vitrine-head { grid-template-columns: 1fr; } }

.vitrine-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  padding: 6px;
  align-items: center;
}
.vitrine-search .search { flex: 1; }
.vitrine-search input {
  background: transparent;
  border: 0;
  padding: 14px 18px 14px 48px;
}
.vitrine-search input:focus { box-shadow: none; }
.vitrine-search .select {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding-left: 18px;
  max-width: 200px;
}
.vitrine-search .select:focus { box-shadow: none; }
.vitrine-search .btn { padding: 12px 22px; }

.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}

.vitrine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .vitrine-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vitrine-grid { grid-template-columns: 1fr; } }

.results-count {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

/* Cat chip block */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
.cat-cell {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.cat-cell:hover { background: var(--ink); color: var(--paper); }
.cat-cell:hover .count { color: var(--brass-2); }
.cat-cell .name { font-weight: 500; }
.cat-cell .count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.cat-cell:last-child { border-right: 0; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-cell { border-bottom: 1px solid var(--line); }
  .cat-cell:nth-child(3n) { border-right: 0; }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .cat-cell:nth-child(2n) { border-right: 0; }
}

/* ---------- Empresa detalhe -------------------------------------------- */

.empresa-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .empresa-hero { grid-template-columns: 1fr; } }
.empresa-hero .logo-art {
  aspect-ratio: 1 / 1;
  background: var(--paper-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.empresa-hero .logo-art img { width: 100%; height: 100%; object-fit: cover; }
.empresa-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; }

.empresa-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}
@media (max-width: 880px) { .empresa-info-grid { grid-template-columns: 1fr; } }
.info-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.info-box h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.info-box .item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.info-box .item:first-child { border-top: 0; padding-top: 0; }
.info-box .item svg { flex: none; width: 16px; height: 16px; color: var(--brass-3); margin-top: 3px; }
.info-box .item .label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.info-box .item .value { font-size: 14.5px; color: var(--ink); margin-top: 1px; }

.weekly-hours { display: flex; flex-direction: column; gap: 6px; }
.weekly-hours li {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.weekly-hours li:last-child { border-bottom: 0; }
.weekly-hours .day { color: var(--ink-soft); text-transform: uppercase; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; }
.weekly-hours .hour { color: var(--ink); }
.weekly-hours .hour--closed { color: var(--ink-faint); }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 180px;
  gap: 8px;
}
.gallery > a { overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery > a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery > a:hover img { transform: scale(1.06); }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery > a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

.share-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: all .2s;
}
.share-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share-btn svg { width: 14px; height: 14px; }

/* ---------- Blog ------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 880px) { .post-featured { grid-template-columns: 1fr; } }
.post-featured img {
  aspect-ratio: 16 / 11;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.post-body p { margin-block: 22px; }
.post-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 32px; margin-top: 56px; margin-bottom: 18px; line-height: 1.2; letter-spacing: -0.015em; }
.post-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-top: 36px; margin-bottom: 14px; }
.post-body blockquote {
  border-left: 3px solid var(--brass);
  padding-left: 24px;
  margin-block: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings: "opsz" 100, "SOFT" 100;
}
.post-body ul, .post-body ol { padding-left: 24px; margin-block: 22px; }
.post-body ul li { list-style: disc; margin-block: 8px; }
.post-body ol li { list-style: decimal; margin-block: 8px; }
.post-body a { color: var(--brass-3); border-bottom: 1px solid var(--brass); }
.post-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Eventos ---------------------------------------------------- */

.event-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.event-row:hover { background: var(--paper-2); padding-left: 16px; padding-right: 16px; }
.event-row .date-block {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
}
.event-row .date-block .d { font-size: 38px; letter-spacing: -0.03em; }
.event-row .date-block .m { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-3); margin-top: 4px; }
.event-row .title-block .kicker { margin-bottom: 6px; }
.event-row .title-block h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.event-row .loc { font-size: 14.5px; color: var(--ink-soft); }
.event-row .when { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 880px) {
  .event-row { grid-template-columns: 70px 1fr; row-gap: 6px; }
  .event-row .loc, .event-row .when, .event-row .btn-link { grid-column: 2; }
}

/* ---------- Painel / Admin sidebar layouts ------------------------------ */

.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } }

.app-sidebar {
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  background: var(--paper-2);
}
.app-sidebar .small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 24px 0 10px;
}
.app-sidebar nav { display: flex; flex-direction: column; }
.app-sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  transition: all .2s;
}
.app-sidebar nav a svg { width: 16px; height: 16px; color: var(--ink-soft); }
.app-sidebar nav a:hover { background: var(--paper-3); }
.app-sidebar nav a.active { background: var(--ink); color: var(--paper); }
.app-sidebar nav a.active svg { color: var(--brass-2); }

.app-main { padding: 36px 40px; }
@media (max-width: 700px) { .app-main { padding: 24px; } }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 6px;
}
.kpi .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.kpi .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.kpi .trend {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 12px;
  font-family: var(--font-mono);
}
.kpi .trend.up { color: var(--moss); }
.kpi .trend.down { color: var(--clay); }
.kpi--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kpi--feature .lbl { color: var(--brass-2); }

/* Tables (admin) */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  text-align: left;
  padding: 14px 18px;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 14px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(15,26,40,0.02); }

/* Status pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.pill.ok { background: rgba(79,107,63,0.14); color: var(--moss); }
.pill.warn { background: rgba(182,138,78,0.14); color: var(--brass-3); }
.pill.fire { background: rgba(168,81,46,0.14); color: var(--clay); }
.pill.ink { background: var(--ink); color: var(--paper); }
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* ---------- Misc & feature blocks --------------------------------------- */

.feature-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}
@media (max-width: 800px) { .feature-banner { grid-template-columns: 1fr; } }
.feature-banner__art {
  position: relative;
  background-size: cover; background-position: center;
}
.feature-banner__body {
  padding: 56px;
  display: flex; flex-direction: column; gap: 18px;
  justify-content: center;
}
@media (max-width: 600px) { .feature-banner__body { padding: 32px; } }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(0);
  transition: transform .4s var(--ease-out), opacity .4s;
}
.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; min-width: 240px; color: rgba(244,236,219,0.85); }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Floating WhatsApp */
.fab-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease-out);
}
.fab-wa:hover { transform: scale(1.06); background: var(--brass-3); color: var(--paper); }
.fab-wa svg { width: 24px; height: 24px; }

/* ---------- Auth pages -------------------------------------------------- */

.auth-shell {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-shell .auth-aside { display: none; }
}
.auth-aside {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-aside .display { font-size: clamp(40px, 4.6vw, 64px); }
.auth-aside .display em { color: var(--brass-2); }
.auth-aside::after {
  content: ""; position: absolute;
  inset: 0;
  background-image: radial-gradient(700px 500px at 20% 110%, rgba(212, 181, 126, 0.16), transparent 60%);
  pointer-events: none;
}
.auth-form-wrap { padding: 56px 48px; display: grid; place-items: center; }
.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.05; }
.auth-form .sub { color: var(--ink-soft); margin-top: 8px; margin-bottom: 28px; }

/* ---------- Animations -------------------------------------------------- */

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: reveal-up .9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; animation: none; } }

/* ---------- Utilities --------------------------------------------------- */

.text-ink { color: var(--ink); }
.text-soft { color: var(--ink-soft); }
.text-brass { color: var(--brass-3); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.hairline-top { border-top: 1px solid var(--line); }
.hairline-bottom { border-bottom: 1px solid var(--line); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; }
.flex-1 { flex: 1; }
.center { text-align: center; }
.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none; } }
.only-mobile { display: none; }
@media (max-width: 720px) { .only-mobile { display: block; } }

/* ---------- Tabs (horizontal scroll) ----------------------------------- */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.tabs::-webkit-scrollbar { height: 4px; }
.tab {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--brass); font-weight: 600; }

/* ---------- Empty state -------------------------------------------------- */
.empty-state {
  padding: 64px 32px;
  text-align: center;
  background: var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.empty-state__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.empty-state p { color: var(--ink-soft); max-width: 44ch; margin: 8px auto 20px; font-size: 14.5px; line-height: 1.55; }

/* ---------- Alert banners ----------------------------------------------- */
.alert {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.alert .mark {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}
.alert--ok    { background: rgba(79,107,63,.08); border-color: rgba(79,107,63,.3); }
.alert--ok .mark    { background: var(--moss); color: var(--paper); }
.alert--warn  { background: rgba(182,138,78,.10); border-color: rgba(182,138,78,.36); }
.alert--warn .mark  { background: var(--brass); color: var(--ink); }
.alert--fire  { background: rgba(168,81,46,.10); border-color: rgba(168,81,46,.36); }
.alert--fire .mark  { background: var(--clay); color: var(--paper); }
.alert--ink   { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.alert--ink .mark   { background: var(--brass); color: var(--ink); }
.alert h4 { font-family: var(--font-display); font-size: 17px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.alert p  { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
.alert--ink p { color: rgba(244,236,219,.75); }

/* ---------- Two-col layout (form + sticky aside) ----------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }
.two-col aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .two-col aside { position: static; } }

/* ---------- Form sections ---------------------------------------------- */
.fs {
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fs + .fs { margin-top: 24px; }
.fs > h2 { margin-bottom: 4px; }
.fs > p.help { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.fs__grid { display: grid; gap: 20px; }
.fs__grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .fs__grid--2 { grid-template-columns: 1fr; } }

/* ---------- Aside sticky cards ---------------------------------------- */
.aside-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.aside-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.aside-card.dark p { color: rgba(244,236,219,.74); }
.aside-card h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.aside-card.dark h4 { color: var(--brass-2); }

/* ---------- Step indicator -------------------------------------------- */
.steps { display: flex; gap: 0; margin: 36px 0 32px; border-block: 1px solid var(--line); }
.step {
  flex: 1;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.step:last-child { border-right: 0; }
.step__n {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  background: var(--paper-3); color: var(--ink-soft);
}
.step__lbl { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.step.is-current { background: var(--paper-2); }
.step.is-current .step__n { background: var(--ink); color: var(--paper); }
.step.is-current .step__lbl { color: var(--ink); font-weight: 600; }
.step.is-done .step__n { background: var(--brass); color: var(--ink); }
.step.is-done .step__lbl { color: var(--ink); }

/* ---------- Card list (for admin tables alternative) ------------------ */
.list-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: rgba(15,26,40,0.02); }
.list-row strong { font-weight: 600; font-size: 15px; }
.list-row .sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- Pricing toggle (checkout selectable) ----------------------- */
.opt-card {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.opt-card:hover { border-color: var(--ink-soft); }
.opt-card.is-selected { border-color: var(--ink); background: var(--paper-2); box-shadow: var(--shadow-md); }
.opt-card .check-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
}
.opt-card.is-selected .check-circle { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.opt-card .check-circle svg { display: none; }
.opt-card.is-selected .check-circle svg { display: block; }
.opt-card .title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.opt-card .desc { color: var(--ink-soft); font-size: 13.5px; margin-top: 4px; }
.opt-card .right { text-align: right; }
.opt-card .price { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.opt-card .save { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-3); }

/* ---------- Receipt summary -------------------------------------------- */
.receipt {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.receipt h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 12px; }
.receipt .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: rgba(244,236,219,.78); }
.receipt .row.total { border-top: 1px solid rgba(244,236,219,.18); margin-top: 8px; padding-top: 14px; font-size: 17px; color: var(--paper); font-weight: 600; }
.receipt .row.total span:last-child { font-family: var(--font-display); font-size: 22px; }

/* ---------- Article (legal pages) ------------------------------------- */
.article-toc {
  position: sticky; top: 96px;
  font-size: 13.5px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.article-toc h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.article-toc a {
  display: block; padding: 6px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.article-toc a:hover { color: var(--ink); }

/* ---------- Modal ------------------------------------------------------ */
.modal-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}

/* <dialog> nativo (CSS-only fallback) */
dialog.share-modal {
  border: 0;
  background: transparent;
  padding: 0;
  max-width: 92vw;
  width: 480px;
}
dialog.share-modal::backdrop {
  background: rgba(15, 26, 40, 0.55);
  backdrop-filter: blur(4px);
}
dialog.share-modal:target,
dialog.share-modal[open] { display: block; }
/* :target fallback so <a href="#share-qr"> works without JS */
.share-modal:target {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
}
.share-modal:target::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 40, 0.55);
  z-index: -1;
}

/* ---------- Inline KPI row (lightweight) ------------------------------- */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}
.metrics-strip .m {
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.metrics-strip .m:last-child { border-right: 0; }
.metrics-strip .m .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.metrics-strip .m .num { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
@media (max-width: 800px) {
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .metrics-strip .m:nth-child(2n) { border-right: 0; }
}

/* ---------- Block library palette (CMS) ------------------------------- */
.block-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 880px) { .block-grid { grid-template-columns: repeat(2, 1fr); } }
.block-tile {
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink);
  cursor: grab;
}
.block-tile:hover { border-color: var(--brass); color: var(--brass-3); }

/* ---------- Side nav (perfil/configurações) --------------------------- */
.side-nav {
  display: flex; flex-direction: column;
}
.side-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: all .15s;
  display: flex; gap: 10px; align-items: center;
}
.side-nav a:hover { background: var(--paper-3); color: var(--ink); }
.side-nav a.is-active { background: var(--ink); color: var(--paper); }
.side-nav a.is-active svg { color: var(--brass-2); }

/* ---------- Dot list (status with leading dot) ------------------------ */
.dotted li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.dotted li:last-child { border-bottom: 0; }
.dotted li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass); margin-top: 8px;
  flex: none;
}

/* ---------- Tag chips (read-only) ------------------------------------- */
.tag-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  color: var(--ink);
}
.tag-chip .count { color: var(--ink-faint); }

/* ---------- Selo preview ---------------------------------------------- */
.seal {
  width: 240px; height: 240px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--paper-2), var(--paper-warm) 70%);
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  text-align: center;
}
.seal .label-top {
  position: absolute; top: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--brass-3);
}
.seal .name {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 44px; line-height: 1; color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -.03em;
}
.seal .sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-top: 8px;
}
.seal::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.seal.dark { background: radial-gradient(circle at 50% 30%, var(--ink-2), var(--ink) 70%); }
.seal.dark .name { color: var(--paper); }
.seal.dark .sub { color: var(--brass-2); }
.seal.dark .label-top { color: var(--brass-2); }

