/* ============================================================
    IDENTIDADE VISUAL CENTRALIZADA - A CIFRA DE KARNAK
   ============================================================ */

:root {
    --preto: #050505;
    --esmeralda-noturno: #00251a;
    --esmeralda: #004d40;
    --dourado-metal: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --dourado-solid: #bf953f;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    scroll-behavior: smooth; 
}

body {
    background: radial-gradient(circle at center, var(--esmeralda-noturno) 0%, var(--preto) 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: 'Raleway', sans-serif;
    line-height: 1.8;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: hidden;
    position: relative;
}

/* Marca de água de Hieróglifos */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/egyptian-hieroglyphs.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

input, button, textarea, [contenteditable="true"] {
    user-select: text !important;
    -webkit-user-select: text !important;
}

/* ============================================================
    HEADER GLOBAL
   ============================================================ */
header {
    position: fixed;
    top: 0; 
    width: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 10px 5%; 
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(191, 149, 63, 0.4);
    backdrop-filter: blur(10px);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 15px; }
.logo-img { height: 50px; width: 50px; border-radius: 50%; border: 2px solid var(--dourado-solid); object-fit: cover; }
.brand-name { font-family: 'Cinzel', serif; background: var(--dourado-metal); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }

.cta-link {
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dourado-solid);
    text-transform: uppercase;
    border: 1px solid rgba(191, 149, 63, 0.5);
    padding: 8px 15px;
    border-radius: 3px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.cta-link:hover { background: var(--dourado-metal); color: #000; border-color: transparent; box-shadow: 0 0 15px rgba(191, 149, 63, 0.3); }

/* ============================================================
    VITRINE DE LUXO - DIMENSÃO DA ESSÊNCIA
   ============================================================ */

.master-package-container {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--dourado-solid);
    padding: 50px;
    margin: 50px 0;
    border-radius: 2px;
}

.package-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--esmeralda); padding-bottom: 20px; }

