/* =============================================
   NEGÓCIOS CONECTADOS — UI v2
   CSS residual: apenas o que Tailwind não cobre
   ============================================= */

html {
    scroll-behavior: smooth;
}

/* === RESET / BASE === */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* === MOBILE MENU (estado active via JS) === */

/* Menu hambúrguer: linhas animadas ao abrir */
#nc-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#nc-hamburger.active span:nth-child(2) {
    opacity: 0;
}

#nc-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu mobile: oculto por padrão, visível com .active */
.nc-mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nc-mobile-menu.active {
    display: block;
    animation: ncSlideDown 0.25s ease;
}

/* === KEYFRAME ANIMATIONS === */

@keyframes ncSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === HOVER: seta carousel D3 (SVG fill via group-hover não funciona com stroke inline) === */
#nc-d3-prev:hover svg path,
#nc-d3-next:hover svg path {
    stroke: #fff;
}

/* === D1: mobile — sem imagem de fundo === */
@media (max-width: 992px) {
    .nc-d1 {
        background-image: none !important;
        background-color: #ffffff;
        min-height: unset !important;
    }
}

/* === D2: mobile — imagem no topo + texto escuro em fundo branco === */
@media (max-width: 992px) {
    .nc-d2 {
        background-image: none !important;
        background-color: transparent;
        padding: 0 !important;
        height: auto !important;
        min-height: unset !important;
    }
}

/* === COMPRAR-HERO: mobile — imagem no topo + fundo branco === */
@media (max-width: 992px) {
    .nc-comprar-hero {
        background-image: none !important;
        background-color: #ffffff;
        min-height: unset !important;
    }
}

/* === AVALIE-HERO: mobile — imagem no topo + fundo branco === */
@media (max-width: 992px) {
    .nc-avalie-hero {
        background-image: none !important;
        background-color: #ffffff;
        min-height: unset !important;
    }
}
