/* Super Pack Center: identidade visual das páginas internas, a mesma da homepage (home.css). Sem JavaScript. */
:root {
  --canvas: #FBF5EA;
  --panel: #FFFDF8;
  --paper: #FFFFFF;
  --tint: #F5ECDC;
  --ink: #1F1A33;
  --ink-2: #57506B;
  --link: #1F4FC4;
  --accent: #FFC83D;
  --accent-hover: #FFB800;
  --red: #F0523F;
  --blue: #2B66E8;
  --teal: #2E9C8F;
  --green: #7DBE4E;
  --line: #E6DCC8;
  --line-strong: #9C8F78;
  --footer: #F3EADA;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow-soft: 0 1px 0 rgba(31, 26, 51, .04);
  --shadow-lift: 0 14px 40px rgba(31, 26, 51, .10);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background-color: var(--canvas); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .16 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1.5px; transition: color .25s var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .6rem; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 22ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2.2rem; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }
strong { font-weight: 700; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .25s var(--ease); }
.skip:focus { top: 12px; color: var(--canvas); }
.muted { color: var(--ink-2); }
.fine { font-size: .92rem; color: var(--ink-2); }
.meta { font: 500 .78rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; 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: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 52ch; }
.eyebrow { font: 500 .8rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .9rem; }

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

/* cabeçalho: o mesmo da homepage, translúcido e fixo no topo */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 245, 234, .9); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-text { font: 800 1.18rem/1 var(--display); letter-spacing: -.01em; }
.logo-text span { color: var(--red); }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-block; padding: 8px 11px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: background-color .25s var(--ease); }
.nav-list a:hover { background: rgba(31, 26, 51, .07); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--ink); color: var(--canvas); }

/* botões */
.btn {
  display: inline-block; font: 700 1.02rem/1.15 var(--text); color: var(--ink); background: var(--accent);
  border: 0; border-radius: 12px; padding: 14px 22px; text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(31, 26, 51, .28);
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { color: var(--ink); background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 26, 51, .22); }
.btn-secondary { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-secondary:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 18px rgba(31, 26, 51, .12); }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-disabled, .btn-disabled:hover { background: #ECE4D4; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); transform: none; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }

/* hero (legado) */
.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: 700; }
.hero-art { text-align: center; }
.sheet { display: block; width: min(340px, 100%); margin: 0 auto; background: var(--paper); border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 20px 50px rgba(31, 26, 51, .18); transform: rotate(-1.6deg); transition: transform .45s var(--ease); }
.sheet:hover { transform: rotate(0deg) translateY(-4px); }
.sheet img { display: block; width: 100%; height: auto; border-radius: 6px; }
.caption { margin-top: 1.5rem; font-size: .95rem; color: var(--ink-2); }

