:root {
  /* Nova identidade visual (logo ouro metálico / fundo chumbo) */
  --bg-main: #0b0c10;
  --bg-card: #16171d;
  --bg-card-hover: #1f2027;
  --border-card: #282932;

  --gold-primary: #d4af37;
  --gold-bright: #d4af37;
  --gold-dark: #d4af37;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #d4af37 100%);

  --text-main: #ffffff;
  --text-muted: #9ca3af;

  /* Compatibilidade com as variáveis já usadas no projeto */
  --bg: var(--bg-main);
  --bg-2: #101116;
  --surface: var(--bg-card);
  --border: var(--border-card);

  --gold: var(--gold-primary);
  --gold-glow: rgba(212, 175, 55, 0.15);

  --text: var(--text-main);

  --success: #22C55E;
  --danger: #EF4444;
  --warning: #d4af37;

  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --heading: "Montserrat", "Inter", sans-serif;

  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Tipografia ---------- */

.eyebrow {
  font-family: var(--heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.text-center { text-align: center; }

/* ---------- Seções ---------- */

.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--bg-2);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--gold-gradient);
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  animation: brilho-dourado 2.6s ease-in-out infinite;
}

@keyframes brilho-dourado {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55), 0 0 16px rgba(212, 175, 55, 0.35);
  }
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
}

.btn-ghost {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header / Nav ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0a0a0a;
}

.brand-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--gold);
}

.nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-list a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-list a:hover { color: var(--gold); }

.nav-cta {
  margin-top: 1rem;
  width: 100%;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 8rem 0 4rem;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--bg);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  max-width: 480px;
}

.hero-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.45), transparent 40%);
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
}

