/* ============================================================
   Showcase Teste IPTV 2026 — Estilos para Páginas de Artigo IPTV
   Complementa /css/style.css — Tema claro
   ============================================================ */

/* === PAGE HERO (Article) === */
.pg-hero {
  background: var(--bg-alt);
  padding: 90px 24px 40px;
  border-bottom: 1px solid var(--border);
}
.pg-hero .wrap { max-width: var(--wrap); margin: 0 auto; }
.pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  padding: 4px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
}
.pg-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pg-hero h1 {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--txt);
  line-height: 1.2;
}
.pg-subtitle {
  font-size: 0.95rem;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 0;
}
.trust-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--txt2);
  font-weight: 500;
}
.trust-mark svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
}
.pg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.btn-accent {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 12px 28px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-accent:hover { background: #085532; text-decoration: none; }
.btn-outline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt2);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* === CONTENT LAYOUT (Article + Sidebar) === */
.content-wrap {
  display: flex;
  gap: 36px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px;
}
.content-body {
  flex: 1;
  min-width: 0;
}
.content-body h2 {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--txt);
  scroll-margin-top: 80px;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p {
  font-size: 0.92rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.content-body p a { color: var(--accent); text-decoration: none; }
.content-body p a:hover { text-decoration: underline; }
.content-body strong { color: var(--txt); font-weight: 600; }
.content-body ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.content-body ol li {
  list-style: decimal;
  font-size: 0.92rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 10px;
}
.content-body ul {
  padding-left: 20px;
  margin-bottom: 18px;
}
.content-body ul li {
  list-style: disc;
  font-size: 0.92rem;
  color: var(--txt2);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* Sidebar */
.content-aside {
  width: 260px;
  flex-shrink: 0;
}
.aside-nav {
  position: sticky;
  top: 76px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.aside-nav h4,
.aside-nav .aside-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aside-nav a {
  display: block;
  font-size: 0.82rem;
  color: var(--txt2);
  padding: 6px 0 6px 12px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.aside-nav a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  text-decoration: none;
}
.aside-cta {
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
}
.aside-cta h4,
.aside-cta .aside-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}
.aside-cta p {
  font-size: 0.82rem;
  color: var(--txt2);
  margin-bottom: 14px;
  line-height: 1.6;
}
.aside-cta .btn-accent {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  padding: 10px 20px;
}

@media (max-width: 900px) {
  .content-wrap { flex-direction: column; }
  .content-aside { width: 100%; }
  .aside-nav { position: static; }
}

/* === CALLOUT BOX === */
.callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 20px;
  margin: 24px 0;
}
.callout-tip { border-left-color: #10b981; }
.callout-warning { border-left-color: #ef4444; }
.callout-info { border-left-color: #6366f1; }
.callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--txt);
  margin-bottom: 8px;
}
.callout-title svg { width: 18px; height: 18px; flex-shrink: 0; }
.callout p {
  color: var(--txt2);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.callout p:last-child { margin-bottom: 0; }

/* === TIMELINE === */
.cronologia {
  position: relative;
  margin: 28px 0;
  padding-left: 30px;
}
.cronologia::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.cronologia-item {
  position: relative;
  margin-bottom: 28px;
}
.cronologia-item:last-child { margin-bottom: 0; }
.cronologia-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.cronologia-highlight::before {
  background: var(--accent);
}
.cronologia-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  padding: 2px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 6px;
}
.cronologia-content h3,
.cronologia-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.cronologia-content p {
  font-size: 0.88rem;
  color: var(--txt2);
  line-height: 1.7;
}

/* === STEPS === */
.passos {
  margin: 24px 0;
}
.passo-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.passo-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}
.passo-content h3,
.passo-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.passo-content p {
  font-size: 0.88rem;
  color: var(--txt2);
  line-height: 1.7;
}

/* === COMPARISON TABLE === */
.tabela-wrapper {
  margin: 24px 0;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.tabela thead { background: var(--bg-alt); }
.tabela th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.tabela td {
  padding: 10px 16px;
  color: var(--txt2);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.tabela tbody tr:last-child td { border-bottom: none; }
.tabela tbody tr:nth-child(even) { background: var(--bg-alt); }
.table-check { color: #10b981; font-weight: 700; }
.table-cross { color: #ccc; }

/* === FEATURE GRID === */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.recurso-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.recurso-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.recurso-icon svg { width: 20px; height: 20px; }
.recurso-item h3,
.recurso-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 6px;
}
.recurso-item p {
  font-size: 0.85rem;
  color: var(--txt2);
  line-height: 1.7;
}

/* === PROS AND CONS === */
.veredito {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.lista-pro, .lista-contra {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.lista-pro { border-top: 3px solid #10b981; }
.lista-contra { border-top: 3px solid #ef4444; }
.lista-pro h3, .lista-contra h3,
.lista-pro h4, .lista-contra h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.lista-pro h3, .lista-pro h4 { color: #10b981; }
.lista-contra h3, .lista-contra h4 { color: #ef4444; }
.lista-pro ul, .lista-contra ul { padding-left: 0; margin-bottom: 0; }
.lista-pro li, .lista-contra li {
  font-size: 0.85rem;
  color: var(--txt2);
  padding: 5px 0 5px 22px;
  position: relative;
  list-style: none;
  line-height: 1.6;
}
.lista-pro li::before { content: '\2713'; position: absolute; left: 0; color: #10b981; font-weight: 700; }
.lista-contra li::before { content: '\2717'; position: absolute; left: 0; color: #ef4444; font-weight: 700; }

/* === METRICS GRID === */
.metrica-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metrica-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
}
.metrica-value {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.metrica-label {
  font-size: 0.75rem;
  color: var(--txt2);
}

/* === HIGHLIGHT CARD === */
.destaque-card {
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 24px 0;
}
.destaque-card h3 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.destaque-card p {
  color: var(--txt2);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* === MINI CARDS (Platform listing) === */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.mini-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-card-rank {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-edge);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  align-self: flex-start;
}
.mini-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--txt); }
.mini-card p { font-size: 0.85rem; color: var(--txt2); line-height: 1.7; margin: 0; }
.mini-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mini-card-link:hover { text-decoration: underline; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .pg-hero { padding: 80px 20px 32px; }
  .pg-hero h1 { font-size: 1.5rem; }
  .veredito { grid-template-columns: 1fr; }
  .recursos-grid { grid-template-columns: 1fr; }
  .metrica-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: 1fr; }
  .cronologia { padding-left: 24px; }
  .cronologia-item::before { left: -22px; width: 8px; height: 8px; }
  .tabela { font-size: 0.78rem; }
  .tabela th, .tabela td { padding: 8px 10px; }
  .callout { padding: 16px 18px; }
  .destaque-card { padding: 20px; }
  .pg-actions { flex-direction: column; }
  .btn-accent, .btn-outline { text-align: center; }
}
