/* =========================================================
   Prof. Sam Adam | estilo do site
   Para mudar as cores do site inteiro, altere só o bloco :root
   ========================================================= */

:root {
  --verde: #22E06B;
  --verde-escuro: #157A3B;
  --preto: #0A0A0A;
  --preto-2: #151515;
  --branco: #FFFFFF;
  --papel: #F2EFE8;
  --cinza: #B5B5B5;

  --fonte-titulo: "Space Grotesk", "Arial Black", sans-serif;
  --fonte-texto: "Inter", system-ui, sans-serif;
  --fonte-mao: "Caveat", "Comic Sans MS", cursive;

  --largura: 1180px;
  --respiro: clamp(3rem, 6vw, 5rem);
  --lateral: clamp(1.25rem, 5vw, 3rem);
  --mola: cubic-bezier(.2, .8, .2, 1.15);
}

/* posição da "lanterna" do topo (animável) */
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 72%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 40%; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--verde); color: var(--preto); }

/* Grão de papel sutil sobre a página inteira */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
cite { font-style: italic; }

:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
}

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--verde);
  color: var(--preto);
  padding: .75rem 1rem;
  z-index: 200;
  font-weight: 700;
}
.pular:focus { left: 1rem; top: 1rem; }

/* ---------- Tipografia ---------- */

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
}

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

.titulo-secao {
  font-size: clamp(2.75rem, 11vw, 6.5rem);
  margin-bottom: 2.5rem;
}

.indice {
  margin: 0 0 1rem;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--verde);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.indice::after {
  content: "";
  width: 3.5rem;
  height: 2px;
  background: currentColor;
}

.rabisco {
  font-family: var(--fonte-mao);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--verde);
  margin: 0;
}

/* ---------- Botões ---------- */

.botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--verde);
  color: var(--preto);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid var(--verde);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--mola), box-shadow .2s ease;
}
/* brilho que atravessa o botão */
.botao::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.botao:hover::after { transform: translateX(120%); }
.botao:hover { box-shadow: 0 6px 0 var(--branco); }
.botao:active { box-shadow: none; }
.botao svg { width: 1.3em; height: 1.3em; flex: none; }

.botao-contorno {
  background: transparent;
  color: var(--branco);
  border-color: var(--branco);
}

.botao-grande {
  width: 100%;
  min-height: 4rem;
  font-size: 1.1rem;
  justify-content: flex-start;
  padding-inline: 1.5rem;
}

/* ---------- Barra de XP (progresso da rolagem) ---------- */

.xp {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 150;
  pointer-events: none;
}
.xp-barra {
  display: block;
  height: 100%;
  background: var(--verde);
  box-shadow: 0 0 12px var(--verde);
  transform-origin: left;
  transform: scaleX(var(--progresso, 0));
}

/* ---------- Topo ---------- */

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--lateral);
  max-width: var(--largura);
  margin: 0 auto;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.marca span { color: var(--verde); }
.marca-brilho {
  width: 1.1rem;
  height: 1.1rem;
  animation: girar 8s linear infinite;
}

.topo-cta {
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 2px solid var(--verde);
  padding: .5rem 0 .15rem;
}

/* Botão flutuante de contato (aparece depois do topo) */
.cta-flutuante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--verde);
  color: var(--preto);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transform: translateY(160%);
  transition: transform .4s var(--mola);
}
.cta-flutuante svg { width: 1.4rem; height: 1.4rem; }
.cta-flutuante.mostrar { transform: none; }

/* ---------- Seções ---------- */

.secao {
  position: relative;
  padding: var(--respiro) var(--lateral);
  max-width: var(--largura);
  margin: 0 auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem var(--lateral) 4rem;
  max-width: var(--largura);
  margin: 0 auto;
  animation: lanterna 14s ease-in-out infinite alternate;
}
.hero.seguindo { animation: none; }

