/* PÁGINAS DE TEXTO — política de privacidade e afins =======================
   Tipografia de leitura longa: coluna estreita, respiro generoso entre
   blocos e hierarquia clara. */

.texto {
  padding-top: var(--sp-9);
}

.texto__titulo {
  margin-top: var(--sp-3);
}

.texto__data {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-8);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.texto__intro {
  font-size: var(--text-lg) !important;
  line-height: 1.65 !important;
  color: var(--navy-700) !important;
}

.texto__perfil {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  margin-bottom: var(--sp-8);
}

.texto__perfil img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px rgba(5, 36, 64, 0.16);
}

.texto__indice,
.texto__relacionados {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  margin: var(--sp-7) 0;
  padding: var(--sp-5);
  background: var(--brand-tint);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
}

.texto__indice strong,
.texto__relacionados strong {
  flex-basis: 100%;
  font-size: var(--text-sm);
  color: var(--navy-800);
}

.texto__indice a,
.texto__relacionados a {
  font-size: var(--text-sm);
  font-weight: 600;
}

.texto__grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}

.texto__cartao {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(5, 36, 64, 0.07);
}

.texto__cartao h3 {
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--navy-800);
}

.texto__cartao p {
  font-size: var(--text-sm);
}

.texto__etapas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
  padding: 0;
  counter-reset: etapa;
}

.texto .texto__etapas li {
  position: relative;
  list-style: none;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) 3.75rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  counter-increment: etapa;
}

.texto .texto__etapas li::before {
  content: counter(etapa, decimal-leading-zero);
  top: var(--sp-4);
  left: var(--sp-4);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.texto__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.texto__botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem var(--sp-6);
  border-radius: var(--radius-pill);
  background: var(--action-green-gradient);
  color: var(--action-green-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.24);
}

.texto__botao:hover {
  background: var(--action-green-gradient-hover);
}

.texto h2 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  line-height: 1.25;
  color: var(--navy-800);
}

.texto p,
.texto li {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-soft);
  text-wrap: pretty;
}

.texto p + p {
  margin-top: var(--sp-4);
}

.texto ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}

.texto li {
  padding-left: var(--sp-5);
  position: relative;
}

.texto li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--green-400);
}

.texto strong {
  color: var(--text);
  font-weight: 650;
}

.texto a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.texto a:hover {
  color: var(--green-800);
}

/* Bloco em destaque — o compromisso sobre dado de saúde */
.texto__destaque {
  margin-top: var(--sp-4);
  padding: var(--sp-5);
  background: var(--brand-tint);
  border: 1px solid var(--green-200);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
}

.texto__voltar {
  margin-top: var(--sp-9);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

@media (max-width: 47.99rem) {
  .texto__perfil {
    grid-template-columns: 1fr;
  }

  .texto__perfil img {
    max-width: 18rem;
  }

  .texto__grade {
    grid-template-columns: 1fr;
  }
}
