/* Cronograma oficial: página privada. Autônoma (não depende do CSS do site). */
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("/site/fonts/montserrat-medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/site/fonts/montserrat-semibold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/site/fonts/montserrat-bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("/site/fonts/montserrat-extrabold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: normal; font-display: swap; src: url("/site/fonts/montserrat-black.woff2") format("woff2"); }

:root {
  --navy: #002356;
  --navy-deep: #001735;
  --navy-2: #0a2f66;
  --gold: #FFC306;
  --gold-hover: #FFD23F;
  --sun: #FFF101;
  --paper: #F4F4F4;
  --fg-2: rgba(244, 244, 244, 0.84);
  --fg-3: rgba(244, 244, 244, 0.64);
  --rule: rgba(244, 244, 244, 0.14);
  --radius: 16px;
  --wrap: min(1120px, 100% - 32px);

  --c-gi: #4c9bff;
  --c-nogi: #3ed17a;
  --c-capofit: #f0922f;
  --c-staff: #b07cff;
  --c-recovery: #ff6a99;
  --c-five: #5fd8ff;
  --c-party: #ff5252;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy-deep);
  color: var(--paper);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Topo ---------- */
.cr-top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(16px, calc((100vw - 1120px) / 2));
}
.cr-top__logo { width: 62px; height: auto; }
.cr-lang { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(0, 23, 53, 0.6); box-shadow: 0 0 0 1px var(--rule); backdrop-filter: blur(8px); }
.cr-lang button { min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--fg-2); }
.cr-lang button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); }

/* ---------- Abertura ---------- */
.cr-hero { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; text-align: center; }
.cr-hero__bg { position: absolute; inset: 0; z-index: -2; background: url("/site/img/hero-fundo-m.webp") center 30% / cover no-repeat; }
.cr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 15, 42, .55) 0%, rgba(0, 23, 53, .35) 45%, var(--navy-deep) 100%); }
.cr-hero__copy { padding: 104px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cr-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.cr-title { font-size: clamp(38px, 9vw, 84px); line-height: .98; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; max-width: 14ch; }
.cr-dates { color: var(--fg-2); font-weight: 600; font-size: clamp(14px, 2.4vw, 18px); }
.cr-countdown { margin-top: 4px; padding: 8px 16px; border-radius: 999px; background: var(--sun); color: var(--navy-deep); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.cr-hero__people { position: relative; display: block; width: min(980px, 100%); margin: 8px auto 0; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.cr-hero__people img { width: 100%; }

/* ---------- Conteúdo ---------- */
.cr-wrap { width: var(--wrap); margin: 0 auto; padding-bottom: 56px; }

.cr-notice {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  margin-top: -14px; padding: 18px 18px 18px 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 195, 6, .16), rgba(255, 195, 6, .06));
  box-shadow: 0 0 0 1px rgba(255, 195, 6, .5), 0 18px 40px -22px rgba(0, 0, 0, .7);
}
.cr-notice__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--navy-deep); }
.cr-notice__title { font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; color: var(--gold); }
.cr-notice__text { margin-top: 4px; color: var(--paper); font-size: 15px; line-height: 1.5; }
.cr-notice__text strong { color: var(--sun); }
.cr-notice__upd { margin-top: 8px; font-size: 12.5px; color: var(--fg-3); }
.cr-notice__upd time { color: var(--fg-2); font-weight: 700; }

.cr-pack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; margin-top: 22px; }
.cr-pack__label { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.cr-pack button { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; min-height: 64px; padding: 12px 16px; text-align: left; border: 0; border-radius: 14px; background: var(--navy); box-shadow: 0 0 0 1px var(--rule); }
.cr-pack button b { font-weight: 900; font-size: 17px; text-transform: uppercase; }
.cr-pack button small { font-size: 12.5px; color: var(--fg-3); font-weight: 600; }
.cr-pack button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); box-shadow: 0 0 0 1px var(--gold); }
.cr-pack button[aria-pressed="true"] small { color: rgba(0, 23, 53, .78); }

