:root {
  --bg: #070b11;
  --bg-soft: #0b111a;
  --panel: #0f1722;
  --panel-2: #121c29;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #f7f3ed;
  --muted: #aeb7c3;
  --wine: #7d0924;
  --wine-2: #a81239;
  --gold: #d7b36a;
  --success: #2fbf71;
  --danger: #e75a65;
  --warning: #e6a83a;
  --shadow: 0 26px 80px rgba(0,0,0,.42);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(125,9,36,.12), transparent 32%),
    radial-gradient(circle at 85% 30%, rgba(28,55,88,.14), transparent 36%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.eyebrow {
  color: #d9a8b6;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.split-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.card-grid { display: grid; gap: 18px; }

.app-only-banner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 8px 16px;
  background: linear-gradient(90deg, #5c061b, #8f0b2d, #5c061b);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 82px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(20px, calc((100vw - var(--container))/2));
  background: #fff;
  border-bottom: 1px solid rgba(14, 22, 32, .12);
  box-shadow: 0 12px 34px rgba(8, 12, 18, .08);
  transition: .25s ease;
}
.site-header.scrolled { box-shadow: 0 16px 40px rgba(8, 12, 18, .14); }
.brand { display: flex; align-items: center; justify-content: center; min-height: 66px; border-radius: 12px; }
.brand img { width: 152px; height: 68px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.16)); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.desktop-nav a { color: #18202b; font-size: .86rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.desktop-nav a:hover { color: var(--wine-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-ghost { color: #151d28; border-color: rgba(15, 23, 34, .22); background: #fff; }
.header-actions .btn-ghost:hover { border-color: rgba(125,9,36,.45); background: #fff3f6; }
.menu-toggle { display: none; border: 0; background: transparent; color: #151d28; font-size: 1.5rem; }
.mobile-menu {
  position: fixed;
  inset: 116px 12px auto 12px;
  z-index: 90;
  display: none;
  padding: 18px;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(14, 22, 32, .12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: grid; }
.mobile-menu a { padding: 12px 6px; border-bottom: 1px solid rgba(14, 22, 32, .12); color: #151d28; font-weight: 900; text-transform: uppercase; }
.mobile-menu .btn-ghost { color: #151d28; border-color: rgba(14,22,32,.18); }

.btn {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 18px;
  color: #fff;
  background: transparent;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(180deg, #991133, #6f071f); border-color: #b22b4a; box-shadow: 0 10px 24px rgba(125,9,36,.28); }
.btn-primary:hover { background: linear-gradient(180deg, #ac163b, #7c0a27); }
.btn-outline { border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.btn-outline:hover, .btn-ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.btn-ghost { border-color: var(--line); color: #e3e8ef; }
.btn-danger { background: rgba(231,90,101,.12); border-color: rgba(231,90,101,.4); color: #ff9ca4; }
.btn-success { background: rgba(47,191,113,.14); border-color: rgba(47,191,113,.42); color: #9ff0c3; }
.btn-warning { background: rgba(230,168,58,.13); border-color: rgba(230,168,58,.42); color: #ffd284; }
.btn-large { padding: 14px 24px; }
.btn-small { padding: 8px 12px; font-size: .8rem; }

.hero {
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') center 28%/cover no-repeat;
  filter: saturate(.82) contrast(1.07);
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,6,10,.98) 0%, rgba(3,6,10,.87) 35%, rgba(3,6,10,.24) 72%, rgba(3,6,10,.75) 100%),
    linear-gradient(0deg, rgba(4,7,11,.96) 0%, transparent 34%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero-copy { max-width: 690px; }
.hero-copy h1 {
  margin: 12px 0 20px;
  font-size: clamp(3.1rem, 7.2vw, 6.9rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.hero-copy h1 em { color: #f2b8c8; font-family: Georgia, serif; font-weight: 500; text-transform: none; letter-spacing: -.03em; }
.hero-copy > p { max-width: 620px; color: #d4d9e0; font-size: 1.08rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #dfe4eb; font-size: .86rem; }
.promo-stack { display: grid; gap: 14px; align-self: end; }
.loyalty-card, .birthday-mini-card {
  background: linear-gradient(180deg, rgba(16,25,37,.94), rgba(8,13,20,.97));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.loyalty-card { padding: 26px; text-align: center; }
.loyalty-card > span { display: block; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.loyalty-card strong { display: block; margin-top: 12px; font-size: 2rem; color: #f3bdcc; }
.loyalty-card b { display: block; font-size: 1.25rem; }
.loyalty-card .stars { color: #ef7b9a; letter-spacing: .12em; font-size: 1.45rem; margin: 12px 0; }
.loyalty-card p { color: var(--muted); font-size: .88rem; }
.birthday-mini-card { padding: 18px 20px; border-color: rgba(215,179,106,.45); }
.birthday-mini-card span, .birthday-mini-card strong, .birthday-mini-card small { display: block; }
.birthday-mini-card span { color: #f8d69a; font-weight: 800; }
.birthday-mini-card strong { font-size: 1.35rem; margin: 4px 0; }
.birthday-mini-card small { color: var(--muted); }

.services-section { background: linear-gradient(180deg, #08101a, #070b11); }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .product-card, .unit-card, .promotion-card {
  background: linear-gradient(180deg, rgba(17,27,40,.96), rgba(9,15,23,.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  transition: transform .22s ease, border-color .22s ease;
}
.service-card:hover, .product-card:hover, .unit-card:hover, .promotion-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.24); }
.service-image { aspect-ratio: 1.28; width: 100%; object-fit: cover; }
.service-body { padding: 18px; }
.service-title-row { display: flex; gap: 10px; align-items: start; justify-content: space-between; }
.service-title-row h3 { margin: 0; font-size: 1.02rem; }
.price { color: #fff; font-weight: 900; white-space: nowrap; }
.service-body p { color: #cbd3de; font-size: .88rem; min-height: 42px; }
.service-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #d2dae4; font-size: .78rem; font-weight: 700; }

.products-section { background: #0a1018; }
.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: grid; grid-template-columns: 128px 1fr; min-height: 176px; }
.product-card img { width: 100%; height: 100%; object-fit: cover; background: #111; }
.product-body { padding: 18px; display: flex; flex-direction: column; }
.product-body h3 { margin: 2px 0 6px; font-size: 1rem; }
.product-body p { margin: 0 0 12px; color: #c9d2dd; font-size: .84rem; }
.product-price-row { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.product-price-row del { color: #778391; font-size: .76rem; }
.product-price-row strong { font-size: 1.06rem; }
.stock { font-size: .72rem; color: #9ff0c3; }
.stock.out { color: #ff9ca4; }

.units-section { background: linear-gradient(180deg, #070b11, #0a1018); }
.units-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.unit-card { padding: 28px; position: relative; overflow: hidden; }
.unit-card::after { content: ''; position: absolute; inset: auto -30px -70px auto; width: 190px; height: 190px; border-radius: 50%; background: rgba(125,9,36,.14); }
.unit-card h3 { font-size: 1.6rem; margin: 0 0 6px; }
.unit-card p { color: #cbd3de; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip, .pill, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 6px 9px;
  border-radius: 999px;
  color: #d9e0e9;
  font-size: .72rem;
  font-weight: 800;
}

.promotions-section { background: #080d14; }
.promotions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promotion-card { padding: 26px; }
.promotion-card.featured { border-color: rgba(215,179,106,.55); background: linear-gradient(180deg, rgba(55,42,18,.28), rgba(12,17,24,.98)); }
.promotion-icon { font-size: 2rem; color: #f3b4c5; min-height: 52px; }
.promotion-card h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.promotion-card p { color: var(--muted); margin: 0; }
.promo-rules { margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--wine-2); background: rgba(255,255,255,.03); color: #c8d0da; }

.footer { border-top: 1px solid var(--line); background: #05080d; }
.footer-grid { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 32px; align-items: center; padding: 34px 0; }
.footer-grid img { width: 150px; }
.footer-grid p { color: var(--muted); margin: 4px 0; }
.footer-features { display: grid; gap: 7px; color: #c6cfd9; font-size: .84rem; }
.footer-bottom { padding: 16px; border-top: 1px solid var(--line); text-align: center; color: #7f8a98; font-size: .78rem; }
.footer-bottom a { color: #cfd6df; text-decoration: none; margin-left: 8px; }
.footer-bottom a:hover { color: white; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.booking-shell, .small-modal, .client-shell, .editor-shell, .whatsapp-sheet {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0f1722, #0a1018);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.booking-shell { width: min(1120px, 100%); }
.small-modal { width: min(460px, 100%); padding: 30px; }
.client-shell { width: min(980px, 100%); padding: 30px; }
.editor-shell { width: min(650px, 100%); padding: 30px; }
.whatsapp-sheet { width: min(520px, 100%); padding: 30px; }
.whatsapp-sheet h2 { margin: 6px 36px 8px 0; font-size: 1.8rem; }
.whatsapp-sheet p { margin: 0 0 20px; color: #c8d1dc; }
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,.05);
  font-size: 1.35rem;
}
.booking-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 58px 18px 24px; border-bottom: 1px solid var(--line); }
.booking-header h2 { margin: 4px 0 0; }
.booking-badge { border: 1px solid rgba(215,179,106,.48); color: #f6d28d; border-radius: 999px; padding: 8px 12px; font-size: .76rem; font-weight: 900; }
.booking-progress { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.progress-item { text-align: center; color: #a9b5c3; font-size: .68rem; text-transform: uppercase; font-weight: 800; }
.progress-dot { margin: 0 auto 6px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); font-weight: 900; color: #e9eef5; }
.progress-item.active { color: #fff; }
.progress-item.active .progress-dot { background: var(--wine-2); border-color: #c94261; }
.progress-item.done .progress-dot { background: #2e415b; color: #edf4ff; }
.booking-body { min-height: 430px; padding: 22px; }
.booking-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); background: rgba(0,0,0,.16); }
.booking-mini-total { text-align: right; color: #c6cfda; font-size: .84rem; }
.booking-mini-total strong { display: block; color: #fff; font-size: 1.2rem; }
.step-title { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.step-subtitle { color: #cbd4df; margin: 0 0 20px; font-size: .98rem; }
.selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selection-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: #111a26;
  transition: .18s ease;
  color: #f6f8fb;
}
.selection-card:hover { border-color: rgba(255,255,255,.34); background: #162233; }
.selection-card.selected { border-color: #b82a4e; background: rgba(125,9,36,.15); box-shadow: inset 0 0 0 1px rgba(184,42,78,.2); }
.selection-card.disabled { opacity: .45; pointer-events: none; }
.selection-card img { width: 76px; height: 68px; object-fit: cover; border-radius: 8px; }
.selection-card-body { flex: 1; }
.selection-card-body h4 { margin: 0 0 4px; color: #fff; font-size: 1rem; }
.selection-card-body h3 { color: #fff; }
.selection-card-body p { margin: 0; color: #cbd4df; font-size: .84rem; }
.selection-price { text-align: right; white-space: nowrap; font-weight: 900; }
.selection-price del { display: block; color: #a8b3c1; font-size: .72rem; font-weight: 600; }
.quantity-control { display: flex; align-items: center; gap: 9px; }
.quantity-control button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #111b28; color: white; }
.unit-choice { padding: 22px; }
.unit-choice h3 { margin-top: 0; }
.barber-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #1c2735; }
.date-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.calendar-box, .times-box, .summary-box, .benefit-box { border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 18px; background: #101925; }
.date-input { width: 100%; }
.times-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-btn { border: 1px solid var(--line); border-radius: 9px; padding: 10px 8px; background: #101925; color: #dbe2ea; }
.time-btn:hover, .time-btn.selected { background: var(--wine); border-color: #b82a4e; color: white; }
.time-btn:disabled { opacity: .25; cursor: not-allowed; }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-stack { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #dce2e9; font-size: .84rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #08101a;
  color: #fff;
  border-radius: 9px;
  padding: 12px 13px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #b82a4e; box-shadow: 0 0 0 3px rgba(184,42,78,.12); }
textarea { min-height: 110px; resize: vertical; }
.form-note { color: #bfc9d6; display: block; margin-top: 12px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-list { display: grid; gap: 10px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.summary-line span { color: #c4ceda; }
.summary-total { font-size: 1.3rem; font-weight: 900; }
.turnstile-wrap { min-height: 70px; display: flex; align-items: center; margin: 8px 0; }
.benefit-option { display: flex; gap: 12px; align-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 10px; }
.benefit-option.available { border-color: rgba(47,191,113,.38); background: rgba(47,191,113,.07); }
.benefit-option.unavailable { opacity: .55; }
.benefit-option input { width: auto; margin-top: 5px; }
.success-panel { text-align: center; padding: 34px 18px; }
.success-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: rgba(47,191,113,.14); border: 1px solid rgba(47,191,113,.4); color: #93f0bd; font-size: 2rem; }
.success-panel h3 { font-size: 1.8rem; margin: 0 0 8px; }
.success-panel p { color: var(--muted); }

.client-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 22px; padding-right: 34px; }
.client-head h2 { margin: 4px 0; }
.client-tabs, .portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab-btn { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #cbd4df; border-radius: 999px; padding: 9px 13px; font-weight: 800; }
.tab-btn.active { background: var(--wine); border-color: #b22b4a; color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.stat-card span { display: block; color: var(--muted); font-size: .76rem; }
.stat-card strong { font-size: 1.65rem; }
.loyalty-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0; }
.loyalty-dot { height: 54px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: #0b141f; font-weight: 900; color: #718091; }
.loyalty-dot.filled { background: rgba(125,9,36,.26); border-color: #a92748; color: #ffd0dc; }
.appointment-list { display: grid; gap: 10px; }
.appointment-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.024); }
.appointment-card h4 { margin: 0 0 5px; }
.appointment-meta { color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.status-badge.pending { color: #ffd284; border-color: rgba(230,168,58,.38); }
.status-badge.completed { color: #9ff0c3; border-color: rgba(47,191,113,.38); }
.status-badge.cancelled { color: #ff9ca4; border-color: rgba(231,90,101,.38); }

.portal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  overflow: auto;
  background: #070b11;
}
.portal.open { display: block; }
.portal-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.portal-sidebar { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: #080d14; padding: 22px 16px; overflow: auto; }
.portal-brand { width: 150px; margin: 0 auto 20px; }
.portal-menu { display: grid; gap: 7px; }
.portal-menu button { text-align: left; border: 1px solid transparent; border-radius: 9px; padding: 11px 12px; background: transparent; color: #b9c3cf; font-weight: 800; }
.portal-menu button:hover, .portal-menu button.active { background: #101925; color: white; border-color: var(--line); }
.portal-side-bottom { margin-top: 24px; display: grid; gap: 10px; }
.portal-main { padding: 28px; min-width: 0; }
.portal-topbar { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.portal-topbar h1 { margin: 2px 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.portal-topbar p { margin: 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: #0b121c; overflow: hidden; }
.panel-header { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.panel-header h3 { margin: 0; }
.panel-body { padding: 18px; }
.chart { display: flex; align-items: end; gap: 10px; min-height: 210px; padding-top: 20px; }
.chart-col { flex: 1; min-width: 34px; display: grid; gap: 7px; align-items: end; height: 190px; }
.chart-bar { align-self: end; width: 100%; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, #b72c51, #681022); min-height: 4px; position: relative; }
.chart-bar span { position: absolute; top: -23px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: #cfd6df; }
.chart-label { text-align: center; color: #7e8a99; font-size: .68rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .82rem; vertical-align: middle; }
th { color: #97a3b1; text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #1a2635; }
.empty-state { text-align: center; color: var(--muted); padding: 36px 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filter-row label { min-width: 150px; flex: 1; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 0, rgba(125,9,36,.18), transparent 36%), #070b11; }
.login-card { width: min(460px, 100%); padding: 30px; border: 1px solid var(--line-strong); border-radius: 18px; background: #0c131d; box-shadow: var(--shadow); }
.login-card img { width: 160px; margin: 0 auto 20px; }
.login-card h1 { text-align: center; margin-bottom: 6px; }
.login-card > p { text-align: center; color: var(--muted); }
.credential-note { margin-top: 16px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 10px; color: #aeb8c4; font-size: .78rem; }
.legal-document { max-width: 880px; color: #dbe3ec; line-height: 1.75; }
.legal-document h1 { margin: 18px 0; font-size: clamp(2.2rem, 7vw, 4.2rem); }
.legal-document h2 { margin-top: 28px; font-size: 1.2rem; }
.legal-document p { color: #aeb8c4; }

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: linear-gradient(180deg, #24d366, #128c4a);
  color: #fff;
  box-shadow: 0 18px 44px rgba(18,140,74,.35), 0 12px 28px rgba(0,0,0,.35);
  font-weight: 900;
}
.whatsapp-fab:hover { transform: translateY(-2px); }
.whatsapp-fab span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.whatsapp-fab svg, .whatsapp-option svg { width: 24px; height: 24px; display: block; }
.whatsapp-options { display: grid; gap: 12px; }
.whatsapp-option {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: #111a26;
  color: #fff;
  transition: .18s ease;
}
.whatsapp-option:hover, .whatsapp-option:focus-visible {
  border-color: rgba(36,211,102,.62);
  background: #142230;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(36,211,102,.12);
}
.whatsapp-option-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(36,211,102,.14);
  color: #4df58d;
}
.whatsapp-option-copy { display: grid; gap: 2px; }
.whatsapp-option-copy strong { font-size: 1rem; }
.whatsapp-option-copy small { color: #c9d3df; font-weight: 800; }
.whatsapp-option-copy em { color: #72f3a4; font-size: .82rem; font-style: normal; font-weight: 900; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  max-width: 380px;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #111b27;
  color: white;
  box-shadow: var(--shadow);
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { border-color: rgba(47,191,113,.45); }
.toast.error { border-color: rgba(231,90,101,.45); }

.reveal { animation: fadeUp .6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: .74rem; }
  .hero-content { grid-template-columns: 1fr 300px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; height: 70px; }
  .brand img { width: 125px; height: 56px; }
  .desktop-nav, .header-actions .login-trigger { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 60px; }
  .hero-copy h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .promo-stack { max-width: 420px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .products-grid, .promotions-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
  .split-heading { display: block; }
  .split-heading > .btn { margin-bottom: 28px; }
  .footer-grid { grid-template-columns: 150px 1fr; }
  .footer-features { grid-column: 1 / -1; }
  .booking-progress { overflow-x: auto; grid-template-columns: repeat(7, 92px); }
  .selection-grid, .date-layout, .summary-grid { grid-template-columns: 1fr; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-menu { display: flex; overflow-x: auto; }
  .portal-menu button { white-space: nowrap; }
  .portal-main { padding: 20px; }
}

@media (max-width: 620px) {
  .app-only-banner { font-size: .72rem; }
  .header-actions .btn-primary { padding: 9px 11px; font-size: .72rem; }
  .section { padding: 68px 0; }
  .hero-content { padding-top: 60px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 15vw, 4.6rem); }
  .trust-row { display: grid; gap: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 108px 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin: auto; }
  .booking-shell { max-height: 100vh; height: 100%; border-radius: 0; }
  .modal { padding: 0; }
  .booking-header { align-items: start; padding: 18px 50px 15px 16px; }
  .booking-header .booking-badge { display: none; }
  .booking-body { padding: 16px; }
  .booking-footer { grid-template-columns: auto 1fr auto; padding: 13px; position: sticky; bottom: 0; }
  .selection-card { align-items: start; }
  .selection-card img { width: 62px; height: 60px; }
  .times-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-form-grid { grid-template-columns: 1fr; }
  .stat-grid, .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .client-shell, .editor-shell, .small-modal, .whatsapp-sheet { width: 100%; max-height: 100vh; border-radius: 0; }
  .client-head { display: block; }
  .appointment-card { grid-template-columns: 1fr; }
  .portal-topbar { display: block; }
  .portal-topbar .btn { margin-top: 12px; }
  .whatsapp-fab { right: 14px; bottom: 14px; min-height: 50px; padding: 0 10px; }
  .whatsapp-fab strong { display: none; }
  .whatsapp-fab span { width: 36px; height: 36px; }
}

@media (max-width: 390px) {
  .stat-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .booking-mini-total { font-size: .72rem; }
  .booking-footer .btn { padding: 9px 11px; }
}

/* Atualizações SaaS: financeiro e estoque interno */
.horizontal-chart { display: grid; gap: 12px; align-items: stretch; }
.hbar-row { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr auto; gap: 12px; align-items: center; font-size: .86rem; }
.hbar-row span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { min-height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.hbar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wine), #c04762); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .hbar-row { grid-template-columns: 1fr; gap: 7px; } }
