/* ==========================================================================
   ALUVIÃO — projeto conceito VEXA (base: template premium moda-nordico)
   Paleta de terra: argila, barro, urucum. Grão estático por cima de tudo.
   Regra de desempenho: só transform/opacity animam. Nada de blur animado.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); }

:root {
  --argila: #eee7db;      /* fundo claro */
  --argila-2: #e3d9c9;    /* superfície */
  --barro: #1e1914;       /* texto */
  --barro-2: #5b4f43;     /* texto secundário (AA sobre argila) */
  --linha: rgba(30, 25, 20, .16);
  --noite: #15110d;       /* seções escuras */
  --noite-2: #241d17;
  --claro-2: #bcae9b;     /* texto secundário sobre noite */
  --urucum: #a8442a;      /* acento */
  --urucum-escuro: #8c361f;
  --urucum-claro: #e7956e;
  --ouro: #c79a5b;
  --vidro-letra: rgba(238, 231, 219, .58);

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;

  --faixa: 34px;
  --g: clamp(16px, 2.2vw, 36px);
  --sec: clamp(88px, 11vw, 180px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --tela: 100svh;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--argila); color: var(--barro);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--urucum); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--urucum); color: var(--argila); }
body.travado { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 12px 16px; border-radius: 999px; background: var(--barro); color: var(--argila); font-weight: 600; }
.pular:focus { top: 44px; }

/* Grão estático (SVG gerado, sem requisição). Fica acima do conteúdo e abaixo dos diálogos. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia utilitária ---------- */
.rotulo { font: 500 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--barro-2); }
.rotulo--claro { color: var(--claro-2); }
.titulo-sec { font: 400 clamp(52px, 8.4vw, 150px)/.9 var(--serif); letter-spacing: -.035em; }
.titulo-sec em { color: var(--urucum); }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: .01em;
  transition: background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--claro { background: var(--argila); color: var(--barro); }
