/* PromoLego: identidade de tijolinhos (arte propria, sem elementos oficiais da LEGO) */
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url(/assets/fonts/fredoka-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fredoka-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url(/assets/fonts/fredoka-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2"); }

:root {
  --noite: #171A2C;      /* placa base escura */
  --noite-2: #1F2339;
  --noite-3: #2A2F4A;
  --papel: #F6F0E4;      /* placa base clara */
  --papel-2: #ECE3D1;
  --papel-3: #E2D6C0;
  --tinta: #1A1B22;
  --tinta-2: #4A4954;
  --tinta-3: #77757F;
  --red: #E4202A;    --red-l: #FF5A4E;    --red-d: #A3121B;
  --yellow: #FFC20E; --yellow-l: #FFE066; --yellow-d: #C98A00;
  --blue: #1F6FE5;   --blue-l: #5A9BFF;   --blue-d: #0F48A6;
  --green: #16A34A;  --green-l: #4ED07E;  --green-d: #0B6E30;
  --white: #F7F5EF;  --white-d: #C9C4B8;
  --display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pino: 16px;           /* passo do pino: grade de tudo */
  --raio: 8px;
  --max: 1180px;
  --ease-encaixe: cubic-bezier(.2, 1.5, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font: 400 17px/1.55 var(--body); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* placas base (pinos em grade) */
.placa-clara {
  background-color: var(--papel);
  background-image:
    radial-gradient(circle at 50% 56%, rgba(120, 96, 60, .10) 0 5.6px, transparent 6.4px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55) 0 5.6px, transparent 6.4px);
  background-size: 24px 24px;
}
.placa-escura {
  background-color: var(--noite);
  background-image:
    radial-gradient(circle at 50% 58%, rgba(0, 0, 0, .55) 0 7.5px, transparent 8.5px),
    radial-gradient(circle at 50% 50%, var(--noite-2) 0 7.5px, transparent 8.5px),
    radial-gradient(circle at 42% 42%, rgba(255, 255, 255, .06) 0 3px, transparent 3.6px);
  background-size: 28px 28px;
  color: #fff;
}

/* pinos por mascara: qualquer coisa ganha pinos no topo com a cor --c */
.pinos-topo { position: relative; }
.pinos-topo::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: -9px; height: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,0)), var(--c, var(--yellow));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Crect x='5' y='0' width='14' height='13' rx='3'/%3E%3C/svg%3E") repeat-x center top / 24px 12px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Crect x='5' y='0' width='14' height='13' rx='3'/%3E%3C/svg%3E") repeat-x center top / 24px 12px;
  pointer-events: none;
}

/* ---------- Botao-peca: aperta como tijolo encaixando ---------- */
.btn {
  --c: var(--yellow); --cd: var(--yellow-d); --cl: var(--yellow-l); --t: var(--tinta);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 26px 12px; margin-top: 10px;
  border: 0; border-radius: var(--raio); cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, var(--cl) 0 3px, var(--c) 3px);
  color: var(--t); font: 700 19px/1.1 var(--display); letter-spacing: .005em;
  box-shadow: 0 7px 0 var(--cd), 0 12px 22px -6px rgba(10, 12, 30, .45);
  transform: translateY(0);
  transition: transform .09s ease-out, box-shadow .09s ease-out, filter .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
