.prog-aberta,
.prog-aberta body{
  overflow: hidden;
}

.prog{
  --p-verde: #0b2a10;
  --p-verde-hora: #0c2a11;
  --p-ouro: #d8a858;
  --p-ouro-escuro: #b07f2a;
  --p-ouro-claro: #f3d27a;
  --p-painel: #f2f0ec;
  --p-texto: 'Montserrat', 'termina', sans-serif;
  --p-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    url('../img/linhas-ouro.svg') center top / cover no-repeat,
    radial-gradient(ellipse 70% 60% at 30% 10%, rgba(30,90,40,.45), rgba(30,90,40,0)),
    var(--p-verde);
  color: #fff;
  font-family: var(--p-texto);
}

.prog[hidden]{
  display: none;
}

.prog-pagina{
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 40px 80px;
  animation: prog-entra .35s ease both;
}

@keyframes prog-entra{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: none; }
}

.prog-brilho{
  display: inline-block;
  width: .95em;
  height: .95em;
  margin-right: .55em;
  vertical-align: -.1em;
}




/* ================= TOPO (sobre o verde) ================= */

.prog-topo{
  padding: 44px 58px 40px;
}

.prog-topo__barra{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.prog-voltar{
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  transition: color .2s ease;
}

.prog-voltar:hover{
  color: var(--p-ouro-claro);
}

.prog-marca{
  display: flex;
  align-items: center;
  gap: 18px;
}

.prog-marca span{
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.35);
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: #f0c870;
}

.prog-marca img{
  width: 150px;
  height: auto;
}

.prog-sobretitulo{
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #e7bb55;
}

.prog-hotel{
  margin-top: 10px;
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 4vw, 72px);
  line-height: 1.08;
  color: #fff;
}