.btn--claro:hover { background: var(--urucum); color: var(--argila); }
.btn--linha { color: var(--argila); box-shadow: inset 0 0 0 1px rgba(238, 231, 219, .6); }
.btn--linha:hover { background: rgba(238, 231, 219, .14); }
.btn--escuro { background: var(--barro); color: var(--argila); }
.btn--escuro:hover { background: var(--urucum); }
.btn--urucum { background: var(--urucum); color: #fff; }
.btn--urucum:hover { background: var(--urucum-escuro); }
.btn--largo { width: 100%; }

/* ---------- Faixa VEXA ---------- */
.vexa-faixa {
  position: fixed; z-index: 95; top: 0; left: 0; right: 0; height: var(--faixa);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--g); background: #0b0f14; color: #e6d7a8;
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
}
.vexa-faixa p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #cfc6b0; }
.vexa-faixa strong { color: #e89a6b; font-weight: 600; letter-spacing: .08em; }
.vexa-faixa a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: var(--faixa); color: #e6d7a8; }
.vexa-faixa a:hover { color: #e89a6b; }

/* ---------- Header ---------- */
.topo {
  position: fixed; z-index: 60; top: calc(var(--faixa) + 10px); left: var(--g); right: var(--g);
  display: flex; align-items: center; gap: 10px; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
.topo.escondido { transform: translateY(calc(-100% - 60px)); }
.topo > * { pointer-events: auto; }
.topo__marca, .topo__nav, .topo__sacola {
  display: inline-flex; align-items: center; height: 46px; border-radius: 999px;
  background: rgba(21, 17, 13, .58); color: var(--argila);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.topo__marca { gap: 10px; padding: 0 20px 0 16px; font: 400 25px/1 var(--serif); letter-spacing: -.01em; }
.marca-simbolo { width: 28px; height: 18px; color: var(--urucum-claro); stroke-width: 2.2; }
.topo__marca:hover .marca-simbolo path { animation: onda 1.2s var(--ease) both; }
.topo__marca:hover .marca-simbolo path:nth-child(2) { animation-delay: .08s; }
.topo__marca:hover .marca-simbolo path:nth-child(3) { animation-delay: .16s; }
@keyframes onda { 40% { transform: translateX(-3px); } 70% { transform: translateX(2px); } }
.topo__nav { margin: 0 auto; padding: 0 6px; font: 500 14px/1 var(--sans); }
.topo__nav a { position: relative; display: inline-flex; align-items: center; height: 100%; padding: 0 16px; }
.topo__nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.topo__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topo__sacola { gap: 8px; padding: 0 8px 0 18px; font: 500 14px/1 var(--sans); margin-left: auto; }
@media (min-width: 901px) { .topo__nav + .topo__sacola { margin-left: 0; } }
.topo__sacola svg { width: 18px; height: 18px; }
.topo__conta { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--argila); color: var(--barro); font-weight: 600; font-variant-numeric: tabular-nums; }
.topo__sacola.pulsa .topo__conta { animation: pulsa .6s var(--ease); }
@keyframes pulsa { 30% { transform: scale(1.35); background: var(--urucum-claro); } }
@media (max-width: 900px) { .topo__nav { display: none; } }
@media (max-width: 480px) { .so-largo { display: none; } .topo__sacola { padding-left: 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(var(--tela) * 1.7); background: var(--noite); color: var(--argila); }
.hero__palco { position: sticky; top: 0; height: var(--tela); overflow: hidden; }
.hero__paineis {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.32fr 1fr; gap: 8px;
  padding: calc(var(--faixa) + 8px) 8px 8px;
}
.hero__painel { position: relative; overflow: hidden; border-radius: 6px; background: var(--noite-2); will-change: transform; }
.hero__painel img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; will-change: transform; }
.hero__painel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 11, 8, .62), rgba(15, 11, 8, 0) 46%), linear-gradient(to bottom, rgba(15, 11, 8, .35), transparent 22%); pointer-events: none; }
.hero__kicker {
  position: absolute; left: var(--g); right: var(--g); top: calc(var(--faixa) + 76px);
  display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 231, 219, .85);
}
.hero__base { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--g) clamp(20px, 3.4vh, 40px); }
.hero__titulo { font: 400 clamp(110px, 24vw, 420px)/.78 var(--serif); letter-spacing: -.045em; text-align: center; margin: 0 -.02em; }
.hero__titulo [data-fit] { display: inline-block; white-space: nowrap; padding: .06em .04em .1em; }
.hero__rodape { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; margin-top: clamp(10px, 2vh, 22px); }
.hero__sub { max-width: 40ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: rgba(238, 231, 219, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .hero { height: calc(var(--tela) * 1.45); }
  .hero__paineis { grid-template-columns: 1fr; padding: 0; }
  .hero__painel { border-radius: 0; }
  .hero__painel--esq, .hero__painel--dir { display: none; }
  .hero__kicker { top: calc(var(--faixa) + 72px); }
  .hero__titulo { text-align: left; }
  .hero__rodape { gap: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* Letras do título: sobem de trás de uma máscara na entrada */
[data-letras] .letra { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + 250ms); }
.mascara-linha { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1; padding: .02em .03em .14em; margin: -.1em -.03em -.14em; }
.pronto .hero [data-letras] .letra, [data-letras].visivel .letra { transform: none; }
/* Entrada do hero (cortina nos painéis + zoom) */
.js .hero__painel::before { content: ""; position: absolute; inset: -1px; z-index: 2; background: var(--noite); transform-origin: 50% 0; transition: transform 1.3s var(--ease-in-out); }
.js .hero__painel--centro::before { transition-delay: .05s; }
.js .hero__painel--esq::before { transition-delay: .22s; }
.js .hero__painel--dir::before { transition-delay: .34s; }
.js .hero__painel img { scale: 1.25; transition: scale 2.2s var(--ease); }
.pronto .hero__painel::before { transform: scaleY(0); }
.pronto .hero__painel img { scale: 1; }
.js .hero__kicker, .js .hero__rodape { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .9s, transform .9s var(--ease) .9s; }
.pronto .hero__kicker, .pronto .hero__rodape { opacity: 1; transform: none; }

/* Texto de vidro: translúcido sempre; com suporte, recorta o desfoque pela letra */
.vidro { color: var(--vidro-letra); }
@supports ((-webkit-mask-clip: text) or (mask-clip: text)) and ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .vidro {
    color: transparent; background-color: var(--vidro-letra);
    -webkit-backdrop-filter: blur(9px) saturate(1.4); backdrop-filter: blur(9px) saturate(1.4);
    -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000);
    -webkit-mask-clip: text; mask-clip: text;
  }
  /* Com letras separadas, cada letra vira vidro (o pai fica transparente) */
  .vidro[data-letras] { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask: none; mask: none; }
  .vidro[data-letras] .letra {
    color: transparent; background-color: var(--vidro-letra);
    -webkit-backdrop-filter: blur(9px) saturate(1.4); backdrop-filter: blur(9px) saturate(1.4);
    -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000);
    -webkit-mask-clip: text; mask-clip: text;
  }
}