.hero-caption {
  position: static !important;
  margin-top: 0.75rem;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
  text-align: center;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Serviços: títulos (usados nos carrosséis) ---------- */

.servico-nome {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.servico-descricao {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  flex: 1;
}

/* ---------- Agendamento Wizard ---------- */

.agendamento {
  padding: 4rem 0;
  background: var(--bg-2);
}

.wizard-passos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.wizard-passo {
  display: flex;
  align-items: center;
  gap: 0;
}

.wizard-passo-numero {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
  flex-shrink: 0;
}

.wizard-passo.ativo .wizard-passo-numero {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

.wizard-passo.concluido .wizard-passo-numero {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.wizard-passo-label {
  display: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 0.5rem;
  margin-right: 1.5rem;
  white-space: nowrap;
}

.wizard-passo.ativo .wizard-passo-label {
  color: var(--gold);
}

.wizard-linha {
  width: 40px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.wizard-linha.concluida {
  background: var(--success);
}

/* ---------- Etapas do Wizard ---------- */

.etapa {
  display: none;
  animation: fadeIn 0.3s var(--ease);
}

.etapa.ativa {
  display: block;
}

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

.etapa-titulo {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.etapa-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* Calendário */

.calendario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  max-width: 420px;
}

.calendario-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendario-mes {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
}

.calendario-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.calendario-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.calendario-dias-semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.5rem;
}

.calendario-dia-semana {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.calendario-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendario-dia {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
  color: var(--text-muted);
}

.calendario-dia:hover:not(.desabilitado):not(.selecionado) {
  background: rgba(212, 175, 55, 0.1);
  color: var(--text);
}

.calendario-dia.hoje {
  border: 1px solid var(--gold);
}

.calendario-dia.selecionado {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
}

.calendario-dia.desabilitado {
  opacity: 0.25;
  cursor: not-allowed;
}

.calendario-dia.vazio {
  visibility: hidden;
}

/* Slots de Horário */

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.horario-slot {
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.horario-slot:hover:not(.ocupado):not(.selecionado) {
  border-color: var(--gold);
  color: var(--gold);
}

.horario-slot.selecionado {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

.horario-slot.ocupado {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.5;
}

.horario-slot.bloqueado {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.5;
}

.horario-slot.horario-expirado,
.horario-expirado {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.4;
  pointer-events: none;
}

.horario-label-ocupado {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.7;
}

/* Formulário do Cliente */

.form-grupo {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

#etapa-3 .form-label {
  color: var(--gold);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.form-input::placeholder {
  color: #555;
}

/* Resumo do Agendamento */

.resumo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.resumo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.resumo-item:last-child {
  border-bottom: none;
}

.resumo-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.resumo-valor {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.resumo-valor.dourado {
  color: var(--gold);
}

/* Botões de Navegação do Wizard */

.wizard-botoes {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---------- Calendário inline (seção de agendamento) ---------- */

.calendario-wrap {
  margin-top: 1.5rem;
}

.data-selecionada {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Sobre ---------- */

.sobre-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.sobre-foto {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.sobre-foto::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.3));
  border-radius: 18px;
  pointer-events: none;
}

.sobre-foto::after {
  content: "";
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 3.2rem;
  height: 3.2rem;
  border-top: 2px solid var(--gold-bright, #d4af37);
  border-right: 2px solid var(--gold-bright, #d4af37);
  border-top-right-radius: 14px;
  pointer-events: none;
}

.sobre-foto img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.1), 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sobre-texto p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sobre-texto .section-title {
  color: var(--text);
}

/* ---------- Espaço / Localização ---------- */

.local-foto {
  max-width: 640px;
  margin: 1rem auto 0;
}

.local-foto img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  object-fit: cover;
}

.mapa-container {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 1.5rem auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-card, #282932);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mapa-container iframe {
  display: block;
  width: 100%;
}

@media (max-width: 640px) {
  .mapa-container {
    margin: 1.5rem auto 1rem auto;
    border-radius: 12px;
  }
  .mapa-container iframe {
    height: 280px;
  }
}

/* ---------- Card Dividido da Unidade (#local) ---------- */

.unidade-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  background: #14151b;
  border: 1px solid #282932;
  border-radius: 18px;
  padding: 2.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.unidade-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary, #d4af37);
  margin-bottom: 0.75rem;
}

.unidade-traco {
  width: 20px;
  height: 2px;
  background: var(--gold-primary, #d4af37);
}

.unidade-manchete {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.8rem;
}

.texto-dourado {
  color: var(--gold-bright, #d4af37);
  font-style: italic;
}

.item-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icone-circulo {
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary, #d4af37);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subtitulo-rotulo {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.texto-endereco {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0;
}

.tabela-horarios-container {
  width: 100%;
}

.linha-horario {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.linha-horario.fechado span:last-child {
  color: #ef4444;
  font-weight: 600;
}

.grupo-botoes-unidade {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.rodape-contato {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.unidade-mapa {
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #282932;
}

.unidade-mapa iframe {
  display: block;
}

@media (max-width: 860px) {
  .unidade-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .unidade-mapa {
    min-height: 300px;
  }
}

/* ---------- Footer ---------- */

.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-text {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
}

.footer-brand-text span {
  color: var(--gold);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-title {
  font-family: var(--heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  color: #555;
}

.footer-dev {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  text-align: center;
}

.dev-link {
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dev-link:hover {
  color: var(--gold-bright, #d4af37);
  text-decoration: underline;
}

/* ---------- WhatsApp Float ---------- */

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ---------- Admin: Login ---------- */

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(212, 175, 55, 0.06), transparent 60%),
    var(--bg);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.login-card .brand {
  justify-content: center;
  margin-bottom: 2rem;
}

.login-titulo {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
}

.login-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.login-erro {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: #fca5a5;
  margin-bottom: 1rem;
  display: none;
}

.login-erro.visivel {
  display: block;
}

@keyframes login-tremor {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.login-card.tremor {
  animation: login-tremor 0.4s var(--ease);
}

/* ---------- Admin: Dashboard ---------- */

.admin-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-conteudo {
  padding: 2rem 0;
}

.admin-filtros {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.admin-data-input {
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.88rem;
}

.admin-data-input:focus {
  outline: none;
  border-color: var(--gold);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.admin-stat-numero {
  font-family: var(--heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tabela de Agendamentos */

.agenda-tabela-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.agenda-tabela {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.agenda-tabela th {
  background: var(--surface);
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.agenda-tabela td {
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.agenda-tabela tr:last-child td {
  border-bottom: none;
}

.agenda-tabela tr:hover td {
  background: rgba(212, 175, 55, 0.03);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-confirmado {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-bloqueado {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-cancelado {
  background: rgba(156, 163, 175, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(156, 163, 175, 0.2);
}

.agenda-acoes {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.agenda-acao {
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  transition: all 0.2s;
}

.agenda-acao-liberar {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.agenda-acao-liberar:hover {
  background: rgba(34, 197, 94, 0.2);
}

.agenda-acao-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.agenda-acao-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
}

.agenda-acao-bloquear {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.agenda-acao-bloquear:hover {
  background: rgba(239, 68, 68, 0.2);
}

.admin-vazio {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Blocos/Seções do Painel Admin ---------- */

.admin-bloco {
  margin-top: 2.25rem;
}

.admin-bloco:first-of-type {
  margin-top: 1.25rem;
}

.admin-bloco-titulo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.admin-bloco-titulo::before {
  content: "";
  width: 4px;
  height: 1.05rem;
  border-radius: 2px;
  background: var(--gold);
}

#pontuais-cards-wrap:not(.oculto) {
  display: flex;
}

/* ---------- Bloqueios por Intervalo ---------- */

.lista-bloqueios {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.item-bloqueio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
}

.item-bloqueio-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
  color: var(--text-claro);
  min-width: 0;
}

.item-bloqueio-motivo {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.item-bloqueio-remover {
  flex-shrink: 0;
}

.bloqueio-range-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bloqueio-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.6rem 0;
  padding: 0.6rem 0.75rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-card);
  border-radius: 10px;
}

.bloqueio-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d4af37;
  cursor: pointer;
}

.bloqueio-erro {
  color: #fca5a5;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

/* ---------- Abas do Painel ---------- */

.admin-abas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
}

.aba-btn {
  flex: 1 1 auto;
  max-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.aba-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.aba-btn.ativa {
  background: #d4af37;
  border-color: #d4af37;
  color: #0a0a0a;
}

/* ---------- Seção Financeiro ---------- */

.admin-secao-titulo {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #d4af37;
  margin: 1.75rem 0 0.25rem;
}

.admin-secao-titulo::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: #d4af37;
  margin-top: 0.5rem;
}

.fin-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.fin-abas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fin-aba {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.fin-aba:hover {
  border-color: #d4af37;
  color: var(--text-main);
}

.fin-aba.ativa {
  background: #d4af37;
  border-color: #d4af37;
  color: #0a0a0a;
}

.fin-mes-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
}

.fin-nav-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-card);
  color: #d4af37;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.fin-nav-btn:hover {
  border-color: #d4af37;
  color: var(--text-main);
}

.fin-mes-label {
  min-width: 118px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.fin-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.fin-range .form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.fin-periodo-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.fin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.fin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.fin-card-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.fin-card-rotulo {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fin-card-contagem {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fin-card-valor {
  font-size: 1.35rem;
  font-weight: 800;
  color: #25D366;
  font-variant-numeric: tabular-nums;
}

.fin-extrato-label {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  color: #d4af37;
  margin: 2rem 0 0.5rem;
}

.fin-valor-td {
  color: #25D366;
  font-weight: 700;
  white-space: nowrap;
}

/* Modal de Bloqueio */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.aberto {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transform: translateY(12px);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.aberto .modal {
  transform: translateY(0);
}

.modal-titulo {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-botoes {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utilitários ---------- */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.gap-sm { gap: 0.5rem; }
.oculto { display: none !important; }

/* ---------- Cards de Agendamento (Mobile) ---------- */

.agenda-cards-wrap {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 100%;
  overflow-x: hidden;
}

.agenda-card {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 100%;
}

.agenda-card-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.agenda-card-horario {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.agenda-card-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-claro);
  word-break: break-word;
}

.agenda-card-rotulo {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.agenda-card-rodape {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.agenda-card-rodape .agenda-acao {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 10px;
  white-space: normal;
}

/* ---------- Cards do Extrato Financeiro (Mobile) ---------- */

.fin-cards-wrap {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 100%;
  overflow-x: hidden;
}

.fin-card-item {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 100%;
}

.fin-card-topo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.fin-card-data {
  font-size: 0.88rem;
  color: var(--text-claro);
  font-weight: 600;
  word-break: break-word;
}

.fin-card-valor {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ade80;
  white-space: nowrap;
}

.fin-card-topo .status-badge {
  align-self: flex-start;
}

.fin-card-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-claro);
  word-break: break-word;
}

.fin-card-rotulo {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.fin-card-rodape {
  display: flex;
  align-items: center;
  margin-top: 0.2rem;
}

.status-concluido {
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  #agenda-tabela-wrap,
  #fin-tabela-wrap {
    display: none;
  }

  .agenda-cards-wrap,
  .fin-cards-wrap {
    display: flex;
  }

  #tela-dashboard,
  .admin-conteudo,
  #secao-agenda,
  #secao-financeiro {
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-stats {
    overflow-x: hidden;
  }
}

/* Loading spinner */

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: girar 0.6s linear infinite;
  display: inline-block;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

/* ---------- Barra de Prova Social ---------- */

.barra-autoridade {
  background: #121212;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 1rem 0;
}

.barra-autoridade-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.estrelas {
  color: #d4af37;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.autoridade-numero {
  color: #d4af37;
  font-weight: 700;
  margin-right: 0.5rem;
}

.autoridade-texto {
  color: #9CA3AF;
  font-size: 0.9rem;
}

.autoridade-divisor {
  width: 1px;
  height: 24px;
  background: #2E2E2E;
}

/* ---------- Botão de Troca Rápida (Resumo) ---------- */

.btn-trocar {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 0.75rem;
  padding: 0;
}

.btn-trocar:hover {
  color: #d4af37;
}

/* ---------- Badge de Horário Concorrido ---------- */

.badge-concorrido {
  display: block;
  font-size: 0.65rem;
  color: #d4af37;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Aviso Fechado aos Domingos ---------- */

.calendario-aviso {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Seletor de Serviço (Etapa Data) ---------- */

.servico-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.servico-trigger:hover,
.servico-trigger.aberto {
  border-color: var(--gold-primary);
}

.servico-trigger.aberto {
  background: var(--bg-card-hover);
}

.servico-trigger-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.servico-trigger-nome {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.servico-trigger-nome.escolhido {
  color: var(--gold-primary);
  font-weight: 600;
}

.servico-trigger-preco {
  font-weight: 700;
  color: #25D366;
  white-space: nowrap;
}

.servico-trigger-seta {
  font-size: 0.8rem;
  color: var(--gold-primary);
  transition: transform 0.3s var(--ease);
  transform: rotate(0deg);
}

.servico-trigger.aberto .servico-trigger-seta {
  transform: rotate(90deg);
}

.servico-lista-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.servico-lista-wrap.aberto {
  margin-top: 0.75rem;
  max-height: 2400px;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
}

#servico-selecionado-box + .calendario-wrap {
  margin-top: 0.75rem;
}

.servico-grupo + .servico-grupo {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
}

.servico-grupo-titulo {
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.servico-grupo-titulo::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.opcao-servico {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.opcao-servico + .opcao-servico {
  margin-top: 0.5rem;
}

.opcao-servico:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.opcao-servico.selecionada {
  border-color: var(--gold-primary);
  background: var(--gold-glow);
  box-shadow: 0 0 0 1px var(--gold-primary) inset;
}

.opcao-servico input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opcao-servico-radio {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
  background: var(--bg-main);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.opcao-servico.selecionada .opcao-servico-radio {
  border-color: var(--gold-primary);
}

.opcao-servico.selecionada .opcao-servico-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold-primary);
}

.opcao-servico-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.opcao-servico-nome {
  font-weight: 600;
  color: #d4af37;
  line-height: 1.3;
}

.opcao-servico-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.opcao-servico-preco {
  font-weight: 700;
  color: #25D366;
  white-space: nowrap;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .opcao-servico {
    padding: 0.75rem 0.85rem;
  }
  .opcao-servico-preco {
    font-size: 0.9rem;
  }
}

/* ---------- Loja de Acessórios & Produtos ---------- */

.loja-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem;
}

.loja-info {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  #btn-consultar-produtos {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    white-space: normal;
  }
}

.loja-texto {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

#btn-consultar-produtos {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  animation: brilho-whatsapp 2.6s ease-in-out infinite;
}

#btn-consultar-produtos:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

#btn-consultar-produtos:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.6);
  outline-offset: 2px;
}

@keyframes brilho-whatsapp {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 16px rgba(37, 211, 102, 0.4);
  }
}

.video-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-player {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-height: 480px;
  object-fit: cover;
  background: #000;
}

/* ---------- Galeria Mista do Espaço ---------- */

.espaco-galeria {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.espaco-fotos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.foto-espaco {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  cursor: pointer;
}

/* ---------- Lightbox das Fotos do Espaço ---------- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.aberto {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-fechar {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  z-index: 10000;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-fechar:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .espaco-galeria {
    grid-template-columns: 1fr;
  }
  .espaco-fotos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foto-espaco {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-photo-frame {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ---------- Preferências de movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet ---------- */

@media (min-width: 640px) {
  .horarios-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wizard-passo-label {
    display: inline;
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  .container {
    padding: 0 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .header-inner {
    height: 80px;
    align-items: center;
  }

  .brand-img {
    height: 62px;
  }

  .sobre-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
  }

  .nav-list a {
    padding: 0;
    border: none;
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  .nav-list a:hover {
    color: var(--gold);
  }

  .nav-cta {
    margin-top: 0;
    width: auto;
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: 9rem 0 5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .horarios-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* ---------- Carrossel de Serviços ---------- */

.carrossel-bloco {
  margin-bottom: 2.5rem;
}

.carrossel-cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.categoria-titulo {
  font-size: 1.25rem;
  color: #d4af37;
  font-weight: 600;
}

.carrossel-dica {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.carrossel-trilho {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carrossel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 19, 22, 0.85);
  border: 1px solid var(--border-card, #282932);
  color: var(--gold-primary, #d4af37);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.carrossel-btn:hover {
  background: var(--gold-primary, #d4af37);
  color: #0b0c10;
}

.carrossel-prev {
  left: -12px;
}

.carrossel-next {
  right: -12px;
}

@media (max-width: 640px) {
  .carrossel-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .carrossel-prev {
    left: 4px;
  }
  .carrossel-next {
    right: 4px;
  }
}

.carrossel-trilho::-webkit-scrollbar {
  display: none;
}

.card-servico {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #171717;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-servico:hover {
  transform: translateY(-4px);
  border-color: #d4af37;
}

.card-servico img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-img-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.card-img-btn img {
  transition: transform 0.4s var(--ease);
}

.card-img-btn:hover img,
.card-img-btn:focus-visible img {
  transform: scale(1.06);
}

.card-img-lupa {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.card-img-btn:hover .card-img-lupa,
.card-img-btn:focus-visible .card-img-lupa {
  opacity: 0.85;
}

.card-servico-corpo {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-servico-duracao {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.card-servico-preco {
  color: #d4af37;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.5rem 0 0.9rem;
}

.card-servico-corpo .btn {
  margin-top: auto;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.lightbox.aberto {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-fechar {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  z-index: 9999;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox-fechar:hover {
  background: #d4af37;
  border-color: #d4af37;
  color: #0a0a0a;
  transform: rotate(90deg);
}

body.lightbox-aberto {
  overflow: hidden;
}

/* ---------- Campo de Senha (olhinho) ---------- */

.campo-senha-wrap {
  position: relative;
}

.campo-senha-wrap .form-input {
  padding-right: 42px;
}

.btn-toggle-senha {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.btn-toggle-senha:hover {
  color: var(--gold);
}

/* ---------- Toast de Notificação ---------- */

.notif-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(16px);
  z-index: 400;
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-left: 4px solid var(--gold);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  max-width: min(90vw, 420px);
  text-align: center;
}

.notif-toast.visivel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Link de Telefone ---------- */

.tel-link {
  color: var(--gold);
  font-weight: 600;
}

.tel-link:hover {
  text-decoration: underline;
}

/* ---------- Agenda em Cards (mobile) ---------- */

@media (max-width: 639px) {
  .autoridade-divisor {
    display: none;
  }

  .agenda-tabela,
  .agenda-tabela tbody,
  .agenda-tabela tr,
  .agenda-tabela td {
    display: block;
    width: 100%;
  }

  .agenda-tabela thead {
    display: none;
  }

  .agenda-tabela-wrap {
    overflow: visible;
    border: none;
  }

  .agenda-tabela tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
  }

  .agenda-tabela td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    text-align: right;
  }

  .agenda-tabela td:last-child {
    border-bottom: none;
  }

  .agenda-tabela td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .agenda-tabela tr:hover td {
    background: none;
  }

  .wizard-botoes {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

.btn-instalar {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold, #d4af37);
  border-radius: 999px;
  background: transparent;
  color: var(--gold, #d4af37);
  font-weight: 600;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-instalar:hover {
  background: var(--gold, #d4af37);
  color: #121212;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .btn-instalar {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Forçar estilo visual de bloqueio/pausa */
.time-slot.bloqueado,
.horario-btn.bloqueado,
.horario-slot.bloqueado,
button.bloqueado,
.slot-bloqueado {
  background-color: rgba(229, 57, 53, 0.15) !important;
  border: 1px solid #e53935 !important;
  color: #ff5252 !important;
  text-decoration: line-through !important;
  text-decoration-color: #ff0000 !important;
  text-decoration-thickness: 2px !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* ---------- Central de Alertas ---------- */

.alertas-filtros {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.alerta-filtro-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.alerta-filtro-btn:hover {
  border-color: var(--gold);
  color: var(--text-main);
}

.alerta-filtro-btn.ativa {
  background: #d4af37;
  border-color: #d4af37;
  color: #0a0a0a;
}

.alertas-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .alertas-lista {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

.alerta-card {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.alerta-card-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.alerta-card-horario {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.alerta-card-linha {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-word;
}

.alerta-card-rotulo {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.alerta-card-rodape {
  margin-top: 0.35rem;
}

.btn-alerta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #25D366;
  color: #06281a;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  text-decoration: none;
  transition: filter 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn-alerta-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-alerta-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.alerta-vazio {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1.25rem 0;
  margin: 0;
}

.alerta-sem-telefone {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.6rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

/* ---------- Gestão da Barbearia (serviços, preços e expediente) ---------- */

.gestao-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gestao-cabecalho .admin-bloco-titulo {
  margin: 0;
}

.gestao-servicos-lista {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gestao-categoria {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gestao-categoria-titulo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gestao-categoria-titulo::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.gestao-carrossel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}

.gestao-trilho {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.3rem 0.15rem 0.8rem;
  -webkit-overflow-scrolling: touch;
}

.gestao-trilho::-webkit-scrollbar {
  height: 7px;
}

.gestao-trilho::-webkit-scrollbar-track {
  background: transparent;
}

.gestao-trilho::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}

.gestao-carrossel-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 19, 22, 0.85);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.gestao-carrossel-btn:hover {
  background: var(--gold);
  color: #0b0c10;
}

.gestao-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gestao-card.inativo {
  opacity: 0.6;
}

.gestao-card-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: var(--border);
}

.gestao-card-corpo {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.gestao-card-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.gestao-card-corpo .form-input {
  width: 100%;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  font-size: 0.82rem;
}

.gestao-card-status {
  align-self: flex-start;
  margin-bottom: 0.1rem;
}

.gestao-card-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.gestao-card-acoes .agenda-acao {
  font-size: 0.74rem;
}

.gestao-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.gestao-form-imagem {
  grid-column: 1 / -1;
}

.gestao-form-erro {
  color: #ff5a5a;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.gestao-expediente-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.gestao-expediente-salvar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 639px) {
  .gestao-carrossel {
    grid-template-columns: 1fr;
  }
  .gestao-carrossel-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .gestao-card {
    flex-basis: 185px;
  }
  .gestao-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Expediente por Dia da Semana ---------- */

.expediente-semanal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.expediente-header,
.expediente-linha {
  display: grid;
  grid-template-columns: 130px 112px repeat(4, 1fr) 96px;
  gap: 0.5rem;
  align-items: center;
}

.expediente-header {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.25rem;
}

.expediente-linha {
  padding: 0.55rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.expediente-linha.fechado .expediente-input,
.expediente-linha.fechado .expediente-switch-texto {
  opacity: 0.5;
}

.expediente-linha.fechado .expediente-col-dia {
  color: var(--text-muted);
}

.expediente-linha.fechado .btn-gold {
  opacity: 1;
}

.expediente-col-dia strong {
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
}

.expediente-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-main);
}

.expediente-switch input {
  accent-color: var(--gold);
  cursor: pointer;
}

.expediente-switch-texto {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.expediente-input {
  min-width: 0;
  padding: 0.4rem 0.45rem;
  font-size: 0.8rem;
}

.gestao-form-aviso {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .expediente-header {
    display: none;
  }
  .expediente-linha {
    grid-template-columns: 1fr 1fr;
  }
  .expediente-col-dia {
    grid-column: 1 / -1;
  }
  .expediente-col-acao {
    grid-column: 1 / -1;
  }
}
