/* =============================================================
   AgendaMaster — Design System Premium
   Dark Theme · Gold Accents · Neon RGB Lines
   ============================================================= */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:         #09090f;
  --bg2:        #0d0d16;
  --card:       #11111c;
  --card2:      #16162a;
  --sidebar-bg: #0b0b14;

  /* Borders */
  --border:     #1e1e32;
  --border2:    #28283e;

  /* Gold palette */
  --gold:       #d4a843;
  --gold-light: #e8c56e;
  --gold-dark:  #a8832e;
  --gold-glow:  rgba(212,168,67,.18);

  /* Neon accents */
  --cyan:       #00d4ff;
  --purple:     #7b2fff;
  --blue:       #3d7aff;
  --neon-glow:  rgba(0,212,255,.12);

  /* Text */
  --text:       #eeeef5;
  --text2:      #9999bb;
  --text3:      #55556a;

  /* Status */
  --success:    #00c851;
  --warning:    #ffb300;
  --danger:     #ff3b30;
  --info:       #5ac8fa;

  /* Radius */
  --r:   12px;
  --r-s: 8px;
  --r-l: 20px;
  --r-xl:28px;

  /* Shadows */
  --shadow:      0 8px 32px rgba(0,0,0,.45);
  --shadow-gold: 0 4px 24px rgba(212,168,67,.2);
  --shadow-card: 0 2px 16px rgba(0,0,0,.4);

  /* Typography */
  --font-h: 'Poppins', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;

  /* Layout */
  --sidebar: 260px;
  --header:  68px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-h);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