/* ---------- Marquee ---------- */
.faixa-marquee { background: var(--urucum); color: var(--argila); overflow: hidden; padding: clamp(14px, 1.6vw, 22px) 0; position: relative; z-index: 2; }
.marquee { display: flex; width: max-content; will-change: transform; }
.marquee__trilho { display: flex; align-items: center; flex: none; }
.marquee span { font: 400 clamp(34px, 4.6vw, 76px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; padding: 0 .35em; }
.marquee em { color: #f6d9c4; }
.marquee i { font-style: normal; font-size: clamp(16px, 1.6vw, 26px); color: #f6d9c4; display: inline-block; }

/* ---------- Manifesto ---------- */
.manifesto { padding: var(--sec) var(--g); max-width: 1500px; margin: 0 auto; }
.manifesto .rotulo { margin-bottom: clamp(24px, 3vw, 44px); }
.manifesto__texto { font: 400 clamp(34px, 5.2vw, 88px)/1.04 var(--serif); letter-spacing: -.025em; }
.manifesto__texto .palavra { transition: opacity .5s ease, color .5s ease; }
.js .manifesto__texto .palavra { opacity: .16; }
.js .manifesto__texto .palavra.acesa { opacity: 1; }
.pilula-img { display: inline-block; vertical-align: middle; width: 2.1em; height: .92em; border-radius: 999px; overflow: hidden; margin: -.12em .08em 0; position: relative; }
.pilula-img img { width: 100%; height: 100%; object-fit: cover; }

/* Revelação de imagem por máscara: cortina (scaleY) + leve zoom-out. Só transform. */
.revela-img { position: relative; overflow: hidden; }
.revela-img::after { content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--argila); transform-origin: 50% 0; transition: transform 1.1s var(--ease-in-out) var(--d, 0ms); pointer-events: none; }
.revela-img img { transition: transform 1.6s var(--ease) var(--d, 0ms); }
.js .revela-img:not(.visivel)::after { transform: scaleY(1); }
.js .revela-img:not(.visivel) img { transform: scale(1.18); }
.revela-img::after { transform: scaleY(0); }

/* ---------- Coleção ---------- */
.colecao { padding: 0 var(--g) var(--sec); }
.colecao__cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--linha); }
.colecao__nota { font-size: 14px; color: var(--barro-2); padding-bottom: .8em; }
.filtros { position: relative; display: flex; gap: 4px; margin: clamp(26px, 3vw, 44px) 0 clamp(22px, 2.4vw, 36px); overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 999px; background: var(--argila-2); width: max-content; max-width: 100%; }
.filtros::-webkit-scrollbar { display: none; }
.filtros__marca { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 100px; border-radius: 999px; background: var(--barro); transform-origin: 0 50%; transition: transform .55s var(--ease); pointer-events: none; }
.filtro { position: relative; z-index: 1; flex: none; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--barro); transition: color .4s; }
.filtro.ativo { color: var(--argila); }
.no-marca .filtro.ativo { background: var(--barro); }

