/* Fontes servidas pelo próprio site (antes vinham do Google Fonts). Baixadas em 04/12/2026 do mesmo pedido de sempre,
   sem o eixo de largura da Bricolage, que a versão leve não usa (font-stretch: 100%). Só latin e latin-ext:
   o navegador baixa cada arquivo apenas se a página tiver uma letra daquela faixa. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fontes/bricolage-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fontes/bricolage-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(fontes/newsreader-italico-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(fontes/newsreader-italico-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fontes/newsreader-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fontes/newsreader-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Itálico dos títulos: só minúsculas, acentos do português, as maiúsculas usadas hoje (T, A, C, E, P, U, S, B, H) e pontuação.
   Vem depois da regra completa, então o navegador tenta esta primeiro; letra fora da faixa puxa o arquivo completo. */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(fontes/newsreader-italico-titulos.woff2) format('woff2'); unicode-range: U+0020-0021, U+002C-002E, U+003F, U+0041-0043, U+0045, U+0048, U+0050, U+0053-0055, U+0061-007A, U+00A1, U+00B2, U+00E0-00E3, U+00E7, U+00E9-00EA, U+00ED, U+00F3-00F5, U+00FA; }

/* ACEPUSP: linguagem de cartaz de rua, com a paleta tirada do site atual e dos logos dos projetos */
:root {
  --papel: #F3EADB;
  --tinta: #1B1210;
  --vinho: #631010;
  --vermelho: #C23236;
  --azul: #2F4DE0;
  --violeta: #5B34C9;
  --lima: #CDD12F;
  /* Cores do logo de cada perfil: associação/cultural, cursinho e línguas */
  --menta: #90C8B4;
  --ceu: #A2CCFF;
  --lilas: #B8B0DE;
  /* Cores dos idiomas que faltavam na paleta: espanhol, italiano e japonês */
  --laranja: #EE6A24;
  --verde: #157A41;
  --rosa: #F28DB8;
  --g: clamp(16px, 3.2vw, 48px);
  --s: clamp(72px, 11vw, 160px);
  --titulo: "Bricolage Grotesque", system-ui, sans-serif;
  --leitura: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--leitura);
  font-size: clamp(1.0625rem, .98rem + .35vw, 1.3rem);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
section[id], footer[id] { scroll-margin-top: 72px; }
/* Contorno escuro com halo lima: aparece tanto no papel claro quanto nos fundos coloridos */
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lima); }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pular {
  position: fixed; top: 8px; left: 8px; z-index: 60;
  padding: 10px 14px;
  background: var(--lima); color: var(--tinta);
  font-family: var(--titulo); font-weight: 600;
  transform: translateY(-200%);
}
.pular:focus { transform: none; }

/* Tipo de cartaz */
.d {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -.025em;
  line-height: .92;
}

