/* =========================================================
   JV IMPORTS — Style Global (Mobile-First)
   Paleta de luxo: charcoal matte + dourado champanhe + ivory
   Tipografia: Cormorant Garamond (display) + Inter (sans)
   ========================================================= */

:root {
  --bg:            #0f0f10;
  --surface:       #18181a;
  --surface-2:     #1f1f22;
  --border:        rgba(255, 255, 255, 0.08);
  --text:          #f1ece2;
  --muted:         #9a9286;
  --gold:          #d4af37;
  --gold-soft:     #b8932f;
  --gold-glow:     rgba(212, 175, 55, 0.35);
  --radius:        14px;
  --shadow-luxe:   0 30px 60px -30px rgba(0, 0, 0, 0.8),
                   0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-gold:   0 10px 40px -10px var(--gold-glow);
  --font-display:  "Cormorant Garamond", Georgia, serif;
  --font-sans:     "Inter", system-ui, -apple-system, sans-serif;
  --safe-bottom:   env(safe-area-inset-bottom, 0px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top, rgba(45, 35, 20, 0.5), transparent 60%),
    radial-gradient(ellipse at bottom, #131314, transparent 70%);
  min-height: 100vh;
}
body.has-mobile-cta { padding-bottom: calc(80px + var(--safe-bottom)); }
@media (min-width: 720px) { body.has-mobile-cta { padding-bottom: 0; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 720px) { .container { padding-inline: 24px; } }

.muted { color: var(--muted); font-size: 14px; }

.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  margin: 28px auto;
  max-width: 220px;
}
.gold-divider.small { max-width: 80px; margin: 18px 0; }

/* =========== TOPBAR =========== */
.topbar {
  background: #181612;
  color: var(--gold);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 12px;
}
@media (min-width: 720px) {
  .topbar { font-size: 11px; letter-spacing: 0.25em; padding: 10px 16px; }
}

/* =========== HEADER =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 15, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1a;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.28em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
@media (min-width: 720px) {
  .header-inner { padding-block: 18px; gap: 24px; }
  .brand-logo { width: 42px; height: 42px; font-size: 18px; }
  .brand-name { font-size: 20px; letter-spacing: 0.3em; }
  .brand-tag { font-size: 9px; }
}

/* Search */
.search-wrap { padding-bottom: 14px; }
@media (min-width: 720px) {
  .search-wrap {
    padding: 0 24px 0 0;
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: min(360px, 40%);
  }
  .site-header > .container.search-wrap { display: none; } /* desktop search via header-inner version */
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: border-color 0.25s;
}
.search:focus-within { border-color: var(--gold-glow); color: var(--gold); }
.search input {
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 16px; /* >=16px previne zoom no iOS */
  color: var(--text);
}
.search input::placeholder { color: var(--muted); }

/* =========== HERO =========== */
.hero {
  text-align: center;
  padding: 40px 16px 24px;
}
@media (min-width: 720px) { .hero { padding: 70px 24px 40px; } }
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(28px, 8.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-inline: 4px;
}
@media (min-width: 720px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.4em; }
  .hero-sub { font-size: 15px; margin-top: 22px; }
}

/* =========== FILTROS (scroll horizontal no mobile) =========== */
.filters-wrap {
  position: sticky;
  top: 56px; /* abaixo da topbar+header no mobile */
  z-index: 30;
  background: rgba(15, 15, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-block: 12px;
}
@media (min-width: 720px) { .filters-wrap { position: static; background: transparent; border: 0; padding-block: 0; margin-bottom: 16px; } }

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 720px) {
  .filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    overflow: visible;
    margin: 24px auto 40px;
  }
}

.filter-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.25s ease;
  min-height: 38px;
}
@media (min-width: 720px) {
  .filter-btn { font-size: 12px; padding: 10px 18px; letter-spacing: 0.2em; }
}
.filter-btn:hover { color: var(--text); border-color: var(--gold-glow); }
.filter-btn.active {
  background: var(--gold);
  color: #15140f;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* =========== GRID DE PRODUTOS =========== */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; } }
@media (min-width: 1024px){ .grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.card {
  display: block;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  color: inherit;
}
@media (hover: hover) {
  .card:hover {
    border-color: var(--gold-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxe);
  }
}
.card:active { transform: scale(0.98); }

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.06); } }