.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px) clamp(10px, 1.2vw, 18px); }
.peca { position: relative; }
.peca[hidden] { display: none; }
.peca.saindo { opacity: 0; transform: scale(.94); transition: opacity .22s ease, transform .22s ease; }
.peca__midia { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; background: var(--argila-2); }
.peca__abrir { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 4px; cursor: inherit; }
.peca__abrir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peca__b { opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease) !important; transform: scale(1.06); }
.peca__selo { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 11px; border-radius: 999px; background: var(--argila); font: 500 12px/1 var(--sans); pointer-events: none; }
.peca__mais {
  position: absolute; z-index: 4; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--argila); color: var(--barro);
  transition: background-color .3s, color .3s, transform .45s var(--ease), opacity .35s;
}
.peca__mais svg { width: 18px; height: 18px; stroke-width: 2; transition: transform .45s var(--ease); }
.peca__mais:hover { background: var(--urucum); color: var(--argila); }
.peca__mais:hover svg { transform: rotate(90deg); }
@media (hover: hover) {
  .peca:hover .peca__b, .peca:focus-within .peca__b { opacity: 1; transform: none; }
  .peca__mais { opacity: 0; transform: translateY(10px) scale(.8); }
  .peca:hover .peca__mais, .peca:focus-within .peca__mais { opacity: 1; transform: none; }
}
.peca__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.peca__info h3 { font: 400 clamp(22px, 1.9vw, 30px)/1.05 var(--serif); letter-spacing: -.01em; }
.peca__preco { font: 500 14px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.peca__mat { margin-top: 6px; font-size: 13px; color: var(--barro-2); }
@media (max-width: 1100px) { .grade { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grade { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; } .peca__info { flex-direction: column; gap: 6px; } .peca__mais { width: 44px; height: 44px; right: 8px; bottom: 8px; } }

/* ---------- Lookbook (trilho horizontal guiado pela rolagem) ---------- */
.lookbook { position: relative; background: var(--noite); color: var(--argila); }
.lookbook__palco { position: sticky; top: 0; height: var(--tela); overflow: hidden; display: flex; align-items: center; }
.lookbook__trilho { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); padding: 0 var(--g); will-change: transform; }
.lookbook__intro { flex: none; width: min(560px, 80vw); padding-right: 2vw; }
.lookbook__titulo { margin: 22px 0 24px; font: 400 clamp(56px, 7.4vw, 128px)/.9 var(--serif); letter-spacing: -.035em; }
.lookbook__titulo em { color: var(--urucum-claro); }
.lookbook__texto { max-width: 34ch; color: var(--claro-2); font-size: 17px; }
.look { flex: none; width: clamp(240px, 26vw, 420px); }
.look:nth-of-type(even) { margin-top: 10vh; }
.look:nth-of-type(odd) { margin-bottom: 8vh; }
.look__midia { display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--noite-2); cursor: zoom-in; }
.look__midia img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; will-change: transform; transition: scale 1s var(--ease); }
.look__midia:hover img { scale: 1.04; }
.look figcaption { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; margin-top: 14px; font-size: 14px; color: var(--claro-2); }
.look__num { font: 400 30px/1 var(--serif); color: var(--argila); grid-row: span 2; }
.look__nome { color: var(--argila); }
.look__levar { justify-self: start; min-height: 32px; font-size: 14px; color: var(--urucum-claro); text-decoration: underline; text-underline-offset: 4px; }
.look__levar:hover { color: var(--argila); }
.lookbook__fim { flex: none; width: min(420px, 78vw); display: grid; gap: 28px; justify-items: start; padding-right: 4vw; }
.lookbook__fim-txt { font: 400 clamp(46px, 5vw, 88px)/.92 var(--serif); letter-spacing: -.03em; }
.lookbook__fim-txt em { color: var(--urucum-claro); }
.lookbook__progresso { position: absolute; left: var(--g); right: var(--g); bottom: clamp(18px, 3vh, 32px); display: flex; align-items: center; gap: 18px; font: 500 13px/1 var(--sans); color: var(--claro-2); font-variant-numeric: tabular-nums; }
.lookbook__contador b { color: var(--argila); font-weight: 500; }
.lookbook__barra { flex: 1; height: 1px; background: rgba(238, 231, 219, .2); overflow: hidden; }
.lookbook__barra i { display: block; height: 100%; background: var(--argila); transform: scaleX(0); transform-origin: 0 50%; }
/* Celular / sem movimento: trilho nativo com arrasto e snap */
.lookbook.nativo { height: auto !important; }
.lookbook.nativo .lookbook__palco { position: relative; height: auto; padding: var(--sec) 0 calc(var(--sec) * .7); display: block; }
.lookbook.nativo .lookbook__trilho { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; align-items: flex-start; transform: none !important; padding-bottom: 8px; }
.lookbook.nativo .lookbook__trilho::-webkit-scrollbar { display: none; }
.lookbook.nativo .look, .lookbook.nativo .lookbook__intro, .lookbook.nativo .lookbook__fim { scroll-snap-align: start; margin: 0; }
.lookbook.nativo .lookbook__fim { align-self: center; }
.lookbook.nativo .look { width: 72vw; max-width: 340px; }
.lookbook.nativo .lookbook__progresso { position: static; margin: 28px var(--g) 0; }
.lookbook.nativo .look__midia img { width: 100%; margin: 0; transform: none !important; }

