:root {
  --wood-dark: #3e2418;
  --wood: #764b36;
  --wood-light: #9c6a4f;
  --gold: #ebd441;
  --cream: #efe7dd;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(var(--wood-dark), var(--wood));
  color: var(--cream);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(235, 212, 65, 0.95);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/capa.jpg") center / cover no-repeat;
}

.navbar,
.hero-divisor,
section > * {
  width: 100%;
  margin-inline: auto;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  max-width: 1100px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.menu {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
}

.menu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.8rem;
}

.hero-divisor {
  --hero-art-width: min(100%, 640px);
  --hero-art-height: clamp(220px, 28vw, 400px);
  flex: 1;
  max-width: 1300px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-left,
.hero-content,
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  flex-direction: column;
  text-align: center;
}

.hero-content h1 {
  margin: 1em 0;
  font-size: 1.17em;
  font-weight: 700;
  font-family: inherit;
  color: inherit;
  text-shadow:
    0 0 8px rgba(235, 212, 65, 0.55),
    0 2px 6px rgba(235, 212, 65, 0.35);
}

.hero-content h2 {
  margin: 1.67em 0;
  font-size: 0.83em;
  font-weight: 700;
  font-family: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}

section {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
}

section > * {
  max-width: 1100px;
}

h3 {
  font-family: "Rye", cursive;
  margin-top: 0;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.16);
}

.legado {
  text-align: justify;
}

.conclusao {
  text-align: center;
}

.legado p {
  margin: 0;
  line-height: 1.75;
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--cream);
}

.conclusao p {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--cream);
}

.card {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.programacao-local > section {
  min-height: auto;
}

#sobre {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 18px
    ),
    repeating-linear-gradient(
      -135deg,
      rgba(195, 78, 36, 0.08) 0 1px,
      transparent 1px 22px
    ),
    linear-gradient(145deg, #2f1a10 0%, #1a120d 45%, #070707 100%);
}

#sobre .card {
  position: relative;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 18px;
  border: 1px solid rgba(235, 212, 65, 0.35);
  background: rgba(20, 13, 10, 0.62);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

#sobre .card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
        90deg,
        rgba(235, 212, 65, 0.65) 0 14px,
        transparent 14px 26px
      )
      top / calc(100% - 16px) 2px no-repeat,
    repeating-linear-gradient(
        90deg,
        rgba(235, 212, 65, 0.65) 0 14px,
        transparent 14px 26px
      )
      bottom / calc(100% - 16px) 2px no-repeat,
    repeating-linear-gradient(
        180deg,
        rgba(235, 212, 65, 0.65) 0 14px,
        transparent 14px 26px
      )
      left / 2px calc(100% - 16px) no-repeat,
    repeating-linear-gradient(
        180deg,
        rgba(235, 212, 65, 0.65) 0 14px,
        transparent 14px 26px
      )
      right / 2px calc(100% - 16px) no-repeat;
}

#galeria {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  color: var(--wood-dark);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(255, 243, 173, 0.3),
      transparent 28%
    ),
    radial-gradient(
      circle at 86% 22%,
      rgba(255, 199, 92, 0.26),
      transparent 30%
    ),
    radial-gradient(
      circle at 22% 82%,
      rgba(255, 214, 126, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 78% 74%,
      rgba(245, 176, 94, 0.22),
      transparent 32%
    ),
    repeating-conic-gradient(
      from 14deg at 18% 24%,
      rgba(121, 76, 38, 0.2) 0deg 10deg,
      rgba(232, 196, 129, 0.2) 10deg 20deg
    ),
    repeating-conic-gradient(
      from -8deg at 82% 72%,
      rgba(121, 76, 38, 0.18) 0deg 11deg,
      rgba(232, 196, 129, 0.18) 11deg 22deg
    ),
    repeating-radial-gradient(
      circle at 28% 66%,
      rgba(245, 214, 145, 0.34) 0 5px,
      rgba(166, 110, 58, 0.28) 5px 11px
    ),
    repeating-radial-gradient(
      circle at 74% 30%,
      rgba(245, 214, 145, 0.34) 0 5px,
      rgba(166, 110, 58, 0.28) 5px 11px
    ),
    linear-gradient(145deg, #f6e6be 0%, #dfbc7f 50%, #b88345 100%);
  background-blend-mode:
    screen, screen, overlay, overlay, soft-light, soft-light, multiply,
    multiply, normal;
}

#local {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(235, 212, 65, 0.18),
      transparent 36%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(239, 231, 221, 0.08) 0 1px,
      transparent 1px 26px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(239, 231, 221, 0.06) 0 1px,
      transparent 1px 26px
    ),
    linear-gradient(145deg, #26361e 0%, #40522a 56%, #182113 100%);
}