.cr-days {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 18px -16px 0; padding: 10px 16px; background: rgba(0, 23, 53, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}
.cr-days::-webkit-scrollbar { display: none; }
.cr-days a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 54px; min-height: 56px; padding: 6px 10px; border-radius: 12px; text-decoration: none; background: var(--navy); box-shadow: 0 0 0 1px var(--rule); color: var(--fg-2); }
.cr-days a small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.cr-days a b { font-size: 20px; font-weight: 900; line-height: 1.1; }
.cr-days a.is-active { background: var(--gold); color: var(--navy-deep); box-shadow: none; }
.cr-days a.is-today:not(.is-active) { box-shadow: 0 0 0 2px var(--sun); }

.cr-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 6px; font-size: 12.5px; color: var(--fg-2); font-weight: 600; }
.cr-lg { display: inline-flex; align-items: center; gap: 7px; }

.cr-dot { display: inline-block; flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.cr-dot--gi { --c: var(--c-gi); } .cr-dot--nogi { --c: var(--c-nogi); } .cr-dot--capofit { --c: var(--c-capofit); }
.cr-dot--other { --c: #9aa7b8; } .cr-dot--staff { --c: var(--c-staff); } .cr-dot--recovery { --c: var(--c-recovery); } .cr-dot--five { --c: var(--c-five); } .cr-dot--party { --c: var(--c-party); }

/* ---------- Dias ---------- */
.cr-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.cr-day { scroll-margin-top: 84px; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: 0 0 0 1px var(--rule), 0 22px 44px -28px rgba(0, 0, 0, .8); }
.cr-day.is-today { box-shadow: 0 0 0 2px var(--sun), 0 22px 44px -28px rgba(0, 0, 0, .8); }
.cr-day__h { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--navy-deep); }
.cr-day__date { display: flex; flex-direction: column; align-items: center; min-width: 64px; line-height: 1; }
.cr-day__date small { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--gold); }
.cr-day__date b { font-size: 38px; font-weight: 900; margin: 3px 0 1px; }
.cr-day__date span { font-size: 11px; font-weight: 700; text-transform: capitalize; color: var(--fg-3); }
.cr-day__sub { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.cr-day__sub p { font-weight: 700; font-size: 14.5px; color: var(--fg-2); line-height: 1.35; }
.cr-day__sub mark { background: var(--sun); color: var(--navy-deep); font-weight: 900; font-size: 11px; letter-spacing: .12em; padding: 3px 9px; border-radius: 999px; }
.cr-tag { flex: 0 0 auto; align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(62, 209, 122, .16); color: #7ee8a8; }
.cr-tag--both { background: rgba(76, 155, 255, .18); color: #9cc8ff; }

.cr-list { list-style: none; }
.cr-it { display: grid; grid-template-columns: 104px 11px 1fr; gap: 12px; align-items: start; padding: 13px 16px; border-top: 1px solid var(--rule); }
.cr-it:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.cr-it__t { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--paper); white-space: nowrap; }
.cr-it .cr-dot { margin-top: 5px; }
.cr-it__b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cr-it__b strong { font-weight: 800; font-size: 15px; line-height: 1.3; }
.cr-it__b em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--fg-3); }

/* ---------- Ajuda e rodapé ---------- */
.cr-help { margin-top: 36px; padding: 26px 20px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), var(--navy)); box-shadow: 0 0 0 1px var(--rule); text-align: center; }
.cr-help h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.cr-help p { margin-top: 6px; color: var(--fg-2); }
.cr-help__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.cr-btn--gold { background: var(--gold); color: var(--navy-deep); }
.cr-btn--gold:hover { background: var(--gold-hover); }
.cr-btn--line { box-shadow: inset 0 0 0 2px rgba(244, 244, 244, .5); }
.cr-place { margin-top: 16px; font-size: 13px; color: var(--fg-3); }
.cr-foot { padding: 22px 16px 32px; text-align: center; font-size: 12.5px; color: var(--fg-3); }
.cr-noscript { padding: 16px; border-radius: 12px; background: var(--navy); }

