/* ============ TOKENS ============ */
:root {
  --bg-void: #050403;
  --bg-panel: #0e0b07;
  --bg-panel-2: #17130c;
  --gold-deep: #9c7a2e;
  --gold: #c9a227;
  --gold-bright: #e8c766;
  --ink: #f5f1e6;
  --ink-muted: #9c9585;
  --line: rgba(232, 199, 102, 0.14);
  --radius: 4px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Brilho/glow — usados nos textos, bordas e cartões "iluminados" */
  --glow-soft: rgba(232, 199, 102, 0.22);
  --glow-strong: rgba(232, 199, 102, 0.45);
  --text-glow: 0 0 18px rgba(232, 199, 102, 0.35), 0 0 44px rgba(201, 162, 39, 0.18);
  --card-glow: 0 12px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(232,199,102,0.05);
  --card-glow-hover: 0 20px 48px rgba(0,0,0,0.65), 0 0 32px rgba(232,199,102,0.16), 0 0 0 1px rgba(232,199,102,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ============ AURA AMBIENTE ============
   Camada fixa e decorativa atrás de TODO o conteúdo: blobs dourados bem
   desfocados que derivam lentamente pela tela, dando profundidade ao fundo
   preto sem nunca competir com o conteúdo (z-index negativo, sem
   pointer-events). Mesmo recurso em todas as páginas do site. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55vw 55vw at 12% -8%, rgba(232,199,102,0.10), transparent 60%),
    radial-gradient(ellipse 45vw 45vw at 105% 18%, rgba(201,162,39,0.09), transparent 62%),
    radial-gradient(ellipse 60vw 60vw at 50% 115%, rgba(232,199,102,0.07), transparent 65%);
  animation: derivarAura 22s ease-in-out infinite alternate;
}
@keyframes derivarAura {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}
main, header, footer, section, .newsletter { position: relative; z-index: 1; }

/* ============ REVELAR AO ROLAR ============
   Qualquer elemento com [data-reveal] começa invisível/deslocado e
   "aparece" quando entra na tela (ver iniciarRevelacoes() no main.js).
   data-reveal="up"    -> sobe suavemente
   data-reveal="left"  -> desliza vindo da esquerda
   data-reveal="right" -> desliza vindo da direita */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(28px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(232,199,102,0.55);
  margin: 0 0 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  box-shadow: 0 0 8px rgba(232,199,102,0.7);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

/* Títulos de seção ganham um brilho suave "atrás" da letra — como se
   houvesse uma luz âmbar por trás do texto, sem virar um contorno óbvio. */
.colecao-head h2,
.sobre-texto h2,
.newsletter-texto h3 {
  text-shadow: 0 0 30px rgba(232,199,102,0.16);
}

em { font-style: normal; color: var(--gold-bright); text-shadow: 0 0 14px rgba(232,199,102,0.4); }

/* ============ TOPBAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(3,2,1,0.9), rgba(3,2,1,0));
  backdrop-filter: blur(6px);
}
/* Usado em páginas sem hero atrás do menu (ex: trocas-e-devoluções). O
   degradê acima é pensado pra ficar sobre o vídeo/imagem do hero — em
   páginas de texto puro, como não há nada escuro o bastante embaixo dele
   pra sempre, o conteúdo passava "por trás" do menu ao rolar a tela, dando
   uma aparência de sobreposição/bug. Aqui o fundo fica sólido o tempo
   todo, sem depender do que está por trás. */
.topbar-solido {
  background: var(--bg-void);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.wordmark span {
  display: block;
  font-size: 0.6em;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: 0.35em;
}

.pillnav {
  display: flex;
  gap: 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}
.pill {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}
.pill:hover { color: var(--ink); }
.pill.is-active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 80%);
  color: #1a1509;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(232,199,102,0.35);
}
.pill-inicio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pill-icone {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
}
.cart-btn span {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold-bright);
  color: #1a1509;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.topbar-acoes {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--gold-deep); color: var(--gold-bright); }

.menu-btn { display: none; }

.conta-btn { position: relative; }
.conta-indicador {
  position: absolute;
  top: -2px; right: -2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--bg-void);
}

