/* Guia Lupa - pagina publica de agendamento (www.guialupa.com.br/<usuario>).
   Carregada depois de assets/site.css (cores, botoes, menu superior e rodape
   comuns do site). Aqui fica so o que e do perfil e do agendamento. */

.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; line-height: 18px; font-weight: 500; }
.caption { font-size: 11.5px; line-height: 16px; font-weight: 600; letter-spacing: .2px; }
.strong { font-weight: 600; }
.center { text-align: center; }
.boot { display: grid; place-items: center; min-height: 80vh; }

/* ---------------------------------------------------------------- layout */
/* Uma coluna so, tambem no computador: o agendamento abre em janela. */
.page { max-width: 1120px; margin: 0 auto; padding: 0 16px 120px; }
.layout { display: grid; gap: 22px; }
@media (min-width: 960px) {
  .profile-page .page { max-width: 1440px; padding: 24px clamp(28px, 4vw, 64px) 56px; }
  .profile-page .main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .46fr); align-items: start; gap: 24px; }
  .profile-page .hero { grid-column: 1 / -1; margin: 0; }
  .profile-page .cover { height: 320px; }
  .profile-page .hero-body { padding: 0 32px 28px; }
  .profile-page .hero-actions { justify-content: flex-start; }
  .profile-page .hero-actions .btn { flex: 0 1 auto; min-width: 180px; }
  .profile-page .summary-block { grid-column: 2; grid-row: 2 / 5; margin-top: 0; }
  .profile-page .tabs-wrap { grid-column: 1; margin-top: 0; }
  .profile-page #tab-body { grid-column: 1; min-width: 0; }
  .profile-page .main > .download { grid-column: 1; }
}

/* ---------------------------------------------------------------- hero */
.hero { margin: 14px 0 6px; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cover { position: relative; height: 170px; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .35)); }
@media (min-width: 720px) { .cover { height: 260px; } }
.hero-body { padding: 0 18px 18px; position: relative; }
.hero-avatar { margin-top: -46px; position: relative; z-index: 1; display: inline-block; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g3)); }
.hero-avatar .avatar { width: 92px; height: 92px; font-size: 32px; border: 3px solid var(--surface); }
.hero h1 { margin: 8px 0 2px; font-size: 25px; line-height: 32px; font-weight: 800; letter-spacing: -.7px; }
@media (min-width: 720px) { .hero h1 { font-size: 30px; line-height: 38px; } }
.hero .headline { color: var(--muted); margin: 0 0 10px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 500; }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.meta-row .star { color: var(--star); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  background: var(--soft); color: var(--accent-text); font-size: 12.5px; font-weight: 600; line-height: 18px;
}
.pill.neutral { background: var(--strong); color: var(--muted); }
.pill.success { background: var(--success-soft); color: var(--success); }
.pill.warning { background: var(--warning-soft); color: var(--warning); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.hero-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- avatar */
.avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: var(--on-accent);
  background: linear-gradient(135deg, var(--g1), var(--g3)); line-height: 1.3;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 18px; border-radius: var(--r-md); border: 0; cursor: pointer;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.2px; line-height: 22px;
  transition: transform .12s ease, filter .12s ease; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn ion-icon { font-size: 19px; }
.btn.full { width: 100%; }
.btn.sm { min-height: 38px; font-size: 13.5px; padding: 0 14px; }
.btn.primary { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.secondary { background: var(--raised); color: var(--text); border: 1px solid var(--line-strong); }
.btn.soft { background: var(--soft); color: var(--accent-text); }
.btn.ghost { background: transparent; color: var(--accent-text); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--strong); color: var(--faint); box-shadow: none; border: 1px solid var(--line); cursor: not-allowed; transform: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--raised); border: 1px solid var(--line); color: var(--text); font-size: 20px;
}

