/* =========================================================
   AMBRILHO — Catálogo de Joias
   Design system: rosé + dourado, tipografia editorial
   ========================================================= */

:root {
  --cream: #fffaf6;
  --rose-50: #fdf4f1;
  --rose-100: #f8e6e0;
  --rose-200: #f0d3c9;
  --blush: #e7b9ab;
  --gold: #b98a4e;
  --gold-light: #e3c791;
  --gold-dark: #8a642f;
  --ink: #2c2420;
  --ink-soft: #6b5d54;
  --white: #ffffff;
  --line: rgba(44, 36, 32, 0.1);
  --shadow-soft: 0 20px 60px -20px rgba(138, 100, 47, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(44, 36, 32, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema fixo — o site sempre usa a paleta rosé + dourado abaixo, mesmo em
   dispositivos com o modo escuro ativado no sistema, pra manter a
   identidade visual sempre igual. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', 'Poppins', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
}

p { line-height: 1.7; color: var(--ink-soft); margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--blush));
  z-index: 9999;
  transition: width 0.08s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 250, 246, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(44,36,32,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo .dot { color: var(--gold); }
.logo small {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  border: none;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: var(--gold-dark);
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: all 0.3s;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

/* ---------- Banner promocional (carrossel no topo do site) ---------- */
.banner-hero {
  position: relative;
  padding-top: 110px;
  overflow: hidden;
  background: var(--rose-50);
}
.banner-track {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  max-height: 520px;
  background: var(--rose-100);
}
.banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
}
.banner-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.banner-slide img,
.banner-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px clamp(20px, 5vw, 60px) 22px;
  background: linear-gradient(0deg, rgba(44,36,32,0.6) 0%, rgba(44,36,32,0) 68%);
  color: var(--cream);
}
.banner-overlay h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  margin: 0 0 4px;
}
.banner-overlay p { margin: 0; font-size: 0.9rem; opacity: 0.92; max-width: 520px; }
.banner-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,250,246,0.85);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.banner-seta:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.banner-seta-prev { left: 16px; }
.banner-seta-next { right: 16px; }
.banner-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
  z-index: 2;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.banner-dot.active { background: var(--white); transform: scale(1.3); }

/* Quando tem banner, o hero logo abaixo não precisa do respiro extra que
   ele usa pra ficar atrás do menu fixo — quem já cuidou disso foi o banner. */
.banner-hero + .hero { padding-top: 48px; }

