/* Global tuning without changing the existing visual identity */

html {
    scroll-behavior: smooth;
}

:root {
    --edge-gap: 12px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Center logos standard size */
.logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 10px auto 18px !important;
}

.logo-container .responsive-logo,
img.responsive-logo {
    width: clamp(120px, 16vw, 190px) !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Navbar width tuning: almost edge-to-edge with small side gap */
.menu .container,
.menu .container-fluid {
    max-width: none !important;
    width: calc(100% - (var(--edge-gap) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar .nav-link.nav-current {
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Assistant (Rainha) */
#assistant {
    width: 84px !important;
    height: 84px !important;
    left: 14px !important;
    bottom: 18px !important;
    top: auto !important;
    border-radius: 50% !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Message balloons */
#message-box {
    left: 14px !important;
    top: auto !important;
    bottom: 104px !important;
    width: min(156px, 43vw) !important;
    padding: 7px 9px !important;
    font-size: 10.2px !important;
    line-height: 1.18 !important;
    border-radius: 10px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

#message {
    right: 14px !important;
    bottom: 94px !important;
    width: min(190px, 52vw) !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    border-radius: 10px !important;
}

#message:after {
    right: 24px !important;
}

/* Radio DJ button */
#playButtonDancer {
    position: fixed !important;
    right: 14px !important;
    bottom: 14px !important;
    width: 62px !important;
    height: 50px !important;
    border-radius: 10px !important;
    z-index: 2147483000 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#playContainer {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147482999 !important;
}

#message {
    z-index: 2147483001 !important;
}

#assistant {
    z-index: 2147482998 !important;
}

/* Floating chat */
#chat-container {
    width: min(620px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 24px) !important;
    top: 12px !important;
}

@media (max-width: 768px) {
    :root {
        --edge-gap: 8px;
    }

    .logo-container {
        margin: 8px auto 14px !important;
    }

    .logo-container .responsive-logo,
    img.responsive-logo {
        width: clamp(102px, 30vw, 150px) !important;
    }

    #assistant {
        width: 72px !important;
        height: 72px !important;
        left: 10px !important;
        bottom: 10px !important;
        border-radius: 50% !important;
    }

    #message-box {
        left: 10px !important;
        bottom: 84px !important;
        width: min(146px, 56vw) !important;
        font-size: 9.4px !important;
        line-height: 1.15 !important;
        padding: 7px 8px !important;
    }

    #playButtonDancer {
        right: 10px !important;
        bottom: 10px !important;
        width: 54px !important;
        height: 44px !important;
    }

    #message {
        right: 10px !important;
        bottom: 74px !important;
        width: min(158px, 58vw) !important;
        font-size: 10px !important;
    }
}

/* Footer cleanup: reduce excessive white gap and keep social/copyright aligned */
body > div[style*="border-top: 1px solid #23d4d4"],
footer > div[style*="border-top: 1px solid #23d4d4"] {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 14px !important;
    clear: both !important;
}

body > div[style*="border-top: 1px solid #23d4d4"] .social-list,
footer > div[style*="border-top: 1px solid #23d4d4"] .social-list {
    margin: 0 !important;
    padding: 0 10px !important;
    row-gap: 12px !important;
    flex-wrap: wrap !important;
}

body > p[style*="font-family: 'Satisfy', cursive"],
footer > p[style*="font-family: 'Satisfy', cursive"] {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

#sfcfzb26bn9qlmyrys56y98a9den79j6c27 {
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 18px !important;
    width: max-content;
    display: inline-block;
    zoom: 0.9;
    position: static !important;
}

.site-counter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 0 0;
    min-height: 22px;
    overflow: visible;
    position: static !important;
}

#sfcfzb26bn9qlmyrys56y98a9den79j6c27 a,
#sfcfzb26bn9qlmyrys56y98a9den79j6c27 img {
    position: static !important;
    max-width: 100% !important;
}

.site-footer-social {
    background: #2a2a4a;
    border-top: 1px solid #23d4d4;
    margin-top: 14px !important;
    padding: 14px 0 !important;
}

.site-footer-social .social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 10px;
}

.site-footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935 !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0 !important;
}

.social-list .social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #e53935 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-footer-social .social-icon:hover {
    background: #c62828 !important;
}

.social-list .social-icon:hover {
    background: #c62828 !important;
}

.social-list .social-icon img {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-footer-social .social-icon img {
    width: 30px;
    height: 30px;
}

.site-footer-copy {
    text-align: center;
    margin: 8px 0 0 0 !important;
    padding: 12px 10px !important;
    color: #23d4d4;
    border-top: 1px solid #23d4d4;
    font-family: "Satisfy", cursive;
}

/* Gallery polish */
.row.mbr-gallery .item.gallery-image .item-wrapper img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.row.mbr-gallery .item.gallery-image:hover .item-wrapper img {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.row.mbr-gallery .item.gallery-image.gallery-hidden {
    display: none !important;
}

.gallery-more-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0 6px;
}

@media (max-width: 768px) {
    .row.mbr-gallery.gallery-mobile-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .row.mbr-gallery.gallery-mobile-scroll > .item.gallery-image {
        flex: 0 0 78vw !important;
        max-width: 78vw !important;
        scroll-snap-align: start;
    }

}
