/* ==========================================================================
   Logos — Núcleo Integrado de Reabilitação
   Base visual compartilhada · segue docs/direcao-de-arte.md
   Paleta permitida: #00C979 #C4D83B #007E6C #6C6E71 #F7F8F3 #FFFFFF
   (sem azul, sem gradientes; #00C979 nunca como cor de texto)
   ========================================================================== */

/* ---------- Fonte local (Nunito variável, OFL) ---------- */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito%5Bwght%5D.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Italic%5Bwght%5D.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --verde: #00C979;       /* protagonista: formas, blobs, marcadores, sombras */
  --limao: #C4D83B;       /* acento raro: stickers */
  --profundo: #007E6C;    /* títulos, links, blocos escuros, rodapé */
  --cinza: #6C6E71;       /* texto corrido */
  --off: #F7F8F3;         /* fundo */
  --branco: #FFFFFF;

  --linha: rgba(108, 110, 113, 0.18);
  --verde-suave: rgba(0, 201, 121, 0.14);

  --fonte: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 82rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --gap: clamp(1rem, 2.4vw, 2rem);
  --header-h: 4.25rem;

  --t-mega: clamp(3rem, 9vw, 8.75rem);
  --t-h1: clamp(2.6rem, 7vw, 6.5rem);
  --t-h2: clamp(2rem, 4.8vw, 4.25rem);
  --t-h3: clamp(1.35rem, 2.3vw, 1.95rem);
  --t-lead: clamp(1.15rem, 1.7vw, 1.5rem);
  --t-num: clamp(3.75rem, 10vw, 12rem);

  --raio-lobulo: 2.2em 1.3em 2.4em 1.1em / 1.5em 2.2em 1.2em 2em;
  --raio-torto: 4px 18px 6px 22px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset enxuto ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fonte);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cinza);
  background-color: var(--off);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--profundo);
  text-wrap: balance;
}

p,
ul,
ol,
dl {
  margin: 0 0 1em;
}

p {
  max-width: 62ch;
  text-wrap: pretty;
}

a {
  color: var(--profundo);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--verde);
}

a:hover {
  text-decoration-thickness: 3px;
}

strong,
b {
  font-weight: 800;
}

button {
  font: inherit;
}

/* ---------- Acessibilidade ---------- */
:focus-visible {
  outline: 3px solid var(--profundo);
  outline-offset: 3px;
  border-radius: 4px;
}

