/* =========================================================
   Paleta e tokens
   ========================================================= */
:root {
  --wall: #ebeae6;
  --ink: #121212;
  --muted: #7a7872;
  --line: rgba(18, 18, 18, .14);
  --paper: #f4f3ef;
  --w: 170px;      /* largura de uma peça na arara (JS) */
  --pw: 320px;     /* largura da peça na página de produto (JS) */
  --pv-top: 12vh;  /* topo do cabide na página de produto (JS) */
  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--wall);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* =========================================================
   Parede
   ========================================================= */
.wall {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(120% 95% at 66% 28%, #f7f6f3 0%, #eeede9 42%, #e2e0db 78%, #d6d4ce 100%);
}
.wall::before { /* luz vindo do alto à direita */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(45% 55% at 94% 4%, rgba(255, 255, 255, .6), transparent 70%);
}
.wall::after { /* textura de reboco */
  content: ''; position: absolute; inset: 0; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Topo
   ========================================================= */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--pad);
  transition: opacity .6s var(--ease);
}
.top-right { display: flex; align-items: center; gap: 30px; }
.link { position: relative; padding: 4px 0; }
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.logo { display: block; transition: opacity .4s var(--ease); }
.logo img { height: 24px; width: auto; display: block; }
.logo:hover { opacity: .6; }

