.navbar-widget {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 92px;
    padding: 8px 32px;
    overflow: visible;
    z-index: 3010;
    background-color: #FEF8E8;
    position: sticky;
    top: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.navbar-widget * {
    XXXborder: 1px solid red;
}

.navbar-widget.--hidden {
    transform: translateY(-100%);
}

.navbar-widget__area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 16px;
    overflow: visible;
}

.navbar-widget-logo {
    display: flex;
    flex-shrink: 0 !important;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
}

.navbar-widget-logo__wrapper {
    display: flex;
    flex-shrink: 0 !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
    overflow: hidden;
}

.navbar-widget-logo__content {
    display: block;
    height: 100%;
    width: auto;
    object-fit: contain;
    user-select: none;
}

.navbar-widget-identy {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 32px;
    padding: 0px 0px;
    flex: 0 0 auto;
}

.navbar-widget-identy__box {
    display: flex;
    align-items: center;
    justify-content: start;
    height: auto;
    width: auto;
    gap: 1px;
    text-decoration: none;
    transition: transform 0.2s ease;
    opacity: 0.90;
}

.navbar-widget-identy__box:hover {
    /* transform: scale(1.03);  */
    /* filter: brightness(0.9) */
    opacity: 1.0;
}

.navbar-widget-identy__box.active img {
    filter: brightness(0) invert(1);
    /* Deixa o ícone branco */
}

.navbar-widget-identy__box.active .navbar-widget-identy__topic {
    color: #F44A22;
    font-weight: 600;
}

.navbar-widget-identy__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    overflow: hidden;
    /* transition: transform 0.6s ease; */
}

.navbar-widget-identy__wrapper:hover {
    /* transform: scale(1.1); 
    filter: brightness(0.9) */
}

.navbar-widget-identy__content {
    height: 100%;
    width: 100%;
    object-fit: cover;
    user-select: none;
}

.navbar-widget-identy__topic {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 26px;
    padding: 0px 4px;
    overflow: hidden;
    text-align: left;
    /* font-family: 'Press Start 2P', sans-serif; */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #161616;
}

/* --- Hamburger Menu Button --- */
.navbar-widget__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    /* Enable z-index stacking context */
    z-index: 3030;
    transform: translate3d(0, 0, 0);
    /* Force hardware accelerated composite layer to prevent repainting glitches on mobile WebKit/Blink */
}

.navbar-widget__hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: #161616;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-widget__hamburger.open span:nth-child(1) {
    transform: translateY(6.25px) rotate(45deg);
}

.navbar-widget__hamburger.open span:nth-child(2) {
    opacity: 0;
}

.navbar-widget__hamburger.open span:nth-child(3) {
    transform: translateY(-6.25px) rotate(-45deg);
}

/* --- Dropdown Variation --- */
.navbar-widget-identy__box--dropdown {
    position: relative;
    cursor: pointer;
}

.navbar-widget-identy__arrow {
    margin-left: 6px;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-widget-identy__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #FEF8E8;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3020;
    display: flex;
    flex-direction: column;
}

/* Desktop Hover Interaction */
@media (hover: hover) {
    .navbar-widget-identy__box--dropdown:hover .navbar-widget-identy__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .navbar-widget-identy__box--dropdown:hover .navbar-widget-identy__arrow {
        transform: rotate(180deg);
    }
}

/* Open/Active state (primarily for mobile click or fallback) */
.navbar-widget-identy__box--dropdown.open .navbar-widget-identy__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-widget-identy__box--dropdown.open .navbar-widget-identy__arrow {
    transform: rotate(180deg);
}

.navbar-widget-identy__dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #161616;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    opacity: 0.90;
}

.navbar-widget-identy__dropdown-item:hover {
    opacity: 1.0;
}

.navbar-widget-identy__dropdown-item.active {
    color: #F44A22;
    font-weight: 600;
    opacity: 1.0;
}

/* --- Reusable CTA Button --- */
.navbar-widget-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    background-color: #F44A22;
    color: #FEF8E8;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(244, 74, 34, 0.2);
    box-sizing: border-box;
}

.navbar-widget-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #F44A22;
    color: #FEF8E8;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(244, 74, 34, 0.2);
    box-sizing: border-box;
    flex-shrink: 0;
}

.navbar-widget-btn-whatsapp:hover {
    opacity: 1.0;
    XXXbox-shadow: 0 4px 8px rgba(244, 74, 34, 0.3);
}

.navbar-widget-btn-whatsapp:active {
    transform: scale(0.98);
}

.navbar-widget-btn:hover {
    opacity: 1.0;
    XXXbox-shadow: 0 4px 8px rgba(244, 74, 34, 0.3);
}

.navbar-widget-btn:active {
    transform: translateY(0);
}

/* Secondary/Outline Button Style */
.navbar-widget-btn--outline {
    background-color: transparent;
    border: 2px solid #F44A22;
    color: #F44A22;
    box-shadow: none;
}

.navbar-widget-btn--outline:hover {
    color: #F44A22;
}

.navbar-widget-actions--mobile {
    display: none;
}

.navbar-widget-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: auto;
    gap: 6px;
}

@media (max-width: 1100px) {
    .navbar-widget-btn {
        display: none;
    }

    .navbar-widget-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        max-width: 60px;
        flex: 1 0 0%;
        gap: 6px;
    }
}

@media (max-width: 928px) {
    .navbar-widget-btn {
        display: none;
    }
}

@media (max-width: 832px) {

    /* Prevent scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
    }

    .navbar-widget {
        position: sticky;
        top: 0;
        z-index: 3010;
        height: 64px;
        padding: 10px;
        overflow: visible;
    }

    .navbar-widget__area {
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        gap: 0px;
        overflow: visible;
    }

    .navbar-widget-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        width: auto;
        flex: none;
    }

    .navbar-widget__hamburger {
        display: flex;
    }

    .navbar-widget__hamburger.open {
        position: fixed;
        right: 10px;
        top: 25px;
        z-index: 3030;
    }

    .navbar-widget-identy {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #FEF8E8;
        padding: 80px 24px 32px 24px;
        gap: 20px;
        align-items: flex-start;
        justify-content: flex-start;
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

    .navbar-widget-identy.open {
        transform: translateY(0);
    }

    /* Mobile Dropdown Styling */
    .navbar-widget-identy__box--dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-widget-identy__box--dropdown .navbar-widget-identy__topic {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-widget-identy__dropdown {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0 0 0 16px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
    }

    .navbar-widget-identy__box--dropdown.open .navbar-widget-identy__dropdown {
        max-height: 200px;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .navbar-widget-identy__dropdown-item {
        padding: 8px 0;
        width: 100%;
    }

    /* Mobile CTA overrides */
    .navbar-widget-actions {
        display: none;
    }

    .navbar-widget-actions--mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 0px;
        box-sizing: border-box;
    }

    .navbar-widget-actions--mobile .navbar-widget-btn {
        display: inline-flex;
    }
}