:root {
  --ink: #111111;
  --ink-2: #5d5d60;
  --line: #e7e5e6;
  --paper: #ffffff;
  --stage: #f3f2f1;
  /* paleta do logo — usada só em detalhes */
  --c1: #c4143f; --c2: #0192c4; --c3: #7a8930; --c4: #6c2a49; --c5: #ce5e1a; --c6: #1f4fa8; --cream: #f6efd9;
  --stripe: linear-gradient(90deg, var(--c1) 0 16.66%, var(--c2) 0 33.33%, var(--c3) 0 50%, var(--c4) 0 66.66%, var(--c5) 0 83.33%, var(--c6) 0);
  --pixel: 'Pixelify Sans', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--c2); color: #fff; }
:focus-visible { outline: 2px solid var(--c6); outline-offset: 3px; }
.pix { font-family: var(--pixel); letter-spacing: .02em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* faixa de cores no topo = progresso da rolagem */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--stripe); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.solid { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.n { width: 34px; image-rendering: pixelated; }
.brand img.wm { height: 17px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav a:not(.btn) { position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c, var(--c2)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:nth-child(1) { --c: var(--c1); } .nav a:nth-child(2) { --c: var(--c2); } .nav a:nth-child(3) { --c: var(--c5); } .nav a:nth-child(4) { --c: var(--c3); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; position: relative; transition: transform .15s; }
.btn::after { content: ''; position: absolute; inset: auto 0 -5px 5px; height: 5px; background: var(--stripe); opacity: 0; transition: opacity .2s; }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 100px var(--gutter) 60px; }
.corner { position: absolute; pointer-events: none; image-rendering: pixelated; }
.corner.tr { top: -120px; right: -120px; width: min(26vw, 340px); transform: rotate(8deg); opacity: .8; -webkit-mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%); }
.corner.bl { bottom: -80px; left: -100px; width: min(26vw, 300px); transform: rotate(196deg); -webkit-mask-image: radial-gradient(circle at 100% 0, #000 25%, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000 25%, transparent 70%); opacity: .9; }
.hero-n { width: clamp(120px, 18vw, 210px); margin: 0 auto 34px; image-rendering: pixelated; animation: drop 1s cubic-bezier(.2,1.4,.4,1) both, float 6s 1s ease-in-out infinite; }
.hero-wm { width: min(84vw, 760px); margin: 0 auto; animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) both; }
.hero p.tag { margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); animation: rise .9s .4s cubic-bezier(.2,.8,.2,1) both; }
.hero p.from { margin-top: 10px; font-size: 13px; color: var(--ink-2); text-transform: lowercase; animation: rise .9s .5s both; }
.hero .cta { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise .9s .6s both; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; font-size: 12px; color: var(--ink-2); display: grid; justify-items: center; gap: 8px; }
.scroll-cue i { width: 8px; height: 8px; background: var(--ink); animation: blink 1.4s steps(2) infinite; }
@keyframes drop { from { transform: translateY(-40px) scale(.8); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@keyframes blink { 50% { transform: translateY(8px); } }

/* ---------- apresentação (pinned) ---------- */
.story { height: 420vh; position: relative; }
.story-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; padding: 80px var(--gutter) 40px; max-width: var(--max); margin: 0 auto; }
.story-steps { position: relative; min-height: 340px; }
.story-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.story-step.on { opacity: 1; transform: none; }
.story-step.past { opacity: 0; transform: translateY(-30px); }
.story-step .k { font-size: 14px; color: var(--sc); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.story-step .k::before { content: ''; width: 10px; height: 10px; background: var(--sc); }
.story-step h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.story-step p { margin-top: 20px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 30em; line-height: 1.55; }
.story-visual { position: relative; height: min(76svh, 760px); display: grid; place-items: center; }
.story-visual canvas { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.10)) drop-shadow(0 14px 16px rgba(0,0,0,.10)) drop-shadow(0 42px 48px rgba(0,0,0,.16)); }
.story-dots { position: absolute; right: -3vw; top: 50%; translate: 0 -50%; display: grid; gap: 10px; }
.story-dots i { width: 6px; height: 6px; background: var(--line); transition: background .3s, height .3s; }
.story-dots i.on { height: 18px; }
.story-dots i:nth-child(1).on { background: var(--c1); } .story-dots i:nth-child(2).on { background: var(--c2); }
.story-dots i:nth-child(3).on { background: var(--c5); } .story-dots i:nth-child(4).on { background: var(--c3); }
@media (max-width: 860px) {
  .story-pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-top: 74px; gap: 8px; }
  .story-visual { height: 46svh; order: -1; }
  .story-steps { min-height: 250px; }
  .story-step h2 { font-size: clamp(30px, 8vw, 42px); }
  .story-step p { margin-top: 12px; }
  .story-dots { display: none; }
}