input, select, textarea, button {
  font-family: var(--font-b);
  font-size: inherit;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ── RGB Neon Line Utility ────────────────────────────────── */
.neon-line {
  position: relative;
}
.neon-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), var(--gold), transparent);
  background-size: 200% 100%;
  animation: neonMove 4s linear infinite;
}
@keyframes neonMove {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: var(--border2); }
.card-gold {
  border-color: rgba(212,168,67,.35);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title .icon { color: var(--gold); font-size: 1.1rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-s);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: all .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0f;
  box-shadow: 0 4px 16px rgba(212,168,67,.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.btn-danger {
  background: rgba(255,59,48,.1);
  border: 1px solid #ff3b30;
  color: #ff6b6b;
}
.btn-danger:hover {
  background: rgba(255,59,48,.2);
  box-shadow: 0 4px 12px rgba(255,59,48,.25);
}

.btn-success {
  background: rgba(0,200,81,.1);
  border: 1px solid var(--success);
  color: #00e05a;
}
.btn-success:hover { background: rgba(0,200,81,.2); }

.btn-sm { padding: 6px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 7px;
  letter-spacing: .3px;
}
.form-control {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-s);
  color: var(--text);
  padding: 10px 14px;
  font-size: .92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,.12);
}
.form-control::placeholder { color: var(--text3); }
.form-control option { background: var(--card); }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.form-hint { font-size: .78rem; color: var(--text3); margin-top: 5px; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .4px;
}
.badge-success { background: rgba(0,200,81,.12); color: #00c851; border:1px solid rgba(0,200,81,.3); }
.badge-warning { background: rgba(255,179,0,.12); color: #ffb300; border:1px solid rgba(255,179,0,.3); }
.badge-danger  { background: rgba(255,59,48,.12); color: #ff3b30; border:1px solid rgba(255,59,48,.3); }
.badge-info    { background: rgba(90,200,250,.12); color: #5ac8fa; border:1px solid rgba(90,200,250,.3); }
.badge-gold    { background: rgba(212,168,67,.12); color: var(--gold); border:1px solid rgba(212,168,67,.3); }
.badge-secondary{ background: rgba(153,153,187,.1); color: var(--text2); border:1px solid var(--border2); }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: 13px 18px;
  border-radius: var(--r-s);
  font-size: .9rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(0,200,81,.08); border:1px solid rgba(0,200,81,.3); color:#00e05a; }
.alert-danger  { background: rgba(255,59,48,.08); border:1px solid rgba(255,59,48,.3); color:#ff6b6b; }
.alert-warning { background: rgba(255,179,0,.08); border:1px solid rgba(255,179,0,.3); color:#ffc940; }
.alert-info    { background: rgba(90,200,250,.08); border:1px solid rgba(90,200,250,.3); color:#5ac8fa; }
.alert-flash   { position: sticky; top: 16px; z-index: 100; box-shadow: var(--shadow); }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 2px solid var(--border2); }
thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
tbody tr:hover { background: rgba(255,255,255,.025); }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: 13px 16px; font-size: .9rem; color: var(--text2); }
tbody td strong { color: var(--text); font-weight: 500; }

/* ── Pagination ───────────────────────────────────────────── */
.paginacao { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-s);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: .85rem;
  transition: all .2s;
}
.pg-btn.ativo, .pg-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════ */
/* PUBLIC NAVBAR */
/* ══════════════════════════════════════════════════════════ */

.public-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  background: rgba(9,9,15,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: grid;
  grid-template-columns: 48px 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  column-gap: 18px;
}
.public-nav .neon-line::before { bottom: 0; top: auto; }

.public-nav-home {
  grid-template-columns: 1fr auto;
  background: rgba(7,9,16,.72);
  border-bottom-color: rgba(255,255,255,.06);
}

.nav-home-spacer {
  min-width: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  flex: 1;
  position: relative;
  z-index: 2;
}
.nav-brand-compact {
  grid-column: 1;
  flex: 0 0 48px;
  justify-content: flex-start;
}
.nav-brand span { color: var(--gold); }
.nav-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0a0a0f;
}

.nav-center-logo {
  grid-column: 3;
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  z-index: 1;
  justify-self: center;
}

.nav-center-logo img {
  width: 116px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.3));
}

.nav-center-logo span {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  position: relative;
  z-index: 2;
  justify-self: end;
  margin-right: 8px;
}
.nav-links a {
  color: var(--text2);
  padding: 7px 16px;
  border-radius: var(--r-s);
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.ativo {
  color: var(--gold);
  background: var(--gold-glow);
}

.nav-actions {
  grid-column: 4;
  display: flex;
  gap: 10px;
  margin-left: 0;
  position: relative;
  z-index: 2;
  justify-self: end;
}

.public-nav-home .nav-links {
  grid-column: 1;
  justify-self: center;
  margin-right: 0;
}

.public-nav-home .nav-actions {
  grid-column: 2;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 2;
}

/* Mobile nav */
@media (max-width: 768px) {
  .public-nav {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
  }
  .public-nav-home {
    display: flex;
  }
  .nav-center-logo img { width: 86px; }
  .nav-toggle { display: flex; }
  .nav-links, .nav-actions { display: none; }
  .nav-links.open, .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open a { padding: 12px 16px; width: 100%; }
  .nav-actions.open { padding-top: 0; border-top: none; }
}

/* ══════════════════════════════════════════════════════════ */
/* HERO */
/* ══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--header) 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(212,168,67,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(123,47,255,.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(0,212,255,.04) 0%, transparent 70%),
    var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,.08);
  border: 1px solid rgba(212,168,67,.25);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { }
.stat-num {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════════════ */
/* SECTION */
/* ══════════════════════════════════════════════════════════ */

.section {
  padding: 80px 0;
}
.section-alt { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text2);
  font-size: .98rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: all .3s var(--ease);
  cursor: default;
}
.service-card:hover {
  border-color: rgba(212,168,67,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(212,168,67,.1);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-glow);
  border: 1px solid rgba(212,168,67,.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: .85rem; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-price { color: var(--gold); font-weight: 700; font-family: var(--font-h); font-size: 1.05rem; }
.service-time { color: var(--text3); font-size: .8rem; }

/* ── Professionals Grid ───────────────────────────────────── */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.prof-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .3s var(--ease);
  text-align: center;
}
.prof-card:hover {
  border-color: rgba(212,168,67,.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}
.prof-card-img {
  height: 200px;
  background: var(--card2);
  position: relative;
  overflow: hidden;
}
.prof-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prof-card-img .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bg2), var(--card2));
}
.prof-card-body { padding: 20px; }
.prof-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.prof-card-body .esp {
  font-size: .82rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.prof-card-body p { font-size: .83rem; color: var(--text2); margin-bottom: 16px; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════ */
/* BOOKING FLOW */
/* ══════════════════════════════════════════════════════════ */

.booking-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.step-item {
  flex: 1;
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  opacity: .4;
  transition: all .3s;
}
.step-item:last-child { border-right: none; }
.step-item.ativo { opacity: 1; background: rgba(212,168,67,.05); }
.step-item.concluido { opacity: .7; }
.step-item.concluido::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--success);
  font-size: .75rem;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 auto 8px;
  color: var(--text2);
}
.step-item.ativo .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0f;
}
.step-label { font-size: .78rem; color: var(--text2); font-weight: 500; }
.step-item.ativo .step-label { color: var(--gold); }
.step-label-short { display: none; }

