/* ═══════════════════════════════════════════════════════════
   Residência Full Stack 5.0 — Guia de Estilo (jan/2026)
   Paleta oficial · Acumin (fallback Arial) + DM Mono
   ═══════════════════════════════════════════════════════════ */

/* --px/--py: posição do mouse (paralaxe). Tipadas via @property para que
   pseudo-elementos (::before/::after) recalculem corretamente quando o
   valor muda num ancestral distante (documentElement). */
@property --px {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

@property --py {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  /* paleta oficial */
  --lime:       #c4d646;
  --sky:        #dbeefc;
  --cream:      #fffaf3;
  --green:      #008542;
  --blue:       #0094d6;
  --orange:     #f18b21;
  --forest:     #173609;
  --navy:       #172938;
  --magenta:    #c90969;

  --ink:        var(--navy);
  --paper:      #fbfcfe;

  /* tipografia — Acumin oficial; Arial recomendada como fallback */
  --sans: "Acumin Pro", Acumin, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* o corte diagonal alude ao “//” do logotipo */
  --slash: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}

/* ── Títulos ─────────────────────────────────────────────── */

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

h1 em, h2 em {
  font-style: normal;
  color: var(--blue);
}

.section--dark h2 em { color: var(--cream); }

.kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.kicker--sky { color: var(--cream); }

/* ── Botões ──────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.72rem 1.5rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  /* corte diagonal no canto — eco do “//” */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.btn:hover { transform: translate(-2px, -2px); }

.btn--lg { padding: 0.95rem 2rem; font-size: 1rem; }

.btn--lime { background: var(--sky); color: var(--navy); }
.btn--lime:hover { background: #c3e0f5; }

.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: #22384d; }

.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }

.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }

.btn--outline-lime { border-color: var(--lime); color: var(--lime); }
.btn--outline-lime:hover { background: var(--lime); color: var(--navy); }

.btn--static { cursor: default; }
.btn--static:hover { transform: none; }

/* ── Cabeçalho ───────────────────────────────────────────── */

.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 0 rgba(0, 148, 214, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 0.9rem;
}

.header__brand img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.94rem;
  position: relative;
  white-space: nowrap;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--cream);
  transform: scaleX(0) skewX(-30deg);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:not(.btn):hover::after { transform: scaleX(1) skewX(-30deg); }

.nav__cta { color: var(--navy) !important; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background:
    linear-gradient(115deg, var(--navy) 0%, var(--navy) 58%, transparent 58%, transparent 100%),
    url('../assets/hero-banner.jpg')
      calc(50% + var(--px, 0) * -22px) calc(30% + var(--py, 0) * -14px) / cover no-repeat;
  transition: background-position 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* lâmina diagonal, eco do KV — acompanha o mouse suavemente. Confinada
     ao lado navy (esquerda do corte) pra não tingir a foto à direita. */
  content: "";
  position: absolute;
  top: -14%;
  right: 44%;
  width: 30%;
  height: 140%;
  background: linear-gradient(var(--sky), var(--blue));
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * 52px), calc(var(--py, 0) * 34px), 0);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.14;
}

.hero::after {
  /* também confinada ao lado navy, pra manter a foto sem transparência */
  content: "";
  position: absolute;
  top: -20%;
  left: 6%;
  width: 24%;
  height: 155%;
  background: linear-gradient(var(--blue), transparent 75%);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * -64px), calc(var(--py, 0) * -40px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.08;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-block: 5.5rem 7rem;
  position: relative;
}

.hero__copy .kicker { color: var(--cream); }

.hero h1 em { color: var(--cream); }

.hero__slogan {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #c3cfd8;
}

.hero__slogan-tag { color: var(--sky); }

.hero__lead {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  max-width: 34rem;
  color: #d9e2ea;
}