/* ---------- processo ---------- */
.process { padding: 120px 0 40px; }
.eyebrow { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.eyebrow b { width: 22px; height: 4px; background: var(--stripe); display: inline-block; }
.h-sec { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.035em; line-height: 1.02; margin-top: 16px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.steps li { list-style: none; padding: 26px 24px 30px 0; border-right: 1px solid var(--line); padding-left: 22px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps .num { font-size: 13px; color: var(--sc); }
.steps h3 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -.02em; }
.steps p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(3) { padding-left: 0; } .steps li { border-bottom: 1px solid var(--line); } .steps h3 { margin-top: 22px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { padding-left: 0; border-right: 0; } }

/* ---------- catálogo ---------- */
.catalog { padding: 120px 0 120px; scroll-margin-top: 40px; }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1.5px solid var(--line); background: #fff; height: 40px; padding: 0 16px; font-size: 13px; transition: border-color .2s, background .2s, color .2s; }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.line-block { margin-top: 64px; }
.line-title { display: flex; align-items: baseline; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); margin-bottom: 26px; }
.line-title h3 { font-size: 28px; letter-spacing: -.03em; }
.line-title span { color: var(--ink-2); font-size: 14px; }
.line-title em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-2); }
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.grid > .card { flex: 0 1 300px; }
.card { display: block; }
.card .ph { background: var(--stage); aspect-ratio: 4 / 5; overflow: hidden; position: relative; display: grid; place-items: center; }
.card .ph img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.08)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .ph img { transform: scale(1.04) translateY(-6px); }
.card .ph::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.card:hover .ph::after { transform: scaleX(1); }
.card .tag { position: absolute; top: 14px; left: 14px; font-size: 11px; background: #fff; padding: 5px 9px; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.card h4 { font-size: 17px; letter-spacing: -.01em; }
.card .fit { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.card .sw { display: flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 12px; color: var(--ink-2); }
.card .sw i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.card .sw span { margin-left: 6px; }

/* ---------- faq ---------- */
.faq { padding: 110px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.faq details { --fc: var(--c1); margin-bottom: 10px; padding: 0 22px; border-left: 5px solid var(--fc);
  background: color-mix(in srgb, var(--fc) 7%, #fff); transition: background-color .3s; }
.faq details:nth-child(5n+2) { --fc: var(--c2); } .faq details:nth-child(5n+3) { --fc: var(--c3); }
.faq details:nth-child(5n+4) { --fc: var(--c5); } .faq details:nth-child(5n+5) { --fc: var(--c6); }
.faq details:hover { background: color-mix(in srgb, var(--fc) 11%, #fff); }
.faq details[open] { background: color-mix(in srgb, var(--fc) 14%, #fff); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--pixel); position: absolute; right: 2px; top: 18px; font-size: 24px; color: var(--fc); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 90px 0 36px; }
.foot .big { width: min(90%, 900px); filter: invert(1); opacity: .96; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 56px; font-size: 14px; color: #a9a9ad; }
.foot-row a { color: #fff; }
.foot-row a:hover { color: var(--c2); }
.foot .corner.br { right: -60px; bottom: -40px; width: min(30vw, 320px); top: auto; -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 25%, transparent 70%); mask-image: radial-gradient(circle at 100% 100%, #000 25%, transparent 70%); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- produto ---------- */
.crumb { font-size: 13px; color: var(--ink-2); padding-top: 96px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5vw; padding-top: 22px; padding-bottom: 110px; align-items: start; }
.viewer { position: sticky; top: 86px; background: var(--stage); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.viewer canvas { max-height: 84%; max-width: 84%; width: auto; height: auto; touch-action: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.1)); }
.viewer.has-art canvas { cursor: grab; }
.viewer.dragging canvas { cursor: grabbing; }
.viewer .hint { position: absolute; top: 14px; left: 14px; font-size: 11px; background: #fff; padding: 6px 10px; }
.viewer .busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(243,242,241,.6); font-size: 13px; display: none; }
.viewer.loading .busy { display: grid; }
.info h1 { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.035em; line-height: 1.02; margin-top: 10px; }
.info .lead { color: var(--ink-2); line-height: 1.6; margin-top: 16px; font-size: 16px; }
.block { margin-top: 34px; }
.block-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.block-h b { color: var(--ink); font-weight: 600; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); position: relative; }
.swatches button[aria-pressed='true']::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes button { min-width: 52px; height: 44px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.sizes button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
table.measures { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.measures th, .measures td { text-align: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.measures th:first-child, .measures td:first-child { text-align: left; color: var(--ink-2); font-weight: 400; }
.note { font-size: 12px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }

.sim { margin-top: 38px; border: 1.5px solid var(--ink); padding: 22px; position: relative; }
.sim::before { content: ''; position: absolute; left: -1.5px; right: -1.5px; top: -6px; height: 4px; background: var(--stripe); }
.sim h2 { font-size: 22px; letter-spacing: -.02em; }
.sim > p { color: var(--ink-2); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.drop { margin-top: 18px; border: 1.5px dashed #bdbbbc; display: grid; place-items: center; text-align: center; padding: 22px 16px; cursor: pointer; transition: border-color .2s, background .2s; font-size: 14px; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--stage); }
.drop small { display: block; color: var(--ink-2); margin-top: 4px; font-size: 12px; }
.drop input { display: none; }
.controls { display: none; margin-top: 18px; gap: 16px; }
.sim.ready .controls { display: grid; }
.ctl { display: grid; gap: 8px; font-size: 13px; }
.ctl-row { display: flex; justify-content: space-between; color: var(--ink-2); }
.ctl input[type=range] { width: 100%; accent-color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { height: 36px; padding: 0 12px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; }
.seg button[aria-pressed='true'] { border-color: var(--ink); }
.artprev { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.artprev canvas { width: 56px; height: 56px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 10px 10px; border: 1px solid var(--line); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.actions .btn { flex: 1 1 200px; justify-content: center; }
@media (max-width: 920px) {
  .pdp { grid-template-columns: 1fr; }
  .viewer { position: relative; top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- topo preto (o "n" bege do logo pede fundo escuro); o site segue branco depois ---------- */
.hero { background: #0c0c0c; color: #fff; }
.hero .hero-wm { filter: invert(1); }
.hero p.tag, .hero p.from, .hero .scroll-cue { color: rgba(255,255,255,.6); }
.hero .scroll-cue i { background: #fff; }
.hero .btn { background: #fff; color: #0c0c0c; border-color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; }
.top.dark .wm { filter: invert(1); }
.top.dark .nav a:not(.btn) { color: #fff; }
.top.dark .btn { background: #fff; color: #0c0c0c; border-color: #fff; }
.top.dark.solid { background: rgba(12,12,12,.82); box-shadow: none; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 46% 42% at 50% 50%, transparent 35%, #000 100%); mask-image: radial-gradient(ellipse 46% 42% at 50% 50%, transparent 35%, #000 100%); }
.hero > div:not(.scroll-cue) { position: relative; }
.hero-tide { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; z-index: 2; }
/* palavras-chave nas cores da marca */
.kw { font-style: normal; color: var(--k); }
.hero .kw { color: #4cc3ec; }
/* leque de cores da peça que está sozinha na linha (hover) */
.card.has-fan { position: relative; isolation: isolate;
  --st: min(185px, 13vw);              /* passo entre as camisas do leque */
  --off: calc(var(--st) + 10px); }     /* 1ª camisa: mesmo espaçamento em volta da branca */
.card.has-fan .ph { z-index: 1; }
.fan { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 5; pointer-events: none; z-index: 0; }
/* em repouso as cores ficam escondidas atrás da camisa branca (menores que ela) */
.fan .v { position: absolute; top: 50%; left: 50%; width: 70%; margin: 0; translate: -50% -50%; opacity: 0;
  transform: scale(.66); cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .2s ease .45s; }
.fan .v img, .fan .v canvas { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(0,0,0,.1)); transition: transform .3s; }
.card.has-fan:hover .fan .v { opacity: 1; pointer-events: auto;
  transform: translateX(calc(var(--s) * (var(--off) + (var(--n) - 1) * var(--st)))) scale(.9);
  transition: opacity .12s ease, transform .85s cubic-bezier(.2,.8,.2,1) calc(60ms + var(--n) * 70ms); }
.fan .v:hover img, .fan .v:hover canvas { transform: translateY(-8px); }
/* linha da marca que acompanha as camisas até as pontas */
.fan-line { position: absolute; left: 50%; bottom: 0; height: 4px; width: 100%; translate: -50% 0; background: var(--stripe);
  transform: scaleX(0); transition: width .6s cubic-bezier(.2,.8,.2,1), transform .35s ease .35s; z-index: 2; pointer-events: none; }
.card.has-fan:hover .fan-line { transform: scaleX(1); width: calc(2 * (var(--off) + 2 * var(--st)) + 63%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), width 1s cubic-bezier(.2,.8,.2,1) .15s; }
.card.has-fan .ph::after { display: none; }
/* celular: espiral guiada pelo scroll (home.js → spiral); o fundo do card passa para trás das cores */
@media (max-width: 1000px), (hover: none) {
  .fan-line { display: none; }
  .card.has-fan .ph, .card.has-fan:hover .ph { background: transparent; }
  .card.has-fan .fan { background: var(--stage); }
  .card.has-fan .ph img, .card.has-fan:hover .ph img { transition: none; transform: scale(calc(1 - .42 * var(--p, 0))); }
  .fan .v { width: 34%; pointer-events: auto; }
  .card.has-fan .tag { opacity: calc(1 - var(--p, 0) * 2); transition: none; }
}
@media (prefers-reduced-motion: reduce) { .fan .v, .fan-line { transition: opacity .3s; } }
/* no hover, o quadrado some na hora (antes das cores saírem) e a branca flutua igual às outras */
.card.has-fan .ph { transition: background-color .3s ease .4s; }
.card.has-fan .tag { transition: opacity .3s .4s; }
.card.has-fan:hover .ph { background-color: transparent; transition: background-color .12s ease; }
.card.has-fan:hover .tag { opacity: 0; transition: opacity .12s; }
.card.has-fan:hover .ph img { transform: scale(.94); filter: drop-shadow(0 14px 18px rgba(0,0,0,.12)); }
/* lupa do simulador */
.zoom-btn { position: absolute; top: 14px; right: 14px; font-size: 11px; background: #fff; padding: 6px 10px; border: 1px solid var(--line); cursor: pointer; z-index: 3; }
.zoom-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewer.zooming canvas#cv { cursor: zoom-in; }
.loupe { position: absolute; width: 200px; height: 200px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .15s;
  translate: -50% -50%; box-shadow: 0 0 0 3px #fff, 0 10px 30px rgba(0,0,0,.25); z-index: 4; }
.artprev .arr { color: var(--ink-2); }
/* frente / costas no simulador */
.viewer .side { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; background: #fff; border: 1px solid var(--line); z-index: 3; }
.viewer .side button { padding: 9px 18px; font-size: 13px; font-weight: 600; background: none; border: 0; cursor: pointer; color: var(--ink-2); }
.viewer .side button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.viewer.flip canvas#cv { animation: flip .55s cubic-bezier(.3,.7,.3,1); }
@keyframes flip { 0% { transform: perspective(900px) rotateY(0); } 45% { transform: perspective(900px) rotateY(90deg) scaleX(.9); } 55% { transform: perspective(900px) rotateY(-90deg) scaleX(.9); } 100% { transform: perspective(900px) rotateY(0); } }
@media (prefers-reduced-motion: reduce) { .viewer.flip canvas#cv { animation: none; } }
