/* ======================================================================
   FESTA DA ESCOLA — SISTEMA CSS CONSOLIDADO
   Compatibilidade: Bootstrap 4, Safari móvel e navegadores modernos
   ====================================================================== */

/* 01. VARIÁVEIS GLOBAIS ------------------------------------------------ */

:root {
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;

  --color-white: #ffffff;
  --color-bg: #f9f8f0;
  --color-bg-garden: #f9f8f0;
  --color-text: #101010;
  --color-muted: #6f665d;
  --color-line: rgba(16, 16, 16, 0.18);
  --color-accent: #ff3333;
  --color-footer: #66ccff;
  --color-green: #339933;
  --color-am: #f6ed41;

  --gutter: 16px;
  --gutter: clamp(16px, 4vw, 72px);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 104px;
  --space-8: 144px;

  --font-xs: 12px;
  --font-sm: 14px;
  --font-sm: clamp(13px, 0.85vw, 15px);
  --font-body: 16px;
  --font-body: clamp(16px, 1.05vw, 18px);
  --font-lead: 20px;
  --font-lead: clamp(20px, 1.65vw, 27px);
  --font-card: 24px;
  --font-card: clamp(23px, 2.2vw, 34px);
  --font-section: 32px;
  --font-section: clamp(32px, 4vw, 56px);
  --font-page: 35px;
  --font-page: clamp(35px, 4vw, 68px);
  --font-home: 54px;
  --font-home: clamp(54px, 8vw, 150px);

  --header-height: 88px;
}

/* 02. BASE E LEGIBILIDADE ---------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  min-height: -webkit-fill-available;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  min-height: -webkit-fill-available;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  line-height: 1.52;
}

body.page-garden {
  background: var(--color-bg-garden);
}

body.page-home {
  padding-top: 0;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

main {
  min-width: 0;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

p,
ul,
ol {
  margin-top: 0;
}

p {
  max-width: 68ch;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
}

/* 02A. AVISO DE COOKIES ------------------------------------------------ */

.cookiealert {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2500;
  display: none;
  margin: 0;
  padding: 14px var(--gutter);
  color: var(--color-text);
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-radius: 0;
  text-align: center;
}

.cookiealert.show {
  display: block;
}

.cookiealert-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: var(--font-sm);
}

.cookiealert a {
  text-decoration: underline;
}

.cookiealert .acceptcookies {
  margin-left: 4px;
  padding: 6px 12px;
  font-size: 13px;
}

/* 03. TIPOGRAFIA ------------------------------------------------------- */

.page-label,
.section-label {
  margin: 0 0 var(--space-2);
  color: var(--color-accent);
  font-size: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
}

.page-label_2,
.section-label_2 {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
}

.page-title {
  max-width: 35ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-page);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}


.page-subtitle {
  max-width: 45ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 48px);
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 3rem;
  text-align: left;
}

.page-title--wide {
  max-width: 36ch;
}

.section-title,
.section-day {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-section);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}


.section-title-program,
.section-day {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-section);
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-day {
  color: var(--color-accent);
}

.section-title--wide {
  max-width: 70ch;
}

.section-title-program--wide {
  max-width: 70ch;
}

