<?php
session_start();
if($_GET['caminho'] == 'galeriaVideos.php'){
if((!isset ($_SESSION['login']) == true) and (!isset ($_SESSION['password']) == true))
{
  unset($_SESSION['login']);
  unset($_SESSION['senha']);
  header('location:'.URL_BASE.'login/session');
  }

$email = $_SESSION['login'];}
date_default_timezone_set('America/Sao_Paulo');

$sql = $conecta->query("SELECT nome_site, favicon_site, logo_site, telefone_site FROM config_site WHERE id = '1'");
while ($consulta = $sql->fetch_assoc()) {
$nome_site = $consulta['nome_site'];
$telefone_site = $consulta['telefone_site'];
$favicon_site = $consulta['favicon_site'];
$logo_site = $consulta['logo_site'];}
?>
<!DOCTYPE html>
<html lang="pt-br">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
	
	<title><?php echo $nome_site; ?></title>
	<link rel="icon" type="image/x-icon" href="<?php echo URL_BASE; ?>assets/images/<?php echo $favicon_site; ?>" />
    <link rel="stylesheet" href="<?php echo URL_BASE; ?>assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo URL_BASE; ?>assets/css/styles.css">
	<script src='https://www.google.com/recaptcha/api.js?hl=pt-BR'></script>
	
	<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
	<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
	<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script>

	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
	
	<style>
	
	html {
		scroll-behavior: smooth;
	}
	
	img {
	  width: 100%;
	  height: auto;
	}
	
	.subMenu {
		background-color: #fff;
		border: 1px solid #dee2e6;
		border-radius: 0.25rem;
		padding: 0.75rem 0.75rem;
		margin-top: 115px;
		margin-bottom: 20px;
	}
	.btn-ssm {
		padding: 0.25rem 0.5rem;
		font-size: .575rem;
		line-height: 1.5;
		border-radius: 0.2rem;
	}
	.btn-light {
		color: #212529;
		background-color: #ffffff;
		border-color: #ffffff;
		font-weight: 600;
	}
	.socialIcon {
		color: #575757;
		font-size: 32px;
	}
	.socialIcon:hover {
		color: #404040;
		font-size: 32px;
	}
	.institucionalTitleBox {
		margin-top: 20px;
		padding: 40px 10px 30px 10px;
		border: 1px solid #fff;
	}
	.img-case {
		background-color: #ccc;
		width: 100%;
		height: 25.5rem;
	}
	.lineTitleBox {
		margin-top: 60px;
		margin-bottom: 60px;
		padding: 40px 30px 30px 30px;
		border: 1px solid #f2f2f2;
	}
	.institucionalAddressBox {
		margin-bottom: 60px;
		padding: 60px 30px 50px 30px;
		border: 1px solid #f2f2f2;
	}
	a {
		color: #575757;
		text-decoration: none;
	}
	a:hover {
		color: #404040;
		text-decoration: none;
	}
	.officeBg {
		background-image: url('/assets/images/bg_show_room_immense_.png');
		background-position: center left;
		background-repeat: no-repeat;
	}
	.corpBg {
		background-image: url('/assets/images/bg_empresa_immense.png');
		background-position: center left;
		background-repeat: no-repeat;
	}
	.menuPhotoSpc {
		margin-top: 30px;
		border: 1px solid #fff;
	}
	.stdContentBox {
		font-size: 10pt;	
	}
	.stdContentBox h5 {
		color: #e19743;
	}
	.iconContent {
		width: 24%;
		display: inline-block;
	}
	.iconContent i {
		color: #ccc;
	}
	.imagesBox {
		margin-bottom: 60px;
		padding: 20px 5px 20px 5px;
		border: 1px solid #f2f2f2;
	}
	.imageBox {
		border: 1px solid #f2f2f2;
		text-align: center;
	}
	.caseBox {
		padding: 20px 15px;
		border-radius: 0.25rem;
		border-bottom: 1px solid #d9d9d9;
		/* box-shadow: 0 0 15px rgba(0,0,0,.1); */
		font-size: 10pt;
	}
	.btn-orange {
		color: #fff;
		background-color: #e19743;
		border-color: #e19743;
	}
	.btn-orange:hover {
		color: #fff;
		background-color: #c97516;
		border-color: #c97516;
	}
	.modal-xl {
		max-width: 1140px;
		background-color: #fff;
		border-radius: 8px;
	}
	.modal-content {
		padding: 35px 35px;
	}
	.descCase {
		font-weight: 600;
	}
	.newsCase {
		border: 1px solid #dee2e6;
		border-radius: 0.25rem;
		padding: 40px 40px;
		margin-bottom: 40px;
	}
	.clean-navbar.fixed-bottom,
	.clean-navbar.fixed-top {
		position: relative; /* Necessário para o pseudo-elemento */
		box-shadow: 0 0 15px rgba(0, 0, 0, .1);
	}

	.clean-navbar.fixed-bottom::after,
	.clean-navbar.fixed-top::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 4px; /* Altura da borda */
		background: linear-gradient(to right, #ff0000, #000066, #ff0000, #ff0000, #000066, #ff0000); /* Gradiente */
	}
	
	.eletBox {
		position: absolute;
		top: 0;
		left: 50%;
		width: 400px;
		margin-top: 114px;
		margin-left: -200px;
		background-color: #ffffff;
		color: #000066;
		z-index: 1031;
		padding-bottom: 5px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
		border-bottom: 4px solid #ba0018;
		border-left: 4px solid #ba0018;
		border-right: 4px solid #ba0018;
		border-bottom-left-radius: 40px;
		border-bottom-right-radius: 40px;
	}
	
	.wpBox {
		background-color: rgba(255, 255, 255, 0.8);
		border-radius: 50%;
		bottom: 0;
		right: 0;
		position: fixed;
		margin-right: 40px;
		margin-bottom: 34px;
		z-index: 9997;
		padding: 20px 24px;
		-webkit-box-shadow: 0px 3px 8px -3px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 3px 8px -3px rgba(0,0,0,0.75);
		box-shadow: 0px 3px 8px -3px rgba(0,0,0,0.75);
	}
	
	.aviso-privacidade {
		position: fixed;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		max-width: 800px;
		width: 100%;
		z-index: 1050;
		border-radius: .25rem .25rem 0 0;
	 }
	 
	 .closeButton {
		 position: fixed;
		 right: 0;
		 top: 0;
		 margin-top: 40px;
		 margin-right: 40px;
		 width: 42px;
		 height: 42px;
		 background-color: #fff;
		 border: 1px solid #ccc;
		 border-radius: 50%;
		 padding: 8px 8px;
		 z-index: 999;
	 }
	 
	 .closeButtonText {
		 position: fixed;
		 right: 0;
		 top: 0;
		 margin-top: 46px;
		 margin-right: 85px;
		 background-color: #fff;
		 border: 1px solid #ccc;
		 border-radius: 15px;
		 padding: 3px 8px;
		 z-index: 999;
	 }
	
	</style>

</head>

<body>

<section style="padding: 20px 0; border-bottom: 1px solid #ccc;">
<div class="container">
	<div class="row justify-content-center">
		<div class="col-auto">
			<a class="navbar-brand logo" href="<?php echo URL_BASE; ?>">
				<img src="<?php echo URL_BASE; ?>assets/images/<?php echo $logo_site; ?>" style="height: 70px;">
			</a>
		</div>
	</div>
</div>
</section>