.escuro :focus-visible,
.rodape :focus-visible {
  outline-color: var(--branco);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  color: var(--branco);
  background: var(--profundo);
  border-radius: var(--raio-torto);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
  outline-color: var(--verde);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grade {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grade > * {
  grid-column: 1 / -1;
  min-width: 0;
}

@media (min-width: 60em) {
  .c-1-5 { grid-column: 1 / 6; }
  .c-1-6 { grid-column: 1 / 7; }
  .c-1-7 { grid-column: 1 / 8; }
  .c-1-8 { grid-column: 1 / 9; }
  .c-1-9 { grid-column: 1 / 10; }
  .c-1-10 { grid-column: 1 / 11; }
  .c-1-13 { grid-column: 1 / 13; }
  .c-2-7 { grid-column: 2 / 8; }
  .c-2-8 { grid-column: 2 / 9; }
  .c-2-10 { grid-column: 2 / 11; }
  .c-2-11 { grid-column: 2 / 12; }
  .c-3-11 { grid-column: 3 / 11; }
  .c-3-12 { grid-column: 3 / 13; }
  .c-5-13 { grid-column: 5 / 13; }
  .c-6-13 { grid-column: 6 / 13; }
  .c-7-13 { grid-column: 7 / 13; }
  .c-8-13 { grid-column: 8 / 13; }
  .c-9-13 { grid-column: 9 / 13; }
  .alinha-fim { align-self: end; }
  .alinha-centro { align-self: center; }
}

.secao {
  position: relative;
  padding-block: clamp(4rem, 10vw, 9rem);
}

.secao--curta {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.secao--branca {
  background-color: var(--branco);
}

.corte {
  overflow: clip;
}

.empilha > * + * {
  margin-top: var(--gap);
}

/* Blocos escuros (verde profundo): texto branco = 5,0:1 */
.escuro {
  color: var(--branco);
  background-color: var(--profundo);
}

.escuro h1,
.escuro h2,
.escuro h3,
.escuro a,
.escuro .kicker {
  color: var(--branco);
}

/* ---------- Tipografia editorial ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profundo);
}

.kicker::before {
  content: "";
  flex: none;
  width: 1.15em;
  height: 1.15em;
  background: url("../img/lobulos.svg") center / contain no-repeat;
}

.t-mega {
  font-size: var(--t-mega);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.t-h1,
h1 {
  font-size: var(--t-h1);
}

.t-h2,
h2 {
  font-size: var(--t-h2);
}

.t-h3,
h3 {
  font-size: var(--t-h3);
  line-height: 1.08;
}

.leve {
  font-weight: 300;
  color: var(--cinza);
}

.escuro .leve {
  color: var(--branco);
}

.lead {
  font-size: var(--t-lead);
  font-weight: 300;
  line-height: 1.45;
  max-width: 40ch;
}

.lead strong {
  font-weight: 800;
  color: var(--profundo);
}

.escuro .lead strong {
  color: var(--branco);
}

.pequeno {
  font-size: 0.9375rem;
}

/* Palavra-chave: texto #007E6C sobre marcador #00C979 desenhado à mão */
.destaque {
  color: var(--profundo);
  background: url("../img/sublinhado-mao.svg") no-repeat 0 96% / 100% 0.26em;
  padding-bottom: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.escuro .destaque {
  color: var(--branco);
}

/* Link com sublinhado que "desenha" */
.link-mao {
  font-weight: 800;
  text-decoration: none;
  background: url("../img/sublinhado-mao.svg") no-repeat 0 100% / 0% 0.38em;
  padding-bottom: 0.18em;
  transition: background-size 0.35s var(--ease);
}

.link-mao:hover,
.link-mao:focus-visible {
  background-size: 100% 0.38em;
}

.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 800;
  text-decoration: none;
}

.link-seta .seta {
  transition: transform 0.25s var(--ease);
}

.link-seta:hover .seta,
.link-seta:focus-visible .seta {
  transform: translateX(5px);
}

/* ---------- Botões / CTA ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95em 1.55em;
  font-family: var(--fonte);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--branco);
  background-color: var(--profundo);
  border: 0;
  border-radius: var(--raio-lobulo);
  box-shadow: 0.3em 0.3em 0 var(--verde);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.botao:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.45em 0.45em 0 var(--verde);
}

.botao:active {
  transform: translate(2px, 2px);
  box-shadow: 0.1em 0.1em 0 var(--verde);
}

.botao .seta {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.botao:hover .seta {
  transform: translateX(4px);
}

.botao.botao--claro {
  color: var(--profundo);
  background-color: var(--branco);
}

.escuro a.botao:not(.botao--claro) {
  color: var(--branco);
}

.botao--grande {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  padding: 1.05em 1.8em;
}

/* ---------- Sistema de formas ---------- */
/* Blob de cinco lóbulos (contorno do símbolo oficial) */
.blob {
  position: absolute;
  z-index: 0;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
  pointer-events: none;
}

.blob--suave {
  opacity: 0.16;
}

/* Máscara de cinco lóbulos para imagens e composições */
.mascara-lobulos {
  -webkit-mask: url("../img/lobulos.svg") center / contain no-repeat;
  mask: url("../img/lobulos.svg") center / contain no-repeat;
  aspect-ratio: 468 / 453;
}

/* Lóbulo usado como fundo recortado atrás de títulos */
.fundo-lobulo {
  position: relative;
  isolation: isolate;
}

.fundo-lobulo::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.35em;
  top: -0.2em;
  width: 1.6em;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
  opacity: 0.22;
}

/* Stickers rotacionados (limão com texto #007E6C apenas grande e em negrito) */
.sticker {
  display: inline-block;
  margin: 0;
  padding: 0.45em 0.95em 0.5em;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--profundo);
  background-color: var(--limao);
  border-radius: var(--raio-torto);
  transform: rotate(-4deg);
}

.sticker--branco {
  background-color: var(--branco);
}

.sticker--direita {
  transform: rotate(5deg);
}

/* Traços à mão (decorativos, sempre aria-hidden) */
.traco-mao {
  pointer-events: none;
}

.seta-mao {
  width: clamp(5rem, 9vw, 8rem);
  height: auto;
}

/* Ruído sutil sobre fundos verdes */
.ruido {
  position: relative;
  isolation: isolate;
}

.ruido::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/ruido.svg") repeat;
  background-size: 220px 220px;
  opacity: 0.06;
  pointer-events: none;
}

/* ---------- Cabeçalho fixo ---------- */
.topo-site {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(247, 248, 243, 0.96);
  border-bottom: 1px solid var(--linha);
}

.topo-site__barra {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.25rem);
  min-height: var(--header-h);
}

.marca {
  display: block;
  flex: none;
  padding-block: 0.6rem;
}

.marca img {
  width: clamp(8.75rem, 13vw, 10.75rem);
  height: auto;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 800;
  color: var(--cinza);
  text-decoration: none;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--profundo);
}

.menu a::after {
  content: "";
  position: absolute;
  left: -6%;
  bottom: 0.15rem;
  width: 112%;
  height: 0.42em;
  background: url("../img/sublinhado-mao.svg") no-repeat 0 50% / 0% 100%;
  transition: background-size 0.3s var(--ease);
  z-index: -1;
}

.menu a:hover::after,
.menu a[aria-current="page"]::after {
  background-size: 100% 100%;
}

.menu-botao {
  display: none;
}

.botao--topo {
  display: none;
  font-size: 0.9rem;
  padding: 0.75em 1.2em;
  box-shadow: 0.25em 0.25em 0 var(--verde);
}

@media (min-width: 60em) {
  .menu {
    margin-left: auto;
  }
}

@media (min-width: 80em) {
  .botao--topo {
    display: inline-flex;
  }
}

