.programacao-page {
  color: #1a1a1a;
  background: #ffffff;
}

.programacao-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 7vw, 72px) 20px clamp(42px, 7vw, 68px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 23, 48, 0.92), rgba(22, 81, 120, 0.76)),
    url("/assets/images/background_maceio.jpg") center / cover no-repeat,
    #081730;
}

.programacao-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 46%;
  background: linear-gradient(180deg, rgba(8, 23, 48, 0), rgba(8, 23, 48, 0.82));
}

.programacao-hero__content {
  display: grid;
  place-items: center;
  width: min(100%, 1080px);
  margin-inline: auto;
  gap: clamp(34px, 6vw, 78px);
  text-align: center;
}

.programacao-hero__logo {
  width: min(100%, 250px);
  height: auto;
  margin-inline: auto;
}

.programacao-hero__title {
  max-width: 820px;
  margin-inline: auto;
  margin-top: clamp(25px, 2.5vw, 28px);
  color: #ffffff;
  font-size: clamp(40px, 8vw, 52px);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.programacao-hero__subtitle {
  max-width: 690px;
  margin-inline: auto;
  margin-top: 22px;
  color: #ffbf00;
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  text-wrap: balance;
}

.programacao-hero__text {
  max-width: 620px;
  margin-inline: auto;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.45;
}

.programacao-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 14px;
}

.programacao-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 26px;
  color: #ffffff;
  background: linear-gradient(180deg, #dd731f 0%, #be570a 100%);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.programacao-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.programacao-button:focus-visible,
.programacao-hero__secondary:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 4px;
}

.programacao-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.programacao-schedule {
  padding: clamp(34px, 6vw, 60px) 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f7fa 100%);
}

.programacao-schedule__title {
  width: min(100%, 960px);
  margin: 0 auto 30px;
  color: #1c3051;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.programacao-days {
  display: grid;
  width: min(100%, 960px);
  margin: 0 auto;
  gap: 18px;
}

.programacao-day {
  display: grid;
  grid-template-columns: minmax(168px, 0.31fr) minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border: 2px solid rgba(28, 48, 81, 0.12);
  border-radius: 8px;
}

.programacao-day__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(20px, 3.4vw, 28px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 23, 48, 0.98), rgba(22, 81, 120, 0.92)),
    #081730;
}

.programacao-day__name {
  color: #ffbf00;
  font-size: clamp(23px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.programacao-day__date {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.programacao-day__tag {
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 7px 10px;
  color: #1c1804;
  background: #ffbf00;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.programacao-timeline {
  display: grid;
  padding: clamp(14px, 3vw, 22px);
  gap: 10px;
}

.programacao-item {
  display: grid;
  grid-template-columns: minmax(82px, 0.2fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: #f7fbfd;
  border: 1px solid rgba(76, 133, 172, 0.22);
  border-radius: 8px;
}

.programacao-item__time {
  color: #df7521;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.programacao-item--wide-time {
  grid-template-columns: 1fr;
  gap: 10px;
}

.programacao-item--wide-time .programacao-item__time {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.15;
  white-space: normal;
}

.programacao-item__title {
  margin: 0;
  color: #1c3051;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 900;
  line-height: 1.12;
  text-wrap: balance;
}

.programacao-item__description {
  margin-top: 6px;
  color: #2b2b2b;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 400;
  line-height: 1.48;
  text-wrap: pretty;
}

.programacao-notes {
  width: min(100%, 960px);
  margin: 16px auto 0;
  color: #1c3051;
}

.programacao-notes__list {
  display: grid;
  gap: 8px;
}

.programacao-notes__item {
  position: relative;
  padding-left: 18px;
  color: rgba(28, 48, 81, 0.86);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  line-height: 1.4;
}

.programacao-notes__item::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffbf00;
  border-radius: 999px;
}

.main-menu__link[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .programacao-button {
    transition: none;
  }

  .programacao-button:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .programacao-day {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  .programacao-hero {
    padding-top: 48px;
  }

  .programacao-hero__logo {
    width: min(100%, 205px);
  }

  .programacao-hero__actions {
    align-items: center;
    flex-direction: column;
  }

  .programacao-button,
  .programacao-hero__secondary {
    width: min(100%, 300px);
    justify-content: center;
    text-align: center;
  }

  .programacao-day__header,
  .programacao-timeline {
    padding: 18px;
  }

  .programacao-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .programacao-item__time {
    white-space: normal;
  }
}

.programacao-item__meta {
  margin-top: 6px;
  color: #df7521;
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.programacao-item__link {
  color: #1c3051;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.programacao-item__link:hover {
  color: #be570a;
}

@media (max-width: 600px) {
  .programacao-schedule__title {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .programacao-item__title {
    font-size: clamp(16px, 4.3vw, 19px);
  }
}

@media (min-width: 901px) {
  .programacao-days {
    width: min(100%, 720px);
  }

  .programacao-day {
    grid-template-columns: 1fr;
  }

  .programacao-notes {
    width: min(100%, 720px);
  }
}