/* Time slots */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}
.slot-btn {
  padding: 10px 8px;
  border: 1px solid var(--border2);
  border-radius: var(--r-s);
  background: var(--bg2);
  color: var(--text2);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-align: center;
}
.slot-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.slot-btn.selecionado {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
}
.slot-btn.ocupado {
  opacity: .3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ══════════════════════════════════════════════════════════ */
/* ADMIN LAYOUT */
/* ══════════════════════════════════════════════════════════ */

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform .3s var(--ease);
}

.sidebar-brand {
  padding: 0 20px;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-brand .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #0a0a0f;
  flex-shrink: 0;
}
.sidebar-brand span {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}
.sidebar-brand small {
  display: block;
  font-size: .68rem;
  color: var(--text3);
  font-weight: 400;
  margin-top: 1px;
}

.sidebar-user {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.user-info .name { font-size: .85rem; font-weight: 600; color: var(--text); }
.user-info .role { font-size: .73rem; color: var(--gold); }

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.nav-section {
  padding: 8px 16px 4px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text2);
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s var(--ease);
  border-left: 3px solid transparent;
  margin: 1px 0;
}
.sidebar-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-left-color: var(--border2);
}
.sidebar-nav a.ativo {
  color: var(--gold);
  background: rgba(212,168,67,.07);
  border-left-color: var(--gold);
}
.sidebar-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-nav a .badge { margin-left: auto; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text3);
  font-size: .83rem;
  transition: color .2s;
}
.sidebar-footer a:hover { color: var(--danger); }

/* Main content */
.admin-main {
  margin-left: var(--sidebar);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  height: var(--header);
  background: rgba(9,9,15,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.topbar-title small {
  display: block;
  font-size: .72rem;
  color: var(--text3);
  font-weight: 400;
  font-family: var(--font-b);
  margin-top: 1px;
}

.sidebar-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text2);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
}

.admin-content {
  flex: 1;
  padding: 28px;
}

/* ── Stats Cards ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent, var(--gold));
  opacity: .6;
}
.stat-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: var(--accent-bg, rgba(212,168,67,.1));
}
.stat-body {}
.stat-value {
  font-family: var(--font-h);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-lbl { font-size: .78rem; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.stat-change { font-size: .76rem; color: var(--success); margin-top: 2px; }

/* ── Agenda Calendar ──────────────────────────────────────── */
.agenda-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.agenda-header h3 { flex: 1; font-size: 1.05rem; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-header {
  text-align: center;
  padding: 10px 4px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.cal-day {
  min-height: 90px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  padding: 8px;
  cursor: pointer;
  transition: all .2s;
}
.cal-day:hover { background: var(--card2); border-color: var(--border2); }
.cal-day.hoje { border-color: var(--gold); background: rgba(212,168,67,.04); }
.cal-day.inativo { opacity: .3; cursor: not-allowed; }
.cal-day-num {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 4px;
}
.cal-day.hoje .cal-day-num { color: var(--gold); }
.cal-event {
  font-size: .68rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  background: rgba(212,168,67,.15);
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════ */
/* LOGIN PAGE */
/* ══════════════════════════════════════════════════════════ */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(212,168,67,.05), transparent),
    radial-gradient(ellipse 40% 50% at 20% 20%, rgba(0,212,255,.04), transparent),
    var(--bg);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 44px 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--gold));
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo-img {
  width: min(100%, 220px);
  margin: 0 auto 14px;
  object-fit: contain;
}
.login-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(212,168,67,.3);
}
.login-logo h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.login-logo p { font-size: .85rem; color: var(--text2); }

