/* NEW ARC, design 4: "em movimento". Claro e vivo, com o vermelho e o azul do logótipo, cantos redondos.
   Bricolage Grotesque (variável: o peso reage ao rato no rodapé), Geist e Geist Mono.
   O movimento vive em js/motion.js; aqui ficam os estados. Sem JS ou com "reduzir movimento", tudo
   aparece parado e completo. Só se animam transform, opacity e filter. */

:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6db;
  --card: #ffffff;
  --ink: #0f0f14;
  --ink-2: #55555f;
  --ink-3: #8b8b94;
  --line: rgb(15 15 20 / 0.12);
  --red: #ff3b24;
  --red-ink: #d42a15;
  --blue: #2c55ff;
  --red-soft: #ffd9d0;
  --blue-soft: #d8e0ff;
  --sun-soft: #ffeeb8;
  --mint-soft: #cdeedb;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 28px;
  --r-s: 16px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* as faixas inclinadas passam a margem de propósito: corta-se no main, porque o overflow do body vai para a janela */
main { overflow-x: clip; }
body.nav-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- tipo ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 99px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--ink-2);
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgb(255 59 36 / 0.5); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(255 59 36 / 0.45); } 70%, 100% { box-shadow: 0 0 0 10px rgb(255 59 36 / 0); } }
h2 { font-size: clamp(44px, 6.4vw, 96px); }
.hl-red { color: var(--red); }
.hl-blue { color: var(--blue); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 99px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em;
  transition: scale 160ms var(--ease-out), translate 500ms var(--ease-out), color 250ms ease;
}
/* o enchimento que sobe por trás do texto */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill, var(--red));
  clip-path: circle(0% at 50% 120%); transition: clip-path 500ms var(--ease-out);
}
.btn .arrow { width: 15px; height: 15px; transition: transform 300ms var(--ease-out); }
.btn:active { scale: 0.96; }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn--primary { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light, .btn--sale { --bg: #fff; --fg: var(--ink); --fill: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { clip-path: circle(150% at 50% 120%); }
  .btn--ghost:hover, .btn--light:hover, .btn--sale:hover { color: #fff; }
  .btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
}
.link {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  text-decoration: none; font: 600 16px/1.3 var(--sans);
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-size: 0% 2px; background-position: 0 100%; transition: background-size 400ms var(--ease-out);
}
.link .arrow { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 2px; } .link:hover .arrow { transform: translateX(4px); } }

/* ---------- preços ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.price--big { font-size: 48px; line-height: 1; }
.was { font: 500 0.42em/1 var(--sans); color: var(--ink-3); letter-spacing: -0.01em; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--red); color: #fff; font: 600 12px/1 var(--mono); letter-spacing: 0; }
.price--big .tag { align-self: center; height: 30px; font-size: 14px; }
[data-desde], [data-preco], [data-was], [data-portes], [data-portes-gratis], [data-pack], [data-pack-was] { white-space: nowrap; }

/* ---------- faixa de demonstração ---------- */
.demo-strip { margin: 0; padding: 8px var(--gut); text-align: center; background: var(--ink); color: #bdbdc6; font: 400 12px/1.3 var(--mono); }
.demo-strip b { color: #fff; font-weight: 600; }

/* ---------- cursor próprio (só rato) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; }
  html.has-cursor .cursor.is-label { mix-blend-mode: normal; }
}
.cursor__ring {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid #fff; background: transparent;
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out), margin 300ms var(--ease-out), background-color 250ms ease, border-color 250ms ease, opacity 200ms ease;
}
.cursor__label { font: 600 13px/1 var(--sans); color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 300ms var(--ease-out); white-space: nowrap; }
.cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--ink); border-color: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-link .cursor__ring { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: #fff; border-color: #fff; }
.cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { scale: 0.85; }

/* ---------- revelar ao chegar (só com JS e sem "reduzir movimento") ---------- */
html.motion [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- cabeçalho: pílula flutuante que se esconde ao descer ---------- */
.nav { position: sticky; top: 12px; z-index: 60; margin-top: 12px; transition: translate 450ms var(--ease-out); }
.nav.is-away { translate: 0 -130px; }
.nav__bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding: 0 12px 0 14px;
  border-radius: 99px;
}
/* o vidro vive num pseudo-elemento: um backdrop-filter no próprio cabeçalho prenderia os filhos fixos */
.nav__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgb(255 255 255 / 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 10px 30px -12px rgb(15 15 20 / 0.18), 0 0 0 1px var(--line); }
.nav__logo { display: flex; text-decoration: none; }
.logo { display: block; height: 48px; aspect-ratio: 1260 / 590; border-radius: 12px; background: var(--ink) url("../img/logo.webp") center / 84% auto no-repeat; transition: transform 400ms var(--ease-spring); }
.logo--big { height: 96px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) { .nav__logo:hover .logo { transform: rotate(-4deg) scale(1.06); } }
.nav__links { display: flex; align-items: center; gap: 2px; position: relative; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 99px;
  text-decoration: none; font: 500 15px/1 var(--sans); color: var(--ink); z-index: 1;
}
.nav__link .chev { width: 11px; height: 11px; transition: transform 300ms var(--ease-out); }
/* a pílula que desliza por baixo da ligação sob o rato */
.nav__pill { position: absolute; top: 0; left: 0; height: 44px; border-radius: 99px; background: var(--bg-2); opacity: 0; pointer-events: none; transition: transform 350ms var(--ease-out), width 350ms var(--ease-out), opacity 200ms ease; }
.nav__links:hover .nav__pill { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .nav__item:hover .chev { transform: rotate(180deg); } }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 320px; padding: 8px; border-radius: 22px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgb(15 15 20 / 0.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.97); transform-origin: top left;
  transition: opacity 180ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__menu a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; text-decoration: none; font: 600 17px/1.2 var(--sans); transition: background-color 160ms ease, transform 250ms var(--ease-out); }
.nav__menu a > span { font: 400 13px/1.3 var(--mono); color: var(--ink-2); }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--bg); transform: translateX(4px); }
.nav__item:hover .nav__menu a, .nav__item:focus-within .nav__menu a { animation: menu-in 360ms var(--ease-out) both; }
.nav__menu a:nth-child(2) { animation-delay: 40ms !important; }
.nav__menu a:nth-child(3) { animation-delay: 80ms !important; }
.nav__menu a:nth-child(4) { animation-delay: 120ms !important; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.nav__expand { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions > .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle svg { width: 18px; height: 18px; }

/* carrinho */
.cart-wrap { position: relative; }
.cart { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; transition: scale 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.cart svg { width: 20px; height: 20px; }
.cart:active { scale: 0.92; }
@media (hover: hover) and (pointer: fine) { .cart:hover { background: var(--ink); color: #fff; } }
.cart__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; font: 600 12px/1 var(--mono); box-shadow: 0 0 0 3px #fff; }
.cart.bump { animation: cart-bump 500ms var(--ease-spring); }
@keyframes cart-bump { 0% { scale: 1; } 35% { scale: 1.22; rotate: -8deg; } 100% { scale: 1; rotate: 0deg; } }

/* a gaveta do carrinho (o motion.js muda-a para dentro do body) */
.cart-pop {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 120; width: min(440px, calc(100vw - 24px));
  display: flex; flex-direction: column; gap: 16px; padding: 24px; overflow-y: auto; border-radius: var(--r);
  background: #fff; box-shadow: 0 0 0 100vmax rgb(15 15 20 / 0.35), 0 30px 60px -20px rgb(15 15 20 / 0.4);
  transition: transform 450ms var(--ease-drawer), box-shadow 400ms ease, display 450ms allow-discrete;
}
/* ao fechar sai pelo mesmo lado (o display espera pelo fim da transição) */
.cart-pop[hidden] { transform: translateX(calc(100% + 24px)); box-shadow: 0 0 0 100vmax rgb(15 15 20 / 0), 0 30px 60px -20px rgb(15 15 20 / 0); }
@starting-style { .cart-pop { transform: translateX(calc(100% + 24px)); box-shadow: 0 0 0 100vmax rgb(15 15 20 / 0), 0 30px 60px -20px rgb(15 15 20 / 0); } }
.cart-pop__head { display: flex; align-items: center; justify-content: space-between; }
.cart-pop__title { font: 700 36px/1 var(--display); letter-spacing: -0.04em; }
.cart-pop__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; display: grid; place-items: center; transition: rotate 300ms var(--ease-out), scale 160ms var(--ease-out); }
.cart-pop__x:hover { rotate: 90deg; }
.cart-pop__x:active { scale: 0.9; }
.cart-pop__x svg { width: 16px; height: 16px; }
.cart-pop__list { display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: var(--bg); animation: line-in 400ms var(--ease-out) both; }
.cart-line:nth-child(2) { animation-delay: 50ms; } .cart-line:nth-child(3) { animation-delay: 100ms; } .cart-line:nth-child(4) { animation-delay: 150ms; }
@keyframes line-in { from { opacity: 0; transform: translateX(16px); } }
.cart-line__name { font: 600 17px/1.25 var(--sans); }
.cart-line__price { font: 700 18px/1 var(--display); letter-spacing: -0.02em; }
.qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: #fff; justify-self: start; }
.qty__b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 0; background: none; cursor: pointer; transition: background-color 150ms ease, scale 150ms var(--ease-out); }
.qty__b:hover:not(:disabled) { background: var(--bg-2); }
.qty__b:active:not(:disabled) { scale: 0.88; }
.qty__b:disabled { opacity: 0.3; cursor: not-allowed; }
.qty__b svg { width: 14px; height: 14px; }
.qty__n { min-width: 26px; text-align: center; font: 600 15px/1 var(--mono); }
.cart-line__x { justify-self: end; border: 0; background: none; cursor: pointer; font: 500 14px/1 var(--sans); color: var(--ink-2); }
.cart-line__x:hover { color: var(--red); }
.cart-pop__empty { padding: 40px 0; font-size: 18px; color: var(--ink-2); text-align: center; }
.cart-pop__sum { margin: 0; display: grid; gap: 8px; padding: 0 4px; }
.cart-pop__sum > div { display: flex; justify-content: space-between; }
.cart-pop__sum dt { color: var(--ink-2); }
.cart-pop__sum dd { margin: 0; font-family: var(--mono); }
.cart-pop__total { padding-top: 12px; border-top: 1px solid var(--line); }
.cart-pop__total dt { color: var(--ink); font-weight: 600; }
.cart-pop__total dd { font: 700 28px/1 var(--display) !important; letter-spacing: -0.03em; }
.cart-pop__erro { padding: 12px 14px; border-radius: 14px; background: var(--red-soft); color: var(--red-ink); font-size: 15px; }
.cart-pop__pay { width: 100%; }
.cart-pop__note { font: 400 13px/1.4 var(--mono); color: var(--ink-2); text-align: center; }
.cart-pop__clear { align-self: center; color: var(--ink-2); }

/* a peça que voa até ao carrinho */
.fly { position: fixed; z-index: 250; pointer-events: none; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -10px rgb(15 15 20 / 0.35); }
.fly img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- secções ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: 56px; }
.section-head .kicker { margin-bottom: 24px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: calc(100svh - 150px); }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 24px 0 48px; }
.hero h1 { font-size: clamp(54px, 7.4vw, 116px); line-height: 0.9; letter-spacing: -0.05em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; }
html.motion .hero h1 .w > span { animation: word-up 1000ms var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes word-up { from { transform: translateY(105%) rotate(4deg); } }
html.motion .hero__text > :not(h1) { animation: fade-up 900ms var(--ease-out) both; animation-delay: 600ms; }
html.motion .hero__text > .kicker { animation-delay: 60ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.stats { display: flex; gap: 32px; padding-top: 8px; }
.stats b { display: block; font: 700 40px/1 var(--display); letter-spacing: -0.04em; }
.stats span { font: 400 13px/1.3 var(--mono); color: var(--ink-2); }

/* o palco com três bustos que seguem o rato */
.stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-height: calc(100svh - 160px); justify-self: center; }
.stage__blob { position: absolute; border-radius: 50%; will-change: transform; }
.stage__blob--a { width: 70%; aspect-ratio: 1; left: 15%; top: 10%; background: var(--red-soft); }
.stage__blob--b { width: 34%; aspect-ratio: 1; left: 0; bottom: 6%; background: var(--blue-soft); }
.stage__blob--c { width: 26%; aspect-ratio: 1; right: 2%; top: 4%; background: var(--sun-soft); }
html.motion .stage__blob { animation: blob-in 1200ms var(--ease-spring) both; animation-delay: calc(200ms + var(--i) * 90ms); }
@keyframes blob-in { from { scale: 0.4; opacity: 0; } }
/* a mistura vive no próprio .bust: o transform isola-o, por isso misturar a imagem lá dentro não tirava o branco */
.bust { position: absolute; display: block; text-decoration: none; will-change: transform; mix-blend-mode: multiply; transition: opacity 300ms ease; }
.bust img { width: 100%; height: auto; transition: scale 500ms var(--ease-spring); }
.bust--main { width: 62%; left: 19%; top: 14%; z-index: 3; }
.bust--left { width: 40%; left: -2%; top: 44%; z-index: 2; }
.bust--right { width: 38%; right: -2%; top: 30%; z-index: 1; }
html.motion .bust > img { animation: bust-in 1100ms var(--ease-spring) both; animation-delay: calc(450ms + var(--i) * 120ms); }
@keyframes bust-in { from { opacity: 0; transform: translateY(60px) scale(0.85); } }
.bust__tag {
  position: absolute; left: 50%; bottom: 4%; translate: -50% 8px; opacity: 0; white-space: nowrap; pointer-events: none;
  padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans);
  transition: opacity 200ms ease, translate 350ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bust:hover img { scale: 1.06; }
  .bust:hover .bust__tag { opacity: 1; translate: -50% 0; }
  .stage:has(.bust:hover) .bust:not(:hover) { opacity: 0.45; }
  .bust:hover { z-index: 5; }
}
.scroll-hint { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; width: 26px; height: 42px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: hint 2s var(--ease-in-out) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- faixa de séries (marquee que acelera com o scroll) ---------- */
.marquee { position: relative; overflow: hidden; padding: 28px 0; background: var(--blue); color: #fff; rotate: -2deg; margin: 72px -24px 0; }
.marquee--red { background: var(--red); rotate: 1.5deg; margin-top: -18px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; font: 700 clamp(36px, 4.6vw, 64px)/1 var(--display); letter-spacing: -0.04em; white-space: nowrap; text-decoration: none; transition: color 200ms ease; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.marquee__item:hover { color: var(--sun-soft); -webkit-text-stroke: 0; }
.marquee__star { width: 32px; height: 32px; flex: none; }

/* ---------- coleção ---------- */
.filters { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.filters__pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 99px; background: var(--ink); transition: transform 450ms var(--ease-out), width 450ms var(--ease-out); }
.filter { position: relative; z-index: 1; height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: none; cursor: pointer; font: 600 15px/1 var(--sans); transition: color 300ms ease, scale 160ms var(--ease-out); }
.filter sup { font: 500 10px/1 var(--mono); margin-left: 3px; opacity: 0.6; }
.filter:active { scale: 0.95; }
.filter[aria-pressed="true"] { color: #fff; }
html:not(.js) .filter[aria-pressed="true"] { background: var(--ink); }

.grid, .related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.tcard { position: relative; perspective: 900px; }
.tcard__in {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--tone, var(--red-soft));
  transform-style: preserve-3d; transition: transform 600ms var(--ease-out), box-shadow 400ms ease; will-change: transform;
}
.tcard.is-tilting .tcard__in { transition: transform 120ms linear, box-shadow 400ms ease; box-shadow: 0 30px 50px -24px rgb(15 15 20 / 0.35); }
.tcard__media { position: relative; display: block; aspect-ratio: 1 / 1.05; transform: translateZ(40px); mix-blend-mode: multiply; }
.tcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10% 10% 4%; transition: scale 600ms var(--ease-spring); }
.tcard__media.is-photo { margin: 10px 10px 0; aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 20px; mix-blend-mode: normal; }
.tcard__media.is-photo img { object-fit: cover; padding: 0; }
.tcard__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.65), transparent 55%); mix-blend-mode: soft-light; z-index: 2; }
.tcard.is-tilting .tcard__glare { opacity: 1; }
.tcard__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 16px 18px 18px; transform: translateZ(24px); }
.tcard__info > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tcard__title { font: 700 21px/1.1 var(--display); letter-spacing: -0.03em; }
.tcard__facts { font: 400 12px/1.3 var(--mono); color: rgb(15 15 20 / 0.6); }
.tcard__price { display: flex; flex-direction: column; align-items: flex-end; font: 700 20px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.tcard__price .was { font-size: 12px; margin-top: 4px; }
.tcard__link { position: absolute; inset: 0; z-index: 3; border-radius: var(--r); }
.tcard .tag { position: absolute; top: 14px; left: 14px; z-index: 4; transform: translateZ(60px); }
.tcard__add {
  position: absolute; top: 12px; right: 12px; z-index: 4; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; cursor: pointer;
  transform: translateZ(60px); transition: scale 300ms var(--ease-spring), background-color 200ms ease, rotate 400ms var(--ease-out);
}
.tcard__add svg { width: 18px; height: 18px; }
.tcard__add:active { scale: 0.88; }
.tcard .tcard__add.is-done { background: var(--blue); rotate: 360deg; }
@media (hover: hover) and (pointer: fine) {
  .tcard__add { scale: 0.6; opacity: 0; transition: scale 350ms var(--ease-spring), opacity 200ms ease, background-color 200ms ease, rotate 400ms var(--ease-out); }
  .tcard:hover .tcard__add, .tcard__add:focus-visible { scale: 1; opacity: 1; }
  .tcard__add:hover { background: var(--red); }
  .tcard:hover .tcard__media img { scale: 1.07; }
}
.tcard:nth-child(4n + 2) { --tone: var(--blue-soft); }
.tcard:nth-child(4n + 3) { --tone: var(--sun-soft); }
.tcard:nth-child(4n + 4) { --tone: var(--mint-soft); }
.skel { aspect-ratio: 1 / 1.3; border-radius: var(--r); background: linear-gradient(100deg, var(--bg-2) 30%, #f7f4ee 50%, var(--bg-2) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.grid__empty { grid-column: 1 / -1; color: var(--ink-2); }

/* ---------- promoção ---------- */
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 40px; background: var(--red); color: #fff; overflow: hidden; }
.promo::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -10%; top: -30%; border-radius: 50%; background: rgb(255 255 255 / 0.1); }
.promo .kicker { background: rgb(255 255 255 / 0.15); box-shadow: none; color: #fff; }
.promo .kicker i { background: #fff; animation: none; }
.promo h2 { font-size: clamp(44px, 5.4vw, 80px); }
.promo__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.promo__lead { font-size: 19px; color: rgb(255 255 255 / 0.88); max-width: 38ch; }
.promo .price--big { font-size: clamp(56px, 6vw, 84px); }
.promo .was { color: rgb(255 255 255 / 0.7); font-size: 22px; }
.promo .tag { background: var(--ink); }
.promo__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.note { font: 400 14px/1.4 var(--mono); min-height: 1.4em; }
.promo__pack { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 440px; }
.promo__bust { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; text-decoration: none; transition: transform 700ms var(--ease-spring); }
.promo__bust img { position: absolute; inset: 6% 6% 10%; width: 88%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: scale 500ms var(--ease-spring); }
.promo__bust:first-child { transform: translateX(10%) rotate(-6deg); }
.promo__bust:last-of-type { transform: translateX(-10%) translateY(18%) rotate(6deg); }
.promo__vs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 30px/1 var(--display); transition: scale 500ms var(--ease-spring), rotate 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .promo:hover .promo__bust:first-child { transform: translateX(16%) rotate(-12deg) scale(1.04); }
  .promo:hover .promo__bust:last-of-type { transform: translateX(-16%) translateY(14%) rotate(12deg) scale(1.04); }
  .promo:hover .promo__vs { scale: 1.25; rotate: 360deg; }
  .promo__bust:hover img { scale: 1.08; }
}
.deal { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; width: 100%; max-width: 440px; padding: 8px 18px 8px 8px; border-radius: 99px; text-decoration: none; background: rgb(0 0 0 / 0.16); transition: background-color 200ms ease; }
.deal__ph { display: block; width: 64px; height: 64px; border-radius: 50%; background: #fff; overflow: hidden; }
.deal__ph img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.deal__txt { display: flex; flex-direction: column; gap: 2px; }
.deal__title { font: 600 16px/1.2 var(--sans); }
.deal .price { font-size: 18px; }
.deal .arrow { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .deal:hover { background: rgb(0 0 0 / 0.28); } .deal:hover .arrow { transform: translateX(4px); } }

/* ---------- séries: a lista com a foto que segue o rato ---------- */
.series { border-top: 1.5px solid var(--ink); }
.series__row { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
.series__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 450ms var(--ease-out); }
.series__n { font: 500 13px/1 var(--mono); color: var(--ink-3); transition: color 300ms ease; }
.series__name { font: 700 clamp(36px, 5vw, 76px)/1 var(--display); letter-spacing: -0.045em; transition: transform 500ms var(--ease-out), color 300ms ease; }
.series__meta { font: 400 14px/1.3 var(--mono); color: var(--ink-2); text-align: right; transition: color 300ms ease, transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .series__row:hover::before { transform: scaleY(1); transform-origin: top; }
  .series__row:hover .series__name { color: #fff; transform: translateX(20px); }
  .series__row:hover .series__meta, .series__row:hover .series__n { color: #c9c9d1; }
  .series__row:hover .series__meta { transform: translateX(-12px); }
}
.peek { position: fixed; left: 0; top: 0; z-index: 90; width: 260px; aspect-ratio: 1; margin: -130px 0 0 -130px; border-radius: 50%; overflow: hidden; pointer-events: none; background: var(--sun-soft); opacity: 0; scale: 0.3; transition: opacity 250ms ease, scale 450ms var(--ease-spring); will-change: transform; }
.peek.is-on { opacity: 1; scale: 1; }
.peek img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity 250ms ease; }
.peek img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.peek img.is-on { opacity: 1; }

/* ---------- oficina: deslize horizontal preso ao scroll ---------- */
.oficina { position: relative; overflow-x: clip; }   /* a fila de passos anda para o lado com o scroll */
.oficina__pin { position: relative; }
.oficina__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.oficina__track { display: flex; gap: 20px; }
.ostep { flex: none; width: min(560px, 80vw); display: grid; grid-template-rows: auto 1fr; gap: 20px; padding: 32px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ostep:nth-child(1) { background: var(--red-soft); }
.ostep:nth-child(2) { background: var(--blue-soft); }
.ostep:nth-child(3) { background: var(--sun-soft); }
.ostep:nth-child(4) { background: var(--mint-soft); }
.ostep__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.ostep__n { font: 800 120px/0.8 var(--display); letter-spacing: -0.06em; }
.ostep__t { padding: 8px 14px; border-radius: 99px; background: rgb(255 255 255 / 0.6); font: 500 13px/1 var(--mono); white-space: nowrap; }
.ostep__body { display: grid; grid-template-columns: 1fr 42%; gap: 20px; align-items: end; }
.ostep h3 { font-size: 38px; margin-bottom: 12px; }
.ostep p { color: rgb(15 15 20 / 0.7); }
.ostep__img { aspect-ratio: 1; mix-blend-mode: multiply; }
.ostep__img img { width: 100%; height: 100%; object-fit: contain; }
.oficina__bar { height: 4px; margin-top: 32px; border-radius: 2px; background: var(--line); overflow: hidden; }
.oficina__bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
/* no computador, com movimento: a secção fica 3 ecrãs alta e o carril desliza enquanto se desce */
@media (min-width: 1024px) {
  html.motion .oficina { height: 320vh; padding: 0; }
  html.motion .oficina__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  html.motion .oficina__track { will-change: transform; }
}
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .oficina__track { flex-direction: column; }
  .ostep { width: 100%; }
  .oficina__bar { display: none; }
}

/* ---------- perguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-wrap__head { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 300ms ease; }
.faq details[open] { background: var(--ink); color: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; cursor: pointer; list-style: none; font: 600 20px/1.3 var(--sans); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg) linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; box-shadow: none; transition: rotate 400ms var(--ease-out), background-color 300ms ease; }
.faq summary { position: relative; }
.faq summary::before { content: ""; position: absolute; right: 24px; top: 50%; width: 32px; height: 32px; margin-top: -16px; background: linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; z-index: 1; transition: rotate 400ms var(--ease-out), opacity 300ms ease; }
.faq details[open] summary::before { rotate: 90deg; opacity: 0; }
.faq details[open] summary::after { rotate: 180deg; background-color: #fff; }
.faq details p { padding: 0 24px 24px; color: #d0d0d8; font-size: 17px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 400ms var(--ease-out), content-visibility 400ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- rodapé ---------- */
.footer { margin: 0 12px 12px; padding: clamp(80px, 10vw, 128px) 0 28px; border-radius: 40px; background: var(--ink); color: #fff; overflow: hidden; }
.closing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: 64px; }
.closing h2 { font-size: clamp(48px, 6.6vw, 104px); }
.closing h2 .hl-red { color: var(--red); }
.closing__text { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.footer .btn--primary { --bg: #fff; --fg: var(--ink); --fill: var(--red); }
@media (hover: hover) and (pointer: fine) { .footer .btn--primary:hover { color: #fff; } }
.closing__art { border-radius: var(--r); overflow: hidden; }
.closing__art img { width: 100%; height: auto; transition: scale 800ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .closing__art:hover img { scale: 1.04; } }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
.footer__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer .logo { background-color: transparent; background-size: contain; }
.footer .muted { color: #a4a4ae; max-width: 32ch; }
.footer__col h3 { margin-bottom: 16px; font: 500 13px/1 var(--mono); letter-spacing: 0; color: #a4a4ae; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { display: inline-block; text-decoration: none; font-size: 17px; transition: transform 300ms var(--ease-out), color 200ms ease; }
.footer__col a:hover { transform: translateX(6px); color: var(--red); }
/* as letras grandes: o peso de cada uma muda com a distância ao rato (motion.js define --w) */
.mark { display: flex; justify-content: space-between; margin: 8px 0 24px; font: 800 clamp(56px, 15.5vw, 236px)/0.82 var(--display); letter-spacing: -0.06em; user-select: none; }
.mark span { display: inline-block; font-variation-settings: "wght" var(--w, 800); transition: font-variation-settings 200ms linear, color 300ms ease; }
.mark span:nth-child(-n + 3) { color: #fff; }
.mark span:nth-child(n + 4) { color: var(--red); }
.mark span.is-gap { width: 0.25em; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.14); font: 400 13px/1.4 var(--mono); color: #a4a4ae; }

/* ---------- produto ---------- */
.pd-section { padding: 40px 0 clamp(80px, 10vw, 128px); }
.pd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pd__gallery { position: sticky; top: 104px; }
.pd__stage { position: relative; perspective: 1200px; min-width: 0; }
/* com várias fotos: coluna de miniaturas à esquerda, da altura da foto (faz scroll se forem muitas) */
.pd__gallery.has-thumbs { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
.pd__thumbs { display: flex; flex-direction: column; gap: 12px; max-height: var(--thumbs-h, 640px); overflow-y: auto; padding: 4px; margin: -4px; scrollbar-width: none; overscroll-behavior: contain; }
.pd__thumbs::-webkit-scrollbar { display: none; }
.pd__thumb {
  position: relative; flex: none; width: 76px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 260ms var(--ease-out), box-shadow 200ms ease, opacity 200ms ease;
  opacity: 0.62;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.pd__thumb.is-plinth img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.pd__thumb:hover { opacity: 1; transform: translateX(3px); }
.pd__thumb:hover img { transform: scale(1.08); }
.pd__thumb:active { transform: scale(0.94); }
.pd__thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2.5px var(--ink); transform: none; }
.pd__thumb:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.pd__count { position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 7px 12px; border-radius: 99px; background: rgb(15 15 20 / 0.78); color: #fff; font: 500 12px/1 var(--mono); pointer-events: none; backdrop-filter: blur(6px); }
.pd__photo.is-swap img { animation: photo-swap 460ms var(--ease-out); }
@keyframes photo-swap { from { opacity: 0; translate: calc(var(--dir, 1) * 6%) 0; } }
.pd__photo { position: relative; aspect-ratio: 1; border-radius: 40px; background: var(--red-soft); overflow: hidden; transform-style: preserve-3d; transition: transform 700ms var(--ease-out), background-color 500ms ease; will-change: transform; }
.pd__stage.is-tilting .pd__photo { transition: transform 120ms linear, background-color 500ms ease; }
.pd__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* fotografias (não os bustos recortados): inteiras, sem cortes, por cima da mesma foto desfocada */
.pd__photo:not(.is-plinth) img { object-fit: contain; }
.pd__photo:not(.is-plinth)::before { content: ""; position: absolute; inset: -40px; background: var(--foto, none) center / cover no-repeat; filter: blur(32px) saturate(1.15) brightness(0.92); }
.pd__photo.is-plinth img { object-fit: contain; padding: 7%; mix-blend-mode: multiply; transform: translateZ(50px) scale(0.92); }
.pd__photo.is-live img { animation: photo-in 600ms var(--ease-out); }
@keyframes photo-in { from { opacity: 0; filter: blur(10px); scale: 0.9; } }
.pd__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.5), transparent 50%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 300ms ease; }
.pd__stage.is-tilting .pd__photo::after { opacity: 1; }
.pd__info { display: flex; flex-direction: column; gap: 18px; }
.crumbs { display: flex; gap: 10px; font: 400 13px/1 var(--mono); color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.pd__serie { align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font: 500 13px/1 var(--mono); }
.pd__info h1 { font-size: clamp(40px, 4.2vw, 60px); }
.pd__desc { font-size: 18px; color: var(--ink-2); }
.pd__group { display: flex; flex-direction: column; gap: 14px; }
.pd__label { display: flex; justify-content: space-between; gap: 12px; font: 400 13px/1.3 var(--mono); color: var(--ink-2); }
.pd__label b { color: var(--ink); font-weight: 500; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 10px; }
.opt { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.opt__ph { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: scale 400ms var(--ease-spring), box-shadow 250ms ease, border-radius 400ms var(--ease-out); }
.opt__ph img { width: 100%; height: 100%; object-fit: cover; }
.opt__ph.is-plinth img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.opt__ph .tag { position: absolute; top: 5px; left: 5px; height: 18px; padding: 0 6px; font-size: 10px; }
.opt__name { font: 500 13px/1.25 var(--sans); color: var(--ink-2); }
.opt:active .opt__ph { scale: 0.92; }
.opt[aria-checked="true"] .opt__ph { box-shadow: inset 0 0 0 3px var(--ink); border-radius: 50%; }
.opt[aria-checked="true"] .opt__name { color: var(--ink); font-weight: 600; }
/* coluna estreita (portátil pequeno): opções mais pequenas, para o botão de compra caber no primeiro ecrã */
@media (min-width: 1024px) and (max-width: 1279px) {
  .opts { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
  .opt__name { font-size: 12px; }
  .pd__desc { font-size: 16px; }
}
@media (hover: hover) and (pointer: fine) { .opt:hover .opt__ph { scale: 1.06; } }
.pd__buy { display: flex; flex-direction: column; gap: 10px; }
.pd__buy .btn { width: 100%; min-height: 64px; font-size: 17px; }
.pd__facts { display: grid; gap: 8px; }
.pd__facts li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); }
.pd__facts svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--blue); }

/* ---------- obrigado / cancelado ---------- */
.fim { min-height: calc(100svh - 120px); display: flex; align-items: center; }
.fim__wrap { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 780px; }
.fim h1 { font-size: clamp(52px, 7vw, 100px); }
.section-head__lead { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.fim__resumo { width: 100%; padding: 12px 24px 24px; border-radius: var(--r); background: #fff; box-shadow: 0 30px 60px -30px rgb(15 15 20 / 0.3); }
.fim__itens li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.fim__itens li span:last-child { font-family: var(--mono); }
.fim__sum { margin: 16px 0 0; display: grid; gap: 8px; }
.fim__sum > div { display: flex; justify-content: space-between; }
.fim__sum dd { margin: 0; font-family: var(--mono); }
.fim__total { padding-top: 12px; border-top: 1px solid var(--line); font: 700 24px/1 var(--display); }
.aviso-catalogo { margin: 16px var(--gut) 0; padding: 14px 18px; border-radius: 16px; background: var(--red-soft); color: var(--red-ink); font: 400 14px/1.4 var(--mono); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .grid, .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .nav__actions > .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__pill { display: none; }
  .nav__links {
    position: fixed; inset: var(--sheet-top, 96px) 12px auto; z-index: 70; display: none; flex-direction: column; align-items: stretch;
    gap: 0; max-height: calc(100svh - var(--sheet-top, 96px) - 12px); padding: 12px 20px 24px; border-radius: var(--r); background: #fff;
    box-shadow: 0 0 0 100vmax rgb(15 15 20 / 0.3); overflow-y: auto;
  }
  .nav.is-open .nav__links { display: flex; animation: sheet-in 450ms var(--ease-drawer); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; height: auto; padding: 18px 0; font: 700 32px/1.1 var(--display); letter-spacing: -0.03em; }
  .nav__link .chev { display: none; }
  .nav__expand { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
  .nav__expand svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
  .nav__item.is-expanded .nav__expand svg { transform: rotate(180deg); }
  .nav__menu { position: static; display: none; flex-basis: 100%; min-width: 0; margin: 0 0 14px; padding: 4px; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--bg); }
  .nav__item.is-expanded .nav__menu { display: block; }

  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding-bottom: 0; }
  .stage { max-width: 560px; }
  .scroll-hint { display: none; }
  .promo, .faq-wrap, .closing, .pd { grid-template-columns: 1fr; }
  .promo__pack { min-height: 0; max-width: 520px; }
  .pd__gallery { position: static; }
  /* miniaturas em linha, por baixo da foto */
  .pd__gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .pd__thumbs { order: 2; flex-direction: row; max-height: none; overflow: auto hidden; }
  .pd__thumb { width: 68px; }
  .pd__thumb:hover { transform: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- telemóvel ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 60px; --r: 22px; }
  .nav { top: 8px; margin-top: 8px; }
  .nav__bar { padding: 0 6px 0 8px; }
  .logo { height: 40px; border-radius: 10px; }
  .cart, .nav__toggle { width: 44px; height: 44px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filter { flex: none; padding: 0 14px; font-size: 14px; }
  .grid, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .tcard__info { flex-direction: column; align-items: flex-start; padding: 12px 14px 14px; }
  .tcard__price { flex-direction: row; gap: 8px; align-items: baseline; }
  .tcard__title { font-size: 18px; }
  .tcard__add { width: 38px; height: 38px; top: 8px; right: 8px; }
  .stats { gap: 20px; }
  .stats b { font-size: 30px; }
  .btn-row { width: 100%; }
  .btn-row .btn { width: 100%; }
  .marquee { padding: 18px 0; margin-top: 48px; }
  .promo { border-radius: 28px; }
  .promo__buy, .promo__buy .btn { width: 100%; }
  .promo__vs { width: 60px; height: 60px; font-size: 22px; }
  .series__row { grid-template-columns: 36px 1fr; padding: 18px 4px; }
  .series__meta { grid-column: 2; text-align: left; }
  .ostep { padding: 22px; }
  .ostep__n { font-size: 80px; }
  .ostep__body { grid-template-columns: 1fr; }
  .ostep__img { width: 60%; justify-self: end; margin-top: -20px; }
  .ostep h3 { font-size: 30px; }
  .faq summary { font-size: 17px; padding: 18px 20px; }
  .faq summary::before { right: 20px; }
  .footer { margin: 0 6px 6px; border-radius: 28px; }
  .footer__cols { grid-template-columns: 1fr; }
  .cart-pop { top: 6px; right: 6px; bottom: 6px; width: calc(100vw - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
