/* Intrigas — landing no visual do próprio jogo (papel, fita roxa, botões gordinhos) */
@font-face { font-family: "Luckiest Guy"; src: url("../img/fonts/LuckiestGuy.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../img/fonts/Baloo2.ttf") format("truetype"); font-weight: 400 800; font-display: swap; }

:root {
  --paper: #f8dfc4; --paper-2: #f1cba8; --rim: #c8553f; --rim-d: #8f3628;
  --ink: #5a2f1e; --ink-soft: #8a5a40; --night: #24110d; --night-2: #331a13;
  --cream: #fff3e2;
  --verde: #7db31c; --verde-d: #56800f;
  --ciano: #1db8da; --ciano-d: #1287a2;
  --laranja: #f79a16; --laranja-d: #bd6c08;
  --roxo: #b943dc; --roxo-d: #8526a4;
  --vermelho: #ee3f4e; --vermelho-d: #b02332;
  --max: 1160px; --nav: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); }
body { font-family: "Baloo 2", "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.5;
  color: var(--cream); background: var(--night); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- botões do jogo ---------- */
.btn { --c: var(--laranja); --d: var(--laranja-d);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px; border-radius: 18px; background: var(--c); color: #fff;
  font-family: "Luckiest Guy", "Baloo 2", sans-serif; font-size: 20px; letter-spacing: .5px; line-height: 1.1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
  box-shadow: 0 7px 0 var(--d), 0 12px 18px rgba(0, 0, 0, .35);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), filter .14s; }
.btn::before { content: ""; position: absolute; left: 10px; right: 10px; top: 6px; height: 34%; max-height: 22px;
  border-radius: 12px; background: rgba(255, 255, 255, .26); pointer-events: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--d), 0 18px 24px rgba(0, 0, 0, .38); filter: brightness(1.07); }