.prog-cidade{
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.prog-acoes{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.prog-reservar,
.prog-aba{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, filter .2s ease;
}

.prog-reservar{
  color: #1c1708;
  background: linear-gradient(120deg, #c8952e 0%, #f3d27a 55%, #e2b34e 100%);
  box-shadow: 0 8px 20px rgba(201,149,46,.3);
}

.prog-reservar--esgotado{
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border: 1px dashed rgba(231,187,85,.6);
  box-shadow: none;
  cursor: default;
}

.prog-reservar:not(.prog-reservar--esgotado):hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.prog-aba{
  color: #fff;
  border: 1px solid rgba(231,187,85,.75);
}

.prog-aba:hover{
  background: rgba(231,187,85,.12);
}

.prog-aba[aria-selected="true"]{
  color: #1c1708;
  border-color: transparent;
  background: linear-gradient(120deg, #e9c46a 0%, #f3d27a 45%, #c8952e 100%);
}




/* ================= PAINEL CLARO ================= */

.prog-painel{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 30%);
  gap: 56px;
  align-items: start;
  padding: 58px 58px 64px;
  overflow: hidden;
  background: var(--p-painel);
  border-radius: 34px;
  color: #1d2a20;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

/* Tabelas com mais dias: foto menor */
.prog-painel--larga{
  grid-template-columns: minmax(0, 1fr) minmax(220px, 22%);
  gap: 44px;
}

/* Arco fino decorativo no canto */
.prog-painel::before{
  content: '';
  position: absolute;
  left: -140px;
  top: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(216,168,88,.35);
  border-radius: 50%;
  pointer-events: none;
}

.prog-principal{
  position: relative;
  min-width: 0;
}

.prog-grade-topo{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.prog-grade-sobre{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--p-ouro-escuro);
}

.prog-grade-titulo{
  margin-top: 8px;
  font-family: var(--font-titulo);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.15;
  color: #0e2a12;
}

.prog-legenda{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prog-legenda .prog-tag{
  padding: 6px 16px;
  font-size: 13px;
}




/* ================= TABELA ================= */

.prog-tabela{
  overflow: hidden;
  background: #fcfbf8;
  border: 1px solid #e6e1d6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.prog-tabela__cabecalho,
.prog-tabela__linha{
  display: grid;
}

.prog-tabela__cabecalho{
  background: linear-gradient(90deg, #c8922c 0%, #f3d27a 30%, #d9a645 55%, #f3d27a 78%, #c8922c 100%);
}

.prog-tabela__cabecalho span{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  color: #1c1708;
}

.prog-tabela__cabecalho span + span + span{
  border-left: 1px solid rgba(255,255,255,.45);
}

.prog-tabela__cabecalho .prog-brilho{
  filter: brightness(0);
  opacity: .8;
}

.prog-tabela__hora{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--p-verde-hora);
  font-family: var(--p-mono);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.prog-tabela__cabecalho .prog-tabela__hora{
  font-family: var(--p-texto);
  color: #fff;
}

.prog-relogio{
  color: #e7bb55;
}

.prog-tabela__hora--texto{
  font-family: var(--p-texto);
  font-size: 14px;
  font-weight: 600;
  color: #e7bb55;
}

.prog-tabela__linha + .prog-tabela__linha{
  border-top: 1px solid #ece7dc;
}

.prog-tabela__linha + .prog-tabela__linha .prog-tabela__hora{
  box-shadow: 0 -1px 0 rgba(255,255,255,.28);
}

.prog-tabela__celula{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
}

.prog-tabela__celula + .prog-tabela__celula{
  border-left: 1px solid #ece7dc;
}

.prog-vazio{
  align-self: center;
  color: #c9c3b6;
}




/* ================= CARD DE ATIVIDADE ================= */

.prog-card{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e6e1d6;
  border-radius: 8px;
}

.prog-card__titulo{
  flex: 1 1 150px;
}

.prog-card--destaque{
  background: linear-gradient(90deg, #fcf1d8 0%, #fdf8ec 100%);
  border-color: #ecd193;
}

.prog-card__titulo{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: #1d2a20;
}

.prog-card--destaque .prog-card__titulo{
  font-weight: 700;
  color: #121a14;
}

.prog-card__estrela{
  flex: none;
  color: #c8952e;
  font-size: 14px;
  line-height: 1.45;
}

.prog-card__inc{
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #8a6a1c;
}

.prog-card--destaque .prog-card__inc{
  padding-left: 22px;
}

.prog-tag{
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.prog-tabela--compacta .prog-card{
  padding: 9px 11px;
}

.prog-tabela--compacta .prog-card__titulo{
  flex-basis: 100%;
  font-size: 14px;
}

.prog-tabela--compacta .prog-card .prog-tag{
  font-size: 11px;
  padding: 3px 10px;
}

.prog-tabela--compacta .prog-tabela__cabecalho span{
  font-size: 12px;
  letter-spacing: .1em;
}

.prog-tag--kids{
  background: #fbedc8;
  color: #7a5410;
}

.prog-tag--adultos{
  background: #dff0e0;
  color: #1f6b33;
}

.prog-tag--todos{
  background: #fff;
  border-color: #cfa451;
  color: #6b4a12;
}




/* ================= EM BREVE, NOTA E LINKS ================= */

.prog-embreve{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid #ece3c8;
  border-radius: 12px;
  text-align: center;
}

.prog-embreve p{
  max-width: 780px;
  font-size: 18px;
  line-height: 1.6;
  color: #33362f;
}

.prog-pe{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
}

.prog-nota{
  max-width: 820px;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  color: #85827a;
}

.prog-link{
  flex: none;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--p-ouro-escuro);
  transition: color .2s ease;
}

.prog-link:hover{
  color: #0e2a12;
}




/* ================= FOTO EM ARCO ================= */

.prog-arco{
  position: relative;
  margin: 70px 0 0;
  aspect-ratio: 904 / 1125;
  overflow: hidden;
  border: 2px solid #d8b46a;
  border-radius: 999px 999px 26px 26px;
  box-shadow: 0 24px 50px rgba(60,40,10,.18);
}

.prog-arco img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* ================= RESPONSIVO ================= */

@media (max-width: 1279px){
  .prog-painel{
    grid-template-columns: minmax(0, 1fr) minmax(220px, 26%);
    gap: 36px;
    padding: 44px 40px 48px;
  }

  .prog-topo{
    padding: 36px 40px 34px;
  }

  .prog-card{
    flex-wrap: wrap;
  }
}

@media (max-width: 1023px){
  .prog-pagina{
    padding: 0 0 40px;
  }

  .prog-topo{
    padding: 24px 20px 28px;
  }

  .prog-marca span{
    font-size: 17px;
  }

  .prog-marca img{
    width: 110px;
  }

  .prog-acoes{
    gap: 10px;
  }

  .prog-reservar,
  .prog-aba{
    min-height: 42px;
    padding: 8px 18px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  .prog-painel{
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 12px;
    padding: 32px 18px 36px;
    border-radius: 24px;
  }

  .prog-arco{
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .prog-grade-topo{
    flex-direction: column;
    align-items: flex-start;
  }

  /* A tabela vira lista por horário */
  .prog-tabela{
    border-radius: 10px;
  }

  .prog-tabela__cabecalho{
    display: none;
  }

  .prog-tabela__linha{
    display: block;
  }

  .prog-tabela__hora{
    justify-content: flex-start;
    padding: 10px 14px;
  }

  .prog-tabela__linha + .prog-tabela__linha .prog-tabela__hora{
    box-shadow: none;
  }

  .prog-tabela__celula{
    padding: 10px 12px 12px;
  }

  .prog-tabela__celula + .prog-tabela__celula{
    border-left: 0;
    border-top: 1px dashed #ece7dc;
  }

  .prog-tabela__celula--vazia{
    display: none;
  }

  .prog-tabela__celula::before{
    content: attr(data-dia);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--p-ouro-escuro);
  }

  .prog-card{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .prog-card__titulo,
  .prog-tabela--compacta .prog-card__titulo{
    flex: none;
    font-size: 14px;
  }

  .prog-tag{
    white-space: normal;
  }

  .prog-pe{
    flex-direction: column;
    gap: 16px;
  }

  .prog-link{
    margin-left: 0;
    font-size: 12px;
    letter-spacing: .14em;
  }

  .prog-embreve{
    min-height: 0;
    padding: 36px 20px;
  }

  .prog-embreve p{
    font-size: 15px;
  }
}

@media (max-width: 599px){
  .prog-marca span{
    display: none;
  }

  .prog-acoes{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .prog-reservar{
    grid-column: 1 / -1;
  }

  .prog-aba{
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

.prog-tj{
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 20px;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  color: rgba(255,255,255,.7);
}