/* Foto em duas tintas com retícula: segura as fotos de baixa resolução */
.duo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  background: var(--claro, var(--papel));
}
.duo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
}
.duo::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--escuro, var(--vinho));
  mix-blend-mode: lighten;
}
.duo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle, rgba(0, 0, 0, .3) 30%, transparent 32%) 0 0 / 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.botao {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.25em;
  border-radius: 999px;
  background: var(--lima); color: var(--tinta);
  font-family: var(--titulo); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.botao svg, .porta__ir svg, .escritos__mais svg {
  width: 1.1em; height: 1.1em;
  transition: transform .35s var(--ease);
}
.botao:hover svg, .porta:hover .porta__ir svg, .escritos__mais:hover svg { transform: translateX(5px); }
.botao--tinta { background: var(--tinta); color: var(--papel); }
.botao--contorno { background: none; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

/* Topo */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 12px var(--g);
  color: var(--papel);
  font-family: var(--titulo); font-weight: 600; font-size: 1rem;
  transition: background .3s, color .3s;
}
.topo.rolou { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 0 rgba(27, 18, 16, .14); }
.topo__marca { text-decoration: none; }
.logo {
  display: grid; grid-template-columns: repeat(3, 1.02em); place-content: center;
  width: 4.5em; height: 4.5em;
  border-radius: 50%;
  background: var(--menta); color: var(--tinta);
  font-family: var(--titulo); font-weight: 700; font-size: 11.5px; line-height: 1.14;
  text-align: center;
}
.logo i { font-style: normal; }
.logo--ceu { background: var(--ceu); }
.logo--lilas { background: var(--lilas); }
.logo--tinta { background: var(--tinta); color: var(--menta); }
/* Rever a abertura: só aparece quando há animação */
.topo__rever {
  display: none; align-items: center; gap: .45em;
  padding: .42em .9em;
  border: 2px solid currentColor; border-radius: 999px;
  background: none; color: inherit;
  font: inherit; font-size: .9rem;
  cursor: pointer;
}
.animado .topo__rever { display: inline-flex; }
.topo__rever svg { width: 1.1em; height: 1.1em; transition: rotate .6s var(--ease); }
.topo__rever:hover svg { rotate: -300deg; }
.topo__nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.topo__nav a { text-decoration: none; }
.topo__nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.topo__cta {
  padding: .5em 1em;
  border-radius: 999px;
  background: var(--lima); color: var(--tinta);
  text-decoration: none;
}
.topo__abrir {
  display: none;
  margin-left: auto;
  padding: .5em 1em;
  border: 2px solid currentColor; border-radius: 999px;
  background: none; color: inherit;
  font: inherit; cursor: pointer;
}
.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 88px var(--g) var(--g);
  background: var(--vinho); color: var(--papel);
}
.menu[hidden] { display: none; }
.menu a {
  font-family: var(--titulo); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.6rem, 13vw, 4.5rem); line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
}
body.menu-aberto { overflow: hidden; }
body.menu-aberto .topo { background: none; color: var(--papel); box-shadow: none; }

/* Abertura */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px var(--g) calc(var(--g) * 1.1);
  background: var(--vinho); color: var(--papel);
}
.hero__chapeu {
  margin: 0 0 clamp(14px, 2vw, 24px);
  font-family: var(--titulo); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.35rem);
}
.hero__titulo { font-size: min(19vw, 33svh); }
.linha { display: flex; align-items: center; gap: .1em; }
.pilula {
  flex: 1;
  min-width: 0;
  height: .72em;
  margin-top: .06em;
  border-radius: 999px;
  --escuro: #3A0808;
  --claro: var(--papel);
}
.pilula img { object-position: 50% 44%; }
.pilula--lima { --claro: var(--lima); --escuro: #2A1208; }
.hero__pe {
  display: flex; align-items: end; justify-content: space-between; gap: clamp(20px, 4vw, 64px);
  margin-top: clamp(24px, 3.4vw, 44px);
}
.hero__pe p { margin: 0; max-width: 44ch; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.3; }

/* Os três caminhos */
.portas { padding: var(--s) var(--g) var(--g); }
.portas h2 { font-size: clamp(3rem, 9.5vw, 9.5rem); }
.portas__grade {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: clamp(32px, 5vw, 72px);
}
.porta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 72px;
  min-height: clamp(460px, 44vw, 660px);
  padding: clamp(18px, 2vw, 30px);
  border-radius: 18px;
  text-decoration: none;
}
.porta::before {
  content: "";
  position: absolute; z-index: -1;
  top: -12%; right: -34%;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  rotate: var(--giro, 0deg);
  transition: scale .8s var(--ease);
}
.porta:hover::before { scale: 1.35; }
.porta--cursinho { background: var(--azul); color: var(--papel); }
.porta--cursinho::before { background: radial-gradient(circle, var(--ceu) 36%, transparent 38%) 0 0 / 15px 15px; }
.porta--linguas { background: var(--violeta); color: var(--papel); }
.porta--linguas::before { background: repeating-linear-gradient(135deg, var(--lilas) 0 3px, transparent 3px 10px); }
.porta--cultural { background: var(--menta); color: var(--tinta); }
.porta--cultural::before { background: repeating-radial-gradient(circle, var(--tinta) 0 2px, transparent 2px 15px); }
.porta__nome {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--titulo); font-weight: 700; font-size: 1.1rem;
}
.porta__corpo { display: flex; flex-direction: column; gap: 14px; }
.porta__frase { font-size: clamp(2.6rem, 4.9vw, 5.4rem); }
.porta__texto { max-width: 34ch; line-height: 1.32; }
.porta__ir {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 6px;
  font-family: var(--titulo); font-weight: 700; font-size: 1.05rem;
}
.selo {
  position: absolute; top: 14%; right: 8%;
  width: clamp(112px, 10.5vw, 158px); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--lima); color: var(--tinta);
  font-family: var(--titulo); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: .9;
  transform: rotate(-9deg);
  clip-path: polygon(100% 50%,89.6% 60.6%,93.3% 75%,79% 79%,75% 93.3%,60.6% 89.6%,50% 100%,39.4% 89.6%,25% 93.3%,21% 79%,6.7% 75%,10.4% 60.6%,0 50%,10.4% 39.4%,6.7% 25%,21% 21%,25% 6.7%,39.4% 10.4%,50% 0,60.6% 10.4%,75% 6.7%,79% 21%,93.3% 25%,89.6% 39.4%);
}
.selo small { max-width: 8ch; margin-top: .2em; font-size: .3em; font-weight: 700; line-height: 1; text-align: center; letter-spacing: 0; }

