/* Agenda de eventos: dados primeiro, sem ornamentos ou conteúdo demonstrativo. */
.events, .agenda-page {
  --agenda-bg: #0f0c09;
  --agenda-panel: #1a1510;
  --agenda-cream: #f3e9d8;
  --agenda-gold: #d9b27c;
  --agenda-hover: #e8c796;
  --agenda-border: rgba(217,178,124,.18);
  --agenda-muted: rgba(243,233,216,.75);
  --agenda-radius: 8px;
  --agenda-button-radius: 4px;
  --agenda-transition: 180ms ease;
  color: var(--agenda-cream);
}
.events { background: var(--agenda-bg); padding-block: 112px; }
.agenda-container { width: 100%; margin-inline: auto; padding-inline: calc(var(--nav-side) + 8px); }
.agenda-content { width: 100%; max-width: 1280px; margin-inline: auto; }
.agenda-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.agenda-heading h2 { font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 500; line-height: 1.05; color: var(--agenda-cream); }
.agenda-intro { max-width: 520px; margin-top: 16px; font-size: 15.5px; line-height: 1.7; color: var(--agenda-muted); }
.agenda-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.agenda-feature { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); overflow: hidden; border: 1px solid var(--agenda-border); border-radius: var(--agenda-radius); background: #1a150f; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.agenda-feature + .agenda-row { margin-top: 8px; }
.agenda-poster { min-width: 0; min-height: 400px; position: relative; display: grid; align-items: center; padding: 32px; background: #241c14; }
.agenda-poster p { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.agenda-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.agenda-feature-copy { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 40px; }
.agenda-feature-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.agenda-feature-top p { color: var(--agenda-muted); font-size: 14px; line-height: 1.6; }
.agenda-feature-copy :is(h1, h3) { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--agenda-cream); overflow-wrap: anywhere; }
.agenda-meta { font-size: 16px; line-height: 1.7; color: rgba(243,233,216,.88); }
.agenda-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px 40px; margin: 0; }
.agenda-stat { min-width: 0; }
.agenda-stat dt { font-size: 12.5px; line-height: 1.5; color: var(--agenda-gold); text-transform: uppercase; letter-spacing: .14em; }
.agenda-stat dd { margin: 8px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; }
.agenda-categories { min-width: 0; }
.agenda-categories table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 15px; line-height: 1.6; }
.agenda-categories caption { text-align: left; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.agenda-categories th, .agenda-categories td { padding: 12px 8px; vertical-align: middle; overflow-wrap: anywhere; }
.agenda-categories th:first-child { width: 40%; padding-left: 0; }
.agenda-categories td:last-child, .agenda-categories th:last-child { padding-right: 0; }
.agenda-categories thead th { font-size: 12.5px; font-weight: 500; color: var(--agenda-muted); }
.agenda-categories tbody th { font-weight: 500; }
.agenda-categories tbody tr { border-top: 1px solid rgba(217,178,124,.12); }
.agenda-categories .is-soldout { color: rgba(243,233,216,.6); }
.agenda-categories progress { display: block; appearance: none; width: 100%; height: 4px; margin-top: 8px; border: 0; background: rgba(217,178,124,.18); color: var(--agenda-gold); }
.agenda-categories progress::-webkit-progress-bar { background: rgba(217,178,124,.18); }
.agenda-categories progress::-webkit-progress-value { background: var(--agenda-gold); }
.agenda-categories progress::-moz-progress-bar { background: var(--agenda-gold); }
.agenda-attractions { font-size: 15px; line-height: 1.7; color: rgba(243,233,216,.85); }
.agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.agenda-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--agenda-gold); border-radius: var(--agenda-button-radius); background: var(--agenda-gold); color: #1a130c; font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; transition: background-color var(--agenda-transition), border-color var(--agenda-transition); }
.agenda-button:hover { background: var(--agenda-hover); border-color: var(--agenda-hover); }
.agenda-button:active { background: #c99a5b; border-color: #c99a5b; }
.agenda-button-secondary { background: rgba(15,12,9,.55); border-color: rgba(217,178,124,.45); color: var(--agenda-cream); font-weight: 500; }
.agenda-button-secondary:hover { background: rgba(217,178,124,.14); border-color: var(--agenda-gold); }
.agenda-text-link { min-height: 48px; display: inline-flex; align-items: center; font-size: 15px; line-height: 1.6; color: var(--agenda-cream); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color var(--agenda-transition); }
.agenda-text-link:hover { text-decoration-color: var(--agenda-gold); }
.agenda-tag { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; gap: 8px; padding: 6px 10px; border: 1px solid transparent; border-radius: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }
.agenda-tag-open { background: rgba(217,178,124,.16); color: #e8c796; }
.agenda-tag-open::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.agenda-tag-last { background: rgba(201,106,60,.18); color: #f0a070; }
.agenda-tag-soldout { background: rgba(255,255,255,.08); color: rgba(243,233,216,.7); }
.agenda-tag-soon { border-color: rgba(217,178,124,.5); color: var(--agenda-gold); }
.agenda-tag-ended, .agenda-tag-closed { background: rgba(255,255,255,.06); color: rgba(243,233,216,.7); }
.agenda-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 24px 28px; background: #1a150f; border: 1px solid var(--agenda-border); border-radius: var(--agenda-radius); cursor: pointer; transition: border-color var(--agenda-transition), background-color var(--agenda-transition); }
.agenda-row:hover { border-color: rgba(217,178,124,.6); background: #211a12; }
.agenda-date-block { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 88px; flex: 0 0 80px; border: 1px solid rgba(217,178,124,.3); border-radius: 4px; }
.agenda-date-block span:first-child { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; }
.agenda-date-block span:last-child { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--agenda-gold); text-transform: uppercase; }
.agenda-row-copy { flex: 1 1 240px; min-width: 0; }
.agenda-row h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.agenda-title-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--agenda-cream); }
.agenda-row .agenda-meta { font-size: 14.5px; color: var(--agenda-muted); }
.agenda-row-prize { margin: 0; }
.agenda-row .agenda-stat dd { font-size: 24px; }
.agenda-row .agenda-tag { align-self: center; }
.agenda-row .agenda-actions { margin-left: auto; }
.agenda-empty { padding: 56px; border-radius: var(--agenda-radius); background: #1a150f; }
.agenda-empty h3 { max-width: 720px; font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.15; }
.agenda-empty > p { max-width: 620px; margin-top: 20px; font-size: 16px; line-height: 1.75; color: rgba(243,233,216,.8); }
.agenda-empty .agenda-actions { margin-top: 32px; }
.agenda-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.events :is(a, button):focus-visible, .agenda-page :is(a, button):focus-visible { outline: 2px solid #e8c796; outline-offset: 3px; }
.agenda-list:focus-visible { outline: 2px solid #e8c796; outline-offset: 3px; }
.agenda-page > h1 { font-family: var(--serif); font-size: 40px; font-weight: 600; margin-bottom: 24px; }
.agenda-page > p { font-size: 16px; line-height: 1.7; }
@media (max-width: 1100px) {
  .agenda-heading { align-items: flex-start; flex-direction: column; }
  .agenda-feature-copy { padding: 32px; }
}
@media (max-width: 767px) {
  .events { padding-block: 72px; }
  .agenda-container { padding-inline: calc(var(--nav-side) + 4px); }
  .agenda-heading { gap: 24px; }
  .agenda-feature { grid-template-columns: minmax(0, 1fr); }
  .agenda-poster { min-height: 0; aspect-ratio: 4 / 3; padding: 24px; }
  .agenda-feature-copy { padding: 24px; }
  .agenda-feature-copy :is(h1, h3), .agenda-empty h3 { font-size: 36px; }
  .agenda-stats { display: flex; flex-direction: column; gap: 16px; }
  .agenda-stats .agenda-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .agenda-stats .agenda-stat dd { margin: 0; text-align: right; }
  .agenda-stats .agenda-stat dt { letter-spacing: .08em; }
  .agenda-actions { flex-direction: column; align-items: stretch; }
  .agenda-actions .agenda-button { width: 100%; min-height: 52px; padding-inline: 16px; }
  .agenda-text-link { justify-content: center; text-align: center; }
  .agenda-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 24px; }
  .agenda-row-copy { grid-column: 2; }
  .agenda-row.has-no-date .agenda-row-copy { grid-column: 1 / -1; }
  .agenda-row-prize, .agenda-row .agenda-tag, .agenda-row .agenda-actions { grid-column: 1 / -1; }
  .agenda-row .agenda-actions { margin: 0; }
  .agenda-empty { padding: 32px 24px; }
  .agenda-categories th, .agenda-categories td { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) { .events *, .agenda-page * { transition: none !important; } }

/* O anúncio horizontal também permanece integral na página de detalhes. */
.agenda-page .agenda-feature.agenda-landscape { grid-template-columns:minmax(0,1fr); }
.agenda-page .agenda-landscape .agenda-poster { min-height:0; aspect-ratio:3/1; }
.agenda-page .agenda-landscape .agenda-poster img { object-fit:contain; }
