/* =========================
   MOVIMENTO 7 - DESIGN SYSTEM
   Edite primeiro as variáveis abaixo para alterar o visual global.
   ========================= */
:root {
  --bg: #0b0b10;
  --surface: #15131d;
  --paper: #f5f0e6;
  --ink: #17141e;
  --white: #fff;
  --blue: #12a8ff;
  --cyan: #6de8ff;
  --orange: #ff8a00;
  --yellow: #ffd52a;
  --pink: #e930a8;
  --purple: #6d2bc3;
  --muted: #b9b4c4;
  --border: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --container: 1180px;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: Impact, "Arial Black", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  background: var(--yellow);
  color: #000;
  padding: 10px 14px;
  z-index: 999;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.83);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: 118px;
  height: 64px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-menu > a:not(.button) {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
}
.nav-menu > a:hover {
  color: var(--yellow);
}
.nav-toggle {
  display: none;
  background: none;
  color: #fff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 10px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: linear-gradient(100deg, var(--orange), var(--yellow));
  color: #15100a;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.25);
  cursor: pointer;
}
.button:hover {
  transform: translateY(-2px);
}
.button-small {
  padding: 10px 17px;
  font-size: 0.9rem;
}
.button-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.hero {
  min-height: 790px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  background-image: image-set(url("../img/header-800.webp") 1x, url("../img/header-1280.webp") 2x);
  background-position: center 8%;
  background-size: min(1600px, 120vw) auto;
  background-repeat: no-repeat;
  filter: saturate(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 18%,
      transparent 0 24%,
      rgba(11, 11, 16, 0.35) 50%,
      var(--bg) 82%
    ),
    linear-gradient(
      90deg,
      rgba(11, 11, 16, 0.9),
      rgba(11, 11, 16, 0.18),
      rgba(11, 11, 16, 0.85)
    );
}
.hero-content {
  position: relative;
  padding-top: 210px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.hero h1,
.page-hero h1,
.success-card h1,
.admin-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  max-width: 980px;
  margin: 0;
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}
.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.15rem;
  color: #e8e3ed;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note {
  max-width: 760px;
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(9, 9, 14, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
}
.hero-note p {
  margin: 4px 0;
  color: #efe9f6;
}
.hero-stats {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-block: 1px solid var(--border);
}
.hero-stats span {
  text-align: center;
  padding: 15px 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--border);
}
.section {
  padding: 110px 0;
}
.section-dark {
  background: linear-gradient(145deg, #13111a, #08080c);
}
.section h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.prose {
  font-size: 1.1rem;
  color: #ddd7e5;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.feature-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.015)
  );
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
}
.feature-card span {
  font-family: var(--font-display);
  font-size: 4rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--orange);
}
.feature-card h3 {
  font-size: 1.35rem;
}
.feature-card p {
  color: var(--muted);
}
.community {
  background: var(--paper);
  color: var(--ink);
}
.poster {
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: var(--radius);
  background: radial-gradient(circle, var(--purple), #111);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster img {
  width: 86%;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.check-list li:before {
  content: "✦";
  color: var(--purple);
  margin-right: 10px;
}
.text-link {
  font-weight: 900;
  color: var(--purple);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.gallery-tile {
  min-height: 380px;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.gallery-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
}
.gallery-tile > * {
  position: relative;
}
.gallery-tile strong {
  font-size: 2rem;
}
.gallery-tile span {
  color: #f1ebf4;
}
.tile-1 {
  background: linear-gradient(145deg, #147fd4, #6125b5);
}
.tile-1:before {
  background: radial-gradient(circle at 20% 20%, var(--cyan), transparent 35%);
}
.tile-2 {
  background: linear-gradient(145deg, #e93a9e, #ff8100);
}
.tile-2:before {
  background: repeating-linear-gradient(
    35deg,
    transparent 0 15px,
    rgba(255, 255, 255, 0.14) 15px 17px
  );
}
.tile-3 {
  background: linear-gradient(145deg, #ff9b00, #ffe23c);
  color: #1a1010;
}
.tile-3:before {
  background: radial-gradient(circle at 70% 25%, #fff, transparent 22%);
}
.sponsors {
  background: #f4f1eb;
  color: var(--ink);
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  min-height: 260px;
  padding: 24px 20px;

  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;

  text-align: center;
  overflow: hidden;
}

.sponsor-logo {
  width: 100%;
  min-height: 120px;

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

  margin-bottom: 18px;
}

.sponsor-logo a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.sponsor-logo img {
  display: block;

  max-width: 170px;
  max-height: 110px;

  width: auto;
  height: auto;

  object-fit: contain;
}

.sponsor-content {
  width: 100%;
}

.sponsor-content h3 {
  margin: 0 0 8px;

  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.25;
}

.sponsor-content p {
  margin: 0;

  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.5;
}

.partner-cta {
  margin-top: 30px;
  padding: 32px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(110deg, #30104f, #111);
  color: #fff;
}
.partner-cta h3 {
  font-size: 1.7rem;
  margin: 0;
}
.partner-cta p {
  margin: 5px 0;
}
.final-cta {
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #54208c, #0b0b10 65%);
}
.final-cta h2 {
  max-width: 850px;
  margin-inline: auto;
}
.final-cta-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #efe9f6;
}
.footer {
  padding: 60px 0 24px;
  background: #050507;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  margin: 7px 0;
  text-decoration: none;
}
.footer-note {
  text-align: center;
  color: #777;
  margin-top: 50px;
  font-size: 0.85rem;
}
.page-hero {
  padding: 110px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, #5b1e93, transparent 35%),
    linear-gradient(135deg, #111, #08080c);
}
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 0;
}
.page-hero p {
  max-width: 760px;
  color: #d8d1df;
  font-size: 1.08rem;
}
.form-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
  align-items: start;
}
.form-aside {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.form-aside img {
  height: 170px;
  width: 100%;
  object-fit: contain;
}
.form-aside li {
  margin-bottom: 10px;
  color: var(--muted);
}
.registration-form {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
}
.form-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.form-section h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px;
}
.required-marker {
  color: var(--orange);
  font-weight: 900;
}
.field-wide {
  grid-column: span 2;
}
.input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c9c2cd;
  border-radius: 12px;
  background: #fff;
  color: #211d27;
  font: inherit;
}
.input:focus {
  outline: 3px solid rgba(18, 168, 255, 0.24);
  border-color: var(--blue);
}
.field-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.8rem;
}
.hint {
  display: block;
  margin-top: 6px;
  color: #746e7d;
  font-size: 0.82rem;
}
.error {
  display: block;
  color: #b4002f;
  font-weight: 700;
  margin-top: 5px;
}
.consent {
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
}
.consent label {
  display: block;
  font-weight: 700;
}
.consent p {
  font-size: 0.85rem;
  margin: 5px 0 0;
}
.button-submit {
  width: 100%;
  font-size: 1.05rem;
}
.success-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  background: radial-gradient(circle, #402071, #09090e 65%);
}
.success-card {
  width: min(650px, 100%);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.success-card h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  margin: 10px 0;
}
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 2.5rem;
}
.admin-login {
  text-align: left;
}
.legal {
  background: var(--paper);
  color: var(--ink);
  padding: 60px;
  max-width: 900px;
  margin-block: 60px;
  border-radius: var(--radius);
}
.legal h2 {
  font-size: 1.7rem;
  margin-top: 30px;
}
.admin-page {
  padding: 80px 0;
}
.admin-top,
.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.admin-page h1 {
  font-size: 4rem;
  margin: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 28px 0;
}
.metric-grid div {
  padding: 22px;
  background: var(--surface);
  border-radius: 16px;
}
.metric-grid strong {
  display: block;
  font-size: 2.3rem;
}
.metric-grid span {
  color: var(--muted);
}
.admin-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.admin-filter a {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
}
.admin-filter a.active {
  background: var(--yellow);
  color: #111;
}
.table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #211d27;
  min-width: 1050px;
}
th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}
th {
  background: #eee9f0;
}
td small {
  display: block;
  color: #666;
}
.input-compact {
  padding: 7px;
  min-width: 130px;
}
.flash-stack {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}
.flash {
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  box-shadow: var(--shadow);
}
.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.js-reveal .reveal { opacity:0; transform:translateY(24px); }
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #17141d;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .hero {
    min-height: 720px;
  }
  .hero-art {
    background-size: 1100px auto;
  }
  .hero-content {
    padding-top: 170px;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .split,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-aside {
    position: relative;
    top: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .sponsor-card {
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero h1 span {
    -webkit-text-stroke: 1px #fff;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 75px 0;
  }
  .card-grid,
  .form-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .field-wide {
    grid-column: auto;
  }
  .registration-form,
  .legal {
    padding: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding-top: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Galeria dinâmica e painel de mídia */
.gallery-photo {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #15121b;
  border: 1px solid var(--border);
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}
.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(5, 4, 8, 0.92));
  pointer-events: none;
}
.gallery-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 5px;
}
.gallery-photo figcaption strong { font-size: 1.25rem; }
.gallery-photo figcaption span { color: var(--muted); }

.drive-status {
  margin: 24px 0 32px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 18px;
  background: rgba(255, 184, 0, 0.07);
}
.drive-status.is-connected {
  border-color: rgba(70, 210, 130, 0.35);
  background: rgba(70, 210, 130, 0.07);
}
.drive-status p { margin: 6px 0 0; color: var(--muted); }
.gallery-admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 28px;
  align-items: start;
}
.gallery-upload-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-upload-form h2,
.gallery-admin-list h2 { margin-top: 0; }
.gallery-upload-form h2,
.gallery-upload-form .field-wide,
.gallery-upload-form .check-field,
.gallery-upload-form .button { grid-column: 1 / -1; }
.gallery-admin-list { display: grid; gap: 16px; }
.gallery-admin-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #15121b;
}
.gallery-admin-card img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}
.gallery-admin-card p { margin: 6px 0; color: var(--muted); }
.gallery-admin-card small { color: var(--muted); }
.gallery-admin-actions { display: grid; gap: 8px; }
.gallery-admin-actions form { margin: 0; }
.button-danger { background: #9d2538; border-color: #9d2538; }
.empty-state {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 18px;
}
.field-error { color: #ff8a9a; display: block; margin-top: 6px; }

@media (max-width: 900px) {
  .gallery-admin-layout { grid-template-columns: 1fr; }
  .drive-status { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .gallery-upload-form { grid-template-columns: 1fr; }
  .gallery-upload-form > * { grid-column: 1 !important; }
  .gallery-admin-card { grid-template-columns: 1fr; }
  .gallery-admin-card img { width: 100%; height: 210px; }
  .gallery-admin-actions { grid-template-columns: 1fr 1fr; }
}
