/* Wisa Barber — identidade: carvão, latão envelhecido, couro e o vermelho do barber pole. */
:root {
  --bg: #0f0e0d;
  --paper: #181614;
  --paper-2: #211e1b;
  --line: #2d2925;
  --line-2: #3d3731;
  --text: #f0e9df;
  --text-2: #c4b9ac;
  --muted: #8e8478;
  --brass: #c9a063;
  --brass-2: #e3c189;
  --brass-soft: rgba(201, 160, 99, .14);
  --red: #b8432f;
  --ok: #7fbf8e; --ok-soft: rgba(127, 191, 142, .13);
  --warn: #e0b056; --warn-soft: rgba(224, 176, 86, .13);
  --err: #e0715f; --err-soft: rgba(224, 113, 95, .13);
  --info: #85aee0; --info-soft: rgba(133, 174, 224, .13);
  --radius: 6px;
  --shadow: 0 10px 34px rgba(0, 0, 0, .45);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pole: repeating-linear-gradient(-45deg, var(--red) 0 14px, #f0e9df 14px 28px, #1f3b6b 28px 42px, #f0e9df 42px 56px);
  /* nomes usados pelos scripts compartilhados com o Wisa Studio */
  --ink: var(--text); --ink-2: var(--text-2); --rose: var(--brass); --rose-2: var(--brass-2); --rose-soft: var(--brass-soft); --sand: var(--paper-2); --serif: var(--display);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0 0 .35em; letter-spacing: .02em; text-transform: uppercase; }
h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); }
h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.eyebrow { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 14px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.row { display: flex; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.gap { gap: 10px; }
.grow { flex: 1; }
.hide { display: none !important; }
s { text-decoration-color: var(--red); }

/* ---------- botões e campos ---------- */
.btn { --b: var(--text); --c: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--b); background: var(--b); color: var(--c);
  font: 700 .9rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 14px 24px; border-radius: 3px; cursor: pointer; text-decoration: none; transition: .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.btn.rose { --b: var(--brass); --c: #17130e; }
.btn.rose:hover { --b: var(--brass-2); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass-2); box-shadow: none; }
.btn.light { --b: var(--text); --c: var(--bg); }
.btn.danger { --b: var(--red); --c: #fff; }
.btn.sm { padding: 9px 14px; font-size: .74rem; letter-spacing: .08em; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.link { background: none; border: 0; color: var(--brass); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
label.f { display: block; font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
label.f span { display: block; margin-bottom: 6px; }
.in, select.in, textarea.in { width: 100%; font: 400 .98rem var(--sans); color: var(--text); background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 14px; transition: .15s; text-transform: none; letter-spacing: 0; }
.in:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.in:disabled { opacity: .5; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; transition: .2s; cursor: pointer; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: .2s; }
.switch input:checked + i { background: var(--brass); }
.switch input:checked + i::after { transform: translateX(20px); background: #17130e; }

/* ---------- faixa de demonstração ---------- */
.demo-bar { background: var(--brass); color: #17130e; font-size: .8rem; padding: 8px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 60; font-weight: 500; }
.demo-bar b { font-weight: 800; letter-spacing: .04em; }
.demo-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.demo-links a, .demo-links button { color: #17130e; background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.demo-links a:hover, .demo-links button:hover { text-decoration: underline; }

/* ---------- site: cabeçalho ---------- */
.nav { position: absolute; left: 0; right: 0; z-index: 50; transition: .25s; }
.nav.scrolled { position: fixed; top: 0; background: rgba(15, 14, 13, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.logo { font-family: var(--display); font-size: 2rem; text-decoration: none; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; line-height: 1; text-transform: uppercase; }
.logo::before { content: ''; width: 12px; height: 30px; border-radius: 6px; background: var(--pole); background-size: 56px 56px; box-shadow: 0 0 0 2px var(--brass); flex: none; }
.logo small { font-family: var(--sans); font-size: .62rem; letter-spacing: .4em; color: var(--brass); font-weight: 700; }
.nav-links { display: flex; gap: 32px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: var(--text-2); }
.nav-links a:hover { color: var(--brass-2); }
.nav-cta { display: flex; gap: 10px; }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--text); }
.burger .ico { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: flex-end; padding: 150px 0 70px; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 14, 13, .96) 0%, rgba(15, 14, 13, .75) 45%, rgba(15, 14, 13, .2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 820px; }
.hero h1 span { color: var(--brass); }
.hero p.lead { font-size: 1.15rem; color: var(--text-2); max-width: 500px; margin: 18px 0 34px; }
.hero-meta { display: flex; gap: 0; margin-top: 60px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.hero-meta div { padding: 22px 34px 0 0; margin-right: 34px; border-right: 1px solid var(--line-2); }
.hero-meta div:last-child { border: 0; }
.hero-meta b { font-family: var(--display); font-size: 2.6rem; font-weight: 400; display: block; line-height: 1; color: var(--brass-2); }
.hero-meta span { font-size: .78rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.pole { height: 12px; background: var(--pole); background-size: 79px 79px; animation: pole 3s linear infinite; }
@keyframes pole { to { background-position: 79px 0; } }

/* ---------- seções ---------- */
section.block { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.sec-head p { max-width: 420px; color: var(--text-2); margin: 0; }

/* cardápio de serviços em formato de tabela de preços */
.menu-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.menu-photo { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line-2); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.menu-photo span { position: absolute; left: 16px; bottom: 16px; background: var(--bg); padding: 6px 12px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brass); }
.menu-photo { position: sticky; }
.menu-cat { font-family: var(--display); font-size: 1.4rem; letter-spacing: .14em; color: var(--brass); margin: 34px 0 6px; }
.menu-cat:first-child { margin-top: 0; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 18px 0; border-bottom: 1px dashed var(--line-2); cursor: pointer; transition: .15s; }
.menu-item:hover { padding-left: 10px; }
.menu-item:hover h3 { color: var(--brass-2); }
.menu-item h3 { font-size: 1.75rem; margin: 0; display: flex; align-items: center; gap: 14px; }
.menu-item h3::after { content: ''; flex: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-6px); }
.menu-item .price { font-family: var(--display); font-size: 1.9rem; color: var(--brass-2); line-height: 1; }
.menu-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.menu-item .meta { font-size: .76rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; text-align: right; }

/* planos de assinatura */
.plans-sec { background: var(--paper); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.plan.hot { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), var(--shadow); }
.plan .flag { position: absolute; top: -12px; left: 30px; background: var(--brass); color: #17130e; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; padding: 4px 10px; }
.plan h3 { font-size: 2.2rem; margin: 0; }
.plan .val { font-family: var(--display); font-size: 3.6rem; color: var(--brass-2); line-height: 1; margin: 16px 0 4px; }
.plan .val small { font-family: var(--sans); font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; color: var(--text-2); }
.plan li .ico { color: var(--brass); margin-top: 3px; }
.plan .eco { font-size: .82rem; color: var(--ok); margin-bottom: 14px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pro { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4; }
.pro img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: .5s; }
.pro:hover img { filter: grayscale(.1); transform: scale(1.04); }
.pro .cap { position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px; background: linear-gradient(0deg, rgba(15, 14, 13, .95), transparent); }
.pro h3 { font-size: 1.9rem; margin: 0; }
.pro .role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.pro p { font-size: .86rem; color: var(--text-2); margin: 6px 0 0; }

.club { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 100% 0%, rgba(201, 160, 99, .16), transparent 60%), var(--bg); }
.club .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.club p { color: var(--text-2); }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tier { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; background: var(--paper); position: relative; overflow: hidden; }
.tier::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); opacity: .6; }
.tier b { font-family: var(--display); font-size: 1.9rem; font-weight: 400; display: block; letter-spacing: .04em; }
.tier small { color: var(--brass); font-weight: 700; letter-spacing: .12em; font-size: .7rem; text-transform: uppercase; }
.tier p { font-size: .88rem; margin: 6px 0 0; }
.club-steps { display: grid; gap: 14px; margin: 26px 0 30px; }
.club-steps div { display: flex; gap: 14px; align-items: center; font-size: .98rem; color: var(--text-2); }
.club-steps i { font-style: normal; width: 38px; height: 38px; border: 2px solid var(--brass); color: var(--brass); display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; flex: none; transform: rotate(45deg); }
.club-steps i b { transform: rotate(-45deg); font-weight: 400; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; filter: grayscale(.4); transition: .3s; }
.gallery img:hover { filter: none; }
.gallery img:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.gallery img:nth-child(6) { grid-row: span 2; }
.lightbox img { max-height: 78vh; margin: auto; border-radius: 4px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 12px; }
.quote p { font-size: 1.08rem; color: var(--text); }
.quote .who { display: flex; gap: 10px; align-items: center; font-size: .88rem; }

.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.visit img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; filter: grayscale(.3); }
.visit > div { padding: 50px; background: var(--paper); }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 22px 0 30px; font-size: .95rem; }
.visit dt { color: var(--brass); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; padding-top: 3px; }
.visit dd { margin: 0; color: var(--text-2); }

footer.site { border-top: 1px solid var(--line); padding: 40px 0; font-size: .86rem; color: var(--muted); }
footer.site .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--brass); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- login / cadastro ---------- */
.auth { min-height: calc(100vh - 36px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-right: 1px solid var(--line); }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 13, .3), rgba(15, 14, 13, .92)); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { max-width: 460px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(440px, 100%); }
.tabs { display: flex; border: 1px solid var(--line-2); border-radius: 4px; padding: 4px; margin-bottom: 28px; }
.tabs button { flex: 1; border: 0; background: none; padding: 11px; border-radius: 2px; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--muted); }
.tabs button.on { background: var(--brass); color: #17130e; }
.demo-access { margin-top: 26px; padding: 18px; border: 1px dashed var(--brass); border-radius: var(--radius); font-size: .86rem; background: var(--brass-soft); }
.demo-access b { display: block; margin-bottom: 10px; }
.demo-access .row { gap: 8px; }
.err { color: var(--err); font-size: .86rem; min-height: 1.3em; margin: -4px 0 10px; }

/* ---------- área logada (cliente e admin) ---------- */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: calc(100vh - 36px); }
.side { background: var(--paper); border-right: 1px solid var(--line); padding: 26px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .logo { padding: 0 10px 28px; font-size: 1.7rem; }
.side nav { display: grid; gap: 3px; }
.side nav a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 4px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; border-left: 3px solid transparent; }
.side nav a:hover { background: var(--paper-2); color: var(--text); }
.side nav a.on { background: var(--paper-2); color: var(--brass-2); border-left-color: var(--brass); }
.side nav a .badge { margin-left: auto; background: var(--red); color: #fff; font-size: .68rem; border-radius: 99px; padding: 1px 7px; font-weight: 700; }
.side .me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 10px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.side .me b { display: block; font-size: .9rem; }
.side .me small { color: var(--muted); }
.side .me button { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; }
.side .me button:hover { color: var(--err); }
.main { padding: 34px 40px 60px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 3.4rem; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.topbar { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 4px; background: var(--brass-soft); color: var(--brass-2); display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; border: 1px solid rgba(201, 160, 99, .3); }
.avatar.lg { width: 64px; height: 64px; font-size: 1.2rem; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.6rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-main { grid-template-columns: 1.6fr 1fr; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: relative; overflow: hidden; }
.kpi::after { content: ''; position: absolute; right: 0; top: 0; width: 3px; height: 34px; background: var(--brass); }
.kpi span { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 6px; align-items: center; }
.kpi b { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 400; line-height: 1.05; margin-top: 6px; letter-spacing: .02em; }
.kpi small { font-size: .78rem; color: var(--muted); }
.kpi small.up { color: var(--ok); }
.kpi small.down { color: var(--err); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 3px; font-size: .7rem; font-weight: 700; white-space: nowrap; background: var(--paper-2); color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; }
.st-agendado { background: var(--warn-soft); color: var(--warn); }
.st-confirmado { background: var(--info-soft); color: var(--info); }
.st-concluido { background: var(--ok-soft); color: var(--ok); }
.st-cancelado { background: var(--err-soft); color: var(--err); }
.pill.em-dia, .pill.agendada { background: var(--ok-soft); color: var(--ok); }
.pill.em-risco { background: var(--warn-soft); color: var(--warn); }
.pill.inativa { background: var(--err-soft); color: var(--err); }
.pill.novo { background: var(--info-soft); color: var(--info); }
.pill.plan { background: var(--brass-soft); color: var(--brass-2); }

.appt { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.appt:last-child { border-bottom: 0; }
.appt .date { width: 60px; text-align: center; flex: none; background: var(--paper-2); border-radius: 4px; padding: 8px 0; border: 1px solid var(--line-2); }
.appt .date b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; font-weight: 400; }
.appt .date span { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brass); font-weight: 700; }
.appt .info { flex: 1; min-width: 0; }
.appt .info b { display: block; font-size: 1rem; }
.appt .info span { font-size: .84rem; color: var(--muted); }
.appt .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.empty { text-align: center; padding: 34px 10px; color: var(--muted); font-size: .92rem; }
.empty .ico { width: 34px; height: 34px; color: var(--line-2); margin: 0 auto 8px; display: block; }

table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th { text-align: left; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: var(--paper-2); }
.t-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.who { display: flex; gap: 10px; align-items: center; }
.who b { display: block; font-weight: 600; }
.who small { color: var(--muted); }

/* cartão do clube: aparência de cartão metálico */
.loyal-card { border-radius: 10px; padding: 26px; color: #17130e; background: linear-gradient(125deg, #8c6a3a 0%, #e3c189 38%, #b58b4f 62%, #f0d9a8 100%); position: relative; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.loyal-card::after { content: ''; position: absolute; right: 22px; top: 22px; width: 14px; height: 50px; border-radius: 7px; background: var(--pole); background-size: 56px 56px; box-shadow: 0 0 0 2px rgba(23, 19, 14, .5); }
.loyal-card .top { display: flex; justify-content: space-between; align-items: start; padding-right: 30px; }
.loyal-card .club-name { font-family: var(--display); font-size: 1.7rem; letter-spacing: .06em; }
.loyal-card .lvl { background: rgba(23, 19, 14, .85); color: var(--brass-2); border-radius: 3px; padding: 4px 12px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.loyal-card .pts { margin-top: auto; }
.loyal-card .pts b { font-family: var(--display); font-size: 3.8rem; font-weight: 400; line-height: 1; }
.loyal-card .pts span { font-size: .84rem; font-weight: 700; margin-left: 6px; text-transform: uppercase; letter-spacing: .08em; }
.bar { height: 8px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); border-radius: 99px; transition: width .8s; }
.loyal-card .bar { background: rgba(23, 19, 14, .2); margin-top: 14px; }
.loyal-card .bar i { background: #17130e; }
.loyal-card small { font-size: .8rem; display: block; margin-top: 8px; font-weight: 600; }
.reward { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.reward .ic { width: 44px; height: 44px; border-radius: 4px; background: var(--brass-soft); color: var(--brass); display: grid; place-items: center; flex: none; }
.reward .grow b { display: block; font-size: .95rem; }
.reward .grow small { color: var(--muted); }
.reward.locked { opacity: .5; }
.ledger { display: grid; }
.ledger div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .9rem; gap: 10px; }
.ledger div:last-child { border: 0; }
.ledger .plus { color: var(--ok); font-weight: 700; white-space: nowrap; }
.ledger .minus { color: var(--err); font-weight: 700; white-space: nowrap; }
.voucher { border: 2px dashed var(--brass); border-radius: var(--radius); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brass-soft); }
.voucher code { font-weight: 800; letter-spacing: .14em; font-size: 1.05rem; color: var(--brass-2); }
.notice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--brass-soft); border: 1px solid rgba(201, 160, 99, .35); }
.notice .ic { width: 42px; height: 42px; border-radius: 4px; background: var(--brass); color: #17130e; display: grid; place-items: center; flex: none; }
.notice b { display: block; }
.notice span { font-size: .88rem; color: var(--text-2); }

/* agendamento */
.steps { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.steps span { font-size: .74rem; font-weight: 700; color: var(--muted); padding: 7px 12px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; letter-spacing: .08em; text-transform: uppercase; }
.steps span.on { background: var(--brass); color: #17130e; border-color: var(--brass); }
.steps span.done { color: var(--ok); border-color: var(--ok-soft); background: var(--ok-soft); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pick { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px; display: flex; gap: 12px; align-items: center; background: var(--bg); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: .15s; }
.pick:hover { border-color: var(--muted); }
.pick.on { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.pick img { width: 58px; height: 58px; border-radius: 4px; object-fit: cover; flex: none; }
.pick b { display: block; font-size: .92rem; line-height: 1.3; }
.pick small { color: var(--muted); font-size: .8rem; }
.pick .avatar { border-radius: 4px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day { flex: none; width: 64px; border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 0; text-align: center; background: var(--bg); cursor: pointer; font: inherit; color: inherit; }
.day small { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.day b { font-family: var(--display); font-size: 1.8rem; font-weight: 400; line-height: 1.05; display: block; }
.day.on { background: var(--brass); color: #17130e; border-color: var(--brass); }
.day.on small { color: #3a2e1d; }
.day:disabled { opacity: .3; cursor: not-allowed; }
.day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin: 3px auto 0; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.time { border: 1px solid var(--line-2); background: var(--bg); border-radius: 4px; padding: 10px 0; font: 700 .88rem var(--sans); cursor: pointer; color: var(--text); position: relative; }
.time:hover:not(:disabled) { border-color: var(--brass); }
.time.on { background: var(--brass); color: #17130e; border-color: var(--brass); }
.time:disabled { text-decoration: line-through; color: var(--line-2); cursor: not-allowed; }
.time .x2 { position: absolute; top: -8px; right: -5px; background: var(--red); color: #fff; font-size: .6rem; padding: 1px 5px; border-radius: 3px; }
.summary { position: sticky; top: 20px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary .line span { color: var(--muted); }
.summary .line b { text-align: right; }
.pts-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 14px 0; font-size: .85rem; }
.pts-box .tot { display: flex; justify-content: space-between; font-weight: 700; font-size: .98rem; color: var(--brass-2); margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.pts-box div.l { display: flex; justify-content: space-between; color: var(--text-2); padding: 2px 0; gap: 8px; }
.plan-box { background: var(--ok-soft); border: 1px solid rgba(127, 191, 142, .35); color: var(--ok); border-radius: var(--radius); padding: 12px 14px; font-size: .86rem; margin: 12px 0; display: flex; gap: 10px; align-items: start; }

/* gráficos simples */
.bars { display: flex; align-items: end; gap: 14px; height: 200px; padding-top: 22px; }
.bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: end; }
.bars .col .stack { width: 100%; max-width: 46px; display: flex; flex-direction: column; justify-content: end; position: relative; transition: height .8s; }
.bars .col .stack i { display: block; width: 100%; }
.bars .col .stack i.a { background: var(--line-2); border-radius: 3px 3px 0 0; }
.bars .col .stack i.p { background: rgba(201, 160, 99, .45); }
.bars .col.cur .stack i.a { background: var(--brass); }
.bars .col.cur .stack i.p { background: var(--brass-2); opacity: .55; }
.bars .col .stack em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .72rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.bars .col span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.hbar { display: grid; grid-template-columns: 150px 1fr 44px; gap: 10px; align-items: center; font-size: .86rem; margin-bottom: 10px; }
.hbar .bar { height: 10px; }
.hbar b { text-align: right; }
.seg { display: flex; height: 14px; border-radius: 3px; overflow: hidden; margin: 6px 0 12px; }
.seg i { display: block; height: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--text-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* fidelidade e planos — admin */
.camp { display: flex; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.camp.off { background: var(--bg); }
.camp.off .grow { opacity: .55; }
.camp .grow b { display: block; }
.camp .grow small { color: var(--muted); display: block; }
.camp .params { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.camp .params label { font-size: .74rem; color: var(--text-2); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.camp .params .in { width: 90px; padding: 6px 10px; font-size: .86rem; }
.camp .params select.in { width: auto; }
.master { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: linear-gradient(110deg, var(--paper-2), var(--paper)); border: 1px solid var(--brass); }
.master h3 { margin: 0; }
.master p { margin: 4px 0 0; color: var(--text-2); font-size: .9rem; }
.insight { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); font-size: .9rem; align-items: start; }
.insight .ic { color: var(--brass); margin-top: 2px; }
.insight b { display: block; }
.subnav { display: flex; gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.subnav button { background: none; border: 0; padding: 10px 14px; font: 700 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav button.on { color: var(--brass-2); border-color: var(--brass); }
.search { position: relative; }
.search .in { padding-left: 38px; }
.search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chip { border: 1px solid var(--line-2); background: transparent; border-radius: 3px; padding: 8px 14px; font: 700 .76rem var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--text-2); }
.chip:hover { border-color: var(--brass); }
.chip.on { background: var(--brass); color: #17130e; border-color: var(--brass); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* modal e avisos */
.modal-wrap { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); display: grid; place-items: center; z-index: 100; padding: 20px; opacity: 0; transition: .2s; backdrop-filter: blur(3px); }
.modal-wrap.in { opacity: 1; }
.modal { background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; padding: 30px; width: min(480px, 100%); max-height: 90vh; overflow: auto; position: relative; transform: translateY(14px); transition: .25s; }
.modal.wide { width: min(840px, 100%); }
.modal-wrap.in .modal { transform: none; }
.modal-x { position: absolute; right: 14px; top: 14px; background: var(--paper-2); border: 0; width: 34px; height: 34px; border-radius: 4px; cursor: pointer; display: grid; place-items: center; color: var(--text-2); }
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; }
.toast { background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 4px; font-size: .9rem; font-weight: 600; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: .3s; }
.toast.in { opacity: 1; transform: none; }
.toast .ico { color: #2f7d47; }
.toast.err .ico { color: var(--red); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .g-main, .g3 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .menu-wrap { grid-template-columns: 1fr; }
  .menu-photo { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .ghost { display: none; }
  .burger { display: block; }
  .nav.open { background: var(--bg); }
  .nav.open .nav-links { display: grid; position: absolute; top: 84px; left: 0; right: 0; background: var(--bg); padding: 20px; gap: 18px; border-bottom: 1px solid var(--line); }
  .club .container, .visit { grid-template-columns: 1fr; gap: 40px; }
  .visit { gap: 0; }
  .visit > div { padding: 30px; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery img:nth-child(6) { grid-row: auto; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { min-height: 240px; padding: 30px; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 90; transform: translateX(-100%); transition: .25s; box-shadow: var(--shadow); }
  .app.menu .side { transform: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 40; }
  .topbar button { background: none; border: 0; cursor: pointer; color: var(--text); }
  .topbar .ico { width: 26px; height: 26px; }
  .topbar .logo { font-size: 1.5rem; }
  .main { padding: 24px 16px 50px; }
  .page-head h1 { font-size: 2.6rem; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  section.block { padding: 76px 0; }
  .container { width: calc(100% - 32px); }
  .g2, .grid2, .tiers { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .team { gap: 12px; }
  .pro h3 { font-size: 1.4rem; }
  .pro p { display: none; }
  .hero { padding-top: 120px; }
  .hero-meta div { padding-right: 18px; margin-right: 18px; }
  .hero-meta b { font-size: 2rem; }
  .menu-item h3 { font-size: 1.4rem; }
  .menu-item .price { font-size: 1.5rem; }
  .appt { flex-wrap: wrap; }
  .appt .acts { width: 100%; justify-content: flex-start; padding-left: 76px; }
  .hbar { grid-template-columns: 104px 1fr 36px; }
  .demo-bar { font-size: .74rem; padding: 8px 16px; row-gap: 4px; }
  .demo-bar > span:first-child { display: none; }
  .demo-links { gap: 12px; }
  .hrow { flex-wrap: nowrap; gap: 6px; }
  .hrow .in { width: 84px !important; padding: 8px 6px; font-size: .82rem; }
  .hrow b { font-size: .82rem !important; }
  .kpi b { font-size: 2.1rem; }
}

/* ---------- acompanhamento compartilhado e avaliação do atendimento ---------- */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sh-head,.rv-head{display:flex;gap:14px;align-items:center;margin-bottom:12px;padding-right:30px}
.sh-head h3,.rv-head h3{margin:0}
.sh-head p,.rv-head p{margin:2px 0 0;font-size:.84rem}
.sh-ic{width:46px;height:46px;border-radius:14px;background:var(--rose-soft);color:var(--rose-2,var(--rose));display:grid;place-items:center;flex:none}
.sh-ic .ico{width:22px;height:22px}
.sh-lead{font-size:.9rem;color:var(--ink-2,var(--muted));margin:0 0 14px}
.sh-copy{display:flex;gap:8px}
.sh-copy .in{font-size:.8rem;min-width:0}
.sh-actions{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 14px}
.sh-info{list-style:none;margin:0 0 14px;padding:12px 14px;border-radius:12px;background:var(--bg);display:grid;gap:7px;font-size:.82rem;color:var(--ink-2,var(--muted))}
.sh-info li{display:flex;gap:8px;align-items:flex-start}
.sh-info .ico{color:var(--rose);margin-top:2px}
.sh-off{padding:10px 12px;border-radius:12px;background:var(--err-soft);color:var(--err);font-size:.84rem;margin-bottom:12px;display:flex;gap:8px;align-items:center}
.sh-foot{border-top:1px solid var(--line);padding-top:12px}
.sh-danger{color:var(--err)!important}
.share-on{display:inline-flex;align-items:center;gap:4px}
.rv-stars{display:flex;justify-content:center;gap:6px;border:0;margin:6px 0 2px;padding:0}
.rv-stars label{cursor:pointer;position:relative}
.rv-stars input{position:absolute;opacity:0;width:1px;height:1px}
.rv-stars label span{display:block;font-size:2.6rem;line-height:1;color:var(--line-2,var(--line));transition:transform .15s,color .15s}
.rv-stars label.on span{color:var(--star,#f2a93b)}
.rv-stars label:hover span{transform:scale(1.14)}
.rv-stars input:focus-visible + span{outline:2px solid var(--rose);outline-offset:3px;border-radius:6px}
.rv-label{text-align:center;font-weight:700;margin:4px 0 14px;min-height:1.4em;color:var(--ink)}
.rv-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:14px}
.rv-show{display:inline-flex;gap:1px;font-size:.95rem;line-height:1;letter-spacing:0;white-space:nowrap}
.rv-show i{font-style:normal;color:var(--line-2,var(--line))}
.rv-show i.on{color:var(--star,#f2a93b)}
.rv-show.lg{font-size:1.5rem}
.rv-mini{font-size:.8rem;color:var(--muted);margin-top:3px}
.rv-list{display:grid;gap:10px}
.rv-item{padding:12px 14px;border-radius:12px;background:var(--bg)}
.rv-item p{margin:6px 0 0;font-size:.86rem}
/* página pública de acompanhamento */
.tr-page{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.tr-top{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line);background:var(--paper)}
.tr-main{flex:1;display:grid;place-items:center;padding:30px 16px}
.tr-card{width:min(640px,100%);background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}
.tr-kicker{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rose);margin:0 0 8px}
.tr-card h1{font-size:clamp(1.8rem,5vw,2.6rem);margin:0 0 6px}
.tr-sub{margin:0 0 24px}
.tr-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tr-steps li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;color:var(--muted)}
.tr-steps li span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--line-2,var(--line));background:var(--paper);font-weight:700;font-size:.9rem}
.tr-steps li b{font-size:.84rem;color:var(--ink-2,var(--ink))}
.tr-steps li small{font-size:.7rem;line-height:1.3}
.tr-steps li.done span{background:var(--ok);border-color:var(--ok);color:#fff}
.tr-steps li.now span{background:var(--rose);border-color:var(--rose);color:#fff;box-shadow:0 0 0 6px var(--rose-soft)}
.tr-steps li.now b{color:var(--ink)}
.tr-bar{height:6px;border-radius:99px;background:var(--line);margin:16px 0 0;overflow:hidden}
.tr-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--ok),var(--rose));border-radius:99px;transition:width .8s}
.tr-bar-0{width:12%}.tr-bar-1{width:40%}.tr-bar-2{width:70%}.tr-bar-3{width:100%}
.tr-msg{margin:14px 0 0;font-weight:600;text-align:center}
.tr-cancel{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px 16px;border-radius:14px;background:var(--err-soft);color:var(--err)}
.tr-cancel span{color:var(--ink-2,var(--ink));font-size:.88rem}
.tr-info{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:24px 0 0;padding:18px;border-radius:16px;background:var(--bg)}
.tr-info dt{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tr-info dd{margin:2px 0 0;font-weight:600;text-transform:none}
.tr-live{display:flex;gap:8px;align-items:center;justify-content:center;font-size:.78rem;color:var(--muted);margin:16px 0 0}
.tr-live i{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 var(--ok);animation:tr-pulse 1.8s infinite}
@keyframes tr-pulse{70%{box-shadow:0 0 0 8px transparent}}
.tr-note{display:flex;gap:8px;font-size:.78rem;color:var(--muted);margin:14px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.tr-state{text-align:center}
.tr-state .sh-ic{margin:0 auto 12px;background:var(--err-soft);color:var(--err)}
.tr-state h1{font-size:2rem}
@media (max-width:560px){.tr-card{padding:22px 18px}.tr-steps small{display:none}.tr-info{grid-template-columns:1fr}.sh-copy{flex-direction:column}}
@media (prefers-reduced-motion:reduce){.tr-live i{animation:none}.rv-stars label span{transition:none}}
.rv-stars,.rv-show,.tr-page{--star:var(--brass)}
