/*
 * Páginas internas.
 *
 * A home tem composição própria, cheia de sobreposição e movimento. As páginas
 * internas são de leitura: coluna estreita, respiro grande e hierarquia clara.
 * Tudo aqui reaproveita os tokens de site.css (verde, dourado, marfim, areia),
 * então as duas partes do site continuam parecendo a mesma escola.
 */

/* ---------- abertura da página ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 96px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 14% 8%, rgba(46, 86, 54, 0.62), transparent 48%),
    linear-gradient(158deg, #0b2818 0%, #163a22 56%, #102b1b 100%);
}

.page-hero::after {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  content: "";
  background: radial-gradient(circle, rgba(226, 199, 101, 0.15), transparent 66%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .site-header {
  margin-bottom: 78px;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.page-hero-copy h1 em {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.042em;
}

.page-hero-copy > p {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(250, 246, 232, 0.76);
  font-size: 18px;
  line-height: 1.68;
}

/* ---------- seções de leitura ---------- */

.prose-section {
  padding: 104px 0;
  background: var(--ivory);
}

.prose-section.alt {
  background: var(--sand-light);
}

.prose-section.dark {
  color: var(--ivory);
  background: linear-gradient(158deg, #0b2818 0%, #163a22 56%, #102b1b 100%);
}

.prose-block {
  max-width: 760px;
}

.prose-block + .prose-block {
  margin-top: 74px;
}

.prose-block h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.prose-block h2 em {
  color: var(--forest-soft);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}

.prose-section.dark .prose-block h2 em {
  color: var(--gold-light);
}

.prose-block h3 {
  margin: 38px 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.prose-block p {
  margin: 17px 0 0;
  color: #5c6b5e;
  font-size: 17px;
  line-height: 1.74;
}

.prose-section.dark .prose-block p {
  color: rgba(250, 246, 232, 0.76);
}

.prose-block ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.prose-block ul li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--line);
  color: #5c6b5e;
  font-size: 16px;
  line-height: 1.62;
}

.prose-block ul li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--gold-deep);
  content: "✦";
  font-size: 12px;
}

.prose-section.dark .prose-block ul li {
  border-top-color: rgba(250, 246, 232, 0.14);
  color: rgba(250, 246, 232, 0.88);
}

.prose-section.dark .prose-block ul li::before {
  color: var(--gold-light);
}

/* ---------- citação de destaque ---------- */

.pull-quote {
  max-width: 760px;
  margin: 46px 0 0;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
}

.pull-quote p {
  margin: 0;
  color: var(--forest);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.prose-section.dark .pull-quote p {
  color: var(--ivory);
}

.pull-quote cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.prose-section.dark .pull-quote cite {
  color: rgba(250, 246, 232, 0.55);
}

/* ---------- grade de números e fatos ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.fact-card {
  padding: 26px 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.prose-section.dark .fact-card {
  background: rgba(250, 246, 232, 0.06);
  border-color: rgba(250, 246, 232, 0.16);
}

.fact-card strong {
  display: block;
  color: var(--forest);
  font-family: "Newsreader", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.prose-section.dark .fact-card strong {
  color: var(--gold-light);
}

.fact-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.prose-section.dark .fact-card span {
  color: rgba(250, 246, 232, 0.7);
}

/* ---------- passos numerados ---------- */

.step-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.step-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  counter-increment: passo;
}

.step-list li::before {
  color: var(--gold-deep);
  content: "0" counter(passo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step-list strong {
  display: block;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.14;
}

.step-list p {
  margin: 8px 0 0;
  color: #5c6b5e;
  font-size: 16px;
  line-height: 1.64;
}

/* ---------- perguntas frequentes ---------- */

.faq-list {
  max-width: 800px;
  margin-top: 40px;
}

.faq-list details {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

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

.faq-list summary::after {
  color: var(--gold-deep);
  content: "+";
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  transition: transform 220ms ease;
}

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

.faq-list details p {
  margin: 14px 0 0;
  max-width: 660px;
  color: #5c6b5e;
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- chamada de fechamento ---------- */

.page-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  color: var(--ivory);
  background: linear-gradient(140deg, #14331f 0%, #0d2617 100%);
}

.page-cta h2 {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.page-cta h2 em {
  display: block;
  color: var(--gold-light);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}

.page-cta p {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(250, 246, 232, 0.76);
  font-size: 17px;
  line-height: 1.68;
}

.page-cta .visit-actions {
  margin-top: 34px;
}

/* ---------- lista de páginas no rodapé ---------- */

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding-top: 26px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(250, 246, 232, 0.14);
}

.footer-nav a {
  color: rgba(250, 246, 232, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-light);
}

/* ---------- responsivo ---------- */

@media (max-width: 980px) {
  .page-hero {
    padding-bottom: 72px;
  }

  .page-hero .site-header {
    margin-bottom: 56px;
  }

  .prose-section {
    padding: 78px 0;
  }

  .prose-block + .prose-block {
    margin-top: 58px;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding-bottom: 58px;
  }

  .prose-section {
    padding: 62px 0;
  }

  .prose-block p {
    font-size: 16px;
  }

  .step-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .faq-list summary {
    font-size: 19px;
  }

  .page-cta {
    padding: 68px 0 72px;
  }
}
