/* p1 · Colagem. A capa do carrossel virada página: papel rasgado em camadas, o Victor saindo do
   bloco Argila, ramos recortados cruzando as bordas, selo cacau. Sistema Argila (identidade-visual/
   SISTEMA-B-ARGILA.md). Os papéis rasgados são os PNGs do kit da campanha (motion/assets), usados
   como imagem ou como border-image para esticar sem deformar a borda rasgada. */
:root {
  --linho: #F4EFE6;
  --linho-fundo: #F0EBE3;      /* cor média do papel-linho do kit */
  --argila: #C96442;
  --argila-clara: #E8C4AE;
  --salvia: #617C5F;
  --cacau: #2E2320;
  --creme: #FFF5DC;
  --brasa: #A5402E;
  --argila-escura: #A9502F;    /* 4,7:1 sobre Linho: Argila para texto pequeno */
  --cacau-70: rgba(46, 35, 32, .74);
  --sombra-papel: drop-shadow(0 6px 10px rgba(46, 35, 32, .18));
  --sombra-papel-curta: drop-shadow(0 3px 5px rgba(46, 35, 32, .2));
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --pousa: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; color-scheme: light; }
body {
  margin: 0;
  background: var(--linho-fundo) url("img/papel-linho.webp") repeat;
  background-size: 562px auto;
  color: var(--cacau);
  font: 400 16px/1.5 var(--sans);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }
.num { font-variant-numeric: lining-nums tabular-nums; }
h1, h2 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; }

/* ============================================================ */
/* Dobra 1: palco de papel + título + formulário                */
/* ============================================================ */
.heroi { position: relative; isolation: isolate; }

/* canto Argila rasgado, sangrando no topo esquerdo (como nas cartelas) */
.canto {
  position: absolute; z-index: 0; top: -10px; left: -14px;
  width: 104px; height: auto;
  filter: var(--sombra-papel-curta);
  pointer-events: none;
}

/* ---- palco: no celular é uma faixa compacta acima do título. Tudo em múltiplos de --k,
   que cresce em telas mais altas ou mais largas (a composição é a mesma, só muda a escala). ---- */
.palco {
  --k: 1;
  position: relative; z-index: 1;
  height: calc(226px * var(--k));
  margin: 0 auto;
  max-width: calc(400px * var(--k));
}
.palco > * { position: absolute; }
.palco img { pointer-events: none; }

.bloco {
  right: calc(-16px * var(--k)); top: calc(22px * var(--k)); width: calc(218px * var(--k));
  rotate: 4deg;
  filter: var(--sombra-papel);
}
.victor {
  right: calc(-14px * var(--k)); top: calc(4px * var(--k)); width: calc(176px * var(--k));
  /* borda de papel creme em volta do recorte, como nos posts (o recorte vira papel colado) */
  filter: drop-shadow(1.5px 0 0 #F7F0E3) drop-shadow(-1.5px 0 0 #F7F0E3) drop-shadow(0 1.5px 0 #F7F0E3) drop-shadow(0 -1.5px 0 #F7F0E3) drop-shadow(0 5px 7px rgba(46, 35, 32, .26));
}
.laranjeira {
  right: calc(144px * var(--k)); top: calc(-16px * var(--k)); width: calc(118px * var(--k));
  rotate: -24deg;
  filter: var(--sombra-papel-curta);
}
.flor { display: none; }
.gota {
  display: none;
  right: calc(6px * var(--k)); top: calc(26px * var(--k)); width: calc(30px * var(--k));
  rotate: 14deg;
  filter: var(--sombra-papel-curta);
}
.pitanga {
  left: calc(170px * var(--k)); top: calc(138px * var(--k)); width: calc(76px * var(--k));
  rotate: 8deg;
  filter: var(--sombra-papel-curta);
  z-index: 3;
}

/* selo cacau rasgado: bloco-cacau do kit esticado por border-image (a borda não deforma) */
.selo {
  left: calc(10px * var(--k)); top: calc(76px * var(--k)); z-index: 2;
  margin: 0;
  width: calc(204px * var(--k));
  padding: 2px 4px 4px;
  border: 18px solid transparent;
  border-image: url("img/bloco-cacau-400.webp") 36 fill / 18px / 0 stretch;
  rotate: -4deg;
  filter: var(--sombra-papel);
  text-align: center;
  color: var(--creme);
}
.selo__nome {
  display: block;
  font: 600 calc(27px * var(--k))/.98 var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 72;
  letter-spacing: -.01em;
}
.selo__nome em { display: block; color: var(--argila); font-variation-settings: "SOFT" 100, "opsz" 72; padding-bottom: 2px; }
.selo__data {
  display: block; margin-top: calc(7px * var(--k));
  font: 600 calc(10.5px * var(--k))/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--creme);
}
.selo__ponto { display: inline-block; width: 4px; height: 4px; margin: 0 3px 2px; border-radius: 50%; background: var(--argila); }

