/* =========================================================
   JCA BARBER — DESIGN SYSTEM & LUXURY THEME
   Otimizado para alto desempenho, conversão e plano grátis do Firebase
   ========================================================= */

:root {
  --bg: #0c0d11;
  --bg-secondary: #13151c;
  --card: #181b24;
  --card-hover: #1f232f;
  --card-border: #262a36;
  --card-border-active: #d4af37;
  --primary: #d4af37;
  --primary-hover: #e5c158;
  --primary-glow: rgba(212, 175, 55, 0.25);
  --accent: #e6c575;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 25px -6px rgba(212, 175, 55, 0.3);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------------------------------------------
   NAVBAR & HEADER GLASSMORPHISM
   --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #262934, #181a22);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.brand-logo.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-texts strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-texts span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge.closed {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #b89324);
  color: #0b0c0f;
  border-color: #e6c575;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c158, #c99f30);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -4px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
}

/* ---------------------------------------------
   HERO SECTION DE ALTO IMPACTO
   --------------------------------------------- */
.hero-section {
  position: relative;
  padding: 70px 0 50px;
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
              var(--bg);
  overflow: hidden;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 30%, #cfd4dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, #e6c575, #c99a5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-badge-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------------------------------------------
   AGENDADOR EM ETAPAS (STEPPER BOOKING)
   --------------------------------------------- */
.booking-section {
  padding: 40px 0 70px;
}

.booking-card-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.stepper-header {
  padding: 24px 28px;
  background: rgba(19, 21, 28, 0.95);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.stepper-title h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stepper-title p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.step-indicator {
  display: flex;
  gap: 6px;
}

.step-dot {
  width: 28px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.step-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.step-container {
  padding: 28px;
  border-bottom: 1px solid var(--card-border);
}

.step-container:last-child {
  border-bottom: 0;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.step-info small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
}

.step-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}

.step-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Grids de Escolha */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.barber-choice {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  text-align: left;
  position: relative;
}

.barber-choice:hover {
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.barber-choice.active {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-gold);
}

.barber-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b2e3b, #1b1d24);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.barber-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.barber-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.barber-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
}

/* Serviços Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.service-choice {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  transition: var(--transition);
  text-align: left;
  position: relative;
}

.service-choice:hover {
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.service-choice.active {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), inset 0 0 20px rgba(212, 175, 55, 0.04);
}

.service-choice-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.service-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-choice.active .service-check-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #0c0d11;
  font-weight: 800;
}

.service-choice-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}

.service-duration {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* Barra de Resumo de Serviços */
.services-total-bar {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.services-total-bar span b {
  color: var(--primary);
}

/* Seletor de Datas */
.date-scroll-wrap {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.date-btn {
  min-width: 90px;
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.date-btn:hover {
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, 0.3);
}

.date-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0c0d11;
  box-shadow: var(--shadow-gold);
}

.date-weekday {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.date-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.date-btn.active .date-number {
  color: #0c0d11;
}

.date-month {
  font-size: 11px;
}

.date-tag-today {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Horários / Turnos */
.slots-container {
  display: grid;
  gap: 14px;
}

.shift-block-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 8px;
}

.slot {
  padding: 11px 8px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.slot:hover {
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.slot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0c0d11;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.empty-state {
  color: var(--text-muted);
  padding: 24px;
  text-align: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px dashed var(--card-border);
}

/* Formulário de Identificação */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-group label small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: normal;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: #1c202a;
}

.booking-summary-preview {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-details {
  font-size: 13px;
  color: var(--text-muted);
}

.preview-details strong {
  color: #fff;
}

.preview-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  margin-top: 14px;
}

/* ---------------------------------------------
   VOUCHER / TICKET DIGITAL DE SUCESSO
   --------------------------------------------- */
.confirmation-wrap {
  margin-top: 24px;
  animation: slideUp 0.3s ease-out;
}

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

.voucher-ticket {
  background: linear-gradient(135deg, #1b1e27, #13151c);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.voucher-ticket::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #10b981, #d4af37);
}

.voucher-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.voucher-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.voucher-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.voucher-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.voucher-rows {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.voucher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.voucher-row span {
  color: var(--text-muted);
}

.voucher-row strong {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.voucher-row.total strong {
  font-size: 17px;
  color: var(--accent);
}

.voucher-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.voucher-actions .btn {
  flex: 1 1 180px;
}

/* ---------------------------------------------
   SEÇÃO DE ESTILOS & SHOWCASE (CATÁLOGO)
   --------------------------------------------- */
.showcase-section {
  padding: 60px 0;
}

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

.section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #fff;
}

.section-lead {
  font-size: 15px;
  color: var(--text-muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.showcase-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.showcase-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.showcase-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------------------------------------------
   DIFERENCIAIS / POR QUE A JCA BARBER?
   --------------------------------------------- */
.perks-section {
  padding: 50px 0;
  background: rgba(19, 21, 28, 0.5);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.perk-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.perk-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.perk-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.perk-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------------------------------------------
   CONSULTAR / CANCELAR AGENDAMENTO
   --------------------------------------------- */
.lookup-section {
  padding: 50px 0;
}

.lookup-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.lookup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.lookup-form .form-control {
  flex: 1 1 260px;
  padding-left: 16px;
}

.lookup-results-wrap {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.lookup-item {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lookup-meta strong {
  font-size: 16px;
  color: #fff;
  display: block;
}

.lookup-meta span {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

/* ---------------------------------------------
   FAQ INTERATIVO COM ACORDEÃO
   --------------------------------------------- */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ---------------------------------------------
   LOCALIZAÇÃO E CONTATOS
   --------------------------------------------- */
.location-section {
  padding: 50px 0 70px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.location-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}

.location-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------------------------------------------
   RODAPÉ
   --------------------------------------------- */
.site-footer {
  background: #090a0d;
  border-top: 1px solid var(--card-border);
  padding: 40px 0 28px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy a {
  color: var(--primary);
  font-weight: 600;
}

.footer-copy a:hover {
  text-decoration: underline;
}

.footer-admin-link {
  color: var(--text-dim);
  font-size: 12px;
  transition: var(--transition);
}

.footer-admin-link:hover {
  color: #fff;
}

/* ---------------------------------------------
   BOTÃO FLUTUANTE DE WHATSAPP
   --------------------------------------------- */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Toast de Aviso */
.notice-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 27, 36, 0.95);
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  transition: var(--transition);
}

.hidden { display: none !important; }

/* ---------------------------------------------
   RESPONSIVIDADE GERAL
   --------------------------------------------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stepper-header { padding: 18px 20px; }
  .step-container { padding: 20px; }
  .voucher-ticket { padding: 20px; }
  .wa-float-btn { bottom: 18px; right: 18px; width: 50px; height: 50px; }
}

/* =========================================================
   PAINEL ADMINISTRATIVO (PRESERVAÇÃO INTEGRAL DE ESTILOS)
   Garante 100% de funcionamento para admin.html
   ========================================================= */
.admin-body {
  background: #f4f3f0;
  color: #171614;
  color-scheme: light;
}

.admin-body :root {
  --primary: #151515;
  --accent: #c99a5a;
  --bg: #f6f4f0;
  --card: #fff;
  --muted: #77736c;
  --border: #e5e0d7;
  --success: #2d7a55;
  --danger: #b84c4c;
}

.admin-top { background: #fff; border-bottom: 1px solid #e5e0d7; }
.admin-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.admin-nav a { color: #333; }
.admin { padding: 28px 0 70px; }
.admin-shell { display: grid; grid-template-columns: 210px 1fr; gap: 22px; }
.sidebar { background: #fff; border: 1px solid #e5e0d7; border-radius: 18px; padding: 14px; height: max-content; position: sticky; top: 18px; }
.side-label { font-size: 10px; color: #aaa; letter-spacing: .14em; font-weight: 800; padding: 8px 10px; }
.nav-item { width: 100%; border: 0; background: transparent; text-align: left; padding: 12px 10px; border-radius: 10px; cursor: pointer; color: #555; }
.nav-item.active { background: #f1eee8; color: #151515; font-weight: 800; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 18px; }
.admin-head h1 { font-size: 38px; letter-spacing: -.03em; margin: 5px 0; color: #151515; }
.admin-head p { color: #77736c; margin: 0; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #c99a5a; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stats > div { background: #fff; border: 1px solid #e5e0d7; border-radius: 16px; padding: 18px; }
.stats small, .stats span { display: block; color: #77736c; }
.stats strong { font-size: 30px; display: block; margin: 3px 0; color: #151515; }
.panel { padding: 24px; margin-bottom: 16px; background: #fff; border: 1px solid #e5e0d7; border-radius: 18px; box-shadow: none; color: #171614; }
.panel h2 { margin: 0 0 18px; font-size: 19px; color: #151515; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #e5e0d7; padding-bottom: 18px; }
.calendar-head > div:nth-child(2) { text-align: center; }
.calendar-head strong { display: block; font-size: 18px; color: #151515; }
.calendar-head small { color: #77736c; }
.calendar-actions { display: flex; align-items: center; gap: 8px; }
.calendar-actions input { width: 150px; padding: 10px; border: 1px solid #e5e0d7; border-radius: 10px; background: #fff; color: #151515; }
.appointment { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e5e0d7; }
.appointment:last-child { border: 0; }
.appointment .time { font-weight: 800; color: #151515; }
.appointment .meta { font-size: 13px; color: #77736c; margin-top: 3px; }
.appointment .tag { font-size: 12px; background: #edf7f1; color: #2d7a55; padding: 6px 9px; border-radius: 20px; }
.management-list { background: #fff; border: 1px solid #e5e0d7; border-radius: 18px; overflow: hidden; }
.manage-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #e5e0d7; }
.manage-row:last-child { border: 0; }
.manage-title { font-weight: 800; color: #151515; }
.manage-meta { color: #77736c; font-size: 13px; margin-top: 4px; }
.manage-actions { display: flex; gap: 8px; }
.small-btn { border: 1px solid #e5e0d7; background: #fff; padding: 9px 11px; border-radius: 9px; cursor: pointer; color: #151515; }
.small-btn.danger { color: #b84c4c; }
.small-btn.success { color: #2d7a55; border-color: #cfe6d8; background: #f2faf5; }
.pill { font-size: 12px; padding: 6px 9px; border-radius: 20px; background: #f0ece4; color: #151515; }
.pill.done { background: #edf7f1; color: #2d7a55; }
.hours-row { display: grid; grid-template-columns: 100px 90px 1fr 30px 1fr; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e5e0d7; }
.switch { display: flex; align-items: center; gap: 7px; color: #77736c; font-size: 13px; }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented button { padding: 10px 15px; border: 1px solid #e5e0d7; background: #fff; border-radius: 10px; cursor: pointer; color: #151515; }
.segmented button.active { background: #151515; color: #fff; }
.stack-form { display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notice, .muted { color: #77736c; font-size: 13px; }
.block-row { padding: 14px 0; border-bottom: 1px solid #e5e0d7; display: flex; justify-content: space-between; gap: 10px; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.settings-form .two { grid-column: 1/-1; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 20px; z-index: 1000; }
.modal-card { width: min(520px, 100%); background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.25); max-height: 90vh; overflow: auto; color: #171614; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-head h2 { margin: 0; font-size: 20px; color: #151515; }
.modal .form-actions { display: flex; gap: 8px; margin-top: 8px; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user span { font-size: 12px; color: #666; }
.icon-btn { border: 1px solid #e5e0d7; background: #fff; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: #151515; }
.toggle { display: block; position: relative; width: 48px; height: 28px; flex: 0 0 auto; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: #d6d2ca; border-radius: 99px; cursor: pointer; transition: .2s; }
.toggle span:after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: .2s; }
.toggle input:checked + span { background: #2d7a55; }
.toggle input:checked + span:after { transform: translateX(20px); }
.switch-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #e5e0d7; border-radius: 14px; background: #faf9f7; color: #171614; }
.switch-card strong { display: block; }
.switch-card small { margin-top: 3px; color: #77736c; font-size: 12px; font-weight: 500; display: block; }
.rule-panel { display: flex; align-items: center; gap: 14px; background: #fbfaf7; }
.rule-panel h2 { margin: 0 0 5px; color: #151515; }
.rule-icon { width: 48px; height: 48px; border-radius: 14px; background: #f0ece4; display: grid; place-items: center; font-weight: 900; color: #151515; }
.field-help { font-size: 11px; color: #77736c; display: block; }
.agenda-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -8px 0 20px; }
.role-hidden { display: none !important; }
.hours-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.hours-day { padding: 14px 0; border-bottom: 1px solid #e5e0d7; }
.hours-day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.ranges { display: grid; gap: 8px; }
.range-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-row input { padding: 10px; border: 1px solid #e5e0d7; border-radius: 10px; }
.add-range { width: max-content; }
.report-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.report-form input[type=date] { flex: 1; min-width: 130px; padding: 10px; border: 1px solid #e5e0d7; border-radius: 10px; }
.report-form span { color: #77736c; }
.report-summary { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: #fff8ed; border: 1px solid #f0dcae; color: #151515; }
.report-summary strong { display: block; font-size: 15px; }
.report-summary small { color: #77736c; }
.admin-body input, .admin-body select { border: 1px solid #e5e0d7; border-radius: 10px; padding: 12px; background: #fff; color: #151515; }
.admin-body label { font-size: 13px; font-weight: 700; display: grid; gap: 6px; color: #151515; }
.admin-body .btn-primary { background: #151515; color: #fff; border-color: #151515; box-shadow: none; }
.admin-body .btn-outline { background: #fff; color: #151515; border-color: #e5e0d7; }
.admin-body .brand strong { color: #151515; }
.admin-body .logo { border-color: #e5e0d7; color: #151515; background: #fff; }

@media(max-width:850px){
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; overflow: auto; gap: 5px; }
  .side-label { display: none; }
  .nav-item { white-space: nowrap; width: auto; }
  .stats { grid-template-columns: 1fr; }
  .settings-form { grid-template-columns: 1fr; }
  .settings-form .two { grid-column: auto; }
}