.hero__next {
  margin-top: 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.hero__meta li {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 250, 243, 0.4);
  color: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero .btn--ghost { border-color: var(--blue); color: var(--blue); }
.hero .btn--ghost:hover { background: var(--blue); color: var(--navy); }

.hero__slash {
  /* corte diagonal na base — replica a inclinação do “L” de Full */
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: var(--slash);
  background: linear-gradient(115deg, #eef5fb, var(--paper) 65%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* terminal decorativo */
.terminal {
  background: #0e1c27;
  border: 1px solid rgba(0, 148, 214, 0.45);
  box-shadow: 14px 14px 0 rgba(0, 148, 214, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  transform: translate3d(calc(var(--px, 0) * -22px), calc(var(--py, 0) * -16px), 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 250, 243, 0.09);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #6d838f;
}

.terminal__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--magenta);
}
.terminal__bar i:nth-child(2) { background: var(--orange); }
.terminal__bar i:nth-child(3) { background: var(--green); }
.terminal__bar span { margin-left: 0.5rem; }

.terminal__body {
  padding: 1.3rem 1.4rem 1.7rem;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.75;
  color: #9fd4ef;
  overflow-x: auto;
}

.terminal__body .c { color: #5d7180; }
.terminal__body .k { color: var(--blue); }
.terminal__body .s { color: #6fc4ec; }
.terminal__body .n { color: var(--orange); }
.terminal__body .f { color: var(--magenta); }

/* ── Seções ──────────────────────────────────────────────── */

.section {
  padding-block: 5.5rem;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 28%;
  height: 150%;
  background: linear-gradient(180deg, rgba(196, 214, 70, 0.07), transparent 65%);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.section .container { position: relative; }

.section__lead {
  margin-top: 1.3rem;
  max-width: 40rem;
  font-size: 1.08rem;
  color: #44565f;
}

.section--dark {
  /* degradê suave + lâmina diagonal translúcida entre as trocas de cor */
  background: linear-gradient(160deg, #1c3140 0%, var(--navy) 42%, #131f2b 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: 36%;
  height: 145%;
  background: linear-gradient(180deg, rgba(219, 238, 252, 0.09), rgba(0, 148, 214, 0.05) 55%, transparent);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * 42px), calc(var(--py, 0) * 26px), 0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.section--dark::after {
  content: "";
  position: absolute;
  top: -22%;
  left: -8%;
  width: 26%;
  height: 150%;
  background: linear-gradient(180deg, rgba(219, 238, 252, 0.08), transparent 65%);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * -46px), calc(var(--py, 0) * -30px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.section--dark .container { position: relative; }

.section--dark .section__lead { color: #c3cfd8; }

.section--cream {
  background: linear-gradient(180deg, var(--paper) 0%, #f2f7fc 26%, #eaf3fa 100%);
  position: relative;
  overflow: hidden;
}

.section--cream::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 30%;
  height: 150%;
  background: linear-gradient(180deg, rgba(0, 148, 214, 0.05), transparent 65%);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.section--cream .container { position: relative; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ── Pilares (iconografia oficial) ───────────────────────── */

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 2.2rem 2rem;
  margin-top: 3.2rem;
}

.pillars img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.pillars li:hover img { transform: translateY(-4px) rotate(-4deg); }

.pillars h3 { font-size: 1.05rem; margin: 0.9rem 0 0.35rem; }

.pillars p { font-size: 0.92rem; color: #5a6a73; }

/* ── Formações ───────────────────────────────────────────── */

.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.track {
  border: 1px solid rgba(219, 238, 252, 0.35);
  background: #1c3346;
  padding: 2.2rem 2rem 2.4rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  transition: transform 0.18s ease;
}

.track:hover { transform: translateY(-5px); }

.track > .track__tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--sky);
  margin-bottom: 0.6rem;
  text-transform: lowercase;
}

.track > p { color: #c3cfd8; font-size: 0.98rem; }

.track ul {
  list-style: none;
  margin: 1.3rem 0 1.8rem;
  display: grid;
  gap: 0.55rem;
}

.track li {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cream);
  padding-left: 1.5rem;
  position: relative;
}

.track li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--sky);
}

/* ── Requisitos & processo seletivo ──────────────────────── */

.reqs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.reqs li {
  border: 1px solid #d7e0e8;
  background: #fff;
  padding: 1.4rem 1.3rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.reqs span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--orange);
}

.reqs p {
  margin-top: 0.6rem;
  font-size: 0.97rem;
  color: #44565f;
}

.reqs strong { color: var(--ink); }

.steps { margin-top: 3.5rem; }

.steps__title {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.6rem;
}

.steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.steps li {
  border-top: 2px solid var(--navy);
  padding-top: 1.1rem;
  position: relative;
}

.steps li span {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue);
}

.steps h4 { font-size: 1.05rem; margin: 0.5rem 0 0.3rem; }

.steps li p { font-size: 0.92rem; color: #5a6a73; }

/* ── Informações acadêmicas (arquivos) ───────────────────── */

.files {
  list-style: none;
  margin-top: 3rem;
  border-top: 2px solid var(--navy);
}

.file {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0.6rem;
  border-bottom: 1px solid #d7e0e8;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, padding-left 0.2s ease;
}

.file:hover { background: rgba(0, 148, 214, 0.1); padding-left: 1.2rem; }

.file__name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--blue);
}

.file__desc { font-size: 0.95rem; color: #5a6a73; }

.file__action {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--blue);
  white-space: nowrap;
}

/* ── Cronograma ──────────────────────────────────────────── */

.timeline {
  list-style: none;
  margin-top: 3rem;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px dashed #cbb98f;
  align-items: start;
}

.timeline li:last-child { border-bottom: none; }

.timeline__id {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--orange);
  padding-top: 0.1rem;
}

.timeline h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }

.timeline p { color: #5a6a73; font-size: 0.95rem; max-width: 34rem; }

/* ── Notícias ────────────────────────────────────────────── */

.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.news__card {
  border: 1px solid #d7e0e8;
  background: #fff;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news__img {
  width: calc(100% + 3.2rem);
  height: 170px;
  object-fit: cover;
  margin: -1.8rem -1.6rem 0.3rem;
}

.news__card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 0 rgba(23, 41, 56, 0.08);
}

.news__card time {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--magenta);
}