.bilhete { display: none; }

/* ---- a folha de linho rasgada que cobre a base da colagem e carrega título e formulário ---- */
.texto {
  position: relative; z-index: 2;
  margin-top: -30px;
  padding: 2px var(--gutter) 6px;
  border-style: solid; border-color: transparent;
  border-width: 34px 0 30px;
  border-image: url("img/folha-linho.webp") 102 0 123 fill / 34px 0 30px / 0 stretch;
  filter: drop-shadow(0 -3px 6px rgba(46, 35, 32, .14));
}

.titulo {
  margin: 0;
  font-size: clamp(27px, 8vw, 31px);
  line-height: 1.04;
  letter-spacing: -.018em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  text-wrap: balance;
}
.titulo em { color: var(--argila); font-variation-settings: "SOFT" 100, "opsz" 144; padding-right: .04em; }
.sub {
  margin: 8px 0 0;
  font: 500 16px/1.36 var(--sans);
}

/* folha do formulário: no celular é a mesma folha do título (só ordena); no desktop vira papel próprio */
.folha { display: flex; flex-direction: column; margin-top: 12px; position: relative; }
.folha form { order: 1; }
.folha__intro { order: 2; margin: 14px 0 0; font-size: 15px; line-height: 1.45; }
.folha__intro strong { font-weight: 600; }
.folha__nota { order: 3; margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--cacau-70); }
.folha__nota strong { font-weight: 600; color: var(--cacau); }

form[data-captura] { display: grid; gap: 10px; }
.campos { display: grid; gap: 8px; }
.campo { display: grid; gap: 4px; }
.campo__rotulo { font: 500 13.5px/1.2 var(--sans); color: var(--cacau); }
.campo input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: 400 16px/1 var(--sans); /* 16px: o iPhone não dá zoom ao focar */
  color: var(--cacau);
  background: #FFFCF6;
  border: 1.5px solid rgba(46, 35, 32, .55);
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(46, 35, 32, .08);
  font-variant-numeric: lining-nums;
  transition: border-color .15s, box-shadow .15s;
}
.campo input::placeholder { color: rgba(46, 35, 32, .62); }
.campo input:hover { border-color: rgba(46, 35, 32, .8); }
.campo input:focus-visible { outline: none; border-color: var(--argila-escura); box-shadow: 0 0 0 3px rgba(201, 100, 66, .32); }
.campo input[aria-invalid="true"] { border-color: var(--brasa); box-shadow: 0 0 0 3px rgba(165, 64, 46, .18); }

.erro {
  margin: 0;
  padding: 8px 10px;
  font: 500 14px/1.4 var(--sans);
  color: var(--brasa);
  background: rgba(165, 64, 46, .09);
  border-left: 3px solid var(--brasa);
}
.erro[hidden] { display: none; }