/* ══════════════════════════════════════════════════════════ */
/* RESPONSIVE — ADMIN */
/* ══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0,0,0,.6);
  }
  .admin-main { margin-left: 0; }
  .sidebar-toggle-btn { display: flex; }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 199;
    backdrop-filter: blur(4px);
  }
  .sidebar-overlay.open { display: block; }
}

@media (max-width: 600px) {
  .admin-content { padding: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 1.4rem; }
  .card { padding: 16px; }
  .admin-topbar { padding: 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .booking-steps { flex-direction: column; }
  .step-item { border-right: none; border-bottom: 1px solid var(--border); }
  .calendar-grid { grid-template-columns: repeat(7,1fr); }
  .cal-day { min-height: 50px; padding: 4px; }
  .cal-event { display: none; }
}

/* ══════════════════════════════════════════════════════════ */
/* UTILITIES */
/* ══════════════════════════════════════════════════════════ */

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text2); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.fw-bold { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fs-sm { font-size: .85rem; }
.fs-xs { font-size: .78rem; }
.w-100 { width: 100%; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border2);
}
.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-size: 1rem; color: var(--text2); margin-bottom: 8px; }
.empty-state p { font-size: .85rem; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-l);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: slideUp .25s var(--ease);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-s);
  transition: color .2s;
}
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.toast {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: .88rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn .25s var(--ease);
}
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-danger  { border-left: 3px solid var(--danger); }
.toast.toast-warning { border-left: 3px solid var(--warning); }
@keyframes toastIn { from { transform: translateX(80px); opacity: 0; } }

/* Footer */
.site-footer {
  background: var(--sidebar-bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { font-size: .85rem; color: var(--text2); line-height: 1.6; }
.footer-links h4 { font-size: .85rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: var(--text2); font-size: .83rem; transition: color .2s; }
.footer-links ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text3); font-size: .8rem; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.hero-salon-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 28px;
  align-items: center;
}

.hero-brand-center {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
}

.hero-brand-logo {
  width: min(100%, 450px);
  max-width: 450px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.45));
}

.hero-info-card {
  background: linear-gradient(180deg, rgba(17,17,28,.98), rgba(12,12,21,.98));
}

.hero-info-intro {
  margin-bottom: 22px;
}

.hero-logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-salon-logo,
.hero-salon-monogram {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-family: var(--font-h);
  font-weight: 700;
  color: #0a0a0f;
}

.hero-contact-list {
  display: grid;
  gap: 14px;
}

.hero-contact-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}

.hero-contact-list span,
.booking-summary-inline span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text3);
}

.hero-contact-list strong,
.booking-summary-inline strong {
  color: var(--text);
  font-size: .92rem;
}

.hero-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.floating-booking-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(212,168,67,.28);
}

.floating-booking-btn:hover {
  color: #0a0a0f;
  transform: translateY(-1px);
}

.booking-shell {
  padding-bottom: 80px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.booking-layout.single {
  grid-template-columns: minmax(0, 1fr);
}

.booking-sidebar {
  position: sticky;
  top: calc(var(--header) + 18px);
}

.booking-sidebar-card,
.booking-gate-card {
  box-shadow: var(--shadow);
}

.booking-auth-head,
.booking-section-head,
.booking-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-auth-switch {
  display: flex;
  gap: 8px;
}

.booking-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.booking-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  margin-bottom: 16px;
}

.booking-summary-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.booking-summary-inline.compact {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.booking-summary-inline div {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-main .card {
  padding: 22px;
}

.booking-auth-form .btn,
.booking-section .btn-primary.btn-lg,
.booking-gate-card .btn {
  min-height: 48px;
}

.booking-main .prof-grid,
.booking-main .services-grid {
  align-items: stretch;
}

.booking-prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.booking-prof-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.booking-prof-thumb {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--bg2), var(--card2));
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-prof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-prof-thumb .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--bg2), var(--card2));
}