.news__card h3 { font-size: 1.15rem; }

.news__card p { font-size: 0.92rem; color: #5a6a73; flex: 1; }

.news__card a {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: none;
}

.news__card a:hover { text-decoration: underline; }

/* ── Artigo de notícia ───────────────────────────────────── */

.article__back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1.8rem;
}

.article__back:hover { text-decoration: underline; }

.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 46rem;
  margin-top: 0.5rem;
}

.article__date {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #5a6a73;
  margin-top: 0.9rem;
}

.article__cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin-top: 2.2rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.article__body {
  max-width: 42rem;
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1.02rem;
  color: #333f47;
}

/* ── Comunidade ──────────────────────────────────────────── */

.community {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.community__card {
  background: transparent;
  border: 1px solid rgba(219, 238, 252, 0.25);
  padding: 2rem 1.7rem;
  text-decoration: none;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.community__card:hover {
  background: rgba(0, 148, 214, 0.12);
  border-color: var(--blue);
}

.community__card h3 { font-size: 1.2rem; }

.community__card p { font-size: 0.93rem; color: #c3cfd8; flex: 1; }

.community__card span {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--blue);
}

/* ── Dúvidas frequentes ──────────────────────────────────── */

.faq {
  margin-top: 3rem;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq__item {
  border: 1px solid #d7e0e8;
  background: #fff;
  padding: 1.1rem 1.3rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq__item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
}

.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #44565f;
}

.faq__contact {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #44565f;
}

.faq__contact a { color: var(--blue); }

/* ── Instituições ────────────────────────────────────────── */

.institutions__logos {
  margin-top: 3rem;
  padding: 2.2rem 2rem;
  background: #fff;
  border: 1px solid #d7e0e8;
  display: flex;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.institutions__logos img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.institutions {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.institutions__card {
  border: 1px solid #d7e0e8;
  background: #fff;
  padding: 1.8rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.institutions__card h3 { font-size: 1.1rem; color: var(--ink); }

.institutions__card p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: #44565f;
}

/* ── CTA ─────────────────────────────────────────────────── */

.cta {
  background:
    linear-gradient(115deg, var(--blue) 0%, var(--blue) 72%, #0077ab 72%, #0077ab 100%);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "//";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-54%)
             translate3d(calc(var(--px, 0) * 24px), calc(var(--py, 0) * 15px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--mono);
  font-size: clamp(11rem, 26vw, 22rem);
  font-style: italic;
  color: rgba(23, 41, 56, 0.07);
  line-height: 1;
  pointer-events: none;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-block: 4.5rem;
  position: relative;
}

.cta h2 em { color: var(--cream); }

.cta__lead { margin-top: 0.9rem; font-size: 1.05rem; }

/* ── Rodapé ──────────────────────────────────────────────── */

.footer {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -6%;
  width: 24%;
  height: 160%;
  background: linear-gradient(180deg, rgba(0, 148, 214, 0.07), transparent 65%);
  transform: skewX(-14deg)
             translate3d(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 17px), 0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.footer__grid, .footer__bottom { position: relative; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.footer__brand img { height: 52px; width: auto; }

.footer__brand p {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: #9fb0bd;
  max-width: 22rem;
}

.footer h3 {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.1rem;
}

.footer__nav { display: flex; flex-direction: column; gap: 0.55rem; }

.footer__nav a, .footer__contact a {
  color: #d9e2ea;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer__contact > a { display: block; width: fit-content; }

.footer__nav a:hover, .footer__contact a:hover { color: var(--cream); }

.footer__contact p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #9fb0bd;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.3rem;
}

.footer__social {
  display: inline-flex;
  width: fit-content;
  color: var(--cream) !important;
  transition: transform 0.15s ease, color 0.15s ease;
}

.footer__social:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer__signature {
  align-self: start;
}

.footer__signature img { width: 100%; max-width: 320px; height: auto; }

.footer__bottom {
  border-top: 1px solid rgba(219, 238, 252, 0.14);
  padding-block: 1.2rem;
}

.footer__bottom p {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cream);
}

.footer__bottom p + p { margin-top: 0.4rem; }

/* ── Responsivo ──────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; padding-block: 4rem 6rem; }
  .hero__panel { max-width: 480px; }
  .tracks, .news, .community, .institutions { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: repeat(2, 1fr); }
  .steps ol { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .file { grid-template-columns: 1fr; gap: 0.3rem; }
  .file__action { justify-self: start; }
}

@media (max-width: 760px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 60;
  }

  .nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 55;
  }

  .nav a:not(.btn) { font-size: 1.25rem; }

  .nav-toggle:checked ~ .nav { transform: translateX(0); }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header__brand { position: relative; z-index: 60; }

  .section { padding-block: 4rem; }

  .timeline li { grid-template-columns: 64px 1fr; gap: 1.2rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .cta__inner { padding-block: 3.5rem; }
}

@media (max-width: 480px) {
  .reqs { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; text-align: center; }
}

/* ── Revelação suave ao rolar ────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--d, 0s);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