.lgpd { order: 4; margin: 10px 0 4px; font-size: 12.5px; line-height: 1.4; color: var(--cacau-70); }
.lgpd a, .rodape a { color: var(--cacau); text-underline-offset: 2px; white-space: nowrap; }
.semjs { margin: 0; padding: 8px 10px; font-size: 13.5px; color: var(--cacau); background: rgba(46, 35, 32, .06); }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* botão: faixa de papel Argila rasgada (faixa-argila do kit) */
.botao {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px;
  padding: 6px 8px;
  border: solid transparent;
  border-width: 9px 14px;
  border-image: url("img/faixa-argila.webp") 18 26 fill / 9px 14px / 0 stretch;
  background: var(--argila) padding-box;
  /* Creme sobre Argila = 3,6:1: só passa AA como texto grande (>= 18,66px em negrito). Não diminuir. */
  font: 700 19px/1.1 var(--sans); letter-spacing: .01em; text-transform: uppercase;
  color: var(--creme);
  text-decoration: none; text-align: center;
  cursor: pointer;
  filter: drop-shadow(0 5px 7px rgba(120, 50, 26, .3));
  transition: translate .14s var(--pousa), filter .14s, scale .14s;
  -webkit-tap-highlight-color: transparent;
}
.botao:hover { translate: 0 -2px; filter: drop-shadow(0 9px 10px rgba(120, 50, 26, .32)) brightness(1.04); }
.botao:active { translate: 0 1px; scale: .99; filter: drop-shadow(0 2px 3px rgba(120, 50, 26, .3)); }
.botao:focus-visible { outline: 3px solid var(--cacau); outline-offset: 5px; }
.botao[aria-busy="true"] { cursor: progress; filter: drop-shadow(0 2px 3px rgba(120, 50, 26, .3)) saturate(.85); }
.botao[aria-busy="true"]::after {
  content: ""; width: 16px; height: 16px; flex: none;
  border: 2px solid rgba(255, 245, 220, .45); border-top-color: var(--creme); border-radius: 50%;
  animation: gira .8s linear infinite;
}
@keyframes gira { to { transform: rotate(360deg); } }

/* ============================================================ */
/* Dobra 2: o acervo como mural de capas pregadas               */
/* ============================================================ */
.acervo {
  position: relative; isolation: isolate;
  max-width: 1240px; margin: 0 auto;
  padding: 44px var(--gutter) 56px;
}
.acervo__oliveira, .acervo__alecrim { position: absolute; z-index: -1; pointer-events: none; filter: var(--sombra-papel-curta); }
.acervo__oliveira { width: 104px; right: -34px; top: -18px; rotate: 200deg; }
.acervo__alecrim { width: 120px; left: -40px; bottom: 40px; rotate: 20deg; }

.acervo__titulo {
  margin: 0;
  max-width: 21ch;
  font-size: clamp(27px, 7.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.016em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  text-wrap: balance;
}
.acervo__titulo em { color: var(--argila); font-variation-settings: "SOFT" 100, "opsz" 144; }

.mural {
  margin: 66px -6px 0;
  padding: 18px 8px 22px;
  border: 22px solid transparent;
  border-image: url("img/bloco-argila-clara.webp") 64 fill / 22px / 0 stretch;
  filter: var(--sombra-papel);
}
.mural { position: relative; }
.mural__selo {
  position: absolute; z-index: 2; right: -12px; top: -66px;
  display: grid; justify-items: center;
  margin: 0; padding: 0 12px 4px;
  border: 16px solid transparent;
  border-image: url("img/bloco-cacau-300.webp") 30 fill / 16px / 0 stretch;
  rotate: 6deg;
  filter: var(--sombra-papel);
  color: var(--creme); text-align: center;
}
.mural__selo .num { font: italic 600 40px/.9 var(--serif); color: var(--argila); font-variation-settings: "SOFT" 100, "opsz" 144; }
.mural__selo span:last-child { margin-top: 4px; font: 600 10.5px/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mural__selo span:last-child::first-line { letter-spacing: .08em; }
.folhas-heroi { display: none; }
/* pôsteres verticais (9:16): flex centrado, assim a última fileira fica no meio em qualquer largura */
.mural__lista {
  --n: 2; --g: 12px;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 30px var(--g);
}
.mural__lista li { position: relative; flex: 0 0 calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); }
.mural__lista figure { margin: 0; rotate: -1.4deg; }
.mural__lista li:nth-child(even) figure { rotate: 1.2deg; }
.mural__lista li:nth-child(3n) figure { rotate: -.6deg; }
.mural__lista li:nth-child(4n+1) figure { translate: 0 4px; }
.mural__lista img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: var(--linho);
  border: 4px solid #FBF6EC;
  box-shadow: 0 2px 2px rgba(46, 35, 32, .12), 0 12px 18px -8px rgba(46, 35, 32, .5);
}
/* fita de papel prendendo a capa no mural */
.mural__lista figure::before {
  content: ""; position: absolute; z-index: 1;
  left: 50%; top: -9px; width: 54px; height: 18px; margin-left: -27px;
  background: rgba(244, 239, 230, .86);
  box-shadow: 0 1px 2px rgba(46, 35, 32, .14);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 20% 2%, 30% 8%, 42% 0, 54% 9%, 66% 1%, 78% 8%, 88% 0, 95% 7%, 100% 2%, 98% 50%, 100% 96%, 92% 100%, 82% 92%, 70% 100%, 58% 93%, 46% 100%, 34% 92%, 22% 100%, 10% 93%, 2% 100%, 3% 50%);
  rotate: -4deg;
}
.mural__lista li:nth-child(even) figure::before { rotate: 5deg; left: 42%; }
.mural__lista li:nth-child(3n) figure::before { background: rgba(232, 196, 174, .9); }

