:root {
  --bg: #0d0d0f;
  --bg-alt: #151517;
  --card: #1a1a1d;
  --gold: #d4af6a;
  --gold-light: #f1d9a8;
  --gold-deep: #b8863f;
  --text: #f2ede4;
  --text-muted: #b9b3a6;
  --border: #2a2a2d;
  --whatsapp: #25d366;
  --radius: 4px;
  --max-width: 1160px;
  --dots: radial-gradient(circle at 3px 3px, rgba(212, 175, 106, .14) 1.5px, transparent 0) 0 0 / 26px 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  --header-h: 76px;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 3px 3px, rgba(212, 175, 106, .14) 1.5px, transparent 0) 0 0 / 26px 26px,
    var(--bg);
  animation: grid-drift 18s linear infinite;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 26px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

h1, h2, h3 {
  font-family: 'Anton', 'Arial Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 .5em;
  line-height: 1.05;
  letter-spacing: .01em;
}

p { color: var(--text-muted); margin: 0 0 1em; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.1rem;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-muted);
  transition: color .2s;
}

.nav a:hover { color: var(--gold-light); }

.btn-header { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
}

.btn-whatsapp:hover {
  background: #2ee878;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(212, 175, 106, .1);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.hero-bg.img-fallback .hero-bg-img { display: none; }
.hero-bg.img-fallback { background: var(--card); }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,15,.96) 0%, rgba(13,13,15,.82) 45%, rgba(13,13,15,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 18%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-panel { max-width: 620px; }

.hero-kicker {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: #06210f;
  background: var(--gold-light);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 13ch;
  margin-bottom: .35em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}

.hero-accent { color: var(--gold-light); }

.hero p {
  font-size: 1.05rem;
  max-width: 460px;
  color: #d8d2c6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}

.hero-fine {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0;
}

/* Sobre */
.sobre { padding: 88px 0; background: var(--dots), var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.sobre-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: start;
}

.sobre-text h2 { font-size: 1.9rem; }
.sobre-text p { max-width: 560px; }
.sobre-text strong { color: var(--gold-light); }

.sobre-stats { display: grid; gap: 20px; }

.stat {
  background: rgba(26, 26, 29, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.stat strong { display: block; font-size: 1.8rem; color: var(--gold-light); font-family: 'Anton', sans-serif; font-weight: 400; }
.stat span { color: var(--text-muted); font-size: .9rem; }

/* Produtos */
.produtos { padding: 96px 0; background: var(--dots), var(--bg); }

.produtos h2 { font-size: 1.9rem; text-align: center; }

.section-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.produto-card {
  display: block;
  background: rgba(26, 26, 29, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s;
}

.produto-card:hover { background: rgba(26, 26, 29, .8); }

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

.produto-img {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.produto-img.img-fallback::after { content: '📷'; font-size: 2rem; opacity: .4; }
.produto-img.img-fallback img { display: none; }

.produto-img-trio {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  background: none;
}

.produto-img-trio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.produto-img-trio img:first-child { grid-row: 1 / 3; }

.produto-card h3 { font-size: 1.15rem; }
.produto-card p { font-size: .92rem; margin-bottom: 14px; }

.produto-link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: .9rem;
}

/* Upgrade */
.upgrade {
  padding: 72px 0;
  background: var(--dots), var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.upgrade-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.upgrade-inner h2 { font-size: 1.8rem; }

/* Unidades */
.unidades { padding: 96px 0; text-align: center; background: var(--dots), var(--bg); }
.unidades h2 { font-size: 1.9rem; }

.unidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.unidade-card {
  background: rgba(26, 26, 29, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 12px;
  font-weight: 600;
}

/* Contato */
.contato {
  padding: 96px 0;
  text-align: center;
  background: var(--dots), var(--bg-alt);
  border-top: 1px solid var(--border);
}

.contato h2 { font-size: 2rem; }
.contato p { max-width: 480px; margin: 0 auto 32px; }
.contato-inner .btn { margin-bottom: 18px; }

.link-secondary {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-secondary:hover { color: var(--gold-light); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--dots), var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p { margin: 0; font-size: .85rem; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }

.copy { color: var(--text-muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .sobre-inner { grid-template-columns: 1fr; }
  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(13,13,15,.97) 45%, rgba(13,13,15,.55) 100%);
  }
  .produtos-grid { grid-template-columns: 1fr 1fr; }
  .unidades-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .btn-header { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 4px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open a { padding: 12px 4px; }
  .nav-toggle { display: flex; }

  .hero { min-height: 0; padding: 64px 0 48px; }
  .hero-bg-img { object-position: center 30%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .sobre, .produtos, .upgrade, .unidades, .contato { padding: 56px 0; }

  .produtos-grid { grid-template-columns: 1fr; }
  .produto-img-trio { min-height: 220px; }

  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }

  .unidades-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .sobre-stats { grid-template-columns: 1fr; }
  .produtos-grid, .unidades-grid { grid-template-columns: 1fr; }
}