.savings-badge { 
    background: var(--dourado-metal); 
    color: #000; 
    padding: 5px 20px; 
    font-weight: bold; 
    font-family: 'Cinzel';
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 15px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* A Joia Metálica */
.item-box {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid transparent;
    border-image: var(--dourado-metal) 1;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-box:hover { background: rgba(0, 77, 64, 0.1); transform: translateY(-3px); }

.item-box h4 { font-family: 'Cinzel', serif; color: var(--dourado-solid); margin-bottom: 12px; letter-spacing: 1px; }

.item-price { display: block; font-weight: bold; font-size: 1.4rem; margin-bottom: 15px; color: #fff; }

.btn-unlock-metallic {
    background: var(--dourado-metal);
    color: #000;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 12px;
    display: block;
    transition: 0.3s;
}

.bundle-footer { text-align: center; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--esmeralda); }

.price-comparison { margin-bottom: 25px; }
.old-price { text-decoration: line-through; color: #666; font-size: 1.4rem; margin-right: 20px; }
.new-price { color: var(--dourado-solid); font-size: 3rem; font-weight: bold; font-family: 'Cinzel'; text-shadow: 0 0 15px rgba(191, 149, 63, 0.3); }

.btn-master-metallic-large {
    background: var(--dourado-metal);
    color: #000;
    padding: 22px 45px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.3);
    transition: 0.4s;
}

/* Divisor Dourado com Símbolo */
.gold-divider {
    height: 1px;
    background: var(--dourado-metal);
    margin: 30px auto;
    width: 200px;
    position: relative;
}
.gold-divider::after {
    content: "◈";
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    color: var(--dourado-solid);
    background: var(--preto);
    padding: 0 10px;
}

/* ============================================================
    FOOTER GLOBAL
   ============================================================ */
footer { background: #000; padding: 50px 20px; border-top: 1px solid var(--esmeralda); text-align: center; }
.social-container { margin-bottom: 30px; }
.social-menu { list-style: none; display: flex; justify-content: center; gap: 25px; }
.social-menu li a { text-decoration: none; color: #fff; font-size: 1.5rem; transition: 0.3s; display: inline-block; }
.social-menu li a:hover { color: var(--dourado-solid); transform: translateY(-5px); }

.footer-links { margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.75rem; cursor: pointer; transition: 0.3s; }
.footer-links a:hover { color: var(--dourado-solid); }
.copy-text { color: #444; font-size: 0.7rem; margin-top: 15px; }

/* ============================================================
    MODAL LEGAL
   ============================================================ */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); overflow-y: auto; }
.modal-content { background-color: #111; margin: 10% auto; padding: 25px; border: 1px solid var(--dourado-solid); width: 90%; max-width: 800px; color: #ccc; border-radius: 10px; position: relative; }
.close-modal { color: var(--dourado-solid); float: right; cursor: pointer; font-size: 30px; line-height: 1; }

/* ============================================================
    BANNER DE COOKIES
   ============================================================ */
#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10, 21, 16, 0.98); border-top: 1px solid var(--dourado-solid); padding: 15px 5%; display: none; justify-content: space-between; align-items: center; z-index: 3000; backdrop-filter: blur(15px); }
.cookie-text { font-size: 0.75rem; color: #ccc; max-width: 65%; }
.btn-accept { background: var(--dourado-metal); color: #000; border: none; padding: 8px 15px; font-family: 'Cinzel'; font-weight: 700; cursor: pointer; border-radius: 3px; }

/* ============================================================
    BOTÕES E INPUTS
   ============================================================ */
.btn-reveal, .btn-hero, .btn-cta, .btn-dourado { 
    background: var(--dourado-metal); color: #000; border: none; padding: 18px; font-family: 'Cinzel', serif; font-weight: 700; cursor: pointer; text-transform: uppercase; border-radius: 5px; transition: 0.3s; width: 100%; text-align: center; text-decoration: none; display: inline-block;
}
.btn-reveal:hover, .btn-hero:hover, .btn-cta:hover, .btn-dourado:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(191, 149, 63, 0.4); }

input[type="date"], input[type="text"] { width: 100%; padding: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--esmeralda); color: #fff; border-radius: 5px; outline: none; }

/* --- ESTILOS GERAIS --- */
.print-user-data { display: none; }
.pdf-header { display: none; }

/* ============================================================
    🖨️ AJUSTES GLOBAIS PARA PDF (REGRAS DE IMPRESSÃO)
   ============================================================ */
@media print {
    @page { margin: 1.5cm; size: auto; }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .revelacao-container, .container { 
        padding-top: 0 !important; 
        margin-top: 0 !important; 
        max-width: 100% !important; 
    }

    header, footer, #header-shared, #footer-shared, .btn-cta, .voltar-link, .pack-alma, 
    #cookie-banner, #loading, #loading-oraculo, #erroContainer, .copy-text,
    h2:not(.resultados-section h2), .master-package-container {
        display: none !important;
    }

    .pdf-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #bf953f;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .pdf-logo-box { display: flex; align-items: center; gap: 15px; }
    .pdf-logo { height: 60px; width: 60px; border-radius: 50%; border: 1px solid #bf953f; }
    .pdf-socials { text-align: right; color: #bf953f; font-size: 0.8rem; display: flex; flex-direction: column; }

    .resultados-section, .pilar-section, .portal-section {
        display: block !important;
        background: white !important;
        border: 8px solid transparent !important;
        border-image: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728) 30 !important;
        padding: 25px !important;
        margin: 0 !important;
        page-break-inside: auto;
    }

    .item-numero, .missao-numero {
        font-size: 3.5rem !important;
        color: #bf953f !important;
        text-align: center;
        margin: 5px 0 !important;
    }

    .missao-interpretacao, .pilar-texto {
        font-size: 11pt !important;
        line-height: 1.5 !important;
        text-align: justify !important;
        color: #000 !important;
    }
    .missao-interpretacao br { content: ""; display: block; margin-bottom: 6px; }

    .print-user-data { display: block !important; margin-bottom: 20px; border-left: 4px solid #bf953f; padding-left: 15px; }
    h2, h3 { page-break-after: avoid; }
}
