/* Master Garb · prévia · conceito "Ateliê": marfim quente, preto café e o dourado da logo só nos detalhes.
   Títulos em Cormorant Garamond, texto em Jost. Assinatura: o pesponto dourado (linha tracejada de costura) e a
   etiqueta "Nº" costurada em cada peça. Movimento leve: só as fotos aparecendo ao rolar. */
[hidden] { display: none !important; }
:root {
  --papel: #F7F3EE; --linho: #EBE7E4; --cafe: #211A16; --cafe-2: #4A3F38; --cafe-3: #6E625A;
  --noite: #211A16; --dia: #F7F3EE;   /* fixas: o que é escuro sempre (preto, final, rodapé) não muda no modo preto */
  --linha: rgba(33, 26, 22, .2);
  --ouro: #A68E47;          /* o dourado da logo: detalhes, linhas e texto grande no escuro */
  --ouro-texto: #8F7638;    /* dourado para título grande no claro (contraste 3,9:1) */
  --ouro-escuro: #7D6A30;   /* dourado para letra pequena no claro (contraste 4,7:1) */
  --ouro-claro: #C9B27A;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --pad: 20px; --larg: 1184px;
  --pesponto: repeating-linear-gradient(90deg, var(--ouro) 0 6px, transparent 6px 11px);
}
*, *::before, *::after { box-sizing: border-box; }
/* modo preto: quando o Blazer alfaiataria está no meio da tela (ou a ficha dele está aberta), o site inteiro escurece.
   As cores são variáveis registradas: o navegador anima a troca (sem @property, troca na hora). */
