/* Sou Smart - Blog Marketing Jurídico
   Tokens extraídos do Figma: node 274:603 */

:root {
  --bg-page: #fcfcfc;
  --bg-header: #f4f4f4;
  --dark-menu: #1c1c1c;
  --accent-cyan: #01e3ef;
  --link: #029da6;
  --text-heading: #171717;
  --text-heading-2: #404040;
  --text-body: #6d6d6d;
  --nav-text: #434343;
  --footer-bg: #181818;
  --footer-bar: #2a2a2a;
  --card-bg: rgba(240, 240, 240, 0.5);
  --max-width: 1146px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; color: var(--text-heading); }

/* Header */
.site-header {
  background: var(--bg-header);
  padding: 22px 0;
}

/* Três colunas: marca à esquerda, menu no centro, busca à direita. As laterais
   têm a mesma largura para o menu ficar no centro de verdade. */
.site-header__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.site-header__brand { display: flex; align-items: center; gap: 18px; min-width: 0; }

.site-header__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px 7px 9px;
  border: 1px solid #d6dcdd;
  border-radius: 100px;
  color: var(--nav-text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 150ms ease, color 150ms ease;
}

.site-header__back:hover { border-color: var(--link); color: var(--link); }

.site-header__logo img { height: 52px; width: auto; }

.site-header__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-header__nav a {
  font-weight: 400;
  font-size: 15px;
  color: var(--nav-text);
  letter-spacing: -0.2px;
  transition: color 150ms ease;
}

/* Negrito só na página atual; ao passar o mouse, a cor da marca. */
.site-header__nav a.is-active { font-weight: 700; color: var(--text-heading); }
.site-header__nav a:hover { color: var(--link); }

.site-header__search {
  justify-self: end;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
  padding: 12px 18px;
  min-width: 260px;
  gap: 12px;
}

.site-header__search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-body);
  flex: 1;
  background: transparent;
}

.site-header__search button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

/* Tablet: marca e busca na primeira linha, menu centralizado embaixo. */
@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 18px; }
  .site-header__nav { grid-column: 1 / -1; order: 3; }
}

/* Hero */
.page { max-width: 1560px; margin: 0 auto; padding: 40px; }

.hero { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid #e4e4e4; }

.hero__content {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: center;
}

.hero__text { padding: 8px; max-width: 600px; }

.hero__eyebrow {
  margin: 0 0 24px;
  color: var(--link);
  font-size: 17px;
  font-weight: 700;
}

.hero__text h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.hero__text h1 a { color: var(--text-heading-2); }
.hero__text h1 a:hover { color: var(--link); }

.hero__excerpt {
  margin: 0 0 32px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 190px;
  padding: 15px 24px;
  border-radius: 4px;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 15px;
  font-weight: 700;
}

.hero__cta:hover { background: #000; color: #fff; }

.hero__image {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hero__image:hover img { transform: scale(1.015); }

/* Featured content layout variants */
.hero--model-2 .hero__image { order: -1; }
.hero--model-2 .hero__content { grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr); }
.hero--model-2 .hero__text { padding-left: 22px; }

.hero--model-1 { border-bottom: 0; padding-bottom: 0; }
.hero--model-1 .hero__content { position: relative; display: block; min-height: 440px; overflow: hidden; border-radius: 10px; background: #132226; }
.hero--model-1 .hero__image { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero--model-1 .hero__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,22,25,.94) 0%, rgba(5,22,25,.74) 43%, rgba(5,22,25,.12) 78%); content: ''; }
.hero--model-1 .hero__text { position: relative; z-index: 1; display: flex; min-height: 440px; max-width: 720px; flex-direction: column; justify-content: center; padding: 54px 48px; }
.hero--model-1 .hero__text h1 a { color: #fff; }
.hero--model-1 .hero__excerpt { color: rgba(255,255,255,.88); }
.hero--model-1 .hero__eyebrow { color: var(--accent-cyan); }

.hero__card {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.hero__card .hero__text {
  padding: 40px 48px;
  max-width: 760px;
}

.hero__card .hero__text h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero__card .hero__text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grid layout */
.page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-heading-2);
  letter-spacing: -0.6px;
  margin: 0 0 28px;
}

#populares { margin-top: 56px; }

.empty-state { font-size: 15px; }

/* Recent cards */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* Mais espaço entre as fileiras: o botão do cartão de cima não encosta na imagem de baixo. */
  gap: 52px 24px;
}

.post-card { display: flex; flex-direction: column; }

.post-card__image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 257 / 180;
  margin-bottom: 16px;
}

.post-card__image img { width: 100%; height: 100%; object-fit: cover; }

.post-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.4px; line-height: 1.3; margin-bottom: 10px; }

.post-card h3 a:hover { color: var(--link); }

