/* TRIBO BLACK · Cor em Movimento
   --cor e --tinta mudam com o óculos em foco (site.js). O resto é fixo. */
:root {
  --cor: #FF6A2B; --tinta: #17130F;
  --papel: #FFF8EC; --preto: #17130F; --cinza: #6B635A; --linha: rgba(23, 19, 15, .14);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --raio: 32px; --borda: 20px;
  --troca: .7s cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cor); transition: background-color var(--troca); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--tinta); font: 400 17px/1.45 var(--display); font-optical-sizing: auto; overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: color var(--troca); }
html.travado, html.travado body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }
.folha :focus-visible, .sacola :focus-visible, .produto-ficha :focus-visible { outline-color: var(--preto); }
.escura :focus-visible { outline-color: var(--papel); }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--preto); color: var(--papel); padding: 12px 16px; border-radius: 12px; transform: translateY(-300%); }
.pular:focus { transform: none; }
.sem-js { padding: 24px; background: var(--papel); color: var(--preto); }

/* ---------- botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--tinta); color: var(--cor); font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; border: 2px solid var(--tinta); transition: background-color var(--troca), color var(--troca), border-color var(--troca), transform .15s; white-space: nowrap; }
.botao:active { transform: scale(.97); }
.botao-linha { background: transparent; color: var(--tinta); }
.botao-papel { background: var(--preto); color: var(--papel); border-color: var(--preto); }
.botao-papel.botao-linha { background: transparent; color: var(--preto); }
.botao-largo { width: 100%; }
.botao[disabled] { opacity: .45; cursor: not-allowed; }
@media (hover: hover) { .botao:hover { transform: translateY(-2px); } }

.seta { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--tinta); display: grid; place-items: center; transition: border-color var(--troca), background-color .2s, color .2s; }
.seta svg, .fechar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .seta:hover { background: var(--tinta); color: var(--cor); } }

/* ---------- bolinhas de cor */
.bolinhas { display: flex; flex-wrap: wrap; margin-left: -9px; }
.bolinhas:empty { display: none; }
.bolinha { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.bolinha i { width: 26px; height: 26px; border-radius: 50%; border: 4px solid var(--a, #111); background: var(--l, #333); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); transition: transform .2s; }
.bolinha[aria-pressed="true"] i { transform: scale(1.12); box-shadow: 0 0 0 2.5px var(--anel-fundo, var(--cor)), 0 0 0 5px var(--anel, var(--tinta)); }

/* ---------- topo */
.topo { position: absolute; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--borda); padding-top: max(14px, env(safe-area-inset-top)); }
.marca { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; flex: none; }
/* logo de verdade (vetor), na cor de tinta do fundo em foco */
.logo-fonte { position: absolute; }
.marca svg, .rodape-marca svg { display: block; fill: currentColor; }
.marca-simbolo { height: 36px; width: auto; aspect-ratio: 1185 / 1172; }
.marca-nome { height: 20px; width: auto; aspect-ratio: 3217 / 649; }
@media (max-width: 359.98px) { .marca { gap: 8px; } .marca-simbolo { height: 32px; } .marca-nome { height: 16px; } }
.topo-nav { display: none; gap: 30px; font-weight: 600; }
.topo-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.topo-nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.topo-sacola { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 18px; border-radius: 999px; border: 2px solid var(--tinta); font-weight: 700; transition: border-color var(--troca); }
/* a sacola acompanha a rolagem: fica sempre à mão */
.topo { min-height: 74px; }
.topo > .topo-sacola { position: fixed; right: var(--borda); top: max(14px, env(safe-area-inset-top)); background: var(--cor); transition: border-color var(--troca), background-color var(--troca); }
.conta { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--tinta); color: var(--cor); display: grid; place-items: center; font-size: 15px; transition: background-color var(--troca), color var(--troca); }

/* ---------- capa */
.capa { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: 76px var(--borda) 22px; overflow: hidden; }
.capa-nome { position: absolute; left: var(--borda); right: var(--borda); top: 78px; z-index: 1; font-weight: 800; letter-spacing: -.045em; line-height: .8; font-size: min(36vw, calc((100vw - 2 * var(--borda)) / (var(--m) * .54))); text-wrap: balance; user-select: none; pointer-events: none; }
.capa-nome span { display: block; transition: opacity .35s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.capa-nome.saindo span { opacity: 0; transform: translateY(18%); transition-duration: .16s; }
.capa-palco { position: relative; z-index: 2; flex: 1 0 auto; min-height: clamp(250px, 41svh, 400px); margin: clamp(74px, 15svh, 140px) calc(-1 * var(--borda)) 0; }
.capa-palco { touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; --dx: 0px; --lado: 60%; --sobe: -24%; --esc: .42; --gira: -5deg; }
.capa-palco.arrastando { cursor: grabbing; }
.capa-pecas { position: absolute; inset: -17% 0 17%; }
/* a do meio grande; as vizinhas menores, mais altas e meio viradas, como numa roda */
.capa-peca { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transform: translate(calc(var(--lado) * 1.9 + var(--dx)), var(--sobe)) scale(.3); transition: transform .85s cubic-bezier(.2, .7, .2, 1), opacity .55s; will-change: transform, opacity; }
.capa-palco.arrastando .capa-peca { transition: none; }
.capa-peca img { width: 94%; max-width: 900px; height: auto; pointer-events: auto; -webkit-user-drag: none; filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .2)); transition: opacity .3s; }
.capa-peca img.trocando { opacity: 0; }
.capa-peca[data-pos="0"] { opacity: 1; z-index: 2; transform: translateX(var(--dx)) rotate(var(--gira)); }
.capa-peca[data-pos="0"] img { animation: boia 6.5s ease-in-out infinite; }
.capa-peca[data-pos="-1"] { opacity: .9; transform: translate(calc(-1 * var(--lado) + var(--dx)), var(--sobe)) scale(var(--esc)) rotate(-16deg); }
.capa-peca[data-pos="1"] { opacity: .9; transform: translate(calc(var(--lado) + var(--dx)), var(--sobe)) scale(var(--esc)) rotate(12deg); }
.capa-peca[data-pos="-2"] { transform: translate(calc(-1.9 * var(--lado) + var(--dx)), var(--sobe)) scale(.3) rotate(-24deg); }
.capa-peca[data-pos="-1"] img, .capa-peca[data-pos="1"] img { cursor: pointer; }
@keyframes boia { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(.9deg); } }
.capa-dica { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 14px; font-weight: 600; opacity: .7; pointer-events: none; }
.capa-info { position: relative; z-index: 3; margin-top: auto; padding-top: 10px; }
.capa-linha { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.capa-formato { font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: .8; margin-left: 6px; }
.capa-cores { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.capa-cor { font-weight: 600; font-size: 16px; }
.capa-preco { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.capa-preco strong { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.capa-preco span { font-size: 15px; font-weight: 500; }
.capa-botoes { display: flex; gap: 10px; margin-top: 16px; }
.capa-botoes .botao { flex: 1 1 0; padding: 0 14px; }
.capa-nav { position: relative; z-index: 4; order: 2; align-self: flex-end; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.capa-nav .seta { width: 46px; height: 46px; }
.capa-conta { font-weight: 600; font-size: 15px; min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.capa-conta b { font-weight: 800; }
.capa-info { order: 3; margin-top: -44px; padding-top: 0; }
.capa-linha { max-width: calc(100% - 170px); min-height: 44px; display: flex; flex-direction: column; justify-content: flex-end; }
.capa-formato { margin: 4px 0 0; font-size: 15px; white-space: nowrap; }

/* ---------- folhas (blocos claros sobre a cor) */
.folha { background: var(--papel); color: var(--preto); border-radius: var(--raio); margin: 0 10px; padding: 40px 16px 20px; }
.folha.escura { background: var(--preto); color: var(--papel); }
h2 { font-size: clamp(44px, 9vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }

.colecao-cabeca { display: flex; flex-direction: column; gap: 10px; }
.colecao-nota { color: var(--cinza); font-size: 16px; max-width: 30ch; }
.filtros { display: flex; gap: 8px; margin: 22px -16px 18px; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filtros::-webkit-scrollbar { display: none; }
.filtro { flex: none; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--preto); font-weight: 700; font-size: 16px; transition: background-color .2s, color .2s; }
.filtro[aria-pressed="true"] { background: var(--preto); color: var(--papel); }

.grade { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cartao { position: relative; border-radius: 26px; background: var(--c); color: var(--t); transition: background-color var(--troca), color var(--troca); display: flex; flex-direction: column; overflow: hidden; --anel-fundo: var(--c); --anel: var(--t); }
.cartao-link { display: flex; flex-direction: column; text-decoration: none; padding: 16px 18px 0; flex: 1; border-radius: 26px 26px 0 0; }
.cartao-link:focus-visible { outline-color: var(--t); outline-offset: -5px; border-radius: 26px; }
.cartao-foto { aspect-ratio: 16 / 9; display: grid; place-items: center; flex: 1; min-height: 0; }
.cartao-foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .25s; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .14)); }
.cartao-foto img.trocando { opacity: 0; }
/* foto que sai pela borda: encosta na borda esquerda do cartão */
.cartao-foto img.corte { width: calc(100% + 18px); max-width: none; margin-left: -18px; justify-self: start; object-position: left center; }
.cartao-uma { font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; opacity: .85; }
@media (hover: hover) { .cartao-link:hover img { transform: scale(1.06) rotate(-2deg); } }
.cartao-texto { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.cartao-nome { font-size: 27px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cartao-preco { font-size: 19px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.cartao-sub { font-size: 15px; font-weight: 500; margin-top: 5px; }
.cartao-pe { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 18px 12px; }
.cartao-pix { font-size: 14px; font-weight: 600; text-align: right; }
.grade-vazia { padding: 30px 4px; color: var(--cinza); }

/* ---------- experiência em 3D (peça de vitrine, não é produto) */
.experiencia { margin-top: 10px; padding-bottom: 22px; display: grid; gap: 22px; }
.experiencia h2 { font-size: clamp(42px, 7vw, 84px); }
.exp-intro { font-size: 17px; color: rgba(255, 248, 236, .8); max-width: 40ch; margin-top: 14px; }
.exp-palco { position: relative; border-radius: 26px; background: var(--pc, #D4EC6A); color: var(--pt, #17130F); aspect-ratio: 4 / 3; overflow: hidden; transition: background-color var(--troca), color var(--troca); }
.exp-reserva { position: absolute; inset: 8% 5%; width: 90%; height: 84%; object-fit: contain; transition: opacity .4s; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .16)); }
.exp-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.exp-palco.vivo .exp-canvas { opacity: 1; }
.exp-palco.vivo .exp-reserva { opacity: 0; }
.exp-dica { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .4s; }
.exp-palco.vivo .exp-dica { opacity: .75; }
.exp-rotulo { font-weight: 700; font-size: 15px; color: rgba(255, 248, 236, .7); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 2px solid rgba(255, 248, 236, .32); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; }
.chip i { width: 22px; height: 22px; border-radius: 50%; background: var(--l); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); flex: none; }
.chip[aria-pressed="true"] { background: var(--papel); color: var(--preto); border-color: var(--papel); }
.exp-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.exp-acoes .botao { flex: 1 1 auto; padding: 0 20px; }
.botao-claro { background: var(--papel); color: var(--preto); border-color: var(--papel); }
.botao-claro.botao-linha { background: transparent; color: var(--papel); }
.exp-sem3d { display: none; font-size: 15px; color: rgba(255, 248, 236, .8); margin-top: 14px; }
.sem-3d .exp-sem3d { display: block; }
.sem-3d .chips, .sem-3d .exp-rotulo, .sem-3d #expHastes { display: none; }

/* ---------- editorial */
.verao { padding: 64px var(--borda) 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: start; }
.verao-texto { grid-column: 1 / -1; margin-bottom: 18px; }
.verao-texto p { font-size: 20px; font-weight: 500; line-height: 1.3; max-width: 26ch; margin: 16px 0 22px; }
.foto { border-radius: 26px; overflow: hidden; background: rgba(0, 0, 0, .08); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-a { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.foto-b { grid-column: 1 / 4; aspect-ratio: 1; }
.foto-c { grid-column: 4 / 7; aspect-ratio: 1; }
.foto-c img { object-position: 60% 20%; }
.foto-d { grid-column: 2 / 7; aspect-ratio: 4 / 3; }

/* ---------- confiança */
.confianca { padding-top: 44px; padding-bottom: 14px; }
.confianca h2 { font-size: clamp(40px, 7vw, 76px); }
.garantias { margin-top: 26px; }
.garantias div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 0; border-top: 1px solid rgba(255, 248, 236, .2); }
.garantias dt { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.garantias dd { font-size: 17px; color: rgba(255, 248, 236, .78); max-width: 34ch; }

/* ---------- rodapé */
.rodape { padding: 54px var(--borda) calc(30px + env(safe-area-inset-bottom)); }
.rodape-marca svg { width: 100%; height: auto; aspect-ratio: 3217 / 649; }
.rodape-colunas { display: grid; gap: 22px; margin-top: 34px; }
.rodape-pag { font-size: 19px; font-weight: 600; line-height: 1.3; max-width: 28ch; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.rodape-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 19px; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.rodape-credito { margin-top: 26px; font-size: 13px; opacity: .8; max-width: 60ch; }

/* ---------- tela do produto */
.produto { position: fixed; inset: 0; z-index: 40; background: var(--cor); color: var(--tinta); overflow-y: auto; overscroll-behavior: contain; transition: background-color var(--troca), color var(--troca); -webkit-overflow-scrolling: touch; }
.produto-topo { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--borda); padding-top: max(12px, env(safe-area-inset-top)); pointer-events: none; }
.produto-topo > * { pointer-events: auto; }
.voltar { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 12px; border-radius: 999px; border: 2px solid var(--tinta); font-weight: 700; background: var(--cor); transition: background-color var(--troca), border-color var(--troca); }
.voltar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.produto .topo-sacola { background: var(--cor); transition: background-color var(--troca), border-color var(--troca); }
.produto-palco { position: relative; height: clamp(250px, 38svh, 360px); margin-top: -18px; }
.produto-palco { overflow: hidden; }
.produto-letra { position: absolute; left: var(--borda); right: var(--borda); top: 12%; text-align: center; font-weight: 800; letter-spacing: -.05em; line-height: .8; font-size: min(30vw, calc((100vw - 2 * var(--borda)) / (var(--m) * .56))); opacity: .16; user-select: none; pointer-events: none; text-wrap: balance; }
.produto-palco img { position: absolute; left: 2%; top: 50%; width: 96%; height: auto; transform: translateY(-46%) rotate(-3deg); transition: opacity .3s; filter: drop-shadow(0 24px 20px rgba(0, 0, 0, .2)); -webkit-user-drag: none; }
.produto-palco img.corte { left: 0; width: 118%; max-width: none; transform: translateY(-46%); }
.produto-palco img.trocando, .produto-palco.em-3d img, .produto-palco.em-3d .produto-letra { opacity: 0; }
.produto-3d-area { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s; }
.produto-palco.em-3d .produto-3d-area { opacity: 1; pointer-events: auto; }
.produto-3d-pe { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: grid; justify-items: center; gap: 4px; padding: 0 var(--borda); pointer-events: none; }
.produto-3d-pe > * { pointer-events: auto; }
.produto-3d-nota { font-size: 14px; font-weight: 600; text-align: center; }
.pilula { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--tinta); font-weight: 700; font-size: 15px; background: var(--cor); transition: background-color var(--troca), border-color var(--troca); }
.pilula[disabled] { opacity: .6; }
.produto-medidas { font-size: 16px; margin-top: 14px; }
.produto-medidas a { font-weight: 700; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.produto-ficha { background: var(--papel); color: var(--preto); border-radius: var(--raio) var(--raio) 0 0; margin: 10px 10px 0; padding: 26px 18px calc(34px + env(safe-area-inset-bottom)); min-height: 50svh; --anel-fundo: var(--papel); --anel: var(--preto); }
.produto-formato { font-weight: 600; color: var(--cinza); font-size: 16px; }
.produto-nome { font-size: clamp(52px, 15vw, 92px); font-weight: 800; letter-spacing: -.055em; line-height: .86; margin: 4px 0 14px; }
.produto-cor { font-weight: 600; margin-bottom: 2px; }
.produto-cor b { font-weight: 800; }
.produto-precos { margin: 18px 0 20px; padding: 18px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); display: grid; gap: 4px; }
.produto-pix { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.produto-pix small { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.produto-parc { color: #4A433B; font-size: 16px; }
.produto-acoes { display: grid; gap: 10px; }
.produto-frete { font-size: 15px; color: #4A433B; margin-top: 12px; }
.produto-desc { font-size: 18px; line-height: 1.4; margin: 26px 0 0; max-width: 46ch; }
.produto h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 30px 0 10px; }
.ficha { font-family: var(--mono); font-size: 14.5px; }
.ficha div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--linha); }
.ficha div:last-child { border-bottom: 1px solid var(--linha); }
.ficha dt { color: #4A433B; }
.ficha dd { text-align: right; font-weight: 500; }
.acompanha { display: grid; gap: 8px; }
.acompanha li { padding-left: 18px; position: relative; }
.produto-fim { margin-top: 34px; }
.acompanha li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--preto); }

/* ---------- sacola */
.veu { position: fixed; inset: 0; z-index: 50; background: rgba(23, 19, 15, .5); }
.sacola { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--papel); color: var(--preto); display: flex; flex-direction: column; border-radius: var(--raio) 0 0 var(--raio); animation: entra .32s cubic-bezier(.2, .7, .2, 1); --anel-fundo: var(--papel); --anel: var(--preto); }
@keyframes entra { from { transform: translateX(40px); opacity: 0; } }
.sacola-topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 10px 22px; padding-top: max(18px, env(safe-area-inset-top)); }
.sacola-topo h2 { font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.fechar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--preto); }
.sacola-corpo { flex: 1; overflow-y: auto; padding: 8px 22px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overscroll-behavior: contain; }
.sacola-vazia { margin: 26px 0; font-size: 19px; }
.sacola-vazia p { margin-bottom: 20px; max-width: 24ch; }
.itens { display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: center; }
.item-foto { border-radius: 18px; background: var(--c); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 6px; overflow: hidden; }
.item-foto img { width: 100%; height: auto; transform: rotate(-4deg); }
.item-foto img.corte { width: 130%; max-width: none; justify-self: start; margin-left: -6px; transform: none; }
.item-nome { font-weight: 800; font-size: 21px; letter-spacing: -.03em; line-height: 1.05; }
.item-cor { font-size: 15px; color: #4A433B; }
.item-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.qtd { display: inline-flex; align-items: center; border: 2px solid var(--preto); border-radius: 999px; }
.qtd button { width: 44px; height: 44px; font-size: 22px; font-weight: 700; line-height: 1; border-radius: 50%; }
.qtd output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.item-preco { font-weight: 700; white-space: nowrap; }
.remover { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; color: #4A433B; }
.frete-barra { margin: 22px 0 6px; }
.frete-barra p { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.trilho { height: 10px; border-radius: 999px; background: rgba(23, 19, 15, .12); overflow: hidden; }
.trilho i { display: block; height: 100%; border-radius: 999px; background: var(--preto); transition: width .4s; }
.sacola-pe { margin-top: auto; padding-top: 18px; display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.total b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.total-nota { font-size: 14.5px; color: #4A433B; margin-top: -8px; }
.passo { font-weight: 700; font-size: 15px; color: #4A433B; margin-bottom: 2px; }
.passos-titulo { font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 16px; }
.campos { display: grid; gap: 12px; }
.campo { display: grid; gap: 5px; font-weight: 600; font-size: 15px; }
.campo input { min-height: 52px; border-radius: 14px; border: 2px solid rgba(23, 19, 15, .28); background: #fff; padding: 0 14px; font-size: 17px; font-weight: 500; width: 100%; }
.campo input:focus { border-color: var(--preto); outline: none; }
.campo-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcoes { display: grid; gap: 10px; }
.opcao { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 15px 16px; border-radius: 18px; border: 2px solid rgba(23, 19, 15, .28); cursor: pointer; min-height: 64px; }
.opcao:has(input:checked) { border-color: var(--preto); background: #fff; }
.opcao:has(input:focus-visible) { outline: 3px solid var(--preto); outline-offset: 2px; }
.opcao input { width: 22px; height: 22px; accent-color: var(--preto); margin: 0; }
.opcao b { display: block; font-size: 18px; letter-spacing: -.02em; }
.opcao small { font-size: 14.5px; color: #4A433B; }
.opcao em { font-style: normal; font-weight: 800; white-space: nowrap; }
.resumo { font-size: 15px; color: #4A433B; }
.pe-botoes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.pe-botoes .botao { padding: 0 20px; }
.sacola-corpo form { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sacola-corpo { overflow-x: hidden; }
.erro { color: #A3200F; font-weight: 600; font-size: 15px; min-height: 1.2em; }
.pronto-msg { font-size: 19px; margin: 18px 0; max-width: 26ch; }

/* ---------- telas maiores */
@media (min-width: 620px) {
  .grade { grid-template-columns: 1fr 1fr; }
  .capa-botoes .botao { flex: none; padding: 0 30px; }
}
/* tablet em pé: nome numa linha só (não cobre o óculos) e palco alto */
@media (min-width: 620px) and (max-width: 959.98px) {
  :root { --borda: 28px; }
  .capa-nome { white-space: nowrap; line-height: .8; font-size: min(30vw, calc((100vw - 2 * var(--borda)) / (var(--n) * .53))); }
  .capa-palco { min-height: 46svh; margin-top: clamp(90px, 13svh, 150px); }
  .capa-linha { font-size: 38px; }
  .capa-preco strong { font-size: 36px; }
  .capa-preco span { font-size: 17px; }
  .folha { margin: 0 14px; padding: 54px 26px 28px; }
  .verao { padding: 84px var(--borda) 76px; gap: 16px; }
  .verao-texto p { font-size: 24px; max-width: 30ch; }
  .garantias { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .produto-palco { height: clamp(340px, 44svh, 480px); }
  .capa-palco { --lado: 56%; --esc: .44; }
  .capa-peca img { width: 84%; }
  .capa-pecas { inset: -6% 0 6%; }
  .experiencia { padding: 54px 26px 28px; }
  .produto-ficha { padding: 34px 30px calc(40px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) {
  :root { --borda: 40px; --raio: 44px; }
  body { font-size: 18px; }
  .topo { padding-top: 22px; }
  .marca { gap: 13px; }
  .marca-simbolo { height: 44px; }
  .marca-nome { height: 25px; }
  .topo-nav { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .topo > .topo-sacola { top: 22px; }
  .capa { padding: 100px var(--borda) 38px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: end; min-height: max(100svh, 640px); }
  .capa-nome { top: 84px; white-space: nowrap; line-height: .78; font-size: min(46svh, calc((100vw - 2 * var(--borda)) / (var(--n) * .53))); }
  .capa-palco { position: absolute; inset: 16svh 0 15svh; height: auto; min-height: 0; margin: 0; --lado: 39%; --sobe: -20%; --esc: .44; --gira: -4deg; }
  .capa-peca img { width: 56%; }
  .capa-pecas { inset: 0; }
  .capa-formato { font-size: 16px; }
  .capa-info { grid-row: 2; grid-column: 1; margin: 0; pointer-events: none; }
  .capa-linha { max-width: none; display: block; min-height: 0; }
  .capa-formato { margin-left: 8px; }
  .capa-info > * { pointer-events: auto; width: fit-content; }
  .capa-linha { font-size: 40px; }
  .capa-preco strong { font-size: 38px; }
  .capa-preco span { font-size: 17px; }
  .capa-nav { grid-row: 2; grid-column: 2; margin: 0; gap: 14px; }
  .capa-nav .seta { width: 60px; height: 60px; }
  .capa-conta { font-size: 18px; min-width: 56px; }
  .capa-dica { display: none; }

  .folha { margin: 0 20px; padding: 70px 40px 40px; }
  .colecao-cabeca { flex-direction: row; align-items: end; justify-content: space-between; }
  .colecao-nota { text-align: right; font-size: 18px; max-width: none; padding-bottom: 10px; }
  .filtros { margin: 34px 0 26px; padding: 2px; overflow: visible; flex-wrap: wrap; }
  .grade { grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: dense; }
  .cartao { border-radius: 34px; }
  .cartao-foto img.corte { width: calc(100% + 26px); margin-left: -26px; }
  .cartao-link { padding: 22px 26px 0; }
  .cartao-pe { padding: 6px 26px 18px; }
  .cartao-nome { font-size: 32px; }

  .experiencia { margin-top: 20px; padding: 60px 40px 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; gap: 26px 48px; align-items: start; }
  .exp-texto { grid-column: 1; grid-row: 1; }
  .exp-controles { grid-column: 1; grid-row: 2; align-self: end; }
  .exp-palco { grid-column: 2; grid-row: 1 / 3; border-radius: 34px; aspect-ratio: auto; height: 100%; min-height: 520px; }
  .exp-intro { font-size: 19px; }
  .exp-acoes .botao { flex: none; }
  .verao { padding: 120px var(--borda) 110px; grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .verao-texto { grid-column: 1 / 5; grid-row: 1; align-self: start; }
  .verao-texto p { font-size: 24px; }
  .foto { border-radius: 36px; }
  .foto-a { grid-column: 5 / 10; grid-row: 1 / 3; }
  .foto-b { grid-column: 10 / 13; grid-row: 1; margin-top: 90px; }
  .foto-c { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 4 / 5; }
  .foto-d { grid-column: 1 / 5; grid-row: 2; align-self: end; }

  .confianca { padding: 70px 40px 30px; }
  .garantias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; margin-top: 50px; }
  .garantias div { padding: 26px 0 30px; align-content: start; gap: 10px; }
  .garantias dt { font-size: 44px; }

  .rodape { padding: 90px var(--borda) 40px; }
  .rodape-colunas { grid-template-columns: 1fr auto; align-items: end; margin-top: 50px; }
  .rodape-pag { font-size: 24px; }

  .produto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(400px, 520px); grid-template-rows: auto 1fr; overflow: hidden; }
  .produto-topo { grid-column: 1; grid-row: 1; padding: 22px 26px 0 var(--borda); }
  .produto-palco { grid-column: 1; grid-row: 1 / 3; height: 100svh; margin: 0; }
  .produto-palco img { left: 6%; width: 88%; }
  .produto-palco img.corte { left: 0; width: 104%; }
  .produto-letra { top: 15%; font-size: min(24vw, calc(52vw / (var(--m) * .56))); }
  .produto-3d-pe { bottom: 30px; }
  .pilula { font-size: 16px; min-height: 48px; padding: 0 22px; }
  .produto-ficha { grid-column: 2; grid-row: 1 / 3; margin: 16px 16px 16px 0; border-radius: var(--raio); padding: 44px 40px 40px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
  .produto-nome { font-size: clamp(64px, 6.4vw, 104px); }
  .sacola { margin: 12px; border-radius: 36px; bottom: 0; height: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .capa-peca[data-pos="0"] img { animation: none; }
}

/* provador: chamada na coleção e aviso rápido (o resto do provador fica em provador.css, carregado só no toque) */
.colecao-prova { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--cinza); font-size: 16px; }
.colecao-prova[hidden] { display: none; }
.colecao-prova .pilula { background: var(--preto); color: var(--papel); border-color: var(--preto); }
.aviso { position: fixed; z-index: 95; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(92vw, 420px); margin: 0; padding: 12px 20px; border-radius: 999px; background: var(--preto); color: var(--papel); font-weight: 600; font-size: 15px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }

/* entrega por cidade (24/11) */
.frete-info { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: rgba(23, 19, 15, .06); font-size: 15px; line-height: 1.35; }
.rodape-loja { font-style: normal; font-size: 15px; line-height: 1.5; opacity: .85; max-width: 46ch; }
.rodape-loja b { font-weight: 700; margin-right: 4px; }

/* Pix no site (24/11) */
.pix-tela { display: grid; gap: 14px; }
.pix-valor { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pix-qr { width: min(240px, 70vw); aspect-ratio: 1; justify-self: center; background: #fff; border-radius: 18px; padding: 10px; }
.pix-qr svg { width: 100%; height: 100%; display: block; }
.pix-tela textarea { width: 100%; font: 13px/1.35 var(--mono); border: 2px solid var(--linha); border-radius: 14px; padding: 10px; resize: none; background: #fff; color: var(--preto); word-break: break-all; }
.pix-espera { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.pix-ponto { width: 12px; height: 12px; border-radius: 50%; background: #0B6E55; flex: none; animation: pisca 1.2s ease-in-out infinite; }
@keyframes pisca { 50% { opacity: .25; } }
.pix-ok { display: grid; gap: 16px; justify-items: center; text-align: center; }
.pix-check { width: 72px; height: 72px; border-radius: 50%; background: #0B6E55; color: #fff; display: grid; place-items: center; font-size: 40px; font-weight: 800; margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .pix-ponto { animation: none; } }