@media (max-width: 59.99em) {
  :root {
    --header-h: 4rem;
  }

  .menu-botao {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    font-weight: 800;
    color: var(--profundo);
    background: var(--branco);
    border: 2px solid var(--profundo);
    border-radius: var(--raio-torto);
    cursor: pointer;
  }

  .menu-botao__icone {
    position: relative;
    width: 1.25rem;
    height: 0.9rem;
  }

  .menu-botao__icone::before,
  .menu-botao__icone::after {
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transition: transform 0.25s var(--ease), top 0.25s var(--ease), width 0.25s var(--ease);
  }

  .menu-botao__icone::before {
    top: 0.05rem;
    width: 100%;
  }

  .menu-botao__icone::after {
    top: 0.62rem;
    width: 72%;
  }

  .menu-botao[aria-expanded="true"] .menu-botao__icone::before {
    top: 0.4rem;
    transform: rotate(45deg);
  }

  .menu-botao[aria-expanded="true"] .menu-botao__icone::after {
    top: 0.4rem;
    width: 100%;
    transform: rotate(-45deg);
  }

  /* Sem JS o menu fica sempre visível, em linha abaixo da marca */
  .menu {
    flex-basis: 100%;
    padding-bottom: 0.6rem;
  }

  .js .menu {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem var(--gutter) 1.75rem;
    background-color: var(--off);
    border-bottom: 3px solid var(--verde);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .js .topo-site.menu-aberto .menu {
    display: block;
  }

  .js .menu ul {
    flex-direction: column;
    gap: 0;
  }

  .js .menu a {
    display: block;
    padding: 0.55rem 0;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .js .menu a::after {
    width: 6.5em;
    left: 0;
  }
}

/* ---------- Abertura de página ---------- */
.abertura {
  position: relative;
  overflow: clip;
  padding-top: clamp(3rem, 9vw, 7.5rem);
  padding-bottom: clamp(3rem, 8vw, 6.5rem);
}

.abertura > .wrap {
  position: relative;
  z-index: 1;
}

.abertura__blob {
  width: clamp(16rem, 46vw, 44rem);
  right: calc(clamp(16rem, 46vw, 44rem) * -0.38);
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
}

.abertura__sticker {
  margin-top: 1.5rem;
}

@media (max-width: 59.99em) {
  .abertura__blob {
    position: relative;
    display: block;
    width: 70vw;
    right: auto;
    top: auto;
    margin: 2rem -22vw -3rem auto;
    transform: rotate(-8deg);
  }
}

/* ---------- Herói (home) ---------- */
.heroi {
  position: relative;
  overflow: clip;
  padding-top: clamp(3rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 9vw, 8rem);
}

.heroi > .wrap {
  position: relative;
  z-index: 1;
}

/* Frase de destaque longa: quebra natural "Cada conquista importa" / "e cada criança é única."
   (<br> no HTML); nenhuma palavra passa da largura útil de 320px a 1920px */
.heroi__titulo {
  max-width: none;
  margin-bottom: 0.35em;
  font-size: clamp(2.1rem, 6.8vw, 6.25rem);
  overflow-wrap: normal;
}

.heroi__blob {
  width: clamp(20rem, 60vw, 64rem);
  right: calc(clamp(20rem, 60vw, 64rem) * -0.42);
  top: 4%;
  transform: rotate(-12deg);
}

.heroi__sticker {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 9vw, 9rem);
  bottom: clamp(3rem, 10vw, 9rem);
}

.heroi__acoes {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (max-width: 59.99em) {
  .heroi__blob {
    position: relative;
    display: block;
    width: 82vw;
    right: auto;
    top: auto;
    margin: 2.5rem -28vw -4rem auto;
  }

  .heroi__sticker {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-block;
    margin-top: 2rem;
  }
}

/* ---------- Lista numerada grande ---------- */
.lista-num {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.lista-num > li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4.5rem, auto) 1fr;
  gap: 0 clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.25rem, 2.6vw, 2rem);
  border-top: 2px solid var(--linha);
  counter-increment: item;
}

.lista-num > li:last-child {
  border-bottom: 2px solid var(--linha);
}

.lista-num > li::before {
  content: counter(item, decimal-leading-zero);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--profundo);
}

.lista-num h3 {
  margin-bottom: 0.3em;
}

.lista-num p {
  margin: 0;
}

/* ---------- Bloco com deslocamento ---------- */
.bloco {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--branco);
  border-top: 6px solid var(--verde);
}

.bloco h3 {
  margin-bottom: 0.4em;
}

.bloco h3 a {
  text-decoration: none;
}

.bloco h3 a:hover {
  text-decoration: underline;
}

.secao--branca .bloco {
  background-color: var(--off);
}

.bloco--lobulo {
  border-top: 0;
  border-radius: var(--raio-lobulo);
  font-size: 1.0625rem;
}

@media (min-width: 60em) {
  .desloca {
    margin-top: clamp(3rem, 7vw, 6rem);
  }

  .desloca-neg {
    margin-top: clamp(-4rem, -5vw, -2rem);
  }
}

/* ---------- Seções de conteúdo (páginas internas) ---------- */
.titulo-secao {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.prosa {
  max-width: 44rem;
}

.prosa h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-top: 2em;
}

.prosa h3 {
  margin-top: 1.6em;
}

.prosa ul,
.prosa ol {
  padding-left: 1.2em;
}

.prosa li {
  margin-bottom: 0.4em;
}

.prosa li::marker {
  color: var(--profundo);
  font-weight: 900;
}

.ficha {
  display: grid;
  gap: 0.25rem 1.5rem;
  margin: 0;
}

.ficha dt {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profundo);
}

.ficha dd {
  margin: 0 0 1rem;
}

.escuro .ficha dt {
  color: var(--branco);
}

.indice-ancoras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.indice-ancoras a {
  display: inline-block;
  padding: 0.45em 0.95em;
  font-weight: 800;
  text-decoration: none;
  color: var(--profundo);
  background: var(--branco);
  border: 2px solid var(--profundo);
  border-radius: var(--raio-torto);
}

.indice-ancoras a:hover {
  background: var(--verde-suave);
}

