/* Blog da TMZ. Mesma base visual da home (index.html): gradiente teal, rede de pontos,
   vidro líquido. O texto do artigo fica num cartão claro e opaco, pra rede nunca passar
   por trás de texto corrido (regra do design-guide). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:  #1E4858;
  --slate: #627FA3;
  --steel: #85B4C5;
  --pale:  #9DCBD4;
  --ice:   #C6DCE4;
  --bg:    #F2F8FA;
  --gray:  #4A5E6A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,.8);
  background: linear-gradient(160deg, var(--dark) 0%, #2A6680 45%, var(--steel) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

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

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 480px; height: 480px; background: var(--pale);  opacity: .45; top: -120px; left: -120px; }
.blob-2 { width: 560px; height: 560px; background: var(--slate); opacity: .4;  top: 55%;    right: -180px; }

#networkCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
  /* a rede fica na margem direita: o texto do blog ocupa a esquerda e o centro */
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 52%, rgba(0,0,0,.55) 68%, #000 84%);
  mask-image: linear-gradient(100deg, transparent 0%, transparent 52%, rgba(0,0,0,.55) 68%, #000 84%);
}

/* ── REVEAL AO ROLAR ── */
.reveal {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--top   { transform: translateY(-40px); }
.reveal--left  { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--up    { transform: translateY(30px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .calc-selo::before { animation: none; }
}

/* ── VIDRO (mesma receita da home) ── */
.glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #fff;
  cursor: pointer;
  border: none;
  overflow: hidden;
  isolation: isolate;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  backdrop-filter: blur(3px) saturate(180%);
  -webkit-backdrop-filter: blur(3px) saturate(180%);
  transition: transform .25s cubic-bezier(.2,.8,.3,1.4), box-shadow .3s ease;
}
.glass-btn svg { width: 20px; height: 20px; }
.glass-btn::before {
  content: '';
  position: absolute;
  width: 34%; height: 36%;
  top: -8%; left: -4%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  mix-blend-mode: plus-lighter;
  z-index: -1;
}
.glass-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 2px 2px 3px rgba(255,255,255,.5), inset -2px -2px 4px rgba(0,10,15,.4);
  z-index: -1;
}
.glass-btn:hover { transform: translateY(-3px) scale(1.015); }
.glass-btn:active { transform: translateY(-1px) scale(.98); }
.glass-btn-primary {
  background: rgba(30,72,88,.08);
  box-shadow: 0 2px 3px rgba(10,28,36,.25), 0 30px 34px -10px rgba(10,28,36,.5), 0 64px 80px -20px rgba(10,28,36,.65);
}
.glass-btn-primary:hover {
  box-shadow: 0 3px 4px rgba(10,28,36,.3), 0 38px 44px -10px rgba(10,28,36,.55), 0 76px 96px -20px rgba(10,28,36,.7), 0 0 26px rgba(157,203,212,.3);
}
.glass-btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  box-shadow: 0 2px 3px rgba(10,28,36,.25), 0 14px 20px -8px rgba(10,28,36,.45);
}

.glass-block, .glass-block-light {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
/* blur mais alto que o da home: aqui o vidro leva texto, e a rede não pode aparecer nítida atrás */
.glass-block {
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 3px 5px rgba(10,28,36,.2), 0 30px 40px -12px rgba(10,28,36,.45), 0 64px 80px -20px rgba(10,28,36,.55);
}
.glass-block-light {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 3px 5px rgba(10,28,36,.15), 0 30px 40px -12px rgba(10,28,36,.35), 0 64px 80px -20px rgba(10,28,36,.45);
}
.glass-block::after, .glass-block-light::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 2px 2px 3px rgba(255,255,255,.45), inset -2px -2px 5px rgba(0,10,15,.3);
  z-index: -1;
  pointer-events: none;
}
.glass-block::before, .glass-block-light::before {
  content: '';
  position: absolute;
  width: 34%; height: 26%;
  top: -8%; left: -6%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 72%);
  mix-blend-mode: plus-lighter;
  z-index: -1;
  pointer-events: none;
}

.rotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pale);
  margin-bottom: 14px;
}

/* ── TOPO ── */
.aviso-rascunho {
  background: #fff;
  color: var(--dark);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
}
.topo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topo-logo img {
  height: 30px;
  width: auto;
  display: block;
  transition: filter .35s ease;
}
.topo-logo:hover img { filter: drop-shadow(0 0 14px rgba(255,255,255,.85)) drop-shadow(0 0 30px rgba(198,220,228,.6)); }
.topo-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.topo-nav > a:not(.glass-btn) { color: rgba(255,255,255,.7); transition: color .2s ease; }
.topo-nav > a:not(.glass-btn):hover, .topo-nav > a.ativo { color: #fff; }

/* barra de progresso de leitura */
.progresso {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
}
.progresso span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--lido, 0));
  background: linear-gradient(90deg, var(--pale), #fff);
  box-shadow: 0 0 12px rgba(198,220,228,.8);
}

/* ── ÍNDICE ── */
.indice { max-width: 1180px; margin: 0 auto; padding: 24px 32px 96px; }
.indice-hero { max-width: 760px; padding: 32px 0 40px; }
.indice-hero h1, .artigo-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
}
.indice-hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; }
.indice-hero h1 span { color: var(--pale); }
.indice-sub { font-size: 18px; line-height: 1.6; margin-top: 20px; color: rgba(255,255,255,.78); }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filtro {
  font: 500 13px 'Inter', sans-serif;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filtro:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.filtro.ativo { background: #fff; color: var(--dark); border-color: #fff; }

.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cartao {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease, opacity .7s, background .3s ease;
}
.cartao:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.cartao[hidden] { display: none; }
.cartao--destaque { grid-column: span 2; padding: 40px; }
.cartao--destaque h2 { font-size: clamp(24px, 3vw, 32px); }
.cartao-capa { width: calc(100% + 56px); height: auto; margin: -30px -28px 8px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cartao--destaque .cartao-capa { width: calc(100% + 80px); margin: -40px -40px 8px; }
.cartao-cat { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--pale); }
.cartao h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.4px;
  color: #fff;
}
.cartao p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); }
.cartao-meta { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: auto; padding-top: 8px; }
.cartao-meta b { color: #fff; font-weight: 600; }
.cartao-seta { font-size: 13px; font-weight: 600; color: #fff; transition: letter-spacing .3s ease; }
.cartao:hover .cartao-seta { letter-spacing: .6px; }

.vazio { padding: 48px 32px; text-align: center; font-size: 16px; }

.faixa-guia {
  margin-top: 64px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.faixa-guia h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.5px; margin-bottom: 8px; }
.faixa-guia p:not(.rotulo) { font-size: 15px; line-height: 1.6; max-width: 520px; }
.faixa-guia .glass-btn { flex-shrink: 0; }

/* ── ARTIGO ── */
.artigo-pagina { max-width: 1180px; margin: 0 auto; padding: 8px 32px 96px; }
.artigo-hero { max-width: 840px; padding: 32px 0 44px; }
.artigo-hero--capa {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
.artigo-hero-capa {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 3px 5px rgba(10,28,36,.2), 0 30px 40px -12px rgba(10,28,36,.45), 0 64px 80px -20px rgba(10,28,36,.55);
}
.trilha { font-size: 13px; color: rgba(255,255,255,.6); display: flex; gap: 8px; margin-bottom: 22px; }
.trilha a { color: var(--pale); font-weight: 500; }
.trilha a:hover { color: #fff; }
.artigo-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }
.artigo-hero--capa h1 { font-size: clamp(30px, 3.6vw, 46px); }
.artigo-sub { font-size: 19px; line-height: 1.6; margin-top: 20px; color: rgba(255,255,255,.8); }
.artigo-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.artigo-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.artigo-meta strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.artigo-meta span { font-size: 13px; color: rgba(255,255,255,.65); }

.artigo-grade {
  display: grid;
  grid-template-columns: minmax(0, 780px) 270px;
  gap: 48px;
  align-items: start;
}

.artigo {
  background: var(--bg);
  color: var(--gray);
  border-radius: 24px;
  padding: 60px 64px 48px;
  box-shadow: 0 3px 5px rgba(10,28,36,.15), 0 30px 40px -12px rgba(10,28,36,.35), 0 64px 80px -20px rgba(10,28,36,.45);
}

.conteudo { font-size: 18px; line-height: 1.78; }
.conteudo > * + * { margin-top: 1.15em; }
.conteudo h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.6px;
  color: var(--dark);
  margin-top: 2em;
  scroll-margin-top: 32px;
}
.conteudo h2::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--pale);
  margin-bottom: 18px;
}
.conteudo h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 1.6em;
  scroll-margin-top: 32px;
}
.conteudo > p:first-child { font-size: 20px; color: var(--dark); }
.conteudo strong { color: var(--dark); font-weight: 600; }
.conteudo a { color: var(--slate); text-decoration: underline; text-decoration-color: var(--pale); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.conteudo a:hover { color: var(--dark); text-decoration-color: var(--slate); }
.conteudo ul, .conteudo ol { padding-left: 0; list-style: none; }
.conteudo li { position: relative; padding-left: 34px; }
.conteudo li + li { margin-top: .6em; }
.conteudo ul li::before {
  content: '';
  position: absolute;
  left: 8px; top: .72em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--steel);
}
.conteudo ol { counter-reset: item; }
.conteudo ol li { counter-increment: item; }
.conteudo ol li::before {
  content: counter(item);
  position: absolute;
  left: 0; top: .2em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--dark);
  font: 600 13px/24px 'Space Grotesk', sans-serif;
  text-align: center;
}
.conteudo blockquote {
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(198,220,228,.7), rgba(157,203,212,.35));
  border-left: 3px solid var(--slate);
  color: var(--dark);
  font-weight: 500;
}
.conteudo figure img, .conteudo p img { width: 100%; height: auto; border-radius: 16px; display: block; }
.conteudo figcaption { font-size: 14px; color: var(--slate); margin-top: 14px; text-align: center; }

