/* =========================================================
   LUZ STORE — identidade digital
   Conceito: luz na cidade. A foto em preto e branco ganha cor
   onde a luz passa. Tipografia larga e pesada (eco do logo)
   com itálico de missal para as mensagens.
   ========================================================= */
:root {
  --breu: #000000;
  --osso: #F3F1EC;
  --concreto: #CFCBC2;
  --pedra: #8A867E;
  --chama: #E0A526;
  --papel: #E9DCB8;
  --tinta: #121110;
  --ok: #2F7A4B;
  --bad: #B3261E;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --head-h: 60px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* escala tipográfica (razão ~1.333) */
  --fs-xs: .8125rem;
  --fs-s: .9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-2xl: clamp(2.5rem, 1.4rem + 5vw, 5rem);
  --fs-3xl: clamp(3.1rem, 1rem + 9.5vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: var(--fs-m); line-height: 1.55;
  font-variation-settings: "wdth" 100; background: var(--osso); color: var(--tinta);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--chama); color: #000; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--chama); outline-offset: 3px; }
.muted { color: var(--pedra); }

/* temas de seção */
.t-dark { background: var(--breu); color: var(--osso); }
.t-light { background: var(--osso); color: var(--tinta); }
.t-paper { background: var(--osso); color: var(--tinta); }
.t-collection { background: var(--c-bg); color: var(--c-fg); }

/* ---------- tipografia de display ---------- */
.display-l, .display-m, .display-s, .display-xs, .hero-title, .exp-title, .band-name, .col-card-name, .pdp-name {
  font-family: var(--sans); font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  letter-spacing: -.01em; line-height: .9;
}
.display-l { font-size: var(--fs-2xl); }
.display-m { font-size: var(--fs-xl); }
.display-s { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.display-xs { font-size: 1.05rem; letter-spacing: .01em; margin: 1.6em 0 .7em; }
.lead { font-size: var(--fs-l); max-width: 40ch; }

/* ---------- aviso e cabeçalho ---------- */
.announce { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--chama); color: #000; text-align: center; font-size: var(--fs-xs); font-weight: 600; padding: 7px var(--gutter); }
.announce p { margin: 0; }
.site-head {
  position: sticky; top: 0; z-index: 40; height: var(--head-h); display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); background: var(--breu); color: var(--osso);
}
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: var(--fs-s); font-weight: 600; font-variation-settings: "wdth" 112; letter-spacing: .02em; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--chama); }
.nav-extra { display: none; }
.head-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav + .head-actions { margin-left: 0; }
.cart-btn, .menu-btn, .icon-btn { background: none; border: 0; cursor: pointer; padding: 10px; color: inherit; position: relative; line-height: 1; }
.cart-count[hidden] { display: none; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--chama); color: #000; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; width: 44px; height: 44px; }
.menu-btn-lines, .menu-btn-lines::before, .menu-btn-lines::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease); }
.menu-btn-lines::before, .menu-btn-lines::after { content: ""; position: absolute; left: 0; }
.menu-btn-lines::before { top: -7px; }
.menu-btn-lines::after { top: 7px; }
.menu-open .menu-btn-lines { background: transparent; }
.menu-open .menu-btn-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn-lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .brand img { height: 30px; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: var(--breu); padding: 32px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    display: flex; flex-direction: column; gap: 40px; overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a { font-size: 2.2rem; font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.01em; border: 0; display: block; padding: 4px 0; }
  .nav-extra { display: flex; flex-direction: column; gap: 14px; }
  .nav-extra a { display: inline-flex; gap: 10px; align-items: center; font-size: var(--fs-m); text-transform: none; font-weight: 500; font-variation-settings: "wdth" 100; }
  body.menu-open { overflow: hidden; }
}

