/* ============================================
   MAEL SIQUEIRA DJ — Design System
   Fundo escuro sofisticado, dourado discreto,
   energia de palco + elegância.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores */
  --bg-primary: #0B0B0F;
  --bg-secondary: #131019;
  --bg-card: #17131F;
  --gold: #C9A961;
  --gold-light: #E8D9B5;
  --gold-dim: rgba(201, 169, 97, 0.35);
  --wine: #3D1B24;
  --text-primary: #F5F0E6;
  --text-muted: #9C9488;
  --text-faint: #6B6459;
  --border: rgba(201, 169, 97, 0.16);

  /* Tipografia */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  /* Espaçamento */
  --section-pad: clamp(64px, 10vw, 140px);
  --container-w: 1180px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

p { color: var(--text-muted); }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
}

/* Focus visível */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

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

.main-nav { display: flex; align-items: center; gap: 36px; }

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

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

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: #16130D;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--gold-dim);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,169,97,0.06); }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 32px; height: 24px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: var(--gold-light);
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,27,36,0.55), transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, #0E0C12 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(201,169,97,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(201,169,97,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(201,169,97,0.25) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 20%, rgba(201,169,97,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, rgba(201,169,97,0.3) 0%, transparent 100%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 760px; }

.hero h1 {
  margin-bottom: 22px;
  animation: fadeUp 0.9s ease both;
}
.hero .lede { animation: fadeUp 0.9s ease 0.15s both; margin-bottom: 34px; }
.hero .hero-actions { animation: fadeUp 0.9s ease 0.3s both; }

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

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

/* ===== Equalizer signature element ===== */
.eq-divider {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin: 0 auto;
  padding: 40px 0;
  width: fit-content;
}

.eq-divider span {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  border-radius: 1px;
  animation: eq 1.8s ease-in-out infinite;
}

.eq-divider span:nth-child(1) { height: 10px; animation-delay: -1.2s; }
.eq-divider span:nth-child(2) { height: 22px; animation-delay: -0.9s; }
.eq-divider span:nth-child(3) { height: 34px; animation-delay: -0.6s; }
.eq-divider span:nth-child(4) { height: 16px; animation-delay: -1.5s; }
.eq-divider span:nth-child(5) { height: 28px; animation-delay: -0.3s; }
.eq-divider span:nth-child(6) { height: 12px; animation-delay: -1.05s; }
.eq-divider span:nth-child(7) { height: 24px; animation-delay: -0.75s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .eq-divider span { animation: none; height: 20px !important; opacity: 0.7; }
}

/* ===== Sections ===== */
section { padding: var(--section-pad) 0; position: relative; }

.section-alt { background: var(--bg-secondary); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg-primary);
  padding: 40px 32px;
  transition: background 0.3s ease;
}
.service-card:hover { background: var(--bg-card); }

.service-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 15px; }

/* ===== Diferenciais ===== */
.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}

.diff-item { display: flex; gap: 20px; }

.diff-mark {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
}

.diff-item h3 { font-size: 18px; margin-bottom: 6px; }
.diff-item p { font-size: 14.5px; }

/* ===== Steps (Como contratar) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.step { text-align: center; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold-dim);
  margin-bottom: 8px;
  font-weight: 400;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 14.5px; max-width: 280px; margin: 0 auto; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--bg-card), var(--wine) 140%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gallery-item:hover { border-color: var(--gold-dim); transform: translateY(-3px); }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.gallery-placeholder-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ===== Números e destaques ===== */