.post-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botão "Leia mais" (e Ver perfil, Voltar): contorno arredondado com seta que anda no hover. */
.link-leia-mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1.5px solid var(--link);
  border-radius: 100px;
  color: var(--link);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 1.2;
  text-decoration: none;
  align-self: flex-start;
  transition: background 150ms ease, color 150ms ease;
}
.link-leia-mais::after { content: "\2192"; transition: transform 150ms ease; }
.link-leia-mais:hover { background: var(--link); color: #fff; }
.link-leia-mais:hover::after { transform: translateX(3px); }
.link-leia-mais--back::after { content: none; }
.link-leia-mais--back::before { content: "\2190"; transition: transform 150ms ease; }
.link-leia-mais--back:hover::before { transform: translateX(-3px); }

/* Popular list */
.popular-list { display: flex; flex-direction: column; gap: 4px; }

.popular-item {
  background: var(--card-bg);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 24px 28px;
}

.popular-item h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 8px; }

.popular-item h3 a:hover { color: var(--link); }

.popular-item p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 36px; }

.category-menu {
  background: var(--dark-menu);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.category-menu__item {
  padding: 15px 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid transparent;
}

.category-menu__item:last-child { border-bottom: none; }

.category-menu__item.is-accent,
.category-menu__item:hover {
  border-left-color: var(--accent-cyan);
  background: rgba(1, 227, 239, 0.08);
  color: var(--accent-cyan);
}

.tags-box h3 {
  margin-bottom: 14px;
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.tags-box__cloud { display: flex; flex-wrap: wrap; gap: 10px; }

.tag-chip {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-body);
  background: #f0f0f0;
  border-radius: 100px;
  padding: 7px 14px;
}

.tag-chip:hover { background: var(--dark-menu); color: var(--accent-cyan); }

/* Post detail */
.post-detail__category {
  color: var(--link);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.post-detail h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.post-detail__meta { font-size: 14px; margin-bottom: 24px; }

.post-detail__cover {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 837 / 470;
  object-fit: cover;
  margin-bottom: 32px;
}

.post-detail__body {
  font-size: 17px;
  line-height: 1.75;
  color: #3a3a3a;
}

.post-detail__body p { margin: 0 0 20px; }

.post-detail__lede {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-heading-2);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ececec;
}

.post-detail__body h2 { font-size: 24px; margin: 32px 0 14px; color: var(--text-heading); }

.post-detail__body h3 { font-size: 20px; margin: 26px 0 12px; color: var(--text-heading); }

.post-detail__body a { color: var(--link); text-decoration: underline; }

.post-detail__body img { border-radius: 8px; margin: 20px 0; }

.post-detail__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }

/* Footer */
.site-footer { background: var(--footer-bg); margin-top: 64px; }

.site-footer__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 40px;
}

.site-footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }

.site-footer__brand p { color: #d6d6d6; font-size: 15px; line-height: 1.6; max-width: 340px; }

.site-footer h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 16px; }

.site-footer__endereco p {
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__endereco svg { flex-shrink: 0; margin-top: 2px; }
.site-footer__endereco p + p { margin-top: 12px; }
.site-footer__endereco a { color: #d6d6d6; }
.site-footer__endereco a:hover { color: var(--accent-cyan); }

.site-footer__social-icons { display: flex; gap: 12px; }

/* Ícones das redes: círculo discreto no fundo escuro; ao passar o mouse, a cor da marca. */
.site-footer__social-icons a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.site-footer__social-icons a:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--dark-menu); transform: translateY(-2px); }
.site-footer__social-icons svg { width: 20px; height: 20px; }