.aviso {
  max-width: 46rem;
  margin-block: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--branco);
  border-left: 6px solid var(--limao);
  border-radius: 0 12px 12px 0;
}

.aviso p:last-child {
  margin-bottom: 0;
}

/* Artigos */
.artigo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 1.5rem;
  font-weight: 800;
  color: var(--profundo);
}

.lista-artigos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lista-artigos li {
  padding-block: 1.5rem;
  border-top: 2px solid var(--linha);
}

.lista-artigos li:last-child {
  border-bottom: 2px solid var(--linha);
}

.lista-artigos h2,
.lista-artigos h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 0.3em;
}

.lista-artigos a {
  text-decoration: none;
}

.lista-artigos a:hover {
  text-decoration: underline;
}

/* Chamada final (CTA) */
.chamada {
  position: relative;
  overflow: clip;
}

.chamada__blob {
  width: clamp(14rem, 34vw, 30rem);
  right: calc(clamp(14rem, 34vw, 30rem) * -0.35);
  bottom: -30%;
  transform: rotate(14deg);
  opacity: 0.9;
}

.chamada .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 59.99em) {
  .chamada__blob {
    display: none;
  }
}

.chamada .botao {
  margin-top: 0.75rem;
}

/* Seções de especialidade (serviços) */
.especialidade {
  border-top: 2px solid var(--linha);
}

.especialidade__num {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--profundo);
}

/* Leia também (artigos) */
.leia-tambem {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leia-tambem li + li {
  margin-top: 0.75rem;
}

/* ==========================================================================
   Blog — índice editorial e artigos
   ========================================================================== */

/* Índice: lista em escada, cada item com um tratamento próprio */
.indice-blog__cabeca {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.indice-blog__cabeca h2 {
  margin: 0;
}

.indice-blog__cabeca p {
  margin: 0;
  font-weight: 800;
  color: var(--profundo);
}

.indice-blog {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(3rem, 7vw, 5.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.indice-blog > li {
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
}

.indice-blog__artigo {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.indice-blog__num {
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--profundo);
}

.indice-blog__tema {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profundo);
}

.indice-blog h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.85rem);
  margin-bottom: 0.45em;
}

.indice-blog h3 a {
  text-decoration: none;
}

.indice-blog h3 a:hover,
.indice-blog h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--verde);
  text-decoration-thickness: 4px;
}

.indice-blog .artigo-meta {
  margin-bottom: 0.85rem;
}

.indice-blog__texto > p:last-child {
  margin-bottom: 0;
}

.indice-blog__arte {
  width: clamp(5.5rem, 11vw, 9rem);
  margin-top: 1.25rem;
}

/* 01 — traço escuro no topo */
.indice-blog__item--1 .indice-blog__artigo {
  padding-top: 1.5rem;
  border-top: 4px solid var(--profundo);
}

/* 02 — lóbulo off-white, número vazado */
.indice-blog__item--2 .indice-blog__artigo {
  padding: clamp(1.5rem, 4vw, 3rem);
  background-color: var(--off);
  border-radius: var(--raio-lobulo);
}

.indice-blog__item--2 .indice-blog__num {
  color: transparent;
  -webkit-text-stroke: 2px var(--profundo);
}

/* 03 — linha verde à esquerda e sticker */
.indice-blog__item--3 .indice-blog__artigo {
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 6px solid var(--verde);
}

.indice-blog__sticker {
  position: absolute;
  z-index: 1;
  top: -1.6rem;
  right: 0;
  font-size: 1.05rem;
  transform: rotate(4deg);
}

@media (min-width: 60em) {
  .indice-blog__item--1 { grid-column: 1 / 10; }
  .indice-blog__item--2 { grid-column: 4 / 13; }
  .indice-blog__item--3 { grid-column: 2 / 11; }

  .indice-blog__artigo {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .indice-blog__arte {
    margin-top: 0;
    align-self: center;
  }

  .indice-blog__item--2 .indice-blog__artigo {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .indice-blog__item--2 .indice-blog__texto {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .indice-blog__item--2 .indice-blog__arte {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 1rem;
  }
}

/* Princípios editoriais do blog */
.editorial {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.25rem;
  border-top: 2px solid var(--linha);
}

.editorial li:last-child {
  border-bottom: 2px solid var(--linha);
}

.editorial li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 1.25rem;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
}

.editorial strong {
  color: var(--profundo);
}

/* Artigo: prosa + coluna lateral "em resumo" */
.artigo-corpo {
  align-items: start;
}

.prosa--artigo > p:first-child {
  font-size: var(--t-lead);
  font-weight: 300;
  line-height: 1.5;
}

.prosa--artigo > h2:first-child {
  margin-top: 0;
}

.resumo {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--off);
  border-radius: 30px 8px 40px 0;
  box-shadow: 0.5rem 0.5rem 0 var(--verde);
}

.resumo h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profundo);
}

.resumo ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.resumo li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.45;
}

.resumo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 0.95rem;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
}

.resumo .combina {
  margin-bottom: 0;
}

.resumo .combina li {
  padding-left: 0;
  margin: 0;
}

.resumo .combina li::before {
  content: none;
}

.artigo-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.artigo-acoes .seta-mao {
  width: clamp(4rem, 7vw, 6rem);
  transform: scaleX(-1) rotate(-12deg);
}

