/* ═══════════════════════════════════════════════════════════════════════════
   Blog Nutri+ Mulher (23/10/2026) — mesmo visual do app e da landing.
   Carregado DEPOIS de /v2/estilo.css, que traz os tokens (cores, fontes,
   tema claro/escuro) e os botões (.btn). Aqui só o que é do blog.
   ═══════════════════════════════════════════════════════════════════════════ */

body {
  position: relative; overflow-x: clip;
  /* Nomes do visual antigo que ainda aparecem em estilos soltos dos artigos */
  --accent: var(--brand); --border: var(--line); --text-secondary: var(--ink-2);
}
body::before {
  content: ""; position: absolute; inset: -120px -80px auto -80px; height: 420px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 70% at 78% 30%, color-mix(in oklab, var(--f-lut) 26%, transparent), transparent 70%),
    radial-gradient(45% 60% at 10% 10%, color-mix(in oklab, var(--rose) 14%, transparent), transparent 70%);
}

/* ─── Topo ─────────────────────────────────────────────────────────────── */
.blog-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safe-top)) max(16px, calc(50% - 360px)) 10px;
  background: var(--glass); border-bottom: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.blog-header-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.blog-header-logo img { width: 32px; height: 32px; border-radius: 9px; }
.blog-header-logo span::after { content: " · Blog"; color: var(--ink-3); font-weight: 500; }
.blog-header-logo .sem-blog::after { content: none; }   /* Termos e Privacidade usam o mesmo topo */
.blog-back { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.blog-back:hover { color: var(--ink); }

/* ─── Artigo ───────────────────────────────────────────────────────────── */
.blog-article { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 24px 16px calc(48px + var(--safe-bottom)); }
.blog-article-hero { margin: 0 0 22px; border-radius: var(--r4); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.blog-article-hero img { width: 100%; height: auto; }   /* as capas são infográficos: nunca cortar */
.blog-article > h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.blog-meta time { color: var(--ink-3); font-variant-numeric: tabular-nums; }

.blog-content { font-size: 17px; line-height: 1.72; color: var(--ink); }
.blog-content > * + * { margin-top: 1em; }
.blog-content p { max-width: 68ch; }
.blog-content h2 { font-size: clamp(23px, 4.4vw, 28px); line-height: 1.18; margin-top: 1.9em; }
.blog-content h3 { font-size: 20px; line-height: 1.25; margin-top: 1.5em; }
.blog-content h4 { font-size: 17px; }
.blog-content strong { font-weight: 650; }
.blog-content a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.blog-content ul, .blog-content ol { padding-left: 1.3em; display: grid; gap: .35em; }
.blog-content li::marker { color: var(--ink-3); }
.blog-content em { color: var(--ink-2); }
.blog-content blockquote { margin: 1.4em 0; padding: 14px 18px; border-radius: var(--r2); background: var(--surface-2); color: var(--ink-2); }
.blog-content img { border-radius: var(--r3); }
.blog-content hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }

/* Blocos especiais dos artigos */
.phase-card, .supp-card {
  margin-top: 1.2em; padding: 20px; border-radius: var(--r3); background: var(--surface); box-shadow: var(--shadow);
  display: grid; gap: .7em;
}
.phase-card > *, .supp-card > * { margin: 0; }
.phase-card h3, .supp-card h3 { margin: 0; font-size: 19px; }
.phase-emoji, .supp-emoji, .feat-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: var(--surface-2);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 1.2em; }
.feature-item { padding: 18px; border-radius: var(--r3); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.feature-item h4 { margin: 0; font-size: 16.5px; }
.feature-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.blog-content table, .comparison-table {
  display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin-top: 1.2em;
  font-size: 14.5px; line-height: 1.45; border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--line);
}
.blog-content th, .blog-content td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.blog-content th { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; background: var(--surface-2); }
.blog-content tr:last-child td { border-bottom: 0; }

/* Chamada para o app */
.blog-cta {
  position: relative; overflow: hidden; margin-top: 2.2em !important; padding: 26px 22px; border-radius: var(--r4);
  background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: start;
}
.blog-cta::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--f-lut) 22%, transparent), transparent);
}
.blog-cta > * { position: relative; margin: 0 !important; }
.blog-cta h3 { font-size: 22px; line-height: 1.2; max-width: 30ch; }
.blog-cta p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.blog-cta a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; margin-top: 6px !important;
  border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 650; font-size: 15px; text-decoration: none;
}
.blog-cta a:active { transform: scale(.97); }

.blog-refs { font-size: 13.5px !important; line-height: 1.55 !important; color: var(--ink-2); }

.blog-nav-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.blog-nav-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 650; font-size: 14.5px; text-decoration: none; color: var(--ink); background: var(--surface-2); }
.blog-nav-bottom a:last-child { background: var(--ink); color: var(--ground); }