/* Faixa */
.faixa { overflow: hidden; margin-top: var(--g); padding: 14px 0; background: var(--tinta); color: var(--papel); }
.faixa__trilho { display: flex; width: max-content; animation: correr 46s linear infinite; }
.faixa__trilho span {
  padding-right: 1.1em;
  font-family: var(--titulo); font-weight: 800; font-stretch: 75%;
  font-size: clamp(1.6rem, 3vw, 2.6rem); white-space: nowrap;
}
.faixa__trilho span:nth-child(3n + 2) { color: var(--lima); }
@keyframes correr { to { transform: translateX(-50%); } }

/* Agenda */
.agora { padding: clamp(56px, 8vw, 112px) var(--g) var(--s); background: var(--tinta); color: var(--papel); }
.agora__topo {
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.agora h2 { font-size: clamp(3rem, 8vw, 8rem); }
.agora__mais {
  display: inline-flex; flex: none; align-items: center; gap: .5em;
  font-family: var(--titulo); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
}
.agora__mais svg, .prog__projeto svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.agora__mais:hover svg, .prog:hover .prog__projeto svg { transform: translateX(5px); }
.prog {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.4fr);
  align-items: baseline; gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(16px, 2vw, 28px) 0;
  border-top: 1px solid rgba(243, 234, 219, .28);
  text-decoration: none;
}
.prog__data { font-size: clamp(2.2rem, 4.6vw, 4.6rem); }
.prog__data--cursinho { color: var(--ceu); }
.prog__data--linguas { color: var(--lilas); }
.prog__data--cultural { color: var(--menta); }
.prog__meio { line-height: 1.3; }
.prog__meio strong {
  display: block; margin-bottom: 4px;
  font-family: var(--titulo); font-weight: 700; font-size: 1.3em; line-height: 1.1;
}
.prog__projeto {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: .5em;
  font-family: var(--titulo); font-weight: 600; font-size: 1rem;
}

/* Quem somos: a foto entra em tela cheia e encolhe até virar um quadro, como nas páginas da Apple.
   Sem animação, fica direto no estado final. */
.manifesto__palco { position: relative; }
.manifesto__foto { margin: 0; --escuro: var(--vinho); }
.manifesto h2 { margin-bottom: .45em; }
.manifesto em {
  color: var(--vermelho);
  font-family: var(--leitura); font-weight: 400; font-style: italic;
  letter-spacing: -.03em;
}
.manifesto__texto p { margin: 0 0 1em; max-width: 46ch; }
.manifesto__texto p:last-child { margin: 0; }
@media (min-width: 961px) {
  .manifesto__palco { height: 100vh; height: 100svh; overflow: hidden; }
  .manifesto__foto { position: absolute; inset: 0; clip-path: inset(11% 3.4% 11% 43% round 28px); }
  .manifesto__texto { position: absolute; top: 50%; left: var(--g); width: 37%; transform: translateY(-50%); }
  .manifesto h2 { font-size: clamp(2.6rem, 4.4vw, 5.4rem); }
}
@media (max-width: 960px) {
  .manifesto__palco { padding-top: clamp(40px, 8vw, 72px); }
  .manifesto__foto { aspect-ratio: 4 / 5; clip-path: inset(4% 4% 4% 4% round 22px); }
  .manifesto__texto { padding: 28px var(--g) var(--s); }
  .manifesto h2 { font-size: clamp(2.6rem, 11vw, 5rem); }
}