/* ---------- botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  background: var(--tinta); color: var(--osso); border: 1.5px solid var(--tinta); border-radius: 0;
  font-weight: 800; font-size: var(--fs-s); font-variation-settings: "wdth" 115; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #2a2826; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-light { background: var(--osso); color: var(--breu); border-color: var(--osso); }
.btn-light:hover { background: var(--chama); border-color: var(--chama); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); }
.btn-accent { background: var(--c-accent, var(--chama)); border-color: var(--c-accent, var(--chama)); color: #000; }
.btn-accent:hover { filter: brightness(1.08); background: var(--c-accent, var(--chama)); }
.btn-buy { background: var(--breu); border-color: var(--breu); }
.btn-wa { background: #1F7A4A; border-color: #1F7A4A; color: #fff; }
.btn-wa:hover { background: #17633b; }
.btn-block { width: 100%; }
.btn-s { min-height: 36px; padding: 0 14px; font-size: var(--fs-xs); }
.link { font-weight: 600; font-size: var(--fs-s); }

/* ---------- HERO: a lanterna ---------- */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); display: grid; align-items: end; overflow: hidden; background: #000; color: var(--osso); isolation: isolate; touch-action: pan-y; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-mono img { filter: grayscale(1) contrast(1.12) brightness(.62); }
.hero-color {
  --x: 70%; --y: 40%; --r: 0px;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0,0,0,.92) 35%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0,0,0,.92) 35%, rgba(0,0,0,0) 100%);
}
.hero-color img { filter: saturate(1.08) brightness(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%); z-index: 1; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(28px, 6vw, 72px); max-width: var(--max); width: 100%; margin: 0 auto; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero-title { font-size: clamp(2.6rem, 10vw, 10rem); line-height: .84; margin-bottom: .18em; max-width: 9ch; text-wrap: balance; }
.hero-text { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.35; max-width: 34ch; margin-bottom: 26px; color: #E9E6DF; }
.hero-hint { position: absolute; right: var(--gutter); top: 22px; z-index: 2; margin: 0; font-size: var(--fs-xs); color: rgba(243,241,236,.7); font-family: var(--serif); font-style: italic; transition: opacity .6s; }
.hero.touched .hero-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-color { -webkit-mask-image: none; mask-image: none; }
  .hero-hint { display: none; }
}

/* ---------- faixas das coleções (home) ---------- */
.bands { background: #000; }
.band {
  display: grid; grid-template-columns: 1.35fr 1fr; min-height: min(82vh, 760px); text-decoration: none;
  background: var(--c-bg); color: var(--c-fg); position: relative; overflow: hidden;
}
.band-rev { grid-template-columns: 1fr 1.35fr; }
.band-rev .band-media { order: 2; }
.band-media { overflow: hidden; }
.band-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.band:hover .band-media img { transform: scale(1.035); }
.band-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 72px) var(--gutter); gap: 8px; container-type: inline-size; min-width: 0; }
.band-flag { font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent); margin: 0; }
.band-name { font-size: min(6.6rem, 11.5cqi); line-height: .88; }
.band-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.25; margin: .3em 0 1.4em; max-width: 22ch; }
.band-go { align-self: flex-start; font-weight: 800; font-size: var(--fs-s); font-variation-settings: "wdth" 115; text-transform: uppercase; letter-spacing: .03em; padding-bottom: 4px; border-bottom: 2px solid var(--c-accent); }
@media (max-width: 820px) {
  .band, .band-rev { grid-template-columns: 1fr; min-height: 0; }
  .band-rev .band-media { order: 0; }
  .band-media { aspect-ratio: 4 / 3.4; }
  .band-copy { padding-top: 28px; padding-bottom: 40px; }
}

