/* ============================================================
   BARBEARIA PRIME — Design System Premium
   Identidade: Noir Luxury · Masculino · Moderno · Exclusivo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;900&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
  /* Cores base */
  --bg-0:        #050505;
  --bg-1:        #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --bg-4:        #202020;
  --bg-5:        #2a2a2a;

  /* Dourado premium */
  --gold:        #c9a84c;
  --gold-bright: #e8c96a;
  --gold-dim:    #8a6e2f;
  --gold-glow:   rgba(201,168,76,.15);

  /* Texto */
  --text-1:      #f2f2f2;
  --text-2:      #a0a0a0;
  --text-3:      #5a5a5a;
  --text-inv:    #080808;

  /* Bordas */
  --border:      rgba(255,255,255,.07);
  --border-gold: rgba(201,168,76,.3);
  --border-glow: rgba(201,168,76,.6);

  /* Feedback */
  --success:     #22c55e;
  --error:       #e53e3e;
  --warning:     #d97706;
  --info:        #3b82f6;

  /* Layout */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  /* Sombras */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.5);
  --shadow:      0 8px 32px rgba(0,0,0,.6);
  --shadow-gold: 0 0 24px rgba(201,168,76,.2);
  --shadow-up:   0 -4px 20px rgba(0,0,0,.4);

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }

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

/* ── Utilitários ── */
.gold { color: var(--gold); }
.text-muted { color: var(--text-2); }
.text-dim { color: var(--text-3); }

/* ═══════════════════════════════════════════
   BOTÕES
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
  text-decoration: none; line-height: 1;
}

.btn-gold {
  background: var(--gold);
  color: var(--text-inv);
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--text-inv);
  box-shadow: 0 6px 24px rgba(201,168,76,.5);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-1); border-color: rgba(255,255,255,.2); }

.btn-danger {
  background: rgba(229,62,62,.15);
  color: var(--error);
  border: 1px solid rgba(229,62,62,.3);
}
.btn-danger:hover { background: rgba(229,62,62,.25); }

.btn-success {
  background: rgba(34,197,94,.15);
  color: var(--success);
  border: 1px solid rgba(34,197,94,.3);
}

.btn-lg  { padding: 15px 36px; font-size: 14px; border-radius: var(--radius-sm); }
.btn-sm  { padding: 8px 16px; font-size: 12px; }
.btn-xs  { padding: 5px 12px; font-size: 11px; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; aspect-ratio: 1; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-gold);
}
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .4;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 24px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px; color: var(--text-1);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-logo { height: 38px; width: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-gold); }
.navbar-links { display: flex; align-items: center; gap: 6px; }
.navbar-links > a {
  color: var(--text-2); font-size: 12px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; padding: 8px 12px;
  border-radius: var(--radius-sm); transition: all .2s;
}
.navbar-links > a:hover { color: var(--text-1); background: rgba(255,255,255,.05); }
.navbar-links > a:not(.btn) { color: var(--text-2); }

/* ── Espaçamento para o body com navbar fixa ── */
body > nav + * { padding-top: 68px; }
main { padding-top: 0; }

/* ═══════════════════════════════════════════
   MENSAGENS
═══════════════════════════════════════════ */
.messages-container { max-width: 1200px; margin: 80px auto 0; padding: 16px 24px 0; }
.alert {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; margin-bottom: 10px;
  border: 1px solid; backdrop-filter: blur(10px);
}
.alert-success { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); color: #86efac; }
.alert-error, .alert-danger { background: rgba(229,62,62,.08); border-color: rgba(229,62,62,.25); color: #fca5a5; }
.alert-warning { background: rgba(217,119,6,.08); border-color: rgba(217,119,6,.25); color: #fde68a; }
.alert-info { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.25); color: #93c5fd; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg-0);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(201,168,76,.03) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: .3;
}
/* Grade decorativa */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  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: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 100px 0 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold); opacity: .5;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 3px; line-height: .95;
  color: var(--text-1);
  margin-bottom: 8px;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-2); margin-bottom: 48px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge {
  position: absolute; right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: radial-gradient(circle, rgba(201,168,76,.05), transparent);
  animation: rotate-badge 20s linear infinite;
}
.hero-badge-inner { font-family: var(--font-display); font-size: 48px; color: var(--gold); line-height: 1; }
.hero-badge-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-2); margin-top: 4px; }
@keyframes rotate-badge { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

/* ═══════════════════════════════════════════
   SEÇÕES
═══════════════════════════════════════════ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-1); }

.section-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-label::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--gold); opacity: .4; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px; line-height: 1;
  color: var(--text-1);
  margin-bottom: 60px;
}

/* ═══════════════════════════════════════════
   CARDS DE SERVIÇO
═══════════════════════════════════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--border-gold); background: var(--bg-3); }
.card:hover::before { opacity: 1; }

.card-number {
  font-family: var(--font-display); font-size: 4rem;
  color: rgba(201,168,76,.08); line-height: 1;
  position: absolute; top: 16px; right: 20px; letter-spacing: 2px;
}
.card-title { font-size: 18px; font-weight: 700; letter-spacing: .5px; margin-bottom: 10px; }
.card-text { color: var(--text-2); font-size: 14px; margin-bottom: 28px; line-height: 1.7; }
.card-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.price { color: var(--gold); font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px; }
.duration { color: var(--text-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ═══════════════════════════════════════════
   BARBEIROS
═══════════════════════════════════════════ */
.barbers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }

.barber-card {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 32px 20px; text-align: center;
  position: relative; overflow: hidden; transition: all .3s;
}
.barber-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  transform: scaleX(0); transition: transform .3s;
}
.barber-card:hover { border-color: var(--border-gold); }
.barber-card:hover::after { transform: scaleX(1); }

.barber-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 20px;
  border: 2px solid var(--gold); padding: 2px;
}
.barber-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--text-inv); font-family: var(--font-display); font-size: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.barber-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; }
.barber-bio { color: var(--text-2); font-size: 13px; margin-bottom: 20px; line-height: 1.6; }

/* ═══════════════════════════════════════════
   CTA / RODAPÉ
═══════════════════════════════════════════ */
.cta-section {
  background: var(--bg-1);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.cta-content { text-align: center; }
.cta-address { color: var(--text-2); font-size: 16px; margin: 16px 0 8px; }
.cta-hours { color: var(--text-3); font-size: 14px; margin-bottom: 8px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { color: var(--text-3); font-size: 13px; letter-spacing: 1px; }

/* ═══════════════════════════════════════════
   AUTH
═══════════════════════════════════════════ */
.auth-container {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-0); position: relative; overflow: hidden;
}
.auth-container::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,.04), transparent);
}
.auth-card {
  position: relative; z-index: 2;
  background: var(--bg-2); border: 1px solid var(--border-gold);
  padding: 52px 44px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-gold), var(--shadow);
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.auth-header { text-align: center; margin-bottom: 40px; }
.auth-logo { font-size: 2.5rem; margin-bottom: 16px; }
.auth-title { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 3px; color: var(--text-1); }
.auth-subtitle { color: var(--text-2); font-size: 13px; margin-top: 8px; letter-spacing: .5px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-back { text-align: center; margin-top: 28px; }
.auth-back a { color: var(--text-3); font-size: 13px; }
.auth-back a:hover { color: var(--text-2); }

/* ═══════════════════════════════════════════
   FORMULÁRIOS
═══════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"],
input[type="date"], input[type="time"],
select, textarea, .form-input {
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-1); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 15px; font-family: var(--font-body);
  width: 100%; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus, .form-input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-group-btn { display: flex; gap: 8px; align-items: flex-end; }
.form-error { color: var(--error); font-size: 12px; }
.form-help { color: var(--text-3); font-size: 12px; }

.form-section {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 28px; margin-bottom: 20px; position: relative;
}
.form-section::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; bottom: 0;
  background: var(--gold); opacity: .4;
}
.form-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}

/* ═══════════════════════════════════════════
   AGENDAMENTO — WIZARD
═══════════════════════════════════════════ */
.booking-wrapper { max-width: 800px; margin: 0 auto 80px; }

.page-header { text-align: center; padding: 80px 0 48px; }
.page-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 3px; color: var(--text-1); margin-bottom: 12px;
}
.page-subtitle { color: var(--text-2); font-size: 15px; }

