/*----------------------------------------------------------------------
    Custom CSS – 2° Workshop Nacional de Infraestrutura
    CT Pavimentos – ABMS | IPR/DNIT | Infralab/UnB
----------------------------------------------------------------------*/

/* ------ Cards de Inscrição ------ */
.inscricao-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 32px 24px 28px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.inscricao-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.13);
}

.inscricao-card-destaque {
    background: rgba(255, 143, 38, 0.18);
    border-color: var(--primary-color);
}

.inscricao-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-color);
    background: rgba(255, 143, 38, 0.15);
    padding: 3px 12px;
    border-radius: 20px;
}

.inscricao-categoria {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--heading-font);
}

.inscricao-preco {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--heading-font);
    line-height: 1;
    margin: 6px 0 4px;
}

.inscricao-cifrao {
    font-size: 1.2rem;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
    color: var(--primary-color);
}

.inscricao-centavos {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.inscricao-btn {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* ------ Programação – schedule table ------ */
.schedule-day-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--heading-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 40px;
}

.schedule-day-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
    white-space: nowrap;
}

.schedule-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background: rgba(255, 143, 38, 0.04);
}

.schedule-time {
    min-width: 115px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--base-color);
    white-space: nowrap;
    padding-top: 3px;
    font-family: var(--heading-font);
}

.schedule-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-content strong {
    font-size: 0.93rem;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: 600;
}

.schedule-content small {
    font-size: 0.8rem;
    color: var(--base-color);
}

/* Tags de tipo */
.schedule-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 2px;
    width: fit-content;
    margin-bottom: 3px;
}

