/* ============================================================
   Lisboayield — Componentes principais: botões, hero, trust, stats, prose
   ============================================================ */

/* ---------- Botões ---------- */
.p2ppt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-family: var(--p2ppt-font-body);
  cursor: pointer; border: 2px solid transparent; transition: all .18s ease; line-height: 1; text-align: center;
}
.p2ppt-btn-accent { background: var(--p2ppt-accent); color: var(--p2ppt-primary-dark); }
.p2ppt-btn-accent:hover { background: var(--p2ppt-accent-dark); color: #fff; }
.p2ppt-btn-ghost { background: transparent; color: var(--p2ppt-primary); border-color: var(--p2ppt-border); }
.p2ppt-btn-ghost:hover { border-color: var(--p2ppt-primary); background: var(--p2ppt-surface); }
.p2ppt-btn-outline { background: transparent; color: var(--p2ppt-primary); border-color: var(--p2ppt-primary); padding: 9px 18px; font-size: 14.5px; }
.p2ppt-btn-outline:hover { background: var(--p2ppt-primary); color: #fff; }
.p2ppt-section-dark .p2ppt-btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Hero centrado ---------- */
.p2ppt-hero { background: var(--p2ppt-bg); padding: 76px 0 64px; text-align: center; position: relative; }
.p2ppt-hero::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 120px; height: 4px; background: var(--p2ppt-accent); border-radius: 4px;
}
.p2ppt-hero-inner { max-width: 840px; }
.p2ppt-hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--p2ppt-accent-dark); background: var(--p2ppt-accent-soft); padding: 6px 14px; border-radius: 999px; margin: 0 0 22px;
}
.p2ppt-hero h1 { margin: 0 0 18px; }
.p2ppt-hero-sub { font-size: 18.5px; color: var(--p2ppt-muted); margin: 0 auto 30px; max-width: 680px; }
.p2ppt-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Barra de confiança ---------- */
.p2ppt-trustbar { background: var(--p2ppt-surface); border-bottom: 1px solid var(--p2ppt-border); }
.p2ppt-trustbar-inner { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; padding: 18px 24px; }
.p2ppt-trust-item { font-size: 14.5px; font-weight: 500; color: var(--p2ppt-text); display: inline-flex; align-items: center; gap: 8px; }
.p2ppt-trust-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--p2ppt-success); color: #fff; font-size: 13px; font-weight: 700; }

/* ---------- Contadores ---------- */
.p2ppt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.p2ppt-stat-num { display: block; font-family: var(--p2ppt-font-head); font-size: clamp(36px, 5vw, 56px); line-height: 1; color: var(--p2ppt-accent); }
.p2ppt-stat-label { display: block; margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); }

/* ---------- Cabeçalhos de arquivo ---------- */
.p2ppt-archive-head { background: var(--p2ppt-gradient); color: #fff; padding: 56px 0; }
.p2ppt-archive-head h1 { color: #fff; margin: 0 0 12px; }
.p2ppt-archive-sub { color: rgba(255,255,255,.85); max-width: 720px; margin: 0; }

/* ---------- Migalhas ---------- */
.p2ppt-crumbs { font-size: 13.5px; color: var(--p2ppt-muted); margin-bottom: 14px; }
.p2ppt-crumbs a { color: var(--p2ppt-secondary); }

/* ---------- Conteúdo editorial (prose) ---------- */
.p2ppt-prose { font-size: 17px; }
.p2ppt-prose h2 { margin-top: 1.7em; }
.p2ppt-prose h3 { margin-top: 1.4em; }
.p2ppt-prose a { text-decoration: underline; text-underline-offset: 2px; }
.p2ppt-prose img { border-radius: var(--p2ppt-radius); margin: 1.6em 0; }
.p2ppt-prose ul, .p2ppt-prose ol { padding-left: 1.5em; }

/* ---------- Artigo ---------- */
.p2ppt-article-head { background: var(--p2ppt-surface); padding: 44px 0 30px; border-bottom: 1px solid var(--p2ppt-border); }
.p2ppt-article-head h1 { margin: 8px 0; }
.p2ppt-article-meta { font-size: 14px; color: var(--p2ppt-muted); margin: 0; }
.p2ppt-article-img { margin: 32px auto; }
.p2ppt-article-img img { border-radius: var(--p2ppt-radius); width: 100%; }
.p2ppt-article .p2ppt-prose { padding-top: 30px; padding-bottom: 30px; }

/* ---------- Pesquisa / 404 ---------- */
.p2ppt-searchform { display: flex; gap: 10px; margin: 26px 0; }
.p2ppt-searchform input { flex: 1; padding: 13px 16px; border: 1px solid var(--p2ppt-border); border-radius: 999px; font: inherit; background: var(--p2ppt-surface); }
.p2ppt-search-list { list-style: none; padding: 0; }
.p2ppt-search-list li { padding: 18px 0; border-bottom: 1px solid var(--p2ppt-border); }
.p2ppt-search-list p { color: var(--p2ppt-muted); margin: 6px 0 0; }
.p2ppt-404 { text-align: center; padding: 72px 24px; }
.p2ppt-404-code { font-family: var(--p2ppt-font-head); font-size: 96px; color: var(--p2ppt-accent); line-height: 1; margin: 0; }
.p2ppt-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Paginação ---------- */
.p2ppt-pagination { margin: 44px 0; }
.p2ppt-pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 8px;
  border: 1px solid var(--p2ppt-border); color: var(--p2ppt-primary); font-weight: 500;
}
.p2ppt-pagination .page-numbers.current { background: var(--p2ppt-primary); color: #fff; border-color: var(--p2ppt-primary); }
