:root {
  --black: #0b0b0b;
  --black-soft: #161513;
  --gold: #c6a15b;
  --gold-light: #e3cd94;
  --gold-dark: #9c7d3f;
  --bg: #f6f1e7;
  --bg-soft: #fffdf9;
  --white: #ffffff;
  --text: #221e17;
  --text-soft: #6b6255;
  --shadow: 0 10px 30px rgba(11, 11, 11, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3, .brand-name, .eyebrow {
  font-family: 'Cinzel', Georgia, serif;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--bg-soft);
}

.main-nav a:hover { color: var(--gold); }

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 24px 24px;
  background: var(--black);
  border-top: 1px solid rgba(198, 161, 91, 0.2);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 15px;
  color: var(--bg-soft);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--gold);
  color: var(--black);
}

.btn-whatsapp:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-lg { padding: 15px 28px; font-size: 14px; }

.btn .icon { width: 18px; height: 18px; fill: currentColor; }

.btn-sm { padding: 8px 16px; font-size: 12px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: var(--black);
  color: var(--bg-soft);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(198,161,91,0.08) 49%, rgba(198,161,91,0.08) 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(198,161,91,0.08) 49%, rgba(198,161,91,0.08) 51%, transparent 52%);
  background-size: 90px 90px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}

.hero-title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600;
  color: var(--bg-soft);
  margin: 0 0 18px;
  line-height: 1.2;
}

.hero-title .accent { color: var(--gold); }

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-family: system-ui, sans-serif;
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section shared ---------- */

.section-title {
  font-size: clamp(26px, 4vw, 34px);
  color: var(--black);
  text-align: center;
  margin: 0 0 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-soft);
  margin: 0 0 40px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}

/* ---------- Catalog ---------- */

.catalog {
  padding: 80px 0;
  background: var(--bg);
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid rgba(11,11,11,0.15);
  color: var(--black);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-btn:hover { background: rgba(198,161,91,0.15); }

.filter-btn.active {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}

/* ---------- Showcase (featured spotlight) ---------- */

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 11, 11, 0.35);
  border: 1px solid rgba(198, 161, 91, 0.4);
  margin-bottom: 56px;
}

.showcase-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--black) 0%, var(--gold-dark) 100%);
}

.showcase-media > img,
.showcase-media > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.showcase-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 11, 11, 0.75);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.showcase-badge .crown { width: 13px; height: 13px; fill: var(--gold); }

.showcase-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--bg-soft);
}

.showcase-category {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0 0 10px;
}

.showcase-name {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--bg-soft);
  margin: 0 0 14px;
  line-height: 1.15;
}

.showcase-note {
  font-family: system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin: 0 0 28px;
  max-width: 420px;
}

.showcase-cta { align-self: flex-start; }

@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-media { aspect-ratio: 4 / 5; }
  .showcase-body { padding: 28px 26px; }
}

.category-group { margin-bottom: 56px; }

.category-group:last-child { margin-bottom: 0; }

.category-heading {
  font-size: 19px;
  color: var(--black);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(198,161,91,0.35);
}

.catalog-empty,
.catalog-error {
  grid-column: 1 / -1;
  text-align: center;
  font-family: system-ui, sans-serif;
  color: var(--text-soft);
  padding: 40px 0;
}

.card-media > img,
.card-media > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover { transform: translateY(-4px); }

.card-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--black) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-media .icon-gem {
  width: 46%;
  height: 46%;
  opacity: 0.85;
  fill: none;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1.4;
}

.card-media .placeholder-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.card-media .video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11,11,11,0.7);
  color: var(--gold-light);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- Media carousel (arrasta pro lado, tipo Instagram) ---------- */

.media-carousel {
  position: absolute;
  inset: 0;
}

.media-track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  /* deixa o toque arrastar na horizontal (carrossel) e na vertical (rolar a
     página) — o arrasto com mouse é tratado à parte no JS. */
  touch-action: pan-x pan-y;
  user-select: none;
}

.media-track:active { cursor: grabbing; }

.media-track::-webkit-scrollbar { display: none; }

.media-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

/* Moldura: foto/vídeo inteiro (contain) sobre um fundo com a mesma imagem
   desfocada — assim não sobra borda dura, tipo Instagram/Spotify. */
.media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0b0b;
}

/* Peça com uma mídia só: a moldura preenche todo o quadro do card/vitrine. */
.card-media > .media-frame,
.showcase-media > .media-frame {
  position: absolute;
  inset: 0;
}

.media-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(22px) brightness(0.6);
  pointer-events: none;
}

.media-fill {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Vídeo não dá pra "carimbar" o arquivo como nas fotos, então o brasão vai
   por cima como selo (branco, com sombra), no mesmo canto da marca das fotos. */
.media-mark {
  position: absolute;
  right: 4%;
  bottom: 4%;
  height: 14%;
  width: auto;
  opacity: 0.62;
  pointer-events: none;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.media-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.media-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.media-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-category {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
}

.card-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  font-family: 'Cinzel', serif;
}

.card-note {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-soft);
  margin: 2px 0 12px;
}

.card-cta {
  margin-top: auto;
  width: 100%;
}

/* ---------- About ---------- */

.about {
  padding: 80px 0;
  background: var(--bg-soft);
}

.about-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.about-pillar {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-pillar-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
}

.about-pillar h3 {
  font-size: 17px;
  color: var(--black);
  margin: 0 0 8px;
}

.about-pillar p {
  font-family: system-ui, sans-serif;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-bio {
  max-width: 720px;
  margin: 48px auto 0;
  font-family: system-ui, sans-serif;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--black);
  color: var(--bg-soft);
  padding: 80px 0;
  text-align: center;
}

.contact-title { color: var(--bg-soft); }

.contact-sub {
  font-family: system-ui, sans-serif;
  color: rgba(255,255,255,0.7);
  margin: 0 0 36px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .btn-outline {
  border-color: rgba(198,161,91,0.6);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #050505;
  color: rgba(255,255,255,0.55);
  padding: 20px 0;
  font-family: system-ui, sans-serif;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-admin-link { opacity: 0.5; font-size: 12px; }

.footer-admin-link:hover { opacity: 0.9; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
}