/* ─── Lista de artigos (/blog/) ────────────────────────────────────────── */
.blog-page-title { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 36px 16px 8px; display: grid; gap: 8px; }
.blog-page-title h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.02; letter-spacing: -.035em; }
.blog-page-title p { color: var(--ink-2); font-size: 16.5px; max-width: 52ch; }
.blog-list {
  position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 20px 16px calc(48px + var(--safe-bottom));
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.lp-blog-card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--r3); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1);
}
.lp-blog-card:hover { transform: translateY(-3px); }
.lp-blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.lp-blog-card-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.lp-blog-card-body h4 { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.22; font-weight: 650; letter-spacing: -.015em; text-wrap: balance; }
.lp-blog-card-body p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-blog-card-body time { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ─── Quizzes (fq = fome, mq = menopausa, sopq = SOP) ──────────────────── */
.fq, .mq, .sopq { max-width: 640px; margin: 8px auto 0; }
.fq-card, .mq-card, .sopq-card { background: var(--surface); border-radius: var(--r4); box-shadow: var(--shadow); padding: 22px 20px; }
.fq-progresso, .mq-progresso, .sopq-progresso { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.fq-progresso-fill, .mq-progresso-fill, .sopq-progresso-fill { height: 100%; width: 10%; background: var(--f-lut); border-radius: 999px; transition: width .35s ease; }
.fq-passo, .mq-passo, .sopq-passo { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.fq-pergunta, .mq-pergunta, .sopq-pergunta { font-family: var(--display); font-size: 21px; font-weight: 650; letter-spacing: -.015em; line-height: 1.28; margin: 0 0 18px; }
.fq-opcoes, .mq-opcoes, .sopq-opcoes { display: grid; gap: 10px; }
.fq-op, .mq-op, .sopq-op {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; cursor: pointer;
  padding: 14px 16px; border-radius: var(--r2); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); transition: box-shadow .15s, background .15s;
}
.fq-op:hover, .mq-op:hover, .sopq-op:hover { background: var(--surface-2); }
.fq-op .fq-letra, .mq-op .mq-letra, .sopq-op .sopq-letra {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: 13.5px; transition: background .15s, color .15s;
}
.fq-op.sel, .mq-op.sel, .sopq-op.sel { box-shadow: inset 0 0 0 2px var(--ink); }
.fq-op.sel .fq-letra, .mq-op.sel .mq-letra, .sopq-op.sel .sopq-letra { background: var(--ink); color: var(--ground); }
.fq-nav, .mq-nav, .sopq-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }
.fq-voltar, .mq-voltar, .sopq-voltar { background: none; border: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 650; cursor: pointer; padding: 8px 4px; }
.fq-voltar[disabled], .mq-voltar[disabled], .sopq-voltar[disabled] { opacity: 0; pointer-events: none; }
.fq-prox, .mq-prox, .sopq-prox {
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground);
  font-size: 15px; font-weight: 650; cursor: pointer; transition: opacity .18s, transform .1s;
}
.fq-prox[disabled], .mq-prox[disabled], .sopq-prox[disabled] { opacity: .35; pointer-events: none; }
.fq-prox:active, .mq-prox:active, .sopq-prox:active { transform: scale(.97); }
.fq-res, .mq-res, .sopq-res { text-align: center; display: grid; justify-items: center; }
.fq-res-pontos, .mq-res-pontos, .sopq-res-pontos { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.fq-res-num, .mq-res-num, .sopq-res-num { font-family: var(--display); font-size: 60px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--f-lut); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.fq-res-faixa, .mq-res-faixa, .sopq-res-faixa { display: inline-block; font-size: 15px; font-weight: 650; color: var(--ground); background: var(--ink); border-radius: 999px; padding: 8px 18px; margin-bottom: 16px; }
.fq-res-txt, .mq-res-txt, .sopq-res-txt { font-size: 15.5px; line-height: 1.65; color: var(--ink); margin: 0 auto 14px; max-width: 480px; }
.fq-extra { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 auto 14px; max-width: 480px; }
.fq-highlight { background: var(--surface-2); border-radius: var(--r2); padding: 14px 16px; font-size: 14.5px; font-weight: 600; line-height: 1.6; margin: 0 auto 18px; max-width: 480px; }
.fq a.fq-cta, .mq a.mq-cta, .sopq a.sopq-cta {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--ground); text-decoration: none; font-size: 16px; font-weight: 650;
}
.fq-refazer, .mq-refazer, .sopq-refazer { display: block; background: none; border: 0; color: var(--brand); font-size: 14px; font-weight: 650; cursor: pointer; margin: 16px auto 0; text-decoration: underline; text-underline-offset: 3px; }
.fq-aviso, .mq-aviso, .sopq-aviso { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin: 18px auto 0; max-width: 480px; text-align: center; }
.fq-aviso-topo, .mq-nota { background: var(--surface-2); border-radius: var(--r2); padding: 11px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.5; margin: 0 auto 16px; max-width: 600px; }

@media (max-width: 520px) {
  .fq-card, .mq-card, .sopq-card { padding: 18px 15px; }
  .fq-pergunta, .mq-pergunta, .sopq-pergunta { font-size: 19px; }
  .fq-op, .mq-op, .sopq-op { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .lp-blog-card, .fq-progresso-fill, .mq-progresso-fill, .sopq-progresso-fill { transition: none; } }