@media (min-width: 60em) {
  .artigo-corpo .prosa {
    grid-column: 1 / 8;
    grid-row: 1;
  }

  .artigo-corpo .resumo {
    grid-column: 9 / 13;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .artigo-corpo .artigo-fim {
    grid-column: 1 / 8;
    grid-row: 2;
  }
}

/* Leia também: títulos grandes em lista numerada */
.leia-tambem--num {
  counter-reset: leia;
}

.leia-tambem--num li {
  counter-increment: leia;
  padding-block: 1.1rem;
  border-top: 2px solid var(--linha);
}

.leia-tambem--num li + li {
  margin-top: 0;
}

.leia-tambem--num li:last-child {
  border-bottom: 2px solid var(--linha);
}

.leia-tambem--num li::before {
  content: counter(leia, decimal-leading-zero);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--profundo);
}

.leia-tambem--num .link-seta {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
}

.leia-tambem--num .link-seta .seta {
  flex: none;
}

/* ---------- Números gigantes ---------- */
.numero {
  display: block;
  font-size: var(--t-num);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--profundo);
  font-variant-numeric: tabular-nums;
}

.escuro .numero {
  color: var(--branco);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(1rem, 2.5vw, 1.75rem);
  color: var(--branco);
  background-color: var(--profundo);
}

.marquee__trilho {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__grupo {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  list-style: none;
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.marquee__grupo li {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.marquee__grupo li::after {
  content: "";
  width: 0.7em;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
}

.marquee:hover .marquee__trilho,
.marquee:focus-within .marquee__trilho,
.marquee.is-pausado .marquee__trilho {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Gráfico SVG que se desenha ---------- */
.js [data-desenhar] .traco {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.8s var(--ease);
}

.js [data-desenhar].is-visible .traco {
  stroke-dashoffset: 0;
}

/* ---------- Rodapé ---------- */
.rodape {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  color: var(--branco);
  background-color: var(--profundo);
}

/* Mosaico espaçado de lóbulos */
.rodape::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.05);
  -webkit-mask: url("../img/lobulos.svg") 0 0 / 7.5rem auto space;
  mask: url("../img/lobulos.svg") 0 0 / 7.5rem auto space;
  pointer-events: none;
}

.rodape::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/ruido.svg") repeat;
  background-size: 220px 220px;
  opacity: 0.06;
  pointer-events: none;
}

.rodape a {
  color: var(--branco);
  text-decoration-color: var(--limao);
}

.rodape__grade {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem var(--gap);
}

.rodape__grade > * {
  grid-column: 1 / -1;
}

.rodape__marca img {
  width: clamp(11rem, 18vw, 14rem);
  height: auto;
  margin-bottom: 1.75rem;
}

.rodape__frase {
  margin: 1.75rem 0 0;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.rodape__titulo {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--branco);
}

.rodape .ficha dt {
  color: var(--branco);
  opacity: 1;
}

.rodape__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rodape__nav li + li {
  margin-top: 0.35rem;
}

.rodape__nav a {
  font-weight: 700;
  text-decoration: none;
}

.rodape__nav a:hover,
.rodape__nav a:focus-visible {
  text-decoration: underline;
}

.rodape__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9375rem;
}

.rodape__base p {
  margin: 0;
}

@media (min-width: 60em) {
  .rodape__marca { grid-column: 1 / 6; }
  .rodape__info { grid-column: 6 / 10; }
  .rodape__nav { grid-column: 10 / 13; }
}

/* ---------- Botão fixo de agendamento (celular) ---------- */
.cta-fixo {
  display: none;
}

@media (max-width: 59.99em) {
  body {
    padding-bottom: 5.25rem;
  }

  .cta-fixo {
    position: fixed;
    z-index: 45;
    left: 0.75rem;
    right: 4.75rem;
    bottom: 0.85rem;
    display: flex;
    min-height: 3.25rem;
    padding: 0.7em 1em;
    font-size: 0.95rem;
    text-align: center;
  }
}

/* ---------- Voltar ao topo ---------- */
.voltar-topo {
  position: fixed;
  z-index: 46;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--profundo);
  background-color: var(--branco);
  border: 2px solid var(--profundo);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  box-shadow: 0.2em 0.2em 0 var(--verde);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.voltar-topo:hover {
  transform: translateY(-3px);
}

.js .voltar-topo:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

@media (max-width: 59.99em) {
  .voltar-topo {
    right: 0.75rem;
    bottom: 0.85rem;
  }
}

/* ==========================================================================
   Home — componentes específicos
   ========================================================================== */

/* Herói: CTA único com seta desenhada à mão apontando para ele */
.heroi__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.heroi__seta {
  width: clamp(4.25rem, 8vw, 7rem);
  height: auto;
  transform: scaleX(-1) rotate(-14deg);
}

/* Especialidades: blocos com tratamentos diferentes (nada de cartões iguais) */
.bloco__rotulo {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--profundo);
}

.bloco--grande h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
}

.bloco--blob {
  overflow: clip;
  isolation: isolate;
  padding-bottom: clamp(4.5rem, 7vw, 5.5rem);
}

.bloco--blob::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2.5rem;
  bottom: -4rem;
  width: 8rem;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
  transform: rotate(-14deg);
}

.bloco--lateral {
  border-top: 0;
  border-left: 6px solid var(--verde);
  border-radius: 0 18px 18px 0;
}

.bloco.bloco--contorno {
  background-color: transparent;
  border: 2px solid var(--profundo);
  border-radius: var(--raio-torto);
}

.especialidades__extra {
  margin-top: 1rem;
  font-size: var(--t-lead);
  font-weight: 300;
}