.block-title {
  margin: 0 0 var(--space-2);
  font-size: var(--font-card);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.block-title--spaced {
  margin-top: var(--space-5);
}

.card-title {
  margin: 0 0 var(--space-2);
  font-size: var(--font-card);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lead,
.text-block--lead > p:first-child {
  font-size: var(--font-lead);
  letter-spacing: -0.018em;
  line-height: 1.34;
}

.note,
.page-note {
  color: var(--color-text);
  font-size: var(--font-sm);
  line-height: 1.45;
}

.text-link {
  text-decoration: underline;
}

/* 04. CABEÇALHO E NAVEGAÇÃO -------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .site-header {
  position: absolute;
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner,
.site-header__inner > .row {
  height: 100%;
}

.site-brand {
  font-size: 32px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.site-header__menu {
  position: relative;
  display: inline-block;
}

.menu-trigger {
  padding: 8px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-size: clamp(21px, 3.3vw, 44px);
  line-height: 1;
  cursor: pointer;
}

#festivalMenuButton {
  color: var(--color-accent);
}

#festivalMenuButton:focus,
#festivalMenuButton:active {
  color: var(--color-accent);
}

@media (hover: hover) and (pointer: fine) {
  #festivalMenuButton:hover {
    color: var(--color-text);
  }
}


.site-header__menu:hover .desktop-submenu,
.site-header__menu:focus-within .desktop-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-submenu a {
  display: block;
  padding: 7px 4px;
  font-size: 14px;
  text-decoration: none;
}

.desktop-submenu a span {
  color: var(--color-muted);
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
}

.menu-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-overlay.is-open .menu-overlay__backdrop {
  opacity: 1;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 460px;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--color-line);
}

.menu-panel__header p {
  margin: 0;
  font-weight: 700;
}

.menu-panel__close {
  padding: 8px;
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-panel__intro {
  padding: 36px 0;
}

.menu-panel__intro h2 {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.menu-panel__intro a {
  color: var(--color-accent);
  text-decoration: none;
}

.menu-panel__intro p {
  margin: 0;
  color: var(--color-accent);
  font-size: 16px;
}

.menu-accordion {
  border-top: 1px solid var(--color-line);
}

.menu-accordion:last-child {
  border-bottom: 1px solid var(--color-line);
}

.menu-accordion summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.menu-accordion summary::-webkit-details-marker {
  display: none;
}

.menu-accordion summary span {
  font-size: 24px;
}

.menu-accordion summary small {
  color: var(--color-muted);
  font-size: 13px;
}

.menu-accordion__links {
  padding: 0 0 18px 20px;
}

.menu-accordion__links a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  text-decoration: none;
}

/* 05. SECÇÕES, CAIXAS E IMAGENS ---------------------------------------- */

.page-hero,
.section {
  padding: var(--space-7) var(--gutter);
  border-bottom: 1px solid var(--color-green);
}

.page-hero {
  padding-top: var(--space-8);
}

.section--compact {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.section--flush-top {
  padding-top: 0;
}

.section--media {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.page-hero__heading,
.section-heading {
  padding-right: 32px;
}

.section-heading--padded {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-note {
  max-width: 74ch;
  margin-top: 24px;
}

.text-block {
  max-width: 74ch;
}

.text-block p {
  margin-bottom: 18px;
}

.content-block {
  padding-top: 42px;
  padding-bottom: 42px;
}

.media-frame + .content-block {
  margin-top: 48px;
}

.support-groups > .content-block,
.row > .content-block {
  margin-top: 0;
}

.block-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.media-frame {
  width: 100%;
  margin: 0 0 48px;
  overflow: hidden;
  background: transparent;
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-frame--contain {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
}

.media-frame--contain img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.media-frame--wide img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.card-list {
  margin-right: -12px;
  margin-left: -12px;
}

.content-card {
  padding: 28px 12px 34px;
  border-top: 1px solid var(--color-line);
}

.card-number {
  margin-bottom: 32px;
  color: var(--color-accent);
  font-size: var(--font-sm);
}

.data-list {
  border-top: 1px solid var(--color-line);
}

.data-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--color-line);
}

.data-row h3 {
  margin: 0 0 8px;
  font-size: var(--font-card);
  font-weight: 500;
  line-height: 1.15;
}

.data-row h3 a {
  text-decoration: none;
}

.data-row p {
  margin: 0;
}

.data-row--action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.data-row--two {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr);
  gap: 24px;
}

.data-row--two h3 {
  font-size: var(--font-body);
  font-weight: 600;
}

.data-row--two h3 small {
  color: var(--color-muted);
  font-size: 0.85em;
  font-weight: 400;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list li span {
  float: right;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.plain-list--columns {
  columns: 2;
  column-gap: 48px;
}

.support-groups > [class*="col-"] {
  padding-right: 24px;
  padding-left: 24px;
}

.coproduction {
  background: rgba(16, 16, 16, 0.035);
}

/* 06. HOME — HERO ORIGINAL --------------------------------------------- */

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  animation-duration: 14s;
  animation-iteration-count: infinite;
}

.home-hero__image--pt {
  opacity: 1;
  animation-name: bgPt;
}

.home-hero__image--en {
  animation-name: bgEn;
}

.home-hero__veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 232, 0.92),
    rgba(255, 248, 232, 0.56) 54%,
    rgba(255, 248, 232, 0.2)
  );
}

.home-marquee {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 54px;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 248, 232, 0.78);
}

.home-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee 30s linear infinite;
}

.home-marquee__track span {
  margin-right: 46px;
  font-size: 22px;
  white-space: nowrap;
}

.home-hero__content {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header-height) + 90px) var(--gutter) 60px;
}

.home-hero__panels {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.home-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  animation-duration: 14s;
  animation-iteration-count: infinite;
}