/* Opções de serviço */
.services-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 2px; }
.service-option { cursor: pointer; }
.service-option input { display: none; }
.service-option-inner {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 18px; background: var(--bg-3); border: 1px solid var(--border);
  border-bottom: 3px solid transparent; transition: all .2s;
}
.service-option:hover .service-option-inner { border-color: var(--border-gold); background: var(--bg-4); }
.service-option.selected .service-option-inner {
  border-color: var(--gold); border-bottom-color: var(--gold);
  background: rgba(201,168,76,.06);
}
.service-option-name { font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.service-option-price { color: var(--gold); font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 1px; }
.service-option-duration { color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* Opções de barbeiro */
.barbers-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.barber-option { cursor: pointer; }
.barber-option input { display: none; }
.barber-option-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; border: 1px solid var(--border); background: var(--bg-3);
  border-bottom: 3px solid transparent; transition: all .2s;
}
.barber-option:hover .barber-option-inner { border-color: var(--border-gold); background: var(--bg-4); }
.barber-option.selected .barber-option-inner {
  border-color: var(--gold); border-bottom-color: var(--gold);
  background: rgba(201,168,76,.06);
}
.barber-option-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.barber-option-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--text-inv); font-family: var(--font-display); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.barber-option-name { font-size: 13px; font-weight: 700; text-align: center; letter-spacing: .3px; }

/* Slots de horário */
.slots-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn {
  background: var(--bg-3); color: var(--text-1);
  border: 1px solid var(--border); border-bottom: 2px solid var(--border);
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer; letter-spacing: .5px;
  transition: all .15s;
}
.slot-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--bg-4); }
.slot-btn.selected {
  background: var(--gold); color: var(--text-inv);
  border-color: var(--gold); border-bottom-color: var(--gold-dim);
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.slots-hint, .slots-empty { color: var(--text-3); font-size: 14px; font-style: italic; }
.slots-error { color: var(--error); font-size: 14px; }

/* ═══════════════════════════════════════════
   CONFIRMAÇÃO
═══════════════════════════════════════════ */
.confirm-card {
  max-width: 520px; margin: 80px auto;
  background: var(--bg-2); border: 1px solid var(--border-gold);
  padding: 52px; text-align: center;
  box-shadow: var(--shadow-gold);
  position: relative;
}
.confirm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.confirm-icon { font-size: 3rem; margin-bottom: 20px; }
.confirm-title { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 2px; margin-bottom: 8px; }
.confirm-subtitle { color: var(--text-2); margin-bottom: 40px; }
.confirm-details { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; margin-bottom: 36px; }
.confirm-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.04); }
.confirm-row:last-child { border-bottom: none; }
.confirm-label { color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.confirm-value { font-weight: 700; }
.confirm-actions { display: flex; flex-direction: column; gap: 12px; }

/* ═══════════════════════════════════════════
   CHAT IA
═══════════════════════════════════════════ */
.chat-page {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 88px 20px 40px; min-height: 100vh;
  background: var(--bg-0);
}
.chat-container {
  width: 100%; max-width: 720px; background: var(--bg-2);
  border: 1px solid var(--border-gold);
  display: flex; flex-direction: column;
  height: calc(100vh - 128px); min-height: 520px;
  position: relative;
  box-shadow: var(--shadow-gold);
}
.chat-container::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.chat-header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  flex-shrink: 0; background: var(--bg-3);
}
.chat-avatar { font-size: 2rem; }
.chat-title { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.chat-status { font-size: 12px; color: var(--success); letter-spacing: .5px; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  scrollbar-width: thin; scrollbar-color: var(--bg-5) transparent;
}
.chat-bubble { max-width: 78%; }
.chat-bubble-user { align-self: flex-end; }
.chat-bubble-assistant { align-self: flex-start; }
.bubble-content {
  padding: 13px 18px; font-size: 14px; line-height: 1.65;
}
.chat-bubble-user .bubble-content {
  background: var(--gold); color: var(--text-inv);
  border-radius: 12px 12px 2px 12px; font-weight: 500;
}
.chat-bubble-assistant .bubble-content {
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px; color: var(--text-1);
}
.bubble-time { font-size: 10px; color: var(--text-3); padding: 4px 4px 0; display: block; letter-spacing: .5px; }
.chat-typing .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-2); margin: 0 2px;
  animation: typing .9s infinite;
}
.chat-typing .dot:nth-child(2) { animation-delay: .18s; }
.chat-typing .dot:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity:.5; } 30% { transform: translateY(-8px); opacity:1; } }
.chat-input-area {
  padding: 16px 24px; border-top: 1px solid var(--border);
  flex-shrink: 0; background: var(--bg-3);
}
.chat-form { display: flex; gap: 10px; margin-bottom: 10px; }
.chat-input {
  flex: 1; background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-1); padding: 12px 18px; font-size: 14px;
  font-family: var(--font-body); border-radius: var(--radius-sm);
}
.chat-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,168,76,.1); }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; }
.suggestion-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-3); padding: 5px 14px; font-size: 12px;
  font-family: var(--font-body); cursor: pointer; letter-spacing: .3px;
  transition: all .15s; border-radius: 2px;
}
.suggestion-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════
   BADGES