/* Plataforma de acompanhamento como produto */
.produto {
  overflow: clip;
}

.produto__lista {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.produto__lista li {
  position: relative;
  max-width: 46ch;
  margin-bottom: 0.8rem;
  padding-left: 2rem;
}

.produto__lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.15rem;
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
}

.produto__painel {
  position: relative;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  color: var(--cinza);
  background-color: var(--branco);
  border-radius: 30px 8px 40px 0;
  box-shadow: 0.6rem 0.6rem 0 var(--verde);
}

.produto__barra {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  max-width: none;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--profundo);
}

.produto__tag {
  padding: 0.15em 0.6em;
  letter-spacing: 0.06em;
  border: 2px solid var(--profundo);
  border-radius: var(--raio-torto);
}

.produto__legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.legenda {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
}

.legenda::before {
  content: "";
  width: 1.75em;
  border-top: 4px solid var(--profundo);
  border-radius: 4px;
}

.legenda--b::before {
  border-top-color: var(--verde);
}

.produto__nota {
  flex-basis: 100%;
  font-size: 0.875rem;
}

.produto__sticker {
  position: absolute;
  top: -1.4rem;
  right: 1.25rem;
  transform: rotate(5deg);
}

/* Gráfico de evolução (SVG inline, cores só da paleta) */
.grafico {
  width: 100%;
  height: auto;
  overflow: visible;
}

.grafico__grade line {
  stroke: var(--linha);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
}

