/* FirePlace — direção "Recorte": preto e branco, formas cortadas como as toras do logo. A cor é dos jogos. */
:root {
  --preto: #000;
  --branco: #fff;
  --cinza: #333;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --texto: "DM Sans", system-ui, sans-serif;
  --pad: clamp(20px, 4.5vw, 64px);
  --corte: polygon(0 8%, 100% 0, 97% 100%, 3% 90%);
  --ease: cubic-bezier(.2,.7,.1,1);
  --mola: cubic-bezier(.34,1.5,.64,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--branco); color: var(--preto);
  font-family: var(--texto); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
::selection { background: var(--preto); color: var(--branco); }
:focus-visible { outline: 3px solid var(--preto); outline-offset: 4px; }

/* etiqueta cortada: o botão da casa */
.tag {
  display: inline-block; background: var(--preto); color: var(--branco); text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1; padding: 11px 18px 12px;
  clip-path: var(--corte); transition: transform .3s var(--mola);
}
.tag:hover { transform: rotate(-3deg) scale(1.06); }
.tag--grande { font-size: 17px; padding: 16px 26px 17px; }

.titulo {
  font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.02em;
  max-width: 16ch; margin-bottom: clamp(40px, 6vw, 88px);
}

/* ---------- topo ---------- */
.topo {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(20px, 3vw, 36px) var(--pad);
}
.topo__marca img { width: clamp(108px, 11vw, 140px); }
.topo__nav { display: flex; gap: 8px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: start;
  padding: clamp(24px, 5vw, 70px) var(--pad) 0; position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 6rem); line-height: 1.04; letter-spacing: -.02em; max-width: 9.5ch; }
.hero__texto p { margin-top: clamp(18px, 2.2vw, 28px); font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 34ch; }
.hero__cartas { position: relative; aspect-ratio: 1 / .96; width: 100%; max-width: 640px; justify-self: end; margin-top: -3%; }
.k {
  position: absolute; border-radius: clamp(8px, 1vw, 14px); overflow: hidden; background: var(--preto);
  box-shadow: 0 0 0 clamp(4px, .45vw, 6px) var(--branco);
  transform: translateY(70%) rotate(0deg); opacity: 0;
  transition: transform 1s var(--mola) var(--d), opacity .5s ease var(--d);
}
.k img { width: 100%; height: 100%; object-fit: cover; }
.k1 { left: 3%; top: 33%; width: 36%; aspect-ratio: 23 / 34; --r: -14deg; --d: .15s; }
.k2 { left: 33%; top: 9%; width: 41%; aspect-ratio: 26 / 40; --r: 3deg; --d: .3s; z-index: 2; }
.k3 { left: 66%; top: 36%; width: 34%; aspect-ratio: 22 / 32; --r: 15deg; --d: .45s; display: grid; place-items: center; }
.k3 span { color: var(--branco); font-family: var(--display); font-size: clamp(.8rem, 1.5vw, 1.35rem); line-height: 1.15; text-align: center; }
.k3 small { display: block; font-family: var(--texto); font-weight: 500; font-size: .68em; margin-top: .6em; }
.pronto .k { transform: rotate(var(--r)); opacity: 1; }

/* ---------- toras ---------- */
.toras { position: relative; height: clamp(170px, 23vw, 330px); margin-top: clamp(-150px, -9vw, -50px); z-index: 1; }
.tora { position: absolute; background: var(--preto); }
.tora--1 { inset: 12% -3% 0; clip-path: polygon(0 30%, 100% 0, 98% 100%, 2% 84%); }
.tora--2 { left: 38%; right: -4%; top: -22%; height: 52%; clip-path: polygon(0 60%, 96% 0, 100% 62%, 6% 100%); }
.toras p {
  position: absolute; left: calc(var(--pad) + 1.2vw); top: 50%; color: var(--branco);
  font-family: var(--display); font-size: clamp(1.15rem, 2.8vw, 2.5rem); transform: rotate(-2.2deg);
}

/* ---------- jogos ---------- */
.jogos { padding: clamp(70px, 10vw, 140px) var(--pad) clamp(30px, 5vw, 70px); }
.jogo {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center;
  margin-bottom: clamp(64px, 9vw, 130px);
}
.jogo--inverso .jogo__visual { order: 2; }
.jogo__visual { position: relative; aspect-ratio: 5 / 4; clip-path: polygon(0 5%, 100% 0, 97% 100%, 3% 94%); }
.jogo--inverso .jogo__visual { clip-path: polygon(0 0, 100% 6%, 96% 95%, 2% 100%); }
.jogo__visual--miaugic { background: #f4e3bd; }
.jogo__visual--atom img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; transition: transform 1.2s var(--ease); }
.jogo:hover .jogo__visual--atom img { transform: scale(1.04); }
.jogo__visual--orderup { background: var(--preto); display: grid; place-items: center; aspect-ratio: 5 / 3; }
.jogo__visual--orderup span { color: var(--branco); font-family: var(--display); font-size: clamp(2rem, 5.4vw, 4.6rem); transform: rotate(-4deg); }

