/* ====================================================================
   site2/css/paginas.css — páginas por assunto do site (2026-11-12): Boleto PIX para escolas, Sistema EAD e Sistema
   para faculdade. Topo com trilha, blocos de texto, perguntas frequentes, chamada final e "Veja também".
   As seções de conteúdo reaproveitam as peças de destaques.css (pix-destaque, pix-grade, lista-check, passos, janela).
   Usa as cores de style.css (--navy, --gold, --muted...). O style.css zera listas, títulos e links (preflight do Tailwind):
   aqui tudo é declarado.
   ==================================================================== */

/* ---------- topo ---------- */
.pg-hero { position: relative; background: hsl(var(--navy)); padding: 128px 0 88px; overflow: hidden; }
.pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(820px 400px at 88% 0%, hsl(var(--gold) / .2), transparent 62%);
  pointer-events: none;
}
.pg-hero .pix-grade { position: relative; }
.pg-trilha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #93c5fd; margin-bottom: 18px; }
.pg-trilha a { color: #bfdbfe; text-decoration: underline; text-underline-offset: 3px; }
.pg-trilha a:hover { color: hsl(var(--gold-light)); }
.pg-hero h1 { font-family: Poppins, sans-serif; font-weight: 800; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; color: #fff; margin: 0 0 18px; }
.pg-hero h1 span { color: hsl(var(--gold)); }
.pg-lead { color: #dbeafe; font-size: 18px; line-height: 1.65; margin-bottom: 28px; max-width: 40rem; }
.pg-lead strong { color: hsl(var(--gold-light)); }
.pg-hero .janela-rolagem { max-height: 470px; }
.pg-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- seções de conteúdo ---------- */
.pg-conteudo .pix-texto h2 { font-size: clamp(24px, 3vw, 34px); }
.pg-conteudo .pix-texto > p a,
.pg-texto a,
.pg-faq a,
.pg-bloco a { color: hsl(var(--navy)); font-weight: 600; text-decoration: underline; text-decoration-color: hsl(var(--gold)); text-underline-offset: 3px; }
.pg-secao { padding: 88px 0; background: #fff; }
.pg-secao-clara { background: hsl(var(--muted)); }
.pg-estreito { max-width: 52rem; margin: 0 auto; padding: 0 16px; }
.pg-largo { max-width: 80rem; margin: 0 auto; padding: 0 16px; }
.pg-texto p { color: #475569; font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.pg-texto p:last-child { margin-bottom: 0; }
.pg-texto strong { color: hsl(var(--navy)); }

/* cartões de texto (o que o sistema faz, em blocos) */
.pg-blocos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-blocos.dois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-texto + .pg-blocos, .secao-titulo + .pg-blocos { margin-top: 8px; }
.pg-bloco { background: #fff; border: 1px solid hsl(var(--border)); border-radius: 18px; padding: 24px; box-shadow: 0 10px 25px -20px rgb(15 23 42 / .4); }
.pg-secao-clara .pg-bloco { border-color: transparent; }
.pg-bloco h3 { font-family: Poppins, sans-serif; font-weight: 700; color: hsl(var(--navy)); font-size: 17px; margin: 0 0 8px; }
.pg-bloco p { color: #475569; font-size: 15px; line-height: 1.6; margin: 0; }
.pg-bloco .pg-marca { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--gold)); margin-bottom: 8px; }

/* ---------- perguntas frequentes ---------- */
.pg-faq { display: grid; gap: 12px; }
.pg-faq details { background: #fff; border: 1px solid hsl(var(--border)); border-radius: 14px; box-shadow: 0 8px 20px -18px rgb(15 23 42 / .4); }
.pg-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: hsl(var(--navy));
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: hsl(var(--gold)); }
.pg-faq details[open] summary::after { content: "−"; }
.pg-faq summary:focus-visible { outline: 3px solid hsl(var(--gold) / .6); outline-offset: 2px; border-radius: 14px; }
.pg-faq details > div { padding: 0 20px 18px; color: #475569; font-size: 15.5px; line-height: 1.65; }

/* ---------- chamada final ---------- */
.pg-cta { position: relative; background: hsl(var(--navy)); padding: 84px 0; text-align: center; }
.pg-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, hsl(var(--navy)), hsl(var(--gold)), hsl(var(--navy))); }
.pg-cta h2 { font-family: Poppins, sans-serif; font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; color: #fff; margin: 0 0 14px; }
.pg-cta p { color: #bfdbfe; font-size: 17px; line-height: 1.6; max-width: 40rem; margin: 0 auto 28px; }
.pg-cta .pg-acoes { justify-content: center; }

/* ---------- veja também ---------- */
.pg-veja { padding: 72px 0; background: hsl(var(--background)); }
.pg-veja h2 { font-family: Poppins, sans-serif; font-weight: 700; font-size: 24px; color: hsl(var(--navy)); text-align: center; margin: 0 0 24px; }
.pg-cartoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-cartao {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 20px 22px;
  transition: all .2s ease;
}
.pg-cartao strong { color: hsl(var(--navy)); font-size: 16px; }
.pg-cartao strong::after { content: " →"; color: hsl(var(--gold)); }
.pg-cartao span { color: #64748b; font-size: 14px; line-height: 1.55; }
.pg-cartao:hover { border-color: hsl(var(--gold)); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgb(15 23 42 / .45); }
.pg-cartao:focus-visible { outline: 3px solid hsl(var(--gold) / .6); outline-offset: 2px; }

/* ---------- responsivo ---------- */
@media (max-width: 1023px) {
  .pg-hero { padding: 104px 0 72px; }
  .pg-blocos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cartoes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-hero { padding: 96px 0 60px; }
  .pg-lead { font-size: 17px; }
  .pg-secao { padding: 64px 0; }
  .pg-blocos, .pg-blocos.dois { grid-template-columns: 1fr; }
  .pg-cta { padding: 64px 0; }
  .pg-acoes .btn-rx { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-cartao { transition: none; }
  .pg-cartao:hover { transform: none; }
}