═══════════════════════════════════════════ */
.badge {
  display: inline-flex; padding: 4px 10px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  letter-spacing: .8px; text-transform: uppercase; border-radius: var(--radius-sm);
}
.badge-pending  { background: rgba(217,119,6,.12); color: var(--warning); border: 1px solid rgba(217,119,6,.25); }
.badge-confirmed{ background: rgba(34,197,94,.1);  color: var(--success); border: 1px solid rgba(34,197,94,.25); }
.badge-completed{ background: rgba(59,130,246,.1);  color: var(--info);    border: 1px solid rgba(59,130,246,.25); }
.badge-cancelled{ background: rgba(229,62,62,.08);  color: var(--error);   border: 1px solid rgba(229,62,62,.2); }
.badge-no_show  { background: rgba(90,90,90,.2);    color: var(--text-3);  border: 1px solid var(--border); }
.badge-count {
  background: var(--gold); color: var(--text-inv);
  min-width: 24px; height: 24px; border-radius: 12px; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-badge { display: none; }
}
@media (max-width: 768px) {
  .navbar-links > a:not(.btn) { display: none; }
  .hero-title { font-size: 3.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .confirm-card { padding: 32px 20px; margin: 30px auto; }
  .chat-container { height: calc(100vh - 140px); }
}


:root {
  --color-bg: #0d0d0d;
  --color-bg-2: #161616;
  --color-bg-3: #1e1e1e;
  --color-bg-4: #252525;
  --color-gold: #c9a84c;
  --color-gold-light: #e2c06e;
  --color-gold-dark: #a07828;
  --color-text: #f0f0f0;
  --color-text-muted: #888;
  --color-text-dim: #555;
  --color-border: #2a2a2a;
  --color-border-gold: #c9a84c40;
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--color-gold); text-decoration: none; }
a:hover { color: var(--color-gold-light); }

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

/* ── Utilitários ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.text-muted { color: var(--color-text-muted); }
.gold { color: var(--color-gold); }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: var(--radius); font-size: 14px;
  font-weight: 600; cursor: pointer; border: none; transition: all .2s;
  line-height: 1; white-space: nowrap; text-decoration: none;
}
.btn-gold { background: var(--color-gold); color: #0d0d0d; }
.btn-gold:hover { background: var(--color-gold-light); color: #0d0d0d; }
.btn-outline { background: transparent; color: var(--color-gold); border: 1.5px solid var(--color-gold); }
.btn-outline:hover { background: var(--color-gold); color: #0d0d0d; }
.btn-danger { background: var(--color-error); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; }
.btn-full { width: 100%; }

/* ── Navbar ── */
.navbar {
  background: var(--color-bg-2); border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; color: var(--color-text); }
.brand-name { font-family: var(--font-display); font-size: 20px; color: var(--color-gold); }
.navbar-logo { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; }
.navbar-links { display: flex; align-items: center; gap: 20px; }
.navbar-links a { color: var(--color-text-muted); font-size: 14px; font-weight: 500; }
.navbar-links a:hover { color: var(--color-text); }