@media (max-width: 720px) {
  .pillnav { display: none; }
  .menu-btn { display: flex; }
}

/* ============ MENU MOBILE ============
   z-index 55: tem que ficar ACIMA do .overlay-carrinho (z-index 50), senão o
   overlay escuro fica por cima dos links e captura o toque antes dele chegar
   no link — foi exatamente esse o bug dos botões "Início/Coleção/Sobre/
   Contato" não funcionarem no mobile: o clique fechava o menu (por causa do
   listener do overlay) em vez de navegar para a seção. */
.menu-mobile {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  padding: 5.5rem 1.4rem 1.4rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.menu-mobile.aberto { transform: translateY(0); }
.menu-mobile-link {
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.menu-mobile-link:last-child { border-bottom: none; }

/* ============ BUSCA (overlay central) ============ */
.busca-modal {
  position: fixed;
  top: clamp(1rem, 6vh, 4rem);
  left: 50%;
  transform: translateX(-50%) scale(0.97);
  width: min(600px, 92vw);
  max-height: 80vh;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 70;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.busca-modal.aberto { display: flex; }
.busca-modal-topo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}
.busca-modal-topo input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.busca-modal-topo input::placeholder { color: var(--ink-muted); }
.busca-modal-topo button {
  background: none; border: none; color: var(--ink-muted);
  font-size: 1.5rem; line-height: 1;
}
.busca-resultados { overflow-y: auto; padding: 0.6rem 1.2rem 1.2rem; }
.busca-resultado {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.busca-resultado:last-child { border-bottom: none; }
.busca-resultado img { width: 46px; height: 58px; object-fit: cover; border-radius: 3px; }
.busca-resultado .nome { font-size: 0.9rem; margin: 0 0 0.2rem; }
.busca-resultado .preco { color: var(--gold-bright); font-size: 0.85rem; font-weight: 600; }

/* ============ HERO ============
   Troque o arquivo public/images/site/hero-bg.jpg (e/ou hero-bg.mp4)
   para usar as fotos/vídeos da sua loja. Ver README. */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-panel) center/cover;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* No mobile a tela é estreita e alta, então o "cover" corta as bordas da
   imagem e mostra só a faixa central — por isso aparecia só a logomarca no
   meio, sem o boneco/modelo que fica mais para a direita na foto.
   .hero-media-mobile é uma <img> separada, feita só para telas pequenas
   (ver comentário no HTML/JS), então dá pra ajustar o enquadramento dela sem
   afetar o vídeo/imagem do desktop. Ajuste o valor de object-position abaixo
   (0% = mostra a borda esquerda da foto, 100% = mostra a borda direita) até
   o boneco ficar visível, ou simplesmente suba um arquivo
   public/images/site/hero-bg-mobile.jpg já recortado do jeito que quiser
   (o site usa ele automaticamente no celular se ele existir). */
.hero-media-mobile { object-position: 75% center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3,2,1,0.98) 5%, rgba(3,2,1,0.4) 55%, rgba(3,2,1,0.68) 100%);
}
/* Vinheta extra nas bordas do hero — aprofunda o preto sem escurecer o
   centro onde fica o texto/produto em destaque. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
  max-width: 760px;
}

/* Troca vídeo (desktop) por imagem estática (mobile) no hero. Vídeo em loop
   custa dados/bateria no celular e, sem enquadramento próprio, é a causa do
   corte errado da imagem — por isso no mobile usamos uma <img> separada, que
   pode ter seu próprio recorte (ver .hero-media-mobile acima). */
.hero-media-mobile { display: none; }
@media (max-width: 720px) {
  .hero-media-desktop { display: none; }
  .hero-media-mobile { display: block; }
}
.hero {
  z-index: 2; /* fica acima da aura ambiente, atrás só do próprio brilho do hero */
}
.hero h1 {
  position: relative;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  color: var(--ink);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

/* Passe o cursor sobre o texto para revelar o dourado — e mesmo parado,
   o texto já mantém uma auréola suave atrás dele (drop-shadow, que segue
   a forma exata das letras, ao contrário de text-shadow em texto
   "transparente com clip"). */
.reveal-gold {
  background: radial-gradient(circle 260px at var(--mx, 30%) var(--my, 50%),
    var(--gold-bright) 0%, var(--gold-bright) 35%, #5c5647 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background 0.05s linear;
  filter: drop-shadow(0 0 26px rgba(232,199,102,0.35));
  animation: respirarGlow 4.5s ease-in-out infinite;
}
@keyframes respirarGlow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(232,199,102,0.28)); }
  50% { filter: drop-shadow(0 0 36px rgba(232,199,102,0.48)); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-gold { animation: none; }
}
.hero-sub {
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
}

