:root {
  --ink: #17151c;
  --panel: #211d2b;
  --panel-soft: #2a2438;
  --magenta: #ff3d77;
  --magenta-deep: #d81f5c;
  --violet: #7b5cff;
  --violet-soft: #b23fcf;
  --text: #f3efea;
  --text-soft: #a79fb0;
  --line: rgba(243, 239, 234, 0.12);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 21, 28, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text .accent { color: var(--magenta); }

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}

.main-nav a { color: var(--text-soft); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text); }

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

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 24px 24px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

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

.mobile-nav a { font-size: 16px; font-family: 'IBM Plex Mono', monospace; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-whatsapp {
  background: var(--magenta);
  color: #17151c;
}

.btn-whatsapp:hover { background: #ff5c8f; }

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

.btn-outline:hover { border-color: var(--violet); background: rgba(123, 92, 255, 0.12); }

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

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

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

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

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

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
}

.hero-text { max-width: 480px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 500;
  font-family: 'IBM Plex Mono', monospace;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 1.6em;
  height: 1px;
  background: var(--magenta);
}

.hero-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  line-height: 1.15;
}

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

.hero-desc {
  color: var(--text-soft);
  font-size: 16.5px;
  max-width: 460px;
  margin: 0 0 32px;
}

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

.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 4%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.25) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-facet {
  position: relative;
  z-index: 1;
  width: 78%;
  filter: drop-shadow(0 20px 40px rgba(255, 61, 119, 0.18));
}

.hero-facet-small {
  position: absolute;
  z-index: 2;
  opacity: 0.85;
}

.hero-facet-1 { width: 76px; top: 6%; right: 4%; }
.hero-facet-2 { width: 46px; bottom: 10%; left: 2%; }

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

.section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0 0 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-soft);
  margin: 0 0 44px;
  font-size: 14.5px;
}

/* ---------- Como funciona ---------- */

.how {
  padding: 80px 0;
  background: var(--panel);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-step {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.how-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--magenta);
  margin-bottom: 14px;
}

.how-step h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.how-step p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

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

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

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

.filter-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-soft);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover { border-color: var(--violet); color: var(--text); }

.filter-btn.active {
  background: var(--magenta);
  color: #17151c;
  border-color: var(--magenta);
}

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

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

.category-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-soft);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--violet); }

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

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-scroll {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

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

.media-dots {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.media-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.media-dot.active { background: #fff; }

.card-media .icon-cube {
  width: 42%;
  height: 42%;
  opacity: 0.9;
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.4;
}

.card-media .placeholder-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(23, 21, 28, 0.7);
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

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

.card-category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.card-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.card-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 4px 0 12px;
}

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

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

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

.contact-sub {
  color: var(--text-soft);
  margin: 0 0 36px;
}

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

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

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.92;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.back-to-top:hover { opacity: 1; transform: translateY(-2px); }

.back-to-top .icon { width: 20px; height: 20px; fill: currentColor; }

.site-footer {
  background: var(--ink);
  color: var(--text-soft);
  padding: 22px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  border-top: 1px solid var(--line);
}

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

.footer-admin-link { opacity: 0.55; }
.footer-admin-link:hover { opacity: 0.95; }

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

@media (max-width: 760px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: none; margin: 0 auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 260px; order: -1; }
  .how-steps { grid-template-columns: 1fr; }
}
