/* ============================================================
   Páginas internas geradas (áreas de atuação e blog)
   Lê os mesmos tokens do style.css; nada de cor fixa nova além do fundo
   claro das fotos de produto (que vêm com fundo branco da loja).
   ============================================================ */

.pagina-interna main { overflow-x: clip; }

/* ---------- Cabeçalho ---------- */
.header-interno .container { gap: 1.2rem; }
.nav-interna { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.nav-interna a {
  position: relative; padding-block: .3rem; text-decoration: none; white-space: nowrap;
  font-size: .9rem; color: var(--text-muted); transition: color .3s ease;
}
.nav-interna a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
.nav-interna a:hover, .nav-interna a[aria-current="page"] { color: var(--text-main); }
.nav-interna a:hover::after, .nav-interna a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav-interna { display: none; } }

/* Barra fina de leitura no topo (o JS só atualiza a escala). */
.progresso-leitura { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progresso-leitura span {
  display: block; height: 100%; transform: scaleX(var(--lido, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--primary) 60%, var(--primary-hover));
}

/* ---------- Topo do artigo / da área ---------- */
.artigo-topo, .area-topo {
  position: relative; isolation: isolate;
  padding: calc(var(--secao-y) * .55 + 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-color);
  background:
    radial-gradient(60rem 26rem at 85% -10%, rgba(197, 166, 83, .09), transparent 70%),
    radial-gradient(40rem 22rem at 0% 0%, rgba(46, 125, 92, .14), transparent 70%);
}
.artigo-topo-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.com-produto .artigo-topo-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
@media (max-width: 860px) {
  .com-produto .artigo-topo-grid { grid-template-columns: 1fr; }
  .artigo-topo-foto { width: min(72%, 280px); justify-self: start; }
}

.migalhas { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.6rem; font-size: .8rem; color: var(--text-muted); }
.migalhas a { color: var(--text-muted); text-decoration: none; transition: color .3s ease; }
.migalhas a:hover { color: var(--primary); }
.migalhas span[aria-hidden] { opacity: .45; }
.migalhas [aria-current] { color: var(--text-main); opacity: .8; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.artigo-titulo { font-size: clamp(1.8rem, 1.25rem + 2vw, 2.85rem); line-height: 1.12; max-width: 24ch; margin: .2rem 0 1.1rem; }
.artigo-titulo em { font-family: var(--font-script); font-style: italic; color: var(--primary); }
.artigo-resumo { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.7; color: var(--text-muted); max-width: 62ch; margin: 0 0 1.6rem; }

.artigo-meta { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: .86rem; line-height: 1.5; color: var(--text-muted); }
.artigo-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.artigo-meta strong { color: var(--text-main); font-weight: 500; }

/* Foto do produto: a loja entrega fundo branco, então ela ganha um "papel" claro de propósito. */
.artigo-topo-foto {
  margin: 0; justify-self: center; width: min(100%, 360px); aspect-ratio: 1;
  display: grid; place-items: center; padding: 8%;
  border-radius: 28px; background: #f6f3ec;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--border-strong), 0 0 0 10px rgba(197, 166, 83, .05);
  rotate: 2deg;
}
.artigo-topo-foto img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Corpo + sumário ---------- */
.artigo-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); }
.artigo-coluna { min-width: 0; }
@media (min-width: 1000px) {
  .artigo-grid { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .artigo-grid:not(:has(.sumario)) { grid-template-columns: minmax(0, 1fr); }
  .sumario { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; }
}
.sumario details { border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--bg-card); padding: 1rem 1.2rem; }
.sumario summary { cursor: pointer; list-style: none; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.sumario summary::-webkit-details-marker { display: none; }
.sumario summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sumario summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .35s var(--ease-out); }
.sumario details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.sumario ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .15rem; counter-reset: s; }
.sumario li { counter-increment: s; }
.sumario a {
  display: grid; grid-template-columns: 1.6rem 1fr; padding: .38rem 0; text-decoration: none;
  font-size: .87rem; line-height: 1.4; color: var(--text-muted); transition: color .3s ease;
}
.sumario a::before { content: counter(s, decimal-leading-zero); font-family: var(--font-brand); font-size: .72rem; color: var(--primary); opacity: .55; padding-top: .12rem; }
.sumario a:hover, .sumario a.atual { color: var(--text-main); }
.sumario a.atual::before { opacity: 1; }