#inscricao {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(
      circle at 58% 38%,
      rgba(255, 231, 174, 0.36),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 44%,
      rgba(255, 216, 144, 0.34),
      transparent 36%
    ),
    radial-gradient(
      circle at 78% 10%,
      rgba(255, 196, 110, 0.3),
      transparent 26%
    ),
    linear-gradient(180deg, #1a2440 0%, #2f3552 42%, #5d4a3d 72%, #8b5f3a 100%);
}

#inscricao::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(170deg, rgba(255, 240, 196, 0.28) 0 13%, transparent 52%),
    linear-gradient(182deg, rgba(255, 234, 178, 0.34) 0 16%, transparent 58%),
    linear-gradient(194deg, rgba(255, 228, 165, 0.38) 0 15%, transparent 56%),
    linear-gradient(206deg, rgba(255, 220, 150, 0.34) 0 16%, transparent 55%),
    linear-gradient(180deg, rgba(14, 20, 34, 0.28) 0 34%, transparent 72%);
  background-blend-mode: screen, screen, screen, screen, multiply;
}

#inscricao::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='%23f4d889' fill-opacity='0.32' font-family='serif'%3E%3Ctext x='20' y='60' font-size='34'%3E%E2%99%AA%3C/text%3E%3Ctext x='112' y='108' font-size='40'%3E%E2%99%AB%3C/text%3E%3Ctext x='36' y='172' font-size='28'%3E%E2%99%AC%3C/text%3E%3Ctext x='156' y='188' font-size='24'%3E%E2%99%A9%3C/text%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='%23ffe7a8' fill-opacity='0.26' font-family='serif'%3E%3Ctext x='40' y='86' font-size='30'%3E%E2%99%AC%3C/text%3E%3Ctext x='156' y='64' font-size='26'%3E%E2%99%AA%3C/text%3E%3Ctext x='92' y='170' font-size='38'%3E%E2%99%AB%3C/text%3E%3Ctext x='198' y='218' font-size='24'%3E%E2%99%A9%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-size:
    250px 250px,
    320px 320px;
  background-position:
    0 -42px,
    120px 20px;
  background-repeat: repeat;
  opacity: 0.62;
}

.fundamental-layout,
#programacao .programacao-content,
.programacao-local {
  display: flex;
}

.fundamental-layout {
  align-items: flex-start;
  gap: 24px;
  margin-top: 32px;
}

.fundamental-text,
.fundamental-figure,
#programacao .programacao-texto,
#programacao .programacao-figura,
.programacao-local > section {
  flex: 1 1 0;
}

.fundamental-figure,
#programacao .programacao-figura {
  margin: 0;
}

.fundamental-figure img,
#programacao .programacao-figura img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.fundamental-figure img {
  height: auto;
  max-height: 420px;
}

.fundamental-figure.foto-nene {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  width: min(100%, 230px);
  align-self: flex-start;
}

.fundamental-figure.foto-nene img {
  width: 100%;
  max-width: 230px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.importancia ul,
#programacao .programacao-texto ul {
  margin: 0;
  padding-left: 1.2rem;
}

.importancia li + li,
#programacao .programacao-texto li + li {
  margin-top: 16px;
}

.fundamental-text .conclusao {
  margin-top: 32px;
}

#programacao {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 232, 171, 0.2),
      transparent 34%
    ),
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 24px
    ),
    linear-gradient(150deg, #73311a 0%, #a24721 52%, #4a1f10 100%);
}

#programacao .programacao-content {
  align-items: flex-start;
  gap: 20px;
}

#programacao .programacao-figura img {
  max-height: 360px;
}

#programacao::before,
#local::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#programacao::before {
  background:
    radial-gradient(
      circle at 14% 22%,
      rgba(255, 214, 120, 0.28) 0 18%,
      transparent 19% 100%
    ),
    radial-gradient(
      circle at 84% 76%,
      rgba(255, 214, 120, 0.16) 0 16%,
      transparent 17% 100%
    );
  opacity: 0.7;
}

