<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <title><?= $titulo ?? 'Loginn | SOV' ?></title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <style>
        body { background: #1c2e4a; }
    </style>
</head>
<body class="bg-light">
    <div class="container mt-5">
        <?php
        // Inclui a view de conteúdo (ex: login, cadastrar, recuperar_senha)
        if (isset($conteudo) && file_exists($conteudo)) {
            if (isset($dados)) extract($dados);
            include $conteudo;
        }
        ?>
    </div>
</body>
</html>