@property --papel { syntax: '<color>'; inherits: true; initial-value: #F7F3EE; }
@property --linho { syntax: '<color>'; inherits: true; initial-value: #EBE7E4; }
@property --cafe { syntax: '<color>'; inherits: true; initial-value: #211A16; }
@property --cafe-2 { syntax: '<color>'; inherits: true; initial-value: #4A3F38; }
@property --cafe-3 { syntax: '<color>'; inherits: true; initial-value: #6E625A; }
@property --ouro-escuro { syntax: '<color>'; inherits: true; initial-value: #7D6A30; }
@property --ouro-texto { syntax: '<color>'; inherits: true; initial-value: #8F7638; }
@property --linha { syntax: '<color>'; inherits: true; initial-value: rgba(33, 26, 22, .2); }
html { transition: --papel 1s ease, --linho 1s ease, --cafe 1s ease, --cafe-2 1s ease, --cafe-3 1s ease, --ouro-escuro 1s ease, --ouro-texto 1s ease, --linha 1s ease; }
html.modo-preto { --papel: #211A16; --linho: #2B231E; --cafe: #F3EEE7; --cafe-2: #D9D1C7; --cafe-3: #ADA297; --ouro-escuro: #C9B27A; --ouro-texto: #C9B27A; --linha: rgba(243, 238, 231, .22); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.ficha-aberta { overflow: hidden; }
body { margin: 0; background: var(--papel); color: var(--cafe); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { text-wrap: balance; }
p, dd { text-wrap: pretty; }  /* sem palavra sozinha na última linha */
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
.cx { width: min(calc(100% - 2 * var(--pad)), var(--larg)); margin-inline: auto; }
@media (min-width: 700px) { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

/* faixa da prévia */
.strip { background: var(--noite); color: var(--ouro-claro); font: 500 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 9px 12px; }

/* logo (máscara: o site pinta na cor que quiser) */
.mono, .nome-logo { display: block; background: var(--ouro); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.mono { height: 38px; aspect-ratio: 485 / 550; -webkit-mask-image: url(../marca/mg-monograma.png); mask-image: url(../marca/mg-monograma.png); }
.nome-logo { height: 15px; aspect-ratio: 780 / 126; -webkit-mask-image: url(../marca/mg-nome.png); mask-image: url(../marca/mg-nome.png); }

/* topo */
.topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.marca { display: flex; align-items: center; gap: 12px; }
.topo-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--linha); font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: border-color .25s; }
.topo-wa svg { font-size: 17px; color: var(--ouro-escuro); }
.topo-wa:hover { border-color: var(--cafe); }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.topo-ig { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--linha); font-size: 18px; color: var(--ouro-escuro); transition: border-color .25s; }
.topo-ig:hover { border-color: var(--cafe); }
@media (min-width: 520px) { .topo-ig { display: grid; } }

/* textos de apoio */
.kicker { display: flex; align-items: center; gap: 12px; font: 500 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-escuro); margin: 0 0 16px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--pesponto); flex: none; }
.sec-cab { text-align: center; margin-bottom: 30px; }
.sec-cab .kicker { justify-content: center; }
.sec-cab .kicker::after { content: ""; width: 34px; height: 1px; background: var(--pesponto); flex: none; }
.sec-cab h2 { font: 500 clamp(44px, 12vw, 80px)/.98 var(--serif); margin: 0; letter-spacing: -.005em; }
.sec-cab p:last-child { color: var(--cafe-3); margin: 14px auto 0; max-width: 34ch; }

/* botões */
.botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; font: 500 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; border-radius: 1px; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn svg { font-size: 18px; }
.btn-cheio { background: var(--cafe); color: var(--papel); }
.btn-cheio svg { color: var(--ouro-claro); }
.btn-cheio:hover { background: #3B3029; }
.btn-linha { border: 1px solid rgba(33, 26, 22, .3); border-color: color-mix(in srgb, var(--cafe) 30%, transparent); }
.btn-linha svg { color: var(--ouro-escuro); }
.btn-linha:hover { border-color: var(--cafe); }
.btn-ouro { background: var(--ouro); color: var(--noite); }
.btn-ouro:hover { background: #B89F57; }
.btn-linha-clara { border: 1px solid rgba(247, 243, 238, .34); color: var(--dia); }
.btn-linha-clara svg { color: var(--ouro-claro); }
.btn-linha-clara:hover { border-color: var(--dia); }

/* abertura */
.abertura { display: grid; gap: 34px; padding-top: 14px; }
.abertura h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 17vw, 80px); line-height: .9; letter-spacing: -.012em; margin: 0; }
.abertura h1 span { display: block; }
/* a segunda linha entra meio caractere: a perna do "g" desce 0,28 e o "l" sobe 0,73, então alinhadas elas se tocam */
.abertura h1 em { display: block; font-style: italic; font-weight: 400; color: var(--ouro-texto); padding: 0 0 .06em .5em; }
.ab-sub { font-size: 16.5px; color: var(--cafe-2); max-width: 30ch; margin: 22px 0 26px; }
.ab-txt .botoes .btn { flex: 1 1 auto; }
/* moldura: a foto fica no centro do quadro dourado, com a mesma folga nos 4 lados (o quadro encosta na margem do texto) */
.ab-foto { margin: 10px 10px 0; }
.moldura { position: relative; display: block; isolation: isolate; }
.moldura img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--linho); }
.moldura::before { content: ""; position: absolute; inset: -10px; border: 1px solid var(--ouro); z-index: -1; pointer-events: none; }
.ab-foto figcaption { margin: 24px -10px 0; font-size: 13px; color: var(--cafe-3); }
.ab-foto figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--cafe); border-bottom: 1px solid var(--ouro); padding-bottom: 1px; }
.ab-foto figcaption svg { color: var(--ouro-escuro); }

/* como pedir */
.como { margin-top: 60px; }
.como ol { list-style: none; margin: 0; padding: 24px 0; display: grid; gap: 20px; position: relative; }
.como ol::before, .como ol::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--pesponto); opacity: .7; }
.como ol::before { top: 0; } .como ol::after { bottom: 0; }
.como li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
.como .num { grid-row: span 2; font: italic 500 34px/.8 var(--serif); color: var(--ouro-texto); }
.como strong { font: 500 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.como li span:last-child { font-size: 15px; color: var(--cafe-3); margin-top: 4px; }

/* catálogo */
.catalogo { margin-top: 92px; }
.chips { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 238, .93); background: color-mix(in srgb, var(--papel) 93%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid rgba(33, 26, 22, .08); border-color: color-mix(in srgb, var(--cafe) 8%, transparent); }
.chips-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding-block: 8px; }
.chip { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 0 4px; font: 500 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--cafe-2); white-space: nowrap; transition: background-color .25s, color .25s; }
.chip small { display: none; font-size: 10.5px; color: var(--ouro-escuro); }
.chip.ativo { background: var(--cafe); color: var(--papel); }
.chip.ativo small { color: var(--ouro-claro); }
.chip-wa { display: none; }
@media (min-width: 520px) { .chip small { display: inline; } }

