/* ============================================================
   BLACK GOLD BARBEARIA — style.css
   ============================================================ */

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

:root {
  --dark:       #0a0a0a;
  --dark2:      #111111;
  --dark3:      #1a1a1a;
  --dark4:      #222222;
  --gold:       #C9A84C;
  --gold-light: #E4C76B;
  --gold-glow:  rgba(201,168,76,.15);
  --gray:       #777777;
  --gray-light: #bbbbbb;
  --white:      #ffffff;
  --radius:     12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── Navegação ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,.1);
  transition: padding .3s;
}
nav.scrolled { padding: 12px 6%; }

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: .1em; color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: .88rem; color: var(--gray-light);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.btn-agenda {
  background: var(--gold) !important;
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: .85rem !important;
  transition: background .2s, transform .15s !important;
}
.btn-agenda:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 6% 80px;
  position: relative; overflow: hidden;
  gap: 60px;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(201,168,76,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(201,168,76,.06) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content { position: relative; z-index: 1; max-width: 580px; }
.hero-visual   { position: relative; z-index: 1; flex-shrink: 0; }

.hero-label {
  font-size: .75rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.0;
  margin-bottom: 24px;
}
.hero-content h1 .accent { color: var(--gold); }

.hero-sub {
  color: var(--gray); font-size: 1.05rem;
  line-height: 1.7; max-width: 480px; margin-bottom: 40px;
}

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

.btn-gold {
  background: var(--gold); color: #000;
  padding: 15px 36px; border-radius: 10px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.3); }

.btn-outline {
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  padding: 15px 36px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: all .2s; display: inline-flex; align-items: center;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,.08); }

.hero-stats {
  display: flex; gap: 48px;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 900; color: var(--gold);
}
.stat-label { font-size: .8rem; color: var(--gray); margin-top: 4px; }

/* ── Seção genérica ─────────────────────────────────────────── */
section { padding: 100px 6%; }

.section-label {
  font-size: .75rem; font-weight: 700; color: var(--gold);
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 520px;
}

/* ── Serviços ───────────────────────────────────────────────── */
#servicos { background: var(--dark2); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
.servico-card {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s;
}
.servico-card:hover {
  border-color: rgba(201,168,76,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.servico-icon { font-size: 1.8rem; margin-bottom: 16px; }
.servico-nome { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.servico-desc { font-size: .83rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.servico-preco { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.servico-tempo { font-size: .75rem; color: var(--gray); margin-top: 4px; }

/* ── Equipe ─────────────────────────────────────────────────── */
#equipe { background: var(--dark); }

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 48px;
}
.barbeiro-card {
  text-align: center;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
}
.barbeiro-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.barbeiro-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.barbeiro-body { padding: 20px; }
.barbeiro-nome { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.barbeiro-esp  { font-size: .82rem; color: var(--gold); margin-bottom: 12px; }
.barbeiro-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

/* ── Galeria ────────────────────────────────────────────────── */
#galeria { background: var(--dark2); padding: 80px 6%; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin-top: 40px;
}
.galeria-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer;
}
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }

/* ── CTA Agendamento ─────────────────────────────────────────── */
#agenda {
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 80px 6%;
  text-align: center;
}
#agenda > div { max-width: 640px; margin: 0 auto; }

.btn-whatsapp {
  background: #25D366; color: white;
  padding: 16px 40px; border-radius: 10px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .2s;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.3); }

/* ── Avaliações ─────────────────────────────────────────────── */
#avaliacoes { background: var(--dark); }

.avaliacoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
.avaliacao-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.avaliacao-card:hover { border-color: rgba(201,168,76,.2); transform: translateY(-3px); }
.avaliacao-card .stars { color: var(--gold); margin-bottom: 16px; font-size: 1rem; letter-spacing: 2px; }
.avaliacao-card .texto { font-size: .9rem; color: var(--gray-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.avaliacao-card .autor { display: flex; align-items: center; gap: 12px; }
.avaliacao-card .nome  { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .9rem; }
.avaliacao-card .bairro { font-size: .75rem; color: var(--gray); margin-top: 2px; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 40px 6%;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
}

/* ── Animações ──────────────────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsivo ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  #hero { flex-direction: column; padding: 130px 6% 60px; gap: 48px; }
  .hero-visual img { width: 100%; height: 340px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 65px; left: 0; right: 0;
    background: var(--dark2); padding: 24px 6%; gap: 20px;
    border-bottom: 1px solid rgba(201,168,76,.1);
  }
}
@media (max-width: 700px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 5%; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