/* ---------- Tipografia de leitura ---------- */
.prosa { max-width: 70ch; font-size: clamp(1.02rem, .98rem + .2vw, 1.1rem); line-height: 1.8; color: #d4dfd9; }
.prosa > :first-child { margin-top: 0; }
.prosa p { margin: 0 0 1.25em; }
.prosa h2 {
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.95rem); line-height: 1.25; color: var(--text-main);
  margin: 2.8em 0 .8em; scroll-margin-top: 100px;
}
.prosa h2::before { content: ""; display: block; width: 42px; height: 1px; margin-bottom: 1rem; background: linear-gradient(90deg, var(--primary), transparent); }
.prosa h3 { font-family: var(--font-main); font-size: 1.12rem; font-weight: 600; letter-spacing: .01em; color: var(--accent-claro); margin: 2em 0 .6em; }
.prosa strong { color: var(--text-main); font-weight: 600; }
.prosa a { color: var(--primary); text-decoration-color: rgba(197, 166, 83, .45); text-underline-offset: 3px; transition: color .3s ease, text-decoration-color .3s ease; }
.prosa a:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
.prosa ul, .prosa ol { margin: 0 0 1.4em; padding-left: 1.4rem; }
.prosa li { margin-bottom: .5em; padding-left: .2rem; }
.prosa ul { list-style: none; padding-left: 1.3rem; }
.prosa ul > li { position: relative; }
.prosa ul > li::before { content: ""; position: absolute; left: -1.15rem; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .8; }
.prosa ol > li::marker { color: var(--primary); font-family: var(--font-brand); font-size: .9em; }
/* O editor do painel grava item de lista e célula com um parágrafo dentro: sem espaço a mais. */
.prosa li > p, .prosa td > p, .prosa th > p { margin: 0; }
.prosa li > p + p { margin-top: .5em; }

.prosa blockquote.destaque {
  position: relative; margin: 2em 0; padding: 1.4rem 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--border-strong); border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(120deg, rgba(197, 166, 83, .08), rgba(20, 42, 31, .6));
  color: var(--text-main);
}
.prosa blockquote.destaque::before { content: "Na prática"; display: block; margin-bottom: .45rem; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); }
.prosa blockquote.destaque p:last-child { margin-bottom: 0; }

.prosa table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: .93rem; line-height: 1.55; display: block; overflow-x: auto; }
.prosa th, .prosa td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.prosa th { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); border-bottom-color: var(--border-strong); }
.prosa tbody tr:hover { background: rgba(197, 166, 83, .04); }

.prosa .faq-item { margin-bottom: .8rem; line-height: 1.6; }
.prosa .faq-item p { margin-bottom: .8em; }

