/* Custom Menu Styles - 2026 */

/* ===== PROGRAMACAO - remove negative margin from original template ===== */
#programacao.schedule-section {
    margin-top: 0 !important;
}

/* ===== BUTTONS - Red with white font ===== */
.thm-btn,
a.thm-btn,
button.thm-btn {
    background-color: #D32F2F !important;
    color: #fff !important;
    border-color: #D32F2F !important;
}

.thm-btn:hover,
a.thm-btn:hover,
button.thm-btn:hover {
    background-color: #B71C1C !important;
    color: #fff !important;
}

.xb-ticket-btn,
a.xb-ticket-btn {
    background-color: #D32F2F !important;
    color: #fff !important;
    border-color: #D32F2F !important;
}

.xb-ticket-btn:hover,
a.xb-ticket-btn:hover {
    background-color: #B71C1C !important;
    color: #fff !important;
}
/* ===== END BUTTONS ===== */

/* ===== INSCRICAO SECTION (Categorias) ===== */
#inscricao {
    background: linear-gradient(181deg, #7a0f0f 0%, #d32f2f 100%);
}

#inscricao .sec-title .title {
    color: #fff;
}
/* ===== END INSCRICAO SECTION ===== */

/* ===== REALIZACAO LOGOS ===== */
.realizacao-logos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.realizacao-logos img {
    max-height: 140px;
    width: auto;
    height: auto;
}

.realizacao-logos img[src*="sbcpe.png"] {
    max-height: 190px;
}

.brand[data-bg-color="#f2f2f2"] {
    background: #fff !important;
}
/* ===== END REALIZACAO LOGOS ===== */

/* ===== MENSAGEM PRESIDENTE ===== */
.presidente-msg {
    padding: 90px 0;
    background: #fff;
}

.presidente-msg__photo {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.presidente-msg__photo img {
    width: 100%;
    max-height: 380px;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

.presidente-msg__text p {
    margin-bottom: 16px;
    color: #414047;
}

.presidente-msg__ass {
    margin-top: 24px;
    color: #131053;
}
.presidente-msg--alt {
    background: #f7f9fc;
}
/* ===== END MENSAGEM PRESIDENTE ===== */

/* ===== COMISSAO CIENTIFICA ===== */
.committee-section {
    background: linear-gradient(181deg, #7a0f0f 0%, #d32f2f 100%);
}

.committee-section .sec-title .title {
    color: #fff;
}

.committee-section .committee-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
/* ===== END COMISSAO CIENTIFICA ===== */

/* Reduzir espaço do header */
.header-style .header__wrap {
    padding: 8px 20px !important;
}

.header-style .xb-header-logo img {
    max-height: 70px;
}

/* Ajustar menu principal para não quebrar */
.header-style .main-menu ul.xb-menu-primary {
    gap: 8px !important;
    flex-wrap: nowrap !important;
    justify-content: center;
}

.header-style .main-menu ul.xb-menu-primary > li {
    position: relative;
    flex-shrink: 1;
}

.header-style .main-menu ul.xb-menu-primary > li > a {
    padding: 12px 10px !important;
    white-space: nowrap;
    display: inline-block;
    font-size: 11px !important;
    text-transform: uppercase;
    font-weight: 700;
}

/* Submenu styles - OCULTO por padrão */
.header-style .main-menu ul li.menu-item-has-children .submenu {
    min-width: 250px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Submenu aparece no HOVER */
.header-style .main-menu ul li.menu-item-has-children:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* Submenu items */
.header-style .main-menu ul li.menu-item-has-children .submenu li {
    padding: 0 4px;
    margin-right: 0;
    margin-bottom: 8px;
}

.header-style .main-menu ul li.menu-item-has-children .submenu li:last-child {
    margin-bottom: 0;
}

.header-style .main-menu ul li.menu-item-has-children .submenu li a {
    padding: 6px 14px;
    display: block;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    color: var(--color-heading);
}

.header-style .main-menu ul li.menu-item-has-children .submenu li a:hover {
    color: #1976D2;
    background: #f2f2f2;
    padding-left: 20px;
}

/* Ocultar xb-menu-toggle no menu desktop (é apenas para mobile) */
.header-style .main-menu .xb-menu-toggle {
    display: none !important;
}

/* Remover ícone de seta do span::after no desktop */
.header-style .main-menu ul.xb-menu-primary > li.menu-item-has-children > a span::after {
    content: none !important;
    display: none !important;
}

/* Responsivo - Notebooks/Laptops (1300px - 1600px) */
@media (min-width: 1200px) and (max-width: 1600px) {
    .header-style .main-menu ul.xb-menu-primary > li > a {
        padding: 20px 6px !important;
        font-size: 12px !important;
    }
}

/* Responsivo - Desktops grandes (> 1600px) */
@media (min-width: 1600px) {
    .header-style .main-menu ul.xb-menu-primary > li > a {
        padding: 20px 8px !important;
        font-size: 11px !important;
    }
}

/* Responsivo - Tablet */
@media (max-width: 1199px) {
    .header-style .main-menu ul.xb-menu-primary > li > a {
        padding: 20px 5px !important;
        font-size: 9px !important;
    }
}

/* ===== TICKET CARDS - Mesma altura ===== */
#inscricao .xb-pricing-wrap .row {
    align-items: stretch;
}

#inscricao .xb-pricing-wrap [class*="col-"] {
    display: flex;
}

#inscricao .xb-ticket-item {
    display: flex !important;
    flex-direction: column;
    width: 100%;
}

#inscricao .xb-ticket-item .xb-item--holder {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#inscricao .xb-ticket-item .xb-item--title {
    font-size: 12px !important;
    line-height: 1.4;
}
/* ===== END TICKET CARDS - Mesma altura ===== */

/* ===== INTERVALOS DE PREÇO - Melhorado ===== */
.xb-ticket-item .xb-item--list {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 10px !important;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
}

.xb-ticket-item .xb-item--list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    gap: 8px !important;
    background: #fff;
    border-bottom: 1px solid #ececec;
    margin-bottom: 0 !important;
    color: #414047 !important;
    transition: background 0.2s;
}

.xb-ticket-item .xb-item--list li:nth-child(odd) {
    background: #fafafa;
}

.xb-ticket-item .xb-item--list li.price-active {
    background: #fff5f5;
    border-left: 4px solid #D32F2F;
    font-weight: 600 !important;
    color: #222 !important;
}

.xb-ticket-item .xb-item--list li:last-child {
    border-bottom: none;
}

.xb-ticket-item .xb-item--list li strong {
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}
/* ===== END INTERVALOS DE PREÇO ===== */

/* Responsivo - Mobile */
@media (max-width: 991px) {
    .header-style .main-menu ul.xb-menu-primary {
        gap: 5px;
        display: block;
    }

    .header-style .main-menu ul.xb-menu-primary > li {
        display: block;
    }

    .header-style .main-menu ul.xb-menu-primary > li > a {
        padding: 12px 10px !important;
        font-size: 11px !important;
    }

    .xb-header-nav .xb-menu-primary li.menu-item-has-children .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 10px;
        padding: 0;
        transform: translateY(0);
    }

    .xb-header-nav .xb-menu-primary li.menu-item-has-children.active .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }

    .xb-header-nav .xb-menu-primary li.menu-item-has-children .submenu li a {
        color: var(--color-heading);
        padding-left: 18px;
    }
}




