<?php
require_once __DIR__.'/../config/config.php';require_once __DIR__.'/../config/database.php';require_once __DIR__.'/../includes/functions.php';
$doc=afLegalDocument($pdo,'camera_transmission');if(!$doc){http_response_code(503);die('Documento indisponível. Importe a migração da Etapa 21.');}
$pageTitle='Política de Câmera e Transmissão';$showNav=false;require_once __DIR__.'/../includes/header.php';
?>
<header class="app-header"><a href="<?=SITE_URL?>/pages/central-privacidade.php" class="btn-back">← Privacidade</a><div class="logo-inline"><span class="logo-main">AURA</span><span class="logo-sub">LEGAL</span></div><span class="privacy-shield">🛡️</span></header>
<main class="page-content legal-page"><section class="legal-hero card"><div class="legal-hero-icon">📷</div><div><small>CÂMERA SEGURA • VERSÃO <?=esc($doc['version_key'])?></small><h1><?=esc($doc['title'])?></h1><p><?=esc($doc['summary'])?></p></div></section><article class="card legal-content"><?=$doc['content_html']?></article><div class="legal-actions"><a class="btn btn-primary" href="<?=SITE_URL?>/pages/central-privacidade.php">VOLTAR À CENTRAL</a></div></main>
<?php require_once __DIR__.'/../includes/footer.php';?>
