
/* =====================================================
   JEE 2026 — CALENDÁRIO INTERATIVO
   ===================================================== */

#jee-program {
    background: #F7F7F7;
    color: #30343B;
}

#jee-program .jee-calendar-heading {
    text-align: center;
    margin: 0 auto 32px;
}

#jee-program .jee-calendar-label {
    display: inline-block;
    color: #FF6633;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

#jee-program .jee-calendar-heading h3 {
    margin: 0 0 8px;
    color: #22252B;
    font-size: 28px;
    font-weight: 800;
}

#jee-program .jee-calendar-heading p {
    margin: 0;
    color: #7B828C;
}

/* Seleção dos dias */

.jee-day-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 850px;
    margin: 0 auto 28px;
}

.jee-day-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 112px;
    padding: 14px 8px;
    border: 1px solid #E4E6E9;
    border-radius: 14px;
    background: #FFFFFF;
    color: #343943;
    font: inherit;
    cursor: pointer;
    transition: background .2s ease, color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.jee-day-tab:hover {
    border-color: #FF6633;
    transform: translateY(-2px);
}

.jee-day-tab.active {
    background: #FF6633;
    border-color: #FF6633;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(255, 102, 51, .2);
}

.jee-day-tab span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.jee-day-tab strong {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
}

.jee-day-tab small {
    font-size: 11px;
    opacity: .85;
}

/* Resumo do dia */

.jee-program-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: 850px;
    margin: 0 auto 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E2E4E8;
    color: #727985;
    font-size: 13px;
}

.jee-program-summary > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.jee-summary-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FF6633;
}

/* Linha temporal */

.jee-timeline {
    max-width: 850px;
    margin: 0 auto;
}

.jee-event {
    display: grid;
    grid-template-columns: 82px 22px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 16px;
}

.jee-event-time {
    padding-top: 21px;
    color: #FF6633;
    font-size: 15px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.jee-event-track {
    position: relative;
    display: flex;
    justify-content: center;
}

.jee-event-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -17px;
    width: 2px;
    background: #E2E4E8;
}

.jee-event:last-child .jee-event-track::before {
    display: none;
}

.jee-event-point {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin-top: 24px;
    border: 3px solid #F7F7F7;
    border-radius: 50%;
    background: #FF6633;
    box-shadow: 0 0 0 2px #FF6633;
}

.jee-event-card {
    min-width: 0;
    padding: 19px 21px;
    border: 1px solid #E8E9EC;
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(25, 30, 40, .035);
    transition: border-color .2s ease, transform .2s ease,
                box-shadow .2s ease;
}

.jee-event-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 102, 51, .6);
    box-shadow: 0 8px 22px rgba(25, 30, 40, .07);
}

.jee-event-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.jee-event-category {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #FFF0EA;
    color: #D94D22;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.jee-event-title {
    margin: 0 0 10px;
    color: #292D34;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.jee-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #777F8B;
    font-size: 12px;
    line-height: 1.6;
}

.jee-event-meta span {
    overflow-wrap: anywhere;
}

.jee-event-speakers {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #F0F1F3;
    color: #626A75;
    font-size: 12px;
    line-height: 1.7;
}

.jee-event-speakers strong {
    color: #383E47;
}

/* Pausas e refeições */

.jee-event.is-break .jee-event-card {
    background: #FFF9F5;
    border-style: dashed;
}

.jee-event.is-break .jee-event-category {
    background: #FCE8D9;
    color: #97512B;
}

/* Visitas de estudo */

.jee-visits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jee-visit-card {
    padding: 22px;
    border: 1px solid #E8E9EC;
    border-radius: 14px;
    background: #FFFFFF;
    transition: border-color .2s ease, transform .2s ease;
}

.jee-visit-card:hover {
    transform: translateY(-2px);
    border-color: #FF6633;
}

.jee-visit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #FFF0EA;
    color: #FF6633;
    font-weight: 800;
}

