/* ===== Tokens (paleta extraída do deck) ===== */
:root {
  --paper: #eef2ec;
  --paper-2: #e3e9e1;
  --navy: #0b2373;
  --navy-2: #071a57;
  --royal: #2747d8;
  --btn: #1f66c8;
  --sky: #5a9bd5;
  --lime: #9cc93b;
  --green: #22573a;
  --ink: #141414;
  --ink-2: #3b3f45;
  --white: #fff;
  --radius: 22px;
  --header-h: 76px;
  --font: "Mulish", system-ui, sans-serif;
  --display: "Anton", "Impact", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

/* Barra de rolagem oculta (a rolagem continua funcionando) */
html, body, .table-wrap { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .table-wrap::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong, b { color: var(--ink); font-weight: 800; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; color: var(--ink); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
section { position: relative; padding-block: clamp(64px, 9vw, 128px); }

/* ===== Wordmark NORT|HUB ===== */
.wordmark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.01em;
  text-decoration: none;
}
.wm-nort { color: var(--ink); text-shadow: 0 10px 24px rgba(0,0,0,.18); }
.wm-hub {
  color: transparent;
  -webkit-text-stroke: .045em var(--royal);
  paint-order: stroke fill;
}
/* Curvas do logo: medidas tiradas do logo original, ancoradas na borda direita do "HUB"
   (topo das curvas ~0,25em acima do topo das letras, ponta final à direita do "B") */
.wm-wifi {
  position: absolute; right: -.228em; top: -.24em;
  width: .6085em; height: .338em;
  overflow: visible;
  fill: none; stroke: var(--royal); stroke-width: 24; stroke-linecap: round;
}
.wordmark--xl { font-size: clamp(60px, min(13.5vw, 26vh + 30px), 460px); }
@media (max-width: 900px) { .wordmark--xl { font-size: min(24vw, 150px); } }
.wordmark--md { font-size: clamp(52px, 8vw, 110px); margin-bottom: .35em; }
.wordmark--sm { font-size: 38px; }
.wordmark--light .wm-nort { color: #fff; text-shadow: none; }
.wordmark--light .wm-hub { -webkit-text-stroke-color: var(--sky); }
.wordmark--light .wm-wifi { stroke: var(--sky); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 2.1em;
  border-radius: 6px;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn--solid { background: var(--btn); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,102,200,.7); }
.btn--solid:hover { background: var(--royal); }
.btn--lime { background: var(--lime); color: var(--navy-2); }
.btn--ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .55em 1.4em; font-size: 15px; }
.btn--lg { font-size: 1.05em; padding: 1em 2.4em; }

/* ===== Header ===== */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--royal);
  /* sombra suave abaixo da linha azul, como no slide MENU */
  box-shadow: 0 6px 10px -4px rgba(11,35,115,.18), 0 14px 28px -10px rgba(0,0,0,.22);
}
.header__inner {
  height: var(--header-h);
  width: min(100% - 32px, max(1320px, 88vw), 3000px); margin-inline: auto; /* alinhado à abertura */
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; padding-top: 10px; }
.brand__date { font-size: 13px; font-weight: 700; color: var(--royal); margin-top: 2px; padding-left: 8px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.nav > a:not(.btn) {
  text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 18px;
  color: var(--royal); position: relative;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px;
  background: var(--lime); transition: right .25s;
}
.nav > a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { padding-top: clamp(40px, 5vw, 120px); padding-bottom: 40px; }
/* A abertura acompanha a largura da tela (até ~4K) em vez de parar em 1200px */
.hero > .container { width: min(100% - 32px, max(1200px, 88vw), 3000px); }
.hero__logos img { height: clamp(40px, 2.6vw, 96px); width: auto; }
.hero__logos img + img { height: clamp(58px, 3.8vw, 140px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__date { font-size: clamp(24px, 2.7vw, 96px); font-weight: 800; color: var(--royal); margin: 0 0 .1em .15em; }
.hero__tagline { font-size: clamp(26px, 3vw, 108px); font-weight: 700; color: var(--ink); line-height: 1.15; margin: .3em 0 1.2em; }
.hero__ctas { display: flex; gap: 20px; flex-wrap: wrap; }
.hero__ctas .btn { min-width: min(210px, 100%); width: 11em; font-size: clamp(17px, 1.3vw, 46px); }
.hero__edition {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(32px, 5vw, 72px);
  font-size: clamp(22px, 2vw, 72px); font-weight: 700; color: var(--royal);
}
.hero__line { flex: 1; max-width: 70%; height: 6px; background: var(--royal); border-radius: 0 0 6px 0; transform: skewX(-30deg); }
.hero__mosaic { margin: 0; }
.hero__mosaic svg { width: 100%; height: auto; max-height: 78vh; overflow: visible; }
.tile { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tileIn .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d) * 90ms + 200ms); }
.tile { opacity: 1; }
@keyframes tileIn { from { opacity: .3; transform: scale(.88); } to { opacity: 1; transform: none; } }
.hero__logos { display: flex; align-items: center; justify-content: flex-end; gap: 28px; margin-top: 24px; }
.hero__logos span { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #7a8079; font-weight: 700; }

/* Desktop: a abertura cabe na altura da tela e deixa ~100px da próxima seção à mostra,
   para o visitante perceber que a página continua. --hs = menor entre largura e altura. */
@media (min-width: 901px) {
  .hero {
    --hs: min(1vw, 1.8vh);
    --peek: 100px;
    padding-top: calc(var(--hs) * 3);
    padding-bottom: calc(var(--hs) * 1.5);
  }
  .hero__grid { gap: calc(var(--hs) * 4); }
  .hero__date { font-size: max(20px, calc(var(--hs) * 2.4)); }
  .hero .wordmark--xl { font-size: max(60px, calc(var(--hs) * 12.5)); }
  .hero__tagline { font-size: max(22px, calc(var(--hs) * 2.7)); margin: .25em 0 1em; }
  .hero__ctas .btn { font-size: max(15px, calc(var(--hs) * 1.2)); }
  .hero__edition { font-size: max(18px, calc(var(--hs) * 1.8)); margin-top: calc(var(--hs) * 3); }
  .hero__mosaic svg { max-height: calc(100svh - var(--header-h) - var(--hs) * 9 - var(--peek)); }
  .hero__logos { margin-top: calc(var(--hs) * .6); gap: calc(var(--hs) * 1.6); }
  .hero__logos img { height: max(30px, calc(var(--hs) * 2.4)); }
  .hero__logos img + img { height: max(42px, calc(var(--hs) * 3.4)); }
}

/* ===== Utilitários de seção ===== */
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: 14px; color: var(--royal); margin-bottom: 12px; }
.eyebrow--light { color: var(--lime); }
.h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 900; letter-spacing: -.01em; margin-bottom: .6em; text-transform: uppercase; }
.h2--xl { font-size: clamp(44px, 6.5vw, 96px); }
.h2--light { color: #fff; }
.hl { color: var(--royal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__copy { text-align: justify; hyphens: auto; }
.split__copy .h2, .split__copy .eyebrow { text-align: left; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11,35,115,.45); }
.split__media img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--blob { border-radius: 40px 160px 40px 160px; }
.split__media--tall img { aspect-ratio: 3/4; }

/* ===== Origem ===== */
.origem { background: var(--navy); color: #e8ecf8; padding-block: 0; }
.origem__grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
.origem__copy { padding: clamp(64px, 8vw, 120px) clamp(16px, 5vw, 80px); text-align: justify; hyphens: auto; max-width: 720px; justify-self: end; }
.origem__copy strong { color: #fff; }
.origem__copy .eyebrow { font-size: clamp(32px, 4.6vw, 64px); letter-spacing: 0; color: #fff; font-weight: 900; }
.origem__logo { width: min(420px, 80%); margin: 8px 0 40px; }
.origem__photos { display: grid; grid-template-rows: 1fr 1fr; }
.origem__photos img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ===== Evolução ===== */
.evolucao { overflow: hidden; }
.evolucao__watermark { position: absolute; left: -6%; top: 50%; translate: 0 -50%; width: min(640px, 70vw); opacity: .06; filter: invert(1); pointer-events: none; }
.evolucao .h2 { text-transform: none; font-size: clamp(28px, 3.2vw, 44px); }

/* ===== Números ===== */
.numeros {
  color: #fff; text-align: center;
  background: linear-gradient(rgba(11,35,115,.82), rgba(7,26,87,.9)), url(assets/numeros-bg.jpg) center/cover fixed;
}
.numeros__title { color: #fff; font-size: clamp(44px, 7vw, 104px); font-weight: 900; text-transform: uppercase; }
.numeros__sub { font-size: clamp(20px, 2vw, 30px); margin-top: .3em; }
.stats { list-style: none; padding: 0; margin: clamp(32px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) 24px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(14px, 1.2vw, 18px); }
.stat svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stat { min-width: 0; }
.stat__num { font-size: clamp(38px, 5.5vw, 80px); line-height: 1.05; font-weight: 400; color: var(--sky); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.stat__num span { color: inherit; }

/* ===== Evento ===== */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 800; padding: .3em .9em; border-radius: 999px; font-size: .9em; }

/* ===== Objetivos ===== */
.objetivos { background: #fff; border-left: clamp(10px, 3vw, 46px) solid var(--navy); }
.h2--leaf { display: inline-block; text-transform: none; color: var(--navy); border-bottom: 5px solid var(--navy); padding: 0 .4em .1em .2em; position: relative; }
.h2--leaf::before { content: "🌾"; position: absolute; left: -.9em; top: -.4em; font-size: .9em; }
.goals { list-style: none; counter-reset: g; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 96px); }
.goal { counter-increment: g; position: relative; padding-left: 22px; border-left: 6px solid var(--sky); color: var(--navy); font-size: 1.08em; line-height: 1.55; }
.goal strong { color: var(--navy); }
.goal::before { content: "0" counter(g); display: block; font-family: var(--display); font-size: 1.6em; color: var(--lime); line-height: 1; margin-bottom: .3em; }

/* ===== Agenda ===== */
.agenda { padding-top: 0; }
.agenda__head {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
  background: linear-gradient(rgba(6,16,10,.55), rgba(6,16,10,.75)), url(assets/folhas-escuras.jpg) center/cover;
  color: #fff;
}
.day-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.day-tabs a {
  display: flex; flex-direction: column; align-items: center; min-width: 96px;
  padding: 10px 18px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .12em; color: #fff;
  transition: background .2s;
}
.day-tabs a b { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 0; color: #fff; line-height: 1.1; }
.day-tabs a:hover, .day-tabs a.is-active { background: var(--lime); color: var(--navy-2); }
.day-tabs a:hover b, .day-tabs a.is-active b { color: var(--navy-2); }

.timeline { position: relative; padding-top: clamp(48px, 6vw, 80px); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 80px; bottom: 0; width: 3px; background: linear-gradient(var(--royal), var(--lime)); border-radius: 3px; }
.day { position: relative; padding-left: 52px; margin-bottom: clamp(48px, 6vw, 88px); }
.day::before { content: ""; position: absolute; left: 0; top: 6px; width: 25px; height: 25px; border-radius: 50%; background: var(--paper); border: 5px solid var(--royal); }
.day__label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; }
.day__n { font-family: var(--display); font-size: clamp(32px, 3.6vw, 48px); color: var(--navy); line-height: 1; text-transform: uppercase; }
.day__date { font-weight: 800; color: var(--royal); text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.day__tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.track { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -32px rgba(11,35,115,.5); display: flex; flex-direction: column; }
.track > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center 25%; }
.track__body { padding: clamp(22px, 3vw, 36px); }
.track h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; text-transform: uppercase; margin-bottom: .6em; }
.track .lead { font-weight: 800; color: var(--ink); }
.track p:not(.lead):not(.audience) { border-left: 2px solid #c9cfc6; padding-left: 14px; }
.audience { background: var(--paper); border-radius: 10px; padding: 10px 14px; font-size: .92em; margin: 0; }
.track--wide { flex-direction: row; }
.track--wide > img { width: 42%; aspect-ratio: auto; object-position: center 30%; }
.track--wide .track__body { flex: 1; align-self: center; }
.track--agro { background: linear-gradient(90deg, #fff 70%, #f1f7e6); }
.tag { display: inline-block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; background: var(--navy); color: #fff; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.tag--lime { background: var(--lime); color: var(--navy-2); }

.hack {
  border-radius: var(--radius); overflow: hidden; color: #f3f1ea;
  background: linear-gradient(180deg, rgba(20,16,8,.86) 0%, rgba(20,16,8,.74) 60%, rgba(20,16,8,.35) 100%), url(assets/trigo-sol.jpg) center bottom/cover;
}
.hack__body { padding: clamp(28px, 4vw, 56px); padding-bottom: clamp(80px, 12vw, 160px); }
.hack h3 { color: #fff; font-size: clamp(30px, 4vw, 56px); font-weight: 900; text-transform: uppercase; margin-bottom: .6em; }
.hack strong { color: var(--lime); }
.hack__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; text-align: justify; hyphens: auto; }
.hack__cols p { border-left: 2px solid rgba(255,255,255,.3); padding-left: 16px; }

/* ===== Sobre o hackathon ===== */
.hackathon { background: #fff; border-left: clamp(10px, 3vw, 46px) solid var(--navy); }
.hackathon__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.hackathon__title { font-size: clamp(40px, 5vw, 72px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 32px; align-items: start; }
.step svg { width: 96px; height: 96px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; padding-right: 24px; border-right: 1px solid #c9cfc6; }
.step h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; color: var(--green); text-transform: uppercase; margin-bottom: .4em; }
.step h3 span { font-weight: 800; }
.step p { margin: 0; }

/* ===== Vila ===== */
.vila__head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: end; }
.vila__head .h2 { margin-bottom: .2em; }
.checks { list-style: none; padding: 0; margin: 32px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.checks li { background: #fff; border-radius: 16px; padding: 18px 18px 18px 54px; position: relative; font-weight: 700; color: var(--ink); line-height: 1.35; box-shadow: 0 12px 30px -24px rgba(11,35,115,.6); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a57' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 21/8 !important; }

/* ===== Mapa ===== */
.mapa { background: var(--paper-2); }
.mapa__img { margin: 0; }
.mapa__img img { border: 3px solid #6b4de6; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(11,35,115,.45); transition: transform .3s; }
.mapa__img a:hover img { transform: scale(1.01); }
.mapa__img figcaption { font-size: 13px; text-align: right; color: #7a8079; margin-top: 8px; }
.legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--ink); font-size: 15px; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }

/* ===== Patrocínio ===== */
.patrocinio { background: var(--navy); color: #e8ecf8; padding-top: 0; overflow: hidden; }
.patrocinio__leaves { height: clamp(140px, 22vw, 300px); background: url(assets/folhas-verdes.jpg) center/cover; }
.patrocinio .split { margin-top: clamp(-120px, -8vw, -40px); position: relative; }
.patrocinio .split__copy { padding-top: clamp(80px, 10vw, 140px); text-align: left; }
.patrocinio__photos { display: grid; gap: 18px; }
.patrocinio__photos img { width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.blob-a { border-radius: 46% 54% 40% 60% / 58% 42% 58% 42%; border: 6px solid var(--navy); }
.blob-b { border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%; }

.cotas__title { font-family: var(--font); font-style: italic; font-weight: 900; font-size: clamp(30px, 3.8vw, 52px); color: var(--lime); margin: clamp(56px, 8vw, 104px) 0 24px; }
.table-wrap { overflow-x: auto; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.table-wrap:focus-visible { outline: 3px solid var(--lime); }
.cotas { width: 100%; border-collapse: collapse; }
.cotas th, .cotas td { padding: 14px 10px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.cotas thead th { font-weight: 600; color: #fff; font-size: 16px; vertical-align: bottom; letter-spacing: .02em; }
.cotas thead th small { display: block; color: var(--lime); font-weight: 800; font-size: 14px; }
.cotas thead th:nth-child(2) { background: rgba(156,201,59,.14); border-radius: 12px 12px 0 0; }
.cotas td:nth-child(2) { background: rgba(156,201,59,.08); }
.cotas tbody th { text-align: left; font-weight: 700; color: #fff; font-size: 15px; line-height: 1.35; width: 34%; }
.cotas thead th:first-child { text-align: left; color: rgba(255,255,255,.55); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; }
.cotas th:first-child { position: sticky; left: 0; background: var(--navy); z-index: 1; }
.cotas tbody tr:hover th, .cotas tbody tr:hover td { background-color: rgba(255,255,255,.06); }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; }
.yes { color: var(--lime); }
.yes svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.no { color: rgba(255,255,255,.35); font-size: 18px; }
.tiers { display: none; }
.tiers__picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 18px; }
.tiers__picker button {
  font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; font-weight: 800; font-size: 14px; line-height: 1.2;
}
.tiers__picker button small { color: var(--lime); font-size: 12px; font-weight: 700; margin-top: 2px; }
.tiers__picker button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--navy-2); }
.tiers__picker button[aria-selected="true"] small { color: var(--navy-2); }
.tiers__list { list-style: none; padding: 0; margin: 0; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.tiers__list li { position: relative; padding: 14px 16px 14px 50px; border-bottom: 1px solid rgba(255,255,255,.1); line-height: 1.4; font-size: 15px; font-weight: 700; color: #fff; }
.tiers__list li:last-child { border-bottom: 0; }
.tiers__list li::before { position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 900; }
.tiers__list li.is-yes::before { content: "✓"; background: var(--lime); color: var(--navy-2); }
.tiers__list li.is-no { color: rgba(255,255,255,.4); font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.tiers__list li.is-no::before { content: "✕"; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.4); }

/* ===== Resumo ===== */
.resumo { background: #fff; border-right: clamp(10px, 6vw, 108px) solid var(--navy); }
.resumo .h2 { text-transform: none; }

/* ===== Final ===== */
.final {
  min-height: 90vh; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(rgba(11,22,70,.72), rgba(11,22,70,.82)), url(assets/final-bg.jpg) center/cover;
}
.final__words { margin: 0; font-weight: 900; font-size: clamp(30px, 10vw, 140px); line-height: 1.02; color: #fff; overflow-wrap: anywhere; }
.final__words span { display: block; }
.final__cta { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.final__cta p { flex-basis: 100%; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--lime); }

/* ===== Footer ===== */
.footer { background: var(--navy-2); color: rgba(255,255,255,.65); padding-block: 48px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__logos { display: flex; align-items: center; gap: 28px; }
.footer__logos img:first-child { filter: brightness(0) invert(1); }
.footer p { margin: 0; flex-basis: 100%; }

/* ===== Reveal ===== */
/* Visível por padrão; o main.js esconde só o que está abaixo da dobra e anima ao entrar na tela */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-pending { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .tile { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .checks { grid-template-columns: 1fr 1fr; }
  .day__tracks { grid-template-columns: 1fr; }
}

/* Menu hambúrguer: telas até 1100px e qualquer tela de toque (celular/tablet, inclusive deitado) */
@media (max-width: 1100px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .nav-toggle {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span { width: 26px; height: 3px; background: var(--royal); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0;
    max-height: calc(100dvh - var(--header-h) - 4px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); padding: 16px max(16px, calc((100% - 560px) / 2)) 24px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.35);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .3s, visibility 0s .3s; z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s; }
  .nav > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid #d6dcd3; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 8px; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .wordmark--sm { font-size: 30px; }
  .brand__date { font-size: 11px; }

  .hero__grid, .split, .origem__grid, .hackathon__grid, .vila__head, .goals, .hack__cols { grid-template-columns: 1fr; }
  .hero__mosaic { order: -1; width: min(420px, 82%); margin-inline: auto; }
  .hero__mosaic svg { max-height: 52vh; }
  .hero__copy { text-align: center; }
  .hero__date { margin-bottom: .75em; } /* espaço para as curvas do logo */
  .hero__ctas { justify-content: center; }
  .hero__ctas .btn { min-width: 0; flex: 1; }
  .hero__edition { justify-content: center; }
  .hero__logos { justify-content: center; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4/3; }
  .origem__copy { justify-self: stretch; max-width: none; padding-inline: 16px; }
  .origem__photos { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .origem__photos img { min-height: 0; aspect-ratio: 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .stat__num { font-size: clamp(38px, 12vw, 72px); }
  .numeros { background-attachment: scroll; }
  .track--wide { flex-direction: column; }
  .track--wide > img { width: 100%; aspect-ratio: 16/10; }
  .hackathon__title br { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .patrocinio .split { margin-top: 0; }
  .patrocinio .split__copy { padding-top: 48px; }
  .table-wrap { display: none; }
  .tiers { display: block; }
  .resumo { border-right-width: 10px; }
}

@media (max-width: 560px) {
  .split__copy, .origem__copy, .hack__cols { text-align: left; }
  .checks { grid-template-columns: 1fr; }
  .stats { gap: 32px 12px; }
  .stat svg { width: 48px; height: 48px; }
  .day { padding-left: 40px; }
  .timeline::before { left: 9px; }
  .day::before { width: 21px; height: 21px; border-width: 4px; }
  .step { grid-template-columns: 64px 1fr; gap: 18px; }
  .step svg { width: 64px; height: 64px; padding-right: 14px; }
  .hero__logos img { height: 34px; }
  .hero__logos img + img { height: 52px; }
  .hero__logos span { display: none; }
  .final__cta p { font-size: 13px; letter-spacing: .08em; }
  .final__cta .btn { width: 100%; }
}
