/* Site do grupo do WhatsApp do Pixoxó: colagem de papel no verde da bandeira (a cara dos vídeos VOX) */

@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url(/fontes/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url(/fontes/montserrat-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url(/fontes/montserrat-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-display: swap; src: url(/fontes/montserrat-latin-900-normal.woff2) format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 700; font-display: swap; src: url(/fontes/caveat-latin-700-normal.woff2) format('woff2'); }

:root {
  --verde: #009c3b;          /* verde da bandeira */
  --verde-zap: #1fae55;
  --verde-fundo: #0b3320;
  --verde-escuro: #072315;
  --verde-claro: #9be0b4;
  --tinta: #15241a;          /* texto sobre o papel */
  --tinta-2: #3d4238;
  --tinta-3: #6b6858;
  --papel: #f1e8d4;
  --papel-claro: #fbf7ec;
  --fita: rgba(236, 222, 182, .88);
  --aviso: #b45309;
  --fonte: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mao: 'Caveat', 'Bradley Hand', cursive;
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.28'/%3E%3C/svg%3E");
  --grao-papel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .15 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.3'/%3E%3C/svg%3E");
  --borda-rasgada: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23f1e8d4' d='M0 26 L0 20.3 L17 5.4 L51 7.9 L67 15.4 L88 19.2 L107 20.4 L127 14.6 L160 16.0 L192 16.3 L207 19.1 L233 10.0 L251 18.6 L276 20.0 L306 20.4 L331 16.2 L358 9.1 L391 10.0 L420 20.3 L447 7.3 L478 15.7 L495 5.8 L520 5.5 L553 13.1 L577 11.6 L604 19.7 L624 11.0 L650 9.8 L676 13.7 L699 15.8 L723 6.4 L757 10.7 L780 11.4 L812 20.2 L837 11.4 L852 19.3 L870 13.7 L891 10.3 L912 8.1 L927 13.6 L957 15.4 L975 16.1 L990 11.6 L1020 19.7 L1044 18.5 L1068 13.4 L1093 20.9 L1122 12.6 L1151 15.3 L1172 17.5 L1202 14.7 L1235 5.3 L1259 15.2 L1280 7.7 L1308 12.0 L1327 5.7 L1360 10.6 L1377 8.5 L1396 18.9 L1413 9.4 L1429 12.5 L1440 10.5 L1440 26 Z'/%3E%3C/svg%3E");
  --rasgado: polygon(0% 0.6%, 3.5% 1.2%, 6.7% 1%, 10.8% 0.1%, 15.3% 0.1%, 19.6% 0.1%, 22.9% 0.8%, 28.3% 0.2%, 32% 1.1%, 37.9% 1%, 42% 1.8%, 45.2% 1.5%, 49.1% 0.3%, 52.4% 0.6%, 57.9% 0.3%, 62.6% 1.2%, 66.7% 1%, 69.9% 0.1%, 73.5% 1.2%, 77.8% 0.6%, 82.6% 0.8%, 86.5% 1.4%, 91.6% 0.4%, 96.3% 0.9%, 100% 1.3%, 100% 99.5%, 94.1% 99.8%, 89.8% 98.6%, 86.3% 99.1%, 83.2% 98.8%, 77.9% 99%, 72.3% 99.4%, 67.2% 98.9%, 62.5% 99.2%, 57% 98.3%, 52.5% 98.8%, 49.4% 98.7%, 44.4% 98.2%, 39% 99.5%, 34.8% 98.8%, 31.7% 99.2%, 28.2% 99.8%, 25% 98.6%, 21.7% 99.6%, 17.5% 98.4%, 14.2% 99.2%, 9.6% 98.4%, 4.1% 98.4%, 0.3% 99.3%, 0% 98.4%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--verde-fundo);
  background-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 156, 59, .38), transparent 70%), var(--grao);
  color: #fff;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.janela-aberta { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; }
.sprite { position: absolute; }

/* ---------- peças da colagem ---------- */
.etiqueta {
  --giro: -2.5deg;
  position: relative;
  display: inline-block;
  padding: .45em .8em .4em;
  border: 3px solid #fff;
  background: var(--verde);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .07em;
  text-transform: uppercase;
  transform: rotate(var(--giro));
}
.fita {
  position: absolute;
  z-index: 2;
  width: 112px;
  height: 30px;
  background: var(--fita);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  clip-path: polygon(2% 8%, 98% 0, 100% 46%, 97% 100%, 1% 92%, 0 50%);
  pointer-events: none;
}
mark.marca {
  padding: 0 .1em;
  margin: 0 -.02em;
  border-radius: .05em;
  background-color: transparent;
  background-image: linear-gradient(var(--verde), var(--verde));
  background-repeat: no-repeat;
  background-position: 0 70%;
  background-size: 100% 88%;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@keyframes marcar { from { background-size: 0% 88%; color: var(--tinta); } to { background-size: 100% 88%; color: #fff; } }
.anotacao {
  --giro: -4deg;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--verde-escuro);
  font-family: var(--mao);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(var(--giro));
}
.anotacao svg { flex: none; width: 46px; height: 18px; }
.foto-impressa {
  position: relative;
  margin: 0;
  padding: 10px 10px 12px;
  background: var(--papel-claro);
  box-shadow: 0 22px 45px rgba(0, 0, 0, .4);
  transform: rotate(var(--giro, 0deg));
}
.foto-impressa img { width: 100%; }
/* foto em preto e branco com retícula, como as impressas dos vídeos */
.pb img { filter: grayscale(1) contrast(1.15) brightness(1.03); }
.pb::after {
  content: '';
  position: absolute;
  inset: 10px 10px 12px;
  background-image: radial-gradient(rgba(0, 0, 0, .3) .8px, transparent 1.25px);
  background-size: 3.2px 3.2px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* folha de papel com borda rasgada (a sombra fica no pai, o recorte no ::before) */
.folha { position: relative; isolation: isolate; filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .35)); color: var(--tinta); }
.folha::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--papel);
  background-image: var(--grao-papel);
  clip-path: var(--rasgado);
}