.btn::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: -9px; height: 10px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='5' y='0' width='16' height='13' rx='3'/%3E%3C/svg%3E") repeat-x center top / 26px 12px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='5' y='0' width='16' height='13' rx='3'/%3E%3C/svg%3E") repeat-x center top / 26px 12px;
  transition: transform .09s ease-out;
}
.btn::after { /* brilho que passa */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%) -200% 0 / 220% 100% no-repeat;
}
.btn:hover { filter: brightness(1.04) saturate(1.05); }
.btn:hover::after { animation: brilho .9s ease-out; }
.btn:active, .btn.apertado { transform: translateY(7px); box-shadow: 0 0 0 var(--cd), 0 3px 8px -2px rgba(10, 12, 30, .45); }
.btn:active::before, .btn.apertado::before { transform: scaleY(.6) translateY(4px); }
.btn small { display: block; font: 700 12.5px/1.1 var(--body); opacity: .78; letter-spacing: .02em; margin-top: 3px; }
.btn .btn-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-red { --c: var(--red); --cd: var(--red-d); --cl: var(--red-l); --t: #fff; }
.btn-blue { --c: var(--blue); --cd: var(--blue-d); --cl: var(--blue-l); --t: #fff; }
.btn-green { --c: var(--green); --cd: var(--green-d); --cl: var(--green-l); --t: #fff; }
.btn-white { --c: var(--white); --cd: var(--white-d); --cl: #fff; --t: var(--tinta); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 16px; box-shadow: 0 5px 0 var(--cd), 0 8px 14px -6px rgba(10,12,30,.4); }
.btn-sm:active, .btn-sm.apertado { transform: translateY(5px); }
.btn-lg { min-height: 64px; padding: 14px 30px; font-size: 21px; }
@keyframes brilho { from { background-position: -200% 0; } to { background-position: 200% 0; } }

/* ---------- Cabecalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50; background: var(--noite); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topo-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.topo-logo { display: flex; align-items: center; margin-right: auto; padding: 6px 0; }
.topo-logo img { height: 34px; width: auto; }
.topo nav { display: flex; gap: 4px; }
.topo nav a {
  font: 600 15.5px var(--display); text-decoration: none; color: #E8E9F2; padding: 8px 12px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.topo nav a:hover { background: var(--noite-3); color: #fff; }
.som {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: var(--noite-2);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s;
}
.som:hover { background: var(--noite-3); }
.som svg { width: 22px; height: 22px; }
.som .on { display: none; } .som[aria-pressed="true"] .on { display: block; } .som[aria-pressed="true"] .off { display: none; }
@media (max-width: 900px) { .topo nav { display: none; } }
@media (max-width: 480px) { .topo-logo img { height: 28px; } .topo .btn-sm { padding: 8px 12px; font-size: 15px; } .topo-in { gap: 10px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero-in {
  position: relative; z-index: 1; pointer-events: none;
  display: grid; grid-template-columns: 1fr; gap: clamp(22px, 2.6vw, 34px); align-content: center;
  min-height: min(900px, calc(100svh - 68px)); padding: clamp(24px, 3.2vw, 44px) 0 68px;
}
.hero-in a, .hero-in button, .hero-in .selecionavel { pointer-events: auto; }
.obra { aspect-ratio: 29 / 11.1; width: min(100%, calc((100svh - 480px) * 2.6)); min-width: min(100%, 520px); margin-inline: auto; }
.hero-txt { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px 56px; align-items: end; }
.hero-a, .hero-b { display: grid; gap: 18px; justify-items: start; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font: 700 13px var(--body); letter-spacing: .04em; text-transform: uppercase; color: #F2F3FA;
}
.etiqueta i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: inset -2px -2px 0 var(--green-d), 0 0 0 3px rgba(22,163,74,.25); animation: pisca 2.2s ease-in-out infinite; }
@keyframes pisca { 50% { box-shadow: inset -2px -2px 0 var(--green-d), 0 0 0 7px rgba(22,163,74,0); } }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); position: relative; white-space: nowrap; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: #CFD2E2; max-width: 34em; }
.hero-sub b { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; margin-top: 6px; }
.dica-torre { font: 600 13.5px var(--body); color: #8E93AE; display: flex; align-items: center; gap: 8px; }
.dica-torre kbd { font: 700 12px var(--display); background: var(--noite-3); padding: 2px 7px; border-radius: 5px; color: #fff; }
.chao { /* fiada de placas no chao do hero */
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: 0;
  background: linear-gradient(180deg, #2B3050 0 4px, #232842 4px);
  pointer-events: none;
}
.placar {
  position: absolute; z-index: 3; right: 16px; bottom: 34px; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border-radius: 10px;
  background: var(--yellow); color: var(--tinta); font: 700 15px var(--display);
  box-shadow: 0 5px 0 var(--yellow-d); opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .4s var(--ease-encaixe);
}
.placar.ativo { opacity: 1; transform: none; }
.placar b { display: inline-block; min-width: 1.6em; text-align: center; background: var(--tinta); color: var(--yellow); border-radius: 6px; padding: 2px 6px; }
.placar b.pula { animation: pula .35s var(--ease-encaixe); }
@keyframes pula { 0% { transform: translateY(-8px) scale(1.2); } 100% { transform: none; } }
.balao {
  position: absolute; z-index: 4; left: 50%; top: 22px; transform: translate(-50%, -30px); opacity: 0; pointer-events: none;
  background: #fff; color: var(--tinta); font: 700 15px var(--display); padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 6px 0 var(--papel-3); transition: opacity .3s, transform .45s var(--ease-encaixe); white-space: nowrap;
}
.balao.ativo { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero-in { gap: 22px; padding: 22px 0 76px; min-height: 0; }
  .obra { width: 100%; min-width: 0; }
  .hero-txt { grid-template-columns: 1fr; }
  .dica-torre { display: none; }
}

/* ---------- Separador de tijolos (montado ao rolar) ---------- */
.fiada { display: flex; gap: 0; height: 30px; overflow: hidden; align-items: flex-end; padding-top: 6px; }
.fiada span {
  --c: var(--red); --cd: var(--red-d);
  flex: none; height: 22px; width: calc(var(--n, 2) * 24px); position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0 2px, transparent 2px), var(--c);
  border-radius: 4px; box-shadow: inset 0 -5px 0 var(--cd), inset -1px 0 0 rgba(0,0,0,.18);
}
.fiada span::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Crect x='5' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 24px 8px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Crect x='5' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 24px 8px;
}
.js-motion .fiada span { opacity: 0; transform: translateY(-40px); }
.js-motion .fiada.montada span { animation: cai-tijolo .5s var(--ease-encaixe) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes cai-tijolo {
  0% { opacity: 0; transform: translateY(-40px); }
  55% { opacity: 1; transform: translateY(0) scaleY(.86); }
  75% { transform: translateY(-3px) scaleY(1.04); }
  100% { opacity: 1; transform: none; }
}
.cor-red { --c: var(--red) !important; --cd: var(--red-d) !important; }
.cor-yellow { --c: var(--yellow) !important; --cd: var(--yellow-d) !important; }
.cor-blue { --c: var(--blue) !important; --cd: var(--blue-d) !important; }
.cor-green { --c: var(--green) !important; --cd: var(--green-d) !important; }
.cor-white { --c: var(--white) !important; --cd: var(--white-d) !important; }

/* ---------- Secoes ---------- */
.secao { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.secao-cab { display: grid; gap: 12px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }
.secao-cab h2 { font-size: clamp(30px, 4vw, 48px); }
.secao-cab p { font-size: 18px; color: var(--tinta-2); }
.kicker { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 20px; height: 12px; border-radius: 3px; background: currentColor; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.placa-escura .secao-cab p { color: #C3C6D8; }
.placa-escura .kicker { color: var(--yellow); }

/* ---------- Vitrine ---------- */
.vitrine-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 28px; }
.contador {
  display: inline-flex; align-items: center; gap: 12px; font: 600 16px var(--display); color: var(--tinta-2);
}
.contador .digitos { display: inline-flex; gap: 4px; }
.contador .digitos span {
  display: inline-grid; place-items: center; width: 30px; height: 38px; margin-top: 6px; border-radius: 5px; position: relative;
  background: var(--red); color: #fff; font: 700 22px var(--display); box-shadow: inset 0 -5px 0 var(--red-d);
}
.contador .digitos span::before { content: ""; position: absolute; top: -6px; left: 8px; width: 14px; height: 7px; border-radius: 3px 3px 0 0; background: inherit; }
.filtro-ativo { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--body); background: var(--noite); color: #fff; padding: 6px 8px 6px 14px; border-radius: 999px; }
.filtro-ativo button { border: 0; background: var(--noite-3); color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font: 700 14px var(--body); }
.grade-ofertas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 34px 22px; }
.oferta {
  --c: var(--white); position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 12px; margin-top: 10px;
  box-shadow: 0 6px 0 var(--papel-3), 0 18px 30px -18px rgba(40, 30, 10, .35);
  transition: transform .25s var(--ease-encaixe), box-shadow .25s;
}
.oferta::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: -9px; height: 10px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12'%3E%3Crect x='6' y='0' width='16' height='13' rx='3.5'/%3E%3C/svg%3E") repeat-x center top / 28px 12px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12'%3E%3Crect x='6' y='0' width='16' height='13' rx='3.5'/%3E%3C/svg%3E") repeat-x center top / 28px 12px;
}
.oferta:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 12px 0 var(--papel-3), 0 26px 34px -18px rgba(40, 30, 10, .4); }
.oferta-foto { position: relative; aspect-ratio: 1; margin: 12px 12px 0; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.oferta-foto img { width: 86%; height: 86%; object-fit: contain; }
.selo {
  position: absolute; top: 8px; left: 8px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font: 700 17px var(--display); letter-spacing: -.02em;
  box-shadow: inset -4px -5px 0 var(--red-d), inset 3px 3px 0 var(--red-l); transform: rotate(-8deg);
}
.loja { position: absolute; bottom: 8px; right: 8px; font: 800 11.5px var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: var(--noite); color: #fff; }
.oferta-corpo { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.oferta h3 { font: 600 16.5px/1.3 var(--display); color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.precos { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.de { color: var(--tinta-3); text-decoration: line-through; font-weight: 600; font-size: 14.5px; }
.por { font: 700 25px var(--display); color: var(--green-d); letter-spacing: -.01em; }
.quando { font-size: 13px; color: var(--tinta-3); font-weight: 600; }
.oferta .btn { margin-top: 14px; width: 100%; }

/* entrada encaixando (cards) */
.js-motion .encaixa { opacity: 0; transform: translateY(-80px) rotate(var(--rot, -4deg)); }
.js-motion .encaixa.dentro { animation: encaixa .78s cubic-bezier(.3, .0, .3, 1) both; animation-delay: var(--atraso, 0ms); }
@keyframes encaixa {
  0% { opacity: 0; transform: translateY(-80px) rotate(var(--rot, -4deg)); }
  50% { opacity: 1; transform: translateY(0) rotate(0) scale(1.02, .95); }
  64% { transform: translateY(-10px) scale(.99, 1.02); }
  78% { transform: translateY(0) scale(1.01, .985); }
  100% { opacity: 1; transform: none; }
}
.encaixa.dentro.estalo::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 70%; height: 14px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(40,30,10,.25), transparent);
  animation: poeira .6s ease-out both; animation-delay: calc(var(--atraso, 0ms) + 380ms); pointer-events: none; opacity: 0;
}
@keyframes poeira { 0% { opacity: 0; transform: translateX(-50%) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) scale(1.5); } }

/* estado vazio */
.vazio {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px; margin-bottom: 40px;
  background: var(--noite); color: #fff; border-radius: 16px; position: relative;
  box-shadow: 0 8px 0 #0C0E1A;
}
.vazio h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.vazio p { color: #C3C6D8; margin-bottom: 14px; }
.mini-obra { width: 132px; height: 120px; position: relative; }
.mini-obra i { position: absolute; left: var(--x); bottom: var(--y); width: var(--w); height: 24px; border-radius: 4px; background: var(--c); box-shadow: inset 0 -5px 0 var(--cd); }
.mini-obra i::before { content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 7px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='8'%3E%3Crect x='4' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 22px 8px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='8'%3E%3Crect x='4' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 22px 8px; }
.js-motion .mini-obra i { animation: obra 4.8s var(--ease-encaixe) infinite both; animation-delay: var(--d); }
.js-motion .mini-obra.pausa i { animation-play-state: paused; }
@keyframes obra {
  0% { opacity: 0; transform: translateY(-70px); }
  10% { opacity: 1; transform: translateY(0) scaleY(.9); }
  14% { transform: translateY(-4px); }
  18%, 84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(6px); }
}
.exemplo .oferta-foto { background: var(--papel); }
.exemplo .fita {
  position: absolute; top: 12px; right: -6px; background: var(--yellow); color: var(--tinta); font: 800 11px var(--body);
  text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 4px 0 0 4px; box-shadow: 0 3px 0 var(--yellow-d);
}
.exemplo .por { color: var(--tinta-3); font-size: 17px; }
.exemplo h3 { color: var(--tinta-2); }
@media (max-width: 640px) { .vazio { grid-template-columns: 1fr; text-align: left; } .mini-obra { width: 120px; height: 100px; } }

/* ---------- Como funciona ---------- */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; counter-reset: p; }
.passo { display: grid; gap: 14px; align-content: end; }
.pilha { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0; margin-bottom: 6px; min-height: 118px; justify-content: flex-start; }
.pilha i {
  --c: var(--red); --cd: var(--red-d);
  display: block; width: 96px; height: 34px; border-radius: 5px; position: relative; margin-top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0 2px, transparent 2px), var(--c); box-shadow: inset 0 -6px 0 var(--cd);
}
.pilha i::before { content: ""; position: absolute; top: -7px; left: 0; right: 0; height: 8px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Crect x='5' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 24px 8px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Crect x='5' y='0' width='14' height='9' rx='2.5'/%3E%3C/svg%3E") repeat-x left top / 24px 8px; }
.pilha i:nth-child(2) { margin-left: 24px; }
.pilha i:nth-child(3) { margin-left: 0; }
.pilha i:last-child { margin-top: 8px; }
.js-motion .pilha i { opacity: 0; transform: translateY(-60px); }
.js-motion .passo.dentro .pilha i { animation: cai-tijolo .55s var(--ease-encaixe) both; animation-delay: calc(var(--k) * 150ms + var(--atraso, 0ms)); }
.passo-num { font: 700 15px var(--display); color: var(--tinta-3); letter-spacing: .06em; }
.passo h3 { font-size: 25px; }
.passo p { color: var(--tinta-2); }
@media (max-width: 820px) { .passos { grid-template-columns: 1fr; gap: 36px; } .pilha { min-height: 0; } }

/* ---------- Temas ---------- */
.muro { display: flex; flex-wrap: wrap; gap: 22px 10px; }
.tema {
  --c: var(--red); --cd: var(--red-d); --cl: var(--red-l); --t: #fff;
  position: relative; border: 0; cursor: pointer; margin-top: 8px;
  height: 64px; padding: 0 22px; min-width: calc(var(--n, 3) * 40px);
  border-radius: 7px; color: var(--t); font: 700 18px var(--display);
  background: linear-gradient(180deg, var(--cl) 0 3px, var(--c) 3px);
  box-shadow: inset 0 -8px 0 var(--cd), 0 10px 18px -12px rgba(0,0,0,.6);
  transition: transform .22s var(--ease-encaixe), box-shadow .22s;
}
.tema::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 9px; background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Crect x='10' y='0' width='20' height='11' rx='3'/%3E%3C/svg%3E") repeat-x left top / 40px 10px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Crect x='10' y='0' width='20' height='11' rx='3'/%3E%3C/svg%3E") repeat-x left top / 40px 10px; }
.tema:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: inset 0 -8px 0 var(--cd), 0 18px 22px -12px rgba(0,0,0,.7); }
.tema:nth-child(even):hover { transform: translateY(-8px) rotate(1.5deg); }
.tema:active { transform: translateY(2px); }
.tema[aria-pressed="true"] { outline: 3px solid #fff; outline-offset: 3px; }
.tema.yellow { --c: var(--yellow); --cd: var(--yellow-d); --cl: var(--yellow-l); --t: var(--tinta); }
.tema.blue { --c: var(--blue); --cd: var(--blue-d); --cl: var(--blue-l); }
.tema.green { --c: var(--green); --cd: var(--green-d); --cl: var(--green-l); }
.tema.white { --c: var(--white); --cd: var(--white-d); --cl: #fff; --t: var(--tinta); }
.nota-temas { margin-top: 26px; font-size: 13.5px; color: #9296B0; }

/* ---------- FAQ ---------- */
.faq-grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: 0 5px 0 var(--papel-3); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 18px 20px; font: 600 18.5px/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pino {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); position: relative;
  box-shadow: inset -3px -3px 0 var(--yellow-d), inset 2px 2px 0 var(--yellow-l); transition: transform .35s var(--ease-encaixe), background .2s;
}
.faq summary .pino::before, .faq summary .pino::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; border-radius: 2px; background: var(--tinta); transform: translate(-50%, -50%); }
.faq summary .pino::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary .pino { transform: rotate(180deg); background: var(--green); box-shadow: inset -3px -3px 0 var(--green-d), inset 2px 2px 0 var(--green-l); }
.faq details[open] summary .pino::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details[open] summary .pino::before, .faq details[open] summary .pino::after { background: #fff; }
.faq .resp { padding: 0 20px 20px; color: var(--tinta-2); }
.faq .resp p + p { margin-top: 10px; }
.js-motion .faq details[open] .resp { animation: abre .35s ease-out; }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq-grade { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- CTA final ---------- */
.cta-final { padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.cta-bloco {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  background: var(--red); color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 56px); margin-top: 14px;
  box-shadow: inset 0 -12px 0 var(--red-d), 0 26px 40px -24px rgba(0,0,0,.6);
}
.cta-bloco::before { content: ""; position: absolute; top: -13px; left: 24px; right: 24px; height: 14px; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Crect x='12' y='0' width='32' height='15' rx='4'/%3E%3C/svg%3E") repeat-x left top / 56px 14px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Crect x='12' y='0' width='32' height='15' rx='4'/%3E%3C/svg%3E") repeat-x left top / 56px 14px; }
.cta-bloco h2 { font-size: clamp(30px, 4.4vw, 52px); }
.cta-bloco p { font-size: 18px; color: #FFE3DF; margin-top: 12px; max-width: 30em; }
.cta-bloco .acoes { display: grid; gap: 12px; justify-items: start; }
.cta-bloco .ig-handle { font: 700 16px var(--display); color: #FFE3DF; }
@media (max-width: 820px) { .cta-bloco { grid-template-columns: 1fr; } }

/* ---------- Rodape ---------- */
.rodape { background: var(--noite); color: #B9BCCF; padding: 56px 0 40px; font-size: 14.5px; }
.rodape-in { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.rodape img.logo-rod { height: 44px; width: auto; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.rodape nav a { color: #E6E8F2; text-decoration: none; font: 600 15px var(--display); }
.rodape nav a:hover { color: var(--yellow); }
.legal { grid-column: 1 / -1; display: grid; gap: 8px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; line-height: 1.55; }
.legal strong { color: #fff; }
@media (max-width: 720px) { .rodape-in { grid-template-columns: 1fr; } .rodape nav { justify-content: flex-start; } }

/* ---------- Cursor de peca 2x2 (so ponteiro fino) ---------- */
.cursor-peca, .cursor-ponto { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor-peca { width: 32px; height: 32px; margin: -4px 0 0 -4px; will-change: transform; }
.cursor-peca svg { width: 100%; height: 100%; overflow: visible; transition: transform .16s var(--ease-encaixe); filter: drop-shadow(0 4px 3px rgba(0,0,0,.28)); }
.cursor-ponto { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 2px #fff; will-change: transform; }
html.cursor-on .cursor-peca, html.cursor-on .cursor-ponto { opacity: 1; }
html.cursor-on, html.cursor-on * { cursor: none !important; }
.cursor-peca.encaixado svg { transform: scale(1.18); }
.cursor-peca.estalo svg { animation: estalo .22s var(--ease-encaixe); }
.cursor-peca.apertando svg { transform: scale(.86) translateY(2px); }
@keyframes estalo { 0% { transform: scale(1.38) rotate(-8deg); } 100% { transform: scale(1.18); } }
.alvo-encaixe { box-shadow: 0 0 0 3px rgba(255, 194, 14, .0); }

/* ---------- Movimento reduzido: tudo parado e bonito ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion .encaixa, .js-motion .fiada span, .js-motion .pilha i, .js-motion .mini-obra i { opacity: 1 !important; transform: none !important; }
}

/* ajustes */
.encaixa.dentro.estalo::after { content: none; }
.oferta.estalo::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 80%; height: 16px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(40,30,10,.28), transparent);
  animation: poeira .7s ease-out both; animation-delay: calc(var(--atraso, 0ms) + 360ms); pointer-events: none; opacity: 0;
}
.vazio-tema { margin-top: 10px; font-weight: 600; color: var(--tinta-2); }
.oferta-foto svg { width: 78%; height: 78%; }
.grupo-aberto .so-ig { display: none !important; }
.so-grupo { display: none !important; }
.grupo-aberto .so-grupo { display: block !important; }
@media (max-width: 560px) {
  .grade-ofertas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .oferta-foto { margin: 8px 8px 0; }
  .oferta-corpo { padding: 10px 10px 12px; gap: 6px; }
  .oferta h3 { font-size: 14.5px; }
  .por { font-size: 20px; }
  .exemplo .por { font-size: 14px; }
  .selo { width: 46px; height: 46px; font-size: 14px; }
  .oferta .btn { font-size: 14px; padding: 8px 8px; min-height: 40px; }
  .exemplo .fita { font-size: 9.5px; padding: 4px 7px; }
}
