/* ===========================
   GASPAR IMPORTADOS — STYLE
   =========================== */

:root {
  --bg: #0a0a08;
  --bg2: #111109;
  --surface: #161612;
  --surface2: #1e1e19;
  --border: rgba(255,255,255,0.07);
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.15);
  --text: #f0ede6;
  --text-muted: #8a8878;
  --text-dim: #5a5a4e;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ===========================
   TYPOGRAPHY
   =========================== */

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

h1 { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

em { font-style: italic; color: var(--gold-light); }

p { color: var(--text-muted); line-height: 1.7; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a08;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ===========================
   TOPBAR
   =========================== */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4%;
  background: rgba(10,10,8,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.topbar.scrolled {
  padding: 0.8rem 4%;
  background: rgba(10,10,8,0.97);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.topbar nav {
  display: flex;
  gap: 2.5rem;
}

.topbar nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.topbar nav a:hover { color: var(--gold); }

.nav-whatsapp {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: var(--transition);
}
.nav-whatsapp:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ===========================
   HERO
   =========================== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7rem 4% 5rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.25), transparent 70%);
  top: -100px; left: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
  bottom: 0; right: 20%;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(120,80,20,0.2), transparent 70%);
  top: 50%; right: 0;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-content h1 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero-content .lead {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.hero-badges span {
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-card-wrap {
  perspective: 1000px;
}

.hero-card {
  width: 340px;
  height: 480px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease;
}

.hero-card:hover {
  transform: rotateY(-4deg) rotateX(1deg);
}

.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card-monogram {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.card-text small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.card-text h3 {
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.4;
}

.curadoria-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.67rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ===========================
   TRUST COMPACT
   =========================== */

.section-trust-compact {
  padding: 4rem 4%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-compact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.trust-compact-inner h2 {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2.5rem;
  list-style: none;
  text-align: left;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.trust-list li svg {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.9;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 4%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 3rem;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===========================
   CATALOG SECTION
   =========================== */

.section-catalog {
  padding: 6rem 4%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-header h2 { margin-bottom: 0; }

.section-desc {
  max-width: 360px;
  font-size: 0.9rem;
  text-align: right;
}

/* CATEGORY TABS */
.categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.cat {
  padding: 0.65rem 1.4rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
  letter-spacing: 0.03em;
}

.cat:hover { color: var(--text); }

.cat.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* CATEGORY CARDS */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  width: 100%;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--shadow-gold);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.cat-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.8);
}

.cat-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
}

.cat-card-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}

.cat-card-cta {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  transition: letter-spacing var(--transition);
}

.cat-card:hover .cat-card-cta {
  letter-spacing: 0.16em;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.4s ease both;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), var(--shadow-gold);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface2);
  display: block;
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(201,168,76,0.15);
  font-weight: 700;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.product-brand {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  line-height: 1.4;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.product-tag {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.product-btn {
  padding: 0.5rem 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.product-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ===========================
   HOW IT WORKS
   =========================== */

.section-how {
  padding: 6rem 4%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.how-text h2 { margin-bottom: 1rem; }
.how-text p { margin-bottom: 2rem; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  min-width: 3rem;
  padding-top: 0.1rem;
}

.step-info h4 {
  color: var(--text);
  margin-bottom: 0.3rem;
}

.step-info p {
  font-size: 0.9rem;
}

/* ===========================
   ABOUT
   =========================== */

.section-about {
  padding: 6rem 4%;
  text-align: center;
}

.about-inner {
  max-width: 700px;
  margin: 0 auto;
}

.about-inner h2 { margin-bottom: 1rem; }
.about-inner > p { margin-bottom: 2rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.about-tags span {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: var(--transition);
}
.about-tags span:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 4%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-contact h5, .footer-nav h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-contact a, .footer-nav a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-contact a:hover, .footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 4%;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ===========================
   LIGHTBOX
   =========================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,5,4,0.93);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: min(88vw, 680px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1), opacity 0.28s ease;
  display: block;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  transform: scale(1.08);
}

.product-image { cursor: pointer; }

/* ===========================
   FLOATING WHATSAPP
   =========================== */

.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 3rem;
  }

  .hero-visual { display: none; }

  .how-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand { grid-column: 1 / -1; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-desc { text-align: left; }

  .topbar nav { display: none; }

  .category-cards { grid-template-columns: repeat(2, 1fr); }

  .stats-bar {
    gap: 0;
  }

  .stat { padding: 0.5rem 1.5rem; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .stat { width: 50%; border-bottom: 1px solid var(--border); }
  .topbar { padding: 1rem 5%; }
  .nav-whatsapp { display: none; }
  .trust-list { grid-template-columns: 1fr; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .cat-card-label { font-size: 1rem; }
}