.grafico__eixo {
  fill: none;
  stroke: var(--cinza);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.grafico__area {
  fill: var(--verde-suave);
}

.traco {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.traco--a {
  stroke: var(--profundo);
  stroke-width: 5;
}

.traco--b {
  stroke: var(--verde);
  stroke-width: 4;
}

.grafico__ponto {
  fill: var(--branco);
  stroke: var(--profundo);
  stroke-width: 4;
}

.grafico__ponto--fim {
  fill: var(--verde);
}

.grafico__circulo {
  fill: none;
  stroke: var(--profundo);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.js [data-desenhar] .traco--b {
  transition-delay: 0.35s;
}

.js [data-desenhar] .grafico__area,
.js [data-desenhar] .grafico__ponto,
.js [data-desenhar] .grafico__circulo {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.js [data-desenhar].is-visible .grafico__area,
.js [data-desenhar].is-visible .grafico__ponto,
.js [data-desenhar].is-visible .grafico__circulo {
  opacity: 1;
}

.js [data-desenhar].is-visible .grafico__area { transition-delay: 1.3s; }
.js [data-desenhar].is-visible .grafico__ponto:nth-of-type(1) { transition-delay: 0.6s; }
.js [data-desenhar].is-visible .grafico__ponto:nth-of-type(2) { transition-delay: 0.95s; }
.js [data-desenhar].is-visible .grafico__ponto:nth-of-type(3) { transition-delay: 1.3s; }
.js [data-desenhar].is-visible .grafico__ponto:nth-of-type(4) { transition-delay: 1.75s; }
.js [data-desenhar].is-visible .grafico__circulo { transition-delay: 2s; }

/* Como funciona: linha do tempo (vertical no celular, escada horizontal no desktop) */
.linha-tempo {
  --passo: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etapa {
  position: relative;
}

.etapa__num {
  display: grid;
  place-items: center;
  width: 4.75rem;
  aspect-ratio: 468 / 453;
  margin-bottom: 1rem;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--branco);
  background-color: var(--profundo);
  -webkit-mask: url("../img/lobulos.svg") center / contain no-repeat;
  mask: url("../img/lobulos.svg") center / contain no-repeat;
}

.etapa h3 {
  margin-bottom: 0.35em;
}

.etapa p {
  max-width: 34ch;
  margin: 0;
}

.etapa:not(:last-child)::after {
  content: "";
  display: block;
  width: 4.5rem;
  aspect-ratio: 160 / 90;
  margin: 1.5rem 0 0.25rem 0.75rem;
  background: url("../img/seta-mao.svg") center / contain no-repeat;
  transform: rotate(75deg);
}

@media (min-width: 60em) {
  .linha-tempo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--passo);
    align-items: start;
  }

  .etapa:nth-child(1) {
    margin-top: 7rem;
  }

  .etapa:nth-child(2) {
    margin-top: 3.5rem;
  }

  .etapa:not(:last-child)::after {
    position: absolute;
    top: -0.75rem;
    right: calc(var(--passo) * -1.1);
    width: calc(var(--passo) * 1.25);
    margin: 0;
    transform: rotate(-6deg);
  }
}

/* Números gigantes (8–12vw) */
.numeros > .wrap {
  position: relative;
  z-index: 1;
}

.numeros__blob {
  width: clamp(18rem, 50vw, 46rem);
  left: calc(clamp(18rem, 50vw, 46rem) * -0.3);
  bottom: -18%;
  transform: rotate(18deg);
}

.numeros__item {
  max-width: none;
  margin: 0;
}

.numero--xl {
  font-size: clamp(3.5rem, 12vw, 15rem);
}

.numero--l {
  font-size: clamp(3rem, 8vw, 10rem);
}

.numeros__rotulo {
  display: inline-block;
  margin-top: 0.4em;
  font-size: var(--t-h3);
  font-weight: 900;
  line-height: 1.1;
  color: var(--profundo);
}

.numeros__item--xl .numeros__rotulo {
  padding-bottom: 0.15em;
  background: url("../img/sublinhado-mao.svg") no-repeat 0 100% / 100% 0.3em;
}

.numeros__coluna {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.numeros__item--torto {
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* Faixa inclinada com o marquee */
.faixa {
  overflow: clip;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.faixa .marquee {
  margin-inline: -3vw;
  transform: rotate(-2deg);
}

/* Convênios e particular */
.convenios__sticker {
  margin-top: 1.25rem;
  transform: rotate(-3deg);
}

.convenios__texto {
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 3px solid var(--verde);
}

.convenios__subtitulo {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.convenios__texto p + .convenios__subtitulo {
  margin-top: 1.75rem;
}

.convenios__texto .botao {
  margin-top: 0.75rem;
}

/* FAQ de pais (details/summary) */
.faq details {
  border-top: 2px solid var(--linha);
}

.faq details:last-child {
  border-bottom: 2px solid var(--linha);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.35rem;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--profundo);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--profundo);
  background-color: var(--verde-suave);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  transition: transform 0.3s var(--ease);
}

.faq details[open] > summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--verde);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.faq__resposta {
  padding-bottom: 1.5rem;
}

.faq__resposta p {
  margin: 0;
}

@media (min-width: 60em) {
  .faq__cabeca {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}

/* Destaque do blog: lista editorial assimétrica */
.blog-lista {
  display: grid;
  gap: 2rem var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-lista li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--profundo);
}

.blog-lista li:nth-child(2) {
  border-top-color: var(--verde);
}

.blog-lista .artigo-meta {
  margin-bottom: 0.75rem;
}

.blog-lista h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.4em;
}

.blog-lista h3 a {
  text-decoration: none;
}

.blog-lista h3 a:hover {
  text-decoration: underline;
}

.blog-lista p:last-child {
  margin: 0;
}

.blog-lista__principal {
  position: relative;
  isolation: isolate;
}

.blog-lista__principal h3 {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
}

.blog-lista__principal::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: -3.5rem;
  width: clamp(5rem, 9vw, 8rem);
  aspect-ratio: 468 / 453;
  background: url("../img/lobulos.svg") center / contain no-repeat;
  opacity: 0.22;
  transform: rotate(12deg);
}

@media (min-width: 60em) {
  .blog-lista {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .blog-lista__principal {
    grid-column: 1 / 8;
    grid-row: span 2;
    padding-right: clamp(1rem, 3vw, 3rem);
  }

  .blog-lista li:not(.blog-lista__principal) {
    grid-column: 8 / 13;
  }
}

/* Movimento reduzido: componentes da home estáticos e completos */
@media (prefers-reduced-motion: reduce) {
  .js [data-desenhar] .grafico__area,
  .js [data-desenhar] .grafico__ponto,
  .js [data-desenhar] .grafico__circulo {
    opacity: 1;
  }

  .faixa .marquee {
    transform: none;
  }
}

/* ==========================================================================
   Páginas internas — Sobre, Serviços, Plataforma
   ========================================================================== */

/* Ilustrações geométricas feitas à mão (SVG inline, só a paleta, decorativas) */
.ilustra {
  width: 100%;
  height: auto;
  overflow: visible;
}

.f-verde { fill: var(--verde); }
.f-limao { fill: var(--limao); }
.f-profundo { fill: var(--profundo); }
.f-branco { fill: var(--branco); }
.s-profundo { stroke: var(--profundo); }
.s-verde { stroke: var(--verde); }
.s-branco { stroke: var(--branco); }
.s-cinza { stroke: var(--cinza); }

.ilustra .traco {
  stroke-width: 4;
}

.ilustra .traco.s-cinza {
  stroke-width: 3;
  opacity: 0.55;
}

.escuro .especialidade__num {
  color: var(--branco);
}

/* Sobre: diagrama dos cinco lóbulos (especialidades + família ao redor da criança) */
.diagrama {
  margin: 0;
}

.diagrama__palco {
  position: relative;
  display: grid;
  gap: 1rem;
}

.diagrama__blob,
.diagrama__linhas {
  display: none;
}

.diagrama__centro {
  justify-self: start;
  margin: 0;
  padding: 0.5em 1.1em;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--branco);
  background-color: var(--profundo);
  border-radius: var(--raio-lobulo);
  box-shadow: 0.25em 0.25em 0 var(--verde);
}

.diagrama__lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagrama__item {
  display: inline-block;
  padding: 0.4em 0.9em 0.45em;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--profundo);
  background-color: var(--branco);
  border: 2px solid var(--profundo);
  border-radius: var(--raio-torto);
}

.diagrama__item--familia {
  color: var(--branco);
  background-color: var(--profundo);
}

.diagrama__legenda {
  max-width: 48ch;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}

@media (min-width: 48em) {
  .diagrama__palco {
    display: block;
    aspect-ratio: 1;
    max-width: 36rem;
    margin-inline: auto;
  }

  .diagrama__linhas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .diagrama__linhas path {
    fill: none;
    stroke: var(--profundo);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 3 9;
  }

  .diagrama__blob {
    position: absolute;
    left: 24%;
    top: 25%;
    display: block;
    width: 52%;
    aspect-ratio: 468 / 453;
    background: url("../img/lobulos.svg") center / contain no-repeat;
    transform: rotate(-10deg);
  }

  .diagrama__centro {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 51%;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-3deg);
  }

  .diagrama__lista {
    display: block;
  }

  .diagrama__item {
    position: absolute;
    z-index: 2;
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    white-space: nowrap;
    transform: translate(-50%, -50%);
  }

  .diagrama__item--1 { left: 50%; top: 7%; }
  .diagrama__item--2 { left: 78%; top: 34%; }
  .diagrama__item--3 { left: 74%; top: 90%; }
  .diagrama__item--4 { left: 26%; top: 90%; transform: translate(-50%, -50%) rotate(-4deg); }
  .diagrama__item--5 { left: 22%; top: 34%; }
}

