.hc-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #000;
    display: flex;
    align-items: center;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

/* LOGO + TEXTO */
.hc-logo{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 15px;
}

.hc-brand{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hc-brand img{
    height: 45px;
}

.hc-brand-text{
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

/* NAV */
.hc-nav{
    list-style: none;
    display: flex;
    margin-left: auto;
    padding-right: 20px;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    align-items: center;
}

/* ITEM */
.hc-item{
    position: relative;
    height: 100%;
}

/* LINK */
.hc-link{
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 14px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

/* ITEM DE IDIOMA */
.hc-lang-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 14px;
}

/* =========================
   SETA SOMNETE COM SUBMENU (DESKTOP)
   ========================= */
.hc-item.has-sub > .hc-link::after{
    content: " ▾";
    font-size: 11px;
    margin-left: 6px;
    opacity: 0.7;
}

.hc-item.has-sub.open > .hc-link::after{
    content: " ▴";
}

/* REMOVE SETA DE ITENS SEM SUBMENU */
.hc-item:not(.has-sub) > .hc-link::after{
    content: none !important;
}

/* =========================
   SUBMENU BASE
   ========================= */
.hc-submenu{
    position: absolute;
    top: 70px;
    left: 0;
    background: #111;
    min-width: 260px;
    max-height: 60vh;
    overflow-y: auto;
    display: none;
    z-index: 100000;
    border-top: 1px solid rgba(255,255,255,0.08);
    list-style: none;
    padding: 0;
    margin: 0;
}

.hc-submenu a{
    display: block;
    padding: 10px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
}

.hc-submenu a:hover{
    background: rgba(255,255,255,0.08);
}

/* =========================
   DESKTOP HOVER CONTROLADO
   ========================= */
@media (min-width: 992px){
    .hc-item{
        padding-bottom: 12px;
    }

    .hc-submenu{
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        pointer-events: none;
        transition: all 0.18s ease;
    }

    .hc-item:hover .hc-submenu{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* =========================
   MOBILE RESPONSIVO E SANFONA
   ========================= */
.hc-toggle{
    display: none;
    margin-left: auto;
    padding-right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 991px){
    .hc-toggle{
        display: block;
    }

    .hc-nav{
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-width: 280px;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 99999;
        padding: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }

    .hc-nav.active{
        display: flex !important;
    }

    .hc-item{
        width: 100%;
        height: auto;
    }

    .hc-link, .hc-lang-link{
        height: auto;
        padding: 16px 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hc-lang-link {
        justify-content: flex-start;
    }

    .hc-submenu{
        position: relative;
        top: 0;
        left: 0;
        display: none;
        width: 100%;
        max-height: none;
        overflow: visible;
        background: #1c1c1c;
        border-top: none;
        transition: none;
    }

    /*
     * O submenu passa a fazer parte da própria rolagem do menu principal.
     * Evita cálculo de altura e rolagem aninhada, que são instáveis no iOS.
     */
    .hc-item.open > .hc-submenu{
        display: block;
    }

    .hc-submenu a {
        padding: 12px 25px;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }

    .hc-submenu a:hover, .hc-submenu a:focus{
        background: #2a2a2a !important;
        border-left-color: #d4af37;
        padding-left: 30px;
    }

    .hc-item.has-sub > .hc-link::after{
        content: " ›" !important;
        font-size: 16px;
        opacity: 0.7;
        margin-left: auto;
    }

    .hc-item.has-sub.open > .hc-link::after{
        content: " ▾" !important;
    }
}

/* ITEM ATIVO */
.hc-active{
    color: #d4af37 !important;
    font-weight: bold;
}

/* FIX ALIGN RIGHT (JS USE) */
.hc-submenu.align-right{
    left: auto;
    right: 0;
}

/* =========================================
   NOVO RODAPÉ FORMATADO (SEM BOOTSTRAP)
   ========================================= */
.hc-footer {
    background-color: #232323; /* Fundo grafite escuro conforme original */
    padding: 20px 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

.hc-footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hc-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Separação uniforme dos itens */
    color: #fff;
    font-size: 14px;
}

.hc-footer-list li {
    display: inline-flex;
    align-items: center;
}

.hc-footer-list a {
    color: #3b90ff; /* Cor azul destacada para o e-mail link */
    text-decoration: none;
    transition: color 0.2s ease;
}

.hc-footer-list a:hover {
    text-decoration: underline;
    color: #70afff;
}

.hc-copyright {
    color: #aaa; /* Texto de copyright ligeiramente mais claro */
    margin-left: 10px;
}

/* Ajuste responsivo para o rodapé em celulares */
@media(max-width: 768px) {
    .hc-footer {
        padding: 25px 0 85px 0; /* Espaço extra embaixo no mobile para o chat do Zoho não cobrir */
    }
    .hc-footer-list {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .hc-copyright {
        margin-left: 0;
        margin-top: 5px;
        display: block;
        width: 100%;
    }
}

/* FIX GLOBAL DO ICONE DO ZOHO CHAT */
#zsiq_float, .zsiq_theme1 {
    bottom: 20px !important; /* Move dinamicamente o chat para cima se necessário */
}