#local::before {
  background:
    radial-gradient(
      circle at 82% 78%,
      rgba(255, 255, 255, 0.16) 0 12%,
      transparent 13% 100%
    ),
    radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.14) 0 14%,
      transparent 15% 100%
    );
  opacity: 0.75;
}

#programacao > *,
#local > *,
#inscricao > * {
  position: relative;
  z-index: 1;
}

.regulamento-inline-link,
.regulamento-inline-link:visited,
.regulamento-inline-link:hover,
.regulamento-inline-link:active {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 2px;
  font-weight: 700;
}

.galeria-grid {
  display: flex;
  gap: 20px;
}

.galeria-item1,
.galeria-item2,
.galeria-item3,
.galeria-item4 {
  flex: 1 1 0;
  min-height: 220px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #5f2f1b 0%, #2c170f 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.galeria-item1 {
  padding: 0;
  background: transparent;
}

.galeria-item2,
.galeria-item3,
.galeria-item4 {
  padding: 0;
  align-items: stretch;
}

.galeria-item2 {
  background: linear-gradient(160deg, #28192d 0%, #4f2343 48%, #8f3a4a 100%);
}

.instagram-card {
  width: 100%;
  min-height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  color: #fff7f4;
  text-decoration: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 122, 0.32), transparent 34%),
    linear-gradient(155deg, rgba(28, 16, 34, 0.9) 0%, rgba(87, 29, 79, 0.86) 50%, rgba(205, 87, 76, 0.84) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.instagram-card__header,
.instagram-card__profile,
.instagram-card__description,
.instagram-card__cta {
  position: relative;
  z-index: 1;
}

.instagram-card__pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.instagram-card__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.instagram-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.instagram-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.instagram-card__meta strong {
  font-size: 1.16rem;
  line-height: 1.15;
}

.instagram-card__meta span {
  color: rgba(255, 247, 244, 0.82);
  font-size: 0.98rem;
}

.instagram-card__description {
  margin: 0;
  max-width: 24ch;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 247, 244, 0.92);
}

.instagram-card__cta {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #421d28;
  background: linear-gradient(135deg, #fff2de 0%, #ffd267 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.galeria-item3 {
  background: linear-gradient(160deg, #111111 0%, #232323 50%, #383838 100%);
}

.x-card {
  width: 100%;
  min-height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  color: #f6f7fb;
  text-decoration: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(119, 184, 255, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(14, 18, 24, 0.96) 0%, rgba(22, 30, 42, 0.92) 52%, rgba(50, 68, 92, 0.9) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.x-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.x-card__header,
.x-card__profile,
.x-card__description,
.x-card__cta {
  position: relative;
  z-index: 1;
}

.x-card__pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.x-card__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.x-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.x-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.x-card__meta strong {
  font-size: 1.16rem;
  line-height: 1.15;
}

.x-card__meta span {
  color: rgba(246, 247, 251, 0.76);
  font-size: 0.98rem;
}

.x-card__description {
  margin: 0;
  max-width: 24ch;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(246, 247, 251, 0.9);
}

.x-card__cta {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #0e1218;
  background: linear-gradient(135deg, #f4f8ff 0%, #7ab8ff 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.galeria-item4 {
  background: linear-gradient(160deg, #311313 0%, #651d1d 52%, #9a1f1f 100%);
}

.live-card {
  width: 100%;
  min-height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  color: #fff7f1;
  text-decoration: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(255, 205, 120, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(56, 14, 14, 0.95) 0%, rgba(110, 24, 24, 0.9) 52%, rgba(164, 58, 36, 0.88) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.live-card__header,
.live-card__profile,
.live-card__description,
.live-card__cta {
  position: relative;
  z-index: 1;
}

.live-card__pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.live-card__profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  font-size: 1.3rem;
}

.live-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-card__meta strong {
  font-size: 1.16rem;
  line-height: 1.15;
}

.live-card__meta span {
  color: rgba(255, 247, 241, 0.78);
  font-size: 0.98rem;
}

.live-card__description {
  margin: 0;
  max-width: 24ch;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 247, 241, 0.92);
}

.live-card__cta {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #431915;
  background: linear-gradient(135deg, #fff0d8 0%, #ffb86a 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.galeria-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.galeria-slider-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  cursor: zoom-in;
}

.galeria-slider:fullscreen,
.galeria-slider:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  border-radius: 0;
  background: #000;
}

.galeria-slider:fullscreen .galeria-slider-image,
.galeria-slider:-webkit-full-screen .galeria-slider-image {
  min-height: 0;
  object-fit: contain;
}

.galeria-slider.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  border-radius: 0;
  background: #000;
}

.galeria-slider.is-fullscreen .galeria-slider-image {
  min-height: 0;
  object-fit: contain;
}

.galeria-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.galeria-nav--prev {
  left: 10px;
}

.galeria-nav--next {
  right: 10px;
}

.galeria-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.galeria-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
}

.galeria-dot.is-active {
  background: #fff;
}

@media (min-width: 901px) {
  #galeria {
    padding-block: 28px;
  }

  #sobre {
    padding-block: 28px;
  }

  #sobre .card {
    padding: clamp(16px, 2.2vw, 24px);
  }

  #sobre .fundamental-layout {
    gap: 16px;
    margin-top: 18px;
  }

  #sobre .legado p,
  #sobre .conclusao p,
  #sobre .importancia li {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  #sobre .importancia li + li {
    margin-top: 10px;
  }

  #sobre .fundamental-text .conclusao {
    margin-top: 16px;
  }

  #sobre .fundamental-figure.foto-nene {
    width: min(100%, 200px);
  }

  #sobre .fundamental-figure.foto-nene img {
    max-width: 200px;
  }

  .programacao-local {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    align-items: stretch;
  }

  .programacao-local > section {
    min-height: 100%;
  }

  .galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 12px;
    gap: 14px;
    align-items: stretch;
  }

  .galeria-item1,
  .galeria-item2,
  .galeria-item3,
  .galeria-item4,
  .galeria-slider {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .galeria-slider-image {
    width: 100%;
    height: 100%;
  }
}