/* ---------------------------------------------------------------- secoes */
.section { margin-top: 26px; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.section h2 { margin: 0; font-size: 19px; line-height: 26px; font-weight: 700; letter-spacing: -.4px; flex: 1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.card.soft { background: var(--soft); border-color: transparent; }
.bio { white-space: pre-line; margin: 0; }

.services { display: grid; gap: 10px; }
.service {
  display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.service-img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.service-body { flex: 1; min-width: 0; }
.service-name { font-weight: 700; font-size: 16px; line-height: 22px; letter-spacing: -.2px; }
.service-price { text-align: right; flex-shrink: 0; }
.service-price .value { font-weight: 800; color: var(--accent-text); font-size: 16px; line-height: 22px; }

.gallery-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
.tile { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--strong); cursor: zoom-in; border: 0; padding: 0; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px; background: rgba(0, 0, 0, .25); }

.hours { display: grid; gap: 6px; }
.hour-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hour-row.today { font-weight: 700; color: var(--accent-text); }

.list { display: grid; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.list-row:last-child { border-bottom: 0; }
.list-row .icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent-text); font-size: 18px; }

.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.stars { color: var(--star); display: inline-flex; gap: 1px; font-size: 14px; }
.reply { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft); font-size: 14px; }

/* ---------------------------------------------------------------- agendamento */
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.booking-head { padding: 16px 18px 6px; display: flex; align-items: center; gap: 10px; }
.booking-head h3 { margin: 0; font-size: 19px; line-height: 26px; font-weight: 800; letter-spacing: -.4px; flex: 1; }
.progress { display: flex; gap: 6px; padding: 6px 18px 12px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--strong); }
.progress span.on { background: var(--accent); }
.booking-body { padding: 4px 18px 18px; display: grid; gap: 10px; align-content: start; }
.review-head { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.booking-foot { padding: 12px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.step-title { font-size: 16px; font-weight: 700; margin: 4px 0 2px; }

.option {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%;
}
.option.selected { background: var(--soft); border-color: var(--accent); }
.option .grow { flex: 1; min-width: 0; }
.option .radio { font-size: 22px; color: var(--faint); }
.option.selected .radio { color: var(--accent-text); }

.calendar { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cal-head strong { flex: 1; font-size: 16px; }
.cal-head .icon-btn { width: 36px; height: 36px; font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: 11px; font-weight: 700; color: var(--faint); padding: 4px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 14px; color: var(--text); position: relative;
}
.cal-day.has::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.cal-day:disabled { color: var(--faint); opacity: .45; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.cal-day.selected { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; }
.cal-day.selected::after { background: #fff; }

.period { margin-top: 6px; }
.period .caption { color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time {
  min-height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised);
  font-weight: 700; cursor: pointer; font-size: 14.5px;
}
.time.selected { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; border-color: transparent; }

.summary { display: grid; gap: 10px; }
.summary-line { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.summary-line ion-icon { color: var(--accent-text); font-size: 17px; }
.summary-line .label { width: 70px; color: var(--muted); font-weight: 500; }
.summary-line .value { flex: 1; font-weight: 600; }

.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field textarea, .field input {
  width: 100%; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--raised);
  color: var(--text); padding: 12px 14px; font: inherit; resize: vertical; min-height: 52px;
}
.field textarea:focus, .field input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.mode { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600; }
.mode.selected { background: var(--soft); border-color: var(--accent); }
.mode ion-icon { font-size: 20px; color: var(--accent-text); }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--soft); font-size: 13.5px; line-height: 19px; }
.notice ion-icon { font-size: 19px; color: var(--accent-text); margin-top: 1px; }
.notice.warning { background: var(--warning-soft); }
.notice.warning ion-icon { color: var(--warning); }
.notice.danger { background: var(--danger-soft); }
.notice.danger ion-icon { color: var(--danger); }

.done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 10px 0; }
.done-icon { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 56px; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h3 { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }

/* Celular: o agendamento abre em tela cheia, como no app. */
.booking:not(.sheet), .booking-scrim { display: none; }
@media (max-width: 959px) {
  .booking.sheet {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 50;
    border-radius: 0; border: 0; box-shadow: none; background: var(--bg);
  }
  .booking.sheet .booking-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .booking.sheet .booking-foot { padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 15px)); background: var(--bg); }
  .booking.sheet .booking-head { padding-top: max(16px, env(safe-area-inset-top)); }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px max(12px, calc(env(safe-area-inset-bottom) + 15px));
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center;
  }
  body.sheet-open { overflow: hidden; }
  /* Menu inferior do site da marca (z-index 60) cobria o botao Continuar/Confirmar. */
  body.sheet-open .mk-tabbar, body.sheet-open .fab-stack { display: none !important; }
}
/* Computador: janela central sobre o perfil. */
@media (min-width: 960px) {
  .mobile-cta { display: none; }
  body.sheet-open { overflow: hidden; }
  body.sheet-open .booking-scrim { display: block; position: fixed; inset: 0; z-index: 49; background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadein .2s ease; }
  .booking.sheet {
    display: flex; flex-direction: column; position: fixed; z-index: 50; left: 50%; top: 50%;
    width: min(560px, calc(100vw - 48px)); max-height: min(820px, calc(100vh - 48px));
    transform: translate(-50%, -50%); border-radius: var(--r-xl); background: var(--bg); box-shadow: 0 40px 90px -30px rgba(10, 20, 40, .6);
    animation: bookpop .25s cubic-bezier(.2, 1.2, .4, 1);
  }
  .booking.sheet .booking-body { flex: 1; overflow-y: auto; }
  .desk-book { cursor: pointer; border: 1px solid var(--line); }
}
@keyframes bookpop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
@media (max-width: 959px) { .desk-book { display: none !important; } }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img, .lightbox video { max-height: 86vh; max-width: min(96vw, 1100px); border-radius: 12px; }
.lightbox .icon-btn { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; background: rgba(255, 255, 255, .12); color: #fff; border: 0; }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .nav.prev { left: 12px; }
.lightbox .nav.next { right: 12px; }
.lightbox .cap { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 20px; right: 20px; color: #fff; text-align: center; font-size: 14px; }

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 70px 20px; }
.empty ion-icon { font-size: 54px; color: var(--accent-text); }
.footer { margin-top: 40px; text-align: center; color: var(--faint); font-size: 12.5px; }
.footer a { font-weight: 700; }

/* ================================================================
   Visual do cupom: fundo com brilho, cartoes sem bordas laterais,
   foto com anel em gradiente animado, redes sociais e selos das lojas.
   ================================================================ */
.card, .service, .booking, .calendar { border: 0; box-shadow: var(--shadow-sm); }
.card, .service { border-radius: var(--r-xl); }
.list-row { border-bottom-color: var(--bg); }

.hero { margin: 14px 0 6px; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow); text-align: center; }
.cover { height: 150px; }
.cover::after { background: linear-gradient(transparent 40%, rgba(0, 0, 0, .25)); }
@media (min-width: 720px) { .cover { height: 220px; } }
.hero-body { padding: 0 20px 22px; }
.hero-avatar { position: relative; width: 148px; height: 148px; margin: -76px auto 10px; padding: 0; background: none; display: grid; place-items: center; }
.hero-avatar .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--g1), var(--g2), var(--g3), var(--g1)); animation: spin 6s linear infinite; }
.hero-avatar .avatar { position: relative; width: 136px; height: 136px; font-size: 48px; border: 5px solid var(--surface); }
.hero-avatar .verified { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--g2), var(--g3)); border: 3px solid var(--surface); }
@media (prefers-reduced-motion: reduce) { .hero-avatar .ring { animation: none; } }
.eyebrow { margin: 0; color: var(--faint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { margin: 2px 0 4px; }
.hero .headline { margin: 0 auto 12px; max-width: 520px; }
.hero .meta-row, .hero .pills, .hero-actions { justify-content: center; }
.hero-actions .btn.primary { background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); box-shadow: 0 14px 28px -14px var(--g2); }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.social { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; color: #fff; background: linear-gradient(135deg, var(--g2), var(--g3)); box-shadow: 0 8px 18px -10px var(--g2); transition: transform .12s ease; }
.social:active { transform: scale(.94); }
.social.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social.facebook { background: #1877F2; }
.social.youtube { background: #FF0000; }
.social.tiktok { background: #000; }
.social.linkedin { background: #0A66C2; }
.social.whatsapp { background: #25D366; }

.map { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 12px; background: var(--strong); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }
@media (min-width: 960px) { .map iframe { height: 320px; } }
.map-type { position: absolute; left: 10px; top: 10px; display: flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.map-type button { border: 0; background: none; padding: 6px 12px; border-radius: 9px; font-weight: 700; font-size: 12.5px; color: #4b5563; cursor: pointer; }
.map-type button.on { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; background: var(--surface); }
.map-actions .btn { flex: 1; }

.download { margin-top: 34px; }
.download h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px 4px; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 58px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6); }
.store svg { width: 28px; height: 28px; flex: 0 0 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 10px; letter-spacing: .06em; opacity: .85; }
.store b { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.store.soon { opacity: .55; cursor: default; }
.download .footer { margin-top: 14px; }

/* Celular: sem bordas laterais, o conteudo ocupa a largura toda. */
@media (max-width: 719px) {
  .page { padding-left: 0; padding-right: 0; }
  .hero { margin-top: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .main > .section, .download { padding: 0 16px; }
  .gallery { margin: 0 -16px; gap: 2px; }
  .tile { border-radius: 0; }
}
@media (max-width: 360px) { .stores { grid-template-columns: 1fr; } }

/* ================================================================
   Perfil igual ao aplicativo: foto a esquerda com nome ao lado,
   numeros, cartao de informacoes, abas e cartoes de servico.
   ================================================================ */
.hero { text-align: left; }
.hero-body { padding: 0 18px 18px; }
.identity { display: flex; align-items: flex-start; gap: 14px; margin-top: -58px; position: relative; z-index: 1; }
.identity .hero-avatar { margin: 0; flex: 0 0 118px; width: 118px; height: 118px; }
.identity .hero-avatar .avatar { width: 108px; height: 108px; font-size: 38px; }
.identity-text { flex: 1; min-width: 0; padding-top: 66px; }
.identity-text h1 { margin: 0; font-size: 23px; line-height: 29px; }
@media (min-width: 720px) { .identity-text h1 { font-size: 28px; line-height: 34px; } }
.identity-text .person { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.identity-text .headline { margin: 2px 0 0; color: var(--muted); font-size: 14px; max-width: none; }

.stats { display: flex; justify-content: center; align-items: center; margin: 16px 0 4px; }
.stat { flex: 1; display: grid; justify-items: center; gap: 2px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: inline-flex; align-items: center; gap: 4px; font-size: 19px; font-weight: 800; }
.stat .star { color: var(--star); font-size: 16px; display: inline-flex; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 600; }

.hero .socials { justify-content: center; }
.hero-actions { justify-content: stretch; }
.hero-actions .btn { flex: 1; }

.summary-block { display: grid; gap: 12px; margin-top: 14px; }
.summary-block .list-row .strong { font-size: 14.5px; }
.summary-block .map { margin-bottom: 0; }
.specialties { display: grid; gap: 6px; }
.specialties .caption { letter-spacing: .08em; }
.specialties .pills { margin-top: 0; }

.tabs-wrap { margin-top: 22px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--strong); }
.tab { border: 0; background: transparent; border-radius: 12px; min-height: 40px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.tab.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
#tab-body { margin-top: 14px; }
.section-first { margin-top: 0; }
.small-empty { padding: 34px 16px; }
.small-empty ion-icon { font-size: 40px; }
.small-empty h3 { margin: 4px 0 0; font-size: 17px; }

/* Cartao de servico: imagem quadrada a esquerda, dados ao lado. */
.services { display: grid; gap: 10px; }
.svc { display: flex; gap: 12px; width: 100%; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid transparent; box-shadow: var(--shadow-sm); text-align: left; font: inherit; color: inherit; }
button.svc { cursor: pointer; }
.svc.selected { border-color: var(--accent); background: var(--soft); }
.svc-img { flex: 0 0 88px; width: 88px; height: 88px; border-radius: var(--r-md); object-fit: cover; }
.svc-ph { display: grid; place-items: center; background: var(--soft); color: var(--accent-text); font-size: 26px; }
.svc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-top { display: flex; align-items: flex-start; gap: 8px; }
.svc-name { flex: 1; font-weight: 700; font-size: 15.5px; line-height: 21px; }
.svc-time { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--accent-text); font-size: 11.5px; font-weight: 700; }
.svc-desc { color: var(--muted); font-size: 13px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc .pills { margin-top: 0; gap: 4px; }
.svc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.svc-price { font-weight: 800; font-size: 17px; color: var(--accent-text); }
.svc .radio { font-size: 20px; color: var(--faint); display: inline-flex; }
.svc.selected .radio { color: var(--accent-text); }
.pill.sm { padding: 3px 8px; font-size: 11.5px; line-height: 16px; }
.pill ion-icon { font-size: 13px; }

.avatar.mode-icon { background: var(--soft); color: var(--accent-text); font-size: 20px; border-radius: 14px; }
.booking-body .map iframe { height: 190px; }

@media (max-width: 719px) {
  .summary-block, .tabs-wrap, #tab-body { padding: 0 16px; }
  #tab-body .gallery { margin: 0 -16px; }
}

/* Planos com desconto (perfil publico) */
.plans h2 ion-icon { vertical-align: -3px; color: var(--accent-text); }
.plan-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 18px; }
.plan-card { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(15, 27, 61, .35)); }
.plan-card.has-savings { border-color: var(--success); }
.plan-ribbon { display: flex; align-items: center; gap: 6px; padding: 8px 14px; color: #fff; font-weight: 800; font-size: 14px; background: linear-gradient(90deg, var(--success), var(--g2, #2563EB)); }
.plan-body { padding: 14px; display: grid; gap: 8px; }
.plan-body h3 { margin: 0; font-size: 17px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan-price s { color: var(--muted); font-size: 13px; }
.plan-price b { font-size: 24px; letter-spacing: -.5px; color: var(--accent-text); }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.plan-body li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.plan-body li ion-icon { color: var(--success); flex-shrink: 0; }
.plan-body li span { flex: 1; }
.plan-body li small { color: var(--muted); }

/* Horarios de "qualquer profissional": ponto da cor de quem atende. */
.time { position: relative; }
.time-dot { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--surface); }
.time.selected .time-dot { border-color: #fff; }
.staff-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 10px; font-size: 12.5px; color: var(--muted); }
.staff-legend span, .staff-chosen { display: inline-flex; align-items: center; gap: 6px; }
.staff-legend i, .staff-chosen i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.staff-chosen { margin: 12px 0 0; color: var(--accent-text); font-weight: 700; font-size: 14px; }

/* Link de profissional nao encontrado / indisponivel. */
.pf-missing { max-width: 560px; margin: 48px auto; padding: 36px 26px 28px; display: grid; justify-items: center; gap: 10px; text-align: center; border-radius: 26px; }
.pf-missing__ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3)); box-shadow: 0 16px 34px -18px var(--g2); }
.pf-missing h2 { margin: 6px 0 0; font-size: clamp(22px, 4vw, 28px); letter-spacing: -.03em; }
.pf-missing p { margin: 0; max-width: 420px; line-height: 1.55; }
.pf-missing__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.pf-missing__apps { width: 100%; display: grid; justify-items: center; gap: 4px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.pf-missing__apps .stores { margin-top: 10px; }
@media (max-width: 480px) { .pf-missing { margin: 24px 0; padding: 28px 18px 22px; } .pf-missing__actions .btn { flex: 1 1 100%; } }
