/* ==========================================================
   DAUX — MENU SUPERIOR 4.5
   Arquivo completo: substitui assets/css/daux-menu.css.
   Inclui correção das bolinhas e submenu de regulamentos largo.
   ========================================================== */

.header-bottom {
    position: relative;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #e6e1dc;
    box-shadow: 0 3px 12px #00000008;
    z-index: 30;
}

.header-bottom .mainmenu {
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.header-bottom .mainmenu > li > a,
.header-bottom .mainmenu > li > button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #393332;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.25px;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.header-bottom .mainmenu > li > a:hover,
.header-bottom .mainmenu > li > button:hover,
.header-bottom .mainmenu > li.is-open > button {
    background: #fff0e2;
    color: #8a3900;
    box-shadow: inset 0 -3px 0 #ff7900;
}

.header-bottom .mainmenu > li > a:focus-visible,
.header-bottom .mainmenu > li > button:focus-visible {
    outline: 3px solid #984100;
    outline-offset: 2px;
    background: #fff0e2;
    color: #783100;
}

.header-bottom .mainmenu ul {
    top: 100%;
    min-width: 290px;
    max-width: min(430px, calc(100vw - 32px));
    max-height: min(65vh, 540px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e8ddd3;
    border-top: 3px solid #ff7900;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 12px 28px #00000024;
    z-index: 40;
}

.header-bottom .mainmenu ul a {
    display: block;
    padding: 12px;
    border-radius: 5px;
    color: #393332;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.header-bottom .mainmenu ul a:hover,
.header-bottom .mainmenu ul a:focus-visible {
    background: #fff0e2;
    color: #8a3900;
}

.header-bottom .mainmenu #daux-regulations-list {
    width: min(600px, calc(100vw - 40px));
    min-width: 0;
    max-width: none;
}

.daux-menu-status {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: #555;
}

#myLinks .daux-mobile-regulations {
    margin: 4px 0 8px;
    padding: 8px 12px;
    border-left: 3px solid #ff7900;
    background: #fff8f1;
}

#myLinks .daux-mobile-regulations a {
    font-size: 15px;
    line-height: 1.5;
}

#myLinks .daux-mobile-regulations summary {
    padding: 7px 0;
    color: #783100;
    font-weight: 700;
    cursor: pointer;
}

/* Oculta o atalho, mas o JavaScript ainda consulta a central. */
#daux-regulations-list li:has(> a[href$="/regulamentos.html"]),
#myLinks .daux-mobile-regulations a[href$="/regulamentos.html"] {
    display: none;
}

/* ==========================================================
   CORREÇÃO DOS CONTROLES DO CARROSSEL
   ========================================================== */

.slider-area {
    position: relative;
}

.slider-area > .daux-slider-dots {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 8px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: auto;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    z-index: 5;
}

.slider-area .daux-slider-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.slider-area .daux-slider-dot::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #30221d80;
    box-shadow: 0 1px 4px #0005;
}

.slider-area .daux-slider-dot[aria-current="true"]::before {
    background: #fff;
}

.slider-area .daux-slider-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.slider-area .daux-slider-dot > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .header-bottom .mainmenu {
        gap: 3px;
    }

    .header-bottom .mainmenu > li > a,
    .header-bottom .mainmenu > li > button {
        padding: 12px 8px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-bottom .mainmenu a,
    .header-bottom .mainmenu button {
        transition: none;
    }
}