.site-footer__bottom {
  background: var(--footer-bar);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-footer__bottom p { color: #d6d6d6; font-size: 13px; margin: 0; }
/* No celular o botão de voltar ao topo cobria o fim do texto. */
@media (max-width: 600px) { .site-footer__bottom { justify-content: flex-start; padding-right: 72px; } }

.back-to-top {
  position: absolute;
  right: 40px;
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--dark-menu);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px) {
  /* minmax(0, 1fr): sem isso um texto longo numa linha alargava a coluna além da tela. */
  .page__grid { grid-template-columns: minmax(0, 1fr); }
  .cards-row { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__content { grid-template-columns: 1fr; gap: 32px; }
  .hero__image { order: -1; }
  .hero__text { max-width: 760px; padding: 0; }
  .hero__text h1 { font-size: 38px; }
  .hero--model-2 .hero__content { grid-template-columns: 1fr; }
  .hero--model-2 .hero__text { padding-left: 0; }
  .hero--model-1 .hero__text { padding: 42px 36px; }
}

@media (max-width: 620px) {
  .page { padding: 24px 20px; }
  .cards-row { grid-template-columns: 1fr; }
  .site-header__inner { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 20px; }
  .site-header__brand { width: 100%; justify-content: space-between; }
  .site-header__nav { order: 3; width: 100%; justify-content: center; gap: 14px; }
  .site-header__nav a { font-size: 14px; }
  /* Busca na largura toda, entre o logo e o menu. */
  .site-header__search { order: 2; flex: 1 1 100%; min-width: 0; margin-left: 0; }
  .hero { padding-bottom: 28px; }
  .hero__content { gap: 24px; }
  .hero__text h1 { font-size: 30px; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 15px; }
  .hero__excerpt { margin-bottom: 24px; }
  .hero__cta { width: 100%; }
  .hero--model-1 .hero__content, .hero--model-1 .hero__text { min-height: 400px; }
  .hero--model-1 .hero__text { padding: 32px 24px; }
  .hero__card .hero__text { padding: 28px 24px; }
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.breadcrumbs [aria-current="page"] {
  overflow: hidden;
  max-width: min(32rem, 100%);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.direct-answer {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--link);
  border-radius: 0 8px 8px 0;
  background: #eef8f8;
}
.direct-answer strong { display: block; margin-bottom: 0.35rem; color: #1a2030; }
.direct-answer p { margin: 0; }
.related-questions, .post-sources { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e3e3e3; }
.related-questions h2, .post-sources h2 { font-size: 1.25rem; }
.related-questions li, .post-sources li { margin-bottom: 0.55rem; }
/* Sumário do artigo: seções numeradas, subtópicos recuados e sem número. */
.article-toc { border: 1px solid #e6e8ea; border-radius: 10px; background: #fff; }
.article-toc__heading { margin: 0; color: var(--text-heading); font-size: 13px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }
.article-toc__count { color: var(--text-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.toc-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc-list a { transition: background-color 150ms ease, color 150ms ease; }
.toc-list__link { display: flex; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 6px; color: var(--text-heading-2); font-size: 14px; font-weight: 600; line-height: 1.4; }
.toc-list__num { flex: 0 0 auto; color: var(--link); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.toc-list__children { display: grid; gap: 1px; margin: 2px 0 8px 31px; padding: 0 0 0 10px; list-style: none; border-left: 2px solid #e3eeee; }
.toc-list__children a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--text-body); font-size: 13px; line-height: 1.4; }
.toc-list a:hover { background: #f1f7f7; color: var(--link); }
.toc-list a.is-active { background: #e6f5f5; color: var(--link); }

.article-toc--inline { margin: 0 0 32px; }
.article-toc__summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.article-toc__summary::-webkit-details-marker { display: none; }
.article-toc__chevron { width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: translateY(-2px) rotate(45deg); transition: transform 200ms ease; }
.article-toc--inline[open] .article-toc__chevron { transform: translateY(2px) rotate(-135deg); }
.article-toc--inline .toc-list { padding: 12px 12px 16px; border-top: 1px solid #eef0f1; }
/* No celular, só as seções: com os subtópicos a lista aberta passava de uma tela e meia. */
.article-toc--inline .toc-list__children { display: none; }

/* Na lateral, presa na tela; abre só os subtópicos da seção que está sendo lida. */
.article-toc--side { display: none; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 18px 12px 14px; overscroll-behavior: contain; }
.article-toc--side .article-toc__heading { display: flex; align-items: baseline; justify-content: space-between; padding: 0 10px 12px; }
.article-toc--side .toc-list__children { display: none; }
.article-toc--side .toc-list__section.is-open > .toc-list__children { display: grid; }
.page__grid--article { align-items: stretch; }

@media (min-width: 981px) {
  .article-toc--side { display: block; }
  .article-toc--inline { display: none; }
}

/* Barra de progresso de leitura */
.reading-progress { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--link); }

/* Corpo do artigo: mais respiro entre seções e âncora que não cola no topo. */
.post-detail__body :is(h2, h3, h4) { scroll-margin-top: 24px; line-height: 1.3; }
.post-detail__body h2 { margin: 48px 0 16px; font-size: 26px; letter-spacing: -0.4px; }
.post-detail__body h3 { margin: 32px 0 12px; }
.post-detail__body h4 { margin: 24px 0 10px; color: var(--text-heading); font-size: 17px; }
.post-detail__body :is(ul, ol) { margin: 0 0 20px; padding-left: 1.3em; }
.post-detail__body li { margin-bottom: 8px; }

/* Blog intro banner (editable via Admin > Páginas) */
.blog-banner { position: relative; background: var(--dark-menu); background-position: center; background-size: cover; }
.blog-banner::before { position: absolute; inset: 0; background: var(--blog-banner-bg, #1c1c1c); content: ''; opacity: 0; }
.blog-banner--background::before { opacity: .72; }
.blog-banner__inner { max-width: 1560px; margin: 0 auto; padding: 56px 40px; }
.blog-banner__breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--banner-breadcrumb-color, #9a9a9a); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 28px; }
.blog-banner__breadcrumb a, .blog-banner__breadcrumb span:last-child { color: var(--banner-breadcrumb-color, #9a9a9a); }
.blog-banner__breadcrumb a:hover { color: var(--accent-cyan); }
.blog-banner__inner { position: relative; z-index: 1; }
.blog-banner__content { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.blog-banner--background .blog-banner__text { max-width: 820px; }
.blog-banner__text { max-width: 720px; }
.blog-banner__text h1 { color: #fff; font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px; }
.blog-banner__text p { color: #c9c9c9; font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.blog-banner__text p:last-child { margin-bottom: 0; }
.blog-banner__image { flex: 0 0 680px; width: 680px; height: 420px; border-radius: 12px; object-fit: cover; }

@media (max-width: 1180px) {
  .blog-banner__image { flex-basis: 420px; width: 420px; height: 259px; }
}

@media (max-width: 780px) {
  .blog-banner__inner { padding: 40px 20px; }
  .blog-banner__content { flex-direction: column; align-items: flex-start; }
  .blog-banner__text h1 { font-size: 30px; }
  .blog-banner__image { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 680 / 420; }
}

/* Section header with "ver todos" link */
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-title-row .section-title { margin-bottom: 0; }
/* "Ver todos" e afins: o mesmo formato do "Leia mais", mas preenchido, com letra branca. */
.link-ver-todos { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1.5px solid var(--link); border-radius: 100px; background: var(--link); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.2px; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background 150ms ease, border-color 150ms ease; }
.link-ver-todos::after { content: "\2192"; transition: transform 150ms ease; }
.link-ver-todos:hover { background: #027f87; border-color: #027f87; color: #fff; }
.link-ver-todos:hover::after { transform: translateX(3px); }

/* Guias badge (cards + post detail) */
.post-card__image { position: relative; }
.post-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 5px 10px;
  border-radius: 4px;
}

.post-detail__badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  vertical-align: middle;
}

/* Guide download CTA on the article page */
.guide-download {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 20px 24px;
  border: 1px solid rgba(1, 227, 239, 0.35);
  border-radius: 10px;
  background: rgba(1, 227, 239, 0.06);
}
.guide-download__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 20px;
  font-weight: 700;
}
.guide-download strong { display: block; font-size: 16px; color: var(--text-heading); }
.guide-download small { color: var(--text-body); font-size: 13px; }

/* Archive listing (/artigos, /guias) */
.list-intro { font-size: 16px; line-height: 1.6; margin: -14px 0 28px; max-width: 720px; }
.cards-row--list { row-gap: 52px; margin-bottom: 40px; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.pagination__link { color: var(--link); font-weight: 700; font-size: 15px; }
.pagination__link:hover { text-decoration: underline; }
.pagination__status { color: var(--text-body); font-size: 14px; }

@media (max-width: 620px) {
  .section-title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .guide-download { flex-direction: column; align-items: flex-start; }
}

/* Materiais gratuitos grid (editable via Admin > Páginas) */
.materials-block { margin: 48px 0; }
.materials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.material-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.material-card__image { width: 100%; max-width: 240px; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14); }
.material-card__image img { width: 100%; height: 100%; object-fit: cover; }
.material-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; max-width: 280px; }
.material-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.material-card__cta:hover { background: #000; color: #fff; }

@media (max-width: 980px) {
  .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .materials-grid { grid-template-columns: 1fr; }
}

/* ===== Home v2 (versão em teste, /blog-v2) ===== */

.page--v2 { display: flex; flex-direction: column; gap: 56px; }
.page--v2 #destaque, .page--v2 #recentes, .page--v2 #materiais, .page--v2 #populares { margin: 0; }

.blog-banner__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--accent-cyan); font-weight: 700; font-size: 14px; }
.blog-banner__link:hover { text-decoration: underline; }

/* Explore por tema */
.theme-explorer__eyebrow { margin: 0 0 6px; color: var(--link); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.theme-explorer .section-title { margin-bottom: 24px; font-size: 24px; }
.theme-explorer__row { display: flex; flex-wrap: wrap; border-top: 1px solid #ececec; }
.theme-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 0;
  padding: 22px 20px;
  border-bottom: 1px solid #ececec;
  border-right: 1px solid #ececec;
}
.theme-tile:hover .theme-tile__copy strong { color: var(--theme-color, var(--link)); }
.theme-tile__icon { flex: 0 0 34px; width: 34px; height: 34px; color: var(--theme-color, var(--link)); }
.theme-tile__icon svg { width: 100%; height: 100%; }
.theme-tile__copy { flex: 1; min-width: 0; }
.theme-tile__copy strong { display: block; font-size: 15px; font-weight: 700; }
.theme-tile__copy small { display: block; margin-top: 3px; color: var(--text-body); font-size: 12px; line-height: 1.4; }
.theme-tile__chevron { flex: 0 0 auto; color: #b9b9b9; font-size: 22px; }
/* Nas páginas internas o bloco fica no topo, antes da coluna com a lateral. */
.page:not(.page--v2) > .theme-explorer { margin-bottom: 48px; }
/* Tema da página atual (categoria filtrada ou do artigo aberto). */
.theme-tile.is-active { box-shadow: inset 0 -3px 0 var(--theme-color, var(--link)); }
.theme-tile.is-active .theme-tile__copy strong { color: var(--theme-color, var(--link)); }

.section-block .section-title-row { align-items: flex-start; }
.section-subtitle { margin: 6px 0 0; color: var(--text-body); font-size: 14px; }

/* Category badge on recent cards */
.post-card__category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Materiais gratuitos — grid assimétrico com item em destaque */
/* Faixa cinza de ponta a ponta atrás dos materiais. A sombra estende a cor para
   além do container e o clip-path corta em cima e embaixo, sem rolagem lateral. */
.materials-block--v2 {
  --materials-bg: #f1f2f3;
  padding: 56px 0;
  background: var(--materials-bg);
  box-shadow: 0 0 0 100vmax var(--materials-bg);
  clip-path: inset(0 -100vmax);
}

/* Os três cartões têm o mesmo tamanho; o botão fica sempre no pé do cartão. */
.materials-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.material-feature-card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08); }
.material-feature-card__image { position: relative; aspect-ratio: 4 / 3; }
.material-feature-card__image img { width: 100%; height: 100%; object-fit: cover; }
.material-feature-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--dark-menu);
  color: var(--accent-cyan);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.material-feature-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; }
.material-feature-card__body h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.material-feature-card__body p { margin: 0; color: var(--text-body); font-size: 13px; line-height: 1.6; }
.material-feature-card__body .material-card__cta { margin-top: auto; }

/* Página de materiais: os mesmos cartões, dentro da coluna ao lado das tags. */
.materials-feature-grid--list { margin-bottom: 48px; }
.list-subtitle { font-size: 24px; margin-bottom: 20px; }

@media (max-width: 980px) {
  .materials-feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .materials-feature-grid { grid-template-columns: 1fr; }
}

/* Mais populares — lista numerada */
.popular-numbered-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.popular-numbered-item { display: flex; align-items: flex-start; gap: 24px; padding: 22px 0; border-bottom: 1px solid #ececec; }
.popular-numbered-item:first-child { padding-top: 0; }
.popular-numbered-item__index { flex: 0 0 auto; color: var(--accent-cyan-dark, var(--link)); font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.popular-numbered-item__body { flex: 1; min-width: 0; }
.popular-numbered-item__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.popular-numbered-item__body p { margin: 0; color: var(--text-body); font-size: 14px; line-height: 1.6; }
.popular-numbered-item > .link-leia-mais { flex: 0 0 auto; white-space: nowrap; align-self: center; }

@media (max-width: 620px) {
  /* No celular os temas viram uma faixa que rola para o lado: empilhados, os
     cinco ocupavam a tela inteira antes do conteúdo. */
  .theme-explorer__row { flex-wrap: nowrap; gap: 10px; margin: 0 -20px; padding: 0 20px 6px; overflow-x: auto; border-top: 0; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .theme-explorer__row::-webkit-scrollbar { display: none; }
  .theme-tile { flex: 0 0 232px; padding: 14px 16px; border: 1px solid #ececec; border-radius: 10px; scroll-snap-align: start; }
  .theme-explorer .section-title { margin-bottom: 16px; font-size: 22px; }
  .page:not(.page--v2) > .theme-explorer { margin-bottom: 32px; }
  .popular-numbered-item { flex-direction: column; gap: 10px; }
}

/* ===== Página do artigo: medida de leitura, ritmo e hierarquia ===== */

/* A coluna do texto usa a largura toda até a lateral, como no modelo anterior. */

.post-detail__category { margin-bottom: 10px; }
.post-detail h1 { margin-bottom: 16px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -1px; line-height: 1.15; }
.post-detail__meta { margin-bottom: 28px; color: #8a8a8a; font-size: 13px; line-height: 1.6; }
.post-detail__cover { margin-bottom: 36px; }
.post-detail__lede { margin: 0 0 28px; padding-bottom: 28px; color: var(--text-heading-2); font-size: 20px; font-weight: 500; line-height: 1.55; }

.post-detail__body p { margin: 0 0 22px; }
.post-detail__body h2 { margin: 56px 0 16px; font-size: 28px; letter-spacing: -0.5px; }
.post-detail__body h3 { margin: 36px 0 12px; font-size: 21px; letter-spacing: -0.3px; }
.post-detail__body h4 { margin: 28px 0 10px; font-size: 18px; }
.post-detail__body :is(h2, h3) + :is(h3, h4) { margin-top: 20px; }
.post-detail__body li { margin-bottom: 10px; }
.post-detail__body li::marker { color: var(--link); }
/* Título com link continua parecendo título. */
.post-detail__body :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
.post-detail__body :is(h2, h3, h4) a:hover { color: var(--link); }

.direct-answer { margin: 0 0 32px; padding: 20px 24px; }
.post-detail__body .direct-answer p { margin: 0; }
.direct-answer strong { margin-bottom: 8px; color: var(--link); font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }

.related-questions, .post-sources { margin-top: 48px; padding-top: 32px; border-top: 1px solid #ececec; }
.related-questions h2, .post-sources h2 { margin-bottom: 16px; font-size: 20px; }
.related-questions :is(ul, ol), .post-sources :is(ul, ol) { margin: 0; padding-left: 1.2em; }
.related-questions li, .post-sources li { margin-bottom: 10px; font-size: 15px; line-height: 1.5; }
.post-sources a { color: var(--link); }
.post-detail__tags { margin: 40px 0 24px; }

@media (max-width: 620px) {
  .post-detail h1 { font-size: 28px; letter-spacing: -0.6px; }
  .post-detail__lede { font-size: 18px; }
  .post-detail__body { font-size: 16px; }
  .post-detail__body h2 { margin-top: 44px; font-size: 23px; }
  .post-detail__body h3 { font-size: 19px; }
  .post-detail__body h4 { font-size: 17px; }
}

/* ===== Clusters: página de tema e "Continue lendo" ===== */
.topic-intro { max-width: 760px; margin: -6px 0 28px; padding-left: 16px; border-left: 3px solid var(--topic-color, var(--link)); }
.topic-intro p { margin: 0 0 12px; color: var(--text-heading-2); font-size: 16px; line-height: 1.7; }
.topic-intro p:last-child { margin-bottom: 0; }

.pillar-card { display: grid; gap: 8px; margin: 0 0 32px; padding: 24px 26px; border: 1px solid #d7ecec; border-radius: 12px; background: linear-gradient(135deg, #f0fafa 0%, #ffffff 70%); transition: border-color 150ms ease, box-shadow 150ms ease; }
.pillar-card:hover { border-color: var(--link); box-shadow: 0 8px 24px rgba(2, 157, 166, .12); }
.pillar-card__label { color: var(--link); font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.pillar-card__title { color: var(--text-heading); font-size: 21px; line-height: 1.3; }
.pillar-card__excerpt { color: var(--text-body); font-size: 15px; line-height: 1.6; }
.pillar-card__cta { color: var(--link); font-size: 14px; font-weight: 700; }

.continue-reading { margin-top: 56px; padding-top: 36px; border-top: 1px solid #ececec; }
.continue-reading > h2 { margin: 0 0 22px; font-size: 24px; }
.continue-reading .pillar-card { margin-bottom: 28px; }
.continue-reading__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.continue-reading__cards .post-card h3 { font-size: 16px; }
.continue-reading__cards .post-card p { -webkit-line-clamp: 2; font-size: 13px; }
.continue-reading__more { display: inline-flex; margin-top: 20px; }
@media (max-width: 980px) { .continue-reading__cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .continue-reading__cards { grid-template-columns: 1fr; } }

/* Editores: lista, perfil e quadro do autor no fim do artigo */
.editors-list { display: grid; gap: 18px; }
.editor-tile { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border: 1px solid #ececec; border-radius: 14px; background: #fff; }
.editor-tile__photo, .editor-profile__photo, .author-box__photo { display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #eaf7f8; color: var(--link); font-weight: 700; }
.editor-tile__photo { width: 120px; height: 120px; font-size: 34px; }
.editor-tile__photo img, .editor-profile__photo img, .author-box__photo img { width: 100%; height: 100%; object-fit: cover; }
.editor-tile h2 { font-size: 21px; letter-spacing: -0.4px; }
.editor-tile h2 a:hover { color: var(--link); }
.editor-tile__role { margin: 4px 0 0; color: var(--link); font-size: 14px; font-weight: 600; }
.editor-tile__bio { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.editor-tile__meta { margin: 10px 0 8px; color: #8a8a8a; font-size: 13px; }

.editor-profile { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 44px; align-items: center; margin: 8px 0 36px; }
.editor-profile__photo { width: 400px; height: 400px; font-size: 96px; }
.editor-profile__eyebrow { margin: 0 0 6px; color: var(--link); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editor-profile h1 { font-size: 36px; letter-spacing: -1px; line-height: 1.15; }
.editor-profile__role { margin: 6px 0 0; color: var(--text-heading-2); font-size: 16px; font-weight: 600; }
.editor-profile__summary { margin: 14px 0 0; font-size: 16px; line-height: 1.65; max-width: 620px; }
.editor-profile__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.editor-profile__links a { display: inline-block; padding: 7px 14px; border: 1px solid #dcdcdc; border-radius: 100px; color: var(--text-heading); font-size: 13px; font-weight: 600; }
.editor-profile__links a:hover { border-color: var(--link); color: var(--link); }
/* Especialidades logo abaixo do LinkedIn, 20 px abaixo dele. */
.editor-profile__expertise { margin: 20px 0 0; }
.editor-profile__expertise-title { margin: 0 0 10px; color: var(--text-heading); font-size: 14px; font-weight: 700; }
.editor-profile__expertise-list { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-profile__bio { max-width: 760px; margin: 0 0 44px; }
.editor-profile__bio h2, .editor-profile__reviewed h2 { margin-bottom: 16px; font-size: 24px; }
.editor-profile__bio p { margin: 0 0 16px; color: var(--text-heading-2); font-size: 16px; line-height: 1.75; }
.editor-profile__bio ul { margin: 0 0 16px; padding-left: 20px; color: var(--text-heading-2); font-size: 16px; line-height: 1.75; }
.editor-profile__posts { margin-bottom: 40px; }
.editor-profile__reviewed { margin-bottom: 36px; }
.editor-profile__reviewed ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.editor-profile__reviewed a { color: var(--link); }

.post-detail__author { color: var(--link); font-weight: 600; }
.post-detail__author:hover { text-decoration: underline; }
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 48px; padding: 26px; border: 1px solid #e6eeef; border-radius: 14px; background: #f6fbfb; }
.author-box__photo { width: 96px; height: 96px; font-size: 28px; }
.author-box__label { margin: 0; color: var(--link); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.author-box__name { margin: 4px 0 0; color: var(--text-heading); font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.author-box__name a:hover { color: var(--link); }
.author-box__role { margin: 2px 0 0; color: var(--text-heading-2); font-size: 14px; font-weight: 600; }
.author-box__bio { margin: 10px 0 0; font-size: 15px; line-height: 1.6; }
.author-box__review { margin: 10px 0 0; color: #8a8a8a; font-size: 13px; }
.author-box__review a { color: var(--text-heading-2); font-weight: 600; }
.author-box__more { display: inline-block; margin-top: 12px; color: var(--link); font-size: 14px; font-weight: 600; }
.author-box__more:hover { text-decoration: underline; }

.site-footer__link { display: inline-block; margin-top: 14px; color: var(--accent-cyan); font-size: 14px; font-weight: 600; }
.site-footer__link:hover { text-decoration: underline; }

/* Foto grande ao lado do texto só cabe com a tela larga; abaixo disso, a foto vem em cima. */
@media (max-width: 1100px) {
  .editor-profile { grid-template-columns: 1fr; gap: 26px; }
  .editor-profile__photo { width: 320px; height: 320px; }
}

@media (max-width: 620px) {
  .editor-tile { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .editor-tile__photo { width: 96px; height: 96px; }
  .editor-profile { grid-template-columns: 1fr; gap: 22px; }
  .editor-profile__photo { width: min(100%, 320px); height: auto; aspect-ratio: 1; font-size: 72px; }
  .editor-profile h1 { font-size: 28px; }
  .author-box { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .author-box__photo { width: 80px; height: 80px; }
}
/* Na página do editor a foto é quadrada (o círculo fica só no quadro do artigo e na lista). */
.editor-profile__photo { border-radius: 12px; }

/* Foto pequena de editor (quadro do artigo e lista): aproxima do rosto, para foto de meio corpo. */
.photo-zoom { transform: scale(1.6); transform-origin: 50% 8%; }

/* Materiais gratuitos: janela do formulário e página do material */
.lead-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--text-body); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.lead-modal::backdrop { background: rgba(17, 17, 17, 0.62); }
.lead-modal__box { position: relative; padding: 32px 32px 28px; }
.lead-modal__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #555; font-size: 26px; line-height: 1; cursor: pointer; }
.lead-modal__close:hover { background: #f1f1f1; color: #111; }
.lead-modal__eyebrow { display: inline-block; margin-bottom: 8px; color: var(--link); font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.lead-modal h2, .material-page h1 { margin: 0 0 8px; color: var(--text-heading); font-size: 22px; font-weight: 700; line-height: 1.3; }
.lead-modal__intro { margin: 0 0 20px; font-size: 14px; }
.lead-modal__step[hidden] { display: none; }
.lead-modal__done { text-align: center; padding: 12px 0 4px; }
.lead-modal__done p { margin: 0 0 20px; font-size: 14px; }
.lead-modal__check { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: #e3fbfc; color: var(--link); font-size: 28px; font-weight: 700; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form__field { display: flex; flex-direction: column; gap: 6px; color: var(--text-heading-2); font-size: 13px; font-weight: 600; }
.lead-form__field input { width: 100%; padding: 12px 14px; border: 1px solid #d7d7d7; border-radius: 8px; background: #fff; color: var(--text-heading); font: inherit; font-size: 15px; font-weight: 500; }
.lead-form__field input:focus { outline: 2px solid var(--accent-cyan); outline-offset: 1px; border-color: var(--link); }
.lead-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.5; }
.lead-form__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--link); }
.lead-form__consent a { color: var(--link); text-decoration: underline; }
.lead-form__error { color: #c0392b; font-size: 12px; font-weight: 600; }
.lead-form__error:empty { display: none; }
.lead-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 26px; border: 0; border-radius: 100px; background: var(--dark-menu); color: var(--accent-cyan); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; cursor: pointer; }
.lead-form__submit:hover { background: #000; color: #fff; }
.lead-form__submit:disabled { opacity: 0.6; cursor: wait; }
.material-page { max-width: 1146px; }
.material-page__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 24px; }
.material-page__cover img { width: 100%; border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14); }
.material-page__description { margin: 0 0 20px; font-size: 15px; line-height: 1.7; }
.material-page__body { max-width: 520px; }
@media (max-width: 760px) {
  .lead-modal__box { padding: 28px 20px 22px; }
  .material-page__grid { grid-template-columns: 1fr; gap: 24px; }
  .material-page__cover { max-width: 320px; }
}

/* Home: "Nossos autores", entre "Mais populares" e o rodapé */
.home-authors__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.home-author { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 24px 24px; border: 1px solid #ececec; border-radius: 14px; background: #fff; text-align: center; }
.home-author__photo { display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 10px; overflow: hidden; border-radius: 50%; background: #eaf7f8; color: var(--link); font-size: 30px; font-weight: 700; }
.home-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-author h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-heading); }
.home-author h3 a:hover { color: var(--link); }
.home-author__role { margin: 0; color: var(--link); font-size: 13px; font-weight: 600; }
.home-author__bio { display: -webkit-box; margin: 8px 0 6px; overflow: hidden; font-size: 14px; line-height: 1.6; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.home-author .link-leia-mais { margin-top: auto; align-self: center; }

/* WhatsApp: topo, rodapé e botão flutuante (número em Painel > Configurações) */
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-header__actions .site-header__search { justify-self: auto; }
.site-header__whatsapp { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px; background: #25d366; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09); transition: background 150ms ease; }
.site-header__whatsapp:hover { background: #1ebe5b; color: #fff; }
.site-footer__whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 20px; border-radius: 100px; background: #25d366; color: #fff; font-size: 14px; font-weight: 700; }
.site-footer__whatsapp:hover { background: #1ebe5b; color: #fff; }
.site-footer__whatsapp + .site-footer__link { display: block; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); transition: transform 150ms ease, background 150ms ease; }
.whatsapp-float:hover { background: #1ebe5b; color: #fff; transform: scale(1.06); }
/* O flutuante ocupa o canto direito: o "voltar ao topo" do rodapé vai para a esquerda dele. */
.back-to-top { right: 100px; }
/* Logo do rodapé: 30% maior e em branco, sobre o fundo escuro. */
.site-footer__brand img { height: 73px; filter: brightness(0) invert(1); }
@media (max-width: 1180px) {
  .site-header__whatsapp span { display: none; }
  .site-header__whatsapp { padding: 11px; }
}
@media (max-width: 620px) {
  .site-header__actions { order: 2; flex: 1 1 100%; }
  .site-header__actions .site-header__search { flex: 1 1 auto; order: 0; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .site-footer__bottom { padding-right: 140px; }
  .back-to-top { right: 84px; }
}

/* Página de autor: outros autores na lateral; a lista de autores ocupa a largura toda. */
.page__grid--single { grid-template-columns: minmax(0, 1fr); }
.page__grid--single .page__content { max-width: 980px; }
.authors-box h3 { margin-bottom: 16px; color: var(--text-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.authors-box__list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.authors-box__item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #ececec; border-radius: 12px; background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }
.authors-box__item:hover { border-color: var(--link); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.authors-box__photo { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: #eaf7f8; color: var(--link); font-weight: 700; }
.authors-box__photo img { width: 100%; height: 100%; object-fit: cover; }
.authors-box__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.authors-box__text strong { color: var(--text-heading); font-size: 15px; }
.authors-box__text small { color: var(--link); font-size: 12px; font-weight: 600; }

/* Topo: logo 30% maior; "Visite o site" ao lado do "Fale conosco", no mesmo tamanho. */
.site-header__logo img { height: 68px; }
.site-header__site { display: inline-flex; align-items: center; gap: 8px; padding: 9.5px 16.5px; border: 1.5px solid var(--dark-menu); border-radius: 100px; background: #fff; color: var(--dark-menu); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09); transition: background 150ms ease, color 150ms ease; }
.site-header__site:hover { background: var(--dark-menu); color: #fff; }
@media (max-width: 1180px) {
  .site-header__site span { display: none; }
  .site-header__site { padding: 9.5px; }
}
@media (max-width: 620px) {
  .site-header__brand { justify-content: center; }
  .site-header__logo img { height: 60px; }
}
.site-header__site, .site-header__whatsapp { box-sizing: border-box; min-height: 42px; }
/* Com dois botões ao lado da busca, o menu fica no espaço do meio; abaixo de 1320 px desce para a segunda linha. */
.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 1320px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 18px; }
  .site-header__nav { grid-column: 1 / -1; order: 3; }
}
/* "Visite o site" no verde da marca (o mesmo do logo e dos links). */
.site-header__site { border-color: var(--link); color: var(--link); }
.site-header__site:hover { background: var(--link); color: #fff; }

/* Filtro de "Todos os conteúdos" (/conteudos): contagem à esquerda, tipo à direita. */
.list-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 24px; padding-bottom: 14px; border-bottom: 1px solid #ececec; }
.list-filters__count { margin: 0; color: var(--text-body); font-size: 14px; font-weight: 600; }
.list-filters__select { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--text-heading); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.list-filters__select select { min-width: 170px; padding: 9px 36px 9px 14px; border: 1.5px solid #dcdcdc; border-radius: 100px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23029da6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text-heading); font: inherit; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.list-filters__select select:hover, .list-filters__select select:focus { border-color: var(--link); outline: none; }
.list-filters__submit { padding: 9px 16px; border: 1.5px solid var(--link); border-radius: 100px; background: #fff; color: var(--link); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.list-filters__submit[hidden] { display: none; }
.list-filters__empty { flex: 1 1 100%; margin: 0; }

/* Data e autor nos cartões de conteúdo */
.post-card .post-card__meta, .post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: -2px 0 10px; color: #8a8a8a; font-size: 11.5px; font-weight: 400; }
.post-card__meta time { color: var(--link); }
.post-card__author { white-space: nowrap; }