/* fileira de telas de celular (imagens em linhas seguidas no markdown) */
.conteudo .telas {
  margin: 2em -24px;
  padding: 36px 24px 28px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--dark) 0%, #2A6680 55%, var(--steel) 100%);
}
.telas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.telas figcaption { grid-column: 1 / -1; color: rgba(255,255,255,.75); margin-top: 4px; }
.tela { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tela-celular {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 540 / 1169;
  padding: 6px;
  border-radius: 28px;
  background: #0E2630;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), 0 20px 36px -12px rgba(5,20,28,.7);
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.tela-celular img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; display: block; }
.tela:hover .tela-celular { transform: translateY(-6px); }
.tela span { display: flex; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.4; color: #fff; text-align: left; max-width: 190px; }
.tela span b {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--dark);
  font: 600 12px/22px 'Space Grotesk', sans-serif;
  text-align: center;
}

/* oferta no meio do texto: quem chega por anúncio nem sempre lê até o fim */
.oferta {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  margin: 2em 0;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--ice);
  box-shadow: 0 8px 32px rgba(30,72,88,.12);
}
.oferta img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.oferta p { font-size: 16px; line-height: 1.6; }
.oferta .oferta-titulo { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700; color: var(--dark); line-height: 1.25; margin-bottom: 8px; }
.conteudo .botao-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dark), var(--slate));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow .35s ease, transform .2s ease;
}
.botao-whatsapp svg { width: 18px; height: 18px; }
.conteudo .botao-whatsapp:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 16px rgba(98,127,163,.45), 0 10px 24px -6px rgba(30,72,88,.5); }

