/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-0: #0a0a0b;
  --bg-1: #121215;
  --bg-2: #1a1a1f;
  --bg-3: #23232a;
  --border: #2a2a33;
  --border-soft: #1f1f27;
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --accent: #ff6b1a;
  --accent-2: #ffa552;
  --accent-glow: rgba(255, 107, 26, 0.35);
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 6px 24px -8px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ===== Layout ===== */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--sm {
  padding: 56px 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* Header overlaying the full-viewport hero */
.header--over {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header--over.is-scrolled {
  background: rgba(10, 10, 11, 0.85);
  border-bottom-color: var(--border-soft);
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text-dim);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav__phone:hover {
  color: var(--accent-2);
}

.nav__phone span {
  color: var(--accent);
  font-size: 15px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 6px 14px var(--accent-glow));
  flex-shrink: 0;
}

.brand__wm {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__wm strong {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.brand__wm small {
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.nav a {
  padding: 10px 14px;
  color: var(--text-dim);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: var(--bg-2);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a0b;
  box-shadow: 0 10px 28px -10px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px var(--accent-glow);
}

.btn--ghost {
  background: var(--bg-2);
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--bg-3);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn--block {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle at center,
    rgba(255, 107, 26, 0.25),
    transparent 60%
  );
  filter: blur(20px);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 40% auto auto -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at center,
    rgba(255, 165, 82, 0.12),
    transparent 60%
  );
  filter: blur(20px);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.stat__value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat__label {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hero__visual:hover img {
  transform: scale(1.03);
}

.hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #0a0a0b;
  font-weight: 800;
}

.hero__badge__text small {
  color: var(--text-mute);
  font-size: 12px;
  display: block;
}

.hero__badge__text strong {
  font-size: 14px;
}

/* ===== HERO FULL-VIEWPORT SLIDER ===== */
.hero-full {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease),
    visibility 0s linear 0.9s;
  transform: scale(1.04);
  display: grid;
  place-items: center;
  padding: 96px 24px 120px;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.65) 0%,
    rgba(10, 10, 11, 0.45) 40%,
    rgba(10, 10, 11, 0.85) 100%
  );
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) 0.2s,
    transform 0.8s var(--ease) 0.2s;
}

.hero-slide.is-active .hero-slide__content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__content h1 {
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 20px 0 20px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero-slide__content p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(244, 244, 245, 0.9);
  max-width: 680px;
  margin: 0 auto 32px;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  padding: 14px 36px;
  font-size: 15px;
}

.btn--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0b;
  transform: translateY(-1px);
}

/* Nav arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0b;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
  width: 28px;
  border-radius: 999px;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: none;
  z-index: 3;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scroll-hint 1.6s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ===== WhatsApp floating button ===== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: #22c55e;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px -8px rgba(34, 197, 94, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(34, 197, 94, 0.7);
}

.wa-fab svg { flex-shrink: 0; }

@media (max-width: 640px) {
  .wa-fab {
    padding: 12px 16px;
    bottom: 16px;
    right: 16px;
  }
  .wa-fab span { display: none; }
  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .hero-arrow--prev { left: 12px; }
  .hero-arrow--next { right: 12px; }
  .nav__phone { display: none; }
}

/* ===== Section header ===== */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 20px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ===== Services grid ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.service__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}

.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service:hover .service__img img {
  transform: scale(1.06);
}

.service__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}

.service__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service__body h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.service__body p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}

.service__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.service__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.01em;
}

.service__duration {
  font-size: 12px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== CTA band ===== */
.cta-band {
  padding: 56px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 26, 0.12),
    rgba(255, 165, 82, 0.06)
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h3 {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--text-dim);
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-mute);
  font-size: 13px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== Agendamento (Booking) ===== */
.booking {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 40px 0 96px;
}

.card {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
}