.btn-gold {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 70%);
  color: #1a1509;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  box-shadow: 0 0 0 rgba(232,199,102,0);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(232, 199, 102, 0.35), 0 0 40px rgba(232,199,102,0.18);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:active { transform: translateY(0) scale(0.98); }

/* ============ NÚMEROS ============ */
.numeros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem);
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numero-item {
  text-align: center;
  position: relative;
}
.numero-item + .numero-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: var(--line);
}
.numero-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(232,199,102,0.35);
  font-variant-numeric: tabular-nums;
}
.numero-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
@media (max-width: 720px) {
  .numeros { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .numero-item:nth-child(2n+1)::before { display: none; }
}

/* ============ SOBRE ============
   Troque public/images/site/marca-banner.png pela arte da sua loja/produção
   (aceita fundo transparente — o quadro abaixo já tem um brilho dourado de
   "palco" atrás pra combinar com o resto do site). */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.2rem, 4vw, 3rem);
  background: var(--bg-void);
}
.sobre-imagem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  aspect-ratio: 4/5;
  background: radial-gradient(circle at 50% 42%, rgba(232,199,102,0.14), transparent 68%), var(--bg-panel);
  border-radius: 12px;
  overflow: hidden;
}
.sobre-imagem::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  right: 14px; bottom: 14px;
  border: 1px solid var(--gold-deep);
  border-radius: 8px;
  z-index: 0;
  box-shadow: 0 0 60px rgba(232,199,102,0.08);
  pointer-events: none;
}
/* Brilho suave "respirando" atrás da arte — reforça a sensação de vitrine
   iluminada em vez de imagem solta num quadro. */
.sobre-imagem::after {
  content: '';
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,199,102,0.22), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  animation: respirarBrilhoSobre 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes respirarBrilhoSobre {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50% { transform: scale(1.05); opacity: 1; }
}
.sobre-imagem img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55));
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
}
.sobre-imagem:hover img { transform: scale(1.035) translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .sobre-imagem::after { animation: none; }
}
.sobre-texto h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: 1rem;
}
.sobre-texto p {
  color: var(--ink-muted);
  max-width: 46ch;
}
/* ============ COLEÇÃO ============ */
.colecao {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.2rem, 4vw, 3rem) clamp(5rem, 10vw, 7rem);
  background: var(--bg-void);
}
.colecao-head { margin-bottom: 1.8rem; }
.colecao-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.colecao-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.busca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--ink-muted);
  min-width: 220px;
}
.busca input {
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
}
.busca input::placeholder { color: var(--ink-muted); }

.abas-categoria {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aba {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.aba:hover { color: var(--ink); border-color: var(--gold-deep); }
.aba.is-active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #1a1509;
  font-weight: 600;
}
.sem-resultado { color: var(--ink-muted); grid-column: 1 / -1; }

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
}
.carregando { color: var(--ink-muted); }

.card-produto {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--card-glow);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
}
.card-produto:hover {
  border-color: var(--gold-deep);
  transform: translateY(-6px);
  box-shadow: var(--card-glow-hover);
}
.card-produto .foto-caixa { position: relative; overflow: hidden; }
.card-produto .foto {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--bg-panel-2);
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1), filter 0.6s ease;
}
.card-produto:hover .foto { transform: scale(1.08); filter: brightness(1.05); }
/* Brilho diagonal que "varre" a foto ao passar o mouse — reforça a
   sensação de peça premium sem depender de imagem extra. */