/* Bolsas */
.bolsas { padding: var(--s) var(--g); background: var(--lima); }
.bolsas h2 { font-size: clamp(3rem, 9.5vw, 9.5rem); text-wrap: balance; }
.bolsas__intro { max-width: 56ch; margin: clamp(18px, 2.4vw, 28px) 0 0; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.4; }
.bolsas__botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.bolsas em {
  display: block;
  margin-top: .08em;
  color: var(--vinho);
  font-family: var(--leitura); font-weight: 400; font-style: italic;
  letter-spacing: -.03em;
}
/* A régua enche conforme a rolagem passa pelos três passos */
.regua {
  position: relative;
  height: 20px;
  margin-top: clamp(36px, 6vw, 84px);
  border-bottom: 3px solid var(--tinta);
  background:
    repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 14px) left bottom / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--tinta) 0 2px, transparent 2px 70px) left bottom / 100% 20px no-repeat;
}
.regua__cheio {
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 9px;
  background: var(--vinho);
  transform-origin: left;
  transform: scaleX(var(--prog, 1));
}
.passos {
  counter-reset: passo;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px);
  margin: 18px 0 clamp(32px, 4vw, 56px);
  padding: 0; list-style: none;
}
.passos li { counter-increment: passo; line-height: 1.32; }
.passos li::before {
  content: counter(passo);
  display: block;
  font-family: var(--titulo); font-weight: 800; font-stretch: 75%;
  font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 1;
}
.passos strong {
  display: block; margin: 8px 0 6px;
  font-family: var(--titulo); font-weight: 700; font-size: 1.3em; line-height: 1.1;
}

