.semio-intro {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 5px solid #f4b740;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(120deg, #f7f5fc, #fff8e5);
}

.semio-intro p:last-child,
.semio-profile p:last-child {
  margin-bottom: 0;
}

.semio-profile {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e3e6ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 37, 65, 0.06);
}

.semio-profile h3 {
  margin-top: 0;
}

.semio-profile__years {
  color: #5b6478;
  font-size: 0.92rem;
}

.semio-question {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  background: #f7f5fc;
}

.semio-question summary {
  color: #2b1a52;
  font-weight: 800;
  cursor: pointer;
}

.semio-question[open] summary {
  margin-bottom: 0.7rem;
}

.semio-caption {
  margin: 0.4rem 0 1rem;
  color: #5b6478;
  font-size: 0.9rem;
  text-align: center;
}

.semio-credits {
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

/* Exercícios resolvidos ({{< solucao >}}) fora do livro de geometria */
.geo-ans { margin: 1rem 0; border-radius: 10px; background: #f8f5fe; border: 1px solid #e2d9f6; }
.geo-ans > summary { cursor: pointer; padding: 0.55rem 0.9rem; font-weight: 800; color: #4b2a8f; list-style: none; }
.geo-ans > summary::-webkit-details-marker { display: none; }
.geo-ans > summary::before { content: "▸ "; display: inline-block; transition: transform 0.2s; }
.geo-ans[open] > summary::before { transform: rotate(90deg); }
.geo-ans__body { padding: 0.1rem 0.95rem 0.8rem; }
.geo-ans__body > :last-child { margin-bottom: 0; }