/* ---------- Blocos do editor do painel (aba Blog) ---------- */
/* Foto com legenda e galeria: clicar abre a foto grande (paginas.js). */
.prosa figure.foto { margin: 2.2em 0; }
.prosa figure.foto img, .prosa .galeria img {
  display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border-color);
  background: var(--bg-card); cursor: zoom-in;
}
.prosa figcaption { margin-top: .65rem; font-size: .84rem; line-height: 1.55; color: var(--text-muted); }
.prosa figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 .55rem .3em 0; background: var(--primary); vertical-align: middle; }
.prosa .galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .8rem; margin: 2.2em 0; }
.prosa .galeria figure.foto { margin: 0; }
.prosa .galeria figure.foto img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Nota da nutri: a voz dela, em verde, separada do texto. */
.prosa aside.nota-nutri {
  position: relative; margin: 2em 0; padding: 1.3rem 1.4rem 1.3rem 4.2rem;
  border: 1px solid rgba(91, 168, 132, .35); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46, 125, 92, .16), rgba(13, 30, 22, .55)); color: var(--text-main);
}
.prosa aside.nota-nutri::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.25rem; width: 34px; height: 34px; border-radius: 50%;
  background: url('/img/fotos/retrato-perfil.webp') center / cover; border: 1px solid var(--border-strong);
}
.prosa aside.nota-nutri::after { content: "Nota da nutri"; position: absolute; left: 4.2rem; top: 1.25rem; font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #8fd1b0; }
.prosa aside.nota-nutri > :first-child { margin-top: 1.5rem; }
.prosa aside.nota-nutri p:last-child { margin-bottom: 0; }

/* Checklist: dá para marcar (paginas.js), e marcado fica guardado no aparelho. */
.prosa ul.checklist { padding-left: 0; display: grid; gap: .55rem; }
.prosa ul.checklist > li {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .7rem; align-items: start; margin: 0; padding: .7rem .9rem;
  border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-card); cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.prosa ul.checklist > li::before {
  content: ""; position: static; width: 1.2rem; height: 1.2rem; margin-top: .25em; border-radius: 6px; opacity: 1;
  border: 1.5px solid var(--primary); background: transparent no-repeat center / 70%;
  transition: background-color .25s ease;
}
.prosa ul.checklist > li[aria-checked="true"] { border-color: rgba(91, 168, 132, .45); background: rgba(46, 125, 92, .1); }
.prosa ul.checklist > li[aria-checked="true"]::before {
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310231a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.prosa ul.checklist > li:focus-visible { outline: 2px solid var(--primary-hover); outline-offset: 2px; }

/* Citação em destaque */
.prosa blockquote.citacao {
  margin: 2.2em 0; padding: .4rem 0 .4rem 1.6rem; border-left: 2px solid var(--primary);
  font-family: var(--font-brand); font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); line-height: 1.5; color: var(--text-main);
}
.prosa blockquote.citacao p:last-child { margin-bottom: 0; }

/* Referências: menores, numeradas, com o link visível. */
.prosa section.referencias { margin-top: 3em; padding-top: .4rem; font-size: .88rem; line-height: 1.6; color: var(--text-muted); }
.prosa section.referencias h2 { font-size: 1.2rem; margin-top: 0; }
.prosa section.referencias ol { padding-left: 1.4rem; }
.prosa section.referencias a { word-break: break-word; }

/* ---------- Capa, datas, histórico e aviso de IA ---------- */
.artigo-autora { color: inherit; text-decoration: none; }
.artigo-autora:hover strong { color: var(--primary-hover); }
.artigo-capa {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0 0; overflow: hidden; aspect-ratio: 16 / 9; max-width: 1100px;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--border-strong); background: var(--bg-card);
}
.artigo-capa img { display: block; width: 100%; height: 100%; object-fit: cover; }
.artigo-rodape { max-width: 70ch; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border-color); font-size: .86rem; color: var(--text-muted); }
.artigo-datas { margin: 0 0 .6rem; }
.historico summary { cursor: pointer; width: fit-content; color: var(--primary); }
.historico ol { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.historico time { color: var(--text-main); margin-right: .4rem; }
.aviso-ia { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: 12px; border: 1px dashed var(--border-strong); line-height: 1.55; }
.autora-crn { margin: -.4rem 0 .7rem !important; font-size: .82rem !important; letter-spacing: .06em; color: var(--primary) !important; }

/* Visor da foto grande (clique numa foto do texto) */
.visor-foto { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; color: var(--text-main); }
.visor-foto::backdrop { background: rgba(5, 12, 9, .88); backdrop-filter: blur(4px); }
.visor-foto img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); }
.visor-foto p { margin: .8rem auto 0; max-width: 70ch; text-align: center; font-size: .9rem; color: var(--text-muted); }
.visor-foto button {
  position: fixed; top: 1rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border-strong); background: rgba(13, 30, 22, .8); color: var(--text-main); font: inherit; font-size: 1.3rem;
}
.visor-foto .visor-fechar { right: 1rem; }
.visor-foto .visor-anterior, .visor-foto .visor-proxima { top: 50%; translate: 0 -50%; }
.visor-foto .visor-anterior { left: 1rem; }
.visor-foto .visor-proxima { right: 1rem; }