/* Border-left por tipo */
.schedule-type-palestra    { border-left-color: var(--primary-color); }
.schedule-type-mesa        { border-left-color: #3b82f6; }
.schedule-type-intervalo   { border-left-color: #9ca3af; }
.schedule-type-patrocinador{ border-left-color: #a855f7; }
.schedule-type-abertura    { border-left-color: #22c55e; }
.schedule-type-happyhour   { border-left-color: #f97316; }
.schedule-type-logistica   { border-left-color: #9ca3af; }

/* Cores das tags */
.tag-palestra     { background: rgba(255,143,38,0.12); color: #d97706; }
.tag-mesa         { background: rgba(59,130,246,0.12); color: #2563eb; }
.tag-intervalo    { background: rgba(156,163,175,0.15); color: #6b7280; }
.tag-patrocinador { background: rgba(168,85,247,0.12); color: #9333ea; }
.tag-abertura     { background: rgba(34,197,94,0.12);  color: #16a34a; }
.tag-happyhour    { background: rgba(249,115,22,0.15); color: #ea580c; }
.tag-minicurso    { background: rgba(255,143,38,0.12); color: #b45309; }

@media (max-width: 480px) {
    .schedule-time { min-width: 90px; font-size: 0.75rem; }
    .schedule-content strong { font-size: 0.87rem; }
}

/* ------ Galeria de fotos ------ */
.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-thumb:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 28px;
}

.gallery-thumb:hover .gallery-overlay {
    opacity: 1;
}

/* ------ Hero – remover dots desnecessários ------ */
.main-slider-area .slick-dots {
    display: none !important;
}

/* ------ Logo no header ------ */
.logo img {
    max-height: 60px;
    width: auto;
}

/* ------ Seção Temas (overlay escuro sobre banner) ------ */
#temas.overlay::before {
    background: rgba(0, 0, 0, 0.70);
}

/* ------ Programação – accordion com cores do evento ------ */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(255, 143, 38, 0.06);
    box-shadow: none;
}

/* ------ Contato – ícones de pessoa ------ */
.service-item-three .icon i.far,
.service-item-three .icon i.fab {
    font-size: 28px;
    color: var(--primary-color);
}

/* ------ Smooth scroll offset para navbar fixa ------ */

/* ------ Patrocínio ------ */
.patrocinio-area {
    background: #f7f7f7;
}

.patrocinio-box {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 38px 34px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.patrocinio-box-lateritica {
    background: rgba(255, 143, 38, 0.92);
   
}

.esgotado-target {
    position: absolute;
    background-color: white;
    padding: 15px 35px;
    border-radius: 10px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(-20deg);
    box-shadow: 1px 0px 34px -16px rgba(0,0,0,0.75);
}

.esgotado-target h2 {
    color: #d00505 !important;
    text-transform: uppercase;
    font-weight: 500;
}

.patrocinio-box-saprolitica {
    background: rgba(236, 196, 67, 0.95);
}

.patrocinio-titulo {
    font-size: 2rem;
    margin-bottom: 18px;
}

.patrocinio-subtitulo {
    font-size: 1.65rem;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 20px;
}

    /* ------ Palestrantes – evitar estouro de nomes longos ------ */
    #palestrantes .team-member .content {
        width: 100%;
        height: auto;
        min-height: 140px;
        padding: 22px 24px 18px;
    }

    #palestrantes .team-member .content:before {
        height: 100%;
    }

    #palestrantes .team-member .content h6 {
        white-space: normal;
        word-break: break-word;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    #palestrantes .team-member .content .designation {
        margin-bottom: 0;
    }
.patrocinio-lista {
    margin: 0;
    padding-left: 22px;
}

.patrocinio-lista li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.patrocinio-lista li:last-child {
    margin-bottom: 0;
}

.patrocinio-investimento {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(14, 14, 14, 0.15);
    font-size: 1.9rem;
    font-family: var(--heading-font);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading-color);
}

.patrocinio-info-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 45px 40px;
    text-align: center;
}

.patrocinio-info-box h4 {
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.patrocinio-info-subtitle {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.95rem;
    color: var(--base-color);
}

.patrocinio-info-box h6 {
    background: rgba(236, 196, 67, 0.95);
    color: #fff;
    text-transform: uppercase;
    padding: 22px 18px;
    margin: 0 auto 24px;
    max-width: 900px;
    line-height: 1.45;
}

.patrocinio-info-box ol {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 24px;
}

.patrocinio-info-box ol li {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--heading-color);
}

.patrocinio-contatos {
    margin: 26px auto 0;
    max-width: 560px;
    border: 1px solid var(--heading-color);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.patrocinio-email {
    font-size: 1.9rem;
    font-family: var(--heading-font);
    font-weight: 600;
    text-decoration: underline;
    color: var(--heading-color);
}

.patrocinio-email:hover {
    color: var(--primary-color);
}

.patrocinio-contatos span {
    font-size: 1.1rem;
    color: var(--heading-color);
}

@media (max-width: 991px) {
    .patrocinio-titulo {
        font-size: 1.7rem;
    }

    .patrocinio-subtitulo {
        font-size: 1.35rem;
    }

    .patrocinio-investimento {
        font-size: 1.5rem;
    }

    .patrocinio-info-box h4 {
        font-size: 2.35rem;
    }

    .patrocinio-email {
        font-size: 1.45rem;
    }
}

@media (max-width: 575px) {
    .patrocinio-box {
        padding: 30px 20px;
    }

    .patrocinio-lista li,
    .patrocinio-info-box ol li,
    .patrocinio-contatos span {
        font-size: 1rem;
    }

    .patrocinio-info-box {
        padding: 32px 18px;
    }

    .patrocinio-info-box h4 {
        font-size: 1.9rem;
    }

    .patrocinio-info-subtitle {
        letter-spacing: 2px;
    }

    .patrocinio-email {
        font-size: 1.2rem;
    }
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* ------ Partner item sem link azul ------ */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s;
}

.partner-item:hover {
    opacity: 0.75;
}

/*Realizacao*/

#realizacao-grid {
    margin-top: 2rem;
}

.realizacao-item {
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.realizacao-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.realizacao-logo {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