/* calculadora de comissão */
.calculadora {
  padding: 32px;
  margin: 2em 0;
  border-radius: 20px;
  background: #fff;
  color: var(--gray);
  border: 1.5px solid var(--ice);
  box-shadow: 0 8px 32px rgba(30,72,88,.12);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
/* cabeçalho escuro: a calculadora é o ponto alto do artigo, tem que saltar do texto */
.calc-topo {
  margin: -32px -32px 4px;
  padding: 30px 32px 28px;
  background: linear-gradient(135deg, var(--dark) 0%, #2A6680 60%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
}
.calc-topo::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -90px;
  border-radius: 50%;
  background: var(--pale);
  opacity: .35;
  filter: blur(50px);
}
.calc-selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--pale);
  padding: 6px 12px;
  border-radius: 999px;
}
.calc-selo::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dark);
  animation: pulsa 1.6s ease-in-out infinite;
}
@keyframes pulsa { 50% { transform: scale(1.6); opacity: .4; } }
.calc-titulo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.1;
  color: #fff;
  margin-top: 14px;
}
.calc-sub { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.82); margin-top: 8px; position: relative; z-index: 1; }
.calculadora label { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 500; color: var(--dark); }
.calculadora label output { font: 700 15px 'Space Grotesk', sans-serif; color: var(--slate); margin-left: 6px; }
.calc-campo {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 0 16px;
  border: 1.5px solid var(--ice);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color .2s ease;
}
.calc-campo:focus-within { border-color: var(--slate); }
.calc-campo span { color: var(--slate); font-weight: 600; }
.calc-campo input { border: none; background: none; outline: none; font: 600 18px 'Inter', sans-serif; color: var(--dark); padding: 12px 0; width: 100%; }
.calculadora input[type=range] { width: 100%; accent-color: var(--slate); height: 22px; cursor: pointer; }
.calc-resultado { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-resultado div { padding: 16px; border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.calc-resultado span { font-size: 13px; line-height: 1.35; }
.calc-resultado strong { font: 700 22px 'Space Grotesk', sans-serif; color: var(--dark); letter-spacing: -.4px; }
.calc-resultado .calc-destaque { background: linear-gradient(135deg, var(--dark), var(--slate)); }
.calc-destaque span { color: rgba(255,255,255,.8); }
.calc-resultado .calc-destaque strong { color: #fff; }
.calc-nota { font-size: 13px; line-height: 1.5; color: var(--slate); }

.compartilhar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ice);
}
.compartilhar span { font-size: 13px; font-weight: 600; color: var(--dark); margin-right: 6px; }
.compartilhar a, .compartilhar button {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--ice);
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.compartilhar svg { width: 18px; height: 18px; }
.compartilhar a:hover, .compartilhar button:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-2px); }
.copiar-link.copiado::after {
  content: 'Link copiado';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 500 12px 'Inter', sans-serif;
  background: var(--dark);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
}

.autora {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(30,72,88,.07);
}
.autora img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.autora strong { color: var(--dark); font-family: 'Space Grotesk', sans-serif; font-size: 17px; }
.autora p { font-size: 14.5px; line-height: 1.6; margin-top: 4px; }

/* sumário: lateral fixa no computador, sanfona no celular */
.lateral { position: sticky; top: 28px; }
.sumario { padding: 26px 24px; }
.sumario ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sumario a {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  padding: 8px 0 8px 16px;
  border-left: 2px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.62);
  transition: color .25s ease, border-color .25s ease, padding-left .25s ease;
}
.sumario a:hover { color: #fff; }
.sumario a.ativo { color: #fff; border-left-color: var(--pale); padding-left: 20px; font-weight: 500; }

.sumario-celular {
  display: none;
  margin-bottom: 32px;
  border: 1px solid var(--ice);
  border-radius: 14px;
  background: #fff;
}
.sumario-celular summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.sumario-celular summary::-webkit-details-marker { display: none; }
.sumario-celular summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--slate); }
.sumario-celular[open] summary::after { content: '−'; }
.sumario-celular ol { padding: 0 20px 16px 38px; font-size: 15px; line-height: 1.5; }
.sumario-celular li + li { margin-top: 8px; }
.sumario-celular a { color: var(--slate); }

