:root {
  --cream: #0b0b0b;
  --sand: #111111;
  --clay: #ff1808;
  --ink: #f3f3f3;
  --muted: #b0b0b0;
  --white: #f3f3f3;
  --panel: #141414;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.14) 2px, transparent 2px),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    #000000;
  background-size: 220px 220px, 180px 180px, 240px 240px, 200px 200px, auto;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}

img + h2,
img + h3 {
  margin-top: 16px;
}

.video-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tabs {
  margin-top: 28px;
  padding: 18px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 24, 8, 0.25);
  border-radius: 16px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab-button {
  border: 1px solid rgba(255, 24, 8, 0.3);
  background: transparent;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tab-button.is-active {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.tab-panel {
  display: grid;
  gap: 12px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel p,
.tab-panel div {
  margin-bottom: 10px;
}

.tab-panel a {
  text-decoration: underline;
}

.tab-panel,
.tab-panel p,
.tab-panel div,
.tab-panel a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 24, 8, 0.25);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo img {
  max-height: 42px;
  width: auto;
  height: auto;
  border-radius: 0;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-items: center;
}

.main-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.main-nav a:hover {
  border-color: var(--clay);
}

.nav-dropdown {
  position: relative;
}

.nav-toggle {
  border: none;
  background: none;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  color: inherit;
}

.nav-dropdown:hover .nav-toggle,
.nav-dropdown:focus-within .nav-toggle {
  border-color: var(--clay);
}

.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #0f0f0f;
  border: 1px solid rgba(255, 24, 8, 0.25);
  border-radius: 12px;
  padding: 14px 12px 10px;
  min-width: 200px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  gap: 8px;
  text-transform: none;
}

.nav-menu a {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  border-bottom: none;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: flex;
}

.hero {
  padding: 70px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero-inner.hero-stacked {
  display: flex;
  flex-direction: column;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 16px;
  line-height: 1.2;
}

.hero-stacked .hero-text {
  text-align: center;
}

.hero-stacked .hero-text-bottom {
  text-align: center;
}

.hero-constellation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.star-link {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.star-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.2) 65%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 18px;
  background: var(--clay);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.event-menu-grid .event-menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 0;
  width: 100%;
}

.hero-media {
  background: var(--panel);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-media-plain {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.hero-media-plain img {
  border-radius: 0;
  margin: 0;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}



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

.hub-media img {
  animation: hub-pulse 3.2s ease-in-out infinite;
}

@keyframes hub-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.cosmos-twinkle {
  animation: cosmos-twinkle 2.4s ease-in-out infinite;
}

@keyframes cosmos-twinkle {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
  }
}

.cosmos-orbit {
  position: relative;
}

.cosmos-orbit::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: cosmos-orbit 12s linear infinite;
}

@keyframes cosmos-orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cosmos-float {
  animation: cosmos-float 6s ease-in-out infinite;
}

@keyframes cosmos-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -6px);
  }
}

.cosmos-comet {
  position: relative;
}

.cosmos-comet::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 120px;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
}

.cosmos-halo {
  position: relative;
}

.cosmos-halo::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 24, 8, 0.3), transparent 60%);
  animation: cosmos-halo 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes cosmos-halo {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.cosmos-rotate {
  animation: cosmos-rotate 18s linear infinite;
  transform-origin: center;
}

@keyframes cosmos-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.section-alt {
  background: #101010;
  border-top: 1px solid rgba(255, 24, 8, 0.2);
  border-bottom: 1px solid rgba(255, 24, 8, 0.2);
}

.note a {
  color: var(--clay);
  font-weight: 700;
}

.note {
  text-align: justify;
}

.info-band {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  padding: 22px;
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 24, 8, 0.2);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.info-block p {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.grid.grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: 100%;
  column-gap: 32px;
  row-gap: 32px;
}

.grid.grid-wide.cocriacoes-grid {
  grid-template-columns: repeat(2, minmax(420px, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  column-gap: 14px;
  row-gap: 14px;
}

.grid.grid-wide.cocriacoes-grid .card {
  min-height: 260px;
  padding: 18px;
  width: 100% !important;
  max-width: none !important;
}

.cocriacoes-card {
  display: flex;
  flex-direction: column;
}

.cocriacoes-card .button {
  margin-top: auto;
  align-self: center;
}

.hub-video-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 10px;
}

.hub-video-cards .card {
  display: block;
  width: auto;
  text-align: left;
}

.hub-video-cards .video-embed {
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .hub-video-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hub-video-cards {
    grid-template-columns: 1fr;
  }

  .grid.grid-wide.cocriacoes-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .grid.grid-wide.cocriacoes-grid .card {
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .grid.grid-wide.hub-video-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
  }
}

.social-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .social-embed-grid {
    grid-template-columns: 1fr;
  }
}

.social-embed {
  background: rgba(12, 12, 12, 0.8);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.social-embed h3 {
  margin-bottom: 12px;
}

.map-embed {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0b;
}

.map-embed iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

.social-embed .instagram-media {
  width: 100% !important;
  min-height: 500px !important;
  max-height: 500px !important;
}

.social-embed .fb-page,
.social-embed .fb-page iframe {
  width: 100% !important;
  min-height: 510px !important;
  max-height: 510px !important;
}

@media (min-width: 1200px) {
  .grid.grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 60px;
  }
}

.card {
  background: var(--panel);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 24, 8, 0.15);
}

.event-card-link {
  display: block;
  color: inherit;
}

.event-card-link .card {
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-card-link:hover .card,
.event-card-link:focus-visible .card {
  transform: translateY(-4px);
  border-color: rgba(255, 24, 8, 0.55);
}

.gif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.gif-card {
  position: relative;
  overflow: hidden;
}

.gif-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.07) 45%, transparent 100%);
  transform: translateX(-100%);
  animation: gif-slot-shimmer 3s linear infinite;
}

@keyframes gif-slot-shimmer {
  to {
    transform: translateX(100%);
  }
}

.card h3 {
  margin-bottom: 8px;
}

.post-card h3 {
  margin-bottom: 0;
}

.post-card a {
  color: inherit;
}

.post-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.movimentos-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.movimentos-grid img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(900px, 92vw);
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.galaxy {
  background: transparent;
}

.galaxy-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  background: transparent;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.galaxy-media {
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
}

.galaxy-media img {
  transition: transform 0.3s ease;
  transform: scale(1);
}

.galaxy-media:hover img {
  transform: scale(1.06);
}

.galaxy-content h3 {
  margin: 8px 0 12px;
  font-size: 1.5rem;
}

@media (min-width: 701px) {
  .galaxy-card:nth-child(even) .galaxy-media {
    order: 2;
  }

  .galaxy-card:nth-child(even) .galaxy-content {
    order: 1;
  }
}

.site-footer {
  padding: 50px 0 60px;
  background: #000000;
  color: var(--white);
}

#eventos {
  background: radial-gradient(circle at top right, rgba(255, 24, 8, 0.2), transparent 55%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials img {
  width: 40px;
  height: 40px;
}

.logo-constellation {
  position: relative;
  padding: 30px 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.06), transparent 50%),
    rgba(12, 12, 12, 0.6);
}

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 2;
  padding: 10px 12px 24px;
}

.logo-item {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 110px;
  padding: 14px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.35),
    0 16px 28px rgba(0, 0, 0, 0.5);
}

.logo-item img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 700px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 50px;
  }

  .logo-constellation-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
    padding: 8px;
  }

  .tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .principal {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .principal .card {
    width: 100% !important;
    min-width: 0;
  }
}
