<!DOCTYPE html>
<html lang="pt-br">
<head>

	<?php require 'analitycshead.php'; ?>
	<?php if(!is_null($google) && !empty($google->getAds()) && $google->getGoalsend() == 1): ?>
		<!-- Event snippet for Email conversion page -->
		<script>
		gtag('event', 'conversion', {'send_to': '<?= $google->getAds(); ?>/04-XCKaK-fABEIvM_fUC'});
		</script>
	<?php endif; ?>

	<meta charset="utf-8">
	<meta http-equiv="content-language" content="pt-br">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta http-equiv="cache-control" content="public"/>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="robots" content="index, follow">
	
	<title>Layout Email Template</title>
	<style type="text/css">
		@media only screen and (min-device-width: 601px) {
			.content {width: 600px !important;}
			.col425 {width: 425px!important;}
			.col380 {width: 380px!important;}
		}
		@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
			body[yahoo] .buttonwrapper {background-color: transparent!important;}
			body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important; display: block!important;}
		}
	</style>
</head>
<body yahoo bgcolor="#f6f8f1" style="margin: 0; padding: 0; min-width: 100% !important;">

	<?php require 'analitycsbody.php'; ?>
	
	<!--[if (gte mso 9)|(IE)]>
	<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
				<![endif]-->
				<table style="width: 100%; max-width: 600px;" class="content" align="center" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td style="padding: 40px 30px 20px 30px;" bgcolor="<?= (is_null($color) || empty($color->getColor())) ? '#026fa7' : $color->getColor() ?>">
							<table width="70" align="left" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td height="70" style="padding: 0 20px 20px 0;">
										<img src="<?= URL_BASE; ?>public/site/images/logo.png" width="70" height="70" border="0" alt="" style="object-fit: contain;" />
									</td>
								</tr>
							</table>
							<!--[if (gte mso 9)|(IE)]>
							<table width="425" align="left" cellpadding="0" cellspacing="0" border="0">
								<tr>
									<td>
									<![endif]-->
									<table align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 425px; width: 425px !important;">
											<tr>
												<td height="70">
													<table width="100%" border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td style="padding: 0 0 0 3px; font-size: 15px; color: #ccc; font-family: Gill Sans, sans-serif; letter-spacing: 10px;">
																<?= $config->getTitle(); ?>
															</td>
														</tr>
														<tr>
															<td style="padding: 5px 0 0 0; font-size: 33px; line-height: 38px; font-weight: bold; color: #fff; font-family: Gill Sans, sans-serif;">
																Recebemos um contato!
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									<!--[if (gte mso 9)|(IE)]>
									</td>
								</tr>
							</table>
							<![endif]-->
						</td>
					</tr>
					<tr>
						<td style="padding: 30px 30px 30px 30px; border-bottom: 1px solid #f2eeed;">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td style="padding: 0 0 15px 0; font-size: 20px; line-height: 28px; font-weight: bold; color: #153643; font-family: Gill Sans, sans-serif;">
										Muito Prazer! Eu me chamo <strong><?= $data['name']; ?></strong>
									</td>
								</tr>
								<?php if(isset($service)): ?>
									<tr>
										<td style="font-size: 14px; line-height: 22px; font-family: Gill Sans, sans-serif;">
											Eu estava olhando o seu site e fiz uma simulação para saber mais informações sobre o serviço <strong><?= $service; ?></strong>, poderia me passar mais informações?
										</td>
									</tr>
								<?php endif; ?>
								<tr>
									<td style="font-size: 14px; line-height: 22px; font-family: Gill Sans, sans-serif;">
										<strong>Observação:</strong> <?= ($data['mensage'] != '') ? $data['mensage'] : 'Sem observações...' ?>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td style="padding: 30px 30px 30px 30px; border-bottom: 1px solid #f2eeed;">
							<table width="115" align="left" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td height="115" style="padding: 0 20px 20px 0;">
										<img src="<?= URL_BASE; ?>public/site/images/icon.png" style="object-fit: contain;" width="115" height="115" border="0" alt="" />
									</td>
								</tr>
							</table>
							<!--[if (gte mso 9)|(IE)]>
							<table width="380" align="left" cellpadding="0" cellspacing="0" border="0">
								<tr>
								<td>
							<![endif]-->
							<table class="col380" align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%; max-width: 380px;">
								<tr>
									<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td style="font-size: 16px; line-height: 22px; font-family: Gill Sans, sans-serif;">
												Estou disponivel para entrarem em contato comigo através do número <strong><?= $data['phone']; ?></strong> ou pelo email <strong><?= $data['email']; ?></strong>. Fico no Aguardo!
											</td>
										</tr>
										<tr>
											<td style="padding: 20px 0 0 0;">
												<table class="buttonwrapper" bgcolor="#e05443" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td style="text-align: center; font-size: 18px; font-family: Gill Sans, sans-serif; font-weight: bold; padding: 0 30px 0 30px;" height="45">
															<a style="color: #ffffff; text-decoration: none;" href="https://api.whatsapp.com/send?phone=<?= '55' . preg_replace('/[^\d]/i', '', $data['phone']) ?>">
																Chame no WhatsApp
															</a>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									</td>
								</tr>
							</table>
							<!--[if (gte mso 9)|(IE)]>
								</td>
								</tr>
							</table>
							<![endif]-->
						</td>
					</tr>
					<tr>
						<td style="padding: 20px 30px 15px 30px;" bgcolor="#191D55">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td align="center" style="font-family: Gill Sans, sans-serif; font-size: 14px; color: #ffffff;">
										Todos os direitos reservados - <?= date('Y'); ?><br/>
										<a style="color: #ffffff; text-decoration: underline;" href="https://mazukim.com.br/">
											<font color="#ffffff">Desenvolvido pela Mazukim</font>
										</a>
									</td>
								</tr>
								<tr>
									<td align="center" style="padding: 20px 0 0 0;">
										<table border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="150" style="text-align: center; padding: 0 10px 0 10px;">
													<a href="https://mazukim.com.br/">
														<img src="<?= URL_BASE; ?>public/site/images/mazukim.png" width="150" height="50" style="object-fit: contain;" alt="Mazukim" border="0" />
													</a>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!--[if (gte mso 9)|(IE)]>
			</td>
		</tr>
	</table>
	<![endif]-->

</body>
</html>