/* Super Pack Center: identidade visual. Sem JavaScript, sem fontes externas. */
:root {
  --paper: #FFF6E5;
  --paper-2: #FFEFD0;
  --card: #FFFFFF;
  --ink: #1F1A33;
  --ink-2: #4A4466;
  --link: #1F4FC4;
  --red: #F0523F;
  --yellow: #FFC83D;
  --blue: #2B66E8;
  --teal: #1FB59A;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  background-image: radial-gradient(rgba(31, 26, 51, .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin-top: 2rem; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; z-index: 20; }
.skip:focus { top: .75rem; }
.muted { color: var(--ink-2); }
.fine { font-size: .9rem; color: var(--ink-2); }
.meta { font-size: .95rem; color: var(--ink-2); margin-bottom: .5rem; }
.big { font-size: 1.5rem; font-weight: 700; }
.more { margin-top: 1.25rem; font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.eyebrow { font: 700 .85rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: .75rem; }

/* faixa de prévia */
.preview-bar { background: var(--yellow); color: var(--ink); text-align: center; font-size: .9rem; padding: .45rem 1rem; border-bottom: 2px solid var(--ink); }

/* cabeçalho */
.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; padding: .9rem 0; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-text { font: 800 1.35rem var(--serif); letter-spacing: -.01em; }
.logo-text span { color: var(--link); }
.nav-list { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: .4rem .85rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-list a:hover { background: var(--yellow); }
.nav-list a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* botões */
.btn {
  display: inline-block; font: 700 1rem var(--sans); color: var(--ink); background: var(--yellow);
  border: 2px solid var(--ink); border-radius: 999px; padding: .7rem 1.4rem; text-decoration: none; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-secondary { background: var(--card); }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }
.btn-disabled, .btn-disabled:hover { background: #E9E2D3; color: var(--ink-2); box-shadow: none; transform: none; cursor: not-allowed; border-style: dashed; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.5rem 0; }

/* hero */
.hero { padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .4rem; }
.checks li::before, .ticks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: .5rem; }
.checks li { font-weight: 600; }
.hero-art { text-align: center; }
.sheet { display: block; width: min(340px, 100%); margin: 0 auto; background: #fff; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--red); transform: rotate(2.5deg); transition: transform .2s; }
.sheet:hover { transform: rotate(1deg); }
.sheet img { display: block; width: 100%; height: auto; }
.caption { margin-top: 1.5rem; font-size: .95rem; color: var(--ink-2); }

/* secções */
.section { padding: 3.25rem 0; }
.section-sm { padding: 1.25rem 0 2rem; }
.section-tint { background: var(--paper-2); border-block: 1px solid rgba(31, 26, 51, .18); }
.page-head { padding-top: 1.75rem; padding-bottom: .5rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.values > div { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 1.25rem; border-top-width: 6px; }
.values > div:nth-child(1) { border-top-color: var(--red); }
.values > div:nth-child(2) { border-top-color: var(--yellow); }
.values > div:nth-child(3) { border-top-color: var(--blue); }
.values p { margin: 0; color: var(--ink-2); }
.feature { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; margin-top: 1rem; }
.feature-img img { display: block; width: 100%; border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--teal); }
.feature h3 { font-size: 1.5rem; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; columns: 2; column-gap: 1.5rem; }
.ticks li { break-inside: avoid; margin-bottom: .2rem; }

/* cartões */
.cards { display: grid; gap: 1.75rem; margin-top: 1rem; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { --accent: var(--yellow); display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--accent); overflow: hidden; }
.card-thumb { display: block; background: #fff; border-bottom: 2px solid var(--ink); }
.card-thumb img { display: block; width: 100%; aspect-ratio: 640 / 828; object-fit: contain; }
.card-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; align-items: flex-start; }
.card-body h3 { margin: .25rem 0 0; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { color: var(--ink-2); margin: 0 0 .6rem; }
.article-card { flex-direction: row; --accent: var(--blue); }
.article-card .card-thumb { width: 32%; flex: none; border-bottom: 0; border-right: 2px solid var(--ink); }
.article-card .card-thumb img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font: 700 .76rem var(--sans); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: .08rem .6rem; }
.tag-draft { background: var(--yellow); }
.topic { display: block; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 1.25rem; text-decoration: none; box-shadow: 5px 5px 0 var(--red); }
.topic:hover { transform: translate(-1px, -1px); }
.topic-title { display: block; font: 700 1.3rem var(--serif); color: var(--ink); }
.topic-sub { display: block; color: var(--ink-2); }

/* newsletter (só aparece se configurado) */
.signup { background: #1F4FC4; color: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 2.25rem; box-shadow: 8px 8px 0 var(--yellow); }
.signup h2 { margin-top: 0; }
.signup a { color: #fff; }
.signup-form { display: flex; flex-wrap: wrap; gap: .75rem; }
.signup-form input { flex: 1 1 240px; font: inherit; padding: .7rem 1rem; border: 2px solid var(--ink); border-radius: 999px; }

/* migalhas, definições, avisos */
.crumbs { font-size: .9rem; margin-bottom: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink-2); }
.defs dt { font-weight: 700; margin-top: .9rem; }
.defs dd { margin: 0; color: var(--ink-2); }
.notice { background: var(--card); border: 2px solid var(--ink); border-left-width: 8px; border-radius: 12px; padding: .9rem 1.1rem; margin: .5rem 0 1rem; }
.notice-warn { border-left-color: var(--yellow); }
.callout { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 1rem 1.4rem; box-shadow: 5px 5px 0 var(--teal); margin: 1.5rem 0; }
.callout p { margin: 0 0 .4rem; }
.callout ol { margin: .25rem 0 0; }

/* página do pack */
.pack-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.pack-aside { position: sticky; top: 1rem; }
.pack-cover { display: block; width: 100%; border: 2px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--yellow); }
.download-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 1.1rem 1.25rem; box-shadow: 5px 5px 0 var(--teal); margin-bottom: 1.5rem; }
.download-title { font: 700 1.2rem var(--serif); margin: 0; }
.download-meta { color: var(--ink-2); margin: 0; font-size: .95rem; }
.inside { line-height: 1.9; }
details { background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: .7rem 1rem; margin: .6rem 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: .6rem 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; border: 2px solid var(--ink); background: #fff; }
.gallery figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .35rem; }

/* texto longo */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .lead { max-width: none; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--card); }
th, td { border: 1.5px solid var(--ink); padding: .6rem .8rem; text-align: left; vertical-align: top; }
th { background: var(--paper-2); }
.cta { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 1.1rem; box-shadow: 6px 6px 0 var(--red); }
.cta img { display: block; width: 100%; border: 2px solid var(--ink); }
.cta-title { font: 700 1.3rem var(--serif); margin: 0 0 .3rem; }

/* rodapé */
.site-footer { margin-top: 3rem; background: var(--ink); color: var(--paper); padding: 2.5rem 0 1.5rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand { font: 800 1.3rem var(--serif); margin: 0 0 .4rem; }
.footer-text { color: #E6E0F2; margin: 0; max-width: 36ch; }
.footer-head { font-weight: 700; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .3rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 246, 229, .25); font-size: .88rem; color: #E6E0F2; }

/* responsivo */
@media (max-width: 860px) {
  .hero-grid, .pack-grid, .feature { grid-template-columns: 1fr; gap: 2rem; }
  .pack-aside { position: static; max-width: 280px; }
  .values, .footer-grid { grid-template-columns: 1fr; }
  .feature-img { max-width: 240px; }
  .hero { padding-top: 2rem; }
}
@media (max-width: 560px) {
  .cards-2 { grid-template-columns: 1fr; }
  .article-card .card-thumb { width: 30%; }
  .ticks { columns: 1; }
  .cta { grid-template-columns: 80px 1fr; }
  .signup { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .sheet, .sheet:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .preview-bar, .skip, .cta, .signup { display: none !important; }
  body { background: #fff; }
}

/* Seasonal: Christmas (enabled by "seasonal": "christmas" in data/site.json) */
.xmas{--red:#C8352B;--teal:#1E7A52}
.xmas-bar{background:#1E7A52;text-align:center;padding:9px 16px;font-weight:700;font-size:15px}
.xmas-bar a{color:#fff;text-decoration:none}
.xmas-bar a:hover,.xmas-bar a:focus{text-decoration:underline}
.xmas .site-header{border-bottom-color:#C8352B;border-bottom-width:4px;border-bottom-style:double}
.xmas .eyebrow{color:#C8352B}
.xmas .btn{background:#C8352B;border-color:#1F1A33}
.xmas .btn-secondary{background:#fff;color:#1F1A33}
.xmas .site-footer{border-top:4px double #1E7A52}
.xmas-greet{font-weight:700;color:#FFC83D}
.xmas::before{content:"";position:fixed;inset:-100% 0 0 0;z-index:40;pointer-events:none;opacity:.8;
background-image:radial-gradient(3px 3px at 20px 30px,#9DB8E8,transparent),radial-gradient(2px 2px at 90px 80px,#9DB8E8,transparent),radial-gradient(3px 3px at 160px 20px,#9DB8E8,transparent),radial-gradient(2px 2px at 230px 120px,#9DB8E8,transparent),radial-gradient(3px 3px at 300px 60px,#9DB8E8,transparent);
background-size:320px 200px;animation:xsnow 16s linear infinite}
@keyframes xsnow{to{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.xmas::before{display:none}}
@media print{.xmas::before,.xmas-bar{display:none!important}}