@media (max-width: 860px) {
  .banner-hero { padding-top: 96px; }
  .banner-track { aspect-ratio: 4 / 3; max-height: 420px; }
  .banner-hero + .hero { padding-top: 30px; }
}
@media (max-width: 600px) {
  .banner-hero { padding-top: 90px; }
  .banner-track { aspect-ratio: 1 / 1; max-height: 380px; }
  .banner-seta { width: 34px; height: 34px; }
  .banner-hero + .hero { padding-top: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, var(--rose-100) 0%, var(--cream) 55%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  will-change: transform;
}
.hero-blob.b1 {
  width: 480px; height: 480px;
  right: -120px; top: -80px;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), transparent 70%);
}
.hero-blob.b2 {
  width: 320px; height: 320px;
  left: -100px; bottom: -60px;
  background: radial-gradient(circle at 60% 40%, var(--blush), transparent 70%);
}
.hero-blob.b3 {
  width: 180px; height: 180px;
  right: 12%; bottom: 8%;
  background: radial-gradient(circle at 50% 50%, var(--gold), transparent 75%);
  opacity: 0.35;
}
.sparkle {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle-pulse 3.6s ease-in-out infinite;
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 0.9; transform: scale(1.3); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-dark);
  position: relative;
}
.hero-sub {
  max-width: 460px;
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(138,100,47,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -14px rgba(138,100,47,0.6); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.link-inline svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-inline:hover svg { transform: translateX(4px); }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--ink);
  font-weight: 700;
  display: block;
}
.stat .num span { color: var(--gold-dark); }
.stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hero visual: stacked jewel cards */
.hero-visual {
  position: relative;
  height: 520px;
}
.jewel-card {
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
}
.jewel-card svg { width: 64px; height: 64px; }
.jewel-card.card-a { width: 240px; height: 280px; top: 0; left: 10%; z-index: 2; animation: float-a 7s ease-in-out infinite; }
.jewel-card.card-b { width: 190px; height: 190px; bottom: 10px; right: 0; z-index: 3; background: linear-gradient(160deg, var(--rose-100), var(--white)); animation: float-b 6s ease-in-out infinite; }
.jewel-card.card-c { width: 150px; height: 150px; top: 46%; left: -30px; z-index: 1; background: var(--rose-50); animation: float-c 8s ease-in-out infinite; }
.jewel-tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.jewel-name { font-size: 0.85rem; text-align: center; color: var(--ink); }
@keyframes float-a { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(14px) rotate(-1deg); } }
@keyframes float-c { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 2;
}
.scroll-cue .stick {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-cue .stick::after {
  content: '';
  position: absolute;
  top: -34px; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: cue-drop 2s ease-in-out infinite;
}
@keyframes cue-drop { 0% { transform: translateY(0); } 100% { transform: translateY(68px); } }

/* ---------- Marquee trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--rose-50);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track span::before { content: '✦'; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* ---------- Section shell ---------- */
section { position: relative; padding: 110px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 620px; }
.section-head p { max-width: 380px; }

/* ---------- Categories ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cat-card svg { width: 34px; height: 34px; stroke: var(--gold-dark); }
.cat-card span { font-size: 0.82rem; letter-spacing: 0.02em; }
.cat-card:hover, .cat-card.active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold-light);
  background: var(--rose-50);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.btn-compartilhar {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-compartilhar svg { width: 15px; height: 15px; }
.btn-compartilhar:hover { background: var(--white); transform: scale(1.08); color: var(--gold-dark); }
.btn-compartilhar-detalhe {
  position: static;
  width: auto; height: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.btn-compartilhar-detalhe:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--rose-100), var(--rose-50) 60%, var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-media svg {
  width: 46%;
  height: 46%;
  stroke: var(--gold-dark);
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media svg { transform: scale(1.08) rotate(-2deg); }
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 60%);
}
.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--ink);
  color: var(--cream);
}
.badge.destaque { background: var(--gold-dark); }
.badge.premium { background: linear-gradient(135deg, var(--gold), #7b5a24); }
.product-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); }
.product-name { font-size: 1.02rem; font-family: 'Jost', sans-serif; font-weight: 500; color: var(--ink); line-height: 1.35; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.product-price small { font-family: 'Jost', sans-serif; font-size: 0.65rem; color: var(--ink-soft); font-weight: 400; display: block; }
.buy-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ease);
}
.buy-btn:hover { background: var(--ink); color: var(--cream); }
.buy-btn svg { width: 14px; height: 14px; }

.grid-footer { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- How it works ---------- */
.how {
  background: var(--rose-50);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.step-num {
  counter-increment: step;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  box-shadow: var(--shadow-card);
}
.step h3 { font-size: 1.15rem; font-family: 'Jost', sans-serif; font-weight: 600; }
.step p { font-size: 0.88rem; max-width: 230px; }

/* ---------- Feature split ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.feature-visual {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--rose-100), var(--blush) 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-visual .ring-deco {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
}
.feature-visual .ring-deco.r1 { width: 260px; height: 260px; }
.feature-visual .ring-deco.r2 { width: 360px; height: 360px; opacity: 0.6; }
.feature-visual svg.center-icon { width: 120px; height: 120px; stroke: var(--white); position: relative; z-index: 2; }
.feature-list { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-item .icon-wrap {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--rose-100);
  display: flex; align-items: center; justify-content: center;
}
.feature-item svg { width: 20px; height: 20px; stroke: var(--gold-dark); }
.feature-item h4 { font-size: 1.05rem; font-family: 'Jost', sans-serif; font-weight: 600; margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.t-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.t-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.t-card p.quote { color: var(--ink); font-size: 0.95rem; font-style: italic; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--blush));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--white);
}
.t-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.t-role { font-size: 0.72rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink), #3a2f27);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.35;
  right: -80px; top: -100px;
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 480px; }
.cta-band p { color: rgba(255,250,246,0.7); margin-top: 12px; max-width: 420px; }
.cta-band .btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { max-width: 280px; font-size: 0.88rem; }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; color: var(--ink-soft); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); }
.social-row svg { width: 16px; height: 16px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 800;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6); }
  50% { box-shadow: 0 14px 30px -6px rgba(37,211,102,0.9), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
  max-height: 86vh;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-media {
  background: linear-gradient(155deg, var(--rose-100), var(--rose-50));
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  position: relative;
}
.modal-media svg { width: 55%; height: 55%; stroke: var(--gold-dark); }
.modal-body { padding: 40px 36px; display: flex; flex-direction: column; overflow-y: auto; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.modal-body .product-cat { margin-bottom: 10px; }
.modal-body h3 { font-size: 1.6rem; margin-bottom: 14px; }
.modal-body .desc { margin-bottom: 22px; font-size: 0.92rem; }
.modal-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; margin-bottom: 22px; }
.modal-price small { font-family: 'Jost', sans-serif; font-size: 0.7rem; color: var(--ink-soft); display: block; font-weight: 400; }
.modal-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--rose-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 22px;
}

/* ---------- Counters in stat blocks (reuse) ---------- */
.reveal-stagger [data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-split { grid-template-columns: 1fr; }
  .feature-visual { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  /* No celular, o cartão decorativo de joias só ocupa espaço antes do que
     realmente importa (o botão de ver a coleção) — por isso some aqui. */
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before { display: none; }
  .feature-visual { height: 220px; }
  .cta-band { flex-direction: column; text-align: center; padding: 50px 30px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-media { padding: 30px; height: 220px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 46px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { justify-content: space-between; }
  .hero { padding-top: 90px; padding-bottom: 30px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.4rem); line-height: 1.1; }
  .hero-sub { font-size: 0.94rem; }
  .hero-actions { gap: 14px; }
  .section-head { margin-bottom: 24px; }
  .steps { gap: 26px 0; }
  .feature-visual { height: 160px; }
}

/* =========================================================
   PÁGINAS INTERNAS (login, cadastro, carrinho, checkout, produto)
   ========================================================= */

.page-header {
  padding: 150px 0 50px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 14px; }
.breadcrumbs {
  padding: 110px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span { color: var(--ink); }

/* ---------- Flash messages ---------- */
.flash-wrap { padding: 130px 0 0; }
@media (max-width: 600px) {
  .page-header { padding: 118px 0 34px; }
  .breadcrumbs { padding: 86px 0 0; }
  .flash-wrap { padding: 100px 0 0; }
}
.flash {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.flash-sucesso { background: #eef7ee; border-color: #cfe8cf; color: #2c5c2c; }
.flash-erro { background: #fbeceb; border-color: #f0c9c6; color: #7a2a24; }

/* ---------- Passos da compra (Carrinho → Entrega) ---------- */
.passos-compra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 420px;
  padding-top: 18px;
}
.passo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: opacity 0.4s var(--ease);
}
.passo.ativo { opacity: 1; }
.passo-bolha {
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  flex-shrink: 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.passo.ativo .passo-bolha {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  animation: passo-pop 0.5s var(--ease);
}
.passo.concluido .passo-bolha {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}
@keyframes passo-pop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.passo-check { width: 14px; height: 14px; display: none; }
.passo.concluido .passo-check { display: block; }
.passo.concluido .passo-numero { display: none; }
.passo-label {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.passo.ativo .passo-label { color: var(--ink); font-weight: 500; }
.passo-linha {
  width: 60px;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.passo-linha-preenchida {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-dark);
  transition: width 0.6s var(--ease);
}
@media (max-width: 600px) {
  .passos-compra { gap: 10px; }
  .passo-linha { width: 36px; }
  .passo-label { display: none; }
}

/* ---------- Forms ---------- */
.form-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 60px 0 120px;
}
.form-shell.wide { max-width: 760px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.form-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.form-card .sub { margin-bottom: 30px; font-size: 0.9rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--rose-50);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.tamanhos-admin {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--rose-50);
  overflow-x: auto;
}
.tamanho-linha { display: grid; grid-template-columns: 2fr 1fr 90px 90px; gap: 10px; align-items: center; min-width: 460px; }
.tamanho-linha-cabecalho { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.tamanho-linha-cabecalho span:nth-child(3), .tamanho-linha-cabecalho span:nth-child(4),
.tamanho-linha span:nth-child(3), .tamanho-linha span:nth-child(4) { text-align: center; }
.tamanho-linha input[type="text"] { padding: 9px 12px; font-size: 0.85rem; background: var(--white); width: 100%; }
.tamanho-linha input[type="checkbox"] { width: auto; accent-color: var(--gold-dark); }

.cores-admin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--rose-50);
  overflow-x: auto;
}
.cor-linha { display: grid; grid-template-columns: 70px 1.4fr 1fr 90px 150px 90px; gap: 10px; align-items: center; min-width: 680px; }
.cor-linha-cabecalho { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.cor-linha-cabecalho span:nth-child(4), .cor-linha-cabecalho span:nth-child(6),
.cor-linha span:nth-child(4), .cor-linha span:nth-child(6) { text-align: center; }
.cor-linha input[type="text"] { padding: 9px 12px; font-size: 0.85rem; background: var(--white); width: 100%; }
.cor-linha input[type="checkbox"] { width: auto; accent-color: var(--gold-dark); }
.cor-linha input[type="file"] { font-size: 0.72rem; max-width: 150px; }
.cor-linha-miniatura { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.cor-linha-miniatura img { width: 100%; height: 100%; object-fit: cover; }

/* Seletor "vincular foto já cadastrada do produto" dentro de cada linha de cor */
.cor-foto-galeria { display: flex; flex-wrap: wrap; gap: 5px; max-width: 150px; }
.cor-foto-galeria label { display: block; width: 26px; height: 26px; border-radius: 5px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.cor-foto-galeria input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.cor-foto-galeria img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cor-foto-galeria label:has(input:checked) { border-color: var(--gold-dark); }
.cor-foto-galeria label.selecionado { border-color: var(--gold-dark); }

/* ---------- Checkout: endereço e frete ---------- */
.endereco-opcoes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.endereco-opcao-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 0.82rem; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.endereco-opcao-pill:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.endereco-opcao-pill input { accent-color: var(--gold-dark); }
.endereco-resumo { background: var(--rose-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0; font-size: 0.88rem; }
.frete-opcoes { display: flex; flex-direction: column; gap: 8px; }
.frete-opcao {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.frete-opcao:has(input:checked) { border-color: var(--gold); background: var(--rose-50); }
.frete-opcao input { accent-color: var(--gold-dark); margin-right: 6px; }
.frete-opcao-nome { flex: 1; }
.frete-opcao-valor { font-weight: 600; }
.frete-aviso { font-size: 0.82rem; color: var(--ink-soft); padding: 8px 0; }
.form-actions { margin-top: 26px; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-footnote { margin-top: 22px; text-align: center; font-size: 0.85rem; }
.form-error { color: #b3443b; font-size: 0.82rem; margin-top: 6px; }

/* ---------- Carrinho ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 120px;
}
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}
.cart-item .thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, var(--rose-100), var(--rose-50));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb svg { width: 55%; height: 55%; stroke: var(--gold-dark); }
.cart-item .name { font-size: 0.95rem; color: var(--ink); }
.cart-item .price-each { font-size: 0.8rem; color: var(--ink-soft); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 32px; height: 32px;
  border: none;
  background: var(--rose-50);
  color: var(--ink);
  font-size: 1rem;
}
.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
}
.cart-item .remove-link {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-decoration: underline;
}
.cart-summary {
  background: var(--rose-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 120px;
}
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.summary-row.total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--rose-50);
  border-radius: var(--radius-lg);
}
.cart-empty svg { width: 60px; height: 60px; stroke: var(--gold-dark); margin: 0 auto 18px; }

/* linha do carrinho saindo suavemente ao remover, e um leve flash ao atualizar a quantidade */
.cart-item {
  transition: max-height 0.38s var(--ease), opacity 0.32s ease, margin 0.38s var(--ease), padding 0.38s var(--ease), transform 0.3s ease;
  overflow: hidden;
}
.cart-item.removendo { transform: scale(0.98); }
.cart-item.atualizado { animation: cart-item-flash 0.6s ease; }
@keyframes cart-item-flash {
  0% { background: var(--rose-100); }
  100% { background: var(--white); }
}

/* ---------- Ícone do carrinho: contador e animação de "adicionar" ---------- */
.cart-link { position: relative; }
.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold-dark);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
}
.cart-badge.show { display: inline-flex; }
.cart-link.cart-bump .cart-badge { animation: cart-bump 0.5s var(--ease); }
.cart-link.cart-bump svg { animation: cart-shake 0.5s var(--ease); }
@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); }
  60% { transform: scale(0.88); }
  100% { transform: scale(1); }
}
@keyframes cart-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  55% { transform: rotate(10deg); }
  80% { transform: rotate(-4deg); }
}

/* clone que "voa" da peça escolhida até o ícone do carrinho */
.fly-to-cart {
  position: fixed;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  pointer-events: none;
  z-index: 2000;
  will-change: transform, opacity;
}
.fly-to-cart-dot { background-color: var(--gold-dark); }

/* botão "Adicionar ao carrinho": estado de carregando + confirmação */
.produto-acoes .btn.is-loading { opacity: 0.75; pointer-events: none; }
.produto-acoes .btn.added { animation: btn-added-pulse 0.5s var(--ease); }
@keyframes btn-added-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

/* ---------- Produto detalhe ---------- */
.produto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-bottom: 120px;
}
.produto-galeria-principal {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--rose-100), var(--rose-50));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.produto-galeria-principal img { width: 100%; height: 100%; object-fit: cover; }
.produto-galeria-principal svg { width: 40%; height: 40%; stroke: var(--gold-dark); }
.produto-galeria-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.produto-galeria-thumbs button {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--rose-50);
  padding: 0;
}
.produto-galeria-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.produto-galeria-thumbs button.active { border-color: var(--gold); }
.produto-info h1 { font-size: 2rem; margin: 10px 0 16px; }
.produto-preco { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; }
.produto-desc { font-size: 0.92rem; margin-bottom: 26px; }
.produto-desc p { margin-bottom: 10px; color: var(--ink-soft); }
.produto-acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.produto-acoes-linha { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.produto-botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-finalizar-direto { background: var(--white); }
.btn-finalizar-direto:hover { background: var(--rose-50); }
.tamanho-selector { width: 100%; }
.tamanho-label { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.tamanho-opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.tamanho-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.tamanho-pill:hover { border-color: var(--gold); }
.tamanho-pill input { margin: 0; accent-color: var(--gold-dark); }
.tamanho-pill:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tamanho-pill small { font-size: 0.7rem; opacity: 0.8; }
.cor-selector { width: 100%; }
.cor-opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cor-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.cor-pill-swatch {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--line);
  overflow: hidden;
  background: var(--rose-50);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.cor-pill-swatch img { width: 100%; height: 100%; object-fit: cover; }
.cor-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.cor-pill:has(input:checked) .cor-pill-swatch { border-color: var(--gold-dark); box-shadow: 0 0 0 2px var(--gold); }
.cor-pill span.cor-pill-nome { font-size: 0.72rem; color: var(--ink-soft); max-width: 64px; text-align: center; }
.cor-pill:has(input:checked) span.cor-pill-nome { color: var(--ink); font-weight: 600; }
.cor-pill small { font-size: 0.66rem; color: var(--ink-soft); }
.produto-indisponivel {
  background: var(--rose-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Painel (cliente/admin) ---------- */
.painel-shell { display: flex; min-height: 100vh; padding-top: 0; }
.painel-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.painel-sidebar .logo { color: var(--cream); }
.painel-nav { display: flex; flex-direction: column; gap: 4px; }
.painel-nav a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: rgba(255,250,246,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.painel-nav a svg { width: 16px; height: 16px; }
.painel-nav a:hover, .painel-nav a.active { background: rgba(255,255,255,0.08); color: var(--cream); }
.painel-nav .sair { margin-top: auto; }
.painel-main { flex: 1; padding: 40px 44px; max-width: 1200px; }
.painel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}
.painel-topbar h1 { font-size: 1.7rem; }
.painel-topbar p { font-size: 0.85rem; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.stat-card .n { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; }
.stat-card .l { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

.painel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 24px;
}
.painel-card h2 { font-size: 1.2rem; margin-bottom: 18px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.data-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .thumb-mini {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--rose-50); display: flex; align-items: center; justify-content: center;
}
.data-table .thumb-mini img,
.data-table .thumb-mini video { width: 100%; height: 100%; object-fit: cover; }
.data-table .thumb-mini svg { width: 60%; height: 60%; stroke: var(--gold-dark); }
.row-actions { display: flex; gap: 8px; }
.row-actions a, .row-actions button {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
}
.row-actions a:hover, .row-actions button:hover { border-color: var(--gold); color: var(--gold-dark); }
.row-actions .perigo:hover { border-color: #c0473e; color: #c0473e; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pendente { background: #fdf1de; color: #a5690b; }
.status-confirmado { background: #e6f0fb; color: #1e5fa8; }
.status-comprado { background: #eee5fb; color: #6238a8; }
.status-enviado { background: #e2f3fb; color: #147a9c; }
.status-entregue { background: #e8f6ea; color: #2b7a37; }
.status-cancelado { background: #fbe9e7; color: #a83a2a; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 20px 1fr; gap: 16px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-marker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 4px; }
.timeline-marker .line { flex: 1; width: 1px; background: var(--line); margin-top: 4px; }
.timeline-item:last-child .line { display: none; }
.timeline-content { padding-bottom: 26px; }
.timeline-content .status-pill { margin-bottom: 4px; }
.timeline-content .quando { font-size: 0.75rem; color: var(--ink-soft); }
.timeline-content .nota { font-size: 0.85rem; margin-top: 4px; }

.login-admin-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 100% at 80% 0%, var(--rose-100) 0%, var(--cream) 55%);
  padding: 24px;
}

.import-preview {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.import-preview-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.import-preview-imgs label {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  aspect-ratio: 1/1;
  display: block;
}
.import-preview-imgs img { width: 100%; height: 100%; object-fit: cover; }
.import-preview-imgs input { position: absolute; top: 8px; left: 8px; width: 18px; height: 18px; }
.import-preview-imgs label.selecionado { border-color: var(--gold); }

@media (max-width: 960px) {
  .cart-layout, .produto-layout, .import-preview { grid-template-columns: 1fr; }
  .painel-sidebar { display: none; }
  .painel-main { padding: 24px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 26px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 1.4rem; font-family: 'Cormorant Garamond', serif; }