/* ---------- prateleiras e cards ---------- */
.shelf { padding: clamp(48px, 7vw, 104px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 24px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--concreto); margin-bottom: 12px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card-alt { opacity: 0; }
@media (hover: hover) { .card-link:hover .card-alt { opacity: 1; } }
.card-ph { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #ddd9d0 0 10px, #d4cfc5 10px 20px); }
.badge { position: absolute; left: 0; top: 0; background: var(--breu); color: var(--osso); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-variation-settings: "wdth" 115; padding: 6px 10px; }
.card-name { font-size: var(--fs-s); font-weight: 700; line-height: 1.25; margin-bottom: 2px; }
.card-msg { font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.3; color: #57534d; margin: 0 0 6px; }
.price { font-weight: 700; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.price s { font-weight: 400; color: var(--pedra); margin-right: 4px; }
.empty { color: var(--pedra); font-size: var(--fs-l); font-family: var(--serif); font-style: italic; padding: 24px 0; }

/* ---------- manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--breu); color: var(--osso); padding: clamp(64px, 9vw, 140px) var(--gutter); }
.manifesto-copy { max-width: 620px; justify-self: end; }
.manifesto-copy .display-m { margin-bottom: 28px; }
.manifesto-fig { margin: 0; max-width: 460px; }
.manifesto-fig img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 820px) { .manifesto { grid-template-columns: 1fr; } .manifesto-copy { justify-self: start; } }

/* ---------- prosa ---------- */
.prose { max-width: 68ch; }
.prose p, .prose li { font-size: var(--fs-m); }
.prose h2 { font-size: var(--fs-l); font-weight: 800; margin: 1.8em 0 .5em; font-variation-settings: "wdth" 110; }
.prose h3 { font-size: var(--fs-m); font-weight: 800; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose blockquote { margin: 0 0 1.2em; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.3; padding-left: 18px; border-left: 3px solid var(--c-accent, var(--chama)); }
.prose-dark { color: #DAD6CE; }
.prose-dark p { font-size: 1.15rem; }

/* ---------- newsletter ---------- */
.news { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.news-form { max-width: 640px; margin: 0 auto; }
.news-form .display-s { margin-bottom: 10px; }
.news-form > p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.news-row { display: flex; gap: 8px; margin: 18px 0 12px; }
.news-row input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .news-row { flex-direction: column; } }

/* ---------- formulários (loja) ---------- */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #fff; border: 1.5px solid #bdb8ae; border-radius: 0; font-size: 16px; color: var(--tinta);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--tinta); outline: none; box-shadow: 0 0 0 3px rgba(224,165,38,.35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-s); line-height: 1.4; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--tinta); flex: none; }
.form-msg { min-height: 1.4em; font-size: var(--fs-s); margin: 8px 0 0; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--bad); }

/* ---------- cabeçalhos de página ---------- */
.page-head { padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(20px, 3vw, 36px); max-width: var(--max); margin: 0 auto; }
.page-head .display-l { margin: 14px 0 0; }
.narrow { max-width: 860px; }
.page-body { padding: 0 var(--gutter) 96px; margin: 0 auto; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: var(--fs-xs); color: var(--pedra); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1.5px solid #bdb8ae; text-decoration: none; font-size: var(--fs-s); font-weight: 600; }
.chip[aria-current] { background: var(--tinta); color: var(--osso); border-color: var(--tinta); }
.chip:hover { border-color: var(--tinta); }
.count { color: var(--pedra); font-size: var(--fs-s); margin-bottom: 18px; }

/* ---------- índice de coleções ---------- */
.col-index { padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.col-card-link { display: block; text-decoration: none; background: var(--c-bg); color: var(--c-fg); height: 100%; }
.col-card-media { aspect-ratio: 4/3; overflow: hidden; }
.col-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.col-card-link:hover img { transform: scale(1.03); }
.col-card-copy { padding: 22px 22px 26px; }
.col-card-name { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.col-card-tag { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: .4em 0 .6em; }
.col-card-meta { font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent); margin: 0; }
@media (max-width: 760px) { .col-index { grid-template-columns: 1fr; } }

/* ---------- página da coleção / experiência ---------- */
.t-collection .site-head { background: color-mix(in srgb, var(--c-bg) 92%, #000); color: var(--c-fg); }
.t-collection .announce { background: var(--c-accent); }
.exp { position: relative; height: calc(100svh - var(--head-h)); min-height: 560px; overflow: hidden; background: var(--c-bg); color: var(--c-fg); isolation: isolate; }
.exp-fallback { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 1s; }
.exp-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c-bg) 10%, transparent) 30%, var(--c-bg) 100%); }
.exp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; cursor: grab; touch-action: pan-y; }
.exp.ready .exp-canvas { opacity: 1; }
.exp.ready .exp-fallback { opacity: 0; }
.exp-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gutter) clamp(28px, 5vw, 64px); pointer-events: none; }
.exp-copy .crumbs ol { color: inherit; opacity: .75; }
.exp-copy a, .exp-copy .crumbs { pointer-events: auto; }
.exp-title { font-size: clamp(2.4rem, 9vw, 8.5rem); line-height: .84; margin: 12px 0 8px; max-width: 12ch; text-shadow: 0 2px 24px color-mix(in srgb, var(--c-bg) 60%, transparent); }
.exp-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); line-height: 1.2; margin-bottom: 22px; max-width: 26ch; }
.exp-ui { position: absolute; top: 16px; right: var(--gutter); z-index: 3; display: flex; gap: 12px; align-items: center; }
.exp-hint { margin: 0; font-size: var(--fs-xs); font-family: var(--serif); font-style: italic; opacity: .8; transition: opacity .6s; max-width: 30ch; text-align: right; }
.exp-toggle { background: color-mix(in srgb, var(--c-bg) 70%, transparent); color: var(--c-fg); border: 1px solid color-mix(in srgb, var(--c-fg) 40%, transparent); padding: 8px 12px; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); }
.exp-label { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -100%); background: var(--c-fg); color: var(--c-bg); font-size: var(--fs-xs); font-weight: 700; padding: 6px 10px; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.exp-label.on { opacity: 1; }
.exp-label small { display: block; font-weight: 500; opacity: .75; }
.exp-static .exp-fallback { opacity: 1 !important; }
@media (max-width: 700px) { .exp-hint { display: none; } }

