@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ZillaSlab-normal-600.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ZillaSlab-normal-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Source Sans 3';font-style:italic;font-weight:400 700;font-display:swap;src:url(/assets/fonts/SourceSans3-italic-400-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/SourceSans3-normal-400-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Pitch & Pack: mapa de trilha. Tokens, base, componentes. (fonts.css e concatenado antes pelo build) */
:root {
  --sand: #E8DDBF; --paper: #F3ECD7; --ink: #1B3A2A; --pine: #2E6B45; --ember: #C2410C; --ember-deep: #9A3412;
  --flame: #F08A24; --lake: #1F5F7D;
  --bg: var(--sand); --surface: var(--paper); --text: #1B3A2A; --muted: #475D50; --line: #C7BA94; --line-strong: #1B3A2A;
  --link: #24593A; --focus: #1F5F7D;
  --btn-bg: #C2410C; --btn-bg-hover: #9A3412; --btn-text: #FFFFFF;
  --band: #1B3A2A; --band-text: #EDE6D0; --band-muted: #BFC8B6; --band-line: rgba(237,230,208,.28);
  --contour: rgba(46,107,69,.17); --contour-band: rgba(237,230,208,.11);
  --ring: #2E6B45; --ring-accent: #C2410C;
  --err: #9A1B1B; --ok: #24593A;
  --scrim: linear-gradient(to top, rgba(12,28,19,.88), rgba(12,28,19,.55) 38%, rgba(12,28,19,0) 72%);
  --font-head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 4px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .23 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121C16; --surface: #1B2A21; --text: #EDE6D0; --muted: #B7BDA9; --line: #34483B; --line-strong: #EDE6D0;
    --link: #8FD3A6; --focus: #F08A24;
    --btn-bg: #FF8A4C; --btn-bg-hover: #FFA672; --btn-text: #121C16;
    --band: #0D1611; --band-text: #EDE6D0; --band-muted: #AEB5A3; --band-line: rgba(237,230,208,.22);
    --contour: rgba(237,230,208,.08); --contour-band: rgba(237,230,208,.08);
    --ring: #8FD3A6; --ring-accent: #FF8A4C;
    --err: #FF9C94; --ok: #8FD3A6;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .blaze { background: var(--blaze-dark); }
}
:root[data-theme="dark"] {
  --bg: #121C16; --surface: #1B2A21; --text: #EDE6D0; --muted: #B7BDA9; --line: #34483B; --line-strong: #EDE6D0;
  --link: #8FD3A6; --focus: #F08A24;
  --btn-bg: #FF8A4C; --btn-bg-hover: #FFA672; --btn-text: #121C16;
  --band: #0D1611; --band-text: #EDE6D0; --band-muted: #AEB5A3; --band-line: rgba(237,230,208,.22);
  --contour: rgba(237,230,208,.08); --contour-band: rgba(237,230,208,.08);
  --ring: #8FD3A6; --ring-accent: #FF8A4C;
  --err: #FF9C94; --ok: #8FD3A6;
  color-scheme: dark;
}
:root[data-theme="dark"] .blaze { background: var(--blaze-dark); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background-color: var(--bg); background-image: var(--grain); color: var(--text);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; overflow-wrap: break-word;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; display: block; }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--ink); color: var(--sand); padding: .6rem 1rem; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: .5rem; }
.topo { position: relative; isolation: isolate; }
.topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--contour); pointer-events: none;
  -webkit-mask: url(/assets/svg/contours.svg) center / cover no-repeat; mask: url(/assets/svg/contours.svg) center / cover no-repeat; }
.blaze { display: inline-block; width: .42em; height: 1.08em; background: var(--blaze-light); border-radius: 1px; margin-right: .5em; vertical-align: -.16em; flex: none; }

