/* Mostruário de joias — estilo do site público */
:root {
  --offwhite: #FAF9F6;
  --ivory: #F4F0E9;
  --cream: #EFE7DB;
  --champagne: #D6C6AD;
  --ink: #252525;
  --gold: #B69A70;
  --gold-text: #8C6E44; /* dourado mais escuro, legível em texto pequeno */
  --muted: #6A645C;
  --line: rgba(37, 37, 37, .1);
  --radius: 6px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --top-h: 80px;       /* linha do logotipo */
  --catbar-h: 44px;    /* barra de categorias */
  --header-h: calc(var(--top-h) + var(--catbar-h));
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--offwhite); padding: 10px 16px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Tipografia ---------- */
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.08; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; }
.lead { font-size: 1rem; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.eyebrow { font-size: .68rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.eyebrow.gold { color: var(--gold-text); }
.eyebrow.center { text-align: center; font-weight: 500; color: var(--ink); margin-bottom: 1.6rem; }
.eyebrow a:hover { color: var(--ink); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  min-height: 48px; padding: 0 1.8em; border-radius: 2px;
  font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { font-size: 1rem; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { background: var(--ink); color: var(--offwhite); }
.btn-dark { background: var(--ink); color: var(--offwhite); }
.btn-dark:hover { background: #000; }
.btn-gold { border-color: var(--gold); color: var(--offwhite); }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-block { width: 100%; }

.link-arrow, .link-play { display: inline-flex; align-items: center; gap: .7em; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.link-arrow svg { font-size: 1rem; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-play svg { font-size: 1.5rem; stroke-width: 1; transition: color .3s; }
.link-play:hover svg { color: var(--gold-text); }
.link-quiet { display: inline-block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .3s; }
.link-quiet:hover { color: var(--gold-text); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 249, 246, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--top-h); max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; justify-self: start; }
.logo-mark { color: var(--gold); font-size: 1.05rem; margin-bottom: 4px; }
.logo-mark svg { stroke-width: 1.1; }
.logo-word { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.logo-sub { font-size: .5rem; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.main-nav { display: flex; gap: clamp(22px, 3.4vw, 48px); }
.main-nav a { font-size: .86rem; font-weight: 400; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; border-radius: 50%; transition: background-color .3s; }
.icon-btn:hover { background: var(--ivory); }
/* Barra de categorias com submenus */
.cat-bar { height: var(--catbar-h); border-top: 1px solid var(--line); }
.cat-bar > ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1280px; height: 100%; display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); }
.cat-bar li { position: relative; }
.cat-bar > ul > li { display: flex; align-items: center; }
.cat-bar > ul > li > a { font-size: .66rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: #4a4640; padding: 13px 0; position: relative; transition: color .3s; }
.cat-bar > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.cat-bar > ul > li:hover > a, .cat-bar > ul > li > a[aria-current] { color: var(--ink); }
.cat-bar > ul > li:hover > a::after, .cat-bar > ul > li > a[aria-current]::after { transform: scaleX(1); }
.cat-bar .sub {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 200px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(37, 37, 37, .06);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cat-bar .has-sub:hover .sub, .cat-bar .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.cat-bar .sub a { display: block; padding: 7px 18px; font-size: .84rem; color: var(--muted); white-space: nowrap; transition: color .2s, background-color .2s; }
.cat-bar .sub a:hover { color: var(--ink); background: var(--ivory); }
.cat-bar .sub li:first-child a { color: var(--gold-text); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle .bars { top: 16px; }
.menu-toggle .bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-open .menu-toggle .bars { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::before { top: 0; transform: rotate(-90deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 40; background: var(--offwhite); padding: 32px var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; animation: fade .35s var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1.3; }
.mobile-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.mobile-cats .eyebrow { grid-column: 1 / -1; margin: 0; }
.mobile-cats a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #4a4640; }
.menu-open { overflow: hidden; }
.menu-open .site-header { transform: none; }

main { min-height: 60vh; }

/* ---------- Revelar na rolagem ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Home: abertura ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--offwhite) 0%, var(--offwhite) 34%, var(--cream) 100%); }
/* Slides empilhados na mesma célula; a foto cobre a abertura inteira, inclusive o rodapé com os diferenciais */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; }
/* A foto se dissolve à esquerda (texto) e embaixo (diferenciais e controles), seja qual for a imagem enviada */
.hero-media { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.06); transition: transform 8s linear;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.is-active .hero-media img { transform: none; }
.hero-inner { position: relative; z-index: 1; min-height: clamp(400px, 58vh, 560px); display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 8px; }
.hero-content { max-width: 470px; }
.hero-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(32px, 6vh, 56px); }
.hero-foot .trust { margin-top: clamp(32px, 5vh, 56px); }
.hero-controls { display: flex; align-items: center; gap: 4px; margin-left: auto; padding-bottom: 6px; }
.hero-arrow { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; border-radius: 50%; transition: background-color .3s; }
.hero-arrow:hover { background: rgba(250, 249, 246, .7); }
.hero-arrow:first-child svg { transform: scaleX(-1); }
.hero-dots { display: flex; gap: 8px; padding: 0 8px; }
.hero-dots button { width: 34px; height: 24px; position: relative; }
.hero-dots button::before, .hero-dots span { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(37, 37, 37, .18); }
.hero-dots span { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-dots [aria-current] span { transform: scaleX(1); }
.hero.is-playing .hero-dots [aria-current] span { animation: progress var(--hero-delay, 7s) linear both; }
.hero.is-paused .hero-dots [aria-current] span { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pause { width: 40px; height: 40px; position: relative; border-radius: 50%; transition: background-color .3s; }
.hero-pause:hover { background: rgba(250, 249, 246, .7); }
.hero-pause i { position: absolute; left: 16px; top: 15px; width: 8px; height: 10px; border-left: 1.5px solid; border-right: 1.5px solid; }
.hero-pause[aria-pressed="true"] i { left: 17px; width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid; border-right: 0; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: .45em; }
.hero-title em { font-style: normal; color: var(--gold-text); }
.hero-sub { font-size: 1rem; color: #4a4640; max-width: 26em; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.trust { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: flex; flex-wrap: wrap; animation: rise 1.2s .45s var(--ease) both; }
.trust li, .services li { display: flex; align-items: flex-start; gap: 12px; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.trust li { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); max-width: 220px; }
.trust li:last-child { border-right: 0; margin-right: 0; }
.trust svg, .services svg { flex: none; font-size: 1.7rem; color: var(--gold); stroke-width: 1.1; }
.trust strong, .services strong { display: block; color: var(--ink); font-weight: 500; font-size: .82rem; margin-bottom: 2px; }

/* ---------- Seções ---------- */
.section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(24px, 3vw, 40px); }
.section-tight { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
.section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head .eyebrow { margin-bottom: .5rem; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cat-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--ivory); transition: transform .5s var(--ease); }
.cat-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px 20px; }
.cat-name { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); transition: color .3s; }
.cat-card:hover .cat-link { color: var(--gold-text); }

/* ---------- Cartões de peça ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s; }
.card:hover { border-color: var(--champagne); }
.card-media { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ivory); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.04); }
.card:hover .card-media.has-alt img:not(.alt) { opacity: 0; }
.card:hover .card-media.has-alt img.alt { opacity: 1; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--sans); font-weight: 400; font-size: .92rem; line-height: 1.35; margin-bottom: 4px; }
.card-meta { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.card-link svg { transition: transform .35s var(--ease); }
.card:hover .card-link svg { transform: translateX(3px); }
.img-empty { position: absolute; inset: 0; background: var(--ivory); }

/* Banner de coleção */
.banner { display: grid; grid-template-columns: 1.15fr 1fr .8fr; align-items: stretch; background: #151413; color: var(--offwhite); border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.banner-media, .banner-side { position: relative; overflow: hidden; }
.banner-media img, .banner-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-media img { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.banner-side img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); opacity: .9; }
.banner-text { padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.banner-text .eyebrow.gold { color: var(--gold); }
.banner-text .h2 { margin-bottom: .45em; color: #fff; }
.banner-text p:not(.eyebrow) { color: rgba(250, 249, 246, .78); font-size: .9rem; max-width: 24em; margin-bottom: 1.6em; }

/* Diferenciais */
.services { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 72px); }
.services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.services li { padding: 6px 24px; border-left: 1px solid var(--line); }
.services li:first-child { border-left: 0; padding-left: 0; }

/* ---------- Catálogo ---------- */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head .h1 { margin-bottom: .3em; }
.page-head.with-cover { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.page-head.with-cover p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 32em; }
.page-head-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }

.catalog-bar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(250, 249, 246, .97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px; transition: top .45s var(--ease); }
.header-hidden .catalog-bar { top: 0; }
.cat-tabs { display: flex; gap: clamp(16px, 2.4vw, 34px); overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; padding: 18px 0 16px; font-size: .84rem; color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cat-tabs a:hover { color: var(--ink); }
.cat-tabs a[aria-current] { color: var(--ink); border-color: var(--gold); }
.sub-tabs { order: 3; flex-basis: 100%; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.sub-tabs .chip span { padding: 5px 14px; font-size: .78rem; }
.filters { order: 4; }
.catalog-tools { display: flex; align-items: center; gap: 24px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 40px; padding: 4px 16px; background: #fff; transition: border-color .3s; }
.search:focus-within { border-color: var(--ink); }
.search svg { font-size: 1.05rem; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; font: inherit; font-size: .88rem; color: var(--ink); width: 180px; outline: none; padding: 6px 0; }
.search input::placeholder { color: var(--muted); }
.filter-toggle { font-size: .84rem; padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; }
.filter-toggle::after { content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease); }
.filter-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.filters { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; padding: 22px 0 26px; border-top: 1px solid var(--line); animation: fade .35s var(--ease); }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 16px; font-size: .82rem; border: 1px solid var(--line); border-radius: 40px; background: #fff; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--offwhite); }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.filters-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 24px; align-items: center; }

.catalog { padding-top: 24px; padding-bottom: clamp(64px, 8vw, 110px); }
.result-count { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.empty { text-align: center; padding: 72px 0; }
.empty .h3 { margin-bottom: .4em; }
.card.is-entering { animation: rise .6s var(--ease) both; }

/* ---------- Página da peça ---------- */
.preview-note { background: var(--champagne); text-align: center; font-size: .8rem; padding: 10px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: .8rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.piece { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }

.gallery { position: relative; min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--ivory); border-radius: var(--radius); }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.zoom-area { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; display: block; }
.zoom-area img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); will-change: transform; }
.zoom-area.is-zooming img { transform: scale(2); transition: transform .35s var(--ease); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.thumb { aspect-ratio: 1; overflow: hidden; border-radius: 4px; border: 1px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s; background: var(--ivory); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-selected="true"] { opacity: 1; }
.thumb[aria-selected="true"] { border-color: var(--gold); }
.gallery-counter { display: none; }

.piece-info { min-width: 0; }
.piece-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.piece-title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: .2em; }
.ref { font-size: .82rem; color: var(--muted); margin-bottom: 1.8rem; }
.piece-desc { max-width: 32em; margin-bottom: 1.8rem; }
.piece-desc p { color: #4a4640; }
.specs { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .82rem; color: var(--muted); }
.specs dd { margin: 0; }
.details { margin-bottom: 2rem; }
.details ul { margin: 0; padding: 0; list-style: none; }
.details li { position: relative; padding-left: 20px; margin-bottom: .4em; }
.details li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px; background: var(--gold); }
.assist { font-size: .82rem; text-align: center; margin-top: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--offwhite); display: flex; align-items: center; justify-content: center; animation: fade .3s var(--ease); }
.lb-stage { position: absolute; inset: 0; overflow: auto; display: flex; align-items: center; justify-content: center; cursor: zoom-in; touch-action: pan-x pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-stage.is-zoomed { display: block; cursor: zoom-out; }
.lb-stage.is-zoomed img { max-width: none; max-height: none; width: 220%; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(250, 249, 246, .85); border-radius: 50%; }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--muted); margin: 0; pointer-events: none; }

.related { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Sobre ---------- */
.about-hero-text { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); }
.about-hero-text .h1 { max-width: 13em; margin-bottom: .4em; }
.about-hero-media { height: clamp(300px, 60vh, 620px); overflow: hidden; border-radius: var(--radius); }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(56px, 7vw, 100px); }
.chapter.reverse .chapter-media { order: 2; }
.chapter-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); border-radius: var(--radius); }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-text { max-width: 30em; }
.chapter-text .eyebrow { color: var(--gold-text); }
.chapter-text .h2 { margin-bottom: .6em; }
.chapter-text p:not(.eyebrow) { color: var(--muted); }
.quote { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(24px, 3vw, 40px); }
.quote blockquote { margin: 0 auto; max-width: 780px; text-align: center; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; }
.quote footer { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cta-band { margin-top: clamp(40px, 5vw, 64px); margin-bottom: clamp(56px, 7vw, 96px); background: var(--ivory); border-radius: var(--radius); text-align: center; padding: clamp(40px, 5vw, 64px) 24px; }
.cta-band .h2 { margin-bottom: .8em; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); align-items: start; }
.contact .h1 { margin-bottom: .35em; }
.contact-list { margin: 2.4rem 0; border-top: 1px solid var(--line); }
.contact-list div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.contact-list dt { margin: 0; padding-top: 3px; }
.contact-list dd { margin: 0; font-size: 1rem; }
.contact-list a:hover { color: var(--gold-text); }
.contact-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }

.notfound { padding-top: clamp(72px, 10vw, 150px); padding-bottom: clamp(72px, 10vw, 150px); text-align: center; }
.notfound .lead { margin: 0 auto 2em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ivory); padding-top: clamp(48px, 6vw, 72px); font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: clamp(40px, 5vw, 56px); }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .muted { max-width: 20em; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1rem; transition: border-color .3s, color .3s; }
.social a:hover { border-color: var(--gold); color: var(--gold-text); }
.footer-title { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col a { color: var(--muted); transition: color .3s; }
.footer-col a:hover { color: var(--ink); }
.footer-contact .muted { margin-bottom: 4px; }
.footer-wa { display: flex !important; align-items: center; gap: 10px; width: 100%; max-width: 300px; border: 1px solid var(--line); background: #fff; border-radius: 2px; padding: 11px 14px; color: var(--ink) !important; }
.footer-wa span { flex: 1; }
.footer-wa svg { font-size: 1.05rem; }
.footer-wa:hover { border-color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 22px; font-size: .76rem; color: var(--muted); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1fr 1fr; }
  .banner-side { display: none; }
  .trust li { padding-right: 18px; margin-right: 18px; }
}
@media (max-width: 900px) {
  :root { --top-h: 68px; --catbar-h: 0px; }
  .cat-bar { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .logo-word { font-size: 1.15rem; }
  .logo-mark { font-size: .9rem; margin-bottom: 3px; }
  .hero { background: var(--offwhite); }
  .hero-media { position: relative; width: 100%; height: 56vw; max-height: 420px; -webkit-mask-image: none; mask-image: none; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero-inner { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .hero-foot { position: static; display: block; }
  .hero-foot .trust { margin-top: 32px; }
  /* No celular os controles ficam sobre o pé da foto */
  .hero-controls { position: absolute; z-index: 2; right: calc(var(--gutter) - 8px); top: calc(min(56vw, 420px) - 52px); padding: 0; }
  .hero-arrow { display: none; }
  .trust { flex-direction: column; gap: 16px; }
  .trust li { border: 0; padding: 0; margin: 0; max-width: none; }
  .cat-grid, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cat-grid .cat-card:last-child:nth-child(odd) .cat-media { aspect-ratio: 2 / 1; }
  .services ul { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .services li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .page-head.with-cover, .chapter, .contact { grid-template-columns: 1fr; }
  .chapter.reverse .chapter-media { order: 0; }
  .contact-media { position: static; }
  .piece { grid-template-columns: 1fr; gap: 28px; }
  .piece .gallery { margin: 0 calc(var(--gutter) * -1); }
  .gallery-track { border-radius: 0; }
  .gallery-thumbs { display: none; }
  .gallery-counter { display: block; position: absolute; right: var(--gutter); bottom: 12px; margin: 0; font-size: .72rem; background: rgba(250, 249, 246, .9); padding: 3px 10px; border-radius: 20px; }
  .piece-sticky { position: static; }
  .zoom-area { cursor: pointer; }
  .catalog-bar { gap: 0; }
  .cat-tabs { flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .catalog-tools { flex-basis: 100%; justify-content: space-between; gap: 16px; padding: 10px 0 12px; border-top: 1px solid var(--line); }
  .search { flex: 1; }
  .sub-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .sub-tabs .chip { flex: none; }
  .search input { width: 100%; }
  .filters { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .banner { grid-template-columns: 1fr; }
  .banner-media { height: 220px; }
  .banner-media img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .banner-text { padding-top: 8px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: .86rem; }
  .card-meta { font-size: .72rem; }
  .services ul { grid-template-columns: 1fr; }
  .services li { border-left: 0; padding-left: 0; }
  .specs div, .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; }
  .lb-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* A contagem do slider continua valendo se a pessoa ligar a troca automática */
  .hero.is-playing .hero-dots [aria-current] span { animation-duration: var(--hero-delay, 7s) !important; }
}