/* secções */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: 1.5rem 0 2.25rem; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.page-head { padding-top: clamp(28px, 4vw, 52px); padding-bottom: .5rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.values > div { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 1.35rem; }
.values > div:nth-child(1) { border-top-color: var(--red); }
.values > div:nth-child(2) { border-top-color: var(--accent); }
.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%; background: var(--paper); border-radius: 6px; box-shadow: 0 10px 30px rgba(31, 26, 51, .16); }
.feature h3 { font-size: 1.5rem; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.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: 22px; 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 { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card-thumb { display: block; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-thumb img { display: block; width: 100%; aspect-ratio: 640 / 828; object-fit: contain; transition: transform .6s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.03); }
.card-body { padding: 1.05rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; align-items: flex-start; }
.card-body h3 { margin: .2rem 0 0; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card-body p { color: var(--ink-2); margin: 0 0 .6rem; }
.article-card { flex-direction: row; }
.article-card .card-thumb { width: 32%; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
.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: 500 .72rem/1.4 var(--mono); letter-spacing: .06em; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 999px; padding: .12rem .6rem; color: var(--ink); }
.tag-draft { background: var(--accent); border-color: var(--accent); }
.topic { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.topic-title { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--ink); }
.topic-sub { display: block; color: var(--ink-2); }

/* newsletter (só aparece se configurado) */
.signup { background: var(--ink); color: var(--canvas); border-radius: 20px; padding: 2.25rem; }
.signup h2 { margin-top: 0; }
.signup a { color: var(--accent); }
.signup-form { display: flex; flex-wrap: wrap; gap: .75rem; }
.signup-form input { flex: 1 1 240px; font: inherit; padding: .75rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 12px; }

/* migalhas, definições, avisos */
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--line-strong); }
.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(--panel); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 14px; padding: .95rem 1.15rem; margin: .5rem 0 1rem; }
.notice-warn { border-left-color: var(--accent); }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 16px; padding: 1.05rem 1.4rem; 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: clamp(28px, 5vw, 64px); align-items: start; }
.pack-aside { position: sticky; top: 88px; }
.pack-cover { display: block; width: 100%; background: var(--paper); border-radius: 6px; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 20px 50px rgba(31, 26, 51, .18); transform: rotate(-1.6deg); }
.download-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.15rem 1.3rem; box-shadow: var(--shadow-lift); margin-bottom: 1.5rem; }
.download-title { font: 800 1.25rem/1.2 var(--display); margin: 0; }
.download-meta { color: var(--ink-2); margin: 0; font-size: .95rem; }
.inside { line-height: 1.9; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: .6rem 0; transition: border-color .3s var(--ease); }
details[open] { border-color: var(--line-strong); }
summary { font: 700 1.05rem/1.35 var(--display); cursor: pointer; list-style: none; padding: 15px 32px 15px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { margin: 0 0 1rem; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 1rem 0 0; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.gallery figure:hover img { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31, 26, 51, .14); }
.gallery figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .45rem; }

/* texto longo */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; }
.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(--panel); }
th, td { border: 1px solid var(--line); padding: .65rem .85rem; text-align: left; vertical-align: top; }
th { background: var(--tint); font-weight: 700; }
.cta { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.15rem; box-shadow: var(--shadow-lift); }
.cta img { display: block; width: 100%; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); }
.cta-title { font: 800 1.3rem/1.2 var(--display); margin: 0 0 .3rem; }

/* rodapé: o mesmo da homepage */
.site-footer { margin-top: 3.5rem; background: var(--footer); color: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: .98rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand { font: 800 1.2rem/1.2 var(--display); margin: 0 0 10px; }
.footer-text { color: var(--ink-2); margin: 0 0 8px; max-width: 40ch; }
.footer-head { font: 500 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer li { margin: 0; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); display: grid; gap: 6px; }
.footer-bottom p { margin: 0; }
.footer-affiliate a { color: inherit; text-decoration: underline; }

/* temporada: a mesma faixa escura da homepage */
.xmas-bar { background: var(--ink); text-align: center; padding: 9px 16px; font-weight: 700; font-size: .94rem; }
.xmas-bar a { color: var(--canvas); text-decoration: none; }
.xmas-bar a:hover, .xmas-bar a:focus { color: var(--canvas); text-decoration: underline; text-underline-offset: 3px; }
.xmas-greet { font-weight: 700; color: var(--ink-2); }

/* Pinterest */
.save-row { margin: 0 0 1.25rem; }
.btn-pin { background: #E60023; color: #fff; display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; box-shadow: none; }
.btn-pin:hover { background: #AD081B; color: #fff; }

/* responsivo */
@media (max-width: 980px) {
  .pack-grid { grid-template-columns: 1fr 260px; }
}
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; padding: 10px 0; }
  nav[aria-label="Main"] { width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  nav[aria-label="Main"]::-webkit-scrollbar { display: none; }
  .nav-list { width: max-content; padding-right: 24px; }
  .nav-list a { padding: 8px 10px; }
  .hero-grid, .pack-grid, .feature { grid-template-columns: 1fr; gap: 2rem; }
  .pack-aside { position: static; max-width: 280px; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .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; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-box .btn { width: 100%; text-align: center; }
}
@media (pointer: coarse) {
  .btn, .nav-list a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .crumbs a, .site-footer ul a { display: inline-block; padding: 6px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .sheet:hover, .card:hover .card-thumb img, .gallery figure:hover img, .topic:hover, .btn:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .preview-bar, .xmas-bar, .skip, .cta, .signup, .save-row { display: none !important; }
  body { background: #fff; }
}
