@import url("../../ciencias/biologia/modulo-1/modulo.css");
@import url("../../css/lesson-modules.css");

.lesson--portugues {
  --pt-magenta: #ad1457;
  --pt-magenta-soft: rgba(173, 20, 87, 0.1);
  --pt-blue: #1565c0;
  --pt-blue-soft: rgba(21, 101, 192, 0.1);
  --pt-amber: #fff8e1;
  --pt-amber-border: #ffcc80;
  --lesson-teal: var(--pt-magenta);
  --lesson-teal-soft: var(--pt-magenta-soft);
}

.lesson--portugues.lesson--book .lesson-meta {
  color: var(--pt-magenta) !important;
}

.lesson--portugues .lesson-badge {
  background: var(--book-pink, #e94d81) !important;
}

.lesson--portugues .lesson-cover-strip__sector {
  background: var(--pt-blue);
}

.lesson--portugues h1 {
  border-bottom-color: var(--pt-magenta);
}

.lesson--portugues .lesson-toc {
  border-left-color: var(--pt-magenta);
}

.lesson--portugues .lesson-toc a:hover {
  color: var(--pt-magenta);
}

.pt-leitura {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 1.1rem;
  background: var(--pt-blue);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  border-bottom: none;
}

.poem-block {
  margin: 1.25rem 0;
  padding: 1.15rem 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.75;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pt-magenta);
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: pre-line;
}

.poem-block cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-style: normal;
  font-family: var(--font);
  color: var(--muted);
}

.poem-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pt-magenta);
}

.pt-bio {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--pt-amber-border);
  border-radius: var(--radius);
  background: var(--pt-amber);
}

@media (min-width: 640px) {
  .pt-bio--side {
    grid-template-columns: 100px 1fr;
    align-items: start;
  }
}

.pt-bio__placeholder {
  width: 100px;
  height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #e0e0e0, #bdbdbd);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  padding: 0.35rem;
}

.pt-bio h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.pt-bio--flush {
  margin-top: 0;
}

.pt-sidebar {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--pt-blue);
  background: var(--pt-blue-soft);
  font-size: 0.92rem;
}

.pt-sidebar strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--pt-blue);
}

.pt-gloss {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(233, 30, 99, 0.35);
  background: rgba(233, 30, 99, 0.06);
  font-size: 0.9rem;
}

.pt-gloss dt {
  font-weight: 700;
  color: #c2185b;
  margin-top: 0.5rem;
}

.pt-gloss dt:first-child {
  margin-top: 0;
}

.pt-gloss dd {
  margin: 0.25rem 0 0;
}

.pt-venn-wrap {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.pt-venn-wrap svg {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.pt-quote-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 2px solid #e1bee7;
  background: rgba(156, 39, 176, 0.06);
  font-size: 0.95rem;
}

.pt-quote-box strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #6a1b9a;
}

.pt-quote-box .cite-ref {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: normal;
}

.pt-quote-box .cite-ref--spaced {
  display: block;
  margin-top: 0.75rem;
}

.poem-block--inset {
  margin: 0 !important;
  border-left-color: #7b1fa2;
}

.pt-activity {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--pt-amber-border);
  background: #fffde7;
}

.pt-activity h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #f57f17;
}

.pt-activity ol {
  margin: 0;
  padding-left: 1.2rem;
}

.pt-activity li {
  margin-bottom: 0.65rem;
}

.lesson-summary--pt {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--pt-magenta-soft);
  border: 1px solid rgba(173, 20, 87, 0.25);
}

.lesson-summary--pt h2 {
  margin-top: 0 !important;
  border-bottom-color: rgba(173, 20, 87, 0.35) !important;
}

.pt-art-placeholder {
  margin: 1rem 0;
  min-height: 140px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(
      -45deg,
      var(--bg),
      var(--bg) 10px,
      var(--surface) 10px,
      var(--surface) 20px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