.grupo { padding-top: 50px; scroll-margin-top: 54px; }
.grupo-cab { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 24px; position: relative; }
.grupo-cab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pesponto); opacity: .8; }
.numeral { font: italic 500 22px/1 var(--serif); color: var(--ouro-texto); min-width: 1.5em; }
.grupo-cab h2 { font: 500 clamp(32px, 8.6vw, 48px)/1.04 var(--serif); margin: 0; flex: 1; min-width: 0; }
.conta { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cafe-3); white-space: nowrap; }

.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
.grade > .peca:first-child { grid-column: 1 / -1; }

/* cartão da peça */
.peca { display: flex; flex-direction: column; min-width: 0; }
.peca-foto { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--linho); }
.peca-img { position: absolute; inset: 0; overflow: hidden; }
.peca-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.peca-foto .outra { opacity: 0; }
.etiqueta { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--papel); color: var(--ouro-escuro); font: 500 10px/1 var(--sans); letter-spacing: .14em; padding: 8px 9px 7px; outline: 1px dashed rgba(166, 142, 71, .8); outline-offset: -4px; }
.peca-txt { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.peca-k { font: 500 10px/1.25 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-escuro); margin: 0; }
.peca-nome { font: 500 21px/1.06 var(--serif); }
.peca-det { font-size: 13px; line-height: 1.45; color: var(--cafe-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.peca-pe { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font: 500 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cafe-2); }
.bolinhas { display: flex; gap: 5px; }
.bolinhas i, .cor-unica i, .cores i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(33, 26, 22, .2); flex: none; }
.ver { display: inline-flex; align-items: center; gap: 6px; }
.ver svg { color: var(--ouro-escuro); font-size: 15px; transition: transform .3s; }
.grade > .peca:first-child .peca-nome { font-size: 30px; }
.grade > .peca:first-child .peca-det { font-size: 14px; }
@media (hover: hover) {
  .peca:hover .outra { opacity: 1; }
  .peca:hover .peca-foto img { transform: scale(1.03); }
  .peca:hover .ver svg { transform: translateX(4px); }
}

/* preto: destaque no escuro */
.preto { background: var(--noite); color: var(--dia); margin-top: 80px; padding: 44px 0 72px; scroll-margin-top: 50px; }
.preto .grupo-cab::after { opacity: .55; }
.preto .numeral { color: var(--ouro); }
.preto .conta { color: rgba(247, 243, 238, .62); }
.preto-in { display: grid; gap: 30px; }
.preto-foto { position: relative; display: block; }
.preto-img { display: block; overflow: hidden; }
.preto-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.preto-foto .etiqueta { background: var(--noite); color: var(--ouro-claro); outline-color: rgba(201, 178, 122, .7); }
.preto .peca-k { color: var(--ouro); }
.preto-txt h3 { font: 500 clamp(54px, 16vw, 104px)/.92 var(--serif); margin: 12px 0 16px; letter-spacing: -.01em; }
.preto-det { color: rgba(247, 243, 238, .78); font-size: 16.5px; margin: 0 0 12px; }
.preto .cor-unica { color: rgba(247, 243, 238, .78); }
.preto .cor-unica i { box-shadow: inset 0 0 0 1px rgba(247, 243, 238, .45); }
.preto .botoes { margin-top: 28px; }
.preto .botoes .btn { flex: 1 1 auto; }
@media (hover: hover) { .preto-foto:hover img { transform: scale(1.03); } }