.card h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.card > p.muted {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Time slots */
.slots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.slots-head h3 {
  font-size: 15px;
  letter-spacing: -0.005em;
}

.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.slot {
  padding: 10px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.slot:hover:not(.is-taken):not(.is-selected) {
  border-color: var(--accent);
  color: var(--accent-2);
}

.slot.is-taken {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot.is-selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #0a0a0b;
}

/* Summary aside */
.summary__item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 14px;
}

.summary__item:last-child {
  border-bottom: none;
}

.summary__item span:first-child {
  color: var(--text-dim);
}

.summary__total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
}

.summary__total span:last-child {
  color: var(--accent-2);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 100;
  max-width: 340px;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  border-left-color: var(--success);
}

/* ===== Admin ===== */
.admin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--border-soft);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__brand {
  padding: 4px 8px 24px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 16px;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar__nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s var(--ease);
}

.sidebar__nav a:hover {
  color: var(--text);
  background: var(--bg-2);
}

.sidebar__nav a.is-active {
  color: var(--text);
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.sidebar__user {
  padding: 12px;
  background: var(--bg-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0a0a0b;
  font-size: 13px;
}

.main {
  padding: 32px 40px;
  min-width: 0;
}

.main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.main__head h1 {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.main__head p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 4px;
}

/* KPI cards */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kpi {
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.kpi__label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kpi__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.kpi__value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi__delta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi__delta.is-neg {
  color: var(--danger);
}

/* Dashboard row */
.dash-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel__head h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.panel__head p {
  color: var(--text-mute);
  font-size: 12px;
}

/* Chart */
.chart {
  height: 240px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px 0 8px;
  position: relative;
}

.bar {
  flex: 1;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    rgba(255, 107, 26, 0.3) 100%
  );
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
  position: relative;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.bar:hover {
  filter: brightness(1.2);
  transform: translateY(-4px);
}

.bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}

.bar::before {
  content: attr(data-value);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.bar:hover::before {
  opacity: 1;
}

.chart-wrap {
  padding-bottom: 28px;
}

/* Donut / mix */
.mix-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mix-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mix-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mix-item__label {
  flex: 1;
  font-size: 13px;
  color: var(--text-dim);
}

.mix-item__value {
  font-weight: 600;
  font-size: 13px;
}

.mix-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.mix-bar__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s var(--ease);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
}

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tbl thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--text-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-soft);
}

.tbl tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.tbl tbody tr:last-child td {
  border-bottom: none;
}

.tbl tbody tr {
  transition: background 0.15s var(--ease);
}

.tbl tbody tr:hover {
  background: var(--bg-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge--pending {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
}

.badge--confirmed {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.badge--done {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.badge--canceled {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* Login */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.login::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 107, 26, 0.15),
      transparent 40%
    ),
    radial-gradient(circle at 70% 70%, rgba(255, 165, 82, 0.1), transparent 40%);
  z-index: -1;
}

.login__card {
  width: min(420px, 100%);
  padding: 40px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.login__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.login__card h1 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.login__card p.muted {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}

.login__hint {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-mute);
}

.login__hint code {
  color: var(--accent-2);
  font-family: "SF Mono", Monaco, monospace;
  font-size: 12px;
}

.err {
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid,
  .booking {
    grid-template-columns: 1fr;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-row {
    grid-template-columns: 1fr;
  }

  .admin {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    overflow-x: auto;
  }

  .sidebar__brand {
    border-bottom: none;
    border-right: 1px solid var(--border-soft);
    padding: 4px 16px 4px 0;
    margin-right: 8px;
    margin-bottom: 0;
  }

  .sidebar__nav {
    flex-direction: row;
    flex: 1;
  }

  .sidebar__user {
    display: none;
  }

  .main {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .services,
  .features {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-band {
    padding: 32px;
    text-align: center;
    justify-content: center;
  }

  .nav a:not(.btn) {
    display: none;
  }
}

/* Utility */
.hide { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-dim { color: var(--text-dim); }
.text-mute { color: var(--text-mute); }