/* chamada final: contagem num pedaço de papel + botão que volta ao formulário */
.chamada {
  display: grid; justify-items: center; gap: 22px;
  margin-top: 34px;
}
.nota-contagem {
  position: relative;
  width: min(100%, 340px);
  padding: 0 18px;
  border: solid transparent;
  border-width: 30px 0 30px;
  border-image: url("img/folha-linho.webp") 102 0 123 fill / 30px 0 30px / 0 stretch;
  rotate: -1.6deg;
  filter: var(--sombra-papel);
  text-align: center;
}
.nota-contagem::before {
  content: ""; position: absolute; top: -34px; left: 50%; width: 70px; height: 20px; margin-left: -35px;
  background: rgba(232, 196, 174, .92);
  clip-path: polygon(0 8%, 8% 0, 18% 9%, 30% 1%, 44% 9%, 58% 0, 72% 8%, 86% 1%, 100% 6%, 97% 50%, 100% 95%, 88% 100%, 74% 92%, 60% 100%, 46% 92%, 32% 100%, 18% 93%, 6% 100%, 2% 50%);
  rotate: 3deg;
}
.nota-contagem__rotulo, .nota-contagem__data { margin: 0; font: 500 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--cacau-70); }
.nota-contagem__data { margin-top: 10px; letter-spacing: .04em; text-transform: none; font-size: 14px; color: var(--cacau); }
.nota-contagem__tempo { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.nota-contagem .u { display: grid; justify-items: center; min-width: 62px; }
.nota-contagem .u b { font: 600 36px/1 var(--sans); color: var(--brasa); font-variant-numeric: lining-nums tabular-nums; }
.nota-contagem .u small { margin-top: 4px; font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--cacau-70); }
.nota-contagem[data-contagem-fim] .nota-contagem__tempo,
.nota-contagem[data-contagem-fim] .nota-contagem__rotulo { display: none; }

.botao--chamada { width: min(100%, 420px); }

.rodape { padding: 8px var(--gutter) 30px; text-align: center; font-size: 12.5px; color: var(--cacau-70); }
.rodape p { margin: 0; }

/* ============================================================ */
/* Escala da faixa da colagem por tamanho de tela (celular)      */
/* ============================================================ */
@media (max-height: 600px) and (max-width: 599px) {
  .palco { --k: .8; }
  .titulo { font-size: 26px; }
  .sub { font-size: 15px; margin-top: 6px; }
  .botao { font-size: 16px; letter-spacing: 0; filter: drop-shadow(0 5px 7px rgba(120, 50, 26, .3)) brightness(.86); }
}
@media (max-width: 359px) {
  .palco { --k: .86; }
  .titulo { font-size: 26px; }
  .botao { font-size: 16px; letter-spacing: 0; filter: drop-shadow(0 5px 7px rgba(120, 50, 26, .3)) brightness(.86); }
}
@media (min-height: 760px) and (min-width: 380px) and (max-width: 899px) { .palco { --k: 1.18; } }
@media (min-width: 600px) and (max-width: 899px) { .palco { --k: 1.45; } }

/* ============================================================ */
/* Tablet                                                        */
/* ============================================================ */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .mural__lista { --n: 4; --g: 18px; gap: 36px var(--g); }
}

