/* pellia · blog. Folha própria e leve (não carrega o lp.css de 65 KB). Mobile primeiro, desktop a partir de 960px. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/dm-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif Reserva"; font-style: italic; src: local("Georgia Italic"), local("Georgia"), local("Times New Roman"); size-adjust: 88%; ascent-override: 100%; descent-override: 26%; }
@font-face { font-family: "DM Sans Reserva"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); ascent-override: 99%; descent-override: 31%; line-gap-override: 0%; size-adjust: 101%; }

:root {
  --canvas: #faf9f6;
  --superficie: #ffffff;
  --tinta: #22261f;
  --tinta-2: #5a5e55;
  --tinta-3: #73776e;
  --corpo: #33372f;
  --oliva: #708d24;
  --oliva-texto: #526b1d;
  --folha-clara: #b5c45b;
  --oliva-fundo: #eef1df;
  --lilas: #eee5f6;
  --creme: #ffe7c8;
  --divisor: #e5e3de;
  --neutro: #f0f0ea;
  --raio: 24px;
  --sombra: 0 1px 2px rgba(34,38,31,.04), 0 12px 32px rgba(34,38,31,.07);
  --editorial: "Instrument Serif", "Instrument Serif Reserva", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: "DM Sans", "DM Sans Reserva", system-ui, sans-serif; background: var(--canvas); color: var(--tinta); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-family: var(--editorial); font-weight: 400; color: var(--oliva-texto); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--tinta); color: var(--canvas); font-weight: 600; }
.pular:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--oliva); outline-offset: 3px; border-radius: 4px; }

/* Cabeçalho */
.b-topo { position: sticky; top: 0; z-index: 20; background: rgba(250,249,246,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--divisor); }
.b-topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.b-topo__marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.b-topo__marca img { height: 28px; width: auto; }
.b-topo__marca span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oliva-texto); padding-left: 10px; border-left: 1px solid var(--divisor); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--tinta); color: var(--canvas); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.btn:hover { background: #343a2f; transform: translateY(-1px); }
.btn--grande { height: 54px; padding: 0 26px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* Trilha */
.trilha { margin-top: 22px; font-size: 13px; color: var(--tinta-3); }
.trilha ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.trilha li + li::before { content: "/"; margin-right: 6px; color: var(--divisor); }
.trilha a { color: var(--tinta-2); text-decoration: none; }
.trilha a:hover { color: var(--tinta); text-decoration: underline; }

/* Índice do blog */
.b-capa { padding: 36px 0 28px; }
.rotulo { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oliva-texto); }
.b-capa h1 { margin-top: 8px; font-family: var(--editorial); font-weight: 400; font-size: clamp(40px, 10vw, 68px); line-height: 1.02; letter-spacing: -.015em; max-width: 16ch; }
.b-capa h1 em { font-style: italic; }
.b-capa p { margin-top: 14px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--tinta-2); }
.grade { display: grid; gap: 20px; padding-bottom: 64px; }
.cartao { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--raio); background: var(--superficie); box-shadow: var(--sombra); text-decoration: none; transition: transform .2s; }
.cartao:hover { transform: translateY(-2px); }
.cartao img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--neutro); }
.cartao__txt { display: grid; gap: 8px; padding: 18px 20px 22px; }
.cartao__tema { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oliva-texto); }
.cartao h2, .cartao h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.cartao p { font-size: 15px; line-height: 1.55; color: var(--tinta-2); }
.cartao__meta { font-size: 13px; color: var(--tinta-3); }
.cartao--destaque h2 { font-family: var(--editorial); font-weight: 400; font-size: clamp(28px, 6vw, 38px); line-height: 1.08; }