/* no detalhe */
.detalhes { padding: 84px 0 92px; }
.det-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
.det-lista a { display: block; text-align: center; }
.lupa { display: block; margin: 7px; border-radius: 50%; overflow: hidden; outline: 1px solid var(--ouro); outline-offset: 6px; background: var(--linho); }
.lupa img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.leg strong { display: block; margin-top: 16px; font: 500 19px/1.12 var(--serif); }
.leg small { display: block; margin-top: 7px; font: 500 10px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-escuro); }
@media (hover: hover) { .det-lista a:hover .lupa img { transform: scale(1.06); } }

/* a loja: frase da bio do Instagram + endereço, horário, envio e Instagram */
.loja { --ouro-escuro: #6F5E2A; background: var(--linho); padding: 76px 0 84px; }  /* dourado mais escuro: fundo linho */
.loja-in { display: grid; gap: 42px; }
.loja h2 { font: italic 400 clamp(31px, 8vw, 54px)/1.12 var(--serif); margin: 0; max-width: 21ch; }
.aspas { display: block; height: .5em; font: 500 2.3em/1 var(--serif); color: var(--ouro); margin-left: -.04em; }
.loja-dados { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.loja-dados > div { position: relative; padding-top: 14px; min-width: 0; }
.loja-dados > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--pesponto); opacity: .75; }
.loja-dados .ld-larga { grid-column: 1 / -1; }
.loja-dados dt { font: 500 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-escuro); margin-bottom: 8px; }
.loja-dados dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--cafe-2); }
.loja-dados a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--cafe); border-bottom: 1px solid var(--ouro); padding-bottom: 1px; }
.loja-dados dd > a:first-child { margin-top: 0; }
.loja-dados a svg { color: var(--ouro-escuro); }
@media (min-width: 520px) { .loja-dados .ld-larga { grid-column: auto; } }

/* final e rodapé */
.final { background: var(--noite); color: var(--dia); text-align: center; padding: 80px var(--pad) 60px; }
.final .mono { height: 76px; margin: 0 auto 28px; }
.final h2 { font: 500 clamp(36px, 9.6vw, 64px)/1.02 var(--serif); margin: 0 auto; max-width: 15ch; }
.final p { color: rgba(247, 243, 238, .72); margin: 16px 0 30px; }
.final .botoes { justify-content: center; max-width: 620px; margin: 0 auto; }
.final .botoes .btn { flex: 1 1 auto; }
.final-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px; color: rgba(247, 243, 238, .78); border-bottom: 1px solid rgba(166, 142, 71, .6); padding-bottom: 2px; }
.final-ig svg { font-size: 17px; color: var(--ouro); }
.final-ig:hover { color: var(--dia); }
.rodape { background: var(--noite); color: rgba(247, 243, 238, .62); text-align: center; padding: 30px var(--pad) 40px; border-top: 1px solid rgba(247, 243, 238, .1); font-size: 13.5px; }
.rodape .nome-logo { height: 18px; margin: 0 auto 16px; }
.rodape p { margin: 6px 0; }
.rodape a { color: var(--dia); border-bottom: 1px solid rgba(166, 142, 71, .7); }
.credito { font-size: 12px; color: rgba(247, 243, 238, .45); }

/* aparecer ao rolar (sem o JS, ou se ele falhar, tudo aparece sozinho em 3 s) */
.js [data-revela] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js [data-revela].vis { opacity: 1; transform: none; }
.js:not(.pronto) [data-revela] { animation: socorro 0s 3s forwards; }
@keyframes socorro { to { opacity: 1; transform: none; } }