.carousel {
  width: calc(var(--hero-art-width) * 0.672);
  height: calc(var(--hero-art-height) * 0.672);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel .logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.8vw, 18px);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.carousel .logo.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel .logo-media {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-main-logo {
  width: var(--hero-art-width);
  height: var(--hero-art-height);
}

.hero-main-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.mapa iframe {
  width: 70%;
  height: 196px;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: var(--radius);
}

.mapa-endereco {
  text-align: center;
}

.mapa-acao {
  margin-top: 16px;
  text-align: center;
}

.rota-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rota-maps-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.inscricao {
  text-align: center;
}

.inscricao .card {
  position: relative;
  padding-inline: clamp(180px, 20vw, 240px);
}

.inscricao .inscricao-ilustracao {
  position: absolute;
  top: -64px;
  width: min(240px, 24vw);
  margin: 0;
  pointer-events: none;
}

.inscricao .inscricao-ilustracao--left {
  left: 0;
  width: min(288px, 28.8vw);
  transform: translateX(-14%);
}

.inscricao .inscricao-ilustracao--right {
  right: 0;
  transform: translateX(8%);
}

.inscricao .inscricao-ilustracao img {
  width: 100%;
  height: auto;
  display: block;
}

.inscricao .card h3,
.inscricao .card p,
.inscricao .card .cta-button {
  max-width: 44rem;
  margin-inline: auto;
}

.inscricao .cta-button {
  display: inline-block;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  background: var(--wood-light);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
}

.footer {
  padding: clamp(28px, 5vw, 44px) clamp(20px, 8vw, 10%);
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
  background:
    linear-gradient(rgba(34, 21, 14, 0.82), rgba(34, 21, 14, 0.82)),
    url("img/madeira.png") center / cover no-repeat;
}

.footer h4 {
  color: var(--gold);
  font-family: system-ui, sans-serif;
  font-size: 1.17em;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
}

.footer-left,
.footer-right {
  width: 48%;
  min-width: 280px;
}

.sponsors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sponsor-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.sponsor-item--stack {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sponsor-item-thumb {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.sponsor-item-thumb--large {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
}

.social-icons a {
  margin-right: 15px;
  color: #fff;
  font-size: 40px;
  transition:
    transform 0.3s,
    color 0.3s;
}

.contact-info {
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-copy {
  width: 100%;
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.footer-copy p {
  margin: 0;
}

.footer-copy-highlight {
  color: var(--gold);
  font-weight: 700;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .instagram-card:hover,
  .x-card:hover,
  .live-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  }

  .rota-maps-btn:hover {
    background: #1765c7;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .social-icons a:hover {
    color: var(--gold);
    transform: scale(1.2);
  }

  .footer-copy a:hover {
    color: rgba(255, 255, 255, 0.82);
  }

  .carousel .logo img:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 900px) {
  .navbar {
    justify-content: flex-end;
  }

  .hero-divisor,
  .fundamental-layout,
  #programacao .programacao-content,
  .programacao-local,
  .footer,
  .galeria-grid {
    flex-direction: column;
  }

  .hero-divisor {
    --hero-art-width: min(100%, 520px);
    --hero-art-height: clamp(180px, 52vw, 280px);
    justify-content: flex-start;
    gap: 4px;
    padding: 72px 12px 8px;
    text-align: center;
  }

  .hero-left,
  .hero-content,
  .hero-right,
  .fundamental-figure.foto-nene,
  .programacao-local > section,
  .footer-left,
  .footer-right {
    width: 100%;
  }

  .hero-left,
  .hero-content,
  .hero-right {
    flex: 0 0 auto;
  }

  .hero-left {
    align-items: center;
    justify-content: center;
    margin-top: clamp(-22px, -5vw, -10px);
  }

  .hero-main-logo {
    width: var(--hero-art-width);
    height: var(--hero-art-height);
    margin-block: -24px -8px;
  }

  .hero-right {
    margin-top: clamp(18px, 6vw, 32px);
  }

  .carousel {
    width: calc(var(--hero-art-width) * 0.72);
    height: calc(var(--hero-art-height) * 0.72);
  }

  .hero-content h1 {
    margin: 0.2rem 0;
    font-size: 0.88em;
    line-height: 1.2;
  }

  .hero-content h2 {
    margin: 0.2rem 0;
    font-size: 0.66em;
    line-height: 1.2;
  }

  .programacao-local > section {
    flex: 0 0 auto;
  }

  #programacao .programacao-content {
    align-items: stretch;
    gap: 16px;
  }

  #programacao .programacao-texto,
  #programacao .programacao-figura {
    width: 100%;
    flex: 0 0 auto;
  }

  #programacao .programacao-figura img {
    max-height: 300px;
  }

  .mapa iframe {
    width: 100%;
    height: 240px;
  }

  .menu {
    position: absolute;
    top: 70px;
    right: 20px;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.95);
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer {
    padding: 32px 20px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    margin-bottom: 30px;
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .sponsors {
    justify-content: center;
  }

  .inscricao .inscricao-ilustracao {
    position: static;
    width: min(220px, 70vw);
    margin: 0 auto 20px;
    transform: none;
  }

  .inscricao .inscricao-ilustracao--right {
    order: -1;
  }

  .inscricao .inscricao-ilustracao--left {
    order: 2;
    margin: 20px auto 0;
  }

  .inscricao .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 0;
  }

  .fundamental-figure.foto-nene img {
    margin-inline: auto;
  }

  .instagram-card,
  .x-card,
  .live-card {
    padding: 16px;
    gap: 10px;
  }

  .instagram-card__profile,
  .x-card__profile,
  .live-card__profile {
    gap: 10px;
  }

  .instagram-card__avatar,
  .x-card__avatar,
  .live-card__avatar {
    width: 54px;
    height: 54px;
  }

  .live-card__avatar {
    font-size: 1.05rem;
  }

  .instagram-card__pill,
  .x-card__pill,
  .live-card__pill {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .instagram-card__meta strong,
  .x-card__meta strong,
  .live-card__meta strong {
    font-size: 0.9rem;
  }

  .instagram-card__meta span,
  .x-card__meta span,
  .live-card__meta span {
    font-size: 0.76rem;
  }

  .instagram-card__description,
  .x-card__description,
  .live-card__description {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .instagram-card__cta,
  .x-card__cta,
  .live-card__cta {
    padding: 7px 11px;
    font-size: 0.72rem;
  }

  #galeria {
    background:
      radial-gradient(circle at 18% 20%, rgba(255, 243, 173, 0.22), transparent 34%),
      radial-gradient(circle at 82% 78%, rgba(245, 176, 94, 0.18), transparent 34%),
      linear-gradient(145deg, #f6e6be 0%, #dfbc7f 50%, #b88345 100%);
  }

  #inscricao::after {
    opacity: 0.42;
    background-size:
      180px 180px,
      220px 220px;
  }

}
