/* ============================================================
   FORTE DAS JOIAS — estilo do site
   Cores e fontes ficam no bloco :root logo abaixo.
   ============================================================ */

:root {
  --preto: #0b0b0c;
  --grafite: #18181a;
  --branco: #ffffff;
  --creme: #f7f4ee;
  --areia: #ece6da;
  --ouro: #c9a45c;
  --ouro-claro: #e6cf9a;
  --ouro-escuro: #8c6a2c;
  --texto: #1b1b1c;
  --texto-suave: #6d675e;
  --linha: #e3ddd1;
  --borda: #cfc7b8;
  --erro: #a3341f;

  --serifa: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --largura: 1240px;
  --lateral: 16px;
  --altura-cabecalho: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--altura-cabecalho) + 12px); }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; color: var(--texto);
  background: var(--creme); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--preto); color: var(--branco); padding: 10px 16px; }
.pular:focus { left: 8px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 1px solid transparent;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-ouro { background: var(--ouro); color: var(--preto); }
.btn-ouro:hover { background: var(--ouro-claro); }
.btn-escuro { background: var(--preto); color: var(--branco); }
.btn-escuro:hover { background: var(--grafite); color: var(--ouro-claro); }
.btn-contorno-claro { border-color: rgba(230, 207, 154, .6); color: var(--ouro-claro); }
.btn-contorno-claro:hover { background: var(--ouro); color: var(--preto); }
.btn-bloco { width: 100%; min-height: 54px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-icone { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.btn-icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icone-whats { fill: currentColor !important; stroke: none !important; }
.icone-linha { fill: none; stroke: currentColor; stroke-width: 1.6; }

.bolha {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--ouro); color: var(--preto); font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
.bolha-menu { position: static; display: inline-block; margin-left: 8px; vertical-align: 1px; }

/* ---------- faixa do topo ---------- */
.faixa-topo {
  display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--preto); color: var(--ouro-claro);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding: 9px var(--lateral); text-align: center;
}
.faixa-topo i { width: 4px; height: 4px; background: var(--ouro); transform: rotate(45deg); }
@media (max-width: 560px) { .faixa-topo { gap: 8px; font-size: 9.5px; letter-spacing: .14em; } }

/* ---------- cabeçalho ---------- */
.cabecalho {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.cabecalho-dentro {
  max-width: var(--largura); margin: 0 auto; height: var(--altura-cabecalho); padding: 0 calc(var(--lateral) - 8px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.cab-esq { display: flex; align-items: center; }
.cab-dir { display: flex; align-items: center; justify-content: flex-end; }
.marca { display: flex; align-items: center; justify-content: center; gap: 12px; }
.marca-icone { width: 38px; height: auto; }
.marca-nome { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.marca-forte { font-family: var(--serifa); font-weight: 600; font-size: 26px; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; }
.marca-joias {
  display: flex; align-items: center; gap: 7px; margin-top: 3px;
  font-size: 9px; font-weight: 500; letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; color: var(--ouro-escuro);
}
.marca-joias::before, .marca-joias::after { content: ""; width: 14px; height: 1px; background: var(--ouro); }
.nav-desktop { display: none; }
.btn-favs:hover, .btn-whats-topo:hover { color: var(--ouro-escuro); }
@media (max-width: 380px) {
  .marca { gap: 8px; }
  .marca-icone { width: 32px; }
  .marca-forte { font-size: 22px; letter-spacing: .26em; margin-right: -.26em; }
}
@media (min-width: 900px) {
  :root { --altura-cabecalho: 84px; --lateral: 32px; }
  .marca-icone { width: 50px; }
  .marca-forte { font-size: 32px; }
  .marca-joias { font-size: 10px; }
}
@media (min-width: 1100px) {
  .btn-menu { display: none; }
  .nav-desktop { display: flex; gap: 28px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
  .nav-desktop a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
  .nav-desktop a:hover { border-color: var(--ouro); }
}

/* ---------- menu lateral ---------- */
.menu-fundo { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s; }
.menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(86vw, 340px); background: var(--branco);
  padding: 12px 24px 32px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.menu-aberto .menu { transform: none; }
.menu-aberto .menu-fundo { opacity: 1; }
.menu-aberto { overflow: hidden; }
.menu-topo { display: flex; justify-content: space-between; align-items: center; margin-right: -10px; }
.menu-titulo { font-family: var(--serifa); font-size: 24px; font-weight: 600; }
.menu-rotulo { margin: 22px 0 4px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ouro-escuro); }
.menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: 15px; letter-spacing: .03em; }
.menu-whats { margin-top: 28px; flex: none; }

/* ---------- títulos de seção ---------- */
.secao-titulo { text-align: center; margin-bottom: 28px; }
.sobretitulo { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ouro-escuro); }
.secao-titulo h2 { margin-top: 8px; font-family: var(--serifa); font-weight: 500; font-size: clamp(32px, 7vw, 48px); letter-spacing: .02em; line-height: 1.1; }
.secao-intro { margin: 16px auto 0; max-width: 520px; font-weight: 300; line-height: 1.6; }
.ornamento {
  display: flex; align-items: center; justify-content: center; gap: 22px; height: 10px; margin-top: 14px;
  background: center / 9px 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M4 0L8 4 4 8 0 4z' fill='%23c9a45c'/%3E%3C/svg%3E");
}
.ornamento::before, .ornamento::after { content: ""; width: 48px; height: 1px; background: var(--ouro); }

/* ---------- carrossel ---------- */
.carrossel { position: relative; overflow: hidden; background: var(--preto); color: var(--branco); }
.slides { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); touch-action: pan-y; }
.slide {
  position: relative; flex: 0 0 100%; min-height: calc(100vw + 260px); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--lateral) 64px;
}
.slide-colecao { background: radial-gradient(ellipse 80% 55% at 50% 30%, #3a2f1a 0%, #141210 55%, var(--preto) 100%); }
.slide-fabricacao {
  background:
    linear-gradient(rgba(201, 164, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(201, 164, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(ellipse at 50% 30%, #1f2226, #0c0d0f 70%);
}
.slide-servicos { background: radial-gradient(ellipse 80% 55% at 50% 30%, #2d2217 0%, #120e0b 60%, var(--preto) 100%); }
.slide-marca-dagua { position: absolute; z-index: -1; width: 520px; max-width: none; opacity: .06; right: -150px; bottom: -80px; }
/* celular: foto ocupando a largura toda, escurecendo embaixo para o texto */
.slide-foto { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; aspect-ratio: 1; }
.slide-foto img { width: 100%; height: 100%; object-fit: cover; }
.slide-foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 12, 0) 52%, rgba(11, 11, 12, .82) 80%, var(--preto) 100%);
}
.slide-colecao .slide-marca-dagua { display: none; }
.slide-texto { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.slide-texto { position: relative; max-width: 520px; }
.slide-sobre { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ouro); display: flex; align-items: center; gap: 12px; }
.slide-sobre::before { content: ""; width: 28px; height: 1px; background: var(--ouro); }
.slide h1, .slide h2 { margin: 12px 0; font-family: var(--serifa); font-weight: 500; font-size: clamp(34px, 9vw, 64px); line-height: 1.02; }
.slide-texto > p:not(.slide-sobre) { color: rgba(255, 255, 255, .72); font-weight: 300; font-size: 15px; line-height: 1.6; max-width: 420px; }
.slide .btn { margin-top: 24px; }
.slide-texto > * { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.slide.ativo .slide-texto > * { opacity: 1; transform: none; }
.slide.ativo .slide-texto > :nth-child(2) { transition-delay: .1s; }
.slide.ativo .slide-texto > :nth-child(3) { transition-delay: .2s; }
.slide.ativo .slide-texto > :nth-child(4) { transition-delay: .3s; }
.carrossel-seta {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: var(--branco); transition: background .2s;
}
.carrossel-seta:hover { background: rgba(255, 255, 255, .18); }
.carrossel-seta svg { width: 20px; height: 20px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.seta-ant { left: 24px; }
.seta-prox { right: 24px; }
.pontos { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 4px; }
.pontos button { width: 36px; height: 24px; background: none; border: 0; padding: 0; display: grid; place-items: center; }
.pontos button::after { content: ""; width: 24px; height: 2px; background: rgba(255, 255, 255, .3); transition: background .3s, width .3s; }
.pontos button[aria-current="true"]::after { background: var(--ouro); width: 32px; }
@media (min-width: 900px) {
  .slide { min-height: 600px; justify-content: center; padding: 0 max(96px, calc((100vw - var(--largura)) / 2 + 32px)); }
  .slide-foto {
    left: auto; right: max(80px, calc((100vw - var(--largura)) / 2 + 40px)); top: 50%;
    width: 460px; height: 460px; aspect-ratio: auto; transform: translateY(-50%);
  }
  .slide-foto::after { display: none; }
  .slide-foto img { border: 1px solid rgba(201, 164, 92, .55); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
  .slide-colecao .slide-marca-dagua { display: block; }
  .slide-marca-dagua { width: 760px; right: auto; left: -180px; bottom: -160px; }
  .slide-texto { text-shadow: none; }
  .carrossel-seta { display: grid; }
  .slide-texto > p:not(.slide-sobre) { font-size: 17px; }
}

/* ---------- catálogo e cartões ---------- */
.catalogo { max-width: var(--largura); margin: 0 auto; padding: 56px var(--lateral) 64px; }
.filtros {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--lateral) * -1); padding: 2px var(--lateral) 6px; scroll-snap-type: x proximity;
}
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  flex: 0 0 auto; scroll-snap-align: start; min-height: 42px; padding: 0 20px; background: transparent; border: 1px solid var(--borda);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s;
}
.filtro:hover { border-color: var(--preto); }
.filtro[aria-pressed="true"] { background: var(--preto); border-color: var(--preto); color: var(--branco); }
@media (min-width: 900px) { .filtros { justify-content: center; } }
.contador { margin: 18px 0 14px; font-size: 13px; color: var(--texto-suave); letter-spacing: .04em; }

.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 720px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1100px) { .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.produto { position: relative; display: flex; flex-direction: column; animation: surgir .45s both; }
@keyframes surgir { from { opacity: 0; transform: translateY(10px); } }
.produto-foto { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3efe7 55%, var(--areia) 100%); }
.produto-foto .desenho, .produto-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.produto-foto .desenho { padding: 14%; filter: drop-shadow(0 8px 14px rgba(70, 50, 20, .18)); }
.produto:hover .produto-foto .desenho, .produto:hover .produto-foto img { transform: scale(1.06); }
.selo { position: absolute; top: 0; left: 0; z-index: 1; background: var(--preto); color: var(--branco); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; }
.produto-info { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.produto-nome { font-family: var(--sans); font-weight: 400; font-size: 14px; line-height: 1.35; letter-spacing: .02em; }
.produto-nome a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.produto-nome a:focus-visible { outline: none; }
.produto:has(.produto-nome a:focus-visible) { outline: 2px solid var(--ouro); outline-offset: 4px; }
.produto-material { margin-top: 4px; font-size: 12px; color: var(--texto-suave); }
.produto-preco { margin: 10px 0 0; font-size: 16px; font-weight: 600; letter-spacing: .01em; }
.produto-tag { align-self: flex-start; margin-top: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-escuro); border-bottom: 1px solid var(--ouro); padding-bottom: 1px; }
.consulte { font-size: 13px; font-weight: 500; color: var(--ouro-escuro); letter-spacing: .04em; }
.btn-quero {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--preto);
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s;
}
.produto-info > :nth-last-child(2) { margin-bottom: 14px; }
.produto:hover .btn-quero { background: var(--preto); color: var(--branco); }

.btn-fav {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--preto); transition: background .2s, color .2s;
}
.btn-fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.btn-fav:hover { background: var(--branco); color: var(--ouro-escuro); }
.btn-fav[aria-pressed="true"] { color: var(--ouro-escuro); }
.btn-fav[aria-pressed="true"] svg { fill: var(--ouro); stroke: var(--ouro-escuro); }
.btn-fav.pulsar svg { animation: pulsar .35s; }
@keyframes pulsar { 50% { transform: scale(1.3); } }
.btn-fav-grande { top: 12px; right: 12px; width: 48px; height: 48px; }
.btn-fav-grande svg { width: 24px; height: 24px; }

/* ---------- crie o seu ---------- */
.crie { background: var(--branco); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.crie-dentro { max-width: var(--largura); margin: 0 auto; padding: 56px var(--lateral); display: grid; gap: 28px; align-items: center; }
.crie-arte { aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f3efe7 60%, var(--areia) 100%); }
.crie-arte .desenho { width: 100%; height: 100%; padding: 8%; filter: drop-shadow(0 10px 18px rgba(70, 50, 20, .2)); }
.crie-texto { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.crie-texto h2 { font-family: var(--serifa); font-weight: 500; font-size: clamp(32px, 7vw, 46px); line-height: 1.08; }
.crie-texto > p:not(.sobretitulo) { font-weight: 300; line-height: 1.65; color: var(--texto-suave); }
.crie-texto .btn { align-self: flex-start; margin-top: 4px; }
@media (min-width: 900px) {
  .crie-dentro { grid-template-columns: 1fr 1fr; gap: 72px; padding-top: 80px; padding-bottom: 80px; }
  .crie-arte { margin: 0 0 0 auto; }
}

/* ---------- serviços ---------- */
.servicos { max-width: var(--largura); margin: 0 auto; padding: 24px var(--lateral) 72px; }
.servicos-lista { display: grid; gap: 14px; }
@media (min-width: 900px) { .servicos-lista { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.servico {
  display: flex; flex-direction: column; height: 100%; padding: 28px 24px; background: var(--branco);
  border: 1px solid var(--linha); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.servico:hover { border-color: var(--ouro); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(60, 40, 10, .08); }
.servico-icone { width: 52px; height: 52px; fill: none; stroke: var(--ouro-escuro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.servico h3 { font-family: var(--serifa); font-weight: 600; font-size: 26px; }
.servico p { margin: 8px 0 18px; font-weight: 300; line-height: 1.6; color: var(--texto-suave); }
.servico-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.servico-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s; }
.servico:hover .servico-link svg { transform: translateX(4px); }

/* ---------- oficina ---------- */
.oficina {
  color: var(--branco); padding: 72px var(--lateral);
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #2a2117, var(--preto) 70%);
}
.oficina-dentro { max-width: var(--largura); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.oficina .sobretitulo { color: var(--ouro); }
.oficina .secao-intro { color: rgba(255, 255, 255, .7); }
.etapas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin: 16px 0 44px; width: 100%; counter-reset: etapa; }
@media (min-width: 900px) { .etapas { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.etapa { text-align: center; display: flex; flex-direction: column; align-items: center; }
.etapa svg {
  width: 88px; height: 88px; padding: 18px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 50%; margin-bottom: 14px;
  fill: none; stroke: var(--ouro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.etapa-num { font-size: 11px; letter-spacing: .3em; color: var(--ouro); }
.etapa h3 { margin: 4px 0 6px; font-family: var(--serifa); font-weight: 500; font-size: 26px; }
.etapa p { font-size: 14px; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .68); max-width: 220px; }

/* ---------- páginas internas ---------- */
.pagina { min-height: 50vh; }
.hero-pagina {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 48px var(--lateral) 36px; max-width: 760px; margin: 0 auto;
}
.hero-pagina h1 { margin: 10px 0 12px; font-family: var(--serifa); font-weight: 500; font-size: clamp(36px, 9vw, 60px); line-height: 1.05; }
.hero-pagina > p:not(.sobretitulo) { font-weight: 300; font-size: 16px; line-height: 1.65; color: var(--texto-suave); max-width: 560px; margin: 0 auto; }
.hero-escuro { max-width: none; background: radial-gradient(ellipse 70% 80% at 50% 0%, #3a2f1a, var(--preto) 75%); color: var(--branco); padding: 64px var(--lateral) 120px; }
.hero-escuro .sobretitulo { color: var(--ouro); }
.hero-escuro > p:not(.sobretitulo) { color: rgba(255, 255, 255, .72); }
.hero-marca-dagua { position: absolute; z-index: -1; width: 420px; max-width: none; left: 50%; top: 20px; transform: translateX(-50%); opacity: .07; }

.cartao-form {
  position: relative; max-width: 720px; margin: 0 auto; background: var(--branco); border: 1px solid var(--linha);
  padding: 28px 20px; display: flex; flex-direction: column; gap: 22px;
}
.hero-escuro + .cartao-form { margin-top: -84px; box-shadow: 0 24px 60px rgba(30, 20, 5, .12); }
@media (min-width: 760px) { .cartao-form { padding: 40px 44px; } }
@media (max-width: 759px) { .cartao-form { margin-left: var(--lateral); margin-right: var(--lateral); } }

.campo { display: flex; flex-direction: column; gap: 8px; }
.campo-rotulo, .opcao legend { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.campo-rotulo em, .opcao legend em { font-style: normal; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--texto-suave); }
.campo-destaque .campo-rotulo { font-family: var(--serifa); font-size: 26px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.2; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--branco); border: 1px solid var(--borda); border-radius: 0;
  font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.campo textarea { resize: vertical; line-height: 1.55; }
.campo select { background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231b1b1c' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ouro-escuro); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25); }
.campo ::placeholder { color: #a59e92; }
.campos-duplos { display: grid; gap: 22px; }
@media (min-width: 600px) { .campos-duplos { grid-template-columns: 1fr 1fr; } }
.erro { color: var(--erro); font-size: 13px; }
.com-erro input, .com-erro select, .com-erro textarea { border-color: var(--erro); }
.com-erro legend, .com-erro .campo-rotulo { color: var(--erro); }
.nota { font-size: 13px; color: var(--texto-suave); line-height: 1.5; }
.link-guia { color: var(--ouro-escuro); border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: .06em; text-transform: none; font-weight: 500; }
.aviso-foto { padding: 14px 16px; background: var(--creme); border-left: 2px solid var(--ouro); font-size: 14px; line-height: 1.55; }
.dicas-descricao { font-size: 14px; line-height: 1.6; color: var(--texto-suave); margin-top: -8px; }
.dicas-descricao summary { cursor: pointer; color: var(--ouro-escuro); font-weight: 500; }
.dicas-descricao p { margin-top: 8px; }

/* opções (chips, cores) */
.opcao { display: flex; flex-direction: column; gap: 12px; }
.opcao legend { float: left; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; padding: 0; }
.opcao legend + * { clear: both; }
.opcao legend strong { font-weight: 500; color: var(--ouro-escuro); letter-spacing: .06em; }
.opcao-ajuda { font-size: 13px; color: var(--texto-suave); line-height: 1.5; margin-top: -4px; }
.chips { display: grid; gap: 8px; }
.chips-aro { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
.chips-texto { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.chip { position: relative; display: block; cursor: pointer; }
.chip input, .cor input, .aba input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--borda);
  background: var(--branco); font-size: 14px; text-align: center; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover span { border-color: var(--preto); }
.chip input:checked + span { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.chip input:focus-visible + span, .cor input:focus-visible + .cor-bola, .aba input:focus-visible + span { outline: 2px solid var(--ouro); outline-offset: 2px; }
.chip-largo span { font-size: 13px; }
.cores { display: flex; gap: 20px; }
.cor { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.cor-bola { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 0 0 3px var(--branco), 0 0 0 4px transparent; transition: box-shadow .2s; }
.cor input:checked + .cor-bola { box-shadow: 0 0 0 3px var(--branco), 0 0 0 4px var(--preto); }
.cor-amarelo { background: linear-gradient(135deg, #fff3c9, #e8c97f 40%, #bf9142 75%, #7a5a22); }
.cor-branco { background: linear-gradient(135deg, #ffffff, #ecebe6 40%, #bdb9b0 75%, #6f6b63); }
.cor-rose { background: linear-gradient(135deg, #ffe9df, #eab59d 40%, #c27f66 75%, #7c4636); }
.par-aros { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.par-aros .campo-rotulo { font-size: 11px; color: var(--texto-suave); }

.gravacao-previa {
  height: 64px; border-radius: 999px; display: grid; place-items: center; overflow: hidden; padding: 0 28px;
  background: linear-gradient(180deg, #fff3c9 0%, #e8c97f 30%, #bf9142 70%, #7a5a22 100%);
  box-shadow: inset 0 6px 10px rgba(0, 0, 0, .25), inset 0 -3px 6px rgba(255, 255, 255, .4);
}
.gravacao-previa span {
  font-family: var(--serifa); font-style: italic; font-weight: 600; font-size: 24px; white-space: nowrap;
  color: rgba(70, 45, 10, .82); text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}
.gravacao-previa[data-metal="branco"], .gravacao-previa[data-metal="prata"] { background: linear-gradient(180deg, #ffffff 0%, #ecebe6 30%, #bdb9b0 70%, #6f6b63 100%); }
.gravacao-previa[data-metal="branco"] span, .gravacao-previa[data-metal="prata"] span { color: rgba(50, 50, 50, .75); }
.gravacao-previa[data-metal="rose"] { background: linear-gradient(180deg, #ffe9df 0%, #eab59d 30%, #c27f66 70%, #7c4636 100%); }
.gravacao-previa[data-metal="rose"] span { color: rgba(90, 35, 20, .8); }
.contador-letras { align-self: flex-end; font-size: 12px; color: var(--texto-suave); margin-top: -4px; }

/* ---------- página da joia ---------- */
.trilha { max-width: var(--largura); margin: 0 auto; padding: 16px var(--lateral); display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--texto-suave); }
.trilha a:hover { color: var(--texto); text-decoration: underline; }
.trilha [aria-current] { color: var(--texto); }
.pdp { max-width: var(--largura); margin: 0 auto; padding: 0 var(--lateral) 56px; display: grid; gap: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } .pdp-galeria { position: sticky; top: calc(var(--altura-cabecalho) + 16px); } }
@media (max-width: 899px) { .pdp-galeria { margin: 0 calc(var(--lateral) * -1); } }
.pdp-galeria { position: relative; }
.galeria-desenho, .galeria-item { aspect-ratio: 1; background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3efe7 55%, var(--areia) 100%); }
.galeria-desenho .desenho { width: 100%; height: 100%; padding: 12%; filter: drop-shadow(0 12px 20px rgba(70, 50, 20, .2)); }
.galeria-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galeria-trilho::-webkit-scrollbar { display: none; }
.galeria-item { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; cursor: zoom-in; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; }
.galeria-miniaturas { display: flex; gap: 8px; margin-top: 8px; padding: 0 var(--lateral); }
.galeria-miniaturas button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--linha); background: none; }
.galeria-miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.pdp-galeria .selo { top: 12px; left: 12px; }
.pdp-info h1 { margin: 8px 0 6px; font-family: var(--serifa); font-weight: 500; font-size: clamp(32px, 7vw, 46px); line-height: 1.08; }
.pdp-material { color: var(--texto-suave); font-size: 14px; }
.pdp-preco { margin-top: 16px; font-size: 26px; font-weight: 600; }
.pdp-preco .consulte { font-size: 18px; }
.pdp-aviso { margin-top: 6px; font-size: 12.5px; color: var(--texto-suave); }
.pdp-descricao { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--linha); font-weight: 300; line-height: 1.7; }
.pdp-form { margin-top: 24px; display: flex; flex-direction: column; gap: 26px; }
.pdp-form-titulo { font-family: var(--serifa); font-weight: 600; font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--linha); }
.pdp-nota { text-align: center; font-size: 12.5px; color: var(--texto-suave); margin-top: -14px; }
.pdp-garantias { margin-top: 32px; display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.pdp-garantias li { background: var(--creme); padding: 14px 16px 14px 40px; font-size: 13px; color: var(--texto-suave); line-height: 1.5; position: relative; }
.pdp-garantias li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 8px; height: 8px; background: var(--ouro); transform: rotate(45deg); }
.pdp-garantias strong { display: block; color: var(--texto); font-weight: 500; font-size: 13.5px; }
.relacionados { max-width: var(--largura); margin: 0 auto; padding: 24px var(--lateral) 72px; border-top: 1px solid var(--linha); }
.relacionados .secao-titulo { margin-top: 32px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 8, .94); display: grid; place-items: center; padding: 56px 12px 12px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-fechar { position: absolute; top: 8px; right: 8px; color: var(--branco); }

/* ---------- guia de aro ---------- */
.medidor { gap: 24px; }
.abas { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--preto); }
.aba { cursor: pointer; }
.aba span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: center; transition: background .2s, color .2s; }
.aba input:checked + span { background: var(--preto); color: var(--branco); }
.metodo { display: flex; flex-direction: column; gap: 20px; }
.metodo-arte { width: 100%; max-width: 300px; margin: 0 auto; }
.arte-metal { fill: none; stroke: var(--ouro); stroke-width: 10; }
.arte-fundo { fill: var(--creme); }
.arte-cota, .arte-fio { fill: none; stroke: var(--preto); stroke-width: 1.5; }
.arte-fio { stroke: var(--erro); stroke-width: 2.4; }
.arte-fio-tras { stroke-dasharray: 4 4; opacity: .5; }
.arte-dedo { fill: #efe4d4; stroke: #c8b59a; }
.arte-marca { fill: var(--preto); }
.arte-texto { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-anchor: middle; fill: var(--texto-suave); }
.passos { counter-reset: passo; display: grid; gap: 10px; }
.passos li { counter-increment: passo; position: relative; padding-left: 36px; line-height: 1.55; }
.passos li::before {
  content: counter(passo); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--ouro); color: var(--ouro-escuro); font-size: 12px; display: grid; place-items: center;
}
.resultado { text-align: center; padding: 24px 16px; background: var(--preto); color: var(--branco); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.resultado-rotulo { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-claro); }
.resultado-numero { font-family: var(--serifa); font-size: 84px; line-height: 1; font-weight: 500; margin-bottom: 12px; }
.resultado-alerta { color: var(--ouro-claro); line-height: 1.6; }
.bloco-texto { max-width: 720px; margin: 0 auto; padding: 48px var(--lateral) 0; }
.bloco-texto:last-child { padding-bottom: 72px; }
.bloco-texto h2 { font-family: var(--serifa); font-weight: 500; font-size: 32px; margin-bottom: 16px; }
.dicas { display: grid; gap: 10px; }
.dicas li { position: relative; padding-left: 22px; line-height: 1.6; font-weight: 300; }
.dicas li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--ouro); transform: rotate(45deg); }
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--linha); background: var(--branco); }
.tabela-aros { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.tabela-aros th, .tabela-aros td { padding: 10px 12px; border-bottom: 1px solid var(--linha); }
.tabela-aros thead th { background: var(--preto); color: var(--branco); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tabela-aros tbody th { font-weight: 600; }
.tabela-aros tbody tr:nth-child(even) { background: var(--creme); }
.bloco-texto .nota { margin-top: 10px; }

/* ---------- como funciona ---------- */
.como-funciona { max-width: var(--largura); margin: 0 auto; padding: 64px var(--lateral) 72px; text-align: center; }
.como-funciona h2 { font-family: var(--serifa); font-weight: 500; font-size: clamp(30px, 6vw, 40px); margin-bottom: 32px; }
.como-funciona ol { display: grid; gap: 28px; }
@media (min-width: 760px) { .como-funciona ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.como-funciona li { display: flex; flex-direction: column; align-items: center; }
.como-funciona li > span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ouro); display: grid; place-items: center; font-family: var(--serifa); font-size: 22px; color: var(--ouro-escuro); margin-bottom: 12px; }
.como-funciona h3 { font-family: var(--serifa); font-weight: 600; font-size: 24px; margin-bottom: 6px; }
.como-funciona p { font-weight: 300; line-height: 1.6; color: var(--texto-suave); max-width: 280px; }

/* ---------- favoritos e vazio ---------- */
.favoritos { max-width: var(--largura); margin: 0 auto; padding: 8px var(--lateral) 72px; }
.favoritos-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 24px; border-top: 1px solid var(--linha); margin-bottom: 8px; }
.favoritos-acoes .contador { margin: 0; }
@media (max-width: 559px) { .favoritos-acoes .btn { width: 100%; } }
.vazio { max-width: 460px; margin: 0 auto; padding: 40px var(--lateral) 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vazio h1, .vazio h2 { font-family: var(--serifa); font-weight: 500; font-size: 32px; }
.vazio p { font-weight: 300; line-height: 1.6; color: var(--texto-suave); margin-bottom: 12px; }
.vazio-icone { width: 48px; height: 48px; fill: none; stroke: var(--ouro); stroke-width: 1.2; }

/* ---------- rodapé ---------- */
.rodape { background: var(--preto); color: rgba(255, 255, 255, .78); }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; padding: 56px var(--lateral) 40px; display: grid; gap: 36px; }
.rodape-marca { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--branco); }
.rodape-marca img { width: 84px; margin-bottom: 14px; }
.rodape-marca .marca-forte { font-size: 30px; }
.rodape-marca .marca-joias { color: var(--ouro); justify-content: center; }
.rodape-coluna { text-align: center; }
.rodape-coluna h3 { margin-bottom: 14px; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ouro); }
.rodape-coluna p, .rodape-coluna li { font-size: 15px; line-height: 1.75; font-weight: 300; }
.rodape-coluna li a:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 4px; }
.rodape-coluna p + p { margin-top: 6px; }
.link-sublinhado { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--branco); border-bottom: 1px solid var(--ouro); padding-bottom: 3px; }
.rodape-contato { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 300; padding: 6px 0; }
.rodape-contato svg { width: 20px; height: 20px; color: var(--ouro); flex: none; }
.rodape-contato:hover { color: var(--branco); }
.rodape-final { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 20px var(--lateral) 88px; font-size: 11.5px; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
@media (min-width: 600px) and (max-width: 1099px) {
  .rodape-dentro { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .rodape-dentro { grid-template-columns: 1.2fr repeat(4, 1fr); padding-top: 72px; align-items: start; }
  .rodape-marca { align-items: flex-start; text-align: left; }
  .rodape-coluna { text-align: left; }
  .rodape-contato { justify-content: flex-start; }
  .rodape-final { padding-bottom: 24px; }
}

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--preto); color: var(--ouro-claro); border: 1px solid rgba(201, 164, 92, .5); box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s;
}
.whats-flutuante:hover { transform: scale(1.06); background: var(--grafite); }
.whats-flutuante svg { width: 28px; height: 28px; }
body[data-pagina="produto"] .whats-flutuante, body[data-pagina="alianca"] .whats-flutuante, body[data-pagina="ouro"] .whats-flutuante { display: none; }

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

.grade-vazia { grid-column: 1 / -1; padding: 32px 0; text-align: center; color: var(--texto-suave); line-height: 1.6; }