/* ficha da peça */
.ficha { padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; max-height: 100dvh; background: var(--papel); color: var(--cafe); overflow: hidden; }
.ficha::backdrop { background: rgba(20, 15, 12, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ficha[open] { animation: entra .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes entra { from { opacity: 0; transform: translateY(26px); } }
.ficha-cx { height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.ficha-barra { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 4px var(--pad); background: rgba(247, 243, 238, .95); background: color-mix(in srgb, var(--papel) 95%, transparent); }
.ficha-n { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; color: var(--ouro-escuro); padding: 8px 9px 7px; outline: 1px dashed rgba(166, 142, 71, .8); outline-offset: -4px; }
.ficha-x { width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px; }
.ficha-fotos { position: relative; flex: none; }
/* no celular a foto fica em até 60% da tela, para o nome da peça aparecer sem rolar */
.trilho { display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 2 / 3; max-height: 60vh; max-height: 60dvh; background: var(--linho); overscroll-behavior-x: contain; outline-offset: -3px; }
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrastando { scroll-snap-type: none; cursor: grabbing; }
.sl { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.sl img { width: 100%; height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.contador { position: absolute; left: 12px; bottom: 12px; background: rgba(247, 243, 238, .92); background: color-mix(in srgb, var(--papel) 92%, transparent); font: 500 10.5px/1 var(--sans); letter-spacing: .14em; padding: 7px 9px; pointer-events: none; }
.seta { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; width: 38px; height: 38px; background: rgba(247, 243, 238, .88); background: color-mix(in srgb, var(--papel) 88%, transparent); font-size: 18px; transition: opacity .2s; }
.seta.esq { left: 8px; } .seta.dir { right: 8px; }
.seta[disabled] { opacity: 0; pointer-events: none; }
.minis { display: none; gap: 8px; padding: 12px var(--pad) 0; overflow-x: auto; scrollbar-width: none; flex: none; }
.mini { flex: none; width: 50px; aspect-ratio: 2 / 3; opacity: .5; outline: 1px solid transparent; outline-offset: 3px; transition: opacity .2s, outline-color .2s; margin: 4px 2px; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini.ativa { opacity: 1; outline-color: var(--ouro); }
.ficha-txt { padding: 18px var(--pad) 10px; }
.ficha-txt h2 { font: 500 36px/1 var(--serif); margin: 10px 0 12px; }
.ficha-det { color: var(--cafe-2); margin: 0 0 18px; }
.cores { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.cores legend { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cafe-3); margin-bottom: 10px; padding: 0; }
#cores-op { display: flex; flex-wrap: wrap; gap: 8px; }
.cores label { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--linha); font-size: 14.5px; cursor: pointer; transition: border-color .2s; }
.cores label.on { border-color: var(--cafe); box-shadow: inset 0 0 0 1px var(--cafe); }
.cores input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cores label:has(input:focus-visible) { outline: 2px solid var(--ouro); outline-offset: 2px; }
.cor-unica { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--cafe-2); margin: 0 0 18px; }
.ficha-nota { font-size: 13.5px; color: var(--cafe-3); margin: 0 0 18px; }
.ficha-nav { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0 14px; margin: 0 var(--pad); position: relative; }
.ficha-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--pesponto); opacity: .6; }
.ficha-nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cafe-2); }
.ficha-nav svg { font-size: 16px; color: var(--ouro-escuro); }
.ficha-pe { position: sticky; bottom: 0; z-index: 3; margin-top: auto; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(247, 243, 238, .96); background: color-mix(in srgb, var(--papel) 96%, transparent); border-top: 1px solid rgba(33, 26, 22, .08); border-color: color-mix(in srgb, var(--cafe) 8%, transparent); }
.btn-wa { width: 100%; background: var(--cafe); color: var(--papel); min-height: 54px; }
.btn-wa svg { color: var(--ouro-claro); }
.btn-wa:hover { background: #3B3029; }
/* ficha do Blazer alfaiataria: preta, com o botão dourado; o fundo atrás quase some */
.modo-preto .btn-wa { background: var(--ouro); color: var(--noite); }
.modo-preto .btn-wa svg { color: var(--noite); }
.modo-preto .btn-wa:hover { background: #B89F57; }
.ficha.escura::backdrop { background: rgba(10, 8, 6, .9); }

/* tablet */
@media (min-width: 700px) {
  .grade { gap: 44px 22px; }
  .det-lista { gap: 36px 28px; }
  .preto-in { gap: 36px; }
}

/* computador */
@media (min-width: 900px) {
  .topo { padding-block: 22px; }
  .mono { height: 44px; }
  .nome-logo { height: 17px; }
  .abertura { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 72px; padding-top: 18px; }
  .abertura h1 { font-size: clamp(84px, 8.6vw, 128px); }
  .ab-sub { font-size: 18px; margin: 28px 0 34px; }
  .ab-txt .botoes .btn { flex: 0 0 auto; }
  .ab-foto { max-width: 460px; width: calc(100% - 20px); justify-self: end; margin: 10px; }
  .como { margin-top: 80px; }
  .como ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 28px 0; }
  .chips-in { display: flex; align-items: center; gap: 6px; padding-block: 10px; }
  .chip { padding: 0 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .chip-wa { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 40px; height: 38px; font-size: 18px; color: var(--ouro-escuro); }
  .preto-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 80px; }
  .preto .botoes .btn { flex: 0 0 auto; }
  .det-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loja { padding: 104px 0 108px; }
  .loja-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
  .loja h2 { max-width: 26ch; }
  .loja-dados { gap: 34px 32px; }
  .final { padding: 104px var(--pad) 80px; }
  .final .botoes .btn { flex: 0 0 auto; }

  .ficha { --fh: min(820px, 92vh); width: min(1080px, 94vw); height: var(--fh); max-height: var(--fh); margin: auto; }
  .ficha-cx { display: grid; grid-template-columns: calc((var(--fh) - 100px) * 2 / 3) minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr) auto; grid-template-areas: "fotos barra" "fotos txt" "fotos pe" "fotos ." "minis nav"; overflow: hidden; }
  .ficha-fotos { grid-area: fotos; min-height: 0; }
  .trilho { height: 100%; max-height: none; aspect-ratio: auto; cursor: grab; }
  .minis { display: flex; grid-area: minis; padding: 10px 0 12px; justify-content: center; height: 100px; }
  .mini { width: 48px; }
  .ficha-barra { grid-area: barra; padding: 18px 18px 0 44px; background: none; }
  .ficha-txt { grid-area: txt; padding: 18px 44px 4px; }
  .ficha-txt h2 { font-size: 50px; }
  .ficha-pe { grid-area: pe; position: static; padding: 6px 44px 0; border-top: 0; background: none; }
  .ficha-pe .btn-wa { width: auto; padding: 0 36px; }
  .ficha-nav { grid-area: nav; margin: 0 44px; padding: 14px 0 0; align-self: center; }
  .seta { width: 46px; height: 46px; font-size: 20px; background: rgba(247, 243, 238, .92); background: color-mix(in srgb, var(--papel) 92%, transparent); }
  .seta.esq { left: 14px; } .seta.dir { right: 14px; }
}
@media (min-width: 1100px) {
  .grupo-5 .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; }
  .grupo-5 .peca:first-child { grid-column: span 2; grid-row: span 2; }
  .grupo-5 .peca:first-child .peca-foto { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .grupo-5 .peca:first-child .peca-nome { font-size: 36px; }
  .grupo-3 .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 24px; }
  .grupo-3 .peca:first-child { grid-column: auto; }
  .grupo-3 .peca:first-child .peca-nome { font-size: 25px; }
  .grupo-3 .peca:first-child .peca-det { font-size: 13px; }
  .peca-nome { font-size: 25px; }
}