/* Sobre: princípios da abordagem (lista editorial em escada, sem cartões) */
.principios {
  display: grid;
  gap: 2rem var(--gap);
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.principios li {
  padding-top: 1.1rem;
  border-top: 3px solid var(--profundo);
}

.principios li:nth-child(even) {
  border-top-color: var(--verde);
}

.principios h3 {
  margin-bottom: 0.4em;
}

.principios p {
  margin: 0;
}

@media (min-width: 60em) {
  .principios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 6vw, 6rem);
  }

  .principios li:nth-child(even) {
    margin-top: 4rem;
  }

  .principios li:nth-child(3) {
    margin-top: -1rem;
  }
}

/* Sobre: coordenação clínica em bloco escuro */
.coordenacao {
  position: relative;
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 40px 8px 48px 0;
}

.coordenacao h3 {
  font-size: var(--t-h2);
}

.coordenacao p:last-of-type {
  margin-bottom: 0;
}

.coordenacao__sticker {
  position: absolute;
  top: -1.2rem;
  right: 1.5rem;
}

.nota-honesta {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

/* Sobre: estrutura (composição de formas) */
.estrutura__arte {
  max-width: 34rem;
  margin-inline: auto;
}

/* Serviços: seções com layout alternado */
.especialidade__arte {
  max-width: 15rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.especialidade__cta {
  margin-top: 0.5rem;
}

.combina {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.combina a {
  font-weight: 800;
}

@media (min-width: 60em) {
  .especialidade__cabeca {
    grid-column: 1 / 6;
  }

  .especialidade__corpo {
    grid-column: 7 / 13;
  }

  .especialidade--inverte .especialidade__cabeca {
    grid-column: 8 / 13;
    grid-row: 1;
  }

  .especialidade--inverte .especialidade__corpo {
    grid-column: 1 / 7;
    grid-row: 1;
  }

  .especialidade--inverte .especialidade__arte {
    margin-left: auto;
  }
}

/* Plataforma de acompanhamento */
.plataforma-abertura__titulo {
  margin-bottom: 0.2em;
  /* título longo ("acompanhamento") cabe inteiro de 320px a 1920px */
  font-size: clamp(2rem, 9vw, 8.75rem);
  overflow-wrap: break-word;
}

.plataforma-evolucao__blob {
  width: clamp(16rem, 40vw, 36rem);
  right: calc(clamp(16rem, 40vw, 36rem) * -0.3);
  bottom: -25%;
  transform: rotate(20deg);
}

.plataforma-evolucao > .wrap {
  position: relative;
  z-index: 1;
}

.fluxo {
  display: grid;
  gap: 2rem;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: fluxo;
}

.fluxo li {
  padding-top: 1rem;
  border-top: 3px solid var(--profundo);
  counter-increment: fluxo;
}

.fluxo li:nth-child(even) {
  border-top-color: var(--verde);
}

.fluxo li::before {
  content: counter(fluxo, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--profundo);
}

.fluxo h3 {
  margin-bottom: 0.35em;
}

.fluxo p {
  margin: 0;
}

@media (min-width: 60em) {
  .fluxo {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }

  .fluxo li:nth-child(1) { margin-top: 7.5rem; }
  .fluxo li:nth-child(2) { margin-top: 5rem; }
  .fluxo li:nth-child(3) { margin-top: 2.5rem; }
}

/* ---------- Movimento (IntersectionObserver + CSS) ---------- */
.js .revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js .revelar.is-visible {
  opacity: 1;
  transform: none;
}

.js [data-palavras] .palavra {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotate(3deg);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 40ms + 100ms);
}

.js [data-palavras].is-visible .palavra {
  opacity: 1;
  transform: none;
}

.js [data-palavras] .destaque {
  background-size: 0% 0.26em;
  transition: background-size 0.7s var(--ease) 0.45s;
}

.js [data-palavras].is-visible .destaque {
  background-size: 100% 0.26em;
}

/* Palavra-chave dentro de uma palavra já marcada: o marcador acompanha a cascata */
.js [data-palavras] .palavra .destaque {
  transition-delay: calc(var(--i, 0) * 40ms + 450ms);
}

[data-parallax] {
  will-change: transform;
}

/* Tudo estático e visível com movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .revelar,
  .js [data-palavras] .palavra {
    opacity: 1;
    transform: none;
  }

  .js [data-palavras] .destaque {
    background-size: 100% 0.26em;
  }

  .js [data-desenhar] .traco {
    stroke-dashoffset: 0;
  }

  [data-parallax] {
    transform: none !important;
  }

  .marquee__trilho {
    width: auto;
    animation: none;
  }

  .marquee__grupo {
    flex-wrap: wrap;
    white-space: normal;
    padding-inline: var(--gutter);
  }

  .marquee__grupo[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Impressão ---------- */
@media print {
  .topo-site,
  .cta-fixo,
  .voltar-topo,
  .blob {
    display: none !important;
  }

  .js .revelar,
  .js [data-palavras] .palavra {
    opacity: 1;
    transform: none;
  }
}
