﻿/* pages.css — estilos compartilhados das páginas internas (UTF-8) */
:root {
  --p-bg: #171415;
  --p-panel: #1d1e22;
  --p-gold: #ffc057;
  --p-text: #ffffff;
  --p-muted: #cfcfcf;
  --p-line: #2a2b30;
  --font-display: "Sora", "Nunito", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-accent: "Sora", "Nunito", sans-serif;
}

.page-main {
  background: var(--p-bg);
  color: var(--p-text);
  padding: 0 0 3rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.75;
}

.page-hero {
  padding: 1.75rem 0 1.25rem;
}

.page-hero .hero-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.95rem);
  text-transform: uppercase;
  color: var(--p-gold);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.page-hero p {
  color: var(--p-muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.05rem);
  text-transform: uppercase;
  color: var(--p-gold);
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.page-figure {
  margin: 1.25rem auto;
  max-width: 480px;
  text-align: center;
}

.page-figure img {
  display: block;
  width: 480px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

.page-figure figcaption {
  margin-top: 0.5rem;
  color: var(--p-gold);
  font-size: 0.9rem;
}

/* Bloco A: cards simples */
.block-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .block-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.block-card {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}

.block-card h3 {
  font-family: var(--font-display);
  color: var(--p-gold);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.block-card p {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bloco B: lista numerada */
.block-steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.block-steps li {
  position: relative;
  background: var(--p-panel);
  border-left: 3px solid var(--p-gold);
  border-radius: 0 10px 10px 0;
  padding: 0.95rem 1rem 0.95rem 3.2rem;
  margin-bottom: 0.65rem;
  color: var(--p-muted);
  line-height: 1.65;
}

.block-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--p-gold);
  color: #171415;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-steps strong {
  color: var(--p-text);
}

/* Bloco C: duas colunas */
.block-split {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .block-split {
    grid-template-columns: 1fr 1fr;
  }
}

.block-split-item {
  background: linear-gradient(160deg, #1d1e22 0%, #141316 100%);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 1.2rem;
}

.block-split-item h3 {
  font-family: var(--font-accent);
  color: var(--p-gold);
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.block-split-item p,
.block-split-item ul {
  color: var(--p-muted);
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.block-split-item ul {
  padding-left: 1.1rem;
}

/* Bloco D: faixa destaque */
.block-banner {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: #1d1e22;
  border: 1px dashed var(--p-gold);
  text-align: center;
}

.block-banner h2 {
  font-family: var(--font-display);
  color: var(--p-gold);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.block-banner p {
  margin: 0 0 1rem;
  color: var(--p-muted);
}

/* Bloco E: FAQ */
.block-faq {
  margin: 1.5rem 0;
}

.block-faq details {
  background: var(--p-panel);
  border: 1px solid var(--p-line);
  border-radius: 10px;
  margin-bottom: 0.55rem;
  padding: 0.85rem 1rem;
}

.block-faq summary {
  cursor: pointer;
  color: var(--p-gold);
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
}

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

.block-faq p {
  margin: 0.65rem 0 0;
  color: var(--p-muted);
  line-height: 1.65;
}

/* Bloco F: artigo longo */
.block-article {
  margin: 1.75rem 0 0;
}

.block-article h2 {
  font-family: var(--font-display);
  color: var(--p-gold);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  margin: 1.75rem 0 0.75rem;
}

.block-article p {
  color: var(--p-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.block-article ul {
  color: var(--p-muted);
  line-height: 1.75;
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

/* Bloco G: chips / tags */
.block-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.block-chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--p-gold);
  color: var(--p-gold);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Bloco H: tabela simples */
.block-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.block-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.block-table th,
.block-table td {
  border: 1px solid var(--p-line);
  padding: 0.7rem 0.8rem;
  text-align: left;
}

.block-table th {
  background: var(--p-panel);
  color: var(--p-gold);
  font-family: var(--font-display);
}

.block-table td {
  color: var(--p-muted);
}

.page-cta {
  text-align: center;
  margin: 2rem 0 1rem;
}

.page-footer-links {
  text-align: center;
  padding: 1rem 0;
}

.page-footer-links a {
  color: var(--p-gold);
  text-decoration: none;
  margin: 0 0.75rem;
}
