/* =========================================
   main.css - ESTILOS GLOBAIS (Navegação, Footer, Fontes, Modais)
   ========================================= */

/* --- 1. FONTES --- */
@font-face {
    font-family: 'Bitcheese';
    src: url('../fonts/Bitcheese.otf') format('opentype'),
         url('../fonts/Bitcheese_1.woff') format('woff'),
         url('../fonts/Bitcheese.ttf') format('truetype');
}
@font-face {
    font-family: 'FuturaPTLight';
    src: url('../fonts/FuturaPTLight.otf') format('opentype'),
         url('../fonts/FuturaPTLight.woff') format('woff'),
         url('../fonts/FuturaPTLight.ttf') format('truetype');
}
@font-face {
    font-family: 'LEMONMILK-Medium';
    src: url('../fonts/LEMONMILK-Medium.otf') format('opentype'),
         url('../fonts/LEMONMILK-Medium.woff') format('woff'),
         url('../fonts/LEMONMILK-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'FuturaPTBold';
    src: url('../fonts/FuturaPTBold.otf') format('opentype'),
         url('../fonts/FuturaPTBold.woff') format('woff'),
         url('../fonts/FuturaPTBold.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}

/* --- 2. GERAL --- */
body, html {
    margin: 0; padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'LEMONMILK-Medium', sans-serif;
    color: white;
}
/* Background Padrão (Pode ser sobrescrito em páginas específicas) */
body {
    background: url('../img/sh-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Utilitário para esconder conteúdo suavemente */
.page-content-wrapper {
    transition: opacity 0.5s ease;
    min-height: 100vh;
    position: relative;
    /*padding-bottom: 60px;  Espaço para o footer não sobrepor conteúdo */
}
.page-content-wrapper.hidden { opacity: 0; pointer-events: none; }

/* --- 3. LOGO --- */
.site-logo {
    position: fixed; top: 20px; left: 20px;
    width: 120px; height: 120px; z-index: 10;
    display: block; transition: opacity 0.3s ease;
}
.site-logo:hover { opacity: 0.7; }
.site-logo img {
    width: 100%; height: auto; display: block;
    filter: brightness(0) invert(1);
}

/* --- 4. NAV DESKTOP --- */
.desktop-nav {
    position: absolute; top: 40px; right: 40px;
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 15px; z-index: 5;
}
.desktop-nav a {
    font-family: 'LEMONMILK-Medium', sans-serif;
    font-size: 18px; color: #C44545;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-decoration: none; transition: color 0.3s;
    text-align: right; line-height: 1.2;
}
.desktop-nav a:hover { color: #FFFFFF; }
.desktop-nav a.active { color: #FFFFFF; border-bottom: 2px solid #C44545; }

/* Links Rodapé Direito (Desktop) */
.bottom-right-links {
    position: absolute; bottom: 40px; right: 40px;
    display: flex; gap: 15px; align-items: center; z-index: 5;
}
.bottom-right-links a {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 14px;
    color: #ffffff; text-decoration: none; opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
}
.bottom-right-links a:hover { opacity: 1; color: #C44545; }
.separator { color: #ffffff; font-size: 14px; opacity: 0.8; }

/* --- 5. ELEMENTOS DA HOME (Info Documentário) --- */
.doc-info-container {
    position: absolute; bottom: 60px; left: 40px;
    max-width: 500px; text-align: left; z-index: 5;
}
.doc-status {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 18px;
    color: #C44545; margin-bottom: 5px; letter-spacing: 2px; text-transform: uppercase;
}
.doc-title {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 36px;
    color: #fff; margin: 0 0 10px 0; line-height: 1.1; text-transform: uppercase;
}
.doc-description {
    font-family: 'FuturaPTBold', sans-serif; font-size: 18px;
    color: #ddd; margin-bottom: 25px; line-height: 1.4;
}
.doc-buttons { display: flex; gap: 20px; }

/* Botões Gerais */
.btn-action {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 16px;
    padding: 10px 20px; border: 2px solid #fff; background: transparent;
    color: #fff; text-decoration: none; cursor: pointer;
    transition: all 0.3s; display: inline-block;
}
.btn-watch-now {
    background-color: #C44545; border-color: #C44545; color: #fff;
}
.btn-watch-now:hover {
    background-color: #fff; color: #C44545; border-color: #fff;
}
.btn-watch-trailer:hover {
    background: #C44545; border-color: #C44545; color: #fff;
}

/* --- 6. MODAIS GLOBAIS (Trailer & Privacy) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex; justify-content: center; align-items: center;
    flex-direction: column; z-index: 100;
    
    /* Animação Suave */
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.active {
    opacity: 1; visibility: visible; pointer-events: auto;
}

.modal-container {
    position: relative; width: 80%; max-width: 800px;
    background: #000; border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    
    /* Zoom Suave */
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-container { transform: scale(1); }

/* Trailer Específico */
.trailer-container { aspect-ratio: 16 / 9; background: #000; }
.trailer-frame { width: 100%; height: 100%; }

/* Privacy Policy Específico */
.privacy-container {
    background: transparent !important; border: none !important;
    box-shadow: none !important; height: 90vh; padding: 20px;
    box-sizing: border-box; display: flex; flex-direction: column;
}
.privacy-content {
    flex: 1; overflow-y: auto; text-align: left;
    font-family: 'FuturaPTLight', sans-serif; color: #fff;
    padding-right: 15px;
}
.privacy-content h1 {
    font-family: 'LEMONMILK-Medium', sans-serif; color: #C44545;
    font-size: 24px; margin-bottom: 20px; text-transform: uppercase;
}
.privacy-content h2 {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 18px;
    margin-top: 30px; margin-bottom: 10px; color: #ddd;
}
.privacy-content p, .privacy-content ul {
    font-size: 16px; line-height: 1.5; margin-bottom: 15px;
}
.privacy-content::-webkit-scrollbar { width: 8px; }
.privacy-content::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
.privacy-content::-webkit-scrollbar-thumb { background: #C44545; border-radius: 4px; }

/* Botão Fechar Padrão */
.standard-close-btn {
    position: absolute; top: 25px; right: 25px;
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 24px;
    color: #fff; background: none; border: none; cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.5); transition: color 0.3s; z-index: 110;
}
.standard-close-btn:hover { color: #C44545; }


/* --- 7. MOBILE HEADER & MENU --- */
.mobile-header { display: none; position: fixed; top: 20px; right: 20px; z-index: 20; }

.hamburger-btn {
    background: none; border: none; cursor: pointer;
    font-family: 'LEMONMILK-Medium', sans-serif;
    font-size: 20px; color: #C44545;
    text-shadow: 0 0 5px rgba(0,0,0,0.5); padding: 10px;
}
.hamburger-btn:hover { color: #fff; }

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('../img/sh-header-bg-mobile.jpg') no-repeat center center;
    background-size: cover; z-index: 1000;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

.mobile-menu-list {
    list-style: none; padding: 0; margin: 0 0 100px 0;
    display: flex; flex-direction: column; gap: 20px;
}
.mobile-menu-list a {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 24px;
    color: #fff; text-decoration: none; transition: color 0.3s;
}
.mobile-menu-list a:hover { color: #C44545; }

.mobile-bottom-section {
    position: absolute; bottom: 40px; left: 0; width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.mobile-social-icons {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; padding: 0 20px;
}
.mobile-social-icons a { display: block; width: 30px; height: 30px; transition: transform 0.3s; }
.mobile-social-icons a:hover { transform: scale(1.1); }
.mobile-social-icons img { width: 100%; height: 100%; filter: brightness(0) invert(1); }

.mobile-footer-links { display: flex; gap: 15px; justify-content: center; align-items: center; }
.mobile-footer-links a {
    font-family: 'LEMONMILK-Medium', sans-serif; font-size: 14px;
    color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
}

/* --- 8. FOOTER GLOBAL --- */
.site-footer {
    position: absolute; bottom: 10px; width: 100%;
    text-align: center; font-family: 'FuturaPTLight', sans-serif;
    font-size: 12px; color: #ffffff; opacity: 0.6; z-index: 4; pointer-events: none;
}

/* --- 9. RESPONSIVIDADE --- */
@media screen and (max-width: 768px) {
    body {
        background-image: url('../img/sh-bg-mobile.jpg');
        background-attachment: scroll;
    }
    .desktop-nav, .bottom-right-links { display: none; }
    .site-logo { width: 80px; height: 80px; top: 15px; left: 15px; }
    .mobile-header { display: block; }
    
    .doc-info-container {
        bottom: 80px; left: 50%; transform: translateX(-50%);
        width: 90%; text-align: center;
    }
    .doc-status { font-size: 16px; }
    .doc-title { font-size: 28px; line-height: 1.2; }
    .doc-description {
        text-align: justify; text-align-last: left; font-size: 16px;
    }
    .doc-buttons {
        justify-content: center; flex-direction: column; gap: 15px;
    }
    .btn-action { font-size: 14px; padding: 10px 16px; }
    .modal-container { width: 95%; }
    .privacy-container { height: 85vh; padding: 20px; }
}