/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================
   TOKENS — preto / dourado / roxo (The King)
   ============================================ */
:root {
  --black: #0a0a0a;
  --ink: #050505;
  --surface: #131011;
  --surface-2: #1a1517;
  --gold: #d4af37;
  --gold-bright: #f3d479;
  --gold-deep: #8a6d1f;
  --purple: #7a2bc4;
  --purple-glow: rgba(138, 60, 200, 0.45);
  --text: #ece8e4;
  --text-mute: #8f8884;
  --text-faint: #5e5854;
  --hairline: rgba(212, 175, 55, 0.16);
  --hairline-soft: rgba(255, 255, 255, 0.07);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

.gold { color: var(--gold); }

/* Barra de progresso de scroll */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-header { margin-bottom: 56px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 34px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-lg { padding: 18px 44px; font-size: 16px; }

.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.22);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-22deg);
  animation: btnShine 5s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -80%; }
  22% { left: 150%; }
  100% { left: 150%; }
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.38);
}

.btn-gold:active { transform: scale(0.97); }

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

.btn-outline:hover {
  background: var(--gold);
  color: #1a1206;
  transform: translateY(-2px);
}

.btn-nav {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--hairline);
  padding: 10px 24px;
  font-size: 13px;
}

.btn-nav:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NAV
   ============================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

#nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--hairline);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img { border-radius: 4px; }

.nav-logo span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-mute);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #nav { padding: 0 24px; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-menu ul li a {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 38px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  transition: color 0.2s;
}

.mobile-menu ul li a:hover { color: var(--gold); }
.mobile-cta { margin-top: 16px; }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122, 43, 196, 0.12), transparent 70%),
    var(--black);
}

.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 680px;
  max-width: 120vw;
  background: radial-gradient(circle, var(--purple-glow), transparent 62%);
  filter: blur(40px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: heroFadeUp 1s 0.2s ease both;
}

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

.hero-crown {
  display: block;
  width: 76px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 24px rgba(212, 175, 55, 0.45));
  animation: crownFloat 5s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 12vw, 128px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 26px;
}

.hero-title .gold {
  background: linear-gradient(100deg, var(--gold) 25%, var(--gold-bright) 42%, #fff7e0 50%, var(--gold-bright) 58%, var(--gold) 75%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShimmer 5s linear infinite;
}

@keyframes goldShimmer {
  to { background-position: -220% center; }
}

.hero-sub {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--gold);
  font-size: 20px;
  opacity: 0.6;
  animation: heroBounce 2.4s ease-in-out infinite;
}

@keyframes heroBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ============================================
   NÚMEROS
   ============================================ */
.numeros {
  background: var(--ink);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.numero-item {
  position: relative;
  padding: 56px 40px;
  border-right: 1px solid var(--hairline-soft);
  text-align: center;
}
.numero-item:last-child { border-right: none; }

.numero-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.6s ease;
}

.numero-item.visible::before { width: 70%; }

.numero-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}

.numero-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: var(--text);
  line-height: 1;
}

.numero-unit {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--gold);
}

.numero-item p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

@media (max-width: 600px) {
  .numeros-grid { grid-template-columns: 1fr; }
  .numero-item {
    border-right: none;
    border-bottom: 1px solid var(--hairline-soft);
    padding: 36px 24px;
  }
  .numero-item:last-child { border-bottom: none; }
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  padding: 120px 0;
  background: var(--black);
}

.servico-cat {
  margin-bottom: 48px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--surface), var(--black));
  padding: 36px 40px;
}

.cat-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline-soft);
}

.cat-num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 36px;
}

.cat-head h3 { font-size: 26px; }

.cat-items { display: flex; flex-direction: column; gap: 16px; }

.serv-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: transform 0.25s ease;
}

.serv-row:hover { transform: translateX(8px); }

.serv-name {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s ease;
}

.serv-row:hover .serv-name { color: var(--gold); }

.serv-dots {
  flex: 1;
  border-bottom: 1px dotted var(--text-faint);
  transform: translateY(-4px);
}

.serv-price {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.serv-row:hover .serv-price { transform: scale(1.08); }

.servico-cta { text-align: center; margin-top: 8px; }

@media (max-width: 600px) {
  .servicos { padding: 80px 0; }
  .servico-cat { padding: 28px 24px; }
}

/* ============================================
   GALERIA
   ============================================ */
.galeria {
  background: var(--ink);
  padding: 100px 0;
}

.galeria-header {
  padding: 0 48px 56px;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}

.galeria-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.55);
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.galeria-item:hover .galeria-zoom,
.galeria-item:focus-visible .galeria-zoom {
  opacity: 1;
  transform: scale(1);
}

.galeria-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.galeria-large {
  grid-row: span 2;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item:hover img { transform: scale(1.07); }

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75));
  pointer-events: none;
}

.galeria-label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: transform 0.35s ease, color 0.35s ease;
}

.galeria-item:hover .galeria-label {
  transform: translateX(6px);
  color: var(--gold-bright);
}

.galeria-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  margin-right: 8px;
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .galeria-header { padding: 0 24px 44px; }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-large { grid-row: span 1; }
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--black);
}

.sobre-img { overflow: hidden; position: relative; }

.sobre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sobre-img:hover img { transform: scale(1.04); }

.sobre-text {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: linear-gradient(135deg, var(--surface), var(--black));
}

.sobre-text h2 { line-height: 1.05; }

.sobre-text p {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.8;
}

.sobre-text .btn { margin-top: 8px; align-self: flex-start; }

@media (max-width: 860px) {
  .sobre { grid-template-columns: 1fr; }
  .sobre-img { height: 420px; }
  .sobre-text { padding: 56px 40px; }
}

@media (max-width: 600px) {
  .sobre-img { height: 340px; }
  .sobre-text { padding: 48px 24px; }
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: 120px 0;
  background: var(--ink);
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contato-info { display: flex; flex-direction: column; gap: 28px; }
.contato-info h2 { margin-bottom: 4px; }

.contato-botoes { display: flex; flex-wrap: wrap; gap: 14px; }

.info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline-soft);
}

.info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-row span:last-child,
.info-row a {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.6;
}

.info-row a:hover { color: var(--gold); }

.mapa-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-faint);
  text-align: center;
  padding: 40px;
}

.mapa-placeholder p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
}

.mapa-placeholder small {
  font-size: 12px;
  color: var(--text-faint);
  max-width: 240px;
  line-height: 1.5;
}

.contato-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .contato { padding: 80px 0; }
  .contato-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}

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

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 4px; }

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--text);
}

.footer p { font-size: 12px; color: var(--text-mute); }

.footer-links { display: flex; gap: 20px; }

.footer a {
  font-size: 12px;
  color: var(--text-mute);
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(138, 60, 200, 0.25);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover { color: var(--gold); transform: scale(1.1); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wppPop 0.5s 1.2s ease both;
}

@keyframes wppPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg { width: 28px; height: 28px; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
