/* ===================================
   CORREÇÃO BACKGROUND - Znote AAC
   Arquivo: custom-background-fix.css
   VERSÃO CORRIGIDA
   =================================== */

/* CORREÇÃO PRINCIPAL - Background fixo que não corta ao rolar */
body {
    /* IMPORTANTE: O caminho relativo está correto agora */
    background-image: url(../images/global/header/background-artwork-novo.webp) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
}

/* Garante que HTML e BODY ocupem toda a altura */
html {
    min-height: 100%;
    height: auto;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* Containers principais com fundo transparente */
.main-site-container,
.main-content,
.Content {
    background: transparent !important;
}

/* OTIMIZAÇÃO PARA MOBILE */
@media only screen and (max-width: 768px) {
    body {
        /* Em mobile, scroll é melhor que fixed para performance */
        background-attachment: scroll !important;
    }
}

/* OTIMIZAÇÃO PARA TABLETS */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        background-attachment: scroll !important;
    }
}