/* Conecta Arte — uma única fotografia com transição suave para o branco.
   A imagem é renderizada em uma camada exclusiva, atrás do conteúdo. */
body.conecta-home section.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #ffffff !important;
}

body.conecta-home section.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: none;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(180deg,
            rgba(244, 250, 246, .80) 0%,
            rgba(248, 252, 249, .84) 46%,
            rgba(255, 255, 255, .90) 66%,
            rgba(255, 255, 255, .97) 81%,
            #ffffff 94%,
            #ffffff 100%),
        url('/assets/conecta-arte-fundo-artesanato.webp');
    background-position: center center, center 46%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
}

/* O conteúdo permanece sobre a foto, sem sofrer transparência. */
body.conecta-home section.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Harmoniza a entrada da seção seguinte com o branco do fim da imagem. */
body.conecta-home section.features {
    background: linear-gradient(180deg, #ffffff 0%, #f4faf6 28%, #ffffff 100%) !important;
}

@media (max-width: 640px) {
    body.conecta-home section.hero::after {
        background-image:
            linear-gradient(180deg,
                rgba(244, 250, 246, .85) 0%,
                rgba(248, 252, 249, .89) 45%,
                rgba(255, 255, 255, .94) 64%,
                rgba(255, 255, 255, .985) 80%,
                #ffffff 92%,
                #ffffff 100%),
            url('/assets/conecta-arte-fundo-artesanato.webp');
        background-position: center center, 60% center;
    }
}