/* ---------- topo ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background: rgba(7, 35, 21, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topo-logo img { height: 38px; width: auto; }
.topo-botao {
  padding: 10px 14px;
  border: 2px solid var(--papel);
  border-radius: 8px;
  background: var(--papel);
  box-shadow: 3px 3px 0 var(--verde);
  color: var(--tinta);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.topo-botao:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--verde); }

/* ---------- botão ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 24px;
  border: 3px solid var(--verde-escuro);
  border-radius: 12px;
  background: var(--verde-zap);
  box-shadow: 5px 5px 0 var(--verde-escuro);
  color: #fff;
  font-family: var(--fonte);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.botao svg { flex: none; width: 22px; height: 22px; }
.botao:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--verde-escuro); filter: brightness(1.05); }
.botao:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--verde-escuro); }
.botao:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }
.botao[disabled] { opacity: .65; cursor: wait; transform: none; }
.botao.largo { width: 100%; }
.vantagens .botao, .barra-fixa .botao { border-color: #fff; box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); }

/* ---------- abertura ---------- */
.abertura {
  display: grid;
  gap: 38px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 16px 76px;
}
.folha-abertura { --giro: -.8deg; padding: 34px 24px 32px; transform: rotate(var(--giro)); }
.fita-canto { top: -6px; left: -16px; transform: rotate(-28deg); }
.folha-abertura .etiqueta { margin-bottom: 20px; }
.folha-abertura h1 {
  margin: 0;
  font-size: clamp(40px, 11vw, 78px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.035em;
}
.folha-abertura .marca { animation: marcar .7s cubic-bezier(.2, .8, .2, 1) .7s both; }
.sub { max-width: 34ch; margin: 20px 0 0; color: var(--tinta-2); font-size: 18px; font-weight: 500; line-height: 1.5; }
.acao { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 26px; }
.anotacao-botao svg { transform: scaleX(-1); }

.foto-abertura { --giro: 2.2deg; width: min(86%, 440px); justify-self: center; }
.fita-topo { top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.etiqueta-foto { --giro: -4deg; position: absolute; left: -14px; bottom: 24px; max-width: 80%; font-size: 12px; }

/* entrada da abertura (sem depender do JS) */
.entra { animation: subir .8s cubic-bezier(.2, .8, .2, 1) both; }
.foto-abertura.entra { animation-delay: .18s; }
@keyframes subir {
  from { opacity: 0; transform: translateY(26px) rotate(var(--giro, 0deg)); }
  to { opacity: 1; transform: rotate(var(--giro, 0deg)); }
}

/* ---------- seções de papel (bordas rasgadas em cima e embaixo) ---------- */
.papel {
  position: relative;
  margin: 26px 0;
  background-color: var(--papel);
  background-image: var(--grao-papel);
  color: var(--tinta);
}
.papel::before, .papel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background: var(--borda-rasgada) center / 100% 100% no-repeat;
  pointer-events: none;
}
.papel::before { top: -25px; }
.papel::after { bottom: -25px; transform: scaleY(-1); }

/* ---------- recado do 22 ---------- */
.recado { display: grid; gap: 44px; padding: 64px 18px 76px; }
.recado-texto h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 9vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.recado-texto p { max-width: 32ch; margin: 18px 0 0; color: var(--tinta-2); font-size: 18px; font-weight: 500; line-height: 1.55; }
.colagem { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; align-items: start; }
.colagem .fita { top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(4deg); }
.colagem-foto-1 { --giro: -3deg; }
.colagem-foto-2 { --giro: 3deg; margin-top: 18px; }
.recorte {
  --giro: -1deg;
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 20px 20px 16px;
  background: var(--papel-claro);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
  transform: rotate(var(--giro));
}
.recorte-rotulo {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tinta);
  color: #5b5a4e;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.recorte-numero { margin: 10px 0 0; color: var(--verde); font-size: clamp(46px, 12vw, 66px); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.recorte-texto { margin: 8px 0 0; font-size: 18px; font-weight: 800; }
.etiqueta-carimbo { --giro: 6deg; position: absolute; top: -16px; right: -8px; font-size: 15px; }
.recorte-fonte { margin: 12px 0 0; color: var(--tinta-3); font-size: 12px; font-weight: 500; }
.anotacao-25 { --giro: -3deg; grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
.anotacao-25 svg { transform: rotate(-90deg); width: 34px; }

/* ---------- vantagens ---------- */
.vantagens { max-width: 1080px; margin: 0 auto; padding: 96px 18px 104px; }
.vantagens h2 {
  margin: 0 0 42px;
  font-size: clamp(34px, 9vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.sublinhado { position: relative; white-space: nowrap; }
.sublinhado::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -.14em;
  height: .24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 5, 110 4, 197 9' stroke='%23f1e8d4' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s cubic-bezier(.2, .8, .2, 1) .35s;
}
.com-js .revela .sublinhado::after { clip-path: inset(0 100% 0 0); }
.com-js .revela.visto .sublinhado::after { clip-path: inset(0 0 0 0); }
.bilhetes { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.bilhete {
  --giro: -1.2deg;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 22px 24px;
  background-color: var(--papel);
  background-image: var(--grao-papel);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .3);
  color: var(--tinta);
  transform: rotate(var(--giro));
}
.bilhete:nth-child(2) { --giro: 1deg; }
.bilhete:nth-child(3) { --giro: .7deg; }
.bilhete:nth-child(4) { --giro: -1deg; }
.bilhete .fita { top: -13px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-2deg); }
.bilhete:nth-child(even) .fita { transform: translateX(-50%) rotate(3deg); }
.bilhete-num { position: absolute; top: 8px; right: 14px; color: var(--verde); font-family: var(--mao); font-size: 30px; font-weight: 700; line-height: 1; }
.icone { display: grid; place-items: center; flex: 0 0 50px; height: 50px; border-radius: 50%; background: var(--verde); color: #fff; }
.icone svg, .redes svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icone .cheio, .redes .cheio { fill: currentColor; stroke: none; }
.bilhete p { margin: 0; padding-right: 26px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.anotacao-grande {
  --giro: -2deg;
  display: block;
  max-width: 20ch;
  margin: 50px auto 0;
  color: var(--papel);
  font-size: clamp(30px, 7vw, 44px);
  text-align: center;
}

/* ---------- chamada final ---------- */
.chamada-final { padding: 80px 18px 88px; text-align: center; }
.chamada-final h2 {
  max-width: 15ch;
  margin: 0 auto 30px;
  font-size: clamp(34px, 9vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.chamada-final .anotacao { margin-top: 24px; font-size: 28px; }

/* ---------- rodapé ---------- */
.rodape { padding: 84px 20px 120px; background: var(--verde-escuro); color: #cfd8d0; }
.rodape-grade { display: grid; gap: 34px; max-width: 1180px; margin: 0 auto; }
.rodape-esq { display: flex; flex-direction: column; gap: 22px; }
.rodape-esq > img { align-self: flex-start; height: 48px; width: auto; }
.caixa-legal {
  max-width: 420px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  line-height: 1.65;
}
.caixa-legal p { margin: 0; }
.rotulo { margin: 0 0 10px; color: var(--verde-claro); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.caixa-legal a { color: #fff; }
.redes { display: flex; gap: 10px; }
.redes a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.redes a:hover { border-color: var(--verde-claro); background: rgba(255, 255, 255, .05); }
.redes svg { width: 20px; height: 20px; }
.links-legais { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.links-legais a { color: var(--verde-claro); font-size: 14px; font-weight: 700; text-decoration: none; }
.links-legais a:hover { text-decoration: underline; }
.lgpd { max-width: 1180px; margin: 40px auto 0; color: #8fa596; font-size: 13px; line-height: 1.7; }
.lgpd a { color: var(--verde-claro); }
.copy { max-width: 1180px; margin: 18px auto 0; color: #5f7566; font-size: 12.5px; }

/* ---------- barra fixa (celular) ---------- */
.barra-fixa {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 35, 21, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(110%);
  transition: transform .3s ease;
}
body.mostra-barra .barra-fixa { transform: none; }
body.janela-aberta .barra-fixa { transform: translateY(110%); }
.barra-fixa .botao { padding: 15px 18px; font-size: 14px; }

/* ---------- aparece ao rolar (só com JS) ---------- */
.com-js .revela {
  opacity: 0;
  transform: translateY(24px) rotate(var(--giro, 0deg));
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.com-js .revela.visto { opacity: 1; transform: rotate(var(--giro, 0deg)); }
.com-js .revela .marca, .com-js .janela .marca { background-size: 0% 88%; color: var(--tinta); transition: background-size .7s cubic-bezier(.2, .8, .2, 1) .35s, color .3s ease .5s; }
.com-js .revela.visto .marca, .com-js .janela.aberta .marca { background-size: 100% 88%; color: #fff; }
.bilhete.revela:nth-child(2) { transition-delay: .08s; }
.bilhete.revela:nth-child(3) { transition-delay: .16s; }
.bilhete.revela:nth-child(4) { transition-delay: .24s; }

/* ---------- janela do cadastro (folha de papel) ---------- */
.janela {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(4, 20, 12, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.janela[hidden] { display: none; }
.janela.aberta { opacity: 1; }
.janela-caixa {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 6px;
  background-color: var(--papel);
  background-image: var(--grao-papel);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  color: var(--tinta);
  transform: translateY(18px) scale(.98);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.janela.aberta .janela-caixa { transform: none; }
.janela-topo {
  position: relative;
  height: 150px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 94% 94%, 88% 89%, 81% 95%, 74% 90%, 67% 96%, 60% 91%, 52% 95%, 45% 90%, 38% 96%, 31% 91%, 24% 95%, 17% 89%, 10% 95%, 4% 90%, 0 94%);
}
.janela-topo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.1); }
.janela-topo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .3) .8px, transparent 1.25px);
  background-size: 3.2px 3.2px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border: 2px solid var(--papel);
  border-radius: 50%;
  background: rgba(7, 35, 21, .85);
  color: var(--papel);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.fechar:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; }
.janela-corpo { padding: 4px 24px 26px; }
.janela-corpo > h2 { margin: 6px 0 8px; font-size: 27px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.janela-sub { margin: 0 0 20px; color: #4a4d43; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 22px; padding: 0; list-style: none; }
.passos li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #8a8676;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.passos li + li::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #cfc6ae;
}
.passos b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #b9b19c;
  border-radius: 50%;
  background: var(--papel-claro);
  color: #8a8676;
  font-size: 14px;
  font-weight: 900;
}
.passos li.on, .passos li.feito { color: var(--tinta); }
.passos li.on b { border-color: var(--verde); background: var(--verde); color: #fff; }
.passos li.feito b { border-color: var(--verde); background: #d7efdf; color: var(--verde); }
.passos li.on::before, .passos li.feito::before { background: var(--verde); }

.campo { margin-bottom: 18px; }
.campo > label:not(.aceite) {
  display: block;
  margin-bottom: 7px;
  color: #2f3a31;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.janela input[type=text], .janela input[type=tel], .janela input[type=search], .janela select, .pagina input[type=tel] {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 2px solid var(--tinta);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--tinta);
  font-family: var(--fonte);
  font-size: 16px;
  font-weight: 600;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.janela input::placeholder, .pagina input::placeholder { color: #9a9584; font-weight: 500; }
.janela input:focus, .janela select:focus, .pagina input:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(0, 156, 59, .2); }
.campo.com-erro input, .campo.com-erro select, .campo.com-erro .aceite { border-color: var(--aviso); }
.erro { display: block; color: var(--aviso); font-size: 13px; font-weight: 700; line-height: 1.4; }
.erro:not(:empty) { margin-top: 6px; }
.aceite {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px;
  border: 2px dashed #b3aa92;
  border-radius: 8px;
  background: #fbf6e9;
  color: #343a33;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.aceite input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.caixinha {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--tinta);
  border-radius: 5px;
  background: #fffdf7;
  transition: background .15s ease, border-color .15s ease;
}
.caixinha::after {
  content: '';
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translate(0, -1px) rotate(45deg);
  opacity: 0;
}
.aceite input:checked + .caixinha { border-color: var(--verde); background: var(--verde); }
.aceite input:checked + .caixinha::after { opacity: 1; }
.aceite input:focus-visible + .caixinha { outline: 2px solid var(--verde); outline-offset: 2px; }
.aceite strong { color: var(--tinta); }
.aceite a { color: var(--verde); font-weight: 800; }
.campo-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nota { margin: 14px 0 0; color: var(--tinta-3); font-size: 12.5px; font-weight: 500; line-height: 1.5; text-align: center; }
.voltar {
  display: block;
  margin: 12px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: #3b4339;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.seletor { position: relative; }
.seletor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border: solid var(--tinta);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.janela select { padding-right: 44px; cursor: pointer; }
.busca { position: relative; }
.busca::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.janela .busca input { padding-left: 44px; }
.contagem { margin: 10px 0; color: #5b5a4e; font-size: 13px; font-weight: 600; }
.cidades {
  max-height: min(300px, 38dvh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 2px solid var(--tinta);
  border-radius: 8px;
  background: #fffdf7;
}
.cidades button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--tinta);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.cidades button:hover, .cidades button:focus-visible { background: #efe6cf; outline: none; }
.cidades .nada { padding: 14px 12px; color: var(--tinta-3); font-size: 14px; }
.cidades.esperando { opacity: .5; pointer-events: none; }
.final { padding: 6px 0 2px; text-align: center; }
.girando {
  width: 42px;
  height: 42px;
  margin: 4px auto 16px;
  border: 3px solid #d8cfb8;
  border-top-color: var(--verde);
  border-radius: 50%;
  animation: girar .9s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.final h3 { margin: 0 0 10px; font-size: 25px; font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.final-texto { margin: 0 0 22px; color: #4a4d43; font-size: 15px; font-weight: 500; line-height: 1.5; }
.final.sem-link .girando, .final.sem-link .final-botao, .final.sem-link .final-nota { display: none; }

/* ---------- aviso de cookies (só com o Pixel ligado) ---------- */
.aviso-cookies {
  position: fixed;
  inset: auto 12px calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 2px solid var(--tinta);
  border-radius: 8px;
  background: var(--papel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  color: var(--tinta);
  font-size: 14px;
  font-weight: 500;
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { flex: 1 1 260px; margin: 0; }
.aviso-cookies div { display: flex; gap: 8px; }
.aviso-cookies button { padding: 10px 16px; border: 2px solid var(--tinta); border-radius: 8px; background: none; color: var(--tinta); font-weight: 800; cursor: pointer; }
.aviso-cookies .cookies-sim { border-color: var(--verde-escuro); background: var(--verde-zap); color: #fff; }

/* ---------- páginas de texto (privacidade, termos, sair) ---------- */
.pagina {
  max-width: 800px;
  margin: 100px auto 64px;
  padding: 40px 24px 48px;
  background-color: var(--papel);
  background-image: var(--grao-papel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color: var(--tinta);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.pagina h1 { margin: 0 0 6px; font-size: clamp(32px, 7vw, 50px); font-weight: 900; line-height: 1.04; letter-spacing: -.02em; }
.pagina .data { margin: 0 0 32px; color: var(--tinta-3); font-size: 14px; }
.pagina h2 { margin: 34px 0 8px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.pagina a { color: var(--verde); font-weight: 700; }
.pagina ul { padding-left: 20px; }
.pagina li + li { margin-top: 6px; }
.caixa-sair { margin-top: 26px; padding: 22px; border: 2px solid var(--tinta); border-radius: 8px; background: #fffdf7; }
.caixa-sair label { display: block; margin-bottom: 8px; color: #2f3a31; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.caixa-sair .botao { margin-top: 16px; }
.caixa-sair .resposta { margin: 16px 0 0; font-size: 15px; font-weight: 700; }
.voltar-site { display: inline-block; margin-top: 34px; }

/* ---------- telas maiores ---------- */
@media (min-width: 600px) {
  .topo { padding: 0 24px; }
  .topo-botao { font-size: 13px; padding: 10px 16px; }
  .folha-abertura { padding: 44px 40px 40px; }
  .recado { padding: 84px 28px 96px; }
  .bilhetes { grid-template-columns: repeat(2, 1fr); gap: 30px 32px; }
  .anotacao-25 svg { transform: none; }
}
@media (min-width: 900px) {
  .abertura { grid-template-columns: 1.12fr .88fr; align-items: center; gap: 56px; padding: 112px 28px 96px; }
  .folha-abertura { --giro: -1.2deg; }
  .folha-abertura h1 { font-size: clamp(44px, 5.2vw, 78px); }
  .foto-abertura { width: 100%; max-width: 440px; }
  .recado { grid-template-columns: minmax(0, 500px) minmax(0, 580px); justify-content: center; align-items: center; gap: 64px; padding: 110px 32px 120px; }
  .recado-texto h2 { font-size: clamp(36px, 4.9vw, 62px); }
  .recorte-numero { font-size: clamp(38px, 4.4vw, 66px); }
  .recorte-rotulo { font-size: 10.5px; letter-spacing: .1em; }
  .colagem { display: block; height: auto; aspect-ratio: 29 / 28; }
  .colagem-foto-1 { position: absolute; top: 0; right: 0; width: 66%; }
  .colagem-foto-2 { position: absolute; right: 6%; bottom: 24px; width: 50%; margin: 0; }
  .recorte { position: absolute; top: 30%; left: 0; z-index: 3; width: 54%; }
  .anotacao-25 { position: absolute; left: 2%; bottom: -30px; margin: 0; }
  .anotacao-25 svg { transform: rotate(-90deg); width: 34px; }
  .vantagens { padding: 120px 32px 128px; }
  .chamada-final { padding: 110px 32px 116px; }
  .rodape { padding-bottom: 72px; }
  .rodape-grade { grid-template-columns: 1fr auto; align-items: start; }
  .rodape-esq { flex-direction: row; align-items: flex-start; gap: 28px; }
  .links-legais, .redes { justify-content: flex-end; }
  .barra-fixa { display: none; }
  .pagina { padding: 56px 64px 64px; }
}
@media (max-width: 380px) {
  .botao { padding: 15px 16px; font-size: 13.5px; }
  .topo-botao { padding: 9px 11px; font-size: 11.5px; }
  .folha-abertura { padding: 28px 18px 26px; }
  .sub, .recado-texto p { font-size: 16px; }
  .recorte { padding: 18px 16px 14px; }
  .recorte-rotulo { font-size: 11px; letter-spacing: .1em; }
  .bilhete { padding: 26px 18px 22px; gap: 14px; }
  .bilhete p { font-size: 16.5px; }
  .janela-corpo { padding: 4px 18px 22px; }
  .passos li { font-size: 10px; }
}

@media (min-width: 1200px) {
  .recorte-rotulo { font-size: 11.5px; letter-spacing: .14em; }
}
@media (min-width: 1600px) {
  .abertura, .rodape-grade, .lgpd, .copy { max-width: 1280px; }
  .abertura { gap: 72px; }
  .folha-abertura h1 { font-size: 84px; }
  .sub { font-size: 19px; }
  .foto-abertura { max-width: 480px; }
  .recado { grid-template-columns: minmax(0, 560px) minmax(0, 620px); gap: 80px; }
  .recado-texto h2, .vantagens h2, .chamada-final h2 { font-size: 66px; }
  .vantagens { max-width: 1140px; }
  .bilhete p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .com-js .revela { opacity: 1; }
}