/* ============================================================ */
/* Desktop: composição editorial assimétrica                     */
/* ============================================================ */
@media (min-width: 900px) {
  :root { --gutter: 48px; }

  .heroi {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-areas: "texto palco";
    column-gap: clamp(24px, 3vw, 56px);
    max-width: 1340px; margin: 0 auto;
    padding: 0 var(--gutter);
    min-height: min(100vh, 900px);
  }
  .canto { width: 170px; top: -14px; left: -20px; }

  .texto {
    grid-area: texto; align-self: center;
    margin: 0; padding: 72px 0 48px;
    border: 0; border-image: none; filter: none;
  }
  .titulo { font-size: clamp(48px, 4.9vw, 74px); line-height: 1.0; letter-spacing: -.025em; max-width: 13.2ch; }
  .sub { margin-top: 18px; font-size: 21px; }

  .folha {
    margin-top: 26px;
    max-width: 560px;
    padding: 0 30px;
    border: solid transparent;
    border-width: 50px 0 54px;
    border-image: url("img/folha-linho.webp") 102 0 123 fill / 50px 0 54px / 0 stretch;
    rotate: -.7deg;
    filter: var(--sombra-papel);
  }
  .folha::before { /* fita prendendo a folha */
    content: ""; position: absolute; top: -58px; left: 34px; width: 92px; height: 26px;
    background: rgba(232, 196, 174, .9);
    box-shadow: 0 1px 2px rgba(46, 35, 32, .12);
    clip-path: polygon(0 8%, 8% 0, 18% 9%, 30% 1%, 44% 9%, 58% 0, 72% 8%, 86% 1%, 100% 6%, 97% 50%, 100% 95%, 88% 100%, 74% 92%, 60% 100%, 46% 92%, 32% 100%, 18% 93%, 6% 100%, 2% 50%);
    rotate: -6deg;
  }
  .folha__intro { order: 0; margin: 0 0 14px; font-size: 15.5px; }
  .lgpd { margin-top: 10px; }
  .folha__nota { margin-top: 14px; font-size: 14px; }
  .campos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .campo input { height: 50px; }
  .botao { min-height: 62px; letter-spacing: .03em; }

  /* palco: grande, à direita, com profundidade */
  .palco {
    grid-area: palco; align-self: start;
    height: clamp(620px, calc(100vh - 8px), 860px); max-width: none; margin: 0;
  }
  .bloco { right: 2%; left: auto; top: 13%; width: min(84%, 76vh); rotate: -3deg; }
  /* ancorado por baixo: o corte da foto morre sempre atrás do selo e do bilhete, em qualquer altura de tela */
  .victor {
    right: 9%; left: auto; top: auto; bottom: 21%; width: min(74%, 52vh); max-width: 470px;
    filter: drop-shadow(3px 0 0 #F7F0E3) drop-shadow(-3px 0 0 #F7F0E3) drop-shadow(0 3px 0 #F7F0E3) drop-shadow(0 -3px 0 #F7F0E3) drop-shadow(0 8px 12px rgba(46, 35, 32, .24));
  }
  .laranjeira { right: auto; left: -2%; top: 3%; width: 38%; rotate: -14deg; }
  .folhas-heroi {
    display: block; position: absolute; z-index: 0; left: 2%; bottom: 2%; width: 300px;
    rotate: -8deg; filter: var(--sombra-papel-curta); pointer-events: none;
  }
  .mural__selo { right: -30px; top: -78px; border-width: 22px; border-image-width: 22px; padding: 0 10px 4px; }
  .mural__selo .num { font-size: 64px; }
  .mural__selo span:last-child { font-size: 12px; }
  .flor { display: block; left: 6%; right: auto; top: 46%; width: 18%; rotate: -16deg; filter: var(--sombra-papel-curta); }
  .gota { display: block; right: 4%; top: 9%; width: 9%; }
  .selo {
    left: 0; top: auto; bottom: 6%;
    width: 70%; max-width: 420px;
    padding: 6px 10px 10px;
    border-width: 28px;
    border-image-width: 28px;
    rotate: -3.5deg;
  }
  .selo__nome { font-size: clamp(44px, 4.2vw, 62px); }
  .selo__data { margin-top: 14px; font-size: 14px; letter-spacing: .1em; }
  .selo__ponto { width: 5px; height: 5px; margin: 0 6px 3px; }
  .pitanga { left: 56%; top: auto; bottom: 0; width: 25%; rotate: 6deg; z-index: 4; }

  .bilhete {
    display: grid; justify-items: center; align-content: center;
    right: -5%; top: auto; bottom: 16%; z-index: 3;
    width: 36%; min-height: 140px;
    padding: 2px 14px;
    border: solid transparent;
    border-width: 22px 0 24px;
    border-image: url("img/folha-linho.webp") 102 0 123 fill / 22px 0 24px / 0 stretch;
    rotate: 5deg;
    filter: var(--sombra-papel);
  }
  .bilhete::before {
    content: ""; position: absolute; top: -26px; left: 50%; width: 54px; height: 18px; margin-left: -27px;
    background: rgba(244, 239, 230, .9);
    clip-path: polygon(0 8%, 8% 0, 18% 9%, 30% 1%, 44% 9%, 58% 0, 72% 8%, 86% 1%, 100% 6%, 97% 50%, 100% 95%, 88% 100%, 74% 92%, 60% 100%, 46% 92%, 32% 100%, 18% 93%, 6% 100%, 2% 50%);
    box-shadow: 0 1px 2px rgba(46, 35, 32, .14);
    rotate: -8deg;
  }
  .bilhete__rotulo { font: 500 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cacau-70); }
  .bilhete__tempo { margin-top: 8px; font: 600 25px/1 var(--sans); color: var(--brasa); white-space: nowrap; }
  .bilhete[data-contagem-fim] { display: none; }

  /* acervo */
  .acervo { padding: 64px var(--gutter) 90px; }
  .acervo__oliveira { width: 240px; right: -40px; top: 40px; }
  .acervo__alecrim { width: 260px; left: -90px; bottom: 120px; }
  .acervo__titulo { max-width: 24ch; }
  .mural { margin: 44px 0 0; padding: 40px 34px 46px; border-width: 40px; border-image-width: 40px; }
  .acervo { max-width: 1340px; }
  /* 5 + 5 + 4, a última fileira centrada */
  .mural__lista { --n: 5; --g: 26px; gap: 50px var(--g); }
  .mural__lista figure::before { width: 76px; height: 22px; margin-left: -38px; top: -12px; }

  .chamada {
    grid-template-columns: auto auto; justify-content: center; align-items: center;
    gap: 48px; margin-top: 56px;
  }
  .botao--chamada { width: 440px; }
}