/* ---------- Ateliê ---------- */
.atelie { padding: var(--sec) var(--g); }
.atelie__cab { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 96px); }
.atelie__corpo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); }
.atelie__visual { position: sticky; top: 14vh; height: 72vh; border-radius: 6px; overflow: hidden; background: var(--argila-2); }
.atelie__quadro { position: absolute; inset: 0; overflow: hidden; transform: translateY(101%); transition: transform 1.1s var(--ease-in-out); }
.atelie__quadro img { width: 100%; height: 100%; object-fit: cover; transform: translateY(-101%) scale(1.15); transition: transform 1.1s var(--ease-in-out); }
.atelie__quadro.ativo, .atelie__quadro.passou { transform: none; }
.atelie__quadro.ativo img, .atelie__quadro.passou img { transform: none; }
.atelie__quadro.ativo { z-index: 2; }
.atelie__etapa { position: absolute; z-index: 3; left: 16px; bottom: 16px; padding: 9px 14px; border-radius: 999px; background: var(--argila); font: 500 13px/1 var(--sans); letter-spacing: .04em; }
.atelie__passos { display: grid; }
.passo { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; border-top: 1px solid var(--linha); opacity: .28; transition: opacity .6s ease; }
.passo.ativo { opacity: 1; }
.passo__img { display: none; }
.passo__num { font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--urucum); }
.passo h3 { margin: 16px 0 18px; font: 400 clamp(56px, 6.6vw, 112px)/.9 var(--serif); letter-spacing: -.035em; }
.passo p { max-width: 38ch; font-size: clamp(16px, 1.2vw, 19px); color: var(--barro-2); }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(56px, 7vw, 120px); border-top: 1px solid var(--barro); }
.numeros div { padding-top: 18px; display: flex; flex-direction: column-reverse; gap: 10px; }
.numeros dd { font: 400 clamp(64px, 8vw, 140px)/.85 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.numeros dt { font-size: 14px; color: var(--barro-2); }
@media (max-width: 860px) {
  .atelie__corpo { grid-template-columns: 1fr; }
  .atelie__visual { display: none; }
  .passo { min-height: 0; opacity: 1; padding: 28px 0 40px; }
  .passo__img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 4px; margin-bottom: 22px; }
  .numeros { grid-template-columns: 1fr; gap: 0; }
  .numeros div { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .numeros dd { font-size: 64px; }
}

/* ---------- Campanha: zoom + título de vidro ---------- */
.campanha { position: relative; height: calc(var(--tela) * 1.9); background: var(--noite); color: var(--argila); }
.campanha__palco { position: sticky; top: 0; height: var(--tela); overflow: hidden; display: flex; align-items: flex-end; }
.campanha__midia { position: absolute; inset: 0; }
.campanha__midia img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; will-change: transform; transform: scale(1.25); }
.campanha__palco::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 11, 8, .66), rgba(15, 11, 8, 0) 55%); pointer-events: none; }
.campanha__conteudo { position: relative; z-index: 2; display: grid; justify-items: start; gap: 18px; padding: 0 var(--g) clamp(36px, 7vh, 80px); will-change: transform; }
.campanha__titulo { font: 400 clamp(76px, 15vw, 270px)/.82 var(--serif); letter-spacing: -.04em; margin-left: -.03em; }
.campanha__titulo .vidro { display: inline-block; padding: .04em .03em .12em; }
.campanha__sub { max-width: 40ch; font-size: clamp(16px, 1.3vw, 20px); color: rgba(238, 231, 219, .92); }
.js .campanha__sub, .js .campanha__conteudo .btn { opacity: var(--rev, 0); transform: translateY(calc((1 - var(--rev, 0)) * 20px)); }
@media (max-width: 760px) { .campanha { height: calc(var(--tela) * 1.6); } .campanha__titulo { font-size: 19vw; } }