.card-produto .foto-caixa::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(232,199,102,0.16) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.card-produto:hover .foto-caixa::after { transform: translateX(120%); }
.card-produto .ver-produto {
  position: absolute;
  left: 0.8rem; bottom: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(5,4,3,0.75);
  border: 1px solid rgba(232,199,102,0.4);
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.card-produto:hover .ver-produto { opacity: 1; transform: translateY(0); }
.card-produto .info { padding: 1rem 1.1rem 1.2rem; }
.card-produto h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}
.card-produto .preco {
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.card-produto .sem-estoque {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

/* No celular, "auto-fill, minmax(240px, 1fr)" só cabia 1 card por linha
   (240px x 2 já estoura a largura de qualquer iPhone/Android comum), o que
   deixava cada peça enorme. Duas colunas é o padrão esperado nesse formato
   de grade em telas pequenas. */
@media (max-width: 640px) {
  .grid-produtos { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .card-produto .info { padding: 0.7rem 0.7rem 0.9rem; }
  .card-produto h4 { font-size: 0.82rem; }
  .card-produto .preco, .card-produto .sem-estoque { font-size: 0.82rem; }
}

/* ============ PÁGINA DE PRODUTO ============ */
.pagina-produto {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(6.5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}
.breadcrumb {
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span:last-child { color: var(--ink); }

.produto-detalhe {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  /* "align-items: start" evita que o grid estique a coluna da foto até a
     altura da coluna de texto (que costuma ser bem mais alta) — era isso
     que fazia o object-fit: cover cortar boa parte da imagem. */
  align-items: start;
}
.produto-galeria {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  /* O "sticky" agora é na GALERIA INTEIRA (foto + miniaturas), não só na
     foto. Antes só a foto grande tinha position:sticky — ao rolar a
     página, ela ficava "grudada" no topo enquanto as miniaturas (que
     ficavam soltas, fora do sticky) continuavam subindo por trás dela,
     dando a impressão de que a foto "engolia" as miniaturas. Com a
     galeria toda sticky, foto e miniaturas sobem e param juntas. */
  position: sticky;
  top: clamp(5.5rem, 9vw, 7rem);
}
.produto-foto {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  /* Sem aspect-ratio fixo e sem object-fit: cover: cada produto tem uma
     foto com proporção diferente, então "encaixar" tudo num formato fixo
     sempre cortava pedaço de alguma foto. Deixando a altura livre (auto)
     a imagem aparece INTEIRA, do jeito que ela é. */
  position: relative;
  cursor: zoom-in;
}
.produto-foto img { width: 100%; height: auto; display: block; }
/* A foto principal "chega" com um leve zoom + fade ao ser renderizada,
   reforçando a sensação de abrir uma experiência dedicada ao produto
   (a cortina já cobre esse instante, então a entrada aparece suave logo
   que ela se abre). */
.produto-foto-img { animation: entrarFotoProduto 0.8s cubic-bezier(.22,.61,.36,1) both; }
@keyframes entrarFotoProduto {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .produto-foto-img { animation: none; }
}
.produto-foto-zoom-dica {
  position: absolute;
  right: 0.7rem; bottom: 0.7rem;
  background: rgba(10,9,8,0.72);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  display: flex; align-items: center; gap: 0.35rem;
  pointer-events: none;
}

.produto-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.produto-thumb {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-panel);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.produto-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.produto-thumb:hover { border-color: var(--gold-bright); }
.produto-thumb.ativo { border-color: var(--gold-bright); box-shadow: 0 0 14px rgba(232,199,102,0.35); }

.produto-galeria { border-radius: 6px; }
.produto-foto { transition: box-shadow 0.3s ease; box-shadow: var(--card-glow); }
.produto-foto:hover { box-shadow: var(--card-glow-hover); }

.produto-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}
.produto-preco {
  color: var(--gold-bright);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.produto-esgotado { margin-bottom: 1rem; }
.produto-descricao {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  white-space: pre-line;
}
.produto-bloco { margin-bottom: 1.4rem; }
.produto-bloco-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.qtd-controle-produto {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.qtd-controle-produto button {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.1rem;
  width: 22px;
  cursor: pointer;
}
.btn-produto-adicionar {
  width: 100%;
  margin-bottom: 1.8rem;
}
.btn-produto-adicionar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.frete-caixa {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.frete-linha {
  display: flex;
  gap: 0.6rem;
}
.frete-linha input {
  flex: 1;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.frete-linha input::placeholder { color: var(--ink-muted); }
.btn-frete {
  background: var(--gold-bright);
  color: #1a1509;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.frete-msg {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0.6rem 0 0;
}
.frete-msg.erro { color: #e08a6b; }
.frete-opcao {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}
.frete-opcao strong { display: block; font-size: 0.9rem; }
.frete-opcao span { color: var(--ink-muted); font-size: 0.78rem; }
.frete-preco { color: var(--gold-bright) !important; font-size: 1rem; }

/* Opções de frete dentro do carrinho (radio real, escolhido depois de
   calcular pelo CEP) — reaproveita o visual de .frete-opcao acima, mas
   como <label> clicável com o radio nativo à esquerda. */
#freteOpcoes .frete-opcao {
  cursor: pointer;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
#freteOpcoes .frete-opcao:has(input:checked) { border-color: var(--gold-bright); }
#freteOpcoes .frete-opcao input[type="radio"] { accent-color: var(--gold-bright); flex-shrink: 0; }
#freteOpcoes .frete-opcao span { flex: 1; color: var(--ink); }

.campo-cep-linha { display: flex; gap: 0.5rem; }
.campo-cep-linha input { flex: 1; }
.campo-cep-linha .btn-frete { padding: 0 1rem; }

.similares {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.similares h3 { margin-bottom: 1.4rem; font-size: 1.2rem; }

@media (max-width: 780px) {
  .produto-detalhe { grid-template-columns: 1fr; }
  .produto-galeria { position: static; }
  .produto-thumbs { grid-template-columns: repeat(5, 1fr); }
}

/* ============ ZOOM DA FOTO (lightbox em tela cheia) ============ */
.foto-zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(5,4,3,0.94);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 2.5rem 1rem;
  touch-action: pinch-zoom;
}
.foto-zoom-overlay.aberto { opacity: 1; pointer-events: auto; }
.foto-zoom-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-out;
  touch-action: pinch-zoom;
}
.foto-zoom-fechar {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ============ NEWSLETTER ============ */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.2rem, 4vw, 3rem);
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
}
.newsletter-texto { max-width: 480px; }
.newsletter-texto h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  min-width: 240px;
}
.newsletter-form input::placeholder { color: var(--ink-muted); }
.newsletter-form .btn-gold { border: none; }
.newsletter-nota { font-size: 0.82rem; color: var(--ink-muted); margin: 0.6rem 0 0; }
.newsletter-nota button {
  background: none; border: none; color: var(--gold-bright);
  font-family: inherit; font-size: inherit; text-decoration: underline; padding: 0;
}

/* ============ RODAPÉ ============ */
.rodape {
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.2rem, 4vw, 3rem) 1.5rem;
}
.rodape-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}
.rodape-marca p { color: var(--ink-muted); font-size: 0.85rem; margin-top: 0.8rem; max-width: 32ch; }
.rodape-coluna h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin: 0 0 0.9rem;
}
.rodape-coluna { display: flex; flex-direction: column; gap: 0.6rem; }
.rodape-coluna a { color: var(--ink-muted); font-size: 0.88rem; transition: color 0.2s; }
.rodape-coluna a:hover { color: var(--gold-bright); }

.rodape-pagamento {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.selos-pagamento { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.selo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  color: var(--ink-muted);
  transition: border-color 0.2s, color 0.2s;
}
.selo svg { flex-shrink: 0; }
.selo-pix:hover { border-color: #32bcad; color: #32bcad; }
.selo-visa:hover { border-color: #5c9ee8; color: #5c9ee8; }
.selo-master:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.selo-elo:hover { border-color: #e08a6b; color: #e08a6b; }

.rodape-legal {
  color: var(--ink-muted);
  font-size: 0.78rem;
  margin-top: 0;
}

@media (max-width: 720px) {
  .rodape-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; min-width: 0; }
}

/* ============ TOAST (avisinho de confirmação) ============ */
.eklyps-toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 20px);
  z-index: 100;
  background: var(--gold-bright);
  color: #1a1509;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(90vw, 420px);
  text-align: center;
}
.eklyps-toast.visivel {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ CONTA (login/cadastro/área logada) ============ */
.campo {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.campo input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.campo input:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(232,199,102,0.12);
}
.conta-tela form .btn-gold { width: 100%; text-align: center; border: none; margin-top: 0.2rem; }
.conta-tela { animation: entrarTelaConta 0.35s cubic-bezier(.22,.61,.36,1); }
@keyframes entrarTelaConta {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.conta-msg { font-size: 0.8rem; min-height: 1.2em; margin: 0 0 0.6rem; color: #e08a6b; }
.conta-troca { font-size: 0.85rem; color: var(--ink-muted); margin-top: 1.2rem; text-align: center; }
.conta-troca button {
  background: none; border: none; color: var(--gold-bright);
  font-family: inherit; font-size: inherit; text-decoration: underline; padding: 0;
  text-shadow: 0 0 12px rgba(232,199,102,0.3);
}
.conta-saudacao { font-size: 0.95rem; margin-bottom: 1.4rem; }
.conta-saudacao strong { color: var(--gold-bright); text-shadow: 0 0 14px rgba(232,199,102,0.35); }
.conta-tela h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.pedido-item {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
  overflow: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.2s ease;
}
.pedido-item:hover { border-color: var(--gold-deep); }
.pedido-item.saindo { opacity: 0; transform: translateX(12px) scale(0.98); }
.pedido-item .pedido-topo { display: flex; justify-content: space-between; align-items: center; color: var(--ink-muted); font-size: 0.78rem; margin-bottom: 0.5rem; }
.pedido-item .pedido-rodape { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.pedido-item .pedido-valor { color: var(--gold-bright); font-weight: 600; }

.pedido-status {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}
.pedido-status-pendente { background: rgba(232,199,102,0.16); color: var(--gold-bright); }
.pedido-status-aprovado { background: rgba(127,174,122,0.16); color: #9bc79a; }
.pedido-status-recusado { background: rgba(224,138,107,0.16); color: #e08a6b; }

.pedido-cancelar {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.74rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pedido-cancelar:hover { color: #e08a6b; border-color: #e08a6b; background: rgba(224,138,107,0.08); }

.conta-sair {
  width: 100%;
  margin-top: 1.6rem;
  padding: 0.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
}
.conta-sair:hover { color: var(--ink); border-color: var(--gold-deep); }

/* ============ CARRINHO (drawer) ============ */
.overlay-carrinho {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  z-index: 50;
}
.overlay-carrinho.aberto { opacity: 1; pointer-events: auto; }

.carrinho {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-panel);
  border-left: 1px solid var(--line);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  /* O painel inteiro rola como uma coisa só (em vez de só a lista de itens)
     porque agora, com os campos de entrega, o conteúdo costuma ficar mais
     alto que a tela — sem isso o botão "Fechar pedido" ficava inacessível
     em celulares menores. */
  overflow-y: auto;
}
.carrinho.aberto { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.5); }

.carrinho-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem;
  position: sticky; top: 0;
  background: var(--bg-panel);
  padding-top: 0.1rem;
  z-index: 1;
}
.carrinho-head h3 { font-size: 1.15rem; text-shadow: 0 0 18px rgba(232,199,102,0.12); }
.carrinho-head button {
  background: none; border: none; color: var(--ink-muted);
  font-size: 1.6rem; line-height: 1;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.carrinho-head button:hover { color: var(--gold-bright); background: rgba(232,199,102,0.08); transform: rotate(90deg); }

.carrinho-itens { flex: 1; }

.carrinho-entrega {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.carrinho-entrega h4 { font-size: 0.9rem; margin-bottom: 0.8rem; }
.carrinho-entrega .campo { margin-bottom: 0.8rem; }
.carrinho-entrega .conta-msg { margin-bottom: 0; }
.carrinho-entrega .frete-msg { color: var(--gold-bright); margin: 0.4rem 0 0; }
.carrinho-vazio { color: var(--ink-muted); font-size: 0.9rem; }

.item-carrinho {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.item-carrinho img { width: 60px; height: 76px; object-fit: cover; border-radius: 3px; }
.item-carrinho .nome { font-size: 0.88rem; margin: 0 0 0.2rem; }
.item-carrinho .meta { font-size: 0.78rem; color: var(--ink-muted); }
.item-carrinho .qtd-controle { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.item-carrinho .qtd-controle button {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); background: none; color: var(--ink);
}
.item-carrinho .remover { color: var(--ink-muted); font-size: 0.75rem; background: none; border: none; text-decoration: underline; }

.carrinho-cupom { display: flex; gap: 0.5rem; margin-top: 1rem; }
.carrinho-cupom input {
  flex: 1; padding: 0.6rem 0.8rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-void); color: var(--ink);
}
.carrinho-cupom button {
  padding: 0.6rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--gold-deep); background: none; color: var(--gold-bright);
}
.cupom-msg { font-size: 0.8rem; min-height: 1.2em; margin: 0.4rem 0 0; }
.cupom-msg.erro { color: #e08a6b; }
.cupom-msg.ok { color: var(--gold-bright); }

.carrinho-totais { margin-top: 1.2rem; }
.linha-total { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.3rem 0; color: var(--ink-muted); }
.linha-total.desconto strong { color: var(--gold-bright); }
.linha-total.final { border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.7rem; font-size: 1.05rem; color: var(--ink); }
.btn-checkout { width: 100%; margin-top: 1.2rem; text-align: center; border: none; }

/* ============ MODAL PRODUTO ============ */
.modal-produto {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: min(640px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--card-glow-hover);
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.22,.61,.36,1);
}
.modal-produto.aberto { display: grid; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-produto img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 1.8rem; }
.modal-info h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.modal-info p { color: var(--ink-muted); font-size: 0.9rem; }
.modal-preco { color: var(--gold-bright) !important; font-size: 1.2rem; font-weight: 600; margin: 0.8rem 0 1.2rem !important; }
.modal-tamanhos { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tamanho-opcao {
  padding: 0.5rem 0.9rem; border-radius: 4px;
  border: 1px solid var(--line); background: none; color: var(--ink);
  font-size: 0.85rem;
}
.tamanho-opcao.selecionado { border-color: var(--gold-bright); color: var(--gold-bright); }
.modal-fechar {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.4); border: none; color: var(--ink); font-size: 1.3rem; z-index: 2;
}

@media (max-width: 720px) {
  .sobre { grid-template-columns: 1fr; }
  .modal-produto { grid-template-columns: 1fr; }
  .modal-produto img { aspect-ratio: 4/3; }
}

/* ============ PÁGINAS INSTITUCIONAIS (trocas, política, etc.) ============ */
.pagina-institucional {
  padding: clamp(6.5rem, 12vw, 8.5rem) clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
  background: var(--bg-void);
  min-height: 70vh;
  display: flex;
  justify-content: center;
}
.institucional-conteudo { max-width: 720px; width: 100%; margin: 0 auto; }
.institucional-conteudo h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 2rem;
}
.institucional-bloco { margin-bottom: 2rem; }
.institucional-bloco h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}
.institucional-bloco p, .institucional-bloco li {
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.institucional-bloco ul { padding-left: 1.2rem; margin: 0; }
.institucional-bloco li { margin-bottom: 0.4rem; }
.institucional-bloco strong { color: var(--ink); }

.pagina-simples {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-void);
}
.confirmacao {
  text-align: center;
  max-width: 480px;
  padding: 2rem;
}
.confirmacao h1 { font-size: 1.8rem; margin: 1.5rem 0 1rem; }
.confirmacao p { color: var(--ink-muted); }
.pedido-numero { color: var(--gold-bright) !important; font-weight: 600; }
.confirmacao .btn-gold { margin-top: 1.5rem; }

/* ============ CORTINA DE ENTRADA (página de produto) ============
   Cobre a tela por uma fração de segundo enquanto o produto carrega, com um
   brilho dourado pulsando atrás da marca — depois se abre revelando a
   página, em vez do conteúdo simplesmente "aparecer". */
.cortina-transicao {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.cortina-transicao.saindo {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}
.cortina-brilho {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,199,102,0.28) 0%, rgba(232,199,102,0.06) 45%, transparent 70%);
  animation: pulsarBrilho 2.4s ease-in-out infinite;
  filter: blur(2px);
}
.cortina-marca {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0;
  animation: surgirMarca 0.8s cubic-bezier(.22,.61,.36,1) 0.15s forwards;
}
.cortina-marca span { color: var(--gold-bright); text-shadow: 0 0 20px rgba(232,199,102,0.6); }
@keyframes pulsarBrilho {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes surgirMarca {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* Dois anéis dourados finos girando em velocidades opostas atrás da marca —
   o mesmo tipo de ornamento "premium" de telas de carregamento com forte
   identidade visual, sem pesar no carregamento (puro CSS). */
.cortina-anel {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}
.cortina-anel-1 {
  width: 34vmin; height: 34vmin;
  border-top-color: rgba(232,199,102,0.55);
  border-right-color: rgba(232,199,102,0.15);
  animation: girarAnel 3.2s linear infinite;
}
.cortina-anel-2 {
  width: 44vmin; height: 44vmin;
  border-bottom-color: rgba(232,199,102,0.3);
  border-left-color: rgba(232,199,102,0.08);
  animation: girarAnel 4.6s linear infinite reverse;
}
@keyframes girarAnel { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cortina-transicao { transition: opacity 0.2s linear; }
  .cortina-brilho, .cortina-marca { animation: none; opacity: 1; }
  .cortina-anel { display: none; }
}

/* ============ BRILHOS ATRÁS DA GALERIA DE FOTOS ============
   Dois blobs de cor suaves e desfocados atrás da foto do produto, pra dar
   profundidade e um toque "vivo" ao fundo bem escuro, sem competir com a
   foto em si. */
.produto-galeria { /* já é position: sticky (ver regra original) — isso já serve de referência pros brilhos absolutos abaixo */ }
.galeria-brilho {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.galeria-brilho-1 {
  width: 55%;
  aspect-ratio: 1;
  top: -12%;
  left: -14%;
  background: radial-gradient(circle, rgba(232,199,102,0.5), transparent 70%);
  animation: flutuarBrilho 9s ease-in-out infinite;
}
.galeria-brilho-2 {
  width: 45%;
  aspect-ratio: 1;
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(201,162,39,0.4), transparent 70%);
  animation: flutuarBrilho 11s ease-in-out infinite reverse;
}
@keyframes flutuarBrilho {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.08); }
}
.produto-foto, .produto-thumbs { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .galeria-brilho { animation: none; }
}

/* Vinheta bem sutil na página de produto — deixa o fundo, que já é bem
   escuro, ainda mais "profundo" nas bordas sem ficar visivelmente diferente
   do resto do site. */
.pagina-produto { position: relative; }
.pagina-produto::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,199,102,0.05), transparent 55%);
}

/* Crossfade suave ao trocar a foto principal (miniatura/hover) */
.produto-foto-img {
  transition: opacity 0.16s ease;
}
.produto-foto-img.trocando { opacity: 0; }

/* Miniaturas com leve "vida" ao passar o mouse */
.produto-thumb {
  transition: border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}
.produto-thumb:hover { transform: translateY(-2px); }

/* Zoom em tela cheia entra com um leve "pop" em vez de só aparecer */
.foto-zoom-overlay img {
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.22,.61,.36,1);
}
.foto-zoom-overlay.aberto img { transform: scale(1); }

/* Preço com um brilho sutil passando por cima do texto */
.produto-preco {
  background: linear-gradient(100deg, var(--gold-bright) 40%, #fff6dc 50%, var(--gold-bright) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brilharPreco 5s ease-in-out infinite;
}
@keyframes brilharPreco {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .produto-preco { animation: none; }
}

/* Botão de adicionar ao carrinho: pulso dourado + troca de texto ao clicar */
.btn-produto-adicionar { transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease; }
.btn-produto-adicionar:active { transform: scale(0.98); }
.btn-produto-adicionar.adicionado {
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(232,199,102,0.22);
  animation: pulsoAdicionado 0.5s ease;
}
@keyframes pulsoAdicionado {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