.col-concept { padding: clamp(56px, 9vw, 140px) var(--gutter); max-width: 1100px; margin: 0 auto; }
.concept { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem); line-height: 1.22; margin-bottom: 1.2em; text-wrap: pretty; }
.col-concept .prose { margin-left: auto; max-width: 60ch; }
.col-concept .prose p { font-size: 1.12rem; }
.t-collection .card-msg { color: color-mix(in srgb, var(--c-fg) 70%, transparent); }
.t-collection .card-media { background: color-mix(in srgb, var(--c-fg) 12%, var(--c-bg)); }
.t-collection .badge { background: var(--c-accent); color: #000; }
.col-products { padding: 0 var(--gutter) clamp(56px, 8vw, 120px); max-width: var(--max); margin: 0 auto; }
.col-products .display-s { margin-bottom: 28px; }
.col-video { padding: 0 var(--gutter) 64px; max-width: 1100px; margin: 0 auto; }
.col-video video { width: 100%; }
.col-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; padding: 0 var(--gutter) clamp(56px, 8vw, 120px); max-width: var(--max); margin: 0 auto; }
.col-gallery figure { margin: 0; overflow: hidden; }
.col-gallery img { width: 100%; height: 100%; object-fit: cover; }
.col-gallery .g-0 { grid-column: 1 / span 7; aspect-ratio: 4/3; }
.col-gallery .g-1 { grid-column: 8 / span 5; aspect-ratio: 4/5; margin-top: 18%; }
.col-gallery .g-2 { grid-column: 2 / span 5; aspect-ratio: 4/5; }
.col-gallery .g-3 { grid-column: 7 / span 6; aspect-ratio: 4/3; align-self: end; }
@media (max-width: 700px) { .col-gallery { grid-template-columns: 1fr 1fr; } .col-gallery figure { grid-column: auto !important; margin-top: 0 !important; aspect-ratio: 4/5 !important; } .col-gallery .g-0, .col-gallery .g-3 { grid-column: 1 / -1 !important; aspect-ratio: 4/3 !important; } }
.col-others { padding: clamp(48px, 7vw, 96px) var(--gutter); border-top: 1px solid color-mix(in srgb, var(--c-fg) 18%, transparent); max-width: var(--max); margin: 0 auto; }
.col-others ul { list-style: none; padding: 0; margin: 24px 0 0; }
.col-others li a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; text-decoration: none; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--c-fg) 18%, transparent); }
.o-name { font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); line-height: .95; transition: color .2s; }
.col-others li a:hover .o-name { color: var(--o-accent); }
.o-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; opacity: .8; }
.preview-bar { position: sticky; top: var(--head-h); z-index: 30; margin: 0; background: var(--chama); color: #000; padding: 8px var(--gutter); font-weight: 700; font-size: var(--fs-s); }

/* ---------- produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 0 clamp(24px, 4vw, 64px); padding: 0 var(--gutter) 64px; max-width: var(--max); margin: 0 auto; }
.pdp-crumbs { grid-column: 1 / -1; padding: 20px 0; }
.pdp-gallery { position: relative; }
.pdp-track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp-slide { margin: 0; background: var(--concreto); }
.pdp-slide:first-child { grid-column: 1 / -1; }
.pdp-slide img, .pdp-slide video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.pdp-slide:not(:first-child) img { aspect-ratio: 4/5; }
.pdp-dots { display: none; }
.pdp-info { position: relative; }
.pdp-sticky { position: sticky; top: calc(var(--head-h) + 24px); padding-bottom: 24px; }
.pdp-col { display: inline-block; font-size: var(--fs-xs); font-weight: 700; text-decoration: none; padding: 4px 0; border-bottom: 2px solid var(--c-accent, var(--chama)); margin-bottom: 14px; }
.pdp-name { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: .92; margin-bottom: 10px; text-wrap: balance; }
.pdp-msg { font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.25; margin-bottom: 14px; }
.pdp-price .price { font-size: 1.35rem; }
.buy { margin: 22px 0 14px; }
.opt { border: 0; padding: 0; margin: 0 0 18px; }
.opt legend { font-size: var(--fs-s); font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill { position: relative; }
.opt-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-pill span { display: grid; place-items: center; min-width: 54px; min-height: 48px; padding: 0 14px; border: 1.5px solid #bdb8ae; font-weight: 700; font-size: var(--fs-s); background: #fff; }
.opt-pill input:checked + span { background: var(--tinta); color: var(--osso); border-color: var(--tinta); }
.opt-pill input:focus-visible + span { outline: 2px solid var(--chama); outline-offset: 2px; }
.opt-pill input:disabled + span { opacity: .35; text-decoration: line-through; }
.opt-single { font-size: var(--fs-s); margin-bottom: 16px; }
.stock-note { min-height: 1.4em; font-size: var(--fs-s); margin: -4px 0 10px; color: var(--pedra); }
.stock-note.low { color: #9a5b00; font-weight: 700; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; padding: 0 14px; white-space: nowrap; }
.qty { display: flex; border: 1.5px solid #bdb8ae; background: #fff; }
.qty button { width: 42px; background: none; border: 0; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 44px; min-height: 45px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.wa-link { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-s); font-weight: 600; margin: 4px 0 20px; }
.pdp-details details { border-top: 1px solid #d3cec4; }
.pdp-details details:last-child { border-bottom: 1px solid #d3cec4; }
.pdp-details summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: var(--fs-s); list-style: none; display: flex; justify-content: space-between; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.pdp-details details[open] summary::after { content: "−"; }
.pdp-details .prose { padding-bottom: 16px; }
.pdp-details .prose p { font-size: var(--fs-s); }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding: 0 0 48px; }
  .pdp-crumbs { padding: 14px var(--gutter); }
  .pdp-gallery { margin: 0 0 20px; }
  .pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .pdp-track::-webkit-scrollbar { display: none; }
  .pdp-slide { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp-slide img, .pdp-slide:not(:first-child) img, .pdp-slide video { aspect-ratio: 4/4.4; }
  .pdp-dots { display: flex; gap: 6px; justify-content: center; padding-top: 10px; }
  .pdp-dots span { width: 6px; height: 6px; border-radius: 50%; background: #bdb8ae; transition: background .2s, width .2s; }
  .pdp-dots span.on { background: var(--tinta); width: 18px; border-radius: 3px; }
  .pdp-info { padding: 0 var(--gutter); }
  .pdp-sticky { position: static; }
}

/* ---------- loja: filtros ---------- */
.shop-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-top: 24px; }
.shop-filters label:not(.check) { display: grid; gap: 4px; font-size: var(--fs-xs); font-weight: 700; min-width: 160px; flex: 1 1 160px; max-width: 240px; }
.shop-filters .check { align-self: center; }