.btn:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--d), 0 4px 8px rgba(0, 0, 0, .3); }
.btn__ico { width: 26px; height: 26px; fill: currentColor; flex: none; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.btn--verde { --c: var(--verde); --d: var(--verde-d); }
.btn--ciano { --c: var(--ciano); --d: var(--ciano-d); }
.btn--roxo { --c: var(--roxo); --d: var(--roxo-d); }
.btn--sm { padding: 9px 18px; font-size: 16px; border-radius: 14px; box-shadow: 0 5px 0 var(--d); }
.btn--sm .btn__ico { width: 18px; height: 18px; }
.btn--sm::before { top: 4px; left: 8px; right: 8px; }
.btn--xl { padding: 18px 30px 18px 24px; border-radius: 22px; min-width: 300px; justify-content: flex-start; gap: 16px; }
.btn--xl .btn__ico { width: 44px; height: 44px; }
.btn__txt { display: grid; text-align: left; gap: 3px; }
.btn__txt b { font-weight: 400; font-size: 23px; }
.btn__txt small { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0; opacity: .95; text-shadow: none; }
.btn.is-mine::after { content: "Seu sistema"; position: absolute; top: -13px; right: 14px; padding: 3px 10px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 800 12px "Baloo 2", sans-serif; text-shadow: none; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
  background: rgba(36, 17, 13, .86); backdrop-filter: blur(10px); border-bottom: 3px solid rgba(0, 0, 0, .35); }
.nav__inner { height: 100%; width: min(var(--max), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__brand img { width: 132px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 16px; color: #f3d9bd; transition: background .15s, color .15s; }
.nav__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; background: var(--roxo); box-shadow: 0 4px 0 var(--roxo-d); }
.nav__burger span { display: block; width: 22px; height: 3px; margin: 4px auto; border-radius: 3px; background: #fff; }

/* ---------- textos ---------- */
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--laranja); color: #fff;
  font-weight: 800; font-size: 15px; box-shadow: 0 4px 0 var(--laranja-d); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.pill--roxo { background: var(--roxo); box-shadow: 0 4px 0 var(--roxo-d); }
.title { font-family: "Luckiest Guy", sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: 1px;
  color: #ffd23f; -webkit-text-stroke: 10px #3b1a10; paint-order: stroke fill; text-shadow: 0 6px 0 #3b1a10; margin-bottom: 14px; }
.title--left, .lead--left { text-align: left; }
.lead { max-width: 640px; margin: 0 auto 10px; font-size: 20px; color: #f6e3cd; }
.lead--left { margin-left: 0; }
.lead strong { color: #ffd23f; }
.note { margin-top: 26px; font-weight: 800; color: #eaffc7; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav) + 28px) 16px 80px; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, rgba(36, 17, 13, .55) 0%, rgba(36, 17, 13, .35) 40%, rgba(36, 17, 13, .92) 100%), url("../img/web/bar.jpg") center / cover no-repeat; }
.hero__content { width: min(860px, 100%); display: grid; justify-items: center; gap: 18px; }
.hero__logo { width: min(620px, 88vw); filter: drop-shadow(0 12px 0 rgba(0, 0, 0, .35)) drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: pop .7s var(--ease) both; }
.hero__title { font-family: "Luckiest Guy", sans-serif; font-weight: 400; font-size: clamp(28px, 4.6vw, 50px); line-height: 1.08; letter-spacing: 1px;
  color: #fff; -webkit-text-stroke: 9px #3b1a10; paint-order: stroke fill; text-shadow: 0 5px 0 #3b1a10; }
.hero__lead { max-width: 620px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.hero__actions, .download__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 10px; }
.hero__pc { display: none; padding: 8px 14px; border-radius: 14px; background: rgba(0, 0, 0, .55); font-size: 15px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.chips li { padding: 5px 14px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .22); font-size: 15px; font-weight: 700; }
.hero__scroll { position: absolute; bottom: 18px; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, .45); animation: bob 1.8s ease-in-out infinite; }
.hero__scroll svg { width: 26px; }
.hero__decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.float { position: absolute; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); animation: drift 7s ease-in-out infinite; }
.float--1 { width: 90px; left: 7%; top: 24%; }
.float--2 { width: 120px; right: 7%; top: 20%; rotate: 14deg; animation-delay: -2s; }
.float--3 { width: 64px; right: 13%; bottom: 20%; animation-delay: -4s; }
.float--4 { width: 100px; left: 9%; bottom: 14%; rotate: -16deg; animation-delay: -3s; }
@keyframes drift { 50% { translate: 0 -18px; } }
@keyframes bob { 50% { translate: 0 7px; } }
@keyframes pop { from { scale: .8; } 60% { scale: 1.05; } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 110px) 0; }
.section--piso { background: linear-gradient(rgba(60, 24, 16, .35), rgba(60, 24, 16, .35)), url("../img/web/chao.jpg") center / 900px auto; }
.section--feltro { background: linear-gradient(rgba(10, 40, 18, .25), rgba(10, 40, 18, .55)), url("../img/web/mesa.jpg") center / cover no-repeat; }
.section--noite { background: radial-gradient(1000px 500px at 50% 0%, #4a2418 0%, var(--night) 70%); }
.section--piso::before, .section--feltro::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: rgba(0, 0, 0, .35); }

/* painel de papel com fita roxa (igual às janelas do jogo) */
.panel { position: relative; padding: 64px clamp(18px, 4vw, 44px) clamp(24px, 4vw, 44px); border-radius: 30px; text-align: center;
  background: var(--paper); color: var(--ink); border: 7px solid var(--rim); box-shadow: 0 9px 0 var(--rim-d), 0 26px 50px rgba(0, 0, 0, .45); }
.panel__lead { max-width: 600px; margin: 0 auto 28px; font-size: 20px; color: var(--ink-soft); font-weight: 700; }
.ribbon { position: absolute; top: -34px; left: 50%; translate: -50% 0; white-space: nowrap; font-weight: 400; }
.ribbon span { position: relative; z-index: 1; display: block; padding: 12px 40px 10px; border-radius: 16px;
  background: linear-gradient(#cf62ee, var(--roxo)); box-shadow: 0 7px 0 var(--roxo-d), inset 0 3px 0 rgba(255, 255, 255, .35);
  font-family: "Luckiest Guy", sans-serif; font-size: clamp(22px, 3.4vw, 34px); letter-spacing: 1px; color: #fff; text-shadow: 0 3px 0 var(--roxo-d); }
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 16px; width: 44px; height: 100%; background: var(--roxo-d); border-radius: 8px; }
.ribbon::before { left: -22px; rotate: -6deg; }
.ribbon::after { right: -22px; rotate: 6deg; }

/* passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { --c: var(--laranja); --d: var(--laranja-d); position: relative; padding: 38px 16px 20px; border-radius: 20px; background: var(--paper-2); text-align: center; }
.step--roxo { --c: var(--roxo); --d: var(--roxo-d); }
.step--vermelho { --c: var(--vermelho); --d: var(--vermelho-d); }
.step--verde { --c: var(--verde); --d: var(--verde-d); }
.step__num { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: var(--c); box-shadow: 0 5px 0 var(--d); color: #fff; font: 400 26px "Luckiest Guy", sans-serif; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.step h3 { font: 400 24px "Luckiest Guy", sans-serif; letter-spacing: .5px; color: var(--c); margin-bottom: 4px; }
.step p { font-size: 17px; line-height: 1.35; color: var(--ink); }
.shot { margin-top: 30px; border-radius: 20px; overflow: hidden; border: 6px solid var(--ink); box-shadow: 0 8px 0 rgba(0, 0, 0, .25); }

/* leque de cartas */
.fan { position: relative; height: clamp(300px, 44vw, 470px); margin: 40px auto 0; max-width: 900px; }
.fan__card { position: absolute; left: 50%; bottom: 50px; width: clamp(150px, 24vw, 270px); margin-left: calc(clamp(150px, 24vw, 270px) / -2);
  border-radius: 14px; transform-origin: 50% 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); transition: transform .3s var(--ease); }
.fan { --s: 1; }
.fan__card--1 { transform: translateX(calc(-138% * var(--s))) translateY(46px) rotate(-14deg); }
.fan__card--2 { transform: translateX(calc(-70% * var(--s))) translateY(14px) rotate(-7deg); z-index: 2; }
.fan__card--3 { transform: translateY(-8px); z-index: 3; }
.fan__card--4 { transform: translateX(calc(70% * var(--s))) translateY(14px) rotate(7deg); z-index: 2; }
.fan__card--5 { transform: translateX(calc(138% * var(--s))) translateY(46px) rotate(14deg); }
.fan__card--2:hover { transform: translateX(calc(-70% * var(--s))) translateY(-14px) rotate(-7deg); }
.fan__card--3:hover { transform: translateY(-36px); }
.fan__card--4:hover { transform: translateX(calc(70% * var(--s))) translateY(-14px) rotate(7deg); }

/* eventos secretos */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.events__copy .pill { margin-bottom: 16px; }
.polaroids { position: relative; height: 340px; }
.polaroid { position: absolute; width: 190px; padding: 12px 12px 10px; border-radius: 8px; background: #fffaf1; color: var(--ink);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .55); text-align: center; font: 400 20px "Luckiest Guy", sans-serif; transition: transform .3s var(--ease); }
.polaroid__pic { height: 170px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 4px;
  background: repeating-linear-gradient(45deg, #4b2a8a 0 14px, #5a35a3 14px 28px); color: #ffd23f; font-size: 110px; line-height: 1; text-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.polaroid--1 { left: 4%; top: 30px; transform: rotate(-9deg); }
.polaroid--2 { left: 50%; margin-left: -95px; top: 0; transform: rotate(3deg); z-index: 2; }
.polaroid--3 { right: 4%; top: 50px; transform: rotate(10deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.06); z-index: 3; }

/* modos (iguais aos botões do menu do jogo) */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: left; }
.mode { --c: var(--verde); --d: var(--verde-d); position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px;
  background: var(--c); color: #fff; box-shadow: 0 7px 0 var(--d); }
.mode::before { content: ""; position: absolute; left: 10px; right: 10px; top: 6px; height: 18px; border-radius: 12px; background: rgba(255, 255, 255, .22); }
.mode--roxo { --c: var(--roxo); --d: var(--roxo-d); }
.mode--laranja { --c: var(--laranja); --d: var(--laranja-d); }
.mode--ciano { --c: var(--ciano); --d: var(--ciano-d); }
.mode--soon { filter: saturate(.55); }
.mode__ico { width: 54px; height: 54px; padding: 10px; flex: none; border-radius: 14px; background: rgba(0, 0, 0, .18); fill: #fff; }
.mode h3 { font: 400 26px "Luckiest Guy", sans-serif; letter-spacing: .5px; text-shadow: 0 2px 0 rgba(0, 0, 0, .28); }
.mode h3 em { font: 800 12px "Baloo 2", sans-serif; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--ink); text-shadow: none; }
.mode p { font-size: 17px; line-height: 1.3; font-weight: 700; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }

/* galeria */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.frame { border-radius: 20px; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 8px 0 rgba(0, 0, 0, .4), 0 20px 40px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.frame:hover { transform: translateY(-6px) rotate(-.6deg); }
.frame--big { grid-column: 1 / -1; }

/* baixar */
.panel--download { max-width: 860px; margin-inline: auto; }
.howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 18px; }
.howto li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--paper-2); font-weight: 800; }
.howto b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--rim); color: #fff; font: 400 18px "Luckiest Guy", sans-serif; }
.fine { max-width: 620px; margin: 0 auto; font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; }
.soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 3px dashed rgba(90, 47, 30, .25);
  font-weight: 800; color: var(--ink-soft); }
.soon img { height: 34px; width: auto; opacity: .55; filter: grayscale(1); }

/* rodapé */
.footer { padding: 40px 16px 48px; display: grid; justify-items: center; gap: 16px; background: #170a07; color: #c9ab8d; font-size: 15px; text-align: center; }
.footer img { width: 130px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-weight: 700; }
.footer__links a:hover { color: #fff; }

/* aparecer ao rolar */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .events { grid-template-columns: 1fr; text-align: center; }
  .title--left, .lead--left { text-align: center; margin-inline: auto; }
  .nav__links { position: absolute; top: var(--nav); left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px 16px 16px; background: rgba(36, 17, 13, .97); border-bottom: 3px solid rgba(0, 0, 0, .35); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 10px; font-size: 18px; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: 0; }
  .float--1, .float--4 { left: -20px; opacity: .6; }
  .float--2, .float--3 { right: -20px; opacity: .6; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .modes, .gallery { grid-template-columns: 1fr; }
  .btn--xl { min-width: 0; width: 100%; }
  .hero__actions, .download__actions { width: 100%; gap: 18px; }
  .title { -webkit-text-stroke-width: 7px; }
  .hero__title { -webkit-text-stroke-width: 7px; }
  .fan { --s: .62; }
  .hero__pc { display: block; }
  .float { opacity: .35 !important; }
  .polaroids { height: 270px; }
  .polaroid { width: 140px; font-size: 16px; }
  .polaroid__pic { height: 120px; font-size: 80px; }
  .polaroid--2 { margin-left: -70px; }
  .polaroid--1 { left: 0; } .polaroid--3 { right: 0; }
  .nav__cta { display: none; }
  .panel { border-width: 6px; border-radius: 24px; }
  .ribbon span { padding: 10px 24px 8px; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
  html { scroll-behavior: auto; }
}