.card-watermark {
  font-family: var(--font-display);
  font-size: clamp(40px, 14vw, 72px);
  color: rgba(212, 175, 55, 0.18);
  transition: color 0.4s;
  pointer-events: none;
}
.card-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(15,15,16,0.7);
  border: 1px solid var(--gold-glow);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 720px) {
  .card-badge { top: 12px; left: 12px; font-size: 9px; letter-spacing: 0.2em; padding: 4px 10px; }
}

.card-body { padding: 14px; }
@media (min-width: 720px) { .card-body { padding: 18px; } }

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  transition: color 0.3s;
  line-height: 1.2;
}
@media (min-width: 720px) { .card-title { font-size: 20px; } }
@media (hover: hover) { .card:hover .card-title { color: var(--gold); } }

.card-desc {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
@media (min-width: 720px) { .card-desc { font-size: 12px; margin-top: 6px; } }

.card-action {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 720px) {
  .card-action { margin-top: 18px; font-size: 10px; letter-spacing: 0.25em; }
}
.card-action .arrow { transition: transform 0.3s; font-size: 14px; }
@media (hover: hover) { .card:hover .card-action .arrow { transform: translateX(4px); } }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
}

/* =========== PÁGINA DO PRODUTO =========== */
.back-wrap { padding-top: 18px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.25s;
}
.back-link:hover, .back-link:active { color: var(--gold); }

.product-page {
  display: grid;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 40px;
}
@media (min-width: 960px) {
  .product-page {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding-top: 28px;
    padding-bottom: 80px;
  }
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}
@media (hover: hover) { .product-media:hover img { transform: scale(1.1); } }

.product-watermark {
  font-family: var(--font-display);
  font-size: clamp(80px, 30vw, 160px);
  color: rgba(212,175,55,0.1);
  pointer-events: none;
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(15,15,16,0.7);
  border: 1px solid var(--gold-glow);
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(8px);
}
@media (min-width: 720px) {
  .product-badge { top: 16px; left: 16px; font-size: 10px; letter-spacing: 0.25em; padding: 6px 12px; }
}

.product-info { padding-top: 4px; }
.product-title {
  font-size: clamp(28px, 7.5vw, 52px);
  line-height: 1.1;
}
.product-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
@media (min-width: 720px) {
  .product-desc { margin-top: 18px; font-size: 15px; }
}

.benefits-title {
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
@media (min-width: 720px) {
  .benefits-title { margin-top: 32px; font-size: 11px; letter-spacing: 0.3em; margin-bottom: 14px; }
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.benefits-list li {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.3;
}
@media (min-width: 720px) {
  .benefits-list { gap: 10px; }
  .benefits-list li { font-size: 13px; padding: 10px 12px; }
}
.benefits-list li::before {
  content: "✦";
  color: var(--gold);
  flex-shrink: 0;
}

/* CTA */
.cta-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold);
  color: #15140f;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  transition: filter 0.25s, transform 0.15s;
  min-height: 52px;
  text-align: center;
}
@media (min-width: 720px) {
  .cta-btn { font-size: 13px; letter-spacing: 0.25em; padding: 16px 24px; }
}
.cta-btn:hover { filter: brightness(1.08); }
.cta-btn:active { transform: scale(0.98); }
.desktop-cta { margin-top: 28px; }
.cta-sub { text-align: center; margin-top: 10px; font-size: 12px; }

/* CTA fixo mobile */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: rgba(15,15,16,0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + var(--safe-bottom));
  z-index: 50;
}
@media (min-width: 720px) {
  .mobile-cta-bar { display: none; }
}
@media (max-width: 719px) {
  .desktop-cta, .cta-sub { display: none; }
}

/* =========== FOOTER =========== */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  padding: 40px 0 24px;
}
@media (min-width: 720px) { .site-footer { margin-top: 80px; padding: 50px 0 30px; } }

.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.footer-brand { font-size: 16px; letter-spacing: 0.28em; }
@media (min-width: 720px) { .footer-brand { font-size: 18px; letter-spacing: 0.3em; } }
.footer-title {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-link { color: var(--text); transition: color 0.25s; }
.footer-link:hover { color: var(--gold); }
.copy {
  text-align: center;
  margin-top: 32px;
  font-size: 11px;
  color: var(--muted);
}

/* Esconde brand text em telas muito pequenas */
@media (max-width: 360px) {
  .brand-text { display: none; }
}
.brand-logo-img{

  width:60px;
  
  height:60px;
  
  object-fit:contain;
  
  border-radius:12px;
  
  }
  
  @media (max-width:768px){
  
  .brand-logo-img{
  
  width:50px;
  
  height:50px;
  
  }
  
  }