/* ---------- sacola (drawer) ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fade .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--osso); color: var(--tinta); display: flex; flex-direction: column; animation: slide .28s var(--ease); outline: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #d3cec4; }
.drawer-head h2 { font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #d3cec4; display: grid; gap: 10px; }
.drawer-foot .tot-line { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; }
.drawer-foot .help { font-size: var(--fs-xs); color: var(--pedra); margin: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .drawer-scrim, .drawer-panel { animation: none; } }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e0dcd3; align-items: start; }
.line img { width: 72px; height: 90px; object-fit: cover; background: var(--concreto); }
.line-name { font-weight: 700; font-size: var(--fs-s); line-height: 1.25; text-decoration: none; display: block; }
.line-var { font-size: var(--fs-xs); color: var(--pedra); }
.line-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-ctrl .qty input { min-height: 34px; width: 36px; }
.line-ctrl .qty button { width: 32px; }
.line-rm { background: none; border: 0; padding: 0; font-size: var(--fs-xs); text-decoration: underline; cursor: pointer; color: var(--pedra); }
.line-price { font-weight: 700; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.cart-empty { padding: 40px 0; text-align: center; }
.cart-empty p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; }

/* ---------- sacola (página) e checkout ---------- */
.cart, .checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; align-items: start; }
.cart-sum, .co-sum { position: sticky; top: calc(var(--head-h) + 20px); background: #fff; padding: 24px; border: 1px solid #ddd8ce; display: grid; gap: 18px; }
.co-sum .display-xs { margin: 0; }
.mini-form label { font-size: var(--fs-s); font-weight: 700; display: block; margin-bottom: 6px; }
.mini-form .row { display: flex; gap: 8px; }
.mini-form .row .btn { min-height: 48px; padding: 0 16px; flex: none; }
.ship-list { display: grid; gap: 8px; margin: 4px 0 8px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #cfcac0; background: #fff; cursor: pointer; margin-bottom: 8px; }
.radio-card:has(input:checked) { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.radio-card input { margin-top: 4px; accent-color: var(--tinta); width: 18px; height: 18px; flex: none; }
.radio-card strong { display: block; font-size: var(--fs-s); }
.radio-card small { display: block; color: #6b665e; font-size: var(--fs-xs); line-height: 1.4; margin-top: 2px; }
.radio-card .rc-price { margin-left: auto; font-weight: 700; font-size: var(--fs-s); white-space: nowrap; }
.totals { margin: 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-s); }
.totals dt, .totals dd { margin: 0; }
.totals dd { font-variant-numeric: tabular-nums; text-align: right; }
.totals .tot { font-weight: 900; font-size: 1.2rem; padding-top: 10px; border-top: 1px solid #d3cec4; }
.co-form fieldset { border: 0; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 14px; }
.co-form legend { font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 16px; padding: 0; }
.co-form .field { grid-column: span 6; margin-bottom: 14px; }
.co-form .addr { grid-column: span 6; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 14px; }
.co-form .addr .field { grid-column: span 3; }
.co-form .addr .f-wide { grid-column: span 4; }
.co-form .addr .f-num { grid-column: span 2; }
.co-form .addr .f-uf { grid-column: span 3; }
.co-form .f-cep { grid-column: span 3; }
.co-form .ship-list { grid-column: span 6; }
.co-form fieldset > .radio-card { grid-column: span 6; }
.field label { display: block; font-size: var(--fs-s); font-weight: 700; margin-bottom: 6px; }
.field-err { color: var(--bad); font-size: var(--fs-xs); margin: 4px 0 0; min-height: 0; }
.field.has-err input { border-color: var(--bad); }
.co-lines .line { grid-template-columns: 56px 1fr auto; }
.co-lines img { width: 56px; height: 70px; }
@media (max-width: 900px) {
  .cart, .checkout { grid-template-columns: 1fr; }
  .cart-sum, .co-sum { position: static; }
  .co-sum { order: -1; }
}
@media (max-width: 520px) {
  .co-form .addr .field, .co-form .addr .f-wide, .co-form .f-cep { grid-column: span 6; }
  .co-form .addr .f-num, .co-form .addr .f-uf { grid-column: span 3; }
}

/* ---------- pedido ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: s; }
.steps li { font-size: var(--fs-xs); font-weight: 600; padding-top: 12px; border-top: 4px solid #d3cec4; color: var(--pedra); }
.steps li.done { border-color: var(--tinta); color: var(--tinta); }
.steps li.now { border-color: var(--chama); color: var(--tinta); font-weight: 800; }
.pay-box { background: #fff; border: 1px solid #ddd8ce; padding: 20px 22px; margin-bottom: 16px; }
.pay-box .display-xs { margin-top: 0; }
.pix-key { font-size: 1rem; background: var(--osso); padding: 4px 8px; word-break: break-all; }
.o-items { list-style: none; padding: 0; margin: 0 0 16px; }
.o-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e0dcd3; align-items: center; font-size: var(--fs-s); }
.o-items img { width: 64px; height: 80px; object-fit: cover; }
.o-items div { display: grid; }
.o-items span { color: var(--pedra); font-size: var(--fs-xs); }
.timeline { list-style: none; padding: 0; margin: 0 0 16px; font-size: var(--fs-s); }
.timeline li { padding: 8px 0; border-bottom: 1px solid #e0dcd3; }
.timeline time { display: block; font-size: var(--fs-xs); color: var(--pedra); }
.notice { padding: 14px 16px; border-left: 4px solid var(--chama); background: #fff; }
.notice-bad { border-color: var(--bad); }
.stack-form { display: grid; gap: 14px; max-width: 460px; margin-top: 24px; }
.err { padding-bottom: 120px; }
@media (max-width: 820px) { .order { grid-template-columns: 1fr; } .steps li { font-size: 11px; } }

/* ---------- rodapé ---------- */
.site-foot { background: var(--breu); color: #CFCBC2; padding: clamp(48px, 7vw, 96px) var(--gutter) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; max-width: var(--max); margin: 0 auto; }
.foot-brand img { width: 170px; margin-bottom: 18px; }
.foot-brand p { font-size: var(--fs-s); margin: 0 0 6px; }
.site-foot h2 { font-size: var(--fs-s); font-weight: 800; color: var(--osso); margin-bottom: 14px; font-variation-settings: "wdth" 112; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-s); }
.site-foot a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.site-foot a:hover { color: var(--chama); }
.foot-legal { max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid #2a2826; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: var(--fs-xs); color: #8a867e; }
.foot-legal p { margin: 0; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--tinta); color: var(--osso); padding: 12px 18px; font-size: var(--fs-s); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 80; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- botão flutuante do WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: 8px; background: #1F7A4A; color: #fff; text-decoration: none; font-weight: 700; font-size: var(--fs-s); padding: 12px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: #17633b; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- HERO: atravessar a palavra ----------
   A foto só aparece por dentro das letras (máscara por mix-blend multiply).
   Ao rolar, a palavra cresce a partir do centro da letra do meio até a foto tomar a tela. */
.h2 { position: relative; height: 230svh; background: #000; color: var(--osso); }
.h2-stick { position: sticky; top: var(--head-h); height: calc(100svh - var(--head-h)); overflow: hidden; isolation: isolate; }
.h2-photo, .h2-photo img, .h2-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h2-bg { object-fit: cover; filter: blur(28px) brightness(.45) saturate(1.1); transform: scale(1.15); }
.h2-photo img { object-fit: cover; object-position: 50% 40%; }
.h2-mask {
  position: absolute; inset: 0; z-index: 1; background: #000; color: #fff; mix-blend-mode: multiply;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh;
  transform-origin: var(--ox, 50%) var(--oy, 50%); will-change: transform, opacity;
}
.h2-word { display: flex; font-family: var(--sans); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .78; letter-spacing: -.03em; font-size: min(44vw, 62svh); }
.h2-word span { display: block; animation: h2-rise 1.1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.h2-spacer { height: clamp(4.5rem, 12vh, 7rem); }
.h2-line {
  position: absolute; z-index: 3; left: 0; right: 0; top: 50%; margin: 0; padding: 0 var(--gutter);
  transform: translateY(calc(min(44vw, 62svh) * .39 + 1vh - clamp(4.5rem, 12vh, 7rem) / 2 + .6rem)); text-align: center; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--osso);
  font-size: clamp(1.35rem, 1rem + 2vw, 2.6rem); line-height: 1.2; text-shadow: 0 2px 18px rgba(0,0,0,.6);
  opacity: calc(1 - var(--p, 0) * 5); animation: h2-fade 1.1s var(--ease) .55s both;
}
.h2.h2-static .h2-line { display: none; }
@keyframes h2-fade { from { opacity: 0; } }
/* tela vertical: mostra a foto inteira, com a própria foto desfocada preenchendo o resto */
@media (max-aspect-ratio: 4/5) { .h2-photo img { object-fit: contain; } }
@keyframes h2-rise { from { opacity: 0; transform: translateY(18%); } }
.h2-stick::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.8) 100%); opacity: var(--copy, 0); }
.h2-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(28px, 6vw, 72px); max-width: var(--max); margin: 0 auto; opacity: var(--copy, 0); transform: translateY(calc((1 - var(--copy, 0)) * 24px)); pointer-events: none; }
.h2-copy.on { pointer-events: auto; }
.h2-cue { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: var(--fs-s); color: rgba(243,241,236,.75); opacity: calc(1 - var(--p, 0) * 6); }
.h2-cue::after { content: ""; display: block; width: 1px; height: 28px; margin: 8px auto 0; background: currentColor; animation: h2-cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes h2-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* sem animação: mostra direto a foto com o título */
.h2.h2-static { height: auto; }
.h2.h2-static .h2-stick { position: relative; top: 0; height: calc(100svh - var(--head-h)); min-height: 520px; }
.h2.h2-static .h2-mask, .h2.h2-static .h2-cue { display: none; }
.h2.h2-static .h2-copy { opacity: 1; transform: none; pointer-events: auto; }
.h2.h2-static .h2-stick::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .h2-word span, .h2-line { animation: none; } }
.h2-word.replay span { animation: none; }
