/* M&M's · conceito Fillum
   Mundo: um pacote rasgado derramando na mesa.
   Cores: as sete do pacote + o marrom do chocolate e o creme da casquinha. */

:root {
  --choco: #2A150D;
  --choco-2: #3E2116;
  --cream: #FFF5E4;
  --cream-2: #FBE8C8;
  --ink: #2A150D;

  --red: #D71F26;
  --yellow: #FFC928;
  --green: #1FA24A;
  --blue: #1266C4;
  --orange: #FF7A1A;
  --brown: #6B3A22;
  --purple: #6C3FB5;

  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: var(--ink); }
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: .98; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 700; font-variation-settings: "wdth" 118; text-wrap: balance; }
h2 em, h1 em { font-style: normal; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 1.05rem/1 var(--display); font-variation-settings: "wdth" 110;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 rgb(0 0 0 / .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 0 rgb(0 0 0 / .28); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgb(0 0 0 / .28); }
.btn-ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 2px rgb(255 245 228 / .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--cream); }
.btn-small { padding: .7em 1.1em; font-size: .95rem; }
.btn-big { padding: 1.05em 1.8em; font-size: 1.15rem; --bg: var(--red); --fg: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px;
  background: rgb(42 21 13 / .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--cream);
  transition: transform .4s var(--ease-out);
}
.nav.hide { transform: translateY(-120%); }
.logo { display: block; line-height: 0; background: var(--cream); padding: 6px 14px; border-radius: 999px; transition: transform .4s var(--ease); }
.logo img { height: 30px; width: auto; }
.logo:hover { transform: rotate(-4deg) scale(1.06); }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff;
  font: 700 .75rem/22px var(--body); text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.6); } }