.booking-prof-body {
  width: 100%;
}

.booking-prof-body h3 {
  font-size: .88rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.booking-prof-role {
  font-size: .72rem;
  color: var(--text3);
  line-height: 1.3;
}

.booking-service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-service-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
}

.booking-service-card .service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.booking-service-copy {
  min-width: 0;
}

.booking-service-copy h3 {
  margin-bottom: 4px;
}

.booking-service-copy p {
  margin-bottom: 0;
}

.booking-service-meta {
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.booking-main .prof-card,
.booking-main .service-card {
  height: 100%;
}

.booking-main .prof-card,
.booking-main .service-card,
.booking-main .slot-btn {
  -webkit-tap-highlight-color: transparent;
}

.booking-main .prof-card.selecionado,
.booking-main .service-card.selecionado {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* Admin Services */
.srv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.service-admin-panel {
  position: sticky;
  top: calc(var(--header) + 20px);
}

.service-admin-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.service-admin-note {
  background: rgba(212,168,67,.08);
  border: 1px solid rgba(212,168,67,.22);
  border-radius: var(--r-s);
  color: var(--text2);
  font-size: .82rem;
  line-height: 1.5;
  padding: 12px 14px;
}

.service-admin-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(212,168,67,.08);
  border: 1px solid rgba(212,168,67,.25);
  color: var(--gold);
  font-weight: 700;
}

.service-admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-admin-form .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text2);
  font-size: .88rem;
}

.service-admin-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* Print */
@media print {
  .sidebar, .admin-topbar, .btn, .no-print { display: none !important; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 0; }
  body { background: white; color: black; }
}

@media (max-width: 900px) {
  .hero-salon-grid,
  .booking-layout,
  .srv-grid {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

  .hero-brand-center {
    margin-bottom: 22px;
  }

  .service-admin-panel {
    position: static;
  }
}

@media (max-width: 600px) {
  .public-nav {
    padding: 0 14px;
    height: 64px;
  }

  .nav-brand {
    gap: 10px;
    font-size: 1rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-brand-compact {
    flex: 0 0 38px;
  }

  .nav-brand .logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: .9rem;
  }

  .nav-center-logo {
    min-width: 88px;
  }

  .nav-center-logo img {
    width: 72px;
  }

  .nav-brand strong,
  .nav-brand span {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-top: 8px;
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .section-header p {
    font-size: .98rem;
    max-width: 100%;
  }

  .booking-main .card,
  .booking-sidebar-card,
  .booking-gate-card {
    padding: 16px;
  }

  .booking-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 18px;
    padding-bottom: 0;
  }

  .booking-steps::-webkit-scrollbar {
    display: none;
  }

  .step-item {
    min-width: 0;
    flex: none;
    padding: 8px 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    border-right: 1px solid var(--border);
    background: var(--card);
    opacity: .9;
  }

  .step-item.ativo {
    background: rgba(212,168,67,.10);
    border-color: rgba(212,168,67,.35);
  }

  .step-item.concluido {
    opacity: 1;
  }

  .step-item.concluido::after {
    top: 4px;
    right: 4px;
    font-size: .6rem;
  }

  .step-num {
    width: 20px;
    height: 20px;
    font-size: .62rem;
    margin-bottom: 4px;
  }

  .step-label {
    font-size: .58rem;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .step-label-full {
    display: none;
  }

  .step-label-short {
    display: inline;
  }

  .booking-auth-head,
  .booking-auth-switch,
  .booking-auth-actions,
  .booking-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-auth-switch .btn,
  .booking-auth-actions .btn,
  .booking-section-head .btn,
  .booking-section .btn-primary.btn-lg,
  .booking-gate-card .btn {
    width: 100%;
    justify-content: center;
  }

  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-summary-inline {
    grid-template-columns: 1fr;
  }

  .hero-brand-logo {
    width: min(100%, 320px);
  }

  .login-logo-img {
    width: min(100%, 170px);
    margin-bottom: 12px;
  }

  .booking-service-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .booking-prof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .booking-prof-card {
    min-width: 0;
    padding: 10px 4px;
    border-radius: 12px;
  }

  .booking-prof-thumb {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 8px;
  }

  .booking-prof-body h3 {
    font-size: .66rem;
    margin-bottom: 2px;
    word-break: break-word;
  }

  .booking-prof-role {
    display: none;
  }

  .booking-service-card .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .booking-service-copy h3 {
    font-size: .92rem;
    line-height: 1.2;
  }

  .booking-service-copy p {
    font-size: .8rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .booking-service-meta {
    grid-column: 1 / -1;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 2px;
  }

  .booking-service-meta .service-price,
  .booking-service-meta .service-time {
    font-size: .8rem;
  }

  .booking-section-head .card-title {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .booking-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 14px;
  }

  .floating-booking-btn {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    justify-content: center;
  }

  .booking-prof-thumb .no-photo {
    font-size: 1.2rem;
  }
}

/* Premium Booking Page */
.premium-booking-page {
  background:
    radial-gradient(circle at top left, rgba(0, 212, 255, 0.05), transparent 28%),
    radial-gradient(circle at bottom right, rgba(212, 168, 67, 0.08), transparent 34%),
    var(--bg);
}

.premium-booking-page .hero-section {
  min-height: auto;
  padding: calc(var(--header) + 34px) 20px 34px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212,168,67,.14);
  background:
    linear-gradient(135deg, rgba(7,9,16,.92), rgba(14,14,24,.88)),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.premium-booking-page .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 90%);
  pointer-events: none;
}

.premium-booking-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.premium-booking-page .hero-logo {
  max-width: 180px;
  width: 100%;
  margin: 0 auto 18px;
  filter: drop-shadow(0 14px 34px rgba(212,168,67,.22));
}

.premium-booking-page .hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(212,168,67,.09);
  border: 1px solid rgba(212,168,67,.28);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.premium-booking-page .hero-title {
  font-family: 'Playfair Display', var(--font-h);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.04;
  color: var(--text);
  margin: 22px auto 14px;
}

.premium-booking-page .hero-title em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
}