/* Blog */
.escritos { padding: var(--s) var(--g); }
.escritos__citacao { margin: 0 0 clamp(40px, 6vw, 88px); }
.escritos__citacao p {
  max-width: 15em;
  margin: 0;
  font-size: clamp(2.4rem, 6.6vw, 6.6rem); font-style: italic; line-height: 1.02; letter-spacing: -.02em;
}
.escritos__citacao cite {
  display: block; margin-top: 16px;
  font-family: var(--titulo); font-weight: 600; font-style: normal; font-size: 1rem;
}
.escrito {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(14px, 1.7vw, 24px) 0;
  border-top: 2px solid var(--tinta);
  text-decoration: none;
  transition: color .25s, padding .35s var(--ease);
}
.escrito:hover { color: var(--vermelho); padding-left: 10px; }
.escrito span { font-size: clamp(1.45rem, 3vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em; }
.escrito small { flex: none; font-family: var(--titulo); font-weight: 600; font-size: 1rem; }
.escritos__lista { border-bottom: 2px solid var(--tinta); }
.escritos__mais {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 22px;
  font-family: var(--titulo); font-weight: 700;
  text-decoration: none;
}

/* Fim */
.fim { padding: var(--s) var(--g) var(--g); background: var(--tinta); color: var(--papel); }
.fim__frase { font-size: min(13.6vw, 15rem); color: var(--lima); }
.fim__grade {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: clamp(40px, 6vw, 88px);
  font-style: normal;
}
.fim__grade address { font-style: normal; }
.fim__grade strong {
  display: block; margin-bottom: 8px;
  font-family: var(--titulo); font-weight: 700; font-size: 1rem; color: var(--lima);
}
.fim__grade a { display: block; text-decoration: none; overflow-wrap: anywhere; line-height: 1.3; padding: 3px 0; }
.fim__grade a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fim__assina {
  margin: clamp(40px, 6vw, 80px) 0 0;
  font-family: var(--titulo); font-size: .9rem; opacity: .72;
}

/* Fichas de estudo: provisórias até os objetos gerados chegarem */
.ficha {
  position: relative;
  display: grid; place-items: center;
  width: var(--tam, 100%); aspect-ratio: 1;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 5%;
  background: var(--fundo, var(--lima)); color: var(--letra, var(--tinta));
  font-family: var(--titulo), "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 800; font-stretch: 75%; line-height: 1;
  user-select: none; -webkit-user-select: none;
}
.ficha__glifo { font-size: 46cqw; letter-spacing: -.02em; }
.ficha--palavra .ficha__glifo { font-family: var(--leitura); font-weight: 400; font-style: italic; font-size: 24cqw; letter-spacing: -.02em; }
/* Japonês: sem itálico (o japonês não tem) e menor, porque cada letra ocupa um quadrado inteiro */
.ficha--ja .ficha__glifo { font-family: 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif; font-style: normal; font-weight: 500; font-size: 15cqw; letter-spacing: 0; }
.ficha__padrao { position: absolute; inset: 0; }
.ficha--pontos .ficha__padrao { background: radial-gradient(circle, var(--letra) 28%, transparent 30%) 0 0 / 14cqw 14cqw; }
.ficha--listras .ficha__padrao { background: repeating-linear-gradient(135deg, var(--letra) 0 1.6cqw, transparent 1.6cqw 8cqw); }
.ficha--circulos .ficha__padrao { background: repeating-radial-gradient(circle at 100% 100%, var(--letra) 0 1.4cqw, transparent 1.4cqw 9cqw); }
.ficha .logo { font-size: 12.5cqw; }
.ficha__obj { width: 84%; height: 84%; object-fit: contain; pointer-events: none; }
/* Em ficha escura, a gravura troca a tinta preta pelo papel */
.ficha--escura .ficha__obj { filter: invert(1) sepia(.35) saturate(.6) brightness(.97); }

/* Fichas soltas em volta dos títulos */
.hero, .portas, .bolsas, .escritos { position: relative; }
.hero { overflow: hidden; }
.hero > :not(.soltas), .portas > :not(.soltas), .bolsas > :not(.soltas), .escritos > :not(.soltas) { position: relative; z-index: 1; }
.soltas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.solta { position: absolute; width: var(--tam); translate: -50% -50%; }
.solta .ficha { box-shadow: 0 10px 30px rgba(27, 18, 16, .18); }

/* Abertura */
.intro, .intro__pular { display: none; }
.com-intro, .com-intro body { overflow: hidden; }
.com-intro .intro {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--vinho);
}
.intro__palco { display: grid; flex: none; }
.intro__legenda {
  position: absolute; left: 0; right: 0; top: 50%;
  margin: -.6em 0 0;
  text-align: center;
  color: var(--papel);
  font-family: var(--titulo); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.35rem);
}
.com-intro .intro__pular {
  position: fixed; right: var(--g); bottom: var(--g); z-index: 71;
  display: block;
  padding: .55em 1.1em;
  border: 2px solid var(--papel); border-radius: 999px;
  background: none; color: var(--papel);
  font-family: var(--titulo); font-weight: 600; font-size: .95rem;
  cursor: pointer;
}
.com-intro [data-soltas="hero"], .com-intro .topo__marca { opacity: 0; }
.intro__dica { display: none; }
.com-intro .intro__dica {
  position: fixed; left: 50%; bottom: calc(var(--g) + 6px); z-index: 71;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 0;
  translate: -50% 0;
  color: var(--papel);
  font-family: var(--titulo); font-weight: 600; font-size: 1rem;
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.intro__dica svg { width: 20px; height: 20px; rotate: 90deg; animation: descer 1.4s var(--ease) infinite; }
@keyframes descer { 50% { translate: 0 7px; } }
@media (max-width: 640px) { .com-intro .intro__dica { bottom: calc(var(--g) + 64px); } }

/* Lápis que sublinha "jeito de ensinar" */
.sublinhado { position: relative; display: inline-block; }
.sublinhado svg { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .24em; overflow: visible; }
.sublinhado path { fill: none; stroke: var(--tinta); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Monte do rodapé: as peças caem e dá para arrastar e empilhar */
.monte {
  position: relative;
  height: clamp(240px, 32vw, 430px);
  margin-top: clamp(12px, 2vw, 28px);
  overflow: hidden;
  border-bottom: 2px solid rgba(243, 234, 219, .3);
}
.monte__dica {
  margin: 14px 0 0;
  color: var(--lima);
  font-family: var(--titulo); font-weight: 600; font-size: .95rem;
  transition: opacity .4s;
}
.fim.mexeu .monte__dica { opacity: 0; }
.js:not(.animado) .monte__dica { display: none; }
.peca { position: absolute; left: 0; top: 0; transform: translate(-999px, -999px); touch-action: none; cursor: grab; }
.peca:active { cursor: grabbing; }
.monte--parado { display: flex; flex-wrap: wrap; align-content: flex-end; gap: 8px; }
.monte--parado .peca { --tam: 84px; position: static; transform: rotate(-4deg); }

/* Aviãozinho de papel que desce pela página num caminho tracejado */
.rota { position: absolute; left: 0; top: 0; z-index: 35; width: 100%; overflow: hidden; pointer-events: none; }
.rota__svg { position: absolute; top: 0; left: 0; overflow: visible; }
.rota__linha { fill: none; stroke: none; }
.aviao { position: absolute; left: 0; top: 0; width: 88px; height: 55px; margin: -27px 0 0 -44px; }
.aviao__corpo { display: block; width: 100%; height: 100%; }
/* O bilhete em que o avião se desdobra no fim */
.bilhete {
  position: absolute; left: 0; top: 0;
  width: min(320px, 78vw);
  padding: 22px 22px 18px 46px;
  visibility: hidden;
  color: var(--azul);
  background:
    linear-gradient(90deg, transparent 32px, rgba(194, 50, 54, .55) 32px 34px, transparent 34px),
    repeating-linear-gradient(transparent 0 27px, rgba(47, 77, 224, .22) 27px 28px),
    var(--papel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.bilhete__frase { margin: 0; font-family: var(--leitura); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; }
.bilhete__assina { margin: 10px 0 0; font-family: var(--titulo); font-weight: 600; font-size: .85rem; color: var(--tinta); }
.aviao svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 8px rgba(27, 18, 16, .28)); }

/* Estados iniciais do movimento: só valem quando o JavaScript de animação está ativo */
.pal { display: inline-block; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.animado .revela,
.animado .hero__titulo .palavra,
.animado .hero__titulo .pilula,
.animado .hero__chapeu,
.animado .hero__pe > * { opacity: 0; }
.animado .faixa__trilho { animation: none; }
.animado .sublinhado path { stroke-dashoffset: 1; }
.animado .regua__cheio { transform: scaleX(var(--prog, 0)); }
.animado .passos li { opacity: .28; transition: opacity .5s; }
.animado .passos li.aceso { opacity: 1; }

@media (max-width: 960px) {
  .topo__nav, .topo__cta { display: none; }
  .topo__abrir { display: block; }
  .topo__rever { padding: .5em; }
  .topo__rever span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .portas__grade { grid-template-columns: 1fr; }
  .porta { min-height: 420px; }
  .porta--cursinho { min-height: 490px; }
  .porta::before { width: 180px; right: -70px; top: -84px; }
  .selo { top: 92px; right: 16px; width: 124px; font-size: 2.2rem; }
  .porta__frase { font-size: clamp(2.8rem, 12.5vw, 5rem); }
  .prog { grid-template-columns: 1fr; gap: 8px; }
  .prog__projeto { justify-content: flex-start; }
  .passos { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__titulo { font-size: 28.4vw; }
  .linha:first-child { flex-wrap: wrap; }
  .linha:first-child .pilula { flex: 1 0 100%; margin-top: 0; }
  .linha:last-child { margin-top: .08em; }
  .pilula--lima { flex: none; width: .72em; }
  .hero__pe { flex-direction: column; align-items: flex-start; }
  .agora__topo { flex-direction: column; align-items: flex-start; }
  .monte { height: 290px; }
  .aviao { width: 58px; height: 36px; margin: -18px 0 0 -29px; }
  .escrito { flex-direction: column; gap: 6px; }
  .fim__grade { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa__trilho { animation: none; }
  .porta::before, .botao svg, .porta__ir svg, .escritos__mais svg, .agora__mais svg, .prog__projeto svg { transition: none; }
}
