/* ===== BARBERPRO - SISTEMA COMPLETO DE BARBEARIA ===== */
/* Autor: BarberPro Dev | Versão: 1.0 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0807;
  --bg-card: #110f0d;
  --bg-glass: rgba(17,15,13,0.7);
  --gold: #c9953a;
  --gold-light: #e8b554;
  --gold-dark: #a07828;
  --text: #ede8e0;
  --text-muted: #7a6f63;
  --border: #2a2319;
  --danger: #e05050;
  --success: #4caf80;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-gold: 0 0 30px rgba(201,149,58,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: rgba(201,149,58,0.3); border-radius: 3px; }

/* ===== UTILITIES ===== */
.gold-text { background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glass { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid rgba(201,149,58,0.1); }
.gold-glow { box-shadow: var(--shadow-gold), inset 0 0 20px rgba(201,149,58,0.03); }
.section-badge { display: inline-block; color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.hidden { display: none !important; }
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; font-family: 'Inter', sans-serif; }
.btn-gold { background: var(--gold); color: #0a0807; }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 8px 30px rgba(201,149,58,0.35); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: rgba(201,149,58,0.4); color: var(--gold); }
.btn-danger { background: var(--danger); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: border-color 0.2s; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,149,58,0.1); }
.form-select option { background: var(--bg-card); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.4s ease; padding: 20px 0; }
.navbar.scrolled { background: var(--bg-glass); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; }
.nav-logo .logo-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(201,149,58,0.15); border: 1px solid rgba(201,149,58,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 10px 22px; background: var(--gold); color: #0a0807; border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; }
.nav-cta:hover { background: var(--gold-light); box-shadow: 0 6px 20px rgba(201,149,58,0.3); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text-muted); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
@media(max-width:900px) { .nav-links { display: none; } .hamburger { display: flex; } }

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(10, 8, 7, 0.98) 25%,
      rgba(10, 8, 7, 0.88) 45%,
      rgba(10, 8, 7, 0.55) 70%,
      rgba(10, 8, 7, 0.2) 100%
  );
}

.hero-overlay2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      var(--bg) 0%,
      transparent 40%
  );
}

.hero .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-top: 80px;
}

