/* TRAMA — lane "fanzine de oficina": papel cru, tinta preta, um vermelho-tomate de sinal. */
:root {
  --paper: oklch(0.955 0.014 85);      /* #F3EEE4 */
  --paper-2: oklch(0.915 0.02 82);     /* #E8E0D0 */
  --ink: oklch(0.21 0.008 70);         /* #1C1B19 */
  --ink-2: oklch(0.42 0.01 70);        /* #57534D — 7.4:1 sobre --paper */
  --line: oklch(0.21 0.008 70 / 0.16);
  --accent: oklch(0.55 0.185 35);      /* #C2401F — branco sobre ele 4.9:1 */
  --accent-ink: oklch(0.47 0.17 35);   /* texto em tomate sobre papel, 5.6:1 */
  --ok: oklch(0.5 0.11 150);
  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 4px;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1320px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- barra de anúncio (marquee) ---------- */
.anuncio { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; }
.anuncio div { display: inline-flex; gap: 48px; padding: 9px 0; animation: corre 32s linear infinite; }
.anuncio span::after { content: '✳'; margin-left: 48px; color: var(--accent); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- topo ---------- */
header.topo { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--paper) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.topo .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: var(--display); font-size: 30px; text-decoration: none; letter-spacing: .02em; }
.logo b { color: var(--accent); font-weight: 400; }
.topo nav { display: flex; gap: 22px; margin-right: auto; }
.topo nav a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 0; border-bottom: 2px solid transparent; }
.topo nav a:hover, .topo nav a[aria-current] { border-color: var(--ink); }
.btn-sacola { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: none; border-radius: 99px; font-weight: 700; }
.btn-sacola .n { background: var(--accent); color: #fff; min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; font: 700 12px var(--mono); }
@media (max-width: 720px) { .topo nav { display: none; } .topo .wrap { justify-content: space-between; } }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .12s, background .15s; }
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.acc { background: var(--accent); color: #fff; }
.btn.acc:hover { background: var(--ink); }
.btn.lin { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.lin:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.full { width: 100%; }
.btn-ico { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: none; }
.btn-ico:hover { border-color: var(--ink); }

/* ---------- herói ---------- */
.heroi { display: grid; grid-template-columns: 1.1fr 1fr; min-height: min(86vh, 820px); border-bottom: 1px solid var(--line); }
.heroi .txt { padding: clamp(32px, 6vw, 88px) var(--gut); display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.heroi h1 { font-size: clamp(64px, 11.5vw, 184px); }
.heroi h1 em { font-style: normal; color: var(--accent); display: block; }
.heroi p { max-width: 34ch; font-size: 19px; color: var(--ink-2); }
.heroi .acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.heroi .arte { position: relative; background: var(--accent); overflow: hidden; display: grid; place-items: center; }
.heroi .arte .t1 { width: 78%; transform: rotate(-6deg) translate(-6%, 4%); filter: drop-shadow(0 30px 40px oklch(0.2 0.05 35 / .35)); }
.heroi .arte .t2 { position: absolute; width: 46%; right: -6%; top: 6%; transform: rotate(11deg); filter: drop-shadow(0 20px 30px oklch(0.2 0.05 35 / .3)); }
.heroi .arte .selo { position: absolute; left: 24px; bottom: 24px; color: #fff; }
@media (max-width: 860px) { .heroi { grid-template-columns: 1fr; } .heroi .arte { min-height: 420px; order: -1; } }

/* ---------- faixa de valores ---------- */
.valores { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.valores div { padding: 22px var(--gut); display: flex; gap: 14px; align-items: baseline; border-right: 1px solid var(--line); }
.valores div:last-child { border: 0; }
.valores b { font-family: var(--display); font-size: 28px; font-weight: 400; }
@media (max-width: 720px) { .valores { grid-template-columns: 1fr; } .valores div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- seções ---------- */
section.bloco { padding: clamp(56px, 8vw, 112px) 0; }
.cab { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.cab h2 { font-size: clamp(44px, 6.5vw, 96px); }
.cab a { font-weight: 700; }

/* ---------- vitrine ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 40px 24px; }
.prod { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.prod .foto { position: relative; aspect-ratio: 4/5; background: var(--paper-2); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.prod .foto svg, .prod .foto img { width: 82%; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.prod .foto img { width: 100%; height: 100%; object-fit: cover; }
.prod:hover .foto svg { transform: scale(1.05) rotate(-2deg); }
.prod .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 2px; }
.tag.acc { background: var(--accent); color: #fff; }
.prod .linha1 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.prod h3 { font-size: 17px; font-weight: 700; }
.preco { font-family: var(--mono); font-weight: 700; font-size: 15px; white-space: nowrap; }
.preco s { color: var(--ink-2); font-weight: 400; margin-right: 6px; }
.bolinhas { display: flex; gap: 6px; }
.bolinhas i { width: 14px; height: 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: none; font-weight: 600; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filtros select { margin-left: auto; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 99px; background: none; font-weight: 600; }

/* ---------- drop / contagem ---------- */
.drop { background: var(--ink); color: var(--paper); }
.drop .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.drop h2 { font-size: clamp(48px, 7vw, 110px); }
.relogio { display: flex; gap: 12px; margin-top: 24px; }
.relogio div { text-align: center; min-width: 76px; }
.relogio b { display: block; font-family: var(--display); font-size: 56px; font-weight: 400; line-height: 1; color: var(--accent); }
.form-inline { display: flex; gap: 8px; max-width: 460px; width: 100%; }
.form-inline input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid currentColor; background: transparent; }
.drop .form-inline input { border-color: oklch(1 0 0 / .4); }
.drop .form-inline input::placeholder { color: oklch(1 0 0 / .6); }
@media (max-width: 860px) { .drop .wrap { grid-template-columns: 1fr; } }

/* ---------- lookbook ---------- */
.look { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 12px; }
.look figure { position: relative; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; text-decoration: none; }
.look figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.look figure:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.look figure svg { width: 70%; }
.look figure img { width: 100%; height: 100%; object-fit: cover; }
.look figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; color: #fff; text-shadow: 0 1px 6px #0008; }
@media (max-width: 860px) { .look { grid-template-columns: repeat(2, 1fr); } .look figure:nth-child(n) { grid-column: auto; grid-row: auto; } .look figure:nth-child(1) { grid-column: span 2; grid-row: span 2; } }

/* ---------- depoimentos ---------- */
.depo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.depo blockquote { padding: 32px 28px 32px 0; border-right: 1px solid var(--line); }
.depo blockquote + blockquote { padding-left: 28px; }
.depo blockquote:last-child { border: 0; }
.depo p { font-size: 21px; line-height: 1.35; font-weight: 500; margin-bottom: 18px; }
.depo p::before { content: '“'; color: var(--accent); }
.depo cite { font-style: normal; color: var(--ink-2); }
@media (max-width: 860px) { .depo { grid-template-columns: 1fr; } .depo blockquote, .depo blockquote + blockquote { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- embaixador ---------- */
.emb { background: var(--accent); color: #fff; }
.emb .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding-block: clamp(48px, 7vw, 96px); }
.emb h2 { font-size: clamp(48px, 7vw, 110px); }
.emb .btn { background: var(--ink); }
.emb .btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .emb .wrap { grid-template-columns: 1fr; } }

/* ---------- produto ---------- */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 72px); padding-block: 32px 80px; }
.pdp > *, .checkout > * { min-width: 0; }
.info h1 { overflow-wrap: anywhere; }
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; }
.galeria .g { background: var(--paper-2); border-radius: var(--r); aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; }
.galeria .g:first-child { grid-column: span 2; aspect-ratio: 5/4; }
.galeria .g:first-child svg { width: 62%; }
.galeria .g svg { width: 80%; }
.galeria .g img { width: 100%; height: 100%; object-fit: cover; }
.galeria .zoom svg { width: 190%; max-width: none; transform: translate(4%, 12%); }
.info { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.info h1 { font-size: clamp(48px, 5.5vw, 80px); }
.info .preco { font-size: 22px; }
.opcao legend { margin-bottom: 10px; display: flex; justify-content: space-between; width: 100%; }
fieldset { border: 0; padding: 0; min-width: 0; }
.cores { display: flex; gap: 10px; flex-wrap: wrap; }
.cores button { width: 44px; height: 44px; border-radius: 99px; border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.cores button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.tams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tams button { min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r); background: none; font: 700 14px var(--mono); }
.tams button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tams button:disabled { text-decoration: line-through; opacity: .4; cursor: not-allowed; }
.aviso-estoque { color: var(--accent-ink); font-weight: 700; font-size: 14px; min-height: 21px; }
.compartilhar { display: flex; gap: 8px; align-items: center; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: '+'; font-family: var(--mono); }
details[open] summary::after { content: '–'; }
details > *:not(summary) { margin-top: 12px; color: var(--ink-2); }
table.medidas { width: 100%; border-collapse: collapse; font: 13px var(--mono); }
table.medidas td, table.medidas th { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: center; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .info { position: static; } }

/* ---------- sacola (gaveta) ---------- */
.veu { position: fixed; inset: 0; background: oklch(0.2 0.01 70 / .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.veu.on { opacity: 1; pointer-events: auto; }
.gaveta { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 51; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; }
.gaveta.on { transform: none; }
.gaveta header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.gaveta header h2 { font-size: 34px; }
.gaveta .itens { flex: 1; overflow: auto; padding: 8px 20px; }
.gaveta footer { padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.item .mini { background: var(--paper-2); border-radius: var(--r); aspect-ratio: 1; display: grid; place-items: center; }
.item .mini svg { width: 86%; }
.item small { color: var(--ink-2); display: block; }
.qtd { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; margin-top: 6px; }
.qtd button { width: 32px; height: 32px; border: 0; background: none; font-weight: 700; }
.qtd span { min-width: 20px; text-align: center; font: 700 13px var(--mono); }
.remover { border: 0; background: none; color: var(--ink-2); text-decoration: underline; font-size: 13px; min-height: 32px; }
.barra-frete { font-size: 14px; }
.barra-frete .b { height: 6px; background: var(--paper-2); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.barra-frete .b i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.soma { display: flex; justify-content: space-between; font-size: 15px; }
.soma.total { font-weight: 800; font-size: 19px; }
.soma .d { color: var(--ok); }
.vazio { text-align: center; padding: 60px 0; display: grid; gap: 16px; justify-items: center; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); padding-block: 40px 96px; }
.checkout h1 { font-size: clamp(48px, 6vw, 88px); margin-bottom: 28px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campos .w2 { grid-column: span 2; }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
label.f input, label.f select { min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: oklch(1 0 0 / .5); }
label.f input:focus { border-color: var(--ink); outline: none; }
.pagto { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.pagto label { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: center; cursor: pointer; font-weight: 700; }
.pagto label:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.pagto input { accent-color: var(--accent); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.resumo { background: var(--paper-2); border-radius: var(--r); padding: 24px; align-self: start; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }
.cupom { display: flex; gap: 8px; }
.cupom input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); text-transform: uppercase; font-family: var(--mono); }
.cupom button { min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 700; }
.msg { font-size: 13px; font-weight: 600; }
.msg.erro { color: var(--accent-ink); }
.msg.ok { color: var(--ok); }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .resumo { position: static; order: -1; } .campos { grid-template-columns: 1fr; } .campos .w2 { grid-column: auto; } }

/* ---------- confirmação / indique ---------- */
.conf { max-width: 760px; padding-block: 56px 96px; display: flex; flex-direction: column; gap: 28px; }
.conf h1 { font-size: clamp(56px, 9vw, 128px); }
.caixa { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.copiar { display: flex; gap: 8px; }
.copiar code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 14px; background: var(--paper-2); border-radius: var(--r); font: 600 14px var(--mono); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { background: var(--paper-2); border-radius: var(--r); padding: 16px; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }

/* ---------- rodapé ---------- */
footer.rodape { background: var(--ink); color: var(--paper); padding: 64px 0 28px; }
.rodape .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.rodape .marca { font-family: var(--display); font-size: clamp(80px, 16vw, 240px); line-height: .8; margin-top: 56px; color: var(--accent); }
.rodape a { text-decoration: none; opacity: .85; display: block; padding: 6px 0; }
.rodape a:hover { opacity: 1; text-decoration: underline; }
.rodape .form-inline input { border-color: oklch(1 0 0 / .35); }
.rodape .form-inline input::placeholder { color: oklch(1 0 0 / .55); }
.rodape .btn { background: var(--accent); color: #fff; }
.rodape .btn:hover { background: var(--paper); color: var(--ink); }
.rodape .baixo { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; opacity: .6; flex-wrap: wrap; }
@media (max-width: 860px) { .rodape .grid { grid-template-columns: 1fr; } }

/* ---------- flutuantes ---------- */
.whats { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 99px; background: #1F8F4E; color: #fff; display: grid; place-items: center; z-index: 40; box-shadow: 0 8px 24px #0003; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: var(--r); font-weight: 600; z-index: 70; opacity: 0; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
dialog.pop { border: 0; padding: 0; border-radius: var(--r); max-width: min(720px, calc(100% - 32px)); background: var(--paper); color: var(--ink); }
dialog.pop::backdrop { background: oklch(0.2 0.01 70 / .55); }
.pop .in { display: grid; grid-template-columns: 1fr 1.2fr; }
.pop .arte { background: var(--accent); display: grid; place-items: center; padding: 24px; }
.pop .corpo { padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.pop h2 { font-size: 64px; }
.pop .fechar { position: absolute; top: 10px; right: 10px; }
@media (max-width: 600px) { .pop .in { grid-template-columns: 1fr; } .pop .arte { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