/* ---------- Como comprar ---------- */
.como { padding: var(--sec) var(--g); }
.como__cab { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 80px); }
.como__passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(16px, 2vw, 32px); }
.como__passos li { border-top: 1px solid var(--barro); padding-top: 18px; }
.como__passos span { font: 400 26px/1 var(--serif); color: var(--urucum); }
.como__passos h3 { margin: 14px 0 8px; font: 500 22px/1.15 var(--sans); letter-spacing: -.02em; }
.como__passos p { color: var(--barro-2); max-width: 34ch; }
.duvidas { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 24px clamp(24px, 4vw, 72px); margin-top: clamp(56px, 7vw, 110px); }
.duvidas__titulo { font: 400 clamp(36px, 3.6vw, 60px)/.95 var(--serif); letter-spacing: -.02em; padding-top: 20px; }
.duvidas__titulo em { color: var(--urucum); }
.perguntas { border-top: 1px solid var(--linha); }
@media (max-width: 760px) { .duvidas { grid-template-columns: 1fr; } }
.pergunta { border-bottom: 1px solid var(--linha); }
.pergunta summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 400 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary:hover { color: var(--urucum); }
.pergunta__icone { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--linha); }
.pergunta__icone::before, .pergunta__icone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .45s var(--ease); }
.pergunta__icone::after { transform: rotate(90deg); }
.pergunta[open] .pergunta__icone::after { transform: rotate(0); }
.pergunta[open] .pergunta__icone::before { transform: rotate(180deg); }
.pergunta__resp p { max-width: 62ch; padding: 0 56px 28px 0; color: var(--barro-2); font-size: 17px; }
.pergunta[open] .pergunta__resp { animation: abre .55s var(--ease); }
@keyframes abre { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 760px) { .como__passos { grid-template-columns: 1fr; } .pergunta__resp p { padding-right: 0; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--noite); color: var(--argila); padding: var(--sec) var(--g) 0; overflow: hidden; }
.rodape__cta { display: grid; justify-items: start; gap: 22px; max-width: 900px; }
.rodape__chamada { font: 400 clamp(52px, 7.4vw, 128px)/.9 var(--serif); letter-spacing: -.035em; }
.rodape__chamada em { color: var(--urucum-claro); }
.rodape__texto { max-width: 52ch; color: var(--claro-2); font-size: 17px; }
.rodape__grade { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: clamp(64px, 8vw, 120px); padding: 28px 0; border-top: 1px solid rgba(238, 231, 219, .16); font-size: 14px; color: var(--claro-2); }
.rodape__grade ul { display: grid; gap: 4px; }
.rodape__grade a { display: inline-flex; min-height: 32px; align-items: center; color: var(--argila); }
.rodape__grade a:hover { color: var(--urucum-claro); }
.rodape__grade p a { display: inline; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
.rodape__assinatura { line-height: .8; padding-bottom: clamp(10px, 2vw, 24px); }
.rodape__assinatura .mascara-linha { line-height: .86; padding: .06em .03em .02em; margin: 0 -.03em; }
.rodape__assinatura > span { display: inline-block; white-space: nowrap; font: 400 24vw/.8 var(--serif); letter-spacing: -.045em; color: var(--argila); }
@media (max-width: 760px) { .rodape__grade { grid-template-columns: 1fr; } }

/* ---------- Quick view ---------- */
.qv-veu, .sacola-veu { position: fixed; inset: 0; z-index: 80; background: rgba(21, 17, 13, .55); opacity: 0; transition: opacity .45s; }
.qv-veu.aberta, .sacola-veu.aberta { opacity: 1; }
.qv-veu[hidden], .sacola-veu[hidden], .qv[hidden], .sacola[hidden], .lb[hidden] { display: none; }
.qv {
  position: fixed; z-index: 81; left: 50%; top: 50%; width: min(1040px, calc(100vw - 32px)); max-height: calc(100svh - 64px);
  transform: translate(-50%, -50%); display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  background: var(--argila); border-radius: 8px;
}
.qv__galeria { position: relative; background: var(--argila-2); display: flex; flex-direction: column; min-height: 0; }
.qv__foto { flex: 1; min-height: 0; overflow: hidden; }
.qv__foto img { width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; }
.qv__miniaturas { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.qv__miniaturas button { width: 54px; height: 72px; border-radius: 4px; overflow: hidden; opacity: .6; box-shadow: 0 0 0 1px rgba(238, 231, 219, .7); transition: opacity .3s, transform .3s var(--ease); }
.qv__miniaturas button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--argila); transform: translateY(-3px); }
.qv__miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { position: relative; padding: clamp(28px, 3.4vw, 52px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.qv__info > * { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.qv:not(.aberta) .qv__info > * { opacity: 0; transform: translateY(14px); }
.qv.aberta .qv__info > *:nth-child(2) { transition-delay: .12s; } .qv.aberta .qv__info > *:nth-child(3) { transition-delay: .16s; }
.qv.aberta .qv__info > *:nth-child(4) { transition-delay: .2s; } .qv.aberta .qv__info > *:nth-child(5) { transition-delay: .24s; }
.qv.aberta .qv__info > *:nth-child(6) { transition-delay: .28s; } .qv.aberta .qv__info > *:nth-child(7) { transition-delay: .32s; }
.qv.aberta .qv__info > *:nth-child(8) { transition-delay: .36s; }
.qv__fechar { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .3s, transform .45s var(--ease); }
.qv__fechar:hover { background: var(--argila-2); transform: rotate(90deg); }
.qv__fechar svg, .sacola__fechar svg, .lb__fechar svg { width: 20px; height: 20px; }
.qv__nome { font: 400 clamp(44px, 4.4vw, 72px)/.92 var(--serif); letter-spacing: -.03em; padding-right: 40px; }
.qv__preco { font: 500 18px/1 var(--sans); }
.qv__desc { color: var(--barro-2); max-width: 44ch; }
.qv__grupo legend { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--barro-2); margin-bottom: 10px; }
.qv__tons, .qv__tamanhos { display: flex; flex-wrap: wrap; gap: 8px; }
.tom { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha); font-size: 14px; transition: box-shadow .3s; }
.tom i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tam { min-width: 48px; height: 44px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha); font: 500 14px/1 var(--sans); transition: background-color .3s, color .3s; }
.tom[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--barro); }
.tam[aria-pressed="true"] { background: var(--barro); color: var(--argila); }
.tam:hover, .tom:hover { box-shadow: inset 0 0 0 1.5px var(--barro); }
.qv__nota { font-size: 12px; color: var(--barro-2); }
@media (max-width: 760px) {
  .qv { left: 0; top: auto; bottom: 0; width: 100%; max-height: 92svh; transform: none; grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 14px 14px 0 0; overflow-y: auto; }
  .qv__galeria { height: 46svh; }
  .qv__info { overflow: visible; padding: 24px 18px 28px; }
  .qv__nome { font-size: 46px; }
}

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 85; background: rgba(15, 11, 8, .94); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity .4s; }
.lb.aberta { opacity: 1; }
.lb__img { max-height: calc(100svh - 140px); width: auto; border-radius: 4px; transition: opacity .35s, transform .6s var(--ease); }
.lb__img.troca { opacity: 0; transform: scale(.97); }
.lb__legenda { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--argila); font: 400 22px/1 var(--serif); }
.lb__btn, .lb__fechar { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--argila); background: rgba(238, 231, 219, .1); transition: background-color .3s; }
.lb__btn:hover, .lb__fechar:hover { background: rgba(238, 231, 219, .22); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__btn--ant { left: 14px; top: 50%; margin-top: -26px; }
.lb__btn--prox { right: 14px; top: 50%; margin-top: -26px; }
.lb__fechar { top: calc(var(--faixa) + 12px); right: 14px; }
@media (max-width: 760px) { .lb { padding: 60px 12px 70px; } .lb__btn { top: auto; bottom: 10px; margin: 0; } .lb__legenda { bottom: 26px; font-size: 18px; } }

/* ---------- Sacola ---------- */
.sacola {
  position: fixed; z-index: 82; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--argila);
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.sacola.aberta { transform: none; }
.sacola__cab { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--faixa) + 10px) 14px 14px 24px; border-bottom: 1px solid var(--linha); }
.sacola__cab h2 { font: 400 36px/1 var(--serif); letter-spacing: -.02em; }
.sacola__n { font: 500 15px/1 var(--sans); color: var(--barro-2); vertical-align: middle; }
.sacola__fechar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .3s, transform .45s var(--ease); }
.sacola__fechar:hover { background: var(--argila-2); transform: rotate(90deg); }
.sacola__corpo { flex: 1; overflow-y: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }
.sacola__vazia { padding: 32px 0 8px; display: grid; gap: 10px; justify-items: start; }
.sacola__vazia p { font: 400 30px/1.05 var(--serif); }
.sacola__vazia[hidden] { display: none; }
.sacola__itens li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.sacola__itens li.novo { animation: entraItem .6s var(--ease) both; }
@keyframes entraItem { from { opacity: 0; transform: translateX(30px); } }
.sacola__mini { width: 64px; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; background: var(--argila-2); }
.sacola__mini img { width: 100%; height: 100%; object-fit: cover; }
.sacola__nome { font: 400 22px/1.05 var(--serif); }
.sacola__det { font-size: 13px; color: var(--barro-2); margin-top: 2px; }
.sacola__qtd { display: flex; align-items: center; gap: 2px; }
.sacola__qtd button { width: 36px; height: 44px; border-radius: 999px; font-size: 18px; }
.sacola__qtd button:hover { background: var(--argila-2); }
.sacola__qtd output { min-width: 18px; text-align: center; font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; }
.sacola__msg { margin-top: 26px; }
.sacola__msg[hidden] { display: none; }
.sacola__msg .rotulo { margin-bottom: 12px; }
.bolha { position: relative; padding: 14px 16px 16px; border-radius: 4px 14px 14px 14px; background: #dfe9d3; color: #1d2a1a; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.bolha::before { content: ""; position: absolute; left: -7px; top: 0; border: 8px solid transparent; border-top-color: #dfe9d3; border-right-color: #dfe9d3; border-width: 0 8px 10px 0; border-color: transparent #dfe9d3 transparent transparent; }
.bolha__texto { white-space: pre-wrap; word-break: break-word; }
.bolha__texto span { display: block; }
.bolha__texto .nova { animation: linhaNova .5s var(--ease) both; }
@keyframes linhaNova { from { opacity: 0; transform: translateY(6px); } }
.bolha__digitando { display: none; gap: 4px; padding: 4px 0 8px; }
.bolha.digitando .bolha__digitando { display: flex; }
.bolha__digitando i { width: 7px; height: 7px; border-radius: 50%; background: #5c7352; animation: pontinho 1s infinite ease-in-out; }
.bolha__digitando i:nth-child(2) { animation-delay: .15s; } .bolha__digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pontinho { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.sacola__pe { padding: 16px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); display: grid; gap: 10px; }
.sacola__linha { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sacola__linha dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.sacola__pe .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.sacola__nota { font-size: 12px; line-height: 1.45; color: var(--barro-2); }

/* Peça voando até a sacola */
.voo { position: fixed; z-index: 90; left: 0; top: 0; width: 70px; height: 92px; border-radius: 6px; overflow: hidden; pointer-events: none; box-shadow: 0 12px 30px rgba(21, 17, 13, .3); transition: transform .75s cubic-bezier(.5, -.2, .3, 1), opacity .75s ease; }
.voo img { width: 100%; height: 100%; object-fit: cover; }

/* Aviso (toast) */
.aviso { position: fixed; z-index: 92; left: 50%; bottom: 24px; padding: 14px 20px; border-radius: 999px; background: var(--barro); color: var(--argila); font-size: 14px; transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; pointer-events: none; white-space: nowrap; }
.aviso.ver { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Revelação genérica ---------- */
.js .revela { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .revela.visivel { opacity: 1; transform: none; }

/* ---------- Cursor personalizado (só com mouse) ---------- */
.cursor, .cursor-ponto { display: none; }
.tem-cursor .cursor, .tem-cursor .cursor-ponto { display: block; }
.cursor {
  position: fixed; z-index: 99; left: 0; top: 0; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: var(--urucum); color: var(--argila); pointer-events: none; display: grid; place-items: center;
  transform: translate3d(-200px, -200px, 0) scale(0); transition: scale .45s var(--ease), background-color .3s;
  will-change: transform;
}
.tem-cursor .cursor { display: grid; }
.cursor.ativo { scale: 1; }
.cursor:not(.ativo) { scale: 0; }
.cursor__rotulo { font: 400 italic 26px/1 var(--serif); }
.cursor-ponto { position: fixed; z-index: 99; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--urucum); pointer-events: none; transition: opacity .3s, scale .3s; will-change: transform; }
.cursor-ponto.some { opacity: 0; scale: 0; }
.tem-cursor [data-cursor] { cursor: none; }

/* ---------- Telas pequenas: faixa VEXA ---------- */
@media (max-width: 420px) { .vexa-faixa { font-size: 11px; } .vexa-faixa p { letter-spacing: .02em; } }

/* ---------- Movimento reduzido: tudo parado e legível ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html:focus-within { scroll-behavior: auto; }
  .hero, .campanha { height: auto; }
  .hero__palco { position: relative; height: var(--tela); }
  .campanha__palco { position: relative; }
  .js .hero__painel::before { transform: scaleY(0); }
  .js .hero__painel img, .campanha__midia img { scale: 1; transform: none; }
  .js .hero__kicker, .js .hero__rodape, .js .revela, .js .campanha__sub, .js .campanha__conteudo .btn { opacity: 1; transform: none; }
  [data-letras] .letra { transform: none; }
  .js .manifesto__texto .palavra { opacity: 1; }
  .js .revela-img::after { transform: scaleY(0) !important; }
  .js .revela-img img { transform: none !important; }
  .passo { opacity: 1; }
  .atelie__quadro { transform: none; } .atelie__quadro img { transform: none; }
  .atelie__quadro:not(.ativo) { opacity: 0; }
  .cursor, .cursor-ponto { display: none !important; }
  .tem-cursor [data-cursor] { cursor: pointer; }
}