@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav .btn-small { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(100svh, 700px);
  background:
    radial-gradient(120% 70% at 50% 0%, #4A2718 0%, transparent 60%),
    var(--choco);
  color: var(--cream);
  overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(104px, 14vh, 140px) var(--gutter) calc(min(1180px, 96vw) * .245 + 24px);
}
#pile { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; touch-action: pan-y; z-index: 2; }
.hero-gang {
  position: absolute; left: 50%; bottom: 0; z-index: 1; width: min(1180px, 96vw); height: auto;
  transform: translateX(-50%); pointer-events: none;
  filter: drop-shadow(0 20px 30px rgb(0 0 0 / .45));
  animation: gangIn 1.2s var(--ease) .15s both;
}
@keyframes gangIn { from { transform: translate(-50%, 60%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.hero-copy {
  position: relative; z-index: 3; max-width: 980px; text-align: center;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.eyebrow {
  display: inline-block; padding: .35em .9em; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font: 600 .9rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(-3deg);
}
.hero h1 {
  margin-top: 22px;
  font-family: "Titan One", var(--display);
  font-size: clamp(2.6rem, 7.8vw, 6rem); font-weight: 400; line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
  text-shadow: 0 5px 0 rgb(0 0 0 / .4);
  -webkit-text-stroke: 0;
}
.hero h1 em { color: var(--yellow); display: inline-block; }
.hero h1 em .l { display: inline-block; animation: wobble 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes wobble { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-10px) rotate(-6deg); } 90% { transform: translateY(0) rotate(4deg); } }
.hero-sub { margin: 20px auto 0; text-shadow: 0 1px 12px var(--choco), 0 0 2px var(--choco); max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 245 228 / .88); text-wrap: pretty; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- faixa ---------- */
.band { background: var(--yellow); overflow: hidden; border-block: 3px solid var(--ink); }
.band-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.band-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px;
  font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--display); font-variation-settings: "wdth" 125;
  color: var(--ink); text-transform: uppercase; white-space: nowrap;
}
.band-dot { width: .9em; height: .9em; border-radius: 50%; background: var(--c); box-shadow: inset -3px -4px 0 rgb(0 0 0 / .18), inset 3px 3px 0 rgb(255 255 255 / .35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cabeçalhos de seção ---------- */
.section-head { padding: 0 var(--gutter); max-width: 1100px; margin: 0 auto; text-align: center; }
.kicker { font: 600 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section-head h2 em { color: var(--red); }
.section-head.light { color: var(--cream); }
.section-head.light .kicker, .section-head.light h2 em { color: var(--yellow); }
.lede { margin-top: 14px; font-size: 1.15rem; opacity: .8; }

/* ---------- turma ---------- */
.turma { padding: clamp(80px, 12vw, 140px) 0 clamp(70px, 10vw, 120px); }
.track-wrap { position: relative; margin-top: 48px; }
.track {
  display: flex; gap: 18px; margin: 0; padding: 20px var(--gutter) 30px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.char {
  --c: var(--red); --fg: #fff;
  flex: 0 0 clamp(260px, 26vw, 330px);
  scroll-snap-align: center;
  background: var(--c); color: var(--fg);
  border-radius: 32px; padding: 22px 24px 26px;
  box-shadow: 0 8px 0 rgb(0 0 0 / .18);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease);
}
.char:nth-child(odd) { transform: rotate(-1.5deg); }
.char:nth-child(even) { transform: rotate(1.2deg); }
.char:hover { transform: translateY(-10px) rotate(0); }
.char::before { /* confete de fundo */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: radial-gradient(circle, currentColor 3px, transparent 3.5px);
  background-size: 26px 26px;
}
.char { transform-style: preserve-3d; }
.char:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-10px); transition: transform .15s linear; }
.char-stage { position: relative; height: 270px; display: grid; place-items: end center; }
.char-stage::after { content: ""; position: absolute; bottom: 2px; width: 55%; height: 16px; border-radius: 50%; background: rgb(0 0 0 / .22); filter: blur(4px); }
.char-stage img {
  position: relative; z-index: 1; max-height: 260px; max-width: 92%; width: auto; height: auto;
  filter: drop-shadow(0 14px 14px rgb(0 0 0 / .25));
  animation: bob 2.8s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: transform .45s var(--ease);
}
.char:hover .char-stage img { transform: translateX(var(--px, 0)) scale(1.1) rotate(-3deg); }
.char h3 { position: relative; font-size: 2.1rem; font-weight: 700; font-variation-settings: "wdth" 120; margin-top: 8px; }
.char .role { position: relative; font: 600 .85rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.char p.desc { position: relative; margin-top: 12px; font-size: 1rem; line-height: 1.45; }
.track-arrow {
  position: absolute; top: 50%; z-index: 3; width: 54px; height: 54px; margin-top: -27px;
  border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); color: var(--ink);
  font: 700 1.9rem/1 var(--display); cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
  transition: transform .25s var(--ease), background .2s;
}
.track-arrow:hover { background: var(--yellow); transform: scale(1.1); }
.track-arrow.prev { left: 10px; }
.track-arrow.next { right: 10px; }
@media (hover: none), (max-width: 760px) { .track-arrow { display: none; } }

/* ---------- história ---------- */
.historia { background: var(--choco); color: var(--cream); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.timeline { list-style: none; margin: 64px auto 0; padding: 0; max-width: 1000px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px;
  background: repeating-linear-gradient(to bottom, rgb(255 245 228 / .35) 0 10px, transparent 10px 20px);
}
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 26px 0; }
.tl::after {
  content: "m"; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--c); color: #fff;
  font: 700 1.5rem/42px var(--display); text-align: center;
  box-shadow: inset -4px -5px 0 rgb(0 0 0 / .2), inset 4px 4px 0 rgb(255 255 255 / .3), 0 0 0 6px var(--choco);
}
.tl .year {
  font: 700 clamp(3.6rem, 10vw, 7rem)/.9 var(--display); font-variation-settings: "wdth" 125;
  color: var(--c); text-align: right;
  text-shadow: 0 5px 0 rgb(0 0 0 / .35);
}
.tl h3 { font-size: 1.7rem; font-weight: 600; font-variation-settings: "wdth" 110; }
.tl p { margin-top: 8px; color: rgb(255 245 228 / .85); max-width: 40ch; }
.tl:nth-child(even) .year { order: 2; text-align: left; }
.tl:nth-child(even) div { text-align: right; }
.tl:nth-child(even) div p { margin-left: auto; }
@media (max-width: 760px) {
  .timeline::before { left: 23px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 18px 70px; }
  .tl::after { left: 23px; top: 34px; }
  .tl .year, .tl:nth-child(even) .year { order: 0; text-align: left; }
  .tl:nth-child(even) div { text-align: left; }
  .tl:nth-child(even) div p { margin-left: 0; }
}

/* ---------- montar ---------- */
.montar { padding: clamp(80px, 12vw, 140px) var(--gutter); background: var(--cream); }
.builder {
  max-width: 1180px; margin: 56px auto 0;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
}
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }

.preview {
  position: sticky; top: 96px;
  background: var(--cream-2); border-radius: 36px; padding: 28px;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
@media (max-width: 900px) { .preview { position: relative; top: 0; box-shadow: 6px 6px 0 var(--ink); } }
.bowl {
  position: relative; aspect-ratio: 1.35; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 110%, rgb(42 21 13 / .16), transparent 70%),
    #FFFDF7;
}
.mini {
  position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c);
  box-shadow: inset -.28em -.34em 0 rgb(0 0 0 / .2), inset .22em .2em 0 rgb(255 255 255 / .38), 0 3px 4px rgb(42 21 13 / .2);
  display: grid; place-items: center; color: #fff;
  font: 700 clamp(.7rem, 1.6vw, 1.1rem)/1 var(--display);
  animation: drop .7s var(--ease) both; animation-delay: var(--dl);
}
.mini { transform: rotate(var(--r)) scaleY(.88); }
@keyframes drop { from { transform: translateY(-420%) rotate(0); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(var(--r)) scaleY(.88); opacity: 1; } }
.big-candies { display: flex; justify-content: center; gap: 18px; margin-top: -58px; position: relative; }
.big {
  width: clamp(104px, 13vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background: var(--c); color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: inset -9px -11px 0 rgb(0 0 0 / .18), inset 7px 7px 0 rgb(255 255 255 / .35), 0 10px 18px rgb(42 21 13 / .3);
  border: 3px solid var(--ink);
  font: 700 1.2rem/1 var(--display); font-variation-settings: "wdth" 80;
  padding: 10px; overflow: hidden; word-break: break-all;
  transition: background .35s;
  animation: bob 3s ease-in-out infinite;
}
.big:nth-child(2) { animation-delay: -1.5s; }
.big .m { font-size: 3.2rem; font-variation-settings: "wdth" 110; }
.preview-label { margin-top: 20px; text-align: center; font-weight: 500; }

.controls { display: grid; gap: 26px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font: 600 1.35rem/1.2 var(--display); font-variation-settings: "wdth" 110; margin-bottom: 14px; padding: 0; }
legend small { font: 500 .9rem/1 var(--body); opacity: .7; }
.step { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 1rem; flex: none; }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span {
  display: block; height: 100%; padding: 14px 10px; text-align: center; cursor: pointer;
  border: 3px solid var(--ink); border-radius: 18px; background: #fff;
  transition: transform .25s var(--ease), background .2s;
}
.size b { display: block; font: 700 1.2rem/1.1 var(--display); }
.size small { display: block; opacity: .75; margin-top: 2px; }
.size em { display: block; font-style: normal; font-weight: 700; margin-top: 6px; }
.size:hover span { transform: translateY(-3px); }
.size input:checked + span { background: var(--yellow); box-shadow: 0 5px 0 var(--ink); transform: translateY(-3px); }
.size input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px;
  padding: 6px 14px; font: 500 .92rem/1.2 var(--body); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.chip:hover { background: #fff; }
.chip i { display: inline-flex; }
.chip i b { width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-left: -4px; border: 1.5px solid var(--cream); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw {
  width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--ink); cursor: pointer;
  background: var(--c); color: #fff; position: relative;
  box-shadow: inset -5px -6px 0 rgb(0 0 0 / .18), inset 4px 4px 0 rgb(255 255 255 / .35);
  font: 700 1.5rem/1 var(--display);
  transition: transform .3s var(--ease), opacity .2s;
  opacity: .38;
}
.sw[aria-pressed="true"] { opacity: 1; transform: translateY(-4px) scale(1.06); box-shadow: inset -5px -6px 0 rgb(0 0 0 / .18), inset 4px 4px 0 rgb(255 255 255 / .35), 0 5px 0 var(--ink); }
.sw:hover { transform: translateY(-4px) rotate(12deg); }

.msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msg-row input {
  width: 100%; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 16px; background: #fff;
  font: 600 1.25rem/1 var(--display); font-variation-settings: "wdth" 90; text-transform: uppercase; color: var(--ink);
  letter-spacing: .04em;
}
.msg-row input::placeholder { color: rgb(42 21 13 / .35); }
.msg-row input:focus { outline: none; background: #FFFBEF; box-shadow: 0 0 0 4px var(--yellow); }

.row-end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--ink); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font: 700 1.5rem/1 var(--display); cursor: pointer; border-radius: 50%; color: var(--ink); }
.qty button:hover { background: var(--yellow); }
.qty output { min-width: 34px; text-align: center; font: 700 1.3rem/1 var(--display); }
.gift { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.gift input { width: 22px; height: 22px; accent-color: var(--red); }

.total {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: 24px; background: var(--ink); color: var(--cream);
}
.total-label { display: block; font-size: .9rem; opacity: .75; }
.total strong { display: block; font: 700 2.3rem/1 var(--display); font-variation-settings: "wdth" 115; color: var(--yellow); }
.total strong.bump { animation: bump .45s var(--ease); }
.total-note { display: block; font-size: .78rem; opacity: .65; margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--yellow); color: var(--ink); padding: clamp(70px, 10vw, 120px) var(--gutter) 40px; text-align: center; overflow: hidden; }
.footer-mark {
  font: 700 clamp(5rem, 22vw, 18rem)/.85 var(--display); font-variation-settings: "wdth" 125;
  letter-spacing: -.03em; text-shadow: 0 8px 0 rgb(0 0 0 / .22);
}
.footer-mark span { color: var(--yellow); }
.footer-line { margin-top: 18px; font: 500 1.3rem/1.3 var(--display); }
.disclaimer { margin: 48px auto 0; max-width: 720px; font-size: .9rem; line-height: 1.55; opacity: .92; display: grid; gap: 10px; }
.disclaimer a { font-weight: 700; }

/* ---------- carrinho ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgb(42 21 13 / .5); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(420px, 100%); background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .5s var(--ease-out);
  border-left: 3px solid var(--ink);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 2px dashed rgb(42 21 13 / .25); }
.drawer-head h2 { font-size: 1.9rem; font-variation-settings: "wdth" 115; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.cart-list { list-style: none; margin: 0; padding: 12px 24px; overflow: auto; flex: 1; }
.cart-empty { padding: 40px 0; text-align: center; opacity: .75; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgb(42 21 13 / .12); animation: slidein .45s var(--ease-out); }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } }
.cart-thumb { width: 56px; height: 56px; border-radius: 50%; position: relative; background: #fff; border: 2px solid var(--ink); overflow: hidden; }
.cart-thumb b { position: absolute; width: 50%; height: 50%; border-radius: 50%; background: var(--c); box-shadow: inset -2px -3px 0 rgb(0 0 0 / .2); }
.cart-item h3 { font-size: 1.1rem; font-weight: 600; }
.cart-item p { font-size: .88rem; opacity: .75; }
.cart-item .price { font-weight: 700; text-align: right; }
.cart-item .rm { background: none; border: 0; color: var(--red); font: 600 .85rem var(--body); cursor: pointer; padding: 4px 0; text-decoration: underline; }
.drawer-foot { padding: 20px 24px 26px; border-top: 2px dashed rgb(42 21 13 / .25); display: grid; gap: 14px; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total strong { font: 700 1.8rem/1 var(--display); }
.demo-msg { background: var(--yellow); padding: 14px 16px; border-radius: 16px; font-weight: 500; animation: slidein .4s var(--ease-out); }

/* ---------- revelar no scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease-out), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tl.reveal::after { transform: scale(0) rotate(-180deg); transition: transform .8s var(--ease) .2s; }
.tl.reveal.in::after { transform: none; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .band-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- loja ---------- */
.loja { background: var(--blue); color: var(--cream); padding: clamp(80px, 12vw, 140px) var(--gutter); position: relative; overflow: hidden; }
.loja::before {
  content: ""; position: absolute; inset: -30%; pointer-events: none; opacity: .09;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #fff 0 8deg, transparent 8deg 20deg);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loja-head { position: relative; max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.loja .kicker, .loja h2 em { color: var(--yellow); }
.loja h2 { max-width: 14ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  border: 2px solid rgb(255 245 228 / .6); background: transparent; color: var(--cream);
  padding: 9px 16px; border-radius: 999px; font: 600 .95rem/1 var(--display); cursor: pointer;
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.filter:hover { transform: translateY(-2px); border-color: var(--cream); }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.shelf {
  position: relative; list-style: none; margin: 44px auto 0; padding: 0; max-width: 1240px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 44vw), 1fr)); gap: 18px;
}
.prod {
  background: var(--cream); color: var(--ink); border-radius: 26px; padding: 12px 12px 16px;
  display: flex; flex-direction: column; box-shadow: 0 7px 0 rgb(0 0 0 / .22);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.prod[hidden] { display: none; }
.prod:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 14px 0 rgb(0 0 0 / .22); }
.prod-img { position: relative; background: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.prod:hover .prod-img img { transform: scale(1.08) rotate(-3deg); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font: 600 .78rem/1 var(--display); letter-spacing: .03em;
}
.prod h3 { margin-top: 14px; font-size: 1.2rem; font-weight: 600; line-height: 1.1; padding: 0 4px; }
.prod-size { padding: 0 4px; margin-top: 4px; font-size: .9rem; opacity: .7; }
.prod-buy { margin-top: auto; padding: 14px 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-buy strong { font: 700 1.4rem/1 var(--display); }
.add {
  border: 0; border-radius: 999px; padding: 10px 14px; background: var(--red); color: #fff; cursor: pointer;
  font: 600 .92rem/1 var(--display); box-shadow: 0 4px 0 rgb(0 0 0 / .25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.add:hover { transform: translateY(-2px) scale(1.04); }
.add:active { transform: translateY(3px); box-shadow: 0 1px 0 rgb(0 0 0 / .25); }
.loja .note { position: relative; text-align: center; margin-top: 40px; font-size: .88rem; opacity: .85; }
.fly { position: fixed; z-index: 90; pointer-events: none; object-fit: contain; border-radius: 18px; }

/* ---------- mundo real ---------- */
.mundo { background: var(--cream); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.mundo-grid {
  max-width: 1240px; margin: 0 auto; display: grid; gap: 18px;
  grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto;
  grid-template-areas: "a copy copy" "a b c";
}
.ph { margin: 0; position: relative; border-radius: 28px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ph:hover img { transform: scale(1.06); }
.ph figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font: 600 .85rem/1 var(--display);
}
.ph-a { grid-area: a; min-height: 520px; transform: rotate(-1.2deg); }
.ph-b { grid-area: b; aspect-ratio: 4 / 3; transform: rotate(1deg); }
.ph-c { grid-area: c; aspect-ratio: 4 / 3; transform: rotate(-.8deg); }
.mundo-copy { grid-area: copy; padding: 10px 10px 20px 20px; align-self: center; }
.mundo-copy p:not(.kicker) { margin: 16px 0 22px; font-size: 1.12rem; max-width: 52ch; }
.mundo-copy h2 em { color: var(--red); }
@media (max-width: 900px) {
  .mundo-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "a a" "b c"; }
  .ph-a { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- rodapé, toast, carrinho com foto ---------- */
.footer-gang { width: min(900px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .3)); }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--ink); color: var(--cream); padding: 14px 20px; border-radius: 999px;
  font-weight: 500; box-shadow: 0 8px 24px rgb(0 0 0 / .3); transition: transform .45s var(--ease), opacity .3s, visibility .3s;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (max-width: 600px) {
  .shelf { gap: 12px; }
  .prod { padding: 8px 8px 12px; border-radius: 20px; }
  .prod h3 { font-size: 1.02rem; }
  .prod-buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .prod-buy strong { font-size: 1.25rem; }
  .add { padding: 11px 10px; }
  .badge { font-size: .7rem; top: 6px; left: 6px; }
  .char-stage { height: 230px; }
  .char-stage img { max-height: 220px; }
}

@media (max-width: 700px) {
  .hero { padding-bottom: calc(165vw * .245 + 20px); }
  .hero-gang { width: 165vw; }
}

/* selo fixo: deixa claro que não é o site oficial */
.selo {
  position: fixed; left: 12px; bottom: 12px; z-index: 80;
  padding: 7px 12px; border-radius: 999px;
  background: rgb(42 21 13 / .88); color: var(--cream); text-decoration: none;
  font: 600 .78rem/1 var(--body); letter-spacing: .01em;
  box-shadow: 0 4px 14px rgb(0 0 0 / .25);
}
.selo:hover { background: var(--ink); }
