@page {
  size: A4;
  margin: 16mm 18mm 18mm 18mm;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f3ea;
  color: #1f2a2e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11.5pt;
  line-height: 1.52;
  margin: 0 auto;
  max-width: 900px;
  padding: 36px 10px 0;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

body::before {
  color: #2f6f73;
  content: "CIÊNCIA & FÉ";
  display: none;
  font-size: 9pt;
  font-weight: 700;
  margin-bottom: 8pt;
}

.web-lesson-nav {
  align-items: center;
  background: rgba(255, 252, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(154, 107, 53, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(31, 42, 46, 0.05), 0 2px 8px rgba(31, 42, 46, 0.03);
  box-sizing: border-box;
  display: flex;
  gap: 12pt;
  justify-content: space-between;
  margin: 0 0 16pt;
  max-width: 900px;
  padding: 8pt 12pt;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-lesson-nav:hover {
  box-shadow: 0 12px 40px rgba(31, 42, 46, 0.08), 0 4px 12px rgba(31, 42, 46, 0.04);
}

.web-lesson-nav__current {
  min-width: 0;
}

.web-lesson-nav__current p {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14pt;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.web-lesson-nav__current a {
  text-decoration: none;
  display: inline-flex;
}

.web-lesson-nav__current a span {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.web-lesson-nav__current a:hover span {
  background: #dbe8e8;
  color: #19363d;
}

.web-lesson-nav__current a:active span {
  transform: scale(0.96);
}

.web-lesson-nav__current span {
  color: #2f6f73;
  font-size: 8pt;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #eaf1f1;
  padding: 3pt 6pt;
  border-radius: 4px;
}

.web-lesson-nav__current strong {
  color: #182326;
  font-size: 10.5pt;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.project-meta {
  margin-top: -6pt;
  margin-bottom: 18pt;
}

.project-meta,
.project-meta p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8pt;
  color: #6a7c80;
  font-size: 9.5pt;
}

.project-meta p {
  margin: 0;
  width: 100%;
}

.project-meta__divider {
  color: rgba(154, 107, 53, 0.3);
}

.project-meta a {
  color: #2f6f73;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgba(47, 111, 115, 0.4);
  transition: all 0.2s ease;
}

.project-meta a:hover {
  color: #19363d;
  border-bottom-style: solid;
}

details.reference-details {
  margin: 28px 0;
  border-radius: 6px;
  background-color: #eaf1f1;
  border-left: 4px solid #2f6f73;
  transition: all 0.3s ease;
}

details.reference-details[open] {
  border-radius: 0 8px 8px 0;
}

summary.reference-summary {
  padding: 14px 20px;
  font-size: 11pt;
  font-weight: 700;
  color: #19363d;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

summary.reference-summary::after {
  content: "＋";
  font-size: 10pt;
  color: #2f6f73;
  transition: transform 0.2s ease;
}

details.reference-details[open] summary.reference-summary::after {
  content: "－";
}

.reference-section {
  padding: 0 20px 20px 20px;
  margin: 0;
}

.reference-section p {
  font-size: 10.5pt;
  line-height: 1.48;
  color: #2c3e42;
  margin-bottom: 12px;
}

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

.reference-section blockquote {
  background: #f7f3ea;
  border-left-color: rgba(154, 107, 53, 0.4);
  margin: 12px 0;
  padding: 10px 14px;
  font-size: 10pt;
}

mark.citation-lesson {
  background: rgba(47, 111, 115, 0.18);
  color: #19363d;
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
}

.citation-note {
  border-left: 3px solid #2f6f73;
  padding: 6px 12px !important;
  margin: 10px 0 8px 0 !important;
  font-size: 10pt !important;
  font-style: italic !important;
  font-weight: 600;
  color: #2f6f73 !important;
}

.web-lesson-nav p {
  margin: 0;
  text-align: left;
}

.web-lesson-nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6pt;
  justify-content: flex-end;
}

.web-lesson-nav__menu {
  position: relative;
}

.web-lesson-nav__menu summary {
  background: linear-gradient(to bottom, #ffffff, #faf7f2);
  border: 1px solid rgba(154, 107, 53, 0.22);
  border-bottom-color: rgba(154, 107, 53, 0.35);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  color: #29575e;
  cursor: pointer;
  display: flex;
  gap: 7pt;
  align-items: center;
  font-size: 10pt;
  font-weight: 600;
  letter-spacing: 0.2px;
  list-style: none;
  min-height: 28px;
  padding: 5pt 10pt;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.web-lesson-nav__menu summary:hover {
  background: linear-gradient(to bottom, #faf7f2, #f3ece0);
  border-color: rgba(154, 107, 53, 0.35);
  border-bottom-color: rgba(154, 107, 53, 0.48);
  box-shadow: 0 2px 5px rgba(154, 107, 53, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.web-lesson-nav__menu summary:active,
.web-lesson-nav__menu[open] summary {
  background: #f0e6d5;
  border-color: rgba(154, 107, 53, 0.35);
  box-shadow: 0 1px 2px rgba(154, 107, 53, 0.12) inset;
}

.web-lesson-nav__menu summary::-webkit-details-marker {
  display: none;
}

.web-lesson-nav__menu summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  display: inline-block;
  height: 4px;
  margin-top: -2px;
  opacity: 0.9;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s ease;
  width: 4px;
}

.web-lesson-nav__menu[open] summary::after {
  margin-top: 2px;
  transform: rotate(225deg);
}

.web-lesson-nav__links {
  animation: fadeInDown 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: rgba(255, 253, 248, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(217, 201, 170, 0.5);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(31, 42, 46, 0.15), 0 2px 8px rgba(31, 42, 46, 0.05);
  display: grid;
  max-height: min(70vh, 520px);
  min-width: 260px;
  padding: 6pt;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 8pt);
  transform-origin: top right;
  z-index: 20;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.web-lesson-nav__links--print {
  gap: 0;
  min-width: 250px;
  padding: 5pt;
}

.web-lesson-nav__links p {
  display: grid;
}

.web-lesson-nav__links a,
.web-lesson-nav__print-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-sizing: border-box;
  color: #26383c;
  display: grid;
  gap: 3pt;
  font: inherit;
  line-height: 1.35;
  padding: 8pt 10pt;
  text-align: left;
  text-decoration: none;
  width: 100%;
  transition: background 0.15s ease, transform 0.15s ease;
}

.web-lesson-nav__links a+a,
.web-lesson-nav__links button+a {
  border-top: 1px solid rgba(154, 107, 53, 0.08);
  margin-top: 6pt;
  padding-top: 10pt;
}

.web-lesson-nav__links a span,
.web-lesson-nav__print-button span {
  color: #2f6f73;
  font-size: 8.5pt;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.web-lesson-nav__links a:hover,
.web-lesson-nav__links a.active,
.web-lesson-nav__print-button:hover {
  background: #f6efe1;
  transform: translateX(2px);
}

.web-lesson-nav__print-button {
  cursor: pointer;
}

.web-lesson-nav__links--print .web-lesson-nav__print-button {
  background: transparent;
  margin-bottom: 3pt;
}

.web-lesson-nav__links--print .web-lesson-nav__print-button:hover {
  background: #eaf1f1;
}

.web-lesson-nav__links a.web-lesson-nav__pdf-link {
  background: transparent;
}

.web-lesson-nav__links a.web-lesson-nav__pdf-link:hover {
  background: #f0e5d0;
}

.web-lesson-nav__links a.web-lesson-nav__pdf-link span {
  color: #9a6b35;
}

h1 {
  color: #182326;
  font-size: 30pt;
  line-height: 1.08;
  margin: 0 0 8pt;
  max-width: 900px;
}

body>h1+p {
  color: #42545a;
  font-size: 14pt;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14pt;
  max-width: 900px;
}

h2 {
  color: #26383c;
  font-size: 18pt;
  margin: 22pt 0 10pt;
  max-width: 900px;
  break-after: avoid;
}

h3 {
  color: #29575e;
  font-size: 15pt;
  font-weight: 700;
  margin-top: 22pt;
  margin-bottom: 12pt;
  border-bottom: 2px solid rgba(41, 87, 94, 0.15);
  padding-bottom: 6pt;
  max-width: 900px;
  break-after: avoid;
}

h2+h3 {
  margin-top: 8pt;
}

h4 {
  color: #9a6b35;
  font-size: 12.5pt;
  font-weight: 700;
  margin-top: 16pt;
  margin-bottom: 8pt;
  max-width: 900px;
  break-after: avoid;
}

h3+h4 {
  margin-top: 8pt;
}

p {
  margin: 0 0 10pt;
  text-align: justify;
}

body>p,
body>ul,
body>ol {
  max-width: 900px;
}

.author-meta {
  color: #6a7c80;
  font-size: 9.5pt;
  font-style: italic;
  margin-top: -6pt;
  margin-bottom: 12pt;
}

.author-meta a {
  color: #2f6f73;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgba(47, 111, 115, 0.4);
  transition: all 0.2s ease;
}

.author-meta a:hover {
  color: #19363d;
  border-bottom-style: solid;
}

blockquote {
  background: #efe9dc;
  border-left: 5px solid #9a6b35;
  box-sizing: border-box;
  color: #3a4549;
  font-size: 12.2pt;
  margin: 0 0 12pt;
  max-width: 900px;
  padding: 10pt 16pt;
}

blockquote p {
  margin: 0;
}

figure {
  margin: 14pt auto 18pt;
  break-inside: avoid;
}

figure.hero-image {
  margin: 12pt 0;
  max-width: 900px;
}

figure.hero-image img {
  border-radius: 4px;
  max-height: 390px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

figure.wide-figure {
  margin: 14pt 0;
  max-width: 900px;
}

figure.wide-figure img {
  background: #fbf7ef;
  border: 1px solid rgba(138, 114, 77, 0.22);
  box-sizing: border-box;
  border-radius: 4px;
  width: 100%;
}

figure.small-figure {
  margin: 12pt 0;
  max-width: 420px;
  text-align: left;
}

figure.small-figure img {
  background: #fbf7ef;
  border: 1px solid rgba(138, 114, 77, 0.22);
  box-sizing: border-box;
  border-radius: 4px;
  max-height: 240px;
  width: auto;
  margin: 0;
}

.figure-caption,
.figure-caption p {
  font-size: 10.5pt !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.figure-caption {
  margin-top: -8pt !important;
  margin-bottom: 12pt !important;
}

img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

figcaption {
  display: none;
}

hr {
  display: none;
}

ul {
  padding-left: 20pt;
}

ol {
  padding-left: 20pt;
}

li {
  margin-bottom: 5pt;
}

strong {
  color: #182326;
}

.lesson-snapshot,
.route-map,
.pause-question,
.quick-contrast,
.key-idea,
.visual-list,
.one-line,
.objection-grid,
.honest-note,
.objection-card,
.conversation-box,
.final-synthesis,
.takeaway {
  break-inside: avoid;
  box-sizing: border-box;
  margin: 14pt 0;
  max-width: 900px;
}

.lesson-snapshot {
  background: #21484f;
  border-radius: 6px;
  color: #f8f3e8;
  display: grid;
  gap: 8pt;
  grid-template-columns: repeat(3, 1fr);
  padding: 14pt;
}

.lesson-snapshot p {
  margin: 0;
  text-align: left;
}

.lesson-snapshot strong {
  color: #f6d58c;
}

.route-map {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 24pt 0;
}

.route-map p {
  font-family: 'Inter', sans-serif;
  font-size: 10pt;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #bf5b45;
  text-transform: uppercase;
  margin-bottom: 24pt;
  text-align: center;
}

.route-map ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20pt;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(191, 91, 69, 0.3);
  padding-top: 18pt;
  counter-reset: route-counter;
}

.route-map li {
  position: relative;
  background: transparent;
  box-shadow: none;
  margin: 0;
  text-align: left;
}

.route-map li::before {
  counter-increment: route-counter;
  content: "0" counter(route-counter);
  display: block;
  font-family: Georgia, serif;
  font-size: 24pt;
  font-weight: 700;
  color: rgba(191, 91, 69, 0.35);
  margin-bottom: 6pt;
  line-height: 1;
}

.route-map li::after {
  content: "";
  position: absolute;
  top: -20.5pt;
  left: 0;
  width: 5pt;
  height: 5pt;
  background-color: #bf5b45;
  border-radius: 50%;
}

.route-map li strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12pt;
  font-weight: 700;
  color: #1c2e33;
  margin-bottom: 4pt;
}

.route-map li em {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 10pt;
  color: #bf5b45;
  margin-bottom: 8pt;
}

.route-map li br {
  display: none;
}

.route-map li p,
.route-map li {
  font-size: 11pt;
  line-height: 1.5;
  color: #4a5a5e;
  text-align: left;
}

.pause-question,
.one-line,
.takeaway {
  background: #fbf0d1;
  border-left: 5px solid #c98c1c;
  color: #3e3b2e;
  padding: 10pt 14pt;
}

.pause-question p,
.one-line p,
.takeaway p,
.key-idea p,
.honest-note p,
.conversation-box p {
  margin: 0;
  text-align: left;
}

.quick-contrast {
  background: #ffffff;
  border: 1px solid #d4dbe0;
  border-radius: 6px;
  padding: 12pt 14pt 4pt;
}

.quick-contrast p {
  background: #f5f8f7;
  border-left: 4px solid #294e5a;
  margin-bottom: 8pt;
  padding: 8pt 10pt;
  text-align: left;
}

.quick-contrast p:first-child {
  background: transparent;
  border-left: 0;
  color: #19363d;
  font-size: 13pt;
  padding: 0;
}

.key-idea,
.honest-note,
.conversation-box {
  background: #eaf3f4;
  border-left: 5px solid #2f6f73;
  padding: 10pt 14pt;
}

.visual-list,
.objection-grid,
.final-synthesis {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 22px 0;
}

.visual-list>p:first-child,
.objection-grid>p:first-child,
.final-synthesis>p:first-child {
  color: #b25748;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 2px solid rgba(191, 91, 69, 0.15);
  padding-bottom: 8px;
  text-align: left;
  letter-spacing: 0.1px;
}

.visual-list p,
.objection-grid p,
.final-synthesis p {
  background: #fdfcf7;
  border: 1px solid rgba(154, 107, 53, 0.18);
  border-left: 5px solid #b25748;
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 14px 18px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(154, 107, 53, 0.02);
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a575a;
}

.visual-list p:first-child,
.objection-grid p:first-child,
.final-synthesis p:first-child {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 18px !important;
  box-shadow: none !important;
}

.visual-list p:not(:first-child) strong,
.objection-grid p:not(:first-child) strong,
.final-synthesis p:not(:first-child) strong {
  display: block;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #b25748;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.visual-list>p:first-child strong,
.objection-grid>p:first-child strong,
.final-synthesis>p:first-child strong {
  font-size: inherit !important;
  color: inherit !important;
  display: inline !important;
}

.compact-list {
  background: #fdfcf7;
  border: 1px solid rgba(154, 107, 53, 0.15);
  border-left: 5px solid #b25748;
  border-radius: 6px;
  margin: 14pt 0 18pt;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(154, 107, 53, 0.02);
}

.compact-list>p:first-child {
  color: #b25748;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 0.1px;
  border-bottom: 1px dashed rgba(178, 87, 72, 0.2);
  padding-bottom: 6px;
}

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

.compact-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #182326;
  text-align: left;
}

.compact-list li:last-child {
  margin-bottom: 0;
}

.compact-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 1px;
  color: #b25748;
  font-size: 12px;
}

.compact-list li strong {
  color: #b25748;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.objection-card {
  background: #fffdf8;
  border: 1px solid #d9c9aa;
  border-radius: 6px;
  padding: 12pt 14pt 4pt;
  break-inside: auto !important;
  page-break-inside: auto !important;
}

.objection-card p {
  text-align: left;
}

.objection-card p:first-child {
  border-bottom: 1px solid #dfd5c4;
  color: #6b2f2a;
  font-size: 12.8pt;
  margin-bottom: 8pt;
  padding-bottom: 6pt;
}


.callout {
  break-inside: avoid;
  margin: 8pt 0 14pt;
  max-width: 900px;
  padding: 9pt 14pt;
}

.callout.note {
  background: #eef4f3;
  border-left: 4px solid #2f6f73;
  color: #35484b;
  font-size: 10.8pt;
  max-width: 900px;
}

.activity-card {
  background: #fdfaf4;
  border: 1px solid #d8c8ad;
  border-top: 4px solid #2f6f73;
  border-radius: 2px 2px 6px 6px;
  box-sizing: border-box;
  break-inside: auto !important;
  page-break-inside: auto !important;
  margin: 18pt 0;
  max-width: 900px;
  padding: 12pt 16pt 8pt;
}

.activity-card h3 {
  border-bottom: 1px solid rgba(216, 200, 173, 0.6);
  color: #1f3c45;
  font-size: 13pt;
  margin: 0 0 10pt 0;
  padding-bottom: 6pt;
}

.activity-card p,
.activity-card li {
  font-size: 10.8pt;
}

.activity-card table {
  border-collapse: collapse;
  font-size: 10.5pt;
  margin: 8pt 0;
  width: 100%;
}

.activity-card th {
  background: #eaf3f4;
  border: 1px solid #d0d8db;
  color: #1f3c45;
  padding: 5pt 9pt;
  text-align: left;
}

.activity-card td {
  border: 1px solid #e0dbd0;
  padding: 5pt 9pt;
}

.activity-card tr:nth-child(even) td {
  background: #f8f5ee;
}

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

.next-lesson {
  background: #f4efe5;
  border-left: 4px solid #8a724d;
  break-inside: avoid;
  color: #3a4549;
  font-size: 11pt;
  margin: 14pt 0 18pt;
  padding: 9pt 14pt;
}

.next-lesson__link {
  color: #294e5a;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.next-lesson__link:hover {
  color: #1f3c45;
}

/* Introdução Styling System - Estilo Editorial Clássico */
.intro-epigraph {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(191, 91, 69, 0.25);
  border-bottom: 1px solid rgba(191, 91, 69, 0.25);
  border-radius: 0;
  color: #2b393d;
  font-size: 13.5pt;
  font-style: italic;
  line-height: 1.6;
  margin: 14pt auto 18pt;
  padding: 10pt 0 6pt;
  max-width: 100%;
  text-align: center;
}

.intro-epigraph strong,
.intro-epigraph b {
  color: #bf5b45;
  font-style: normal;
  display: block;
  margin-top: 10pt;
  margin-bottom: 0;
  line-height: 1;
  font-size: 10.5pt;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lead-section {
  font-size: 13.5pt;
  line-height: 1.6;
  color: #2b393d;
  margin-bottom: 24pt;
}

.lead-section p {
  text-align: justify;
}

.lead-section strong {
  color: #bf5b45;
  font-weight: 700;
}

.target-audience ul {
  list-style: none;
  padding: 0;
  margin: 16pt 0;
}

.target-audience li {
  position: relative;
  padding-left: 20pt;
  margin-bottom: 12pt;
  font-size: 12.5pt;
  line-height: 1.6;
  color: #2b393d;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: justify;
}

.target-audience li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2pt;
  color: #bf5b45;
  font-size: 10pt;
}

.target-audience li strong {
  color: #bf5b45;
  font-weight: 700;
}

.methodology-section {
  background: #fffcf7;
  border: 1px solid rgba(191, 91, 69, 0.15);
  border-left: 4px solid #bf5b45;
  border-radius: 6px;
  padding: 16pt 20pt;
  margin: 24pt 0;
  box-shadow: 0 4px 12px rgba(191, 91, 69, 0.02);
}

.methodology-section h2 {
  margin-top: 0;
  color: #1c2e33;
  font-size: 16pt;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10pt;
}

.methodology-section p {
  color: #2b393d;
  font-size: 12pt;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

.fact-section,
.fact-card {
  background: #fdfbfc;
  border: 1px solid rgba(154, 107, 53, 0.08);
  border-left: 3px solid #2f6f73;
  border-radius: 6px;
  box-sizing: border-box;
  break-inside: auto;
  margin: 18pt 0 22pt;
  max-width: 900px;
  padding: 20pt 22pt;
  box-shadow: 0 6px 20px rgba(154, 107, 53, 0.03);
}

.fact-section h4,
.fact-card h4 {
  color: #1c2e33;
  font-family: 'Inter', sans-serif;
  font-size: 13pt;
  font-weight: 700;
  margin: 0 0 12pt 0;
  padding-bottom: 0;
  border-bottom: none;
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fact-badge {
  background-color: rgba(47, 111, 115, 0.08);
  border: 1px solid rgba(47, 111, 115, 0.18);
  color: #2f6f73;
  font-family: 'Inter', sans-serif;
  font-size: 9.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fact-section p,
.fact-card p {
  color: #3e4a4d;
  font-size: 10.5pt;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 12pt;
}

.fact-section ul,
.fact-card ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 14pt;
  margin-bottom: 0;
}

.fact-section li,
.fact-card li {
  position: relative;
  padding-left: 18pt;
  color: #3e4a4d;
  font-size: 10.5pt;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 12pt;
}

.fact-section li:last-child,
.fact-card li:last-child {
  margin-bottom: 0;
}

.fact-section li::before,
.fact-card li::before {
  content: "■";
  color: #2f6f73;
  font-size: 7.5pt;
  position: absolute;
  left: 4pt;
  top: 3pt;
  opacity: 0.85;
}

.fact-section li strong,
.fact-card li strong {
  color: #19363d;
}

h2[id="referências"]~p {
  line-height: 1.52;
  margin-bottom: 8pt;
  max-width: 880px;
  padding-left: 18pt;
  text-indent: -18pt;
}

@media screen {
  body {
    font-size: 17px;
    line-height: 1.6;
  }

  h1 {
    font-size: 32px;
  }

  body>h1+p {
    font-size: 19px;
    line-height: 1.5;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 19px;
  }

  blockquote {
    font-size: 17px;
    line-height: 1.6;
  }

  .fact-section p,
  .fact-card p,
  .fact-section li,
  .fact-card li {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .fact-badge {
    font-size: 13px;
  }

  .fact-section h4,
  .fact-card h4 {
    font-size: 21px;
  }

  .callout.note {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .activity-card h3 {
    font-size: 18px;
  }

  .activity-card p,
  .activity-card li {
    font-size: 15.5px;
  }

  .activity-card table {
    font-size: 15px;
  }

  .next-lesson {
    font-size: 16px;
  }

  details.reference-details summary {
    font-size: 16px;
  }

  .reference-section p {
    font-size: 15px;
    line-height: 1.5;
  }

  .reference-section blockquote {
    font-size: 14px;
  }

  .citation-note {
    font-size: 14px !important;
  }

  .author-meta,
  .project-meta,
  .project-meta p {
    font-size: 14px;
  }

  .web-lesson-nav__current strong {
    font-size: 14.5px;
  }

  .web-lesson-nav__current span {
    font-size: 11px;
  }

  .web-lesson-nav__menu summary {
    font-size: 14px;
  }

  .web-lesson-nav__links a,
  .web-lesson-nav__print-button {
    font-size: 14px;
  }

  .web-lesson-nav__links a span,
  .web-lesson-nav__print-button span {
    font-size: 11.5px;
  }
}

@media print {
  .web-only {
    display: none !important;
  }

  .web-lesson-nav {
    display: none;
  }

  .next-lesson__link {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
  }

  body {
    background: #ffffff;
    max-width: none;
    padding: 0;
  }

  body::before {
    display: block;
    margin-top: 0;
  }
}

@media screen and (max-width: 760px) {
  body {
    padding: 24px 14px 0;
    font-size: 16.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  p {
    text-align: left;
  }

  .lesson-snapshot,
  .route-map ol {
    grid-template-columns: 1fr;
  }

  .web-lesson-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 8pt;
  }

  .web-lesson-nav__actions {
    justify-content: stretch;
  }

  .web-lesson-nav__menu summary {
    justify-content: center;
  }

  .web-lesson-nav__links {
    left: 0;
    min-width: 0;
    position: static;
    right: auto;
    top: auto;
  }

  h1 {
    font-size: 26px;
  }

  body>h1+p {
    font-size: 17.5px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 17.5px;
  }

  blockquote {
    font-size: 16px;
    padding: 10px 14px;
  }

  .fact-section,
  .fact-card {
    padding: 16px 18px;
  }

  .fact-section p,
  .fact-card p,
  .fact-section li,
  .fact-card li {
    font-size: 15px;
  }

  .fact-section h4,
  .fact-card h4 {
    font-size: 19px;
  }
}

/* Image Lightbox Modal */
.image-lightbox {
  align-items: center;
  background: rgba(15, 23, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  z-index: 9999;
}

.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__close {
  background: rgba(15, 23, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  height: 44px;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  width: 44px;
  z-index: 10000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.image-lightbox__close:hover {
  background: rgba(15, 23, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

.image-lightbox__close:active {
  transform: rotate(90deg) scale(0.95);
}

.image-lightbox__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-lightbox.active .image-lightbox__content {
  transform: scale(1);
}

.image-lightbox__img {
  background: #182326;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.image-lightbox__caption {
  color: rgba(255, 255, 255, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.lightbox-hint {
  display: none;
}

@media screen and (max-width: 760px) {
  .image-lightbox__close {
    right: 12px;
    top: 12px;
    height: 38px;
    width: 38px;
    font-size: 22px;
  }
}

/* Rotated Landscape mode on Portrait Mobile */
.image-lightbox.rotated .image-lightbox__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.95);
  transform-origin: center center;
  width: 85vh;
  max-width: 85vh;
  max-height: 90vw;
}

.image-lightbox.active.rotated .image-lightbox__content {
  transform: translate(-50%, -50%) rotate(90deg) scale(1);
}

.image-lightbox.rotated .image-lightbox__img {
  max-height: 72vw;
  width: auto;
  height: auto;
}

.image-lightbox.rotated .image-lightbox__caption {
  font-size: 13px;
  margin-top: 8px;
}

@media screen {

  /* Screen enhancements for Introduction Page - Estilo Editorial Clássico */
  .intro-epigraph {
    background: transparent;
    color: #2b393d;
    font-family: Georgia, serif;
    font-size: 19px;
    padding: 14px 0 8px;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(191, 91, 69, 0.25);
    border-bottom: 1px solid rgba(191, 91, 69, 0.25);
    border-radius: 0;
    max-width: 100%;
    margin: 18px auto 24px;
    text-align: center;
  }

  .intro-epigraph strong,
  .intro-epigraph b {
    color: #bf5b45;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
  }

  .lead-section {
    font-size: 19px;
    line-height: 1.75;
  }

  .lead-section p {
    text-align: justify !important;
  }

  .target-audience li {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: justify;
    transition: transform 0.2s ease;
  }

  .target-audience li:hover {
    transform: translateX(4px);
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .target-audience li::before {
    font-size: 13px;
    top: 3px;
  }

  .methodology-section {
    background: #fffcf7;
    border-color: rgba(191, 91, 69, 0.15);
    padding: 28px 36px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(191, 91, 69, 0.03);
  }

  .methodology-section h2 {
    font-size: 23px;
  }

  .methodology-section p {
    font-size: 16.5px;
    line-height: 1.7;
  }

  /* Next lesson screen cards */
  .next-lesson {
    background: #fbf9f4;
    border: 1px solid rgba(138, 114, 77, 0.2);
    border-left: 4px solid #8a724d;
    border-radius: 8px;
    padding: 18px 24px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(31, 42, 46, 0.03);
    transition: all 0.2s ease;
  }

  .next-lesson:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 114, 77, 0.1);
    border-color: rgba(138, 114, 77, 0.4);
  }

  /* Web-Only Table of Contents (Sumário Interativo da Introdução) */
  .web-toc-section {
    margin: 40px 0;
    padding-top: 12px;
  }

  .web-toc-section h2 {
    color: #1c2e33;
    font-size: 24px;
    border-bottom: 2px solid rgba(191, 91, 69, 0.15);
    padding-bottom: 8px;
    margin-bottom: 12px;
    margin-top: 0;
  }

  .web-toc-intro {
    color: #55686c;
    font-size: 15.5px;
    margin-bottom: 20px;
  }

  .web-toc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .web-toc-card {
    background: #fdfcf7;
    border: 1px solid rgba(154, 107, 53, 0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(154, 107, 53, 0.02);
  }

  .web-toc-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #bf5b45;
    box-shadow: 0 8px 20px rgba(191, 91, 69, 0.08);
  }

  .web-toc-card__num {
    background: #eaf1f1;
    color: #2f6f73;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.25s ease;
  }

  .web-toc-card:hover .web-toc-card__num {
    background: #bf5b45;
    color: #ffffff;
  }

  .web-toc-card__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .web-toc-card__content strong {
    color: #1c2e33;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease;
  }

  .web-toc-card:hover .web-toc-card__content strong {
    color: #bf5b45;
  }

  .web-toc-card__content span {
    color: #55686c;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Roadmap lifts - Editorial Minimalist Style */
  .route-map {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .route-map ol {
    border-top: 1px solid rgba(191, 91, 69, 0.3);
    padding-top: 24px;
    margin-top: 12px;
    gap: 32px;
  }

  .route-map li {
    border-radius: 0;
    padding-top: 0;
    border-top: none;
    text-align: left;
  }

  .route-map li::after {
    top: -27.5px;
    width: 6px;
    height: 6px;
    background-color: #bf5b45;
  }
}

@media screen and (max-width: 760px) {
  .route-map ol {
    border-top: none;
    border-left: 2px solid rgba(191, 91, 69, 0.25);
    padding-top: 0;
    padding-left: 20px;
    margin-left: 8px;
    gap: 28px;
  }

  .route-map li::after {
    top: 12px;
    left: -24px;
    /* Centra a bolinha de 6px perfeitamente sobre a borda esquerda de 2px */
  }

  /* Ajustes de fontes da introdução no mobile para harmonizar com as lições */
  .intro-epigraph {
    font-size: 17.5px !important;
  }

  .intro-epigraph strong,
  .intro-epigraph b {
    font-size: 12.5px !important;
  }

  .lead-section {
    font-size: 17.5px !important;
    line-height: 1.6 !important;
  }

  .target-audience li {
    font-size: 16.5px !important;
    line-height: 1.6 !important;
    padding-left: 22px !important;
    padding-right: 12px !important;
    text-align: left !important;
  }

  .target-audience li::before {
    font-size: 11px !important;
    top: 2px !important;
  }

  .methodology-section {
    padding: 20px 22px !important;
  }

  .methodology-section h2 {
    font-size: 19.5px !important;
  }

  .methodology-section p {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
  }

  /* Ajustes do sumário interativo no mobile */
  .web-toc-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .web-toc-card {
    padding: 12px 14px !important;
    gap: 12px !important;
  }

  .web-toc-card__num {
    width: 38px !important;
    height: 38px !important;
    font-size: 17px !important;
  }

  .web-toc-card__content strong {
    font-size: 14.5px !important;
  }

  .web-toc-card__content span {
    font-size: 12px !important;
  }

  /* Legenda instrucional abaixo de imagens clicáveis */
  .lightbox-hint {
    display: block !important;
    text-align: center;
    color: #000000;
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 12px;
    font-style: italic;
    font-family: 'Inter', sans-serif;
  }
}