/* ---------- botoes e chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 3px;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; background: var(--btn-bg); color: var(--btn-text); border: 2px solid var(--btn-bg); cursor: pointer; }
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-light { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-small { padding: .5rem .9rem; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chip { font: 600 1rem/1.2 var(--font-body); padding: .5rem .95rem; border: 2px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.chip:hover { background: color-mix(in srgb, var(--text) 10%, transparent); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--text); color: var(--bg); }

/* ---------- cabecalho ---------- */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.bar { display: flex; align-items: center; gap: 1.25rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); font: 700 1.55rem/1 var(--font-head); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand svg { width: 38px; height: 38px; border-radius: 9px; }
.brand .amp { color: var(--ember); }
:root[data-theme="dark"] .brand .amp { color: var(--flame); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .amp { color: var(--flame); } }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { color: var(--text); font-weight: 600; text-decoration: none; padding: .35rem 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.theme-toggle, .nav-toggle { font: 600 .95rem/1 var(--font-body); background: transparent; color: var(--text); border: 2px solid var(--line-strong); border-radius: 999px; padding: .5rem .8rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.theme-toggle:hover, .nav-toggle:hover { background: var(--text); color: var(--bg); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.nav-toggle { display: none; }
.legend { background: var(--surface); border-top: 1px solid var(--line); }
.legend ul { display: flex; gap: .4rem 1.6rem; margin: 0; padding: .5rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.legend ul::-webkit-scrollbar { display: none; }
.legend a { display: inline-flex; align-items: center; white-space: nowrap; font-size: .94rem; font-weight: 600; text-decoration: none; color: var(--text); padding: .15rem 0; }
.legend a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.legend a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 3px; }
@media (max-width: 820px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; z-index: 50; }
  .js .site-header.nav-open .site-nav { display: flex; }
  .js .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-header { position: relative; }
  .site-nav { flex-wrap: wrap; gap: .5rem 1.1rem; }
  .bar { flex-wrap: wrap; }
}

/* ---------- Home ---------- */
.hero { padding-block: clamp(2.2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1.08fr .92fr; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.03; max-width: 14ch; }
.hero .lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 34ch; margin-top: 1.4rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1.8rem; }
.hero-art { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: url(#hero-blob); }
.hero-art .rings { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; pointer-events: none; overflow: visible; }
.rings path { fill: none; stroke: var(--ring); stroke-opacity: .5; stroke-width: .3; }
.rings path:nth-child(3n) { stroke: var(--ring-accent); stroke-opacity: .7; stroke-width: .42; }
@media (prefers-reduced-motion: no-preference) {
  .rings path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.3,.6,.2,1) forwards; animation-delay: calc(var(--i) * 120ms); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.hero-credit { position: absolute; right: 0; bottom: -2.1rem; margin: 0; font-size: .82rem; color: var(--muted); text-align: right; }
.hero-credit a { color: inherit; }
.trail { position: relative; }
.band { padding-block: clamp(2.5rem, 5vw, 4.2rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 52ch; }
.section-head .more { font-weight: 700; }
@media (min-width: 980px) {
  .trail::before { content: ""; position: absolute; left: max(14px, calc((100% - 1180px) / 2 - 22px)); top: 0; bottom: 0; border-left: 3px dashed var(--flame); opacity: .75; }
  .trail .stop h2 { position: relative; }
  .trail .stop h2::before { content: ""; position: absolute; left: -2.35rem; top: .3em; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 4px solid var(--ember); }
  .trail .stop .wrap { padding-left: 1.6rem; }
}
.preview { background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.3rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.75rem 3rem; }
.preview h2 { margin-bottom: .6rem; }
.preview p { color: var(--muted); }
.preview-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.5rem; align-content: start; }
.preview-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.25; }
.preview-list small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: .15rem; }
.preview .actions { margin-top: 1.2rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; min-height: 250px; display: flex; }
.tile:nth-child(-n+2) { grid-column: span 3; min-height: 330px; }
.tile:nth-child(n+3) { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.tile-body { position: relative; z-index: 1; align-self: flex-end; padding: 1.2rem 1.3rem 1.3rem; }
.tile h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tile h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.tile .blaze { background: var(--blaze-dark); }
.tile p { margin: .45rem 0 0; font-size: .98rem; color: #F1EEE2; max-width: 40ch; }
.tile:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.card:hover, .card:focus-within { border-color: var(--line-strong); }
.card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-cat { margin: 0; font-size: .92rem; font-weight: 600; display: flex; align-items: center; color: var(--muted); }
.card-title { font-size: 1.28rem; line-height: 1.17; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--ember); }
.card-sum { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.card-meta { margin: auto 0 0; padding-top: .5rem; font-size: .88rem; color: var(--muted); }
.research { background: var(--band); color: var(--band-text); }
.research h2, .research h3 { color: var(--band-text); }
.research a:not(.btn) { color: #fff; }
.research .section-head p { color: var(--band-muted); }
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pledge { padding: .2rem 2rem 0 0; margin-right: 2rem; border-right: 1px dashed var(--band-line); }
.pledge:last-child { border-right: 0; margin-right: 0; }
.pledge p { margin: .6rem 0 0; color: var(--band-muted); font-size: 1.02rem; }

/* ---------- paginas internas ---------- */
.crumbs { font-size: .92rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .1rem .5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); opacity: .6; }
.crumbs a { color: var(--muted); }
.page-head { padding-block: clamp(1.8rem, 4vw, 3.2rem) 1rem; }
.page-head .meta { color: var(--muted); margin: .9rem 0 0; font-size: 1rem; }
.page-head .lede { font-size: 1.25rem; color: var(--muted); max-width: 46ch; margin: 1rem 0 0; }
.page-body { padding-bottom: 3.5rem; }
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.68; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.1em; scroll-margin-top: 1.5rem; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--pine); }
.prose strong { font-weight: 700; }
.prose a { font-weight: 600; }
.prose blockquote { margin-left: 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--ember); }
.table-wrap { overflow-x: auto; margin-block: 1.4em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.4; min-width: 32rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); font-size: 1.02rem; background: color-mix(in srgb, var(--line) 55%, var(--surface)); }
.prose tr:last-child td { border-bottom: 0; }
.note, .example, .checklist { padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.note { border-left: 6px solid var(--lake); }
.example { border: 2px dashed var(--line-strong); }
.example::before { content: "Example"; display: block; font: 700 1.05rem/1 var(--font-head); margin-bottom: .6rem; }
.checklist { border-left: 6px solid var(--pine); }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin: .55em 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .26em; width: 1.05rem; height: 1.05rem; border: 2px solid var(--pine); border-radius: 3px; }
.note > :first-child, .example > :first-child, .checklist > :first-child { margin-top: 0; }
.note > :last-child, .example > :last-child, .checklist > :last-child { margin-bottom: 0; }
.cat-intro { max-width: 68ch; }
.cat-photo { margin: 1.6rem 0 0; }
.cat-photo img, .article-hero img { display: block; width: 100%; aspect-ratio: 16 / 7; max-height: 480px; object-fit: cover; border-radius: var(--radius); background: var(--line); }
figcaption { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
figcaption a { color: inherit; }
.cat-other { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.cat-other a { display: inline-flex; align-items: center; color: var(--text); font-weight: 600; }

/* ---------- artigo ---------- */
.article-head { padding-top: clamp(1.6rem, 3.5vw, 2.8rem); }
.article-head h1 { max-width: 28ch; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.article-head .dek { font-size: 1.28rem; color: var(--muted); max-width: 52ch; margin: 1rem 0 0; }
.byline { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; }
.byline a { color: inherit; }
.article-hero { margin: 1.6rem auto 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3.5rem; padding-top: 2rem; }
.toc { font-size: .98rem; }
.toc summary { cursor: pointer; font: 600 1.1rem var(--font-head); padding: .4rem 0; }
.toc ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.toc li { margin: .4rem 0; }
.toc a { color: var(--text); }
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: 250px minmax(0, 68ch); }
  .toc { position: sticky; top: 1.5rem; align-self: start; padding-right: 1rem; border-right: 1px dashed var(--line-strong); }
}
.article-after { max-width: calc(250px + 3.5rem + 68ch); padding-bottom: 3rem; }
.planner-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.5rem; align-items: center; background: var(--band); color: var(--band-text); padding: 1.5rem 1.7rem; border-radius: var(--radius); margin: 2.5rem 0; }
.planner-cta svg { width: 44px; height: 44px; color: var(--flame); }
.planner-cta h2 { font-size: 1.45rem; color: var(--band-text); }
.planner-cta p { margin: .3rem 0 0; color: var(--band-muted); }
.sources { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 2px dashed var(--line-strong); max-width: 68ch; }
.sources h2 { font-size: 1.5rem; }
.sources p { color: var(--muted); font-size: 1rem; }
.sources ul { padding-left: 1.2rem; font-size: 1rem; }
.sources li { margin: .6rem 0; }
.related { margin-top: 3rem; }
.related h2 { margin-bottom: 1.2rem; }