.hero-content::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(201, 149, 58, 0.08);
  filter: blur(120px);
  top: -100px;
  left: -150px;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201,149,58,0.3);
  background: rgba(201,149,58,0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 42px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201,149,58,0.12);
  border: 1px solid rgba(201,149,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-item p {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gold-text {
  color: var(--gold);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 992px) {

  .hero {
      text-align: center;
  }

  .hero-content {
      max-width: 100%;
      padding-top: 120px;
  }

  .hero h1 {
      font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .hero p {
      margin-left: auto;
      margin-right: auto;
  }

  .hero-buttons {
      justify-content: center;
  }

  .hero-stats {
      justify-content: center;
  }

  .hero-content::before {
      width: 350px;
      height: 350px;
  }
}

@media (max-width: 768px) {

  .hero {
      min-height: auto;
      padding: 120px 0 80px;
  }

  .hero h1 {
      line-height: 1.05;
  }

  .hero-buttons {
      flex-direction: column;
  }

  .hero-buttons .btn {
      width: 100%;
      justify-content: center;
  }

  .hero-stats {
      flex-direction: column;
  }

  .stat-item {
      width: 100%;
  }
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.about-img::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); background: linear-gradient(to top, rgba(10,8,7,0.6) 0%, transparent 60%); }
.about-badge-float { position: absolute; bottom: -20px; left: -20px; padding: 20px 24px; border-radius: var(--radius); z-index: 1; }
.about-items { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.about-item { display: flex; gap: 16px; }
.about-item-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(201,149,58,0.1); border: 1px solid rgba(201,149,58,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.about-item h3 { font-weight: 600; margin-bottom: 4px; }
.about-item p { font-size: 0.875rem; color: var(--text-muted); }
@media(max-width:900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== SERVICES ===== */
.services-bg { background: radial-gradient(ellipse at center, rgba(201,149,58,0.04) 0%, transparent 70%); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; }
.service-card:hover { border-color: rgba(201,149,58,0.3); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.service-img { height: 200px; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-price { position: absolute; top: 12px; right: 12px; background: var(--bg-glass); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 50px; font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.service-body { padding: 24px; }
.service-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.service-body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; }
.service-meta { display: flex; align-items: center; justify-content: space-between; }
.service-duration { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.service-link { font-size: 0.85rem; color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.service-link:hover { gap: 8px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,7,0.9) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 16px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.85rem; font-weight: 600; color: var(--gold); }
@media(max-width:700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== REVIEWS ===== */
.reviews-bg { background: radial-gradient(ellipse at center, rgba(201,149,58,0.03) 0%, transparent 70%); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.3s; }
.review-card:hover { border-color: rgba(201,149,58,0.2); }
.review-quote { font-size: 2.5rem; color: rgba(201,149,58,0.2); line-height: 1; margin-bottom: 12px; }
.review-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.review-footer { display: flex; align-items: center; justify-content: space-between; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(201,149,58,0.15); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.review-name { font-size: 0.875rem; font-weight: 600; }
.stars { color: var(--gold); font-size: 0.75rem; letter-spacing: 2px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: none; border: none; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; text-align: left; gap: 16px; transition: color 0.2s; }
.faq-question:hover { color: var(--gold); }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; transition: transform 0.3s; color: var(--gold); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; padding: 0 24px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.3s; }
.contact-item:hover { border-color: rgba(201,149,58,0.3); }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(201,149,58,0.1); border: 1px solid rgba(201,149,58,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-info small { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.contact-info a, .contact-info p { font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.contact-info a:hover { color: var(--gold); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; height: 400px; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; border: none; }
@media(max-width:900px) { .contact-grid { grid-template-columns: 1fr; } .contact-map { height: 280px; } }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.footer-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.footer-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; color: var(--text-muted); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border-radius: 10px; background: rgba(201,149,58,0.1); border: 1px solid rgba(201,149,58,0.2); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background 0.2s; }
.social-link:hover { background: rgba(201,149,58,0.2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: #9370DB;
}
@media(max-width:700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== DASHBOARD ===== */
.dash-layout { min-height: 100vh; display: flex; }
.dash-sidebar { width: 240px; flex-shrink: 0; background: var(--bg-card); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 100; transition: transform 0.3s; }
.dash-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.dash-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all 0.2s; border: none; background: none; width: 100%; text-align: left; font-family: 'Inter', sans-serif; }
.dash-nav-item:hover { background: rgba(201,149,58,0.08); color: var(--text); }
.dash-nav-item.active { background: rgba(201,149,58,0.12); color: var(--gold); border: 1px solid rgba(201,149,58,0.2); }
.dash-nav-item .nav-icon { font-size: 1.1rem; }
.dash-sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border); }
.dash-main { flex: 1; margin-left: 240px; padding: 32px; min-height: 100vh; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-header { margin-bottom: 32px; }
.dash-header h1 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }
.dash-header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.stat-card:hover { border-color: rgba(201,149,58,0.2); }
.stat-card-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(201,149,58,0.1); border: 1px solid rgba(201,149,58,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.stat-card-value { font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.card-title { font-weight: 600; font-size: 1rem; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
/* TABLE */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th { text-align: left; padding: 12px 16px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
td { padding: 14px 16px; border-bottom: 1px solid rgba(42,35,25,0.5); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-gold { background: rgba(201,149,58,0.15); color: var(--gold); border: 1px solid rgba(201,149,58,0.2); }
.badge-green { background: rgba(76,175,128,0.15); color: var(--success); border: 1px solid rgba(76,175,128,0.2); }
.badge-red { background: rgba(224,80,80,0.15); color: var(--danger); border: 1px solid rgba(224,80,80,0.2); }
.action-btn { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 6px; transition: background 0.2s; font-size: 0.9rem; }
.action-btn:hover { background: rgba(255,255,255,0.06); }
.search-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; padding: 10px 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--gold); }
.filter-select { padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 0.875rem; outline: none; cursor: pointer; }
/* CHARTS */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-bar-wrap { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding-bottom: 8px; }
.chart-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; height: 100%; justify-content: flex-end; }
.chart-bar { background: linear-gradient(to top, var(--gold-dark), var(--gold-light)); border-radius: 6px 6px 0 0; min-height: 4px; width: 100%; transition: height 0.6s ease; }
.chart-bar-label { font-size: 0.7rem; color: var(--text-muted); }
.chart-bar-val { font-size: 0.7rem; color: var(--gold); font-weight: 600; }
.pie-wrap { display: flex; align-items: center; gap: 24px; }
.pie-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pie-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.pie-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
/* CLIENTS GRID */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.client-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: border-color 0.3s; }
.client-card:hover { border-color: rgba(201,149,58,0.2); }
.client-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(201,149,58,0.15); border: 1px solid rgba(201,149,58,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.client-name { font-weight: 600; margin-bottom: 4px; }
.client-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.client-stats { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.client-stat-val { font-weight: 700; font-size: 1rem; color: var(--gold); }
.client-stat-lbl { font-size: 0.7rem; color: var(--text-muted); }
/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 24px; }
/* LOGIN */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); position: relative; padding: 16px; }
.login-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(201,149,58,0.06) 0%, transparent 70%); }
.login-box { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 48px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
@media(max-width:480px) {
  .login-box { padding: 32px 20px; border-radius: var(--radius); }
  .login-logo h1 { font-size: 1.6rem; }
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; }
.login-logo p { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.15em; text-transform: uppercase; }
.login-err { background: rgba(224,80,80,0.1); border: 1px solid rgba(224,80,80,0.25); border-radius: 8px; padding: 12px 16px; font-size: 0.875rem; color: var(--danger); margin-bottom: 20px; display: none; }
.login-err.show { display: block; }
/* BOOKING PAGE */
.booking-page { min-height: 100vh; background: var(--bg); }
.booking-header { background: var(--bg-glass); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.booking-header-inner { display: flex; align-items: center; justify-content: space-between; }
.back-link { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }
.booking-body { max-width: 640px; margin: 0 auto; padding: 48px 24px; }
.steps-progress { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 48px; }
.step-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); transition: all 0.3s; }
.step-dot.done { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.step-dot.active { background: rgba(201,149,58,0.15); border-color: var(--gold); color: var(--gold); }
.step-line { flex: 1; max-width: 80px; height: 1px; background: var(--border); transition: background 0.3s; }
.step-line.done { background: var(--gold); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 6px; }
.step-sub { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.service-option { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; transition: all 0.2s; margin-bottom: 10px; }
.service-option:hover { border-color: rgba(201,149,58,0.3); }
.service-option.selected { border-color: var(--gold); background: rgba(201,149,58,0.08); box-shadow: var(--shadow-gold); }
.service-option-name { font-weight: 600; }
.service-option-dur { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.service-option-price { font-weight: 700; color: var(--gold); }
.barber-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.barber-option { padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; text-align: center; transition: all 0.2s; }
.barber-option:hover { border-color: rgba(201,149,58,0.3); }
.barber-option.selected { border-color: var(--gold); background: rgba(201,149,58,0.08); }
.barber-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(201,149,58,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: var(--gold); margin: 0 auto 8px; }
.barber-name { font-size: 0.875rem; font-weight: 600; }
.calendar-wrap { overflow-x: auto; margin-bottom: 32px; }
.mini-cal { width: 100%; border-collapse: collapse; }
.mini-cal th { padding: 8px; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.mini-cal td { padding: 4px; text-align: center; }
.cal-day { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; border: none; background: none; color: var(--text); font-family: 'Inter', sans-serif; }
.cal-day:hover:not(:disabled) { background: rgba(201,149,58,0.15); color: var(--gold); }
.cal-day.selected { background: var(--gold); color: var(--bg); font-weight: 700; }
.cal-day:disabled { color: var(--text-muted); opacity: 0.35; cursor: not-allowed; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav button { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem; }
.cal-nav button:hover { border-color: var(--gold); color: var(--gold); }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media(min-width:480px) { .time-grid { grid-template-columns: repeat(5, 1fr); } }
.time-slot { padding: 12px 6px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); font-size: 0.85rem; font-weight: 500; cursor: pointer; text-align: center; transition: all 0.2s; }
.time-slot:hover:not(.occupied) { border-color: rgba(201,149,58,0.4); }
.time-slot.selected { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 700; }
.time-slot.occupied { background: rgba(224,80,80,0.07); color: rgba(224,80,80,0.45); text-decoration: line-through; cursor: not-allowed; font-size: 0.75rem; }
.booking-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.booking-summary h3 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.875rem; }
.summary-row:last-child { padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; }
.summary-total { font-size: 1.2rem; font-weight: 700; }
.success-screen { text-align: center; padding: 48px 0; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(201,149,58,0.15); border: 1px solid rgba(201,149,58,0.3); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 24px; }
.btn-group { display: flex; gap: 12px; }
/* RESPONSIVE DASHBOARD */
.dash-toggle { display: none; }
@media(max-width:900px) {
  .dash-sidebar { transform: translateX(-100%); }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; padding: 20px 16px 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .dash-toggle { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px; color: var(--text); font-size: 0.875rem; cursor: pointer; margin-bottom: 24px; font-family: 'Inter', sans-serif; }
  .dash-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 99; display: none; }
  .dash-overlay.show { display: block; }
  /* Tabela de agendamentos em cards no mobile */
  .appt-table-wrap table thead { display: none; }
  .appt-table-wrap table, .appt-table-wrap tbody, .appt-table-wrap tr, .appt-table-wrap td { display: block; width: 100%; }
  .appt-table-wrap tr { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 14px 16px; }
  .appt-table-wrap td { padding: 4px 0; font-size: 0.875rem; border: none; display: flex; align-items: center; gap: 6px; }
  .appt-table-wrap td::before { content: attr(data-label); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; min-width: 70px; }
  .appt-table-wrap td:last-child { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
}
@media(max-width:500px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dash-header h1 { font-size: 1.4rem; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-bar .filter-select { width: 100%; }
  .modal { padding: 24px 16px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* ===== BOOKING: MULTI-SERVIÇO ===== */
.service-checkbox {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem; font-weight: 700; color: var(--bg);
  transition: all 0.2s;
}
.service-checkbox.checked { background: var(--gold); border-color: var(--gold); }

.service-total-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 10px; margin: 4px 0 20px;
  background: rgba(201,149,58,0.08); border: 1px solid rgba(201,149,58,0.2);
  font-size: 0.875rem;
}

/* ===== BOOKING: BARBEIROS COM FOTO ===== */
.barber-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 24px 0 12px; }

.barber-photo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 8px; display: block;
  border: 2px solid var(--border); transition: border-color 0.2s;
}
.barber-option.selected .barber-photo { border-color: var(--gold); }
.barber-option.selected .barber-avatar { border-color: var(--gold); }

/* ===== BOOKING: SELETOR DE SEMANA ===== */
.week-days-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px; margin-bottom: 28px;
}
.week-day-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-card); cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.week-day-btn:hover { border-color: rgba(201,149,58,0.3); }
.week-day-btn.selected { border-color: var(--gold); background: rgba(201,149,58,0.1); box-shadow: var(--shadow-gold); }
.week-day-name { font-size: 0.7rem; color: var(--text-muted); text-transform: capitalize; }
.week-day-num  { font-size: 1.3rem; font-weight: 700; color: var(--text); line-height: 1; }
.week-day-mon  { font-size: 0.65rem; color: var(--text-muted); }
.week-day-btn.selected .week-day-num { color: var(--gold); }

/* ===== RESPONSIVO GERAL — MOBILE FIRST ===== */

/* Hero — mobile */
@media(max-width:640px) {
  .hero-content { padding-top: 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .stat-item span { display: none; }
}

/* Seções — padding reduzido no mobile */
@media(max-width:640px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .container { padding: 0 16px; }
}

/* Galeria — 2 colunas no mobile */
@media(max-width:480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Footer — 1 coluna no mobile */
@media(max-width:500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Booking body — padding menor no mobile */
@media(max-width:640px) {
  .booking-body { padding: 32px 16px 48px; }
  .step-title { font-size: 1.5rem; }
  .steps-progress { margin-bottom: 32px; }
  .barber-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .barber-option { padding: 10px 6px; }
  .barber-photo { width: 48px; height: 48px; }
}

/* Tablet: serviços 2 colunas */
@media(min-width:640px) and (max-width:900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Desktop: navbar full */
@media(min-width:901px) {
  .hamburger { display: none !important; }
  .nav-links { display: flex !important; }
}