/* água nos botões (ideia do "Waterline" refeita aqui, sem biblioteca): um brilho que segue o dedo ou o mouse e uma gota
   com duas ondas no toque */
.liquido { overflow: hidden; isolation: isolate; --brilho: rgba(166, 142, 71, .22); --onda: rgba(166, 142, 71, .95); --onda-luz: rgba(201, 178, 122, .5); }
.btn, .topo-wa, .topo-ig, .chip, .chip-wa, .final-ig, .ficha-x, .ficha-nav button { position: relative; }
.liquido::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle 64px at var(--x, 50%) var(--y, 50%), var(--brilho), transparent 72%); }
.liquido.tocando::after { opacity: 1; }
@media (hover: hover) { .liquido:hover::after { opacity: 1; } }
.btn-cheio, .btn-wa, .chip.ativo { --brilho: rgba(247, 243, 238, .22); --onda: rgba(247, 243, 238, .95); --onda-luz: rgba(247, 243, 238, .4); }
.btn-ouro, .modo-preto .btn-wa { --brilho: rgba(255, 250, 235, .42); --onda: rgba(255, 252, 240, .95); --onda-luz: rgba(255, 250, 235, .45); }
.btn-linha-clara, .final-ig { --brilho: rgba(201, 178, 122, .22); --onda: rgba(201, 178, 122, .85); --onda-luz: rgba(201, 178, 122, .35); }
.onda { position: absolute; z-index: -1; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); pointer-events: none; }
.onda::before, .onda::after, .onda i { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.onda::before { background: radial-gradient(circle, var(--onda-luz) 0, transparent 62%); animation: gota .8s cubic-bezier(.2, .7, .2, 1) both; }
.onda::after, .onda i { border: 2px solid var(--onda); box-shadow: 0 0 14px var(--onda-luz), inset 0 0 12px var(--onda-luz); animation: anel 1s cubic-bezier(.15, .7, .25, 1) both; }
.onda i { animation-delay: .14s; }
@keyframes gota { from { transform: scale(.08); opacity: 1; } to { transform: scale(.55); opacity: 0; } }
@keyframes anel { from { transform: scale(.04); opacity: .95; } to { transform: scale(1); opacity: 0; } }

/* brilho dourado nas peças (ideia do "spotlight card" refeita nas cores da Master Garb): a borda de cada foto de roupa
   acende onde o mouse ou o dedo passa, a luz escorre de leve para dentro e esquenta o tecido. --lx/--ly vêm do JS. */
@property --forca { syntax: '<number>'; inherits: true; initial-value: 0; }
.luz { --lx: -9999px; --ly: -9999px; --raio: 220px; --forca: 0; transition: --forca .6s ease; }
@media (pointer: coarse) { .luz { --raio: 170px; } }
.luz-borda, .luz-halo, .luz-pano { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; }
.luz-borda, .luz-borda::after, .luz-halo::before {
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.luz-borda { padding: 2px; background: radial-gradient(var(--raio) circle at calc(var(--lx) + var(--ox, 0px)) calc(var(--ly) + var(--ox, 0px)),
  hsl(43 82% 56% / var(--forca)), hsl(42 68% 46% / calc(var(--forca) * .5)) 40%, transparent 70%); }
.luz-borda::after { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit;
  background: radial-gradient(calc(var(--raio) * .4) circle at calc(var(--lx) + var(--ox, 0px)) calc(var(--ly) + var(--ox, 0px)),
  hsl(47 100% 82% / var(--forca)), transparent 72%); }
.luz-halo { filter: blur(10px); }
.luz-halo::before { content: ""; position: absolute; inset: 0; padding: 6px; border-radius: inherit;
  background: radial-gradient(var(--raio) circle at calc(var(--lx) + var(--ox, 0px)) calc(var(--ly) + var(--ox, 0px)),
  hsl(44 88% 55% / calc(var(--forca) * .95)), transparent 64%); }
.luz-pano { mix-blend-mode: soft-light;
  background: radial-gradient(calc(var(--raio) * .7) circle at var(--lx) var(--ly), hsl(44 85% 86% / calc(var(--forca) * .4)), transparent 72%); }
.moldura .luz-borda, .moldura .luz-halo { inset: -10px; --ox: 10px; }   /* na abertura quem acende é o quadro dourado em volta da foto */
.moldura .luz-pano { z-index: 0; }
.modo-preto .cor-unica i, .modo-preto .bolinhas i { box-shadow: inset 0 0 0 1px rgba(243, 238, 231, .45); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-revela] { opacity: 1; transform: none; }
}