/* Artigo */
.artigo { padding-bottom: 32px; }
.artigo__cab { max-width: 760px; padding-top: 18px; }
.artigo__cab h1 { margin-top: 10px; font-family: var(--editorial); font-weight: 400; font-size: clamp(36px, 8.6vw, 58px); line-height: 1.04; letter-spacing: -.015em; }
.artigo__linha-fina { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--tinta-2); }
.artigo__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: var(--tinta-3); }
.artigo__meta span { display: inline-flex; align-items: center; gap: 6px; }
.artigo__capa { margin-top: 24px; overflow: hidden; border-radius: var(--raio); background: var(--neutro); }
.artigo__capa img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.artigo__capa figcaption { padding: 10px 16px; font-size: 12px; color: var(--tinta-3); background: var(--superficie); }
.artigo__grade { display: grid; gap: 28px; margin-top: 28px; }
.texto { max-width: 70ch; min-width: 0; }
.texto > * + * { margin-top: 16px; }
.texto h2 { margin-top: 44px; font-size: 25px; line-height: 1.22; font-weight: 700; letter-spacing: -.015em; }
.texto h3 { margin-top: 28px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.texto p, .texto li { font-size: 17px; line-height: 1.75; color: var(--corpo); }
.texto strong { color: var(--tinta); }
.texto a { color: var(--oliva-texto); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.texto a:hover { text-decoration-thickness: 2px; }
.texto ul, .texto ol { display: grid; gap: 8px; padding-left: 0; list-style: none; }
.texto ul li, .texto ol li { position: relative; padding-left: 26px; }
.texto ul li::before { content: ""; position: absolute; left: 6px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--oliva); }
.texto ol { counter-reset: n; }
.texto ol li { counter-increment: n; }
.texto ol li::before { content: counter(n); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--oliva-fundo); color: var(--oliva-texto); font-size: 12px; font-weight: 700; line-height: 1; }
.texto sup { font-size: 11px; line-height: 0; }
.texto sup a { text-decoration: none; font-weight: 700; padding: 0 1px; }
.texto blockquote { padding: 14px 18px; border-left: 3px solid var(--folha-clara); background: var(--superficie); border-radius: 0 16px 16px 0; font-size: 17px; line-height: 1.65; color: var(--corpo); }
.texto table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: var(--superficie); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--divisor); }
.tabela { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.texto th, .texto td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--divisor); }
.texto th { background: var(--oliva-fundo); color: var(--tinta); font-weight: 700; }
.texto tr:last-child td { border-bottom: 0; }

.caixa { padding: 18px 20px; border-radius: 18px; background: var(--oliva-fundo); }
.caixa > * + * { margin-top: 10px; }
.caixa__titulo { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oliva-texto); }
.caixa li, .caixa p { font-size: 16px !important; line-height: 1.6 !important; }
.caixa--saude { background: var(--creme); }
.caixa--saude .caixa__titulo { color: #8a5a12; }
.caixa--neutra { background: var(--superficie); box-shadow: inset 0 0 0 1px var(--divisor); }

/* Sumário */
.sumario { align-self: start; padding: 18px 20px; border-radius: 18px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--divisor); }
.sumario summary { cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oliva-texto); list-style: none; }
.sumario summary::-webkit-details-marker { display: none; }
.sumario summary::after { content: "+"; float: right; font-size: 18px; line-height: 1; }
.sumario[open] summary::after { content: "–"; }
.sumario ol { display: grid; gap: 8px; margin-top: 12px; padding-left: 18px; font-size: 14px; line-height: 1.4; color: var(--tinta-2); }
.sumario a { text-decoration: none; }
.sumario a:hover { color: var(--tinta); text-decoration: underline; }

/* Perguntas */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--divisor); }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; position: relative; font-size: 17px; font-weight: 700; line-height: 1.4; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 22px; font-weight: 400; color: var(--oliva-texto); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 18px; }
.faq details > div p { font-size: 16px; line-height: 1.7; }

