<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verificação de Idade</title>
<style>

html {
margin: 0;
padding: 0;
min-height: 100%;
height: 100%;
background-color: #f0f0f0;
}
body {
margin: 0;
padding: 0;
min-height: 100vh;
min-height: 100dvh;
width: 100%;
box-sizing: border-box;
background-image: url("https://s3.eu-central-2.wasabisys.com/w.storage.screenshotapi.net/my_site_mz7ky2eu_heltonarcanjo16_wix_vibe_site_com_a6bf876cde58.png");
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
background-attachment: scroll;
background-color: #f0f0f0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Só troca para screenshot mobile em viewport estreita (phones). Painéis de preview ~480px+ mantêm desktop. */
@media (max-width: 480px) {
body {
background-image: url("https://s3.eu-central-2.wasabisys.com/w.storage.screenshotapi.net/my_site_mz7ky2eu_heltonarcanjo16_wix_vibe_site_com_d1100cb7558f.png") !important;
background-size: cover !important;
background-position: center top !important;
background-attachment: scroll;
}
}
</style>


</head>
<body>

<div id="overlay">
<!-- Modern Age Verification Popup -->
<div id="age-verification-popup-modern" style="display: none;">
<div class="age-popup-overlay-modern">
<div class="age-popup-container-modern">
<div class="age-popup-content-modern">
<div class="age-popup-text-modern">
<h3 class="age-popup-title-modern">Verificação de Idade</h3>
<p class="age-popup-message-modern">Você tem mais de 18 anos?</p>
</div>
<div class="age-popup-buttons-modern">
<a href="https://my-site-mz7ky2eu-heltonarcanjo16.wix-vibe-site.com/" class="age-btn-accept-modern ratoeira-trackable">Sim, tenho mais de 18 anos</a>
<a href="https://my-site-mz7ky2eu-heltonarcanjo16.wix-vibe-site.com/" class="age-btn-reject-modern ratoeira-trackable">Não, sou menor de idade</a>
</div>
</div>
</div>
</div>
</div>
</div>


<style type="text/css">

/* Reset para garantir cobertura total */
html, body {
margin: 0;
padding: 0;
height: 100%;
}

/* Modern Age Verification Popup Styles - Cookie Banner Style */
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
pointer-events: auto;
}

#age-verification-popup-modern {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1001;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
}

#age-verification-popup-modern.age-popup-visible-modern {
opacity: 1;
pointer-events: auto;
}

.age-popup-overlay-modern {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
}

.age-popup-container-modern {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(100%);
width: calc(100% - 48px);
max-width: 1200px;
background: #FFFFFF;
padding: 24px 32px;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
pointer-events: auto;
z-index: 1002;
}

#age-verification-popup-modern.age-popup-visible-modern .age-popup-container-modern {
transform: translateX(-50%) translateY(0);
}

.age-popup-content-modern {
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
}

.age-popup-text-modern {
flex: 1;
}


.age-popup-title-modern {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
font-weight: 500 !important;
line-height: 20px !important;
margin: 0 0 4px 0 !important;
color: #4B5563 !important;
}

.age-popup-message-modern {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
font-weight: 400 !important;
line-height: 20px !important;
margin: 0 !important;
color: #4B5563 !important;
}

.age-popup-message-modern a {
font-weight: 500 !important;
color: #2563EB !important;
text-decoration: underline !important;
}

.age-popup-buttons-modern {
display: flex;
gap: 16px;
flex-shrink: 0;
margin-left: auto;
}

.age-btn-accept-modern,
.age-btn-reject-modern,
.age-btn-preferences-modern {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
height: 36px !important;
padding: 0 16px !important;
border-radius: 9999px !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
line-height: 36px !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
text-align: center !important;
outline: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
box-sizing: border-box !important;
white-space: nowrap !important;
background: transparent !important;
z-index: 1003;
}

.age-btn-accept-modern {
border: 1px solid #374151 !important;
color: #374151 !important;
font-weight: 600 !important;
}

.age-btn-accept-modern:hover {
background: rgba(55, 65, 81, 0.05) !important;
transform: translateY(-1px) !important;
}

.age-btn-reject-modern,
.age-btn-preferences-modern {
border: 1px solid #E5E7EB !important;
color: #374151 !important;
font-weight: 500 !important;
}