/* ============================================================ */
/* Movimento: papéis pousando, folhas derivando, capas pregando  */
/* ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .peca { animation: pousa .7s var(--pousa) both; animation-delay: var(--d, 0s); }
  .canto { --d: 0s; }
  .bloco { --d: .04s; }
  .victor { --d: .1s; animation-name: sobe; }
  .selo { --d: .2s; }
  .laranjeira { --d: .26s; }
  .pitanga { --d: .3s; }
  .flor { --d: .34s; }
  .gota { --d: .36s; }
  .bilhete { --d: .4s; }

  /* parallax leve no rolar (só onde há scroll-driven animations; no resto fica parado) */
  @supports (animation-timeline: scroll()) {
    .deriva {
      animation: pousa .7s var(--pousa) both, deriva linear both;
      animation-delay: var(--d, 0s), 0s;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }
    .deriva-lenta {
      animation: deriva-lenta linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }

  /* a capa chega "no ar" (maior, girada, mais sombra) e é pregada no mural ao entrar na tela.
     Não some antes: quem rola rápido ou fotografa a página inteira vê o mural completo. */
  .js .mural-pronto li {
    translate: 0 -12px; scale: 1.07; rotate: 3deg;
    transition: translate .65s var(--pousa), scale .65s var(--pousa), rotate .65s var(--pousa), filter .65s;
    filter: drop-shadow(0 16px 14px rgba(46, 35, 32, .22));
  }
  .js .mural-pronto li:nth-child(even) { rotate: -3deg; }
  .js .mural-pronto li.no-ar { translate: 0 0; scale: 1; rotate: 0deg; filter: none; }
}
/* só transform: a peça nunca fica invisível (nem em captura de tela, nem se a animação travar) */
@keyframes pousa {
  from { scale: 1.09; translate: 0 -16px; }
  60% { scale: .995; translate: 0 1px; }
  to { scale: 1; translate: 0 0; }
}
@keyframes sobe {
  from { translate: 0 22px; }
  to { translate: 0 0; }
}
@keyframes deriva { to { transform: translateY(-46px) rotate(5deg); } }
@keyframes deriva-lenta {
  from { transform: translateY(40px) rotate(-4deg); }
  to { transform: translateY(-40px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