.premium-booking-page .hero-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #c5c6dc;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
}

.premium-booking-page .booking-shell-section {
  padding: 36px 0 80px;
}

.premium-booking-page .booking-layout {
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}

.premium-booking-page .booking-main .card,
.premium-booking-page .booking-sidebar-card,
.premium-booking-page .booking-gate-card,
.premium-booking-page .booking-steps {
  background: linear-gradient(180deg, rgba(17,17,28,.98), rgba(12,12,21,.98));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.premium-booking-page .booking-steps {
  border-radius: 18px;
  overflow: hidden;
}

.premium-booking-page .step-item {
  border-right: 1px solid rgba(255,255,255,.05);
  opacity: .58;
}

.premium-booking-page .step-item.ativo {
  background: rgba(212,168,67,.12);
  opacity: 1;
}

.premium-booking-page .step-item.concluido {
  background: rgba(255,255,255,.02);
  opacity: .92;
}

.premium-booking-page .booking-section-head .card-title,
.premium-booking-page .booking-sidebar-card .card-title,
.premium-booking-page .booking-gate-card h3 {
  color: var(--gold-light);
}

.premium-booking-page .booking-summary-inline div {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.06);
}

.premium-booking-page .booking-prof-card,
.premium-booking-page .booking-service-card,
.premium-booking-page .slot-btn {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.08);
}

.premium-booking-page .booking-prof-card:hover,
.premium-booking-page .booking-service-card:hover {
  border-color: rgba(212,168,67,.34);
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
  transform: translateY(-4px);
}

.premium-booking-page .booking-prof-card.selecionado,
.premium-booking-page .booking-service-card.selecionado,
.premium-booking-page .slot-btn.selecionado {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(212,168,67,.3), 0 16px 34px rgba(212,168,67,.16);
}

.premium-booking-page .slot-btn:hover {
  border-color: rgba(212,168,67,.42);
  background: rgba(212,168,67,.08);
}