/* retícula verde revelada por uma "lanterna" */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--lateral) * -1);
  background-image: radial-gradient(var(--verde) 1.5px, transparent 1.7px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle min(34vw, 340px) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(circle min(34vw, 340px) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}

@keyframes lanterna {
  0%   { --mx: 78%; --my: 30%; }
  50%  { --mx: 55%; --my: 65%; }
  100% { --mx: 88%; --my: 55%; }
}

.hero-texto { position: relative; z-index: 2; }

.hero-rabisco { margin-bottom: .75rem; transform: rotate(-3deg); display: inline-block; }

.hero-titulo {
  font-size: clamp(2.6rem, 13.5vw, 8.5rem);
}

.circulado {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.circulo {
  position: absolute;
  left: -8%;
  top: -14%;
  width: 116%;
  height: 128%;
  pointer-events: none;
  overflow: visible;
}
.circulo path {
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
}
.js .circulo path { stroke-dashoffset: 900; transition: stroke-dashoffset 1.3s ease .9s; }
.js .visivel .circulo path { stroke-dashoffset: 0; }

.hero-linha2 {
  display: block;
  margin-top: .3em;
  font-size: .5em;
  line-height: 1;
}
.hero-linha2 em {
  display: inline-block;
  animation: pulo 3.2s var(--mola) 2.2s infinite;
}
@keyframes pulo {
  0%, 80%, 100% { transform: none; }
  86% { transform: translateY(-.18em) rotate(-4deg); }
  92% { transform: translateY(0) rotate(2deg); }
}

.hero-sub {
  max-width: 36rem;
  margin: 1.75rem 0 2rem;
  color: #E6E6E6;
  font-size: 1.125rem;
}

.hero-foto {
  position: relative;
  margin: 0 auto -4rem;
  z-index: 1;
  align-self: end;
  width: min(100%, 30rem);
}
/* brilho verde atrás da foto */
.hero-foto::before {
  content: "";
  position: absolute;
  inset: 8% 2% 0;
  background: radial-gradient(ellipse at 55% 40%, rgba(34, 224, 107, .38), rgba(34, 224, 107, .08) 45%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero-foto img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(-10px 0 30px rgba(34, 224, 107, .18));
}

/* selo giratório */
.selo {
  position: absolute;
  z-index: 3;
  width: clamp(6.5rem, 26vw, 9.5rem);
  height: auto;
  left: -.5rem;
  bottom: 26%;
  animation: girar 18s linear infinite;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
}
.selo text {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 12.4px;
  letter-spacing: .9px;
  fill: var(--preto);
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Fitas (faixas de evento) ---------- */

.fitas {
  position: relative;
  z-index: 4;
  height: 9rem;
  margin: -3.5rem 0 -1rem;
  overflow: hidden;
  pointer-events: none;
}
.fita {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  padding: .7rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(1.05rem, 3.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.fita-verde {
  background: var(--verde);
  color: var(--preto);
  transform: translateY(-50%) rotate(-4deg);
  z-index: 2;
}
.fita-branca {
  background: var(--branco);
  color: var(--preto);
  transform: translateY(-50%) rotate(3deg);
}
.fita-trilho {
  display: inline-flex;
  animation: correr 38s linear infinite;
}
.fita-branca .fita-trilho { animation-direction: reverse; animation-duration: 46s; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- Na mídia (recortes de jornal) ---------- */

.midia { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.midia-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.25rem;
  margin-bottom: 2.5rem;
}
.midia-titulo { font-size: clamp(2.4rem, 8vw, 4.5rem); }
.midia-rabisco { transform: rotate(-2deg); }

/* slider: uma linha só, a matéria do meio em destaque */
.slider {
  position: relative;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  padding: 2.5rem 0 1rem;
}
.slider::before, .slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(12vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.slider::before { left: 0; background: linear-gradient(90deg, var(--preto), transparent); }
.slider::after { right: 0; background: linear-gradient(-90deg, var(--preto), transparent); }
.recortes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: max-content;
  will-change: transform;
}
.recortes.animando { transition: transform .8s cubic-bezier(.65, 0, .25, 1); }
.recorte {
  flex: 0 0 min(76vw, 340px);
  transform: scale(.88);
  opacity: .5;
  transition: transform .8s cubic-bezier(.65, 0, .25, 1), opacity .6s ease;
}
.recorte.ativo { transform: scale(1.14); opacity: 1; z-index: 1; }
.recortes.sem-transicao, .recortes.sem-transicao .recorte { transition: none; }
.recorte.ativo a { --giro: 0deg; background: var(--branco); }
.recorte a { min-height: 13.5rem; }
html:not(.js) .recortes { flex-wrap: wrap; width: auto; justify-content: center; }
html:not(.js) .recorte { transform: none; opacity: 1; }

.slider-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.slider-seta {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--branco);
  background: transparent;
  color: var(--branco);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.slider-seta:hover { background: var(--verde); border-color: var(--verde); color: var(--preto); }
.slider-pontos { display: flex; gap: .5rem; }
.slider-pontos i {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  background: #3A3A3A;
  transition: width .4s ease, background .4s ease;
}
.slider-pontos i.ativo { width: 1.8rem; background: var(--verde); }
.recorte a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  height: 100%;
  padding: 1.75rem 1.5rem 1.4rem;
  background: var(--papel);
  color: var(--preto);
  text-decoration: none;
  /* borda de papel recortado */
  clip-path: polygon(0 3%, 4% 0, 18% 2%, 34% 0, 52% 2%, 70% 0, 86% 2%, 100% 0, 99% 30%, 100% 62%, 98% 100%, 80% 98%, 62% 100%, 44% 98%, 26% 100%, 8% 98%, 0 100%, 1% 64%, 0 32%);
  transform: rotate(var(--giro, -1deg));
  transition: transform .35s var(--mola), background .2s ease;
}
.recorte:nth-child(2) a { --giro: 1.2deg; }
.recorte:nth-child(3) a { --giro: -.6deg; }
.recorte:nth-child(4) a { --giro: 1.6deg; }
.recorte:nth-child(5) a { --giro: -1.4deg; }
.recorte a:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); background: var(--branco); }
/* pedaço de fita adesiva */
.recorte a::before {
  content: "";
  position: absolute;
  top: -.2rem;
  left: 50%;
  width: 5.5rem;
  height: 1.4rem;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(34, 224, 107, .75);
}
.recorte-veiculo {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--verde-escuro);
}
.recorte-titulo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
}
.recorte-ler {
  margin-top: auto;
  font-weight: 700;
  font-size: .9rem;
  border-bottom: 2px solid var(--verde);
  align-self: flex-start;
}

/* ---------- Ofertas (cartas) ---------- */

/* textura de naipes bem sutil no fundo */
.ofertas::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background-image: url("../assets/texturas/naipes.svg");
  background-size: 180px 180px;
  opacity: .06;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  pointer-events: none;
  z-index: -1;
}
.ofertas { isolation: isolate; }

.ofertas-rabisco {
  margin: -1.5rem 0 2.5rem;
  transform: rotate(-2deg);
  display: inline-block;
}

.cartas {
  display: grid;
  gap: 1.75rem;
}

.carta-slot { perspective: 1000px; }

.carta {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: var(--papel);
  color: var(--preto);
  border-radius: 22px;
  padding: 3.25rem 1.75rem 3.5rem;
  box-shadow: 0 0 0 6px var(--preto), 0 0 0 8px #2A2A2A, 0 24px 40px rgba(0,0,0,.45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--mola);
  overflow: hidden;
}
.carta.inclinando { transition: transform .08s linear; }

/* brilho holográfico que segue o mouse */
.carta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.75), rgba(34,224,107,.18) 30%, transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .3s ease;
}
.carta.inclinando::after { opacity: 1; }