/* ---------- Card do produto (só nas análises) ---------- */
.produto-card {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.6rem; align-items: center;
  margin: 2em 0 2.4em; padding: 1.4rem;
  border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(150deg, rgba(197, 166, 83, .07), var(--bg-card) 55%);
  line-height: 1.55;
}
.produto-card-foto { aspect-ratio: 1; border-radius: 14px; background: #f6f3ec; display: grid; place-items: center; padding: 10%; }
.produto-card-foto img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.produto-card .olho { margin-bottom: .4rem; }
.produto-card-nome { font-family: var(--font-brand); font-size: 1.15rem; color: var(--text-main); margin: 0 0 .35rem; }
.produto-card-frase { color: var(--text-muted); margin: 0 0 1rem; font-size: .95rem; }
.produto-card .btn { text-decoration: none; color: #10231a; }
.produto-card .btn svg { width: 15px; height: 15px; }
.produto-card-aviso { margin: .9rem 0 0; font-size: .76rem; color: var(--text-muted); opacity: .85; }
@media (max-width: 560px) { .produto-card { grid-template-columns: 1fr; } .produto-card-foto { max-width: 200px; } }

/* ---------- Quem escreve ---------- */
.autora {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.6rem; max-width: 70ch;
  border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--bg-card);
}
.autora img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.autora p:not(.olho) { color: var(--text-muted); font-size: .95rem; line-height: 1.65; margin: 0 0 .7rem; }
.autora .olho { margin-bottom: .3rem; }
.autora-nome { font-family: var(--font-brand); font-size: 1.25rem; color: var(--text-main) !important; }
.autora-aviso { font-size: .82rem !important; opacity: .85; }
.autora .chamada-acoes { justify-content: flex-start; margin-top: 1rem; }
@media (max-width: 560px) { .autora { grid-template-columns: 1fr; } }

/* ---------- Cards de artigo ---------- */
.secao-relacionados { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--border-color); }
.titulo-relacionados { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: 0 0 2rem; }
.titulo-relacionados > .olho { display: flex; width: fit-content; }
.grade-artigos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.2rem; }
.card-artigo {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem 1.4rem 1.3rem; text-decoration: none; color: inherit;
  border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--bg-card);
  transition: border-color .35s ease, translate .5s var(--ease-out), background .35s ease;
}
.card-artigo:hover { border-color: var(--border-strong); translate: 0 -4px; background: linear-gradient(160deg, rgba(197, 166, 83, .07), var(--bg-card) 60%); }
.card-artigo-tag { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-claro); }
.card-artigo-titulo { font-size: 1.12rem; font-weight: 500; line-height: 1.35; color: var(--text-main); }
.card-artigo-resumo { font-size: .9rem; line-height: 1.6; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-artigo-meta { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }
.card-artigo-meta svg { width: 18px; height: 18px; color: var(--primary); transition: translate .4s var(--ease-out); }
.card-artigo:hover .card-artigo-meta svg { translate: 4px 0; }
.card-artigo-capa { display: block; margin: -1.5rem -1.4rem .2rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--border-color); }
.card-artigo-capa img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease-out); }
.card-artigo:hover .card-artigo-capa img { scale: 1.05; }
.card-artigo.com-capa { overflow: hidden; }

/* ---------- Área de atuação ---------- */
.area-topo { overflow: hidden; }
.area-numero {
  position: absolute; z-index: -1; right: max(2vw, 1rem); bottom: -.18em;
  font-family: var(--font-brand); font-size: clamp(9rem, 22vw, 20rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(197, 166, 83, .22); pointer-events: none;
}
.area-palavras { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; max-width: 70ch; }
.area-palavras li { padding: .38rem .85rem; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .8rem; color: var(--text-main); background: rgba(13, 30, 22, .5); }
.area-acoes { display: flex; flex-wrap: wrap; gap: .8rem; }

.secao-incluido { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--border-color); }
.secao-incluido .titulo-secao { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }

.secao-outras-areas { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--border-color); }
.outras-areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .8rem; }
.outras-areas a {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; text-decoration: none;
  border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-card);
  font-size: .95rem; color: var(--text-main); transition: border-color .3s ease, background .3s ease;
}
.outras-areas a:hover { border-color: var(--border-strong); background: rgba(197, 166, 83, .06); }
.outras-numero { font-family: var(--font-brand); font-size: 1.1rem; color: var(--primary); opacity: .6; }
.outras-areas svg { width: 17px; height: 17px; margin-left: auto; color: var(--primary); transition: translate .4s var(--ease-out); flex: none; }
.outras-areas a:hover svg { translate: 3px 0; }