.home-panel--pt {
  opacity: 1;
  animation-name: panelPt;
}

.home-panel--en {
  animation-name: panelEn;
}

.home-title {
  max-width: 24ch;
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: var(--font-home);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.home-panel__side {
  padding-top: 48px;
  text-align: center;
}

.home-date,
.home-place {
  margin: 0;
  font-size: 24px;
  font-size: clamp(24px, 2.7vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.home-place {
  color: var(--color-accent);
}

.home-lead {
  max-width: 18ch;
  margin: 46px 0 0 auto;
  font-family: var(--font-serif);
  font-size: 28px;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1;
}

.home-tags {
  margin: 50px 0 0;
  font-size: var(--font-card);
}

.home-links {
  border-top: 3px solid var(--color-text);
}

.home-links a {
  padding-top: 24px;
  padding-bottom: 24px;
  border-right: 3px solid var(--color-text);
  font-size: 20px;
  font-size: clamp(20px, 2vw, 30px);
  text-align: center;
  text-decoration: none;
}

.home-links a:last-child {
  border-right: 0;
}

@keyframes bgPt {
  0%,
  43%,
  100% {
    opacity: 1;
  }

  50%,
  93% {
    opacity: 0;
  }
}

@keyframes bgEn {
  0%,
  43%,
  100% {
    opacity: 0;
  }

  50%,
  93% {
    opacity: 1;
  }
}

@keyframes panelPt {
  0%,
  43%,
  100% {
    opacity: 1;
    pointer-events: auto;
  }

  50%,
  93% {
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes panelEn {
  0%,
  43%,
  100% {
    opacity: 0;
    pointer-events: none;
  }

  50%,
  93% {
    opacity: 1;
    pointer-events: auto;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 06A. HOME — CAPA COM IMAGEM ------------------------------------------ */

.home-cover {
  position: relative;
  min-height: 620px;
  min-height: clamp(720px, 82vh, 900px);
  overflow: hidden;
  background-color: #f3eee4;
}

@supports (height: 100svh) {
  .home-cover {
    min-height: clamp(620px, 82svh, 900px);
  }
}

.home-cover-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background-color: #f3eee4;
}

.home-cover-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.home-cover-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-top: clamp(100px, 10vh, 150px);
  padding-bottom: 100px;
  padding-bottom: clamp(100px, 10vh, 150px);
}

.home-cover-row {
  width: 100%;
}

.home-cover-text {
  text-align: center;
}

.home-cover-title {
  max-width: 70ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 42px;
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.home-cover-info {
  margin-top: 24px;
  margin-top: clamp(24px, 4vw, 48px);
  padding: 0;
  color: var(--color-accent);
}

.home-cover-date {
  font-family: var(--font-serif);
  max-width: 100ch;
  margin: 0 auto;
  font-size: 22px;
  font-size: clamp(22px, 2.4vw, 48px);
  line-height: 1.1;
}

.home-cover-location {
  margin: 8px auto 0;
  font-size: 20px;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.15;
}

/* 07. PROGRAMA --------------------------------------------------------- */

.program-list {
  padding-right: var(--gutter);
  padding-bottom: var(--space-8);
  padding-left: var(--gutter);
}

.program-day {
  padding-top: var(--space-7);
}

.program-day__header {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-green);
}

.program-day__header .section-title {
  max-width: none;
}

.program-day__header .section-title span {
  display: block;
  margin-top: 6px;
  color: var(--color-green);
  font-family: var(--font-sans);
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0;
}

.section-title-program span {
  display: block;
  margin-top: 6px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0;
}

.program-day__image {
  min-height: 220px;
  margin-top: 52px;
  margin-bottom: 52px;
}

.program-item {
  padding: 38px 0;
  border-top: 1px solid var(--color-line);
}

.program-item-none {
  padding: 38px 0;

}

.program-time strong {
  display: block;
  font-size: 21px;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.1;
}

.program-time small {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.program-category {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.program-title {
  max-width: 28ch;
  margin: 0 0 16px;
  font-size: var(--font-card);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-decoration: none;
}

.program-title span {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 0.72em;
  font-weight: 400;
}

.program-body > p:not(.program-category):not(.program-meta) {
  max-width: 66ch;
}

.program-meta {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.program-closing-image {
  max-width: 880px;
  margin: var(--space-7) auto 0;
}

/* 08. MULTIMÉDIA ------------------------------------------------------- */

.edition-accordion {
  border-top: 1px solid var(--color-line);
}

.edition-accordion:last-child {
  border-bottom: 1px solid var(--color-line);
}

.edition-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
}

.edition-accordion summary::-webkit-details-marker {
  display: none;
}

.edition-accordion summary::after {
  content: "+";
  font-size: 34px;
  font-weight: 300;
}

.edition-accordion[open] summary::after {
  content: "–";
}

.edition-accordion summary > strong {
  min-width: 140px;
  font-family: var(--font-serif);
  font-size: 38px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
}

.edition-accordion summary > span {
  flex: 1;
  font-size: var(--font-card);
}

.edition-accordion summary small {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.edition-content {
  padding: 20px 0 90px;
}

.section-heading-row {
  margin-bottom: 32px;
}

.gallery-row {
  margin-right: -6px;
  margin-left: -6px;
}

.gallery-item {
  margin: 0 0 22px;
  padding-right: 6px;
  padding-left: 6px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--font-xs);
}

.video-section {
  margin-top: 90px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

@supports (aspect-ratio: 16 / 9) {
  .video-frame {
    padding-top: 0;
    aspect-ratio: 16 / 9;
  }
}

.video-frame iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding-top: 18px;
}

/* 09. TICKER ----------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.ticker__track {
  display: flex;
  width: max-content;
  padding: 12px 0;
  animation: marquee 48s linear infinite;
}

.ticker__track span {
  margin-right: 42px;
  font-size: 20px;
  white-space: nowrap;
  color: var(--color-green);
}

/* 10. RODAPÉ ----------------------------------------------------------- */

.site-footer {
  color: var(--color-text);
  background: var(--color-footer);
  border-top: 3px solid var(--color-text);
}

.site-footer__main {
  padding: 46px var(--gutter);
}

.footer-block {
  padding-right: 32px;
  padding-bottom: 24px;
}

.footer-brand > a {
  display: inline-block;
  font-size: 72px;
  font-size: clamp(72px, 7vw, 110px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
}

.footer-brand p {
  margin-top: 5px;
  font-size: var(--font-page);
}

.footer-block h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.footer-block address,
.footer-block p {
  margin-bottom: 16px;
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
}

.footer-block a {
  font-size: 16px;
}

.site-footer__bottom {
  padding: 14px var(--gutter);
  border-top: 3px solid #000000;
}

.footer-social a {
  margin-left: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-copyright p {
  margin: 0;
  font-size: 12px;
}

/* 11. BREAKPOINTS ------------------------------------------------------ */

@media (max-width: 1199.98px) {
  :root {
    --space-8: 120px;
  }

  .plain-list--columns {
    columns: 1;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 82px;
    --space-7: 82px;
    --space-8: 110px;
  }

  .desktop-submenu {
    display: none;
  }

  .page-hero__heading,
  .section-heading {
    margin-bottom: 48px;
    padding-right: 15px;
  }

  .page-title {
    max-width: 36ch;
  }

  .page-subtitle {
    font-size: 10px;
    font-size: clamp(21px, 6.5vw, 29px);
    line-height: 0.98;
    line-height: 3rem;
  }

  .section-title {
    max-width: 35ch;
  }

  .home-hero__content {
    padding-top: calc(var(--header-height) + 90px);
  }

  .home-hero__panels {
    min-height: 690px;
  }

  .home-panel__side {
    padding-top: 30px;
    text-align: center;
  }

  .home-lead {
    margin-left: 0;
  }

  .home-links a {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
  }

  .footer-social,
  .footer-copyright {
    margin-top: 10px;
    text-align: right;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-height: 76px;
    --space-7: 64px;
    --space-8: 92px;
  }

  .page-title {
    font-size: 30px;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 0.98;
    max-width: 40ch;
  }

  .page-subtitle {

    font-size: clamp(10px, 5vw, 42px);
    line-height: 0.98;
    line-height: 2rem;
    text-align:left;

  }

  .section-title {
    font-size: 30px;
    font-size: clamp(30px, 8vw, 46px);

  }

  .page-hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .page-hero {
    padding-top: 78px;
  }

  .media-frame--contain {
    min-height: 220px;
  }

  .data-row--action,
  .data-row--two {
    display: block;
  }

  .data-row--action > a {
    display: inline-block;
    margin-top: 14px;
  }

  .plain-list--columns {
    columns: 1;
  }

  .program-time {
    margin-bottom: 18px;
  }

  .program-day__image {
    min-height: 180px;
  }

  .edition-accordion summary {
    gap: 16px;
  }

  .edition-accordion summary > strong {
    min-width: 90px;
  }

  .footer-social a:first-child {
    margin-left: 0;
  }

  .home-cover {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .home-cover-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 1;
    width: 100%;
    height: 125vw;
    max-height: 760px;
  }

  @supports (aspect-ratio: 4 / 5) {
    .home-cover-media {
      height: auto;
      max-height: none;
      aspect-ratio: 4 / 5;
    }
  }

  .home-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .home-cover-overlay {
    display: none;
  }

  .home-cover-content {
    position: relative;
    order: 2;
    min-height: 0;
    padding: 40px 20px 52px;
  }

  .home-cover-row {
    min-height: 0;
  }

  .home-cover-text {
    text-align: center;
    transform: none;
  }

  .home-cover-kicker {
    margin: 0 auto 18px;
  }

  .home-cover-title {
    max-width: 100%;
    color: var(--color-accent);
    font-size: 54px;
    font-size: clamp(54px, 18vw, 82px);
    line-height: 0.88;
  }

  .home-cover-info {
    margin-top: 28px;
    padding: 0;
    color: var(--color-accent);
  }

  .home-cover-date {
    max-width: 22ch;
    color: var(--color-accent);
    font-size: 21px;
    font-size: clamp(21px, 6.5vw, 29px);
  }

  .home-cover-location {
    color: var(--color-accent);
    font-size: 19px;
    font-size: clamp(19px, 5.8vw, 26px);
  }

  #festivalMenuButton {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --font-body: 16px;
    --font-lead: 20px;
    --font-card: 24px;
  }

  .site-brand {
    font-size: 32px;
  }

  .menu-trigger {
    font-size: 24px;
  }

  .home-marquee {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .home-hero__image--pt {
    opacity: 0.28;
    animation: none;
  }

  .home-hero__image--en {
    display: none;
  }

  .home-hero__veil {
    background: linear-gradient(
      rgba(255, 248, 232, 0.72),
      rgba(255, 248, 232, 0.98)
    );
  }

  .home-hero__content {
    display: block;
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .home-hero__panels {
    min-height: auto;
  }

  .home-panel {
    position: relative;
    opacity: 1;
    animation: none;
  }

  .home-panel--en {
    display: none;
  }

  .home-title {
    font-size: 50px;
    font-size: clamp(50px, 17vw, 76px);
  }

  .home-date,
  .home-place {
    font-size: 24px;
  }

  .home-lead {
    margin-top: 30px;
    font-size: 30px;
  }

  .home-tags {
    margin-top: 30px;
  }

  .block-heading {
    display: block;
  }

  .content-block {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .edition-accordion summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .edition-accordion summary > span {
    flex-basis: calc(100% - 54px);
  }

  .edition-accordion summary > strong {
    min-width: 0;
    flex-basis: 100%;
  }

  .site-footer__main {
    padding: 34px 16px;
  }

  .site-footer__bottom {
    padding: 14px 16px;
  }

  .footer-social,
  .footer-copyright {
    text-align: left;
  }

  .footer-social a {
    margin-right: 12px;
    margin-left: 0;
  }
}

/* 12. ACESSIBILIDADE E MOVIMENTO REDUZIDO ------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .home-panel--pt {
    opacity: 1;
  }

  .home-panel--en,
  .home-hero__image--en {
    display: none;
  }
}



/* Centra todo o conteúdo dentro da hero. */
.home-cover-content {
  position: relative;
  z-index: 2;

  display: flex;

  /* Centro horizontal. */
  justify-content: center;

  /* Centro vertical. */
  align-items: center;

  min-height: inherit;

  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 120px);
}


/* A linha Bootstrap ocupa toda a largura disponível. */
.home-cover-row {
  width: 100%;
  min-height: inherit;

  justify-content: center;
  align-items: center;

  text-align: center;
}


/* Centra o pequeno texto institucional. */
.home-cover-kicker {
  max-width: 42ch;

  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;

  text-align: center;
}


/* Centra o título principal. */
.home-cover-title {
  max-width: 10ch;

  margin-right: auto;
  margin-left: auto;

  text-align: center;
}


/* Centra a data e a localização. */
.home-cover-info {
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: 0;

  text-align: center;
}


/* Impede que a largura máxima desloque a data. */
.home-cover-date {
  max-width: 28ch;

  margin-right: auto;
  margin-left: auto;

  text-align: center;
}


.home-cover-location {
  margin-right: auto;
  margin-left: auto;

  text-align: center;
}