/* ---------- Telas maiores ---------- */
@media (min-width: 861px) {
  .cr-hero__bg { background-image: url("/site/img/hero-fundo.webp"); background-position: center 38%; }
  .cr-top__logo { width: 78px; }
  .cr-hero__copy { padding-top: 132px; }
  .cr-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .cr-pack { grid-template-columns: auto 1fr 1fr; align-items: center; max-width: 720px; }
  .cr-pack__label { grid-column: auto; }
  .cr-days { margin-inline: 0; border-radius: 14px; top: 10px; padding: 10px; justify-content: center; }
  .cr-notice { padding: 20px 24px; margin-top: -24px; }
}
@media (min-width: 1100px) { .cr-it { grid-template-columns: 112px 11px 1fr; } }
@media (max-width: 420px) { .cr-it { grid-template-columns: 92px 10px 1fr; gap: 10px; padding-inline: 14px; } .cr-day__date b { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .cr-top, .cr-days, .cr-pack, .cr-hero__people { display: none !important; } body { background: #fff; color: #000; } .cr-day, .cr-help, .cr-notice { box-shadow: none; background: #fff; color: #000; border: 1px solid #ccc; } .cr-day__h { background: #eee; } .cr-it__b em, .cr-fg-3 { color: #444; } }

/* ---------- Filtro por professor e barra de controle ---------- */
.cr-who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.cr-who .cr-pack__label { flex: 1 0 100%; }
.cr-who button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--navy); box-shadow: 0 0 0 1px var(--rule); font-weight: 800; font-size: 14px; }
.cr-who button small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; }
.cr-who button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); box-shadow: 0 0 0 1px var(--gold); }
.cr-who button[aria-pressed="true"] small { color: rgba(0, 23, 53, .72); }
.cr-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cr-bar__count { font-size: 13px; font-weight: 700; color: var(--fg-2); }
.cr-bar__btn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(244, 244, 244, .4); font-weight: 800; font-size: 12.5px; letter-spacing: .03em; }
.cr-bar__btn:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }

/* ---------- Cartões que recolhem ---------- */
.cr-day__h { width: 100%; border: 0; text-align: left; color: inherit; cursor: pointer; }
.cr-day__h:hover { background: #00204a; }
.cr-day__p { font-weight: 700; font-size: 14.5px; color: var(--fg-2); line-height: 1.35; }
.cr-day__p mark { margin-left: 6px; background: var(--sun); color: var(--navy-deep); font-weight: 900; font-size: 11px; letter-spacing: .12em; padding: 3px 9px; border-radius: 999px; vertical-align: 1px; }
.cr-day__sub { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cr-day__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cr-day__n { font-size: 12px; font-weight: 700; color: var(--fg-3); }
.cr-tag { align-self: auto; }
.cr-chev { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 195, 6, .14); color: var(--gold); transition: transform .22s ease, background .2s; }
.cr-day.is-open .cr-chev { transform: rotate(180deg); background: var(--gold); color: var(--navy-deep); }
.cr-list[hidden] { display: none; }

@media (max-width: 420px) { .cr-who button { padding: 0 13px; font-size: 13px; } }

/* ---------- Celular: filtro de professor numa linha só ---------- */
@media (max-width: 560px) {
  .cr-who { flex-wrap: wrap; gap: 6px; }
  .cr-who .cr-pack__label { flex: 1 0 100%; }
  .cr-who button { flex: 1 1 auto; justify-content: center; min-width: 0; padding: 0 10px; gap: 6px; font-size: 13px; white-space: nowrap; }
  .cr-who button small { display: none; }
}
@media (max-width: 360px) { .cr-who button { padding: 0 7px; font-size: 12px; gap: 5px; } }

.cr-top__home { display: block; line-height: 0; }