.jee-visit-card h4 {
    margin: 0 0 15px;
    color: #292D34;
    font-size: 18px;
    font-weight: 800;
}

.jee-visit-route {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jee-visit-route li {
    position: relative;
    padding-left: 22px;
    color: #626A75;
    font-size: 13px;
    line-height: 1.6;
}

.jee-visit-route li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF6633;
}

.jee-visit-route li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px;
    bottom: -12px;
    left: 4px;
    width: 1px;
    background: #E3E5E8;
}

.jee-visit-route strong {
    color: #383E47;
}

.jee-program-note {
    margin-top: 20px;
    color: #838A94;
    font-size: 11px;
    line-height: 1.6;
}

/* Modo escuro */

html[data-theme="dark"] #jee-program {
    background: var(--n-bg, #0E1116);
    color: var(--n-ink-2, #9AA6B2);
}

html[data-theme="dark"] #jee-program .jee-calendar-heading h3,
html[data-theme="dark"] #jee-program .title,
html[data-theme="dark"] .jee-event-title,
html[data-theme="dark"] .jee-visit-card h4 {
    color: var(--n-ink, #ECEFF3);
}

html[data-theme="dark"] #jee-program .jee-calendar-heading p,
html[data-theme="dark"] .jee-program-summary,
html[data-theme="dark"] .jee-event-meta,
html[data-theme="dark"] .jee-event-speakers,
html[data-theme="dark"] .jee-visit-route li,
html[data-theme="dark"] .jee-program-note {
    color: var(--n-ink-2, #9AA6B2);
}

html[data-theme="dark"] .jee-day-tab,
html[data-theme="dark"] .jee-event-card,
html[data-theme="dark"] .jee-visit-card {
    background: var(--n-card, #1B2027);
    border-color: var(--n-line, #262B33);
    color: var(--n-ink, #ECEFF3);
}

html[data-theme="dark"] .jee-day-tab.active {
    background: #FF6633;
    border-color: #FF6633;
    color: #FFFFFF;
}

html[data-theme="dark"] .jee-program-summary,
html[data-theme="dark"] .jee-event-speakers {
    border-color: var(--n-line, #262B33);
}

html[data-theme="dark"] .jee-event-track::before,
html[data-theme="dark"] .jee-visit-route li:not(:last-child)::after {
    background: var(--n-line, #262B33);
}

html[data-theme="dark"] .jee-event-point {
    border-color: var(--n-bg, #0E1116);
}

html[data-theme="dark"] .jee-event.is-break .jee-event-card {
    background: var(--n-bg-alt, #161A20);
}

html[data-theme="dark"] .jee-event-category,
html[data-theme="dark"] .jee-visit-number {
    background: rgba(255, 102, 51, .15);
    color: #FF8B65;
}

html[data-theme="dark"] .jee-event-speakers strong,
html[data-theme="dark"] .jee-visit-route strong {
    color: var(--n-ink, #ECEFF3);
}

/* Telemóveis */

@media (max-width: 600px) {
    #jee-program {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    #jee-program .jee-calendar-heading h3 {
        font-size: 23px;
    }

    .jee-day-tabs {
        gap: 6px;
    }

    .jee-day-tab {
        min-height: 92px;
        padding: 10px 3px;
        border-radius: 10px;
    }

    .jee-day-tab strong {
        font-size: 25px;
    }

    .jee-day-tab small {
        font-size: 9px;
    }

    .jee-program-summary {
        font-size: 11px;
    }

    .jee-event {
        grid-template-columns: 52px 12px minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 13px;
    }

    .jee-event-time {
        padding-top: 18px;
        font-size: 12px;
    }

    .jee-event-point {
        width: 9px;
        height: 9px;
        margin-top: 23px;
    }

    .jee-event-card {
        padding: 15px 13px;
        border-radius: 10px;
    }

    .jee-event-title {
        font-size: 15px;
    }

    .jee-event-meta {
        flex-direction: column;
        gap: 5px;
    }

    .jee-visits-grid {
        grid-template-columns: 1fr;
    }
}