/* ---------- explorador ---------- */
.explorer-tools { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.search-box { display: flex; flex-direction: column; gap: .4rem; max-width: 34rem; }
label, legend { font-weight: 700; }
input[type="search"], input[type="text"], input[type="email"], input[type="number"], select, textarea {
  font: inherit; font-size: 1.05rem; color: var(--text); background: var(--surface); border: 2px solid var(--line-strong); border-radius: 3px; padding: .7rem .85rem; width: 100%; }
textarea { min-height: 10rem; resize: vertical; }
.result-count { color: var(--muted); margin: 0 0 1rem; }
.empty-state { padding: 2.2rem 1.4rem; background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
[hidden] { display: none !important; }

/* ---------- planner ---------- */
.planner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; margin-bottom: 3rem; }
.planner-form { background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: 1.2rem; position: sticky; top: 1rem; }
.planner-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner-form legend { padding: 0; margin-bottom: .5rem; font-family: var(--font-head); font-size: 1.15rem; }
.choices { display: grid; gap: .5rem; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; padding: .65rem .85rem; border: 2px solid var(--line); border-radius: 3px; background: var(--bg); font-weight: 600; line-height: 1.25; }
.choice small { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); }
.choice input:checked + span { border-color: var(--line-strong); box-shadow: inset 5px 0 0 var(--ember); background: var(--surface); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; margin-bottom: .35rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.out-head { display: grid; gap: .8rem; margin-bottom: 1.2rem; }
.out-head h2 { font-size: 1.7rem; }
.progress { margin: 0; font-weight: 700; }
.bar-track { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--pine); transition: width .25s; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.status-line { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .95rem; }
.cat-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem 1rem; margin-bottom: 1rem; break-inside: avoid; }
.cat-block h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .4rem; }
.cat-block h3 span { font: 400 .95rem var(--font-body); color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.item-row { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; padding: .6rem 0; cursor: pointer; align-items: start; font-weight: 400; }
.item-row input { width: 1.3rem; height: 1.3rem; margin: .22rem 0 0; accent-color: var(--pine); }
.item-name { font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.qty { font-weight: 600; color: var(--muted); font-size: .98rem; }
.badge { font: 700 .78rem/1 var(--font-body); background: var(--btn-bg); color: var(--btn-text); padding: .22rem .45rem; border-radius: 3px; }
.item-why { grid-column: 2; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.item-row input:checked ~ .item-name .name { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .65; }
.kbg, .limits { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--lake); border-radius: var(--radius); padding: 1rem 1.3rem; margin-top: 1.2rem; }
.limits { border-left-color: var(--ember); }
.kbg ul, .limits ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.kbg li, .limits li { margin: .35rem 0; }
.kbg p, .limits p { margin: .4rem 0 0; color: var(--muted); font-size: 1rem; }
.source-note { font-size: .88rem; color: var(--muted); }

/* ---------- contato ---------- */
.contact-form { display: grid; gap: 1.1rem; max-width: 40rem; margin-top: 2rem; padding: 1.5rem; background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius); }
.contact-form .field-error { color: var(--err); font-size: .95rem; margin: .3rem 0 0; font-weight: 600; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: 3px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 15%, var(--surface)); color: var(--ok); border: 1px solid var(--ok); }
.form-status.bad { background: color-mix(in srgb, var(--err) 13%, var(--surface)); color: var(--err); border: 1px solid var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- rodape ---------- */
.site-footer { background: var(--band); color: var(--band-text); margin-top: 3rem; }
.site-footer::before { background: var(--contour-band); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; padding-block: 3rem 2rem; }
.site-footer h2 { font-size: 1.15rem; margin-bottom: .8rem; color: var(--band-text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .4rem 0; }
.site-footer a { color: var(--band-text); }
.site-footer p { color: var(--band-muted); font-size: 1rem; }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer .brand .amp { color: var(--flame); }
.fine { border-top: 1px dashed var(--band-line); padding-block: 1.3rem 2rem; font-size: .92rem; color: var(--band-muted); }
.fine p { margin: 0 0 .5rem; max-width: 90ch; color: inherit; font-size: inherit; }
.fine a { color: inherit; }

/* ---------- responsivo ---------- */
@media (max-width: 1040px) {
  .planner { grid-template-columns: 1fr; }
  .planner-form { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .preview { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); margin-block: 1rem 2.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(-n+2), .tile:nth-child(n+3) { grid-column: span 1; min-height: 260px; }
  .tile:nth-child(5) { grid-column: span 2; }
  .pledges { grid-template-columns: 1fr; gap: 1.5rem; }
  .pledge { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px dashed var(--band-line); padding-bottom: 1.5rem; }
  .pledge:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .planner-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .bar { gap: .55rem; }
  .brand { font-size: 1.4rem; gap: .5rem; }
  .brand svg { width: 34px; height: 34px; }
  .theme-toggle { padding: .55rem .65rem; }
  .theme-toggle span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .card-grid, .tiles, .preview-list, .foot-grid { grid-template-columns: 1fr; }
  .tile:nth-child(5) { grid-column: span 1; }
  .tile:nth-child(-n+2), .tile:nth-child(n+3) { min-height: 220px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .cat-photo img, .article-hero img { aspect-ratio: 3 / 2; }
}

/* ---------- impressao (checklist) ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .planner-form, .actions, .status-line, .skip, .crumbs, .prose, .page-head .lede, .kbg .source-note, .theme-toggle, .legend { display: none !important; }
  .planner { display: block; }
  .cat-block, .kbg, .limits { border: 1px solid #999; background: #fff; }
  .item-row input { accent-color: #000; }
  .item-why { color: #333; }
  a { color: #000; text-decoration: none; }
  .out-head h2::after { content: " (Pitch & Pack, campspro.com)"; font-size: 10pt; font-weight: 400; }
}