/* Fontes */
.fontes { font-size: 14px; }
.fontes ol { display: grid; gap: 10px; padding-left: 0; list-style: none; counter-reset: f; }
.fontes li { position: relative; padding-left: 30px !important; font-size: 14px !important; line-height: 1.6 !important; color: var(--tinta-2) !important; counter-increment: f; overflow-wrap: anywhere; }
.fontes li::before { content: counter(f) !important; position: absolute; left: 0 !important; top: .1em !important; width: 22px !important; height: 22px !important; display: grid; place-items: center; border-radius: 50%; background: var(--neutro) !important; color: var(--tinta-2) !important; font-size: 11px; font-weight: 700; }
.fontes li:target { color: var(--tinta) !important; }
.fontes li:target::before { background: var(--folha-clara) !important; color: var(--tinta) !important; }

/* Chamada para o desafio */
.chamada { display: grid; gap: 16px; margin: 40px 0 8px; padding: 26px 22px; border-radius: var(--raio); background: var(--tinta); color: var(--canvas); }
.chamada .rotulo { color: var(--folha-clara); }
.chamada h2 { margin: 0 !important; font-family: var(--editorial); font-weight: 400; font-size: clamp(28px, 7vw, 38px) !important; line-height: 1.08; color: var(--canvas); }
.chamada h2 em { color: var(--folha-clara); }
.chamada p { color: #d9dbd2 !important; font-size: 16px !important; line-height: 1.6 !important; margin: 0 !important; }
.chamada .btn { justify-self: start; background: var(--folha-clara); color: var(--tinta); }
.chamada .btn:hover { background: #c6d46b; }
.chamada small { font-size: 12px; color: #a9ad9f; }

/* Autor e relacionados */
.autor { display: flex; gap: 14px; align-items: center; margin-top: 36px; padding: 16px 18px; border-radius: 18px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--divisor); }
.autor img { width: 52px; height: 52px; border-radius: 50%; background: var(--oliva-fundo); flex: none; }
.autor p { font-size: 14px !important; line-height: 1.55 !important; color: var(--tinta-2) !important; margin: 0 !important; }
.autor strong { display: block; font-size: 15px; color: var(--tinta); }
.relacionados { padding: 40px 0 64px; border-top: 1px solid var(--divisor); margin-top: 32px; }
.relacionados > h2 { font-size: 22px; font-weight: 700; margin-bottom: 18px; letter-spacing: -.01em; }

/* Rodapé */
.b-rodape { padding: 32px 0 48px; border-top: 1px solid var(--divisor); font-size: 13px; color: var(--tinta-2); }
.b-rodape .wrap { display: grid; gap: 14px; }
.b-rodape img { height: 26px; width: auto; }
.b-rodape nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.b-rodape a { text-decoration: none; }
.b-rodape a:hover { color: var(--tinta); text-decoration: underline; }
.b-rodape__empresa { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; border-top: 1px solid var(--divisor); }
.b-rodape__feito { display: inline-flex; align-items: center; gap: 10px; }
.b-rodape__feito:hover { text-decoration: none !important; color: var(--tinta); }
.b-rodape .b-rodape__feito img { height: 20px; width: auto; }

@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .cartao--destaque { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
  .cartao--destaque img { height: 100%; aspect-ratio: 4 / 3; }
  .cartao--destaque .cartao__txt { align-content: center; padding: 32px; }
  .chamada { padding: 34px 36px; }
}
@media (min-width: 960px) {
  .b-capa { padding: 56px 0 36px; }
  .grade { grid-template-columns: repeat(3, 1fr); }
  .artigo__grade { grid-template-columns: minmax(0, 70ch) 280px; justify-content: space-between; gap: 56px; }
  .sumario { position: sticky; top: 84px; order: 2; }
  .sumario summary { pointer-events: none; }
  .sumario summary::after { display: none; }
  .texto h2 { font-size: 28px; }
  .texto p, .texto li { font-size: 18px; }
  .b-rodape .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}
@media print { .b-topo, .sumario, .chamada, .relacionados, .b-rodape { display: none; } }