/* Abertura */
.intro {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: var(--wall); pointer-events: none;
  animation: introOut .9s var(--ease) 1.25s forwards;
}
.intro img { width: min(300px, 62vw); height: auto; animation: introLogo 1.9s var(--ease-out) both; }
@keyframes introLogo { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } 35% { opacity: 1; transform: none; filter: none; } to { opacity: 1; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.about-logo { width: min(260px, 60vw); height: auto; align-self: center; margin-bottom: 16px; }

/* =========================================================
   Arara
   ========================================================= */
#rack { position: fixed; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
#track { position: absolute; left: 0; top: 0; height: 0; will-change: transform; }

/* Arara no estilo do site de referência: tubo fino de alumínio escovado, discreto, com suportes redondos de parede */
.rail {
  position: absolute; height: 10px; border-radius: 5px; z-index: 0;
  background:
    /* volume do tubo: brilho fino em cima, sombra embaixo */
    linear-gradient(180deg, #8d9399 0%, #c9cdd1 14%, #fbfcfc 30%, #e4e7e9 46%, #bfc4c8 66%, #959ba0 86%, #b4b9bd 100%),
    #c8ccd0;
  box-shadow:
    0 16px 14px -10px rgba(0, 0, 0, .2),    /* sombra suave na parede */
    0 3px 3px -1px rgba(0, 0, 0, .14);
  transition: opacity .7s var(--ease) .1s;
}
.rail::before { /* textura escovada do alumínio */
  content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .35; mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='10'><filter id='b' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.002 .9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .52  0 0 0 0 .55  0 0 0 -1.6 1.1'/></filter><rect width='100%25' height='100%25' filter='url(%23b)'/></svg>");
  background-size: 600px 100%;
}
.rail::after { /* reflexo que acompanha o cursor */
  content: ''; position: absolute; left: 0; right: 0; top: 2px; height: 2px; border-radius: 2px;
  background: radial-gradient(200px 3px at var(--sx, 60%) 50%, rgba(255, 255, 255, .95), transparent);
}
/* suportes de parede: flange redonda de alumínio com a ponta do tubo encaixada */
.cap {
  position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #e3e6e8 28%, #b6bbbf 62%, #8a9095 100%);
  box-shadow: -6px 7px 10px rgba(0, 0, 0, .18), -1px 2px 3px rgba(0, 0, 0, .16), inset 0 0 0 .6px rgba(0, 0, 0, .18);
}
.cap::before { /* ponta do tubo, vista de frente */
  content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fdfdfd, #c3c8cc 55%, #8f959a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.cap::after { display: none; }
.cap-l { left: -16px; } .cap-r { right: -16px; }

.item {
  position: absolute; left: 0; top: 0; padding: 0;
  width: var(--w); height: calc(var(--w) * 1.37);
  transform-origin: 50% calc(var(--w) * .03);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none; /* hit-test é feito no JS para lidar com a sobreposição */
}
.item:focus-visible { outline: none; }
.item:focus-visible .garment { outline: 1px solid rgba(18, 18, 18, .4); outline-offset: 8px; }
.item .inner { position: absolute; inset: 0; animation: hangIn 1.1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 1.75s); }
.rail { animation: railIn 1s var(--ease) 1.55s both; }
@keyframes railIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hangIn { from { opacity: 0; translate: 0 -26px; } to { opacity: 1; translate: 0 0; } }

/* o gancho fica atrás da peça: sai de dentro da gola, como num cabide de verdade */
.hanger-slot, .pv-hanger { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hanger {
  position: absolute; left: 0; top: 0; overflow: visible;
  filter: drop-shadow(-2.5px 3px 2px rgba(30, 20, 10, .28));
}
.garment {
  position: absolute; left: 0; top: calc(var(--w) * .12); z-index: 2;
  width: 100%; height: calc(var(--w) * 1.25);
  transform-origin: 50% 5.6%; /* escala a partir da gola: o gancho continua encaixado */
  filter: drop-shadow(-14px 18px 14px rgba(0, 0, 0, .16)) drop-shadow(-2px 3px 3px rgba(0, 0, 0, .09));
  transition: filter .7s var(--ease-out);
}
.garment svg, .garment img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: top center; }
.item.is-hover .garment {
  filter: drop-shadow(-28px 34px 26px rgba(0, 0, 0, .21)) drop-shadow(-4px 6px 6px rgba(0, 0, 0, .1));
}

/* ---------- Giro no cabide (lateral → frente) ---------- */
.g-turn { position: absolute; inset: 0; perspective: calc(var(--w) * 4.5); transform-style: preserve-3d; }
.g-face {
  position: absolute; inset: 0; transform-origin: 50% 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  will-change: transform, opacity, filter;
}
.g-face img { width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; }
/* repouso: de lado, como na arara */
.g-side  { transform: rotateY(0deg); opacity: 1;
  transition: transform .95s cubic-bezier(.22, 1, .36, 1), opacity .38s cubic-bezier(.4, 0, .2, 1) .12s, filter .6s; }
.g-front { transform: rotateY(-78deg) scaleX(.82); opacity: 0; filter: brightness(.9);
  transition: transform .95s cubic-bezier(.22, 1, .36, 1), opacity .32s cubic-bezier(.4, 0, .2, 1), filter .7s; }
/* hover: a peça gira no gancho e encara o cliente (passa um pouco do ponto e assenta, como tecido real) */
.item.has-turn.is-hover .g-side  { transform: rotateY(82deg) scaleX(.8); opacity: 0; filter: brightness(.9);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .3s cubic-bezier(.4, 0, .2, 1) .08s, filter .5s; }
.item.has-turn.is-hover .g-front { opacity: 1; filter: none;
  animation: faceTurn 1.05s cubic-bezier(.22, 1, .36, 1) both;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1) .14s, filter .7s .1s; }
@keyframes faceTurn {
  0%   { transform: rotateY(-78deg) scaleX(.82); }
  62%  { transform: rotateY(5deg) scaleX(1.005); }
  82%  { transform: rotateY(-1.6deg) scaleX(1); }
  100% { transform: rotateY(0deg) scaleX(1); }
}

/* ---------- Banner de destaque (collab) acima da arara ---------- */
.promo {
  position: fixed; z-index: 30; left: var(--pad); right: var(--pad); top: 82px; height: 104px;
  display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "copy shot item cta";
  align-items: center; column-gap: 40px; padding: 0 34px 0 38px; overflow: hidden;
  background: radial-gradient(120% 160% at 50% 0%, #1d1d1c 0%, #0e0e0e 55%, #080808 100%);
  color: #f1f0ec; border-radius: 3px;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45), 0 2px 4px rgba(0, 0, 0, .12);
  animation: promoIn 1s var(--ease-out) 1.45s backwards; /* backwards: depois de entrar, as regras de esconder (produto/página) valem */
  transition: opacity .6s var(--ease), filter .7s cubic-bezier(.22, 1, .36, 1), transform .6s var(--ease);
}
@keyframes promoIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* três listras inclinadas ao fundo, eco das 3 listras da adidas */
.promo-stripes { position: absolute; top: -20px; bottom: -20px; right: 150px; display: flex; gap: 14px; transform: skewX(-24deg); pointer-events: none; }
.promo-stripes i { display: block; width: 16px; background: rgba(255, 255, 255, .055); transition: background .6s var(--ease), transform .8s var(--ease-out); }
.promo:hover .promo-stripes i { background: rgba(255, 255, 255, .1); }
.promo:hover .promo-stripes i:nth-child(1) { transform: translateX(-6px); }
.promo:hover .promo-stripes i:nth-child(3) { transform: translateX(6px); }
.promo-copy { grid-area: copy; display: flex; flex-direction: column; gap: 6px; position: relative; }
.promo-kicker { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .32em; color: #8d8b85; }
.promo-kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.promo-title { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.promo-title em { font-style: normal; font-weight: 300; color: #8d8b85; margin: 0 .12em; }
.promo-sub { font-size: 9px; letter-spacing: .28em; color: #b9b7b0; }
.promo-shot { grid-area: shot; justify-self: center; position: relative; height: 104px; width: 220px; }
.promo-shot::before { /* luz de estúdio atrás da peça, para a camiseta preta destacar do fundo preto */
  content: ''; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -42%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 55%, transparent 100%);
}
.promo-shot img { position: absolute; left: 50%; top: 8px; height: 168px; width: auto; transform: translateX(-50%); transition: transform .9s var(--ease-out); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.promo:hover .promo-shot img { transform: translateX(-50%) translateY(-4px) scale(1.04); }
.promo-item { grid-area: item; display: flex; flex-direction: column; gap: 7px; text-align: right; position: relative; }
.promo-name { font-size: 11px; letter-spacing: .2em; white-space: nowrap; }
@media (max-width: 1060px) { .promo-item { display: none; } .promo { grid-template-columns: auto 1fr auto; grid-template-areas: "copy shot cta"; } }
.promo-price { font-size: 10px; letter-spacing: .2em; color: #8d8b85; }
.promo-cta {
  grid-area: cta; position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 20px; border: 1px solid rgba(255, 255, 255, .32); font-size: 10px; letter-spacing: .24em; white-space: nowrap;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.promo-arrow { display: inline-block; transition: transform .45s var(--ease); }
.promo:hover .promo-cta { background: #f1f0ec; color: #0e0e0e; border-color: #f1f0ec; }
.promo:hover .promo-arrow { transform: translateX(4px); }
.promo:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
body.rack-focus .promo { filter: blur(4px); opacity: .45; }
body.in-product .promo, body.in-page .promo, body.bag-open .promo { opacity: 0; pointer-events: none; transform: translateY(-10px); }

/* ---------- "Oversized" acima da arara ---------- */
.rack-note {
  position: fixed; left: 0; right: 0; top: 0; z-index: 5; text-align: center; pointer-events: none;
  font-size: 10.5px; letter-spacing: .42em; padding-left: .42em; color: #5e5c57;
  animation: promoIn 1s var(--ease-out) 1.6s backwards;
  transition: opacity .6s var(--ease), filter .7s cubic-bezier(.22, 1, .36, 1);
}
body.rack-focus .rack-note { filter: blur(4px); opacity: .45; }
body.in-product .rack-note, body.in-page .rack-note, body.bag-open .rack-note { opacity: 0; }

/* ---------- Modo foco: o site desfoca, só a peça fica nítida ---------- */
.item .inner, .rail, .top, .hint, .wall { transition: filter .7s cubic-bezier(.22, 1, .36, 1), opacity .7s cubic-bezier(.22, 1, .36, 1); }
body.rack-focus .item:not(.is-hover) .inner { filter: blur(9px) saturate(.85); opacity: .55; }
body.rack-focus .rail { filter: blur(6px); opacity: .7; }
body.rack-focus .top, body.rack-focus .hint { filter: blur(4px); opacity: .45; }
body.rack-focus .wall { filter: brightness(.94); }
body.rack-focus .item.is-hover .garment { filter: drop-shadow(-34px 42px 34px rgba(0, 0, 0, .24)) drop-shadow(-4px 6px 8px rgba(0, 0, 0, .12)); }

.rack-foot {
  position: fixed; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none; transition: opacity .5s var(--ease);
}
.hint { color: var(--muted); transition: opacity .8s var(--ease); }
.hint.gone { opacity: 0; }
.hover-label { display: flex; gap: 22px; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hover-label.show { opacity: 1; transform: none; }
.hover-label .muted { color: var(--muted); }

body.in-product #rack .rail,
body.in-page #rack .rail { opacity: 0; transition-delay: 0s; }
body.in-product .rack-foot,
body.in-page .rack-foot { opacity: 0; }
body.in-product .top-left { opacity: 0; pointer-events: none; }
body.dragging, body.dragging * { cursor: grabbing !important; }

/* =========================================================
   Produto
   ========================================================= */
#product { position: fixed; inset: 0; visibility: hidden; pointer-events: none; }
#product.active { visibility: visible; pointer-events: auto; }

.pv-back {
  position: absolute; left: 9vw; top: calc(var(--pv-top) + var(--pw) * .62);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, .5);
  display: grid; place-items: center;
  opacity: 0; transform: translateX(-10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .35s, color .35s;
}
.pv-back:hover { background: var(--ink); color: var(--wall); }
#product.show-info .pv-back { opacity: 1; transform: none; transition-delay: .15s, .15s, 0s, 0s; }

.pv-fly {
  --w: var(--pw);
  position: absolute; left: calc(var(--pv-cx, 50%) - var(--pw) / 2); top: var(--pv-top);
  width: var(--pw); height: calc(var(--pw) * 1.37);
  transform-origin: 0 0; will-change: transform;
}
.pv-swing { position: absolute; inset: 0; transform-origin: 50% calc(var(--pw) * .03); }
.pv-flip { cursor: pointer; transform-style: preserve-3d; }
.pv-flip .layer { position: absolute; inset: 0; }
#product.hovering .pv-flip { filter: drop-shadow(-30px 36px 28px rgba(0, 0, 0, .2)) drop-shadow(-4px 6px 6px rgba(0, 0, 0, .1)); }

.pv-title { display: flex; flex-direction: column; gap: 8px; }
.pv-name {
  font-family: 'Archivo', 'Arial Black', sans-serif;
  font-stretch: 78%; font-weight: 800;
  font-size: clamp(24px, 2.1vw, 32px); letter-spacing: .01em; line-height: 1.02; text-wrap: balance;
}
.pv-price { color: var(--ink); font-size: 12px; letter-spacing: .16em; }

/* painel de informações: coluna à direita, centralizada na altura da peça (posição/largura calculadas no JS) */
.pv-panel {
  position: absolute; left: var(--pv-panel-x, 60vw); top: calc(50% + 22px); transform: translateY(-50%);
  /* folga de 10px em volta (compensada com margem negativa) para o anel da cor e o foco não serem cortados */
  width: calc(var(--pv-panel-w, 360px) + 20px); margin-left: -10px;
  display: flex; flex-direction: column; gap: 22px;
  max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: none; padding: 8px 10px;
}
.pv-panel::-webkit-scrollbar { display: none; }
.pv-panel > * { flex-shrink: 0; }
/* quando o painel rola, o texto esmaece nas bordas em vez de cortar seco */
.pv-panel.fade-top { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); }
.pv-panel.fade-bottom { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 36px); mask-image: linear-gradient(to top, transparent 0, #000 36px); }
.pv-panel.fade-top.fade-bottom { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.pv-options { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.pv-more {
  align-self: flex-start; margin-top: 2px; padding: 4px 0; font-size: 10px; color: var(--ink);
  border-bottom: 1px solid currentColor;
}
.pv-more:hover { opacity: .6; }
.pv-desc .pv-rest { display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pv-desc .pv-rest[hidden] { display: none; }
.pv-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pv-index { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.pv-desc {
  text-transform: none; letter-spacing: 0; font-weight: 400;
  font-size: 14px; line-height: 1.75; color: #45433f;
  text-wrap: pretty; hyphens: none;
  display: flex; flex-direction: column; gap: 12px;
}
/* o primeiro parágrafo abre a história com um pouco mais de presença */
.pv-desc p:first-child { color: var(--ink); }
.pv-label { margin-bottom: 12px; }
.pv-label span { color: var(--muted); }
.pv-warn { margin-left: 8px; color: #8a2c22 !important; }

.swatches { display: flex; gap: 12px; }
.sw {
  width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  outline: 1px solid transparent; outline-offset: 3px;
  transition: outline-color .3s, transform .3s var(--ease);
}
.sw:hover { transform: scale(1.12); }
.sw.on { outline-color: var(--ink); }

.sizes { display: flex; gap: 6px; }
.size {
  min-width: 42px; height: 36px; padding: 0 10px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s, color .3s;
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size:disabled { color: rgba(18, 18, 18, .3); text-decoration: line-through; cursor: not-allowed; }
.sizes.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.btn {
  width: 100%; height: 52px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  letter-spacing: .22em;
  transition: background .45s var(--ease), color .45s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.pv-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.pv-details summary::-webkit-details-marker { display: none; }
.pv-details summary::after { content: '+'; }
.pv-details[open] summary::after { content: '–'; }
.pv-details ul { list-style: none; padding: 6px 0 4px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: #45433f; line-height: 1.95; }
.pv-details li { position: relative; padding-left: 16px; }
.pv-details li::before { content: ''; position: absolute; left: 0; top: .95em; width: 7px; height: 1px; background: currentColor; opacity: .5; }

/* "De perto": miniaturas das fotos extras no painel */
.pv-closeups[hidden] { display: none; }
.closeup-list { display: flex; flex-direction: column; gap: 10px; }
.closeup {
  display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 16px;
  width: 100%; text-align: left; padding: 0;
}
.closeup-img {
  display: block; width: 92px; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}
.closeup-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.1s var(--ease-out), filter .6s; filter: saturate(.92); }
.closeup:hover .closeup-img img, .closeup:focus-visible .closeup-img img { transform: scale(1.16); filter: none; }
.closeup-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: #45433f; line-height: 1.45;
  padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s;
}
.closeup-go { font-size: 13px; transition: transform .45s var(--ease-out); }
.closeup:hover .closeup-cap { color: var(--ink); border-color: var(--ink); }
.closeup:hover .closeup-go { transform: translate(2px, -2px); }

/* "No corpo": vídeo vertical em loop no painel */
.pv-video[hidden] { display: none; }
.video-card { grid-template-columns: 66px 1fr; }
.video-thumb { position: relative; width: 66px; aspect-ratio: 9 / 16; }
.video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.1s var(--ease-out); }
.video-card:hover .video-thumb video, .video-card:focus-visible .video-thumb video { transform: scale(1.08); }
.video-play { /* selinho de "vídeo" no canto */
  position: absolute; left: 7px; bottom: 7px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(244, 243, 239, .9); box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.video-play::after { content: ''; position: absolute; left: 8.5px; top: 6.5px; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent var(--ink); }

/* foto de perto em tela cheia */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(235, 234, 230, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
body.lb-open .lightbox { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lb-stage { position: absolute; inset: 88px 7vw 92px; display: grid; place-items: center; }
.lb-frame { overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .35); background: var(--paper); }
.lb-stage img {
  max-width: 86vw; max-height: calc(100vh - 180px); display: block; user-select: none;
  transition: scale .7s var(--ease-out);
}
@media (pointer: fine) { .lb-stage img { cursor: zoom-in; } }
/* tela cheia em modo vídeo: troca a foto pelo vídeo, sem zoom */
.lb-stage video { display: none; max-width: 86vw; max-height: calc(100vh - 180px); }
.lightbox.is-video .lb-stage img { display: none; }
.lightbox.is-video .lb-stage video { display: block; }
.lightbox.is-video .lb-hint { display: none; }
.lightbox.zoomed .lb-stage img { scale: 2.1; }
.lb-caption {
  position: absolute; left: 7vw; right: 7vw; bottom: 38px; display: flex; justify-content: space-between; gap: 20px;
}
.lb-caption .muted { color: var(--muted); }
.lb-close {
  position: absolute; right: var(--pad); top: 24px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, .5); display: grid; place-items: center;
  transition: background .35s, color .35s, transform .5s var(--ease-out);
}
.lb-close:hover { background: var(--ink); color: var(--wall); transform: rotate(90deg); }
.lb-hint { position: absolute; left: 50%; top: 38px; translate: -50% 0; color: var(--muted); font-size: 9.5px; transition: opacity .4s; }
.lightbox.zoomed .lb-hint { opacity: 0; }
@media (pointer: coarse) { .lb-hint { display: none; } }
@media (max-width: 720px) {
  .lb-stage { inset: 84px 16px 110px; }
  .lb-stage img, .lb-stage video { max-width: calc(100vw - 32px); max-height: calc(100vh - 194px); }
  .lb-caption { left: 20px; right: 20px; bottom: 34px; flex-direction: column; gap: 6px; }
  .lb-close { right: 20px; top: 20px; }
}

.pv-nav { position: absolute; left: 9vw; bottom: 12vh; display: flex; gap: 30px; }
.pv-flip-hint { position: absolute; left: var(--pv-cx, 50%); transform: translateX(-50%); bottom: 26px; color: var(--muted); font-size: 9.5px; }

.reveal { opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
#product.show-info .reveal {
  opacity: 1; translate: 0 0;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
  transition-delay: calc(var(--d) * 70ms);
}

/* =========================================================
   Sobre
   ========================================================= */
.page {
  position: fixed; inset: 0; overflow-y: auto; scrollbar-width: none;
  visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility 0s .7s;
}
.page::-webkit-scrollbar { display: none; }
body.page-sobre #about, body.page-grupo #group, body.page-ajuda #help, body.page-contato #contact { visibility: visible; opacity: 1; transition: opacity .9s var(--ease) .35s, visibility 0s; }
.about-inner {
  max-width: 580px; min-height: 100%; margin: 0 auto; padding: 110px 24px 70px;
  text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
}
.about-inner .about-logo { width: min(170px, 46vw); margin-bottom: 6px; }
.about-kicker { color: var(--muted); }
.about-title {
  font-family: 'Archivo', 'Arial Black', sans-serif; font-stretch: 78%; font-weight: 800;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.02; letter-spacing: .005em; text-wrap: balance;
}
.about-body { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.about-body p {
  text-transform: none; letter-spacing: 0; font-weight: 400;
  font-size: 15px; line-height: 1.8; color: #45433f; text-wrap: pretty;
}
.about-body p:first-child { color: var(--ink); }
.about-pillars {
  list-style: none; width: 100%; margin-top: 10px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about-pillars li {
  padding: 18px 14px; display: flex; flex-direction: column; gap: 8px;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; line-height: 1.55; color: var(--muted);
}
.about-pillars li + li { border-left: 1px solid var(--line); }
.about-pillars li span { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: 10.5px; color: var(--ink); }
.about-sign {
  margin-top: 12px;
  font-family: 'Archivo', 'Arial Black', sans-serif; font-stretch: 78%; font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .02em;
}
.about-close { align-self: center; margin-top: 4px; }
.top-left { display: flex; gap: 22px; }
.about-insta {
  align-self: center; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.about-insta:hover { background: #111; color: #efeeea; border-color: #111; }
/* ao rolar o Sobre, o texto passa por baixo do menu sem se misturar com ele */
body.in-page .top { background: linear-gradient(180deg, #efeeea 58%, rgba(239, 238, 234, 0)); }
@media (max-width: 720px) {
  .about-inner { padding: 96px 22px 60px; gap: 20px; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-pillars li + li { border-left: 0; border-top: 1px solid var(--line); }
}
body.in-page #track .item .inner { transition: opacity .6s var(--ease); opacity: 0; }

.nowrap { white-space: nowrap; } /* mantém uma frase curta inteira na mesma linha */

/* Contato: uma linha por canal (rótulo à esquerda, valor à direita) */
.contact-list { list-style: none; width: 100%; max-width: 520px; margin-top: 8px; border-top: 1px solid var(--line); }
.contact-list [hidden] { display: none !important; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 19px 6px; text-align: left; }
.contact-label { font-size: 10.5px; letter-spacing: .16em; color: var(--ink); white-space: nowrap; }
.contact-value {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-align: right;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: #45433f; overflow-wrap: anywhere;
}
.contact-arrow { color: var(--ink); transition: transform .4s var(--ease); }
a.contact-row { transition: background .4s var(--ease); }
a.contact-row:hover { background: rgba(18, 18, 18, .04); }
a.contact-row:hover .contact-value { color: var(--ink); }
a.contact-row:hover .contact-arrow { transform: translateX(3px); }
@media (max-width: 720px) { .contact-row { padding: 17px 2px; } .contact-value { font-size: 13px; } }

/* Ajuda: atendimento, pagamento, compra segura, políticas */
.help-inner { max-width: 760px; }
.help-inner [hidden], .trust-line [hidden] { display: none !important; }
.help-h { color: var(--ink); font-size: 10.5px; letter-spacing: .16em; margin-bottom: 4px; }
.help-info { width: 100%; max-width: 580px; margin-top: 14px; text-align: left; }
.help-info > .help-h { text-align: center; margin-bottom: 14px; }
.help-acc { border-top: 1px solid var(--line); }
.help-acc:last-child { border-bottom: 1px solid var(--line); }
.help-acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px; font-size: 11px; transition: opacity .3s;
}
.help-acc summary::-webkit-details-marker { display: none; }
.help-acc summary::after { content: '+'; font-size: 14px; font-weight: 400; transition: transform .4s var(--ease); }
.help-acc[open] summary::after { transform: rotate(45deg); }
.help-acc summary:hover { opacity: .6; }
.help-acc > div { padding: 0 2px 20px; display: flex; flex-direction: column; gap: 12px; }
.help-acc p { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; line-height: 1.75; color: #45433f; text-wrap: pretty; }
.help-acc strong { font-weight: 600; color: var(--ink); }
.help-acc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: -4px; }
.help-acc li { position: relative; padding-left: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; line-height: 1.7; color: #45433f; }
.help-acc li::before { content: ''; position: absolute; left: 0; top: .85em; width: 7px; height: 1px; background: currentColor; opacity: .55; }
.help-acc a { border-bottom: 1px solid currentColor; color: var(--ink); }
.help-legal { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 8px; }
/* fim da Ajuda: uma frase levando para a página Contato */
.help-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; margin-top: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: #45433f; }
.help-more .link { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: 11px; color: var(--ink); }

/* linha de confiança no pé da arara: pequena e calma, some com o foco numa peça */
.trust-line {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; gap: 22px; white-space: nowrap; color: var(--muted); font-size: 9.5px; letter-spacing: .16em;
  transition: opacity .5s var(--ease), filter .5s var(--ease);
}
.trust-line a { display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.trust-line a + a::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 15px; }
.trust-line a:hover { color: var(--ink); }
body.rack-focus .trust-line { opacity: .25; filter: blur(3px); }
body.in-product .trust-line, body.in-page .trust-line, body.bag-open .trust-line { opacity: 0; pointer-events: none; }
/* no celular a Ajuda sai do menu de cima e aparece com esse nome na linha de baixo (no lugar de "Atendimento") */
.trust-line .tl-narrow { display: none; }
@media (max-width: 480px) { .top-left .nav-help { display: none; } .trust-line .tl-wide { display: none; } .trust-line .tl-narrow { display: inline; } }
@media (max-width: 720px) {
  .rack-foot { bottom: 56px; } /* "Arraste para explorar" acima da linha de confiança */
  .trust-line { bottom: 22px; gap: 12px; font-size: 9px; letter-spacing: .12em; }
  .trust-line a + a::before { margin-right: 8px; }
}

/* Grupo VIP (WhatsApp): QR no computador, botão em qualquer tela */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.group-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; margin-top: 6px; }
.group-cta[hidden], .group-qr[hidden] { display: none; }
.group-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.group-qr img { width: 184px; height: 184px; object-fit: contain; padding: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -20px rgba(0, 0, 0, .35); }
.group-qr figcaption { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }
.group-btn { width: auto; min-width: 260px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.group-note { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; color: var(--muted); }
@media (max-width: 720px) {
  .group-qr { display: none; } /* no celular não dá para escanear a própria tela: fica só o botão */
  .group-btn { width: 100%; min-width: 0; }
}
.top a, .top button { white-space: nowrap; }
/* celular: o Instagram fica no Sobre, para o menu caber numa linha */
/* celular: Sobre, Cadastro e Contato cabem no topo com espaço menor */
@media (max-width: 480px) { .top-left { gap: 12px; } .top-right { gap: 12px; } .top .link { letter-spacing: .07em; } }
@media (max-width: 374px) { .top-left, .top-right { gap: 9px; } .top .link { font-size: 10px; letter-spacing: .04em; } }

/* =========================================================
   Sacola
   ========================================================= */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(18, 18, 18, .18); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100vw); background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .7s var(--ease);
  box-shadow: -30px 0 60px rgba(0, 0, 0, .06);
}
body.bag-open .scrim { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
body.bag-open .bag { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.bag-list { list-style: none; flex: 1; overflow-y: auto; padding: 8px 32px; }
.bag-empty { padding: 40px 0; color: var(--muted); }
.bag-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-thumb { width: 76px; height: 95px; background: #e7e5e0; display: grid; place-items: center; padding: 6px; }
.bag-thumb svg, .bag-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bag-meta { display: flex; flex-direction: column; gap: 8px; }
.bag-meta .muted { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.qty button { width: 22px; height: 22px; border: 1px solid var(--line); }
.bag-remove { color: var(--muted); font-size: 9.5px; }
.bag-foot { padding: 24px 32px 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.bag-total { display: flex; justify-content: space-between; font-size: 12px; }
.bag-note { color: var(--muted); font-size: 9.5px; }

/* =========================================================
   Cursor
   ========================================================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; will-change: transform; }
.cursor-ring {
  width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, .45);
  display: grid; place-items: center; font-size: 9px; letter-spacing: .2em;
  background: rgba(247, 246, 243, .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transform: scale(.3);
  transition: opacity .35s var(--ease), transform .55s var(--ease-out);
}
.cursor.on .cursor-ring { opacity: 1; transform: scale(1); }
body.cursor-on #rack, body.cursor-on .pv-flip { cursor: none; }
@media (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   Celular
   ========================================================= */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .top { padding: 20px var(--pad); }
  body.in-product .top { background: linear-gradient(180deg, #efeeea 62%, rgba(239, 238, 234, 0)); padding-bottom: 30px; }
  .logo img { height: 20px; }
  #product { overflow-y: auto; }
  .pv-back { left: var(--pad); top: 84px; width: 38px; height: 38px; }
  .pv-panel { position: absolute; left: var(--pad); right: var(--pad); width: auto; bottom: auto; transform: none; max-height: none; overflow: visible; top: calc(var(--pv-top) + var(--pw) * 1.37 + 34px); padding-bottom: 100px; }
  .pv-nav { left: auto; right: var(--pad); bottom: auto; top: 93px; gap: 18px; }
  .pv-flip-hint { display: none; }
  .hover-label { display: none; }
  /* banner compacto: foto pequena, título e "ver" numa linha */
  .promo { top: 64px; height: 58px; grid-template-columns: 54px 1fr auto; grid-template-areas: "shot copy cta"; column-gap: 12px; padding: 0 14px 0 6px; }
  .promo-shot { width: 54px; height: 58px; }
  .promo-shot::before { width: 110px; height: 110px; }
  .promo-shot img { top: 4px; height: 92px; }
  .promo-title { font-size: 17px; }
  .promo-kicker { font-size: 8px; letter-spacing: .26em; }
  .promo-kicker::before { width: 10px; }
  .promo-copy { gap: 4px; }
  .promo-sub, .promo-item { display: none; }
  .promo-cta { padding: 9px 12px; font-size: 9px; letter-spacing: .18em; gap: 8px; }
  .promo-stripes { right: 70px; gap: 9px; }
  .promo-stripes i { width: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .2s !important; }
}

/* =========================================================
   Celulares bem estreitos (320–359px) — fica no FIM do arquivo para valer sobre as regras de celular acima
   ========================================================= */
@media (max-width: 359px) {
  :root { --pad: 14px; }
  .top-left { gap: 8px; } .top-right { gap: 10px; }
  .top .link { font-size: 9.5px; letter-spacing: .02em; }
  .logo img { height: 17px; }
  /* banner: sem a fotinho, título e botão cabem inteiros */
  .promo { grid-template-columns: 1fr auto; grid-template-areas: "copy cta"; column-gap: 8px; padding: 0 10px 0 14px; }
  .promo-shot { display: none; }
  .promo-title { font-size: 15px; }
  .promo-cta { padding: 8px 9px; font-size: 8.5px; letter-spacing: .12em; gap: 5px; }
  .trust-line { gap: 7px; font-size: 8.5px; letter-spacing: .06em; }
  .trust-line a + a::before { margin-right: 6px; }
}