.cta {
  margin-top: 64px;
  padding: 52px 48px;
  text-align: center;
  max-width: 780px;
}
.cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; color: #fff; letter-spacing: -.6px; line-height: 1.2; }
.cta p { font-size: 16.5px; line-height: 1.65; margin: 16px auto 30px; max-width: 560px; }

.relacionados { margin-top: 80px; }
.grade--3 .cartao { grid-column: auto; }

/* ── RODAPÉ E WHATSAPP (iguais à home) ── */
footer { text-align: center; padding: 48px 16px 56px; }
footer img { width: 150px; height: auto; transition: filter .35s ease; }
footer img:hover { filter: drop-shadow(0 0 14px rgba(255,255,255,.85)) drop-shadow(0 0 30px rgba(198,220,228,.6)); }
.footer-tag { font-size: 10px; letter-spacing: 3px; color: var(--pale); margin-top: 14px; font-weight: 500; }
.accent-line { width: 40px; height: 2px; background: var(--pale); margin: 20px auto 0; }
.footer-legal { margin-top: 24px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.footer-legal a { color: rgba(255,255,255,.55); }
.footer-legal a:hover { color: #fff; }
.footer-legal span { color: rgba(255,255,255,.3); }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(37,211,102,.55);
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 2px 4px rgba(8,30,16,.3), 0 14px 24px -8px rgba(8,30,16,.45), 0 30px 44px -14px rgba(8,30,16,.5);
  z-index: 200;
  transition: box-shadow .35s ease, background .35s ease, transform .2s ease;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 2px 2px 3px rgba(255,255,255,.5), inset -2px -2px 4px rgba(0,20,10,.35);
  z-index: -1;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { background: rgba(37,211,102,.72); transform: translateY(-2px); }

/* ── RESPONSIVO ── */
@media (max-width: 1000px) {
  .artigo-grade { grid-template-columns: minmax(0, 1fr); }
  .lateral { display: none; }
  .sumario-celular { display: block; }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .cta { max-width: none; }
  .artigo-hero--capa { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  /* no celular o texto ocupa a largura toda, então a rede sai; ficam o gradiente e os pontos */
  #networkCanvas { display: none; }
  .topo { padding: 20px 16px; }
  .topo-nav { gap: 18px; }
  .topo-nav > a:first-child { display: none; }
  .indice, .artigo-pagina { padding-left: 16px; padding-right: 16px; }
  .indice-hero { padding-top: 16px; }
  .grade { grid-template-columns: 1fr; }
  .cartao--destaque { grid-column: auto; padding: 30px 24px; }
  .cartao { padding: 26px 22px; }
  .cartao-capa, .cartao--destaque .cartao-capa { width: calc(100% + 44px); margin: -26px -22px 8px; }
  .faixa-guia { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .artigo-hero { padding: 16px 0 32px; }
  .artigo-sub { font-size: 17px; }
  .artigo { padding: 32px 20px 28px; border-radius: 20px; }
  .conteudo { font-size: 17px; line-height: 1.72; }
  .conteudo > p:first-child { font-size: 18px; }
  .conteudo h2 { font-size: 24px; }
  .conteudo blockquote { padding: 20px; }
  .artigo-hero-capa { border-radius: 18px; }
  .conteudo .telas { margin: 2em -20px; padding: 28px 14px 22px; border-radius: 0; gap: 10px; }
  .tela-celular { border-radius: 18px; padding: 4px; }
  .tela-celular img { border-radius: 14px; }
  .tela span { font-size: 12px; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .oferta { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .oferta img { aspect-ratio: 16 / 10; }
  .calculadora { padding: 22px 18px; margin-left: -4px; margin-right: -4px; }
  .calc-topo { margin: -22px -18px 2px; padding: 24px 18px 22px; }
  .calc-resultado { grid-template-columns: 1fr 1fr; }
  .calc-resultado .calc-destaque { grid-column: 1 / -1; }
  .calc-campo { max-width: none; }
  .autora { flex-direction: column; text-align: center; }
  .cta { padding: 40px 22px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
}
