/* Central de calendário: complementa a identidade visual do portal. */
.agenda-page-hero::before { background: linear-gradient(90deg,rgba(2,13,58,.9),rgba(8,32,108,.56) 58%,rgba(2,16,70,.1)),url("fachada-reitoria.jpg") center 49%/cover; }
.agenda-page-hero { min-height: 315px; }
.agenda-page-hero h1 { max-width: 780px; }
.agenda-page-hero p { max-width: 610px; }
.agenda-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: -43px 0 28px; position: relative; z-index: 2; padding: 10px; width: fit-content; max-width: 100%; border: 1px solid #e0e7f2; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 15px 32px rgba(10,28,80,.12); }
.agenda-tabs button { border: 0; border-radius: 13px; padding: 12px 19px; color: #213568; background: #f3f6fc; font-size: .82rem; font-weight: 800; cursor: pointer; }
.agenda-tabs button:hover,.agenda-tabs button:focus-visible { color: #00107a; background: #e9effb; }
.agenda-tabs button.is-active { color: #fff; background: #001b87; box-shadow: 0 6px 16px rgba(0,16,122,.23); }
.agenda-hub-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(278px,322px); gap: 22px; align-items: start; }
.agenda-hub-main,.agenda-hub-side { min-width: 0; }
.agenda-hub-side { display: grid; gap: 17px; }
.agenda-filter-bar { margin-bottom: 24px; }
.agenda-filter-bar > span { display: block; margin-bottom: 9px; color: #687796; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.agenda-filter-bar > div { display: flex; flex-wrap: wrap; gap: 7px; }
.agenda-filter-bar button { border: 1px solid #dce5f4; border-radius: 999px; padding: 8px 13px; color: #385079; background: #fff; font-size: .72rem; font-weight: 750; cursor: pointer; }
.agenda-filter-bar button:hover,.agenda-filter-bar button.is-active { color: #fff; border-color: #001b87; background: #001b87; }
.agenda-section-heading { margin: 0 0 17px; }
.agenda-section-heading h2 { margin: 4px 0 5px; color: #001b75; font: 400 clamp(1.9rem,3vw,2.7rem)/1.1 var(--serif); }
.agenda-section-heading p { margin: 0; color: #697797; font-size: .84rem; }
.agenda-next-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 27px 0 15px; border-bottom: 1px solid #dbe3f0; }
.agenda-next-heading button,.agenda-side-more,.agenda-month-panel > button { border: 0; color: #001b87; background: none; font-size: .72rem; font-weight: 850; cursor: pointer; }
.agenda-hub-results { display: grid; gap: 10px; }
.agenda-event-card { display: grid; grid-template-columns: 64px 92px minmax(0,1fr) auto; align-items: center; gap: 15px; min-width: 0; padding: 14px; border: 1px solid #e0e7f1; border-radius: 17px; background: #fff; box-shadow: 0 7px 20px rgba(10,31,78,.04); }
.agenda-event-card.is-featured { border-color: #d5e1f5; background: linear-gradient(110deg,#eef4ff,#fff); box-shadow: 0 12px 27px rgba(9,36,92,.09); }
.agenda-event-date { display: grid; align-content: center; justify-items: center; min-height: 71px; border-radius: 11px; color: #001b87; background: #f1f5fc; line-height: 1; }
.agenda-event-date strong { font: 400 1.85rem/1 var(--serif); }
.agenda-event-date span { margin-top: 4px; font-size: .68rem; font-weight: 900; }
.agenda-event-thumb,.agenda-event-symbol { width: 92px; height: 70px; border-radius: 10px; object-fit: cover; }
.agenda-event-symbol { display: grid; place-items: center; color: #b98114; background: linear-gradient(135deg,#fff0c7,#f7f9fc); }
.agenda-event-symbol .icon { width: 29px; height: 29px; }
.agenda-event-copy { min-width: 0; }
.agenda-category { display: inline-block; border-radius: 999px; padding: 4px 8px; color: #0b3a9b; background: #e7efff; font-size: .61rem; font-weight: 850; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.agenda-category.gold { color: #805908; background: #fff0cc; }
.agenda-category.green { color: #087a57; background: #def6ea; }
.agenda-category.violet { color: #64439b; background: #eee6fa; }
.agenda-featured-tag { margin-left: 6px; color: #9b6b0e; font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.agenda-event-copy h3 { margin: 6px 0 3px; color: #09266e; font: 700 1.02rem/1.25 var(--display); }
.agenda-event-copy p { margin: 0 0 6px; color: #5c6c89; font-size: .73rem; line-height: 1.42; }
.agenda-event-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; color: #60708d; font-size: .67rem; font-weight: 650; }
.agenda-details-link { justify-self: end; border-radius: 10px; padding: 9px 12px; color: #fff; background: #001b87; font-size: .68rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.agenda-details-link:hover { background: #173aab; }
.agenda-empty-state { padding: 25px; border: 1px dashed #ced9eb; border-radius: 15px; color: #64738c; background: #f8fafd; font-size: .82rem; }
.agenda-empty-state button { display: inline-block; margin-top: 12px; padding: 8px 0; border: 0; color: #001b87; background: transparent; font-size: .76rem; font-weight: 850; cursor: pointer; }
.agenda-side-card,.agenda-month-panel { padding: 18px; border: 1px solid #e0e7f1; border-radius: 18px; background: #fff; box-shadow: 0 9px 25px rgba(11,35,85,.06); }
.agenda-side-title { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #aa7510; }
.agenda-side-title h3 { margin: 0; color: #123074; font: 700 1.05rem/1.25 var(--serif); }
.agenda-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 14px; color: #183677; text-align: center; }
.agenda-calendar-head strong { text-transform: capitalize; font: 700 .85rem/1.2 var(--display); }
.agenda-calendar-head button { border: 0; border-radius: 8px; width: 28px; height: 28px; color: #16347a; background: #f2f5fb; font-size: 1.25rem; cursor: pointer; }
.agenda-calendar-head button:hover { background: #e3ebfa; }
.agenda-calendar-weekdays,.agenda-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.agenda-calendar-weekdays { margin-bottom: 5px; color: #8090aa; font-size: .55rem; font-weight: 850; }
.agenda-calendar-day { display: grid; place-items: center; align-content: center; width: 100%; min-height: 34px; border: 0; border-radius: 8px; color: #394b6d; background: transparent; font-size: .7rem; cursor: pointer; }
.agenda-calendar-day:hover,.agenda-calendar-day.is-selected { color: #fff; background: #001b87; }
.agenda-calendar-day.is-today { outline: 1px solid #c99b2c; outline-offset: -2px; }
.agenda-calendar-dots { display: flex; gap: 2px; min-height: 4px; margin-top: 3px; }
.agenda-calendar-dots i,.agenda-calendar-legend i { width: 4px; height: 4px; border-radius: 50%; background: #2a69b9; }
.agenda-calendar-dots i.gold,.agenda-calendar-legend i.gold { background: #d69b1c; }
.agenda-calendar-dots i.green,.agenda-calendar-legend i.green { background: #32aa78; }
.agenda-calendar-dots i.violet,.agenda-calendar-legend i.violet { background: #8055bc; }
.agenda-calendar-day:hover i,.agenda-calendar-day.is-selected i { background: #fff; }
.agenda-calendar-legend { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e8edf5; color: #75839a; font-size: .61rem; }
.agenda-calendar-legend span { display: inline-flex; align-items: center; gap: 4px; }
.agenda-calendar-legend i { width: 7px; height: 7px; }
.agenda-side-hour { display: grid; grid-template-columns: 34px 38px 1fr; gap: 6px; align-items: baseline; padding: 9px 0; border-top: 1px solid #edf1f6; color: #52617e; font-size: .65rem; }
.agenda-side-hour b { color: #ab7914; }
.agenda-side-hour time { color: #142d79; font-weight: 800; }
.agenda-side-more { display: block; margin: 12px 0 0 auto; padding: 0; }
.agenda-month-panel { margin-bottom: 8px; }
.agenda-month-panel .agenda-calendar-grid { gap: 4px; }
.agenda-month-panel .agenda-calendar-day { min-height: 44px; font-size: .8rem; }
.agenda-month-panel > button { margin-top: 13px; padding: 0; }
.agenda-fixed-list { overflow: hidden; border: 1px solid #e1e7f1; border-radius: 17px; background: #fff; }
.agenda-fixed-row { display: grid; grid-template-columns: 130px minmax(0,1fr) 60px; gap: 12px; align-items: center; padding: 17px 19px; border-bottom: 1px solid #edf1f7; color: #596a87; font-size: .79rem; }
.agenda-fixed-row:last-child { border-bottom: 0; }
.agenda-fixed-row span { color: #a47417; font-weight: 800; }
.agenda-fixed-row strong { color: #173471; }
.agenda-fixed-row small { display: block; margin-top: 5px; color: #64738d; font-size: .7rem; font-weight: 400; line-height: 1.45; }
.agenda-fixed-row time { text-align: right; font-weight: 850; color: #001b87; }
.agenda-contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 31px; padding: 25px; border-radius: 19px; color: #fff; background: linear-gradient(105deg,#091852,#123c91); }
.agenda-contact-cta .eyebrow { color: #f0c65c; }
.agenda-contact-cta h2 { margin: 6px 0; color: #fff; font: 400 1.65rem/1.12 var(--serif); }
.agenda-contact-cta p { margin: 0; color: #d9e3f8; font-size: .77rem; line-height: 1.55; }
.agenda-contact-cta .btn { flex-shrink: 0; }
.agenda-disclaimer { margin: 25px 0 0; color: #7b879a; font-size: .74rem; }
.agenda-detail-lead { font-size: 1.02rem !important; }
.agenda-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 23px 0; }
.agenda-detail-facts div { padding: 12px; border-radius: 10px; background: #f2f6fc; }
.agenda-detail-facts dt { color: #8694a9; font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.agenda-detail-facts dd { margin: 3px 0 0; color: #233c77; font-size: .81rem; font-weight: 750; }
.agenda-stops { color: #4b5d7b; line-height: 1.65; }
.agenda-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.agenda-detail-actions button { cursor: pointer; }
.agenda-admin-editor .agenda-form { gap: 12px; }
.agenda-admin-editor .field[hidden] { display: none; }
.agenda-admin-editor .field small { display: block; margin-top: 4px; color: #78859c; font-size: .64rem; }
.agenda-admin-switches { display: grid; gap: 8px; }
.agenda-check { display: flex; align-items: center; gap: 8px; color: #33456c; font-size: .76rem; font-weight: 700; }
.agenda-check input { accent-color: #001b87; }
.agenda-admin-form-actions,.agenda-admin-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.agenda-admin-actions button:first-child { color: #123c93; background: #eaf0ff; }
.agenda-preview-row { grid-template-columns: 54px minmax(0,1fr) auto; }
@media (max-width: 1000px) { .agenda-hub-layout { grid-template-columns: 1fr; } .agenda-hub-side { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .agenda-tabs { width: 100%; margin-top: -30px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } .agenda-tabs button { padding: 11px 9px; } .agenda-hub-side { grid-template-columns: 1fr; } .agenda-event-card { grid-template-columns: 53px 65px minmax(0,1fr); gap: 10px; } .agenda-event-date { min-height: 57px; } .agenda-event-date strong { font-size: 1.5rem; } .agenda-event-thumb,.agenda-event-symbol { width: 65px; height: 57px; } .agenda-event-copy h3 { font-size: .91rem; } .agenda-details-link { grid-column: 3; justify-self: start; } .agenda-detail-facts { grid-template-columns: 1fr; } .agenda-contact-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 470px) { .agenda-event-card { grid-template-columns: 52px minmax(0,1fr); } .agenda-event-thumb,.agenda-event-symbol { display: none; } .agenda-details-link { grid-column: 2; } .agenda-fixed-row { grid-template-columns: 90px minmax(0,1fr) 42px; gap: 5px; padding: 13px 10px; font-size: .68rem; } .agenda-preview-row { grid-template-columns: 49px minmax(0,1fr); } .agenda-admin-actions { grid-column: 2; } }
