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

:root {
  --gold: #c9a227;
  --gold-light: #e8be4a;
  --dark: #0b0d10;
  --dark2: #13161c;
  --dark3: #1c2029;
  --steel: #8a9ab0;
  --text: #e2e6ef;
  --text-muted: #7a8499;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--dark2);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

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

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 40px;
  border-radius: 999px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1fb857;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(11, 13, 16, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

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

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-header:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(11,13,16,0.92) 0%,
    rgba(11,13,16,0.7) 50%,
    rgba(11,13,16,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  max-width: 640px;
  margin-left: max(24px, calc(50vw - 580px));
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-accent {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--steel);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 17px;
  color: rgba(226, 230, 239, 0.75);
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  padding: 28px 24px;
  margin: 0 auto;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(11,13,16,0.6);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px;
  flex: 1;
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(201, 162, 39, 0.2);
  flex-shrink: 0;
}

/* ===== SERVIÇOS ===== */
.servicos {
  padding: 100px 0;
  background: var(--dark2);
  position: relative;
}

.servicos::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--dark), transparent);
  pointer-events: none;
}

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

.card {
  background: var(--dark3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--gold);
}

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 24px;
}

.card-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}

.card-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: gap 0.2s, opacity 0.2s;
}

.card-cta:hover { opacity: 0.7; }

/* ===== SOBRE ===== */
.sobre {
  background: var(--dark);
  display: flex;
  justify-content: center;
}

.sobre-text-col {
  padding: 80px 72px;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sobre-text-col p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.sobre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
}

.sobre-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.check {
  width: 22px;
  height: 22px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== TRABALHOS / GALERIA ===== */
.trabalhos {
  padding: 100px 0;
  background: var(--dark2);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gal-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gal-item img {
  transition: transform 0.5s ease;
}

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

.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  pointer-events: none;
}

.gal-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.trabalho-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.trabalho-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.trabalho-item:hover img {
  transform: scale(1.06);
}

.trabalho-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 162, 39, 0);
  transition: background 0.35s ease;
  pointer-events: none;
  border-radius: var(--radius);
  border: 0px solid var(--gold);
  transition: var(--transition);
}

.trabalho-item:hover::after {
  background: rgba(201, 162, 39, 0.08);
  border: 2px solid rgba(201, 162, 39, 0.4);
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  padding: 100px 0;
  background: var(--dark);
}

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

.dep-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dep-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.dep-card--destaque {
  background: linear-gradient(135deg, rgba(201,162,39,0.12) 0%, var(--dark3) 100%);
  border-color: rgba(201, 162, 39, 0.3);
}

.dep-stars {
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 2px;
}

.dep-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.dep-autor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dep-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  flex-shrink: 0;
}

.dep-autor strong {
  display: block;
  font-size: 14px;
  color: var(--white);
}

.dep-autor span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== CTA FINAL ===== */
.cta-final {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 13, 16, 0.88);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-content h2 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.cta-content h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contato h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links,
.footer-contato {
  display: flex;
  flex-direction: column;
}

.footer-links a,
.footer-contato a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover,
.footer-contato a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 20px 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  background: #1fb857;
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  animation: none;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37,211,102,0.1); }
}

.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid .card:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .card:nth-child(4) { transition-delay: 0.05s; }
.cards-grid .card:nth-child(5) { transition-delay: 0.15s; }
.cards-grid .card:nth-child(6) { transition-delay: 0.25s; }

.dep-card:nth-child(2) { transition-delay: 0.1s; }
.dep-card:nth-child(3) { transition-delay: 0.2s; }

.trabalho-item:nth-child(2) { transition-delay: 0.05s; }
.trabalho-item:nth-child(3) { transition-delay: 0.10s; }
.trabalho-item:nth-child(4) { transition-delay: 0.15s; }
.trabalho-item:nth-child(5) { transition-delay: 0.20s; }
.trabalho-item:nth-child(6) { transition-delay: 0.25s; }
.trabalho-item:nth-child(7) { transition-delay: 0.30s; }
.trabalho-item:nth-child(8) { transition-delay: 0.35s; }
.trabalho-item:nth-child(9) { transition-delay: 0.40s; }

.gal-item:nth-child(2) { transition-delay: 0.08s; }
.gal-item:nth-child(3) { transition-delay: 0.16s; }
.gal-item:nth-child(4) { transition-delay: 0.24s; }
.gal-item:nth-child(5) { transition-delay: 0.32s; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-text-col {
    padding: 48px 32px;
  }

  .galeria {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gal-large {
    grid-column: span 2;
    grid-row: span 1;
    height: 280px;
  }

  .trabalho-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dep-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .nav { display: none; }
}

@media (max-width: 600px) {
  .hero-content {
    margin-left: 0;
    padding: 100px 20px 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .galeria {
    grid-template-columns: 1fr;
  }

  .gal-large {
    grid-column: span 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .sobre-text-col {
    padding: 40px 20px;
    max-width: 100%;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}
