:root {
  --line: #E7ECE2;
  --bg: #FCFDFB;
}

.programa {
  position: relative;
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  background-position: -6px -6px;
  overflow: hidden;
}

.programa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(252, 253, 251, 0.55) 35%, var(--bg) 100%);
  pointer-events: none;
}


.programa-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.programa-head button.dropdown-btn {
  background-color: transparent;
  border: none;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  color: var(--text_color);
  margin-top: 8px;
  padding: 0;
  font-weight: 600;
}

.programa-head .dropdown-item {
  font-family: "Poppins", sans-serif;
  color: var(--text_color);
}

.programa-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--destaque_color);
  background: #fff;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

.nav-btn svg {
  width: 18px;
  height: 18px;
}

.nav-btn:hover {
  background: var(--destaque_color);
  color: #fff;
  transform: translateY(-1px);
}

.nav-btn:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

.nav-btn:disabled:hover {
  background: #fff;
  color: var(--green-dark);
}

/* timeline */
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-left: 10%;
}

.timeline-scroll::-webkit-scrollbar {
  display: none;
}

.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-width: max-content;
  padding-top: 34px;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--destaque_color);
  border-radius: 3px;
}

.slot {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  padding: 0 14px 0 0;
}

.slot::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 3px;
  height: 16px;
  background: var(--destaque_color);
  border-radius: 2px;
}

.initiative-timeline[data-programme-type="composto"] .slot {
  display: flex;
  width: auto;
  padding-right: 0;
}

.initiative-timeline[data-programme-type="composto"] .initiative-slot-column {
  width: 280px;
  flex-shrink: 0;
  padding-right: 14px;
}

.initiative-timeline[data-programme-type="simples"] .slot::before {
  content: none;
}

.initiative-timeline[data-programme-type="simples"] .slot:first-child::before {
  content: "";
}

.initiative-timeline[data-programme-type="simples"] .timeline-track {
  width: max-content;
}

.initiative-timeline[data-programme-type="simples"] .timeline-track::before {
  right: 14px;
}

.initiative-timeline[data-programme-type="simples"] .timeline-track::after {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  width: 3px;
  height: 16px;
  background: var(--destaque_color);
  border-radius: 2px;
}

.slot-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 12px;
}

.slot-time {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sec-destaque_color);
  white-space: nowrap;
  margin-bottom: 1rem;
}

.slot-time span {
  font-weight: 500;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
}

.slot-room {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sec-destaque_color);
  white-space: nowrap;
  float: inline-end;
}

.slot-card {
  background: #fff;
  padding: 18px 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  width: 100%;
}

.slot-card:hover {
  transform: translateY(-3px);
  border-color: var(--destaque_color);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


.slot-card h4 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--text_color);
  font-family: 'Poppins', sans-serif;
}

.slot-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text_color);
  text-decoration: none;
}

.slot-link::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--sec-destaque_color);
  display: inline-block;
  transition: width .2s ease;
}

.slot-card:hover .slot-link::before {
  width: 32px;
}

@media (max-width: 640px) {
  .programa-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .slot {
    width: 240px;
  }

  .initiative-timeline[data-programme-type="composto"] .initiative-slot-column {
    width: 240px;
  }
}
