:root {
  --black: #0b1524;
  --dark: #12203a;
  --accent: #c99a3f;
  --white: #f5f2ea;
  --gray: #93a0b4;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

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

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s ease, padding .3s ease;
}
.header.scrolled { background: rgba(11,21,36,.92); padding: 12px 0; backdrop-filter: blur(6px); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: 1px; color: var(--white); text-decoration: none; }
.logo img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.logo span { color: var(--accent); }

.nav { display: flex; gap: 32px; }
.nav a { color: var(--white); text-decoration: none; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: var(--accent); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--white); }

/* HERO */
.hero { position: relative; height: 100vh; overflow: hidden; }
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%); }

.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 640px; }

.hero-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
  overflow: hidden;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: lineUp .8s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes lineUp {
  to { transform: translateY(0); opacity: 1; }
}

.hero-sub { font-size: 18px; color: var(--white); opacity: .85; margin-bottom: 28px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform .2s ease, background .2s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #b58734; transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }

.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s; }
.hero-dot.active { background: var(--accent); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SECTIONS */
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 36px; text-align: center; }

.categorias, .lancamentos, .depoimentos { padding: 90px 0; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  height: 220px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
}
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.1)); transition: background .3s; }
.cat-card:hover::before { background: rgba(201,154,63,.55); }
.cat-card span {
  position: relative;
  padding: 20px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
}
.cat-card:hover { transform: scale(1.02); }
.cat-card { transition: transform .3s ease; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}
.prod-card.visible { opacity: 1; transform: translateY(0); }
.prod-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.prod-img { height: 180px; background-size: cover; background-position: center; overflow: hidden; }
.prod-img div { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .4s ease; }
.prod-card:hover .prod-img div { transform: scale(1.1); }
.prod-info { padding: 18px; }
.prod-tag { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.prod-name { font-size: 16px; font-weight: 700; margin: 8px 0; }
.prod-price { color: var(--gray); font-size: 15px; }

.btn-whats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 12px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s ease, transform .2s ease;
}
.btn-whats:hover { background: #1eb955; transform: translateY(-2px); }

/* CATEGORY MODAL */
.cat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.cat-modal.open { opacity: 1; visibility: visible; }
.cat-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.cat-modal-box {
  position: relative;
  background: var(--dark);
  border-radius: 8px;
  width: min(1000px, calc(100% - 40px));
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.cat-modal.open .cat-modal-box { transform: translateY(0); }
.cat-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cat-modal-head h3 { font-size: 24px; font-weight: 800; }
.cat-modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.cat-modal-close:hover { opacity: 1; color: var(--accent); }
.cat-modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-modal-grid .prod-card { background: #182a4a; }
.cat-modal-empty { color: var(--gray); text-align: center; padding: 40px 0; }

@media (max-width: 900px) {
  .cat-modal-grid { grid-template-columns: 1fr; }
}

.whats-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: transform .2s ease, background .2s ease;
}
.whats-float:hover { transform: scale(1.08); background: #1eb955; }

/* COMPARE / DRAG REVEAL */
.compare-section { padding: 90px 0 100px; }
.compare {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 520px;
  overflow: hidden;
  border-radius: 6px;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}
.compare-side {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.compare-left { clip-path: inset(0 50% 0 0); }
.compare-right { clip-path: inset(0 0 0 50%); }
.compare-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.05)); }
.compare-info { position: relative; padding: 32px; }
.compare-info h3 { font-size: 26px; font-weight: 800; margin: 8px 0 4px; }
.compare-info p { color: var(--gray); font-size: 16px; }
.compare-right .compare-info { margin-left: auto; text-align: right; }

.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  font-size: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

@media (max-width: 900px) {
  .compare { height: 380px; }
  .compare-info h3 { font-size: 18px; }
}

.banner {
  height: 420px;
  background: url('https://images.unsplash.com/photo-1571333250630-f0230c320b6d?w=1600&q=80') center/cover;
  display: flex; align-items: center;
  position: relative;
}
.banner::before { content:''; position:absolute; inset:0; background: rgba(0,0,0,.5); }
.banner-inner { position: relative; }
.banner h2 { font-size: 40px; font-weight: 800; margin: 12px 0; }
.banner p { color: var(--white); opacity: .85; margin-bottom: 24px; }

.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dep-card { background: var(--dark); padding: 28px; border-radius: 6px; }
.dep-card p { font-size: 15px; line-height: 1.5; margin-bottom: 16px; color: var(--white); opacity: .9; }
.dep-card span { color: var(--accent); font-size: 13px; font-weight: 700; }


.footer { padding: 30px 0; text-align: center; color: var(--gray); font-size: 13px; border-top: 1px solid #1d2f4f; }

@media (max-width: 900px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 20px 24px; gap: 18px; transform: translateY(-150%); transition: transform .3s ease; }
  .nav.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .dep-grid { grid-template-columns: 1fr; }
}