/* ---------- Índice do blog ---------- */
.blog-topo .artigo-titulo { max-width: 18ch; }
.filtro-categorias { display: flex; flex-wrap: wrap; gap: .5rem; }
.filtro-categorias a {
  padding: .5rem 1rem; border: 1px solid var(--border-strong); border-radius: 999px; text-decoration: none;
  font-size: .84rem; color: var(--text-muted); transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.filtro-categorias a:hover { color: var(--text-main); }
.filtro-categorias a.ativo { background: var(--primary); border-color: var(--primary); color: var(--bg-body); }
.blog-lista { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.blog-categoria { scroll-margin-top: 100px; }
.titulo-categoria-blog { display: flex; align-items: baseline; gap: .9rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border-color); }
.titulo-categoria-blog span { font-family: var(--font-main); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.blog-analises-nota { max-width: 62ch; margin: -.4rem 0 1.4rem; }

/* ---------- Movimento (só com movimento liberado) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .artigo-topo-texto > *, .area-topo .container > * { animation: subir .9s var(--ease-out) both; }
  .artigo-topo-texto > :nth-child(2), .area-topo .container > :nth-child(2) { animation-delay: .06s; }
  .artigo-topo-texto > :nth-child(3), .area-topo .container > :nth-child(3) { animation-delay: .12s; }
  .artigo-topo-texto > :nth-child(4), .area-topo .container > :nth-child(4) { animation-delay: .18s; }
  .artigo-topo-texto > :nth-child(5), .area-topo .container > :nth-child(5) { animation-delay: .24s; }
  .area-topo .container > :nth-child(n+6) { animation-delay: .3s; }
  .artigo-topo-foto { animation: pousar 1.2s var(--ease-out) .15s both; }
  .area-numero { animation: surgir 1.6s var(--ease-out) .2s both; }
  .area-palavras li { animation: subir .7s var(--ease-out) both; animation-delay: calc(.25s + var(--i, 0) * 40ms); }

  /* Cards e blocos entram conforme chegam à tela, sem JS (onde houver suporte). */
  @supports (animation-timeline: view()) {
    .card-artigo, .outras-areas li, .item-servico, .prosa h2, .produto-card, .autora, .prosa blockquote.destaque,
    .prosa figure.foto, .prosa aside.nota-nutri, .prosa ul.checklist > li, .prosa blockquote.citacao, .prosa table, .prosa section.referencias {
      animation: entrar linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    /* A foto do texto revela com um zoom bem leve. */
    .prosa figure.foto img { animation: revelar linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
  .artigo-capa img { animation: capa-entra 1.4s var(--ease-out) .1s both; }
  .prosa figure.foto img, .prosa .galeria img { transition: filter .4s ease, border-color .3s ease; }
  .prosa figure.foto img:hover { filter: brightness(1.06); border-color: var(--border-strong); }
  .visor-foto[open] { animation: subir .45s var(--ease-out); }
}
@keyframes subir { from { opacity: 0; translate: 0 18px; filter: blur(4px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes pousar { from { opacity: 0; rotate: -4deg; translate: 0 26px; scale: .94; } to { opacity: 1; rotate: 2deg; translate: none; scale: 1; } }
@keyframes surgir { from { opacity: 0; translate: 0 12%; } to { opacity: 1; translate: none; } }
@keyframes entrar { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: none; } }
@keyframes revelar { from { scale: 1.06; filter: saturate(.7); } to { scale: 1; filter: none; } }
@keyframes capa-entra { from { opacity: 0; scale: 1.08; filter: blur(6px); } to { opacity: 1; scale: 1; filter: none; } }

/* ---------- Home: bloco "Do blog" ---------- */
.home-blog { margin-top: 2.6rem; }

/* ---------- Home: cards das áreas levam à página de cada área ---------- */
.card-area-link { color: inherit; text-decoration: none; }
/* O link cobre o card inteiro, sem aninhar o card dentro de um <a>. */
.card-area-link::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-area-link:focus-visible { outline: none; }
.card-area:has(.card-area-link:focus-visible) { outline: 2px solid var(--primary-hover); outline-offset: 3px; }
.card-area { cursor: pointer; }
.card-area-mais {
  margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; letter-spacing: .04em; color: var(--primary);
}
.card-area-mais svg { width: 15px; height: 15px; transition: translate .45s var(--ease-out); }
.card-area:hover .card-area-mais svg { translate: 4px 0; }
.card-area:hover h3 { color: var(--primary-hover); }

/* ---------- Home: utensílios com link para a análise ---------- */
.carrossel-item-produto .link-analise {
  margin-top: .4rem; align-self: flex-start;
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--text-main);
  text-decoration: underline; text-decoration-color: rgba(197, 166, 83, .5); text-underline-offset: 4px;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.carrossel-item-produto .link-analise:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
.carrossel-item-produto .link-analise + .link-produto { margin-top: 0; }
.blog-home-acoes { margin-top: 2.2rem; }