.numbers-band {
  padding: clamp(42px, 6vw, 76px) 0;
  background: linear-gradient(110deg, #241b12, #111017 54%, #261d12);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 20px;
}
.stat-item { padding: 8px 20px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-item strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.stat-item span:last-child { color: var(--text-muted); font-size: 14px; }

/* ===== Página Sobre ===== */
.story-layout { display: grid; grid-template-columns: minmax(280px, .9fr) 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.story-photo { min-height: 540px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
.story-photo img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: center; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy p { font-size: 16px; margin: 0 0 18px; max-width: 600px; }
.milestones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.milestone { padding: 32px 25px; background: var(--bg-primary); }
.milestone > span { display: block; color: var(--gold); font-family: var(--font-display); font-size: 15px; margin-bottom: 24px; }
.milestone h3 { font-size: 22px; margin-bottom: 12px; }
.milestone p { font-size: 14px; }
.milestone-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--text-faint); }

.carousel { overflow: hidden; position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 14px; }
.carousel-button {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--bg-card); color: var(--gold-light); border: 1px solid var(--gold-dim);
  font-size: 21px; line-height: 1; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel-button:hover { background: rgba(201,169,97,.13); border-color: var(--gold); transform: translateY(-1px); }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31.5%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scroll-behavior: auto;
  padding: 2px 1px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.highlight-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.highlight-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.highlight-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,13,.04) 24%, rgba(10,9,13,.94) 100%); }
.highlight-card:hover img { transform: scale(1.045); }
.highlight-copy { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; }
.highlight-copy > span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.highlight-copy h3 { margin: 8px 0 9px; font-size: 25px; }
.highlight-copy p { color: #d0c7ba; font-size: 14px; }
.carousel-hint { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-faint); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(11,11,15,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border: 1px solid var(--border); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--gold-light);
  font-size: 28px;
  background: none; border: none; cursor: pointer;
}

/* ===== Depoimentos ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
}

.testimonial-card p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ===== CTA final ===== */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(61,27,36,0.6), transparent 70%),
    var(--bg-primary);
  padding: var(--section-pad) 0;
}

.cta-final h2 { margin-bottom: 18px; }
.cta-final .lede { margin: 0 auto 36px; }

/* ===== Footer ===== */
footer {
  background: #08070A;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand { display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 320px; }

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

.social-row { display: flex; gap: 16px; }
.social-row a { color: var(--text-muted); font-size: 14px; }
.social-row a:hover { color: var(--gold); }

/* ===== WhatsApp float button ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1E8E5A;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.5); }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 520px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

/* ===== Page hero (páginas internas) ===== */
.page-hero {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero .lede { margin-top: 16px; }

/* ===== Formulário de contato ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-info-block { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.contact-info-block h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 6px; font-family: var(--font-body); }
.contact-info-block p { font-size: 15px; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .main-nav ul, .main-nav .btn { display: none; }
  .nav-toggle { display: block; }

  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    width: 78%; max-width: 340px; height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 32px;
  }
  .main-nav.mobile-open ul {
    display: flex; flex-direction: column; gap: 22px;
  }
  .main-nav.mobile-open .btn { display: inline-flex; }
  .main-nav.mobile-open a { font-size: 17px; }

  .services-grid { grid-template-columns: 1fr; }
  .diff-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 8px; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .carousel-track { grid-auto-columns: minmax(270px, 78vw); }
  .story-layout { grid-template-columns: 1fr; }
  .story-photo, .story-photo img { min-height: 390px; }
  .milestones-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .milestones-grid { grid-template-columns: 1fr; }
}

/* Fotos reais do portfólio */
.hero { background-image: linear-gradient(90deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.64) 48%, rgba(7,7,10,.28) 100%), url('../img/hero.webp'); background-size: cover; background-position: center; }
.hero::before { background: linear-gradient(180deg, rgba(5,5,8,.08), rgba(5,5,8,.42)); }
.gallery-item { overflow: hidden; }
.gallery-item img { transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .hero { background-position: 58% center; } }

/* Fotos reais do portfólio */
.hero { background-image: linear-gradient(90deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.64) 48%, rgba(7,7,10,.28) 100%), url('../img/hero.webp'); background-size: cover; background-position: center; }
.hero::before { background: linear-gradient(180deg, rgba(5,5,8,.08), rgba(5,5,8,.42)); }
.gallery-item { overflow: hidden; }
.gallery-item img { transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .hero { background-position: 58% center; } }