.carta-naipe {
  position: absolute;
  right: -.5rem;
  top: 1.5rem;
  font-size: 9rem;
  line-height: 1;
  color: rgba(10, 10, 10, .06);
  pointer-events: none;
}

.carta-canto {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.05;
  text-align: center;
}
.carta-canto-baixo {
  top: auto;
  left: auto;
  bottom: 1rem;
  right: 1.1rem;
  transform: rotate(180deg);
}

.carta-para {
  margin: 0;
  font-family: var(--fonte-mao);
  font-size: 1.45rem;
  color: var(--verde-escuro);
  line-height: 1;
}
.carta h3 { font-size: clamp(1.7rem, 7vw, 2.1rem); position: relative; }
.carta p { margin: 0; position: relative; }
.carta .botao {
  margin-top: auto;
  align-self: stretch;
  font-size: .95rem;
  background: var(--preto);
  border-color: var(--preto);
  color: var(--verde);
}
.carta .botao:hover { box-shadow: 0 6px 0 var(--verde); }

/* ---------- Conquistas (papel rasgado + linha do tempo) ---------- */

.papel {
  max-width: none;
  background: var(--papel);
  color: var(--preto);
  margin-block: 2.5rem;
}
.papel::before, .papel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  background-size: 100% 100%;
  pointer-events: none;
}
.papel::before { top: -33px; background-image: url("../assets/texturas/rasgado-topo.svg"); }
.papel::after { bottom: -33px; background-image: url("../assets/texturas/rasgado-base.svg"); }