/* ── Mensagens ── */
.messages-container { max-width: 1160px; margin: 16px auto; padding: 0 20px; }
.alert {
  padding: 12px 18px; border-radius: var(--radius); font-size: 14px;
  margin-bottom: 8px; border-left: 4px solid;
}
.alert-success { background: #052e16; border-color: var(--color-success); color: #86efac; }
.alert-error, .alert-danger { background: #2d0a0a; border-color: var(--color-error); color: #fca5a5; }
.alert-warning { background: #2d1b00; border-color: var(--color-warning); color: #fde68a; }
.alert-info { background: #0a1a2d; border-color: var(--color-info); color: #93c5fd; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0d0d0d 60%, #1a1200 100%);
  padding: 100px 0 80px; text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.hero-subtitle { color: var(--color-gold); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--color-text); margin-bottom: 20px; }
.hero-desc { color: var(--color-text-muted); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Seções ── */
.section { padding: 80px 0; }
.section-dark { background: var(--color-bg-2); }
.section-title {
  font-family: var(--font-display); font-size: 2rem; color: var(--color-text);
  text-align: center; margin-bottom: 48px;
}
.section-title::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: var(--color-gold); margin: 14px auto 0;
}

/* ── Cards de Serviço ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--color-bg-3); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--color-gold); transform: translateY(-3px); }
.card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card-text { color: var(--color-text-muted); font-size: 14px; margin-bottom: 16px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.price { color: var(--color-gold); font-size: 20px; font-weight: 700; }
.duration { color: var(--color-text-muted); font-size: 13px; }

/* ── Barbeiros Grid ── */
.barbers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.barber-card {
  background: var(--color-bg-3); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: border-color .2s;
}
.barber-card:hover { border-color: var(--color-gold); }
.barber-photo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 2px solid var(--color-gold); }
.barber-avatar {
  width: 90px; height: 90px; border-radius: 50%; background: var(--color-gold);
  color: #0d0d0d; font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.barber-name { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.barber-bio { color: var(--color-text-muted); font-size: 13px; margin-bottom: 16px; }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, #0d0d0d, #1a1200); }
.cta-content { text-align: center; }
.cta-address, .cta-hours { color: var(--color-text-muted); font-size: 16px; margin-bottom: 10px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--color-bg-2); border-top: 1px solid var(--color-border); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { color: var(--color-text-muted); font-size: 14px; }

/* ── Auth ── */
.auth-container { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card {
  background: var(--color-bg-3); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 420px;
}
.auth-header { text-align: center; margin-bottom: 36px; }
.auth-logo { font-size: 3rem; margin-bottom: 12px; }
.auth-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-text); }
.auth-subtitle { color: var(--color-text-muted); font-size: 14px; margin-top: 6px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-back { text-align: center; margin-top: 24px; }
.auth-back a { color: var(--color-text-muted); font-size: 14px; }

/* ── Formulários ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.form-input, .form-input select, .form-input textarea {
  background: var(--color-bg-4); border: 1px solid var(--color-border);
  color: var(--color-text); border-radius: var(--radius);
  padding: 10px 14px; font-size: 15px; font-family: inherit; width: 100%;
  transition: border-color .2s;
}
.form-input:focus, input.form-input:focus, select.form-input:focus, textarea.form-input:focus {
  outline: none; border-color: var(--color-gold);
}
input[type="date"], input[type="time"], input[type="text"],
input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], select, textarea {
  background: var(--color-bg-4); border: 1px solid var(--color-border);
  color: var(--color-text); border-radius: var(--radius);
  padding: 10px 14px; font-size: 15px; font-family: inherit; width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--color-gold);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-group-btn { display: flex; gap: 8px; align-items: flex-end; }
.form-error { color: var(--color-error); font-size: 13px; }
.form-help { color: var(--color-text-dim); font-size: 12px; }
.form-section { background: var(--color-bg-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.form-section-title { font-size: 16px; font-weight: 600; color: var(--color-gold); margin-bottom: 20px; }
.form-section-label { font-size: 13px; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }

/* ── Booking Wizard ── */
.booking-wrapper { max-width: 760px; margin: 0 auto 60px; }
.page-header { text-align: center; padding: 60px 0 40px; }
.page-title { font-family: var(--font-display); font-size: 2.2rem; }
.page-subtitle { color: var(--color-text-muted); margin-top: 10px; }

.services-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.service-option { cursor: pointer; }
.service-option input { display: none; }
.service-option-inner {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; border-radius: var(--radius);
  border: 1.5px solid var(--color-border); background: var(--color-bg-4);
  transition: border-color .2s;
}
.service-option:hover .service-option-inner, .service-option.selected .service-option-inner {
  border-color: var(--color-gold);
  background: #1a1200;
}
.service-option-name { font-weight: 600; font-size: 15px; }
.service-option-price { color: var(--color-gold); font-size: 16px; font-weight: 700; }
.service-option-duration { color: var(--color-text-muted); font-size: 12px; }

.barbers-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.barber-option { cursor: pointer; }
.barber-option input { display: none; }
.barber-option-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border-radius: var(--radius);
  border: 1.5px solid var(--color-border); background: var(--color-bg-4);
  transition: border-color .2s;
}
.barber-option:hover .barber-option-inner, .barber-option.selected .barber-option-inner {
  border-color: var(--color-gold); background: #1a1200;
}
.barber-option-photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.barber-option-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--color-gold);
  color: #0d0d0d; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.barber-option-name { font-size: 14px; font-weight: 600; text-align: center; }

.slots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn {
  background: var(--color-bg-4); color: var(--color-text);
  border: 1.5px solid var(--color-border); border-radius: var(--radius);
  padding: 10px 18px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.slot-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
.slot-btn.selected { background: var(--color-gold); color: #0d0d0d; border-color: var(--color-gold); }
.slots-hint, .slots-empty { color: var(--color-text-muted); font-size: 14px; }
.slots-error { color: var(--color-error); font-size: 14px; }

/* ── Confirmação de Agendamento ── */
.confirm-card {
  max-width: 480px; margin: 80px auto;
  background: var(--color-bg-3); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 48px; text-align: center;
}
.confirm-icon { font-size: 3rem; margin-bottom: 16px; }
.confirm-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.confirm-subtitle { color: var(--color-text-muted); margin-bottom: 36px; }
.confirm-details { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 24px 0; margin-bottom: 32px; }
.confirm-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.confirm-label { color: var(--color-text-muted); }
.confirm-value { font-weight: 600; }
.confirm-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Chat ── */
.chat-page { display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; min-height: calc(100vh - 64px); }
.chat-container {
  width: 100%; max-width: 680px; background: var(--color-bg-3);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; height: 80vh; min-height: 500px;
}
.chat-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--color-border); flex-shrink: 0;
}
.chat-avatar { font-size: 2rem; }
.chat-title { font-size: 16px; font-weight: 600; }
.chat-status { font-size: 12px; color: var(--color-success); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.chat-bubble { max-width: 80%; }
.chat-bubble-user { align-self: flex-end; }
.chat-bubble-assistant { align-self: flex-start; }
.bubble-content {
  padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.6;
}
.chat-bubble-user .bubble-content { background: var(--color-gold); color: #0d0d0d; border-radius: 18px 18px 4px 18px; }
.chat-bubble-assistant .bubble-content { background: var(--color-bg-4); border: 1px solid var(--color-border); border-radius: 18px 18px 18px 4px; }
.bubble-time { font-size: 11px; color: var(--color-text-dim); padding: 4px 4px 0; display: block; }
.chat-typing .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-muted); margin: 0 2px; animation: typing .8s infinite; }
.chat-typing .dot:nth-child(2) { animation-delay: .15s; }
.chat-typing .dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.chat-input-area { padding: 16px 20px; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.chat-form { display: flex; gap: 10px; margin-bottom: 10px; }
.chat-input {
  flex: 1; background: var(--color-bg-4); border: 1px solid var(--color-border);
  color: var(--color-text); border-radius: 24px; padding: 10px 18px; font-size: 15px;
  font-family: inherit;
}
.chat-input:focus { outline: none; border-color: var(--color-gold); }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestion-btn {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-text-muted); border-radius: 20px;
  padding: 5px 14px; font-size: 13px; cursor: pointer; transition: all .15s;
  font-family: inherit;
}
.suggestion-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* ── Badges ── */
.badge {
  display: inline-flex; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-pending { background: #2d1b00; color: var(--color-warning); }
.badge-confirmed { background: #052e16; color: var(--color-success); }
.badge-completed { background: #0a1a2d; color: var(--color-info); }
.badge-cancelled { background: #2d0a0a; color: var(--color-error); }
.badge-no_show { background: #1a1a1a; color: var(--color-text-muted); }
.badge-count {
  background: var(--color-gold); color: #0d0d0d;
  min-width: 24px; height: 24px; font-size: 12px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── Responsivo ── */
@media (max-width: 768px) {
  .navbar-links { gap: 12px; }
  .navbar-links a:not(.btn) { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 50px 0; }
  .confirm-card { margin: 30px auto; padding: 30px 20px; }
  .chat-container { height: calc(100vh - 130px); }
}

/* ============================================================
   STUDIO BRONZEAMENTO - VISUAL REFRESH
   ============================================================ */

:root {
  --color-bg: #fff8f1;
  --color-bg-2: #fff1e2;
  --color-bg-3: #ffffff;
  --color-bg-4: #fff6ec;
  --color-bg-5: #fce7d0;

  --color-text: #4b2a1a;
  --color-text-muted: #7f5a48;
  --color-text-dim: #9f7b67;

  --color-gold: #d3834c;
  --color-gold-bright: #eea968;
  --color-gold-dim: #a25d31;

  --color-border: rgba(174, 107, 64, 0.2);
  --color-border-light: rgba(174, 107, 64, 0.12);

  --shadow-soft: 0 10px 28px rgba(130, 66, 28, 0.12);
}

body {
  background:
    radial-gradient(65% 45% at 12% 8%, rgba(238, 169, 104, 0.24), transparent 70%),
    radial-gradient(55% 38% at 88% 10%, rgba(211, 131, 76, 0.2), transparent 70%),
    linear-gradient(180deg, #fffdf9 0%, #fff8f0 55%, #fff4ea 100%);
  color: var(--color-text);
}

.navbar {
  background: rgba(255, 248, 240, 0.9);
  border-bottom: 1px solid var(--color-border-light);
}

.brand-name {
  background: linear-gradient(135deg, #cc7b44, #f0aa69);
  -webkit-background-clip: text;
  background-clip: text;
}

.navbar-links > a {
  color: var(--color-text-muted);
}

.navbar-links > a:hover {
  color: var(--color-text);
  background: rgba(211, 131, 76, 0.12);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-bright));
  color: #fff;
  box-shadow: 0 10px 24px rgba(203, 119, 63, 0.25);
}

.btn-gold:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(203, 119, 63, 0.34);
}

.btn-outline {
  color: var(--color-gold-dim);
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  color: var(--color-gold-dim);
  background: rgba(238, 169, 104, 0.2);
}

.hero {
  min-height: 88vh;
  background: transparent;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(168, 102, 61, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 102, 61, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.3;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.hero-content {
  padding: 82px 0 70px;
}

.hero-eyebrow {
  color: var(--color-gold-dim);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  background: var(--color-gold-dim);
}

.hero-title {
  color: #7a4427;
  letter-spacing: 2px;
}

.hero-title .accent {
  color: #d17e49;
}

.hero-subtitle {
  color: var(--color-text-muted);
  font-style: normal;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
  color: #7f4f34;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  border-radius: 999px;
  padding: 7px 13px;
}

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

.hero-image {
  width: min(100%, 520px);
  border-radius: 22px;
  border: 1px solid rgba(176, 108, 67, 0.22);
  box-shadow: 0 18px 42px rgba(124, 64, 31, 0.2);
  margin: 0 auto;
}

.hero-badge {
  right: 5%;
  width: 152px;
  height: 152px;
  border-color: var(--color-border);
  background: rgba(255, 248, 240, 0.72);
}

.hero-badge-inner {
  color: #cc7a44;
}

.hero-badge-label {
  color: var(--color-text-muted);
}

.section {
  padding: 92px 0;
}

.section-alt,
.section-soft {
  background: linear-gradient(180deg, rgba(255, 246, 235, 0.7), rgba(255, 241, 226, 0.92));
}

.section-label {
  color: #bf6f3e;
}

.section-label::after {
  background: #d28a53;
}

.section-title {
  color: #6f3b22;
  margin-bottom: 46px;
}

.cards-grid {
  gap: 16px;
}

.card,
.barber-card,
.panel-card,
.confirm-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-soft);
}

.card:hover,
.barber-card:hover {
  background: #fff;
  border-color: var(--color-border);
  transform: translateY(-2px);
}

.card-title,
.barber-name {
  color: #6f3e25;
}

.card-text,
.barber-bio,
.price,
.duration,
.cta-hours,
.cta-address {
  color: var(--color-text-muted);
}

.card-number {
  color: rgba(211, 131, 76, 0.16);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.benefit-card h3 {
  font-size: 19px;
  color: #6f3e25;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer {
  background: rgba(255, 246, 235, 0.95);
  border-top: 1px solid var(--color-border-light);
}

.footer-brand {
  color: #7f5138;
}

@media (max-width: 920px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-content {
    padding: 72px 0 24px;
  }

  .hero-media {
    padding-bottom: 20px;
  }

  .hero-badge {
    position: static;
    transform: none;
    margin: 4px auto 20px;
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