.premium-booking-page .form-control {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.08);
}

.premium-booking-page .form-control:focus {
  border-color: rgba(212,168,67,.46);
  box-shadow: 0 0 0 3px rgba(212,168,67,.12);
}

.premium-booking-page .booking-status-icon {
  box-shadow: 0 14px 32px rgba(212,168,67,.2);
}

@media (max-width: 680px) {
  .premium-booking-page .hero-section {
    padding: calc(var(--header) + 24px) 16px 22px;
  }

  .premium-booking-page .hero-logo {
    max-width: 145px;
    margin-bottom: 14px;
  }

  .premium-booking-page .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .premium-booking-page .booking-shell-section {
    padding-top: 24px;
  }
}

/* Premium Professionals Page */
.premium-professionals-page {
  background:
    radial-gradient(circle at top left, rgba(0, 212, 255, 0.05), transparent 28%),
    radial-gradient(circle at bottom right, rgba(212, 168, 67, 0.08), transparent 34%),
    var(--bg);
}

.premium-professionals-page .hero-section {
  min-height: auto;
  padding: calc(var(--header) + 34px) 20px 34px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(212,168,67,.14);
  background:
    linear-gradient(135deg, rgba(7,9,16,.92), rgba(14,14,24,.88)),
    url('https://images.unsplash.com/photo-1517832606299-7ae9b720a186?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.premium-professionals-page .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 90%);
  pointer-events: none;
}

.premium-professionals-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.premium-professionals-page .hero-logo {
  max-width: 180px;
  width: 100%;
  margin: 0 auto 18px;
  filter: drop-shadow(0 14px 34px rgba(212,168,67,.22));
}

.premium-professionals-page .hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(212,168,67,.09);
  border: 1px solid rgba(212,168,67,.28);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.premium-professionals-page .hero-title {
  font-family: 'Playfair Display', var(--font-h);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.04;
  color: var(--text);
  margin: 22px auto 14px;
}

.premium-professionals-page .hero-title em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
}

.premium-professionals-page .hero-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #c5c6dc;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
}

.professionals-grid-section {
  padding-top: 34px;
  padding-bottom: 80px;
}

.premium-prof-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.premium-prof-tile {
  width: 100%;
  background: linear-gradient(180deg, rgba(17,17,28,.98), rgba(12,12,21,.98));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text);
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.premium-prof-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,67,.34);
  box-shadow: 0 22px 48px rgba(0,0,0,.34);
}

.premium-prof-tile-photo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(18,18,28,1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-prof-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-prof-tile-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0f;
  font-family: 'Playfair Display', var(--font-h);
  font-size: 2rem;
  font-weight: 700;
}

.premium-prof-tile-name {
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--gold-light);
}

.premium-prof-modal {
  max-width: 760px;
  background: linear-gradient(180deg, rgba(17,17,28,.98), rgba(12,12,21,.98));
  border: 1px solid rgba(255,255,255,.08);
}

.premium-prof-modal .modal-header,
.premium-prof-modal .modal-footer {
  border-color: rgba(255,255,255,.06);
}

.premium-prof-modal .modal-header h3 {
  color: var(--gold-light);
}

.premium-prof-modal-top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.premium-prof-modal-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(212,168,67,.18), rgba(18,18,28,1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-prof-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-prof-modal-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-prof-modal-role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
}

.premium-prof-modal-copy p,
.premium-prof-modal-contact {
  color: #c3c5d8;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .premium-prof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .premium-professionals-page .hero-section {
    padding: calc(var(--header) + 24px) 16px 22px;
  }

  .premium-professionals-page .hero-logo {
    max-width: 145px;
    margin-bottom: 14px;
  }

  .premium-professionals-page .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .professionals-grid-section {
    padding-top: 24px;
  }

  .premium-prof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .premium-prof-tile {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .premium-prof-tile-photo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .premium-prof-tile-name {
    font-size: .82rem;
  }

  .premium-prof-modal-top {
    grid-template-columns: 1fr;
  }

  .premium-prof-modal-photo {
    max-width: 220px;
    margin: 0 auto;
  }
}
