/* VT Agenda — VT Sistemas */
:root {
  --petrol: #0F5257;
  --petrol-deep: #0A3B3F;
  --petrol-tint: #E2EEED;
  --petrol-soft: #F0F6F5;
  --bg: #F5F8F7;
  --surface: #FFFFFF;
  --ink: #17292B;
  --muted: #5D7072;
  --line: #D5E1DF;
  --amber: #E9B44C;
  --amber-tint: #FBF1DC;
  --danger: #B3261E;
  --danger-tint: #FBE9E7;
  --success: #1E6B47;
  --success-tint: #E3F2EA;
  --radius-lg: 16px;
  --radius: 10px;
  --radius-pill: 999px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(15, 82, 87, .06), 0 6px 18px rgba(15, 82, 87, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-underline-offset: 2px; }
a:hover { color: var(--petrol-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.2rem); font-weight: 700; }
h2 { font-size: 1.2rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; }
code { background: var(--petrol-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; word-break: break-all; }
.code-block { display: block; margin: .4em 0 .8em; padding: .6em .8em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-danger { color: var(--danger); }
.inline { display: inline; }
.hp { position: absolute; left: -5000px; }

/* Cabeçalho */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; color: var(--petrol); text-decoration: none; min-width: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark { width: 32px; height: 32px; color: var(--petrol); flex: none; }
.header-nav a, .header-actions a { font-weight: 600; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-note { color: var(--muted); font-size: .9rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--petrol); font-weight: 600; cursor: pointer; }
.site-main { flex: 1; padding-bottom: 48px; }
.admin .site-main { padding-top: 20px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; padding: 20px 0; background: var(--surface); }
.flash-wrap { padding-top: 16px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--petrol); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #E5B5B1; }
.btn-danger:hover { background: var(--danger-tint); color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Alertas */
.alert { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 12px; border: 1px solid; font-size: .95rem; }
.alert-error { background: var(--danger-tint); border-color: #E5B5B1; color: #7A1A14; }
.alert-success { background: var(--success-tint); border-color: #B5D9C4; color: var(--success); }
.alert-info { background: var(--petrol-soft); border-color: var(--line); color: var(--petrol-deep); }

/* Vitrine: busca */
.hero { background: var(--petrol); color: #fff; padding: 28px 0 24px; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.6rem); font-weight: 750; letter-spacing: -.02em; }
.search input[type=search] { width: 100%; min-height: 52px; border-radius: var(--radius); border: 0; padding: 0 16px; font: inherit; font-size: 1.05rem; color: var(--ink); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: #CFE3E1; }
.filter select, .filter input { min-height: 44px; border-radius: var(--radius); border: 0; padding: 0 10px; font: inherit; color: var(--ink); background: #fff; width: 100%; }
.filter-actions { flex-direction: row; align-items: flex-end; gap: 8px; }
.filter-actions .btn { flex: 1; background: var(--amber); color: var(--ink); }
.filter-actions .btn:hover { background: #F1C46A; color: var(--ink); }
.hero .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); min-height: 44px; }
.hero .chip.is-on { background: #fff; color: var(--petrol); border-color: #fff; }

/* Abas de categoria: o elemento de assinatura */
.cat-tabs { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 60px; z-index: 4; }
.cat-tabs-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-tabs-row::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; scroll-snap-align: start; padding: 14px 12px 12px; font-weight: 650; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.cat-tab:hover { color: var(--petrol); }
.cat-tab.is-active { color: var(--petrol); border-bottom-color: var(--petrol); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip.is-on { background: var(--petrol); border-color: var(--petrol); color: #fff; }

/* Resultados */
.results { padding-top: 20px; }
.results-count { color: var(--muted); font-size: .95rem; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.store-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr; }
.store-card-photo { display: block; aspect-ratio: 16 / 9; background: var(--petrol-tint); }
.store-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 3rem; font-weight: 750; color: var(--petrol); }
.store-card-body { padding: 16px; }
.store-card-body h2 { font-size: 1.15rem; margin-bottom: 2px; }
.store-card-body h2 a { color: var(--ink); text-decoration: none; }
.service-mini { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 8px; }
.service-mini li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.sv-name { font-weight: 600; }
.sv-meta { color: var(--muted); font-size: .9rem; display: block; }
.slot-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* Horários */
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; border: 0; padding: 0; }
.slot { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--amber-tint); color: var(--ink); border: 1px solid #EED39A; font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover { background: var(--amber); color: var(--ink); }
.slot-sm { min-width: 0; min-height: 32px; padding: 0 10px; font-size: .85rem; }
.slot-more { background: var(--surface); border-color: var(--line); color: var(--petrol); }
.slots-pick .slot { position: relative; padding: 0; }
.slots-pick .slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slots-pick .slot span { padding: 0 14px; }
.slots-pick .slot:has(input:checked) { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.slots-pick .slot:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Página da loja */
.gallery { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--petrol-deep); }
.gallery img { flex: none; width: 88%; max-width: 640px; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.store-layout { display: grid; gap: 24px; padding-top: 20px; }
.store-head { margin-bottom: 20px; }
.store-head h1 { margin-bottom: 4px; }
.store-desc { margin-top: 10px; max-width: 65ch; }
.store-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.date-pill { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .8rem; }
.date-pill strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.date-pill.is-active { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.cat-heading { margin-top: 20px; color: var(--petrol); padding-bottom: 6px; border-bottom: 2px solid var(--petrol-tint); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.service-info strong { font-size: 1.02rem; }
.service-info p { margin: 4px 0 0; }
.store-side { display: grid; gap: 16px; align-content: start; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.side-block h2 { font-size: 1rem; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pro-list li { display: flex; gap: 10px; align-items: center; }
.pro-list li div { display: flex; flex-direction: column; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--petrol-tint); color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.contact { margin: 0; display: grid; gap: 2px; }
.contact dt { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.contact dd { margin: 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-input { flex: 1 1 220px; min-height: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 10px; font: inherit; font-size: .85rem; color: var(--muted); background: var(--petrol-soft); min-width: 0; }

/* Agendamento */
.booking h1 { margin-bottom: 12px; }
.crumb { margin: 16px 0 8px; font-size: .9rem; }
.crumb a { text-decoration: none; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 14px; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-top: 8px; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--petrol); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }
.summary { background: var(--petrol-soft); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; display: flex; flex-direction: column; }
.confirm-card { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--petrol); border-radius: var(--radius-lg); padding: 20px; margin-top: 24px; }
.details { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 16px 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); font-size: .82rem; }
.field input, .field select, .field textarea { min-height: 44px; border: 1px solid #C2D2D0; border-radius: var(--radius); padding: 8px 12px; font: inherit; color: var(--ink); background: #fff; width: 100%; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: 2px solid var(--petrol-tint); }
.field-inline { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.field-inline input { width: auto; }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
.form-inline { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-bottom: 12px; }
.form-inline .field { margin: 0; }
.form-actions { margin-top: 16px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--petrol); }
.prefixed { display: flex; align-items: stretch; }
.prefixed span { display: flex; align-items: center; padding: 0 8px; background: var(--petrol-soft); border: 1px solid #C2D2D0; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--muted); font-size: .85rem; white-space: nowrap; }
.prefixed input { border-radius: 0 var(--radius) var(--radius) 0; }
.hours-grid { display: grid; gap: 8px; }
.hours-head { display: none; }
.hours-row { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-day { font-weight: 650; }
.hours-pair { display: flex; align-items: center; gap: 6px; }
.hours-pair input { min-height: 40px; border: 1px solid #C2D2D0; border-radius: var(--radius); padding: 0 8px; font: inherit; flex: 1; min-width: 0; }

/* Cartões e páginas administrativas */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 16px; }
.form-card { margin-top: 24px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-head h1 { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-header .tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.admin-header .tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; font-size: .95rem; }
.tab.is-active { color: var(--petrol); border-bottom-color: var(--petrol); }
.badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 650; background: var(--petrol-soft); color: var(--petrol); }
.badge-published, .badge-mail-sent { background: var(--success-tint); color: var(--success); }
.badge-draft, .badge-mail-pending, .badge-mail-sending { background: var(--amber-tint); color: #7A5A12; }
.badge-unpublished { background: #ECEFEF; color: var(--muted); }
.badge-suspended, .badge-mail-failed { background: var(--danger-tint); color: var(--danger); }
.flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 20px; padding: 0; }
.flow li { counter-increment: step; display: flex; flex-direction: column; padding: 12px 14px 12px 48px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.flow li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--petrol-tint); color: var(--petrol); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.flow li span { color: var(--muted); font-size: .85rem; }
.flow li.done::before { background: var(--petrol); color: #fff; content: "✓"; }
.flow li.current { border-color: var(--petrol); }
.flow-compact { grid-template-columns: repeat(3, 1fr); }
.flow-compact li { padding: 10px 8px 10px 40px; font-size: .9rem; }
.flow-compact li::before { left: 10px; top: 10px; }
.checklist { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.checklist .ok { color: var(--success); }
.checklist .fail { color: var(--danger); }
.checklist .warn { color: #7A5A12; }
.steps-list li { margin-bottom: 10px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; color: var(--petrol); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.agenda { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.agenda-item { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--petrol); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 8px; }
.agenda-item time { font-weight: 750; color: var(--petrol); font-variant-numeric: tabular-nums; }
.agenda-item.status-cancelled { border-left-color: var(--danger); opacity: .7; }
.agenda-item.status-completed { border-left-color: var(--success); }
.agenda-item.status-no_show { border-left-color: var(--amber); }
.agenda-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pro-cards h2 a { color: var(--ink); text-decoration: none; }
.is-off { opacity: .65; }
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 6px; width: 100%; }
.owner-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.owner-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.owner-list li > div { flex: 1 1 260px; }
.reset-form { display: inline-flex; gap: 6px; }
.reset-form input { min-height: 36px; border: 1px solid #C2D2D0; border-radius: var(--radius); padding: 0 8px; font: inherit; width: 150px; }

/* Tabelas responsivas: viram cartões no celular */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 650; padding: 10px 12px; background: var(--petrol-soft); border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .actions { margin: 0; }
.table-compact td:not(:first-child), .table-compact th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 719px) {
  .table:not(.table-compact) thead { display: none; }
  .table:not(.table-compact), .table:not(.table-compact) tbody, .table:not(.table-compact) tr, .table:not(.table-compact) td { display: block; width: 100%; }
  .table:not(.table-compact) tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table:not(.table-compact) td { border: 0; padding: 4px 14px; }
  .table:not(.table-compact) td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--muted); }
  .table-compact th, .table-compact td { padding: 8px 6px; font-size: .88rem; }
}

/* Estados vazios */
.empty { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px dashed #B9CCCA; border-radius: var(--radius-lg); margin: 16px 0; }
.empty p { max-width: 48ch; margin-left: auto; margin-right: auto; color: var(--muted); }
.empty.compact { padding: 18px; text-align: left; }
.empty.compact p { margin: 0; max-width: none; }

/* Avatares (profissionais) */
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--petrol-tint); color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; object-fit: cover; }
.avatar-md { width: 40px; height: 40px; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; }
.photo-row { display: flex; gap: 14px; align-items: center; }
.photo-row > div { display: flex; flex-direction: column; gap: 6px; }
.pro-title { display: flex; align-items: center; gap: 10px; }

/* Página da loja: lista de serviços */
.services-section { scroll-margin-top: 72px; }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.service-row .service-info { min-width: 0; }
.service-row .service-info strong { display: block; }
.sv-price { color: var(--ink); font-weight: 650; }
.service-row .btn { flex: none; }

/* Fluxo de agendamento */
.booking .crumb { margin-bottom: 12px; }
.svc-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--petrol); color: #fff; border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 14px; }
.svc-card .svc-label { display: block; font-size: .78rem; color: #CFE3E1; }
.svc-card strong { display: block; font-size: 1.08rem; }
.svc-card .sv-meta { color: #CFE3E1; }
.svc-card .link-small { color: #fff; font-weight: 650; flex: none; }
.flow-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 14px; scroll-margin-top: 72px; }
.flow-step h2 { font-size: 1.05rem; margin-bottom: 12px; }
.h-sub { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.hint { color: var(--muted); margin: 0; }
.pro-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pro-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; }
.pro-option:hover { border-color: var(--petrol); color: var(--ink); }
.pro-option.is-active { border: 2px solid var(--petrol); background: var(--petrol-soft); padding: 11px 5px; }
.pro-name { font-weight: 650; font-size: .92rem; line-height: 1.2; overflow-wrap: anywhere; }
.calendar { max-width: 360px; margin: 0 auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-size: 1rem; }
.cal-nav { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.6rem; line-height: 1; text-decoration: none; color: var(--petrol); }
.cal-nav:hover { background: var(--petrol-soft); }
.cal-nav.is-disabled { color: var(--line); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 650; padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; min-height: 40px; }
a.cal-day:hover { background: var(--petrol-soft); color: var(--ink); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--petrol); }
.cal-day.is-full { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93,112,114,.6); }
.cal-day.is-active { background: var(--petrol); color: #fff; text-decoration: none; }
.cal-day.is-disabled { color: #B9C7C5; font-weight: 400; }
.cal-legend { display: flex; align-items: center; gap: 6px; justify-content: center; margin: 8px 0 0; }
.dot-full { width: 14px; height: 1px; background: var(--muted); display: inline-block; }
.slot-group + .slot-group { margin-top: 12px; }
.slot-group h3 { font-size: .85rem; color: var(--muted); font-weight: 650; margin: 0 0 6px; }
.slot-group .slots { margin: 0; }
.slot.is-active { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.no-slots { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px dashed #B9CCCA; border-radius: var(--radius); text-align: center; }
.no-slots span { color: var(--muted); font-size: .9rem; }
.confirm-step { border: 2px solid var(--petrol); }
.summary-list { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; margin: 0 0 16px; padding: 12px 14px; background: var(--petrol-soft); border-radius: var(--radius); font-size: .95rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; }
#agenda[aria-busy="true"] { opacity: .6; transition: opacity .15s; }

/* Preço a consultar */
.sv-price.is-consult { color: var(--petrol); font-weight: 600; }
.consult-mark { display: block; font-size: .75rem; color: var(--muted); }
.price-mode .seg { display: inline-flex; border: 1px solid #C2D2D0; border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; }
.seg-opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-weight: 600; cursor: pointer; }
.seg-opt input:checked + span { background: var(--petrol); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: -3px; }
.price-input { display: flex; align-items: center; max-width: 220px; border: 1px solid #C2D2D0; border-radius: var(--radius); background: #fff; }
.price-input[hidden] { display: none; }
.price-input .prefix { padding: 0 10px; color: var(--muted); font-weight: 600; }
.price-input input { border: 0 !important; outline: 0; min-height: 44px; padding: 0 10px 0 0; font: inherit; width: 100%; }

/* Escolha do profissional (referência: cartões com foto, nota e Selecionar) */
.store-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.store-mini img, .store-mini-ph { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.store-mini-ph { display: flex; align-items: center; justify-content: center; background: var(--petrol-tint); color: var(--petrol); font-weight: 750; font-size: 1.6rem; }
.store-mini h1 { font-size: 1.35rem; margin: 0; }
.svc-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--petrol-tint); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); margin-bottom: 18px; }
.svc-row:hover { color: var(--ink); background: #D7E8E6; }
.svc-icon { width: 26px; height: 26px; fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; flex: none; }
.svc-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.svc-text strong { font-size: 1.05rem; }
.svc-text span { color: var(--muted); font-size: .88rem; }
.svc-chev { font-size: 1.6rem; color: var(--muted); line-height: 1; }
.flow-plain { background: transparent; border: 0; padding: 0; }
.flow-title { font-size: 1.3rem !important; }
.pro-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pro-cards-grid .pro-option { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 4px; padding: 8px 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.pro-cards-grid .pro-option.is-active { border: 2px solid var(--petrol); padding: 7px 7px 9px; background: var(--surface); }
.avatar-card { width: 100%; height: auto; aspect-ratio: 1 / 0.9; border-radius: 12px; font-size: 2.6rem; margin-bottom: 4px; }
.pro-cards-grid .pro-name { font-size: 1.1rem; font-weight: 750; padding: 0 2px; }
.pro-rating { font-size: .9rem; padding: 0 2px; }
.star { color: var(--amber); }
.star.big { font-size: 2rem; line-height: 1; }
.pro-reviews-link { font-size: .9rem; font-weight: 600; padding: 0 2px; min-height: 24px; }
.pro-reviews-link.is-empty { visibility: hidden; }
.pro-cards-grid .btn { margin-top: 6px; width: 100%; }
.btn-selected { background: var(--petrol-tint); color: var(--petrol); border-color: var(--petrol); }
.store-side .pro-rating { display: block; padding: 0; }

/* Avaliações */
.reviews-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reviews-head h1 { font-size: 1.45rem; margin: 0; }
.reviews-head p { margin: 0; }
.rating-summary { display: flex; align-items: center; gap: 12px; background: var(--petrol-tint); border-radius: var(--radius-lg); padding: 16px 18px; font-size: 1.1rem; margin-bottom: 16px; }
.rating-summary strong { font-size: 1.6rem; }
.review-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; }
.review-card.is-hidden { opacity: .7; border-style: dashed; }
.review-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 6px; }
.person { width: 36px; height: 36px; border-radius: 50%; background: #E6ECEB; display: inline-flex; align-items: center; justify-content: center; }
.person svg { width: 22px; height: 22px; fill: #9AAAA8; }
.person svg path { fill: #9AAAA8; }
.review-name { font-size: 1.05rem; }
.verified { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--success); background: var(--success-tint); border-radius: var(--radius-pill); padding: 3px 10px; }
.stars { font-size: 1.25rem; letter-spacing: 2px; color: var(--amber); }
.stars .off { color: #C9D3D2; }
.review-text { margin: 6px 0 4px; white-space: normal; overflow-wrap: anywhere; }
.review-date { display: block; }
.pager { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.review-mod { margin: 8px 0 0; }
.review-mod .field select { min-height: 36px; padding: 4px 8px; }
.rating-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rating-chip { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.rating-chip span { display: flex; flex-direction: column; line-height: 1.25; }
.rating-chip.is-on { border-color: var(--petrol); background: var(--petrol-soft); }
.review-who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-who > div { display: flex; flex-direction: column; }
.star-input { border: 0; padding: 0; margin: 4px 0 14px; }
.star-input legend { font-weight: 600; margin-bottom: 6px; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 2.6rem; line-height: 1; color: #C9D3D2; cursor: pointer; padding: 2px; min-width: 48px; text-align: center; -webkit-tap-highlight-color: transparent; }
.star-row input:focus:not(:focus-visible) + label { outline: 0; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: var(--amber); }
.star-row input:focus-visible + label { outline: 3px solid var(--petrol); outline-offset: 2px; border-radius: 6px; }

/* Celular: as seis categorias em duas linhas de três, todas visíveis */
@media (max-width: 719px) {
  .cat-tabs { position: static; }
  .cat-tabs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow: visible; }
  .cat-tab { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 6px 4px; text-align: center; font-size: .9rem; line-height: 1.15; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); hyphens: auto; }
  .cat-tab.is-active { background: var(--petrol); border-color: var(--petrol); color: #fff; }
  .cat-tabs-row .cat-tab-all { display: none; }
}
@media (max-width: 359px) {
  .cat-tabs-row { gap: 6px; }
  .cat-tab { font-size: .78rem; padding: 6px 2px; letter-spacing: -.01em; }
}

/* Telas maiores */
@media (min-width: 720px) {
  .filters { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; }
  .store-card { grid-template-columns: 260px 1fr; }
  .store-card-photo { aspect-ratio: auto; min-height: 100%; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field-wide { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .service-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
  .service-item .slots { grid-column: 1 / -1; margin: 6px 0 0; }
  .service-item > .btn { grid-row: 1; grid-column: 2; }
  .agenda-item { grid-template-columns: 110px 1fr auto; align-items: start; }
  .hours-head { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 12px; font-size: .8rem; color: var(--muted); }
  .hours-row { grid-template-columns: 110px 1fr 1fr; gap: 12px; align-items: center; }
  .pro-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery img { width: 46%; }
}
@media (min-width: 960px) {
  .store-layout { grid-template-columns: 1fr 320px; }
  .store-side { position: sticky; top: 76px; }
  .form-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery img { width: 32%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Exibe a foto inteira da galeria no celular. */
@media (max-width: 719px) {
  .store-page .gallery img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    aspect-ratio: auto;
    object-fit: contain;
  }
}
/* Preserva o retrato da Carol no cartão da vitrine em telas pequenas. */
@media (max-width: 719px) {
  .store-card-photo:is(
    [href$="/loja/carol-marques-estetica-avancada"],
    [href*="/loja/carol-marques-estetica-avancada?"]
  ) img {
    object-fit: contain;
  }
}

/* Categorias na entrada da vitrine */
.category-picker { padding-top: 26px; text-align: center; }
.category-picker h2 { margin-bottom: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 408px; margin: 0 auto; }
.category-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1; padding: 4px; text-align: center; text-decoration: none; overflow-wrap: anywhere; font-size: clamp(.75rem, 2.5vw, .95rem); font-weight: 650; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.category-tile:hover { background: var(--petrol-soft); border-color: var(--petrol); }
.category-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius); background: var(--petrol-tint); font-size: 1.25rem; }
.category-all { display: none; }
.category-back { margin-bottom: 12px; }
@media (min-width: 720px) {
  .category-grid { gap: 12px; }
  .category-all { display: inline-flex; margin-top: 16px; }
}

/* VT Agenda Clean — visual público, sem alterar painéis internos */
body.public{background:#f8fafb;color:#102334}body.public .site-header{background:#fff;border-bottom:1px solid #e5eded}body.public .site-header .container{max-width:1180px}body.public .site-main>.hero{background:linear-gradient(110deg,#f0faf8 0%,#fff 60%,#eaf6f3 100%);color:#11293a;border-bottom:1px solid #e3eeec;padding:62px 0 48px}body.public .hero .container{max-width:1180px}body.public .hero h1{font-size:clamp(2rem,4.4vw,3.55rem);line-height:1.13;letter-spacing:-.045em;max-width:720px;color:#10283b;margin:12px 0}body.public .hero h1 em{font-style:normal;color:#087c73}.hero-kicker{font-size:.75rem;letter-spacing:.13em;font-weight:800;color:#087c73}.hero-sub{font-size:1.05rem;color:#516574;max-width:610px;margin:0 0 24px}body.public .search{background:#fff;border:1px solid #e2eeec;box-shadow:0 16px 48px #0c4a4214;border-radius:18px;padding:16px;max-width:1100px}body.public .search input[type=search]{border:1px solid #dce8e6;border-radius:12px}body.public .filters{gap:10px}.geo-search{display:flex;align-items:center;gap:9px;flex-wrap:wrap;grid-column:1/-1;font-size:.8rem;color:#526d70}.geo-button{background:#e7f6f2;color:#087a70;border:1px solid #c9e7df;border-radius:999px;padding:9px 13px;font:inherit;font-weight:700;cursor:pointer}.geo-button:hover{background:#d4eee7}.geo-search select{width:auto;min-height:34px;padding:5px 8px}.category-picker{padding-top:52px;padding-bottom:48px}.category-picker h2{font-size:1.65rem;letter-spacing:-.025em}.category-intro{color:#61747a;margin:-6px 0 25px}.category-grid{max-width:1100px;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.category-tile{aspect-ratio:auto;min-height:132px;padding:16px 6px;background:#fff;box-shadow:0 5px 18px #1d4d4d0a;transition:transform .2s,box-shadow .2s}.category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 24px #1d4d4d18}.category-icon{width:54px;height:54px;background:#e6f6f1;color:#0c8075;border-radius:16px}.category-icon svg{width:29px;height:29px}.category-all{display:inline-flex;margin-top:20px;color:#087e74}.clean-how,.clean-business{max-width:1180px;margin:24px auto 60px}.clean-how h2{font-size:1.6rem;margin-bottom:20px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.how-grid article{background:#fff;border:1px solid #e1ebe9;border-radius:18px;padding:25px}.how-grid span{color:#008a79;font-weight:800}.how-grid h3{margin:10px 0 5px}.how-grid p{color:#60737c;margin:0}.clean-business{display:grid;grid-template-columns:1fr 1fr;gap:26px;background:#e0f6f0;border-radius:22px;padding:35px}.clean-business small{font-size:.75rem;color:#0b736a;font-weight:700}.clean-business h2{font-size:1.65rem;line-height:1.2;margin:10px 0}.clean-business p{color:#526b6a}.clean-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.clean-prices article{background:#fff;border-radius:15px;padding:18px}.clean-prices h3{font-size:1rem;margin:0 0 10px}.clean-prices strong{display:block;font-size:1.35rem;color:#087d71}.clean-prices strong small{font-size:.7rem;color:#607879}.distance-pill{color:#087e74}@media(max-width:850px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.clean-business{grid-template-columns:1fr}.nav-extra{display:none}}@media(max-width:600px){body.public .site-main>.hero{padding:34px 0}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-tile{min-height:100px;padding:10px 3px;font-size:.75rem}.category-icon{width:43px;height:43px}.category-icon svg{width:24px;height:24px}.how-grid{grid-template-columns:1fr}.clean-business{padding:22px}.clean-prices{grid-template-columns:1fr 1fr}.clean-prices article{padding:12px}.clean-prices strong{font-size:1.08rem}.nav-explore{display:none}}


/* VT Agenda Modelo 2 — redesign exclusivo do marketplace público */
body.public {background:#fff;color:#142b37;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body.public .container{max-width:1180px}
body.public .site-header{box-shadow:0 2px 15px rgba(17,52,57,.06)}
body.public .header-row{min-height:76px;gap:24px}
body.public .brand{font-weight:800;font-size:1.12rem;letter-spacing:-.02em}
body.public .header-nav{display:flex;align-items:center;gap:22px;font-size:.9rem;font-weight:650}
body.public .header-nav a{white-space:nowrap}
body.public .site-main>.hero{background:linear-gradient(115deg,#f8fbfb 0%,#f3faf8 52%,#fff 100%);padding:0 0 40px;border:0;overflow:hidden}
body.public .hero>.container{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;position:relative;padding-top:36px;gap:0}
body.public .vt-hero-copy{padding:42px 20px 42px 0;z-index:1}
body.public .hero-kicker{font-size:.78rem;letter-spacing:.03em;color:#0c877e;background:#dff2ee;border-radius:999px;padding:9px 14px;display:inline-flex}
body.public .hero h1{font-size:clamp(2.5rem,4.7vw,4.2rem);line-height:1.1;letter-spacing:-.052em;margin:22px 0 18px;max-width:660px}
body.public .hero-sub{font-size:1.1rem;line-height:1.65;max-width:540px}
body.public .vt-hero-photo{min-height:385px;height:100%;background:linear-gradient(90deg,#f4faf8 0%,rgba(244,250,248,.03) 18%),url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1200&q=85") center 43%/cover no-repeat;border-radius:0 0 30px 30px}
body.public .hero .search{grid-column:1/-1;z-index:2;max-width:none;margin-top:-22px;display:block;padding:16px 20px;box-shadow:0 15px 35px rgba(18,70,65,.13)}
body.public .search input[type=search]{font-size:1rem}
body.public .hero .filters{grid-template-columns:1.2fr 1fr 1fr auto;align-items:end}
body.public .hero .geo-search{grid-column:1/-1;order:2;margin-top:5px}
body.public .hero .filter-actions .btn{background:#087d75;color:#fff}
body.public .category-picker{padding-top:50px;padding-bottom:34px;text-align:left}
body.public .category-picker h2{font-size:1.9rem;margin-bottom:10px}
body.public .category-intro{margin:0 0 24px}
body.public .category-grid{max-width:none;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
body.public .category-tile{min-height:130px;padding:15px 6px;border:1px solid #e8eded;box-shadow:0 7px 22px rgba(12,66,64,.065);font-size:.88rem}
body.public .category-icon{width:60px;height:60px;background:#edf9f5;border-radius:17px}
body.public .category-tile:nth-child(2) .category-icon{background:#fff0ed;color:#ad514c}
body.public .category-tile:nth-child(3) .category-icon{background:#fff0f5;color:#cf4881}
body.public .category-tile:nth-child(4) .category-icon{background:#edf3ff;color:#4266aa}
body.public .category-tile:nth-child(5) .category-icon{background:#fff5e5;color:#bb8524}
body.public .category-tile:nth-child(6) .category-icon{background:#f6efe9;color:#986b47}
body.public .category-tile:nth-child(7) .category-icon{background:#f4eafd;color:#8736bd}
body.public .category-all{margin-top:18px}
body.public .vt-featured{padding-top:20px;padding-bottom:40px}
body.public .vt-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}
body.public .vt-section-heading h2{font-size:1.8rem;margin:0 0 5px}
body.public .vt-section-heading p{margin:0;color:#61747a}
body.public .vt-section-heading>a{font-weight:700;color:#087d75;white-space:nowrap}
body.public .vt-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.public .vt-featured-card{border:1px solid #e7eeee;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(12,66,64,.08)}
body.public .vt-featured-photo{display:block;height:190px;background:#e2f1ed;overflow:hidden}
body.public .vt-featured-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
body.public .vt-featured-photo:hover img{transform:scale(1.03)}
body.public .vt-featured-placeholder{height:100%;display:grid;place-items:center;font-size:3rem;color:#72afa3;background:linear-gradient(135deg,#e1f3ed,#f7faf9)}
body.public .vt-featured-content{padding:18px}
body.public .vt-featured-content h3{font-size:1.1rem;margin:0 0 6px}
body.public .vt-featured-content p{font-size:.88rem;color:#667a80;margin:0 0 16px}
body.public .vt-featured-empty{background:#f5faf9;border:1px solid #e3f0ec;border-radius:16px;padding:28px;color:#597078}
body.public .clean-how{padding-top:22px;margin-bottom:60px}
body.public .clean-how h2{font-size:1.85rem}
body.public .how-grid article{padding:28px;box-shadow:0 5px 18px rgba(14,61,57,.045)}
body.public .clean-business{background:linear-gradient(115deg,#d8f7f0,#e9faf6);padding:44px;gap:34px;margin-bottom:75px}
body.public .clean-business h2{font-size:2rem}
body.public .clean-prices article{box-shadow:0 8px 24px rgba(10,82,72,.08)}
@media(max-width:900px){body.public .hero>.container{grid-template-columns:1fr 1fr}body.public .hero h1{font-size:2.6rem}body.public .vt-hero-photo{min-height:330px}body.public .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.public .header-nav{gap:12px}body.public .vt-featured-grid{gap:12px}}
@media(max-width:650px){body.public .header-row{min-height:65px}body.public .hero>.container{grid-template-columns:1fr;padding-top:0}body.public .vt-hero-copy{padding:34px 0 15px}body.public .hero h1{font-size:clamp(2.25rem,8vw,3rem)}body.public .vt-hero-photo{min-height:210px;height:220px;border-radius:18px;margin-bottom:20px}body.public .hero .search{margin-top:0;padding:14px}body.public .hero .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.public .hero .geo-search{grid-column:1/-1}body.public .hero .filter-actions{grid-column:1/-1}body.public .category-picker{padding-top:34px;text-align:center}body.public .category-picker h2{font-size:1.45rem}body.public .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body.public .category-tile{min-height:106px;font-size:.76rem}body.public .category-icon{width:45px;height:45px}body.public .vt-featured-grid{grid-template-columns:1fr;gap:15px}body.public .vt-featured-photo{height:205px}body.public .vt-section-heading h2{font-size:1.4rem}body.public .clean-business{padding:24px}body.public .clean-business h2{font-size:1.6rem}body.public .how-grid{grid-template-columns:1fr}}

/* Ajuste pontual: mostrar a foto completa nos cards de destaque. */
body.public .vt-featured-photo { background:#f1f7f6; }
body.public .vt-featured-photo img { object-fit:contain; object-position:center center; }

/* VT Agenda - ajuste isolado da galeria interna dos estabelecimentos.
   Acrescente ao FINAL do app.css atual. Nao substitua o CSS completo. */
body.public .gallery,
.gallery {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  height: 320px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  background: #edf4f2;
  padding: 8px;
}
body.public .gallery img,
.gallery img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: min(85vw, 560px);
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  scroll-snap-align: start;
}
@media (max-width: 719px) {
  body.public .gallery,
  .gallery { height: 240px; padding: 6px; gap: 6px; }
  body.public .gallery img,
  .gallery img { width: auto; max-width: calc(100vw - 24px); height: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
}
/* VT Agenda - ajuste do banner no celular */
@media (max-width: 600px) {
  body.public .hero > .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 20px;
    gap: 0;
  }

  body.public .vt-hero-copy {
    width: 100%;
    padding: 12px 0 20px;
  }

  body.public .vt-hero-photo {
    display: none;
    min-height: 0;
    height: 0;
  }

  body.public .hero .search {
    width: 100%;
    margin-top: 0;
  }

  body.public .hero .filters {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* Marcação pública compartilhada */
.booking-premium {
  --booking-accent: #a7ded8;
  --booking-on-accent: #142221;
  --booking-glow: #253d3c;
  --booking-selected: #263535;
  --surface: #202124;
  --ink: #f6f0e8;
  --muted: #c8bfb4;
  --line: #49433d;
  --petrol: var(--booking-accent);
  --petrol-soft: var(--booking-selected);
  --petrol-tint: var(--booking-selected);
  max-width: 1136px;
  padding: clamp(12px, 2.5vw, 24px);
  color: var(--ink);
  background: #151619;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.booking-premium.booking-gold {
  --booking-accent: #eac78b;
  --booking-on-accent: #25190e;
  --booking-glow: #563b25;
  --booking-selected: #362d24;
}
.booking-premium .booking-hero {
  padding: clamp(14px, 3vw, 28px);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(ellipse at 95% 0%, var(--booking-glow), transparent 72%), #242326;
}
.booking-premium .crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.booking-premium .store-mini { margin: 0; }
.booking-premium .store-mini h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.booking-premium .store-mini p { margin: 6px 0 0; color: var(--muted); }
.booking-premium .store-mini img, .booking-premium .store-mini-ph { width: 54px; height: 54px; border: 1px solid var(--line); }
.booking-premium .booking-layout,
.booking-premium .booking-schedule { display: grid; gap: 14px; align-items: start; }
.booking-premium .booking-layout { grid-template-columns: minmax(0, 2.15fr) minmax(245px, 1fr); }
.booking-premium .booking-schedule { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.booking-premium .flow-step,
.booking-premium .svc-row { margin-bottom: 0; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.booking-premium .flow-step { padding: clamp(12px, 1.7vw, 18px); }
.booking-premium .flow-plain, .booking-premium .svc-row { margin-bottom: 14px; }
.booking-premium .svc-row:hover { background: var(--booking-selected); border-color: var(--booking-accent); }
.booking-premium .svc-text { overflow-wrap: anywhere; }
.booking-premium .pro-cards-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.booking-premium .pro-cards-grid .pro-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #27272a;
  box-shadow: none;
}
.booking-premium .pro-cards-grid .pro-option.is-active { border-color: var(--booking-accent); background: var(--booking-selected); }
.booking-premium .pro-option .avatar-card { width: 44px; height: 44px; aspect-ratio: 1; font-size: 1.2rem; margin: 0; }
.booking-premium .pro-details > * { display: block; padding: 0; }
.booking-premium .pro-cards-grid .btn { margin: 0; width: auto; min-height: 44px; padding: 6px 10px; }
.booking-premium .btn-selected { color: var(--booking-accent); }
.booking-premium .cal-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.booking-premium .cal-day { border-radius: 7px; min-height: 42px; aspect-ratio: auto; font-size: .86rem; }
.booking-premium a.cal-day { background: #29292d; }
.booking-premium a.cal-day:hover { box-shadow: inset 0 0 0 1px var(--booking-accent); }
.booking-premium .cal-day.is-disabled { color: #9b9289; }
.booking-premium .cal-nav.is-disabled { color: #9b9289; }
.booking-premium .cal-title { text-align: center; font-size: .88rem; }
.booking-premium .slot-group .slots { display: grid; grid-template-columns: repeat(auto-fit,minmax(60px,1fr)); gap: 5px; }
.booking-premium .slot { background: #29292d; color: var(--ink); border-color: var(--line); border-radius: 8px; min-width: 0; padding: 0 4px; font-size: .9rem; }
.booking-premium .slot:hover { border-color: var(--booking-accent); }
.booking-premium .slot.is-active,
.booking-premium a.cal-day.is-active,
.booking-premium .btn-primary { background: var(--booking-accent); color: var(--booking-on-accent); border-color: var(--booking-accent); }
.booking-premium .btn-primary:hover { filter: brightness(1.08); }
.booking-premium .no-slots { border-color: var(--line); }
.booking-premium .summary-list {
  grid-template-columns: max-content minmax(0, 1fr);
  background: transparent;
  padding: 0 0 12px;
  gap: 8px 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.booking-premium .summary-list dd { text-align: right; }
.booking-premium .field input,
.booking-premium .field textarea { color-scheme: dark; color: var(--ink); background: #17181b; border-color: var(--line); font-size: 1rem; }
.booking-premium :focus-visible { outline: 2px solid var(--booking-accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .booking-premium .booking-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .booking-premium .booking-schedule { grid-template-columns: minmax(0, 1fr); }
  .booking-premium .cal-day { min-height: 44px; }
}
@media (max-width: 380px) {
  .booking-premium .pro-cards-grid .pro-option { grid-template-columns: auto minmax(0,1fr); }
  .booking-premium .pro-option .btn { grid-column: 1 / -1; }
}

/* Vitrine pública compartilhada */
.store-premium {
  --store-accent: #a7ded8;
  --store-on-accent: #142221;
  --store-glow: #253d3c;
  --petrol: var(--store-accent);
  --petrol-soft: #25262a;
  --petrol-tint: #263535;
  --surface: #202124;
  --ink: #f6f0e8;
  --muted: #c8bfb4;
  --line: #49433d;
  max-width: 1136px;
  padding: clamp(12px, 2.5vw, 24px);
  color: var(--ink);
  background: #151619;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.store-premium.booking-gold {
  --store-accent: #eac78b;
  --store-on-accent: #25190e;
  --store-glow: #563b25;
  --petrol-tint: #362d24;
}
.store-premium .store-cover {
  display: grid;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(ellipse at 95% 0%, var(--store-glow), transparent 76%), #242326;
}
.store-premium .store-cover.has-photos { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.store-premium .store-head { min-width: 0; margin: 0; }
.store-premium .store-head h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.store-premium .store-head p { margin: 10px 0 0; overflow-wrap: anywhere; }
.store-premium .store-actions { margin-top: 18px; }
.store-premium .btn-primary { background: var(--store-accent); border-color: var(--store-accent); color: var(--store-on-accent); }
.store-premium .btn-primary:hover { filter: brightness(1.08); }
.store-premium :focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.store-premium .store-cover .gallery {
  gap: 8px;
  height: clamp(168px, 23vw, 248px);
  padding: 6px;
  background: #191a1c;
  border: 1px solid var(--line);
  border-radius: 12px;
  scrollbar-color: var(--store-accent) #191a1c;
  scroll-snap-type: x mandatory;
}
.store-premium .store-cover .gallery img {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.store-premium .store-cover .gallery-single { overflow: hidden; }
.store-premium .store-layout { grid-template-columns: minmax(0, 2.1fr) minmax(250px, 1fr); gap: 14px; padding-top: 14px; }
.store-premium .store-main,
.store-premium .store-side { min-width: 0; overflow-wrap: anywhere; }
.store-premium .store-side { position: static; gap: 14px; }
.store-premium .services-section {
  padding: clamp(12px, 2vw, 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  scroll-margin-top: 84px;
}
.store-premium .cat-heading { margin-top: 12px; border-color: var(--line); }
.store-premium .service-row { gap: 10px; border-color: var(--line); }
.store-premium .service-info { min-width: 0; overflow-wrap: anywhere; }
.store-premium .sv-meta { color: var(--muted); }
.store-premium .sv-price { color: var(--store-accent); }
.store-premium .side-block { margin: 0; }
.store-premium .store-about { margin-top: 14px; }
.store-premium .store-desc { margin-bottom: 0; color: var(--muted); }
@media (max-width: 760px) {
  .store-premium .store-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .store-premium .store-cover.has-photos { grid-template-columns: minmax(0, 1fr); }
  .store-premium .store-cover .gallery { height: clamp(160px, 52vw, 235px); }
}

/* VT Agenda 1.5 — Central › Clientes */
.badge-ok { background: var(--success-tint); color: var(--success); }
.badge-danger { background: var(--danger-tint); color: var(--danger); }
.table tr.is-muted td { opacity: .6; }
.input-sm { min-height: 34px; padding: 4px 10px; font-size: .85rem; max-width: 180px; }
