/* 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: #001F3F;
}

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

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

#realizacao .xb-brand-wrap {
    display: grid;
    gap: 52px;
    padding-top: 110px;
    padding-bottom: 110px;
}

#realizacao .brand-group {
    display: grid;
    gap: 24px;
}

#realizacao .brand-group .sec-title {
    margin-bottom: 0 !important;
}

#realizacao .realizacao-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px 56px;
}

#realizacao .realizacao-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#realizacao .realizacao-logos img {
    max-height: 130px;
    max-width: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

@media (max-width: 991px) {
    #realizacao .xb-brand-wrap {
        gap: 40px;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    #realizacao .realizacao-logos {
        gap: 24px 32px;
    }

    #realizacao .realizacao-logos img {
        max-height: 110px;
        max-width: 260px;
    }

    #realizacao .realizacao-logos img[src*="sbcpe.png"] {
        max-height: 145px;
    }
}
/* ===== 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: #001F3F;
}

.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;
}

/* Presidente - Destaque sutil maior */
.xb-team-presidente .xb-item--avatar {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.xb-team-presidente .xb-item--name {
    font-size: 18px !important;
    margin-top: 20px;
}

.xb-team-presidente .xb-item--name a {
    font-size: 18px !important;
}

.xb-team-presidente .xb-item--desig {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 8px;
}

/* Coordenadores - Tamanho médio */
.xb-team-coordenador .xb-item--avatar {
    border-radius: 6px;
    overflow: hidden;
}

.xb-team-coordenador .xb-item--name {
    font-size: 16px !important;
    margin-top: 16px;
}

.xb-team-coordenador .xb-item--name a {
    font-size: 16px !important;
}

.xb-team-coordenador .xb-item--desig {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-top: 6px;
}

/* Membros - Sutilmente menores */
.xb-team-small .xb-item--avatar {
    border-radius: 6px;
    overflow: hidden;
}

.xb-team-small .xb-item--name {
    font-size: 14px !important;
    margin-top: 12px;
}

.xb-team-small .xb-item--name a {
    font-size: 14px !important;
}

@media (max-width: 991px) {
    .xb-team-presidente .xb-item--name,
    .xb-team-coordenador .xb-item--name {
        font-size: 15px !important;
    }
    
    .xb-team-small .xb-item--name {
        font-size: 13px !important;
    }
}
/* ===== END COMISSAO CIENTIFICA ===== */

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

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

/* Ajustar menu principal para não quebrar */
.header-style .main-menu ul.xb-menu-primary {
    gap: 3px !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 5px !important;
    white-space: nowrap;
    display: inline-block;
    font-size: 9px !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: 15px !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;
    }
}

/* ===== MENU FIXO NO TOPO COM 100% DE LARGURA ===== */
#xb-header-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
}

#xb-header-area .header__wrap {
    margin: 0 !important;
    padding: 8px 20px !important;
    border-radius: 0 !important;
    width: 100% !important;
}

#xb-header-area.header-transparent {
    top: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stricked-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    display: none;
}

.stricked-menu .header__wrap {
    margin: 0 !important;
    padding: 8px 20px !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.stricked-menu.stricky-fixed {
    visibility: visible;
    transform: translateY(0%);
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.body_wrap {
    margin-top: 60px;
}
/* ===== END MENU FIXO NO TOPO ===== */