.leque { position: absolute; inset: 14% 0 0; }
.leque img {
  position: absolute; width: 31%; left: 34.5%; border-radius: clamp(8px, 1vw, 14px);
  box-shadow: 0 22px 34px -20px rgba(80,45,10,.6); transition: transform .7s var(--mola);
}
.leque img:nth-child(1) { transform: rotate(-11deg) translateX(-58%); }
.leque img:nth-child(2) { transform: translateY(-5%); z-index: 2; }
.leque img:nth-child(3) { transform: rotate(11deg) translateX(58%); }
.jogo:hover .leque img:nth-child(1) { transform: rotate(-17deg) translateX(-76%) translateY(3%); }
.jogo:hover .leque img:nth-child(2) { transform: translateY(-10%); }
.jogo:hover .leque img:nth-child(3) { transform: rotate(17deg) translateX(76%) translateY(3%); }

.jogo__logo { width: clamp(150px, 16vw, 220px); margin-bottom: 22px; }
.jogo__logo--atom { width: clamp(130px, 14vw, 190px); margin-bottom: 28px; }
.jogo__info h3 { font-size: clamp(1.45rem, 2.7vw, 2.3rem); line-height: 1.14; letter-spacing: -.01em; max-width: 17ch; }
.jogo__info p { margin-top: 18px; max-width: 46ch; color: var(--cinza); }
.jogo__info .jogo__dados { margin-top: 12px; font-weight: 700; color: var(--preto); }
.jogo__info .tag { margin-top: 28px; }
.jogo__info .vem {
  display: inline-block; margin: 0 0 18px; padding: 8px 14px 9px; border: 2px dashed var(--preto);
  font-weight: 700; font-size: 15px; line-height: 1; color: var(--preto); transform: rotate(-3deg);
}

/* ---------- história ---------- */
.historia { padding: clamp(40px, 6vw, 90px) var(--pad) clamp(80px, 11vw, 150px); }
.historia__corpo { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.historia__intro { position: sticky; top: 40px; }
.historia__ola { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; margin-bottom: 18px; }
.historia__intro p:last-child { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40ch; }
.passos { counter-reset: passo; display: grid; gap: clamp(30px, 4vw, 48px); }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 58px 1fr; column-gap: 22px; }
.passos li::before {
  content: counter(passo); grid-row: span 2; width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--preto); color: var(--branco); font-family: var(--display); font-size: 22px;
  clip-path: polygon(6% 10%, 100% 0, 92% 94%, 0 100%);
}
.passos li:nth-child(2n)::before { clip-path: polygon(0 0, 94% 8%, 100% 100%, 8% 92%); }
.passos h3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.2; padding-top: 4px; }
.passos p { margin-top: 8px; color: var(--cinza); max-width: 54ch; }

/* ---------- contato ---------- */
.contato {
  background: var(--preto); color: var(--branco);
  clip-path: polygon(0 clamp(30px, 6vw, 90px), 100% 0, 100% 100%, 0 100%);
  padding: clamp(110px, 15vw, 210px) var(--pad) 0;
}
.contato h2 { font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 1.04; letter-spacing: -.02em; transform: rotate(-2deg); transform-origin: left; }
.contato > p { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 40ch; color: #cfcfcf; }
.contato__links { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 80px); }
.contato__links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-decoration: none;
  padding: 20px 0; border-bottom: 2px solid #3a3a3a; transition: border-color .3s, padding .4s var(--ease);
}
.contato__links span { color: #a8a8a8; font-size: 15px; }
.contato__links b { font-family: var(--display); font-weight: 400; font-size: clamp(1rem, 1.7vw, 1.4rem); }
.contato__links a:hover { border-color: var(--branco); padding-left: 10px; }
.rodape {
  margin-top: clamp(70px, 9vw, 120px); padding: 28px 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 15px; color: #a8a8a8;
}
.rodape img { width: 110px; filter: invert(1); }
.rodape a { color: var(--branco); font-weight: 700; text-underline-offset: 4px; }

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__cartas { max-width: 440px; justify-self: center; margin-top: 6px; }
  .toras { margin-top: -70px; height: clamp(170px, 34vw, 260px); }
  .jogo { grid-template-columns: 1fr; gap: 26px; }
  .jogo--inverso .jogo__visual { order: 0; }
  .historia__corpo { grid-template-columns: 1fr; }
  .historia__intro { position: static; }
  .contato__links { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .topo__nav { gap: 4px; }
  .tag { font-size: 13px; padding: 9px 11px 10px; }
  .tag--grande { font-size: 16px; padding: 15px 22px 16px; }
  .passos li { grid-template-columns: 46px 1fr; column-gap: 16px; }
  .passos li::before { width: 46px; height: 46px; font-size: 18px; }
  .rodape { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .k { transform: rotate(var(--r)); opacity: 1; }
}