.papel > * { max-width: var(--largura); margin-inline: auto; }
.papel .indice { color: var(--verde-escuro); }

.progresso {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 0;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .1em;
}
.progresso-barra {
  flex: 1 1 10rem;
  max-width: 22rem;
  height: .9rem;
  border: 2px solid var(--preto);
  border-radius: 999px;
  padding: 2px;
}
.progresso-barra span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--verde);
  transform-origin: left;
  transform: scaleX(var(--feito, 0));
  transition: transform .4s var(--mola);
}
.progresso-num { font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.mapa-topo .titulo-secao { margin-bottom: 1rem; }
.mapa-janela { position: relative; margin-top: 2.5rem; }
.mapa-dica { display: none; }

.conquistas {
  list-style: none;
  margin-block: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}
.conq { position: relative; }
.conq-no {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .3rem .85rem;
  border: 3px solid var(--preto);
  border-radius: 999px;
  background: var(--verde);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  position: relative;
  z-index: 2;
  transition: background .3s ease, transform .4s var(--mola);
}
.conq-carta {
  --g: -1.5deg;
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--branco);
  border: 2px solid var(--preto);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--preto);
}
.conq:nth-child(even) .conq-carta { --g: 1.5deg; }
.conq-ano { display: none; }
.conq-icone {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  background: var(--preto);
  color: var(--verde);
  font-size: 1.5rem;
  transition: background .4s ease, color .4s ease, transform .5s var(--mola);
}
.conq-premio .conq-icone { background: var(--verde); color: var(--preto); }
.conq h3 {
  grid-column: 2;
  font-size: clamp(1.15rem, 4.4vw, 1.45rem);
  line-height: 1.05;
  margin: .1rem 0 .5rem;
}
.conq h3 cite { font-style: normal; }
.conq p { grid-column: 2; margin: 0; font-size: .98rem; line-height: 1.5; }

/* --- modo linha do tempo (ligado pelo JavaScript) --- */
.mapa-ativo { padding-top: clamp(3rem, 6vw, 4.5rem); }
.mapa-ativo > .mapa { max-width: none; }
.mapa-ativo .mapa-palco { position: relative; }
.mapa-ativo .mapa-topo { width: 100%; max-width: var(--largura); margin-inline: auto; }
.mapa-ativo .mapa-janela {
  margin-inline: calc(50% - 50vw);
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.mapa-ativo .mapa-janela.arrastando { cursor: grabbing; }
.mapa-ativo .mapa-janela.arrastando .conquistas { transition: none; }
.mapa-ativo .conquistas {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: max-content;
  max-width: none;
  padding-inline: 50vw;
  will-change: transform;
  transition: transform .7s cubic-bezier(.6, 0, .2, 1);
}
/* o caminho do mapa */
.mapa-ativo .conquistas::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.25rem;
  height: 4px;
  background-image: linear-gradient(90deg, var(--preto) 55%, transparent 55%);
  background-size: 18px 4px;
  opacity: .5;
}
.mapa-ativo .conq {
  flex: 0 0 min(78vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mapa-ativo .conq-no { margin-bottom: 0; background: var(--papel); }
.mapa-ativo .conq.desbloqueada .conq-no { background: var(--verde); }
.mapa-ativo .conq.ativa .conq-no { transform: scale(1.18); }
/* fio que liga o ponto do mapa à carta */
.mapa-ativo .conq-carta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 3px;
  height: var(--fio, 1.6rem);
  background: var(--preto);
}
.mapa-ativo .conq-carta {
  width: 100%;
  margin-top: 1.6rem;
  opacity: .35;
  filter: grayscale(1);
  transform: scale(.9) rotate(var(--g));
  transition: opacity .45s ease, transform .6s var(--mola), filter .45s ease, box-shadow .45s ease;
}
.mapa-ativo .conq:nth-child(even) .conq-carta { margin-top: 4.5rem; --fio: 4.5rem; }
.mapa-ativo .conq.desbloqueada .conq-carta { opacity: .7; filter: none; }
.mapa-ativo .conq.ativa .conq-carta {
  opacity: 1;
  transform: scale(1.04) rotate(0deg);
  box-shadow: 8px 8px 0 var(--preto), 0 0 0 4px var(--verde);
}
.mapa-ativo .conq .conq-icone { background: #CFCAC0; color: #8A857C; }
.mapa-ativo .conq.desbloqueada .conq-icone { background: var(--preto); color: var(--verde); }
.mapa-ativo .conq-premio.desbloqueada .conq-icone { background: var(--verde); color: var(--preto); }
.mapa-ativo .conq.ativa .conq-icone { animation: sacudir .6s var(--mola); }
@keyframes sacudir {
  0% { transform: scale(.6) rotate(-20deg); }
  60% { transform: scale(1.15) rotate(8deg); }
  100% { transform: none; }
}
/* selo "Desbloqueada" */
.mapa-ativo .conq-carta::after {
  content: "Desbloqueada";
  position: absolute;
  top: -.75rem;
  right: 1rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--verde);
  color: var(--preto);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(.4) rotate(-10deg);
  transition: opacity .25s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.mapa-ativo .conq.desbloqueada .conq-carta::after { opacity: 1; transform: rotate(3deg); }

.mapa-ativo .mapa-dica {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: .5rem;
}
.mapa-dica .rabisco { color: var(--verde-escuro); font-size: 1.45rem; }
.mapa-seta {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--preto);
  background: transparent;
  color: var(--preto);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mapa-seta:hover { background: var(--preto); color: var(--verde); }
.mapa-seta:disabled { opacity: .25; cursor: default; background: transparent; color: var(--preto); }

/* ---------- Sobre ---------- */

.sobre { display: grid; gap: 2rem; }
.sobre .titulo-secao { margin-bottom: 0; }
.sobre-texto {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(1.35rem, 4.6vw, 2rem);
  line-height: 1.3;
  max-width: 44rem;
}
.sobre-texto p { margin: 0 0 1.25rem; }
.sobre-texto cite { font-style: normal; }
/* palavras que acendem ao rolar */
.js .acender .palavra { color: #3A3A3A; transition: color .25s ease; }
.js .acender .palavra.acesa { color: var(--branco); }

.sobre-selos ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.1rem;
}
.carimbo {
  --giro: -2deg;
  display: grid;
  gap: .2rem;
  border: 3px solid var(--verde);
  color: var(--verde);
  border-radius: 10px;
  padding: .75rem 1.2rem .85rem;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  text-transform: uppercase;
  line-height: 1.1;
  transform: rotate(var(--giro));
  box-shadow: inset 0 0 0 2px var(--preto), inset 0 0 0 4px var(--verde);
}
.carimbo:nth-child(2n) { --giro: 1.5deg; }
.carimbo:nth-child(3n) { --giro: -1deg; }
.carimbo small {
  font-family: var(--fonte-texto);
  font-size: .74rem;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--branco);
}
.js .sobre-selos .carimbo { opacity: 0; transform: scale(1.8) rotate(-12deg); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s ease; }
.js .sobre-selos.visivel .carimbo { opacity: 1; transform: rotate(var(--giro)); }
.js .sobre-selos.visivel .carimbo:nth-child(2) { transition-delay: .12s; }
.js .sobre-selos.visivel .carimbo:nth-child(3) { transition-delay: .24s; }
.js .sobre-selos.visivel .carimbo:nth-child(4) { transition-delay: .36s; }
.js .sobre-selos.visivel .carimbo:nth-child(5) { transition-delay: .48s; }
.js .sobre-selos.visivel .carimbo:nth-child(6) { transition-delay: .6s; }
.js .sobre-selos.visivel .carimbo:nth-child(7) { transition-delay: .72s; }

/* ---------- Contato ---------- */

.contato { border-top: 2px solid #222; overflow: hidden; }
.contato-fundo {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(7rem, 30vw, 20rem);
  line-height: .8;
  text-transform: uppercase;
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 2px #262626;
  pointer-events: none;
  user-select: none;
}
.contato > *:not(.contato-fundo) { position: relative; }

.contato-botoes {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}
.contato-nota { margin: 1.25rem 0 0; font-size: 1.7rem; }

.redes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .75rem;
}
.redes a {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--branco);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .3s var(--mola);
}
.redes a:hover { background: var(--verde); border-color: var(--verde); color: var(--preto); transform: translateY(-4px) rotate(-8deg); }
.redes svg { width: 1.35rem; height: 1.35rem; }

.redes-pequenas a { width: 2.85rem; height: 2.85rem; }
.redes-pequenas svg { width: 1.15rem; height: 1.15rem; }

/* ---------- Rodapé ---------- */

.rodape {
  border-top: 2px solid #222;
  padding: 3rem var(--lateral) 6rem;
  max-width: var(--largura);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.rodape-linha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.rodape-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.rodape-links a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--verde);
  padding: .4rem 0 .1rem;
}
.rodape-copy { margin: 0; color: var(--cinza); font-size: .9rem; }

/* ---------- Aviso (segredo encontrado) ---------- */

.toast {
  position: fixed;
  left: 50%;
  top: 1.25rem;
  z-index: 300;
  transform: translate(-50%, -180%);
  background: var(--preto);
  color: var(--branco);
  border: 2px solid var(--verde);
  border-radius: 14px;
  padding: .8rem 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transition: transform .5s var(--mola);
  width: max-content;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.mostrar { transform: translate(-50%, 0); }
.toast small { display: block; color: var(--verde); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.confete { position: fixed; inset: 0; z-index: 290; pointer-events: none; }

/* ---------- Animações ao rolar (só quando o JavaScript está ativo) ---------- */

.js .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .revelar.visivel { opacity: 1; transform: none; }

.js .hero-titulo.revelar {
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: opacity .3s ease, clip-path 1s cubic-bezier(.7, 0, .2, 1);
}
.js .hero-titulo.revelar.visivel { clip-path: inset(-20% -60% -20% -10%); }

/* cartas sendo "distribuídas" */
.js .carta-slot.revelar {
  transform: translateY(80px) rotate(-8deg) scale(.9);
  transition: opacity .4s ease, transform .9s var(--mola);
}
.js .carta-slot.revelar:nth-child(2) { transform: translateY(80px) rotate(6deg) scale(.9); transition-delay: .12s; }
.js .carta-slot.revelar:nth-child(3) { transform: translateY(80px) rotate(-4deg) scale(.9); transition-delay: .24s; }
.js .carta-slot.revelar.visivel { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .revelar, .js .hero-titulo.revelar, .js .carta-slot.revelar {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .js .circulo path { stroke-dashoffset: 0; transition: none; }
  .js .sobre-selos .carimbo { opacity: 1; transform: none; transition: none; }
  .recortes, .recorte { transition: none !important; }
  .js .acender .palavra { color: var(--branco); }
  .botao, .carta { transition: none; }
}

/* =========================================================
   Telas maiores (tablet e computador)
   ========================================================= */

@media (min-width: 760px) {
  .cartas { max-width: 34rem; }
  .botao-grande { font-size: 1.2rem; }
  .fitas { height: 11rem; }
}

@media (min-width: 980px) {
  .cartas { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .sobre { grid-template-columns: 1fr 1.4fr; align-items: start; column-gap: 4rem; }
  .sobre .indice { grid-column: 1 / -1; margin-bottom: -1rem; }
  .sobre .titulo-secao { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .sobre-selos { grid-column: 1 / -1; }
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 0;
  }
  .hero-texto { padding-bottom: 7rem; }
  .hero-titulo { font-size: clamp(4.2rem, 5.9vw, 6.6rem); }
  .hero-foto { width: 128%; margin: 2.4rem -18% -7rem -10%; align-self: start; top: -3.5rem; }
  .selo { left: auto; right: 2%; bottom: 34%; }
}