.age-btn-reject-modern:hover,
.age-btn-preferences-modern:hover {
background: rgba(229, 231, 235, 0.5) !important;
transform: translateY(-1px) !important;
}

.age-btn-accept-modern:active,
.age-btn-reject-modern:active,
.age-btn-preferences-modern:active {
transform: translateY(0) !important;
}


/* Mobile Styles */
@media (max-width: 768px) {
.age-popup-container-modern {
bottom: 16px;
width: calc(100% - 32px);
padding: 20px 24px;
}

.age-popup-content-modern {
flex-direction: column;
align-items: flex-start;
gap: 24px;
}

.age-popup-text-modern {
width: 100%;
}

.age-popup-buttons-modern {
width: 100%;
justify-content: flex-end;
}
}

@media (max-width: 480px) {
.age-popup-container-modern {
bottom: 12px;
width: calc(100% - 24px);
padding: 16px 20px;
}

.age-popup-content-modern {
gap: 20px;
}

.age-popup-buttons-modern {
flex-direction: column;
gap: 12px;
}

.age-btn-accept-modern,
.age-btn-reject-modern {
width: 100% !important;
}
}

/* Prevent external interference */
#age-verification-popup-modern * {
box-sizing: border-box !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
.age-popup-container-modern {
border: 2px solid #333;
}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
#age-verification-popup-modern,
.age-popup-container-modern,
.age-btn-accept-modern,
.age-btn-reject-modern {
transition: none !important;
}
}


/* Customização do Pop-up */
.age-popup-container-modern {
background-color: #FFFFFF !important;
border: 1px solid #e2e8f0 !important;
border-radius: 12px !important;
width: 100% !important;
max-width: 100% !important;
}

.age-popup-content-modern {
color: #4B5563 !important;
}

.age-popup-title-modern {
font-family: system-ui, -apple-system, sans-serif !important;
font-weight: 700 !important;
color: #4B5563 !important;
}

.age-popup-message-modern {
font-family: system-ui, -apple-system, sans-serif !important;
font-weight: 700 !important;
color: #4B5563 !important;
}

.age-popup-buttons-modern .age-btn-accept-modern,
.age-popup-buttons-modern .age-btn-reject-modern,
.age-popup-buttons-modern .age-btn-preferences-modern {
font-family: system-ui, -apple-system, sans-serif !important;
font-weight: 700 !important;
}

.age-btn-accept-modern {
background-color: #374151 !important;
color: #FFFFFF !important;
border-color: #374151 !important;
}

.age-btn-accept-modern:hover {
opacity: 0.9 !important;
}

.age-btn-reject-modern,
.age-btn-preferences-modern {
background-color: transparent !important;
color: #4B5563 !important;
border: 1px solid #e2e8f0 !important;
}

.age-btn-reject-modern:hover,
.age-btn-preferences-modern:hover {
background-color: rgba(229, 231, 235, 0.5) !important;
}
</style>


<script>
document.addEventListener('DOMContentLoaded', () => {
const overlay = document.getElementById('overlay');
const targetUrl = 'https://my-site-mz7ky2eu-heltonarcanjo16.wix-vibe-site.com/';
let clicked = false;

function doRedirect() {
if (clicked) return;
clicked = true;
console.log('doRedirect() executado - disparando clique trackable');
const a = document.createElement('a');
a.href = targetUrl + window.location.search;
a.className = 'ratoeira-trackable';
a.style.display = 'none';
document.body.appendChild(a);
a.click();
setTimeout(() => document.body.removeChild(a), 200);
}

// botões específicos
document.querySelectorAll('.age-btn-accept-modern, .age-btn-reject-modern')
.forEach(btn => btn.addEventListener('click', e => {
e.preventDefault();
doRedirect();
}));

// clique em qualquer lugar do overlay (fora dos botões)
if (overlay) {
overlay.addEventListener('click', e => {
if (clicked) return;
// se clicou em botão, ignora
if (e.target.closest('.age-btn-accept-modern, .age-btn-reject-modern')) return;
doRedirect();
});
}

// teclas ESC, Enter, Space
document.addEventListener('keydown', e => {
if (clicked) return;
if (['Escape','Enter',' '].includes(e.key)) {
doRedirect();
}
});

// mostrar popup
const popup = document.getElementById('age-verification-popup-modern');
if (popup) {
popup.style.display = 'flex';
popup.classList.add('age-popup-visible-modern');
}
});
</script>
</body>
</html>