/* ==========================================================================
   Guia Lupa - estilo comum do site (todas as paginas).
   Mesmas cores e medidas do aplicativo (tema "Tempestade"), claro por padrao
   e escuro pelo botao do menu. Cada pagina soma so o CSS dela.
   ========================================================================== */

:root {
  --bg: #F0F4FB;
  --bg-top: #d3eff9;
  --surface: #FFFFFF;
  --raised: #FFFFFF;
  --soft: #e9fbfd;
  --strong: #e4e8ee;
  --text: #0D1520;
  --muted: #5f6772;
  --faint: #8d939c;
  --line: #dce0e7;
  --line-strong: #ccd0d8;
  --accent: #2563EB;
  --accent-text: #1e51c1;
  --on-accent: #FFFFFF;
  --g1: #22D3EE;
  --g2: #2563EB;
  --g3: #7C3AED;
  --success: #15803D;
  --success-soft: rgba(22, 163, 74, .1);
  --warning: #B45309;
  --warning-soft: rgba(245, 158, 11, .13);
  --danger: #DC2626;
  --danger-soft: rgba(239, 68, 68, .1);
  --star: #FBBF24;
  --scrim: rgba(10, 18, 28, .46);
  --shadow: 0 24px 60px -30px rgba(30, 64, 175, .35);
  --shadow-sm: 0 10px 26px -18px rgba(30, 64, 175, .45);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --header-h: 64px;
  --max: 1180px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0B1220;
  --bg-top: #0f2240;
  --surface: #121B2C;
  --raised: #172238;
  --soft: #16284a;
  --strong: #1d2a40;
  --text: #EEF3FB;
  --muted: #a3adbd;
  --faint: #7c8698;
  --line: #22314b;
  --line-strong: #2d3f5e;
  --accent: #4F8BFF;
  --accent-text: #8FB5FF;
  --success: #4ADE80;
  --success-soft: rgba(74, 222, 128, .12);
  --warning: #FBBF24;
  --warning-soft: rgba(251, 191, 36, .12);
  --danger: #F87171;
  --danger-soft: rgba(248, 113, 113, .12);
  --scrim: rgba(0, 0, 0, .6);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
  --shadow-sm: 0 10px 26px -18px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0 0 auto 0; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--g1) 22%, transparent), color-mix(in srgb, var(--g2) 10%, transparent) 45%, transparent 75%);
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
ion-icon { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.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: 700; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 719px) { .container { padding: 0 16px; } }

/* ---------------------------------------------------------------- cabecalho */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(15, 30, 60, .5); }
.site-header__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3)); box-shadow: 0 8px 18px -10px var(--g2); transform: rotate(-8deg); }
/* Logotipo oficial do Guia Lupa: colorido no tema claro, branco no escuro */
.gl-wordmark { display: inline-flex; align-items: center; }
.gl-wordmark img { display: block; height: 34px; width: auto; }
.gl-wordmark .on-dark { display: none; }
:root[data-theme="dark"] .gl-wordmark .on-light { display: none; }
:root[data-theme="dark"] .gl-wordmark .on-dark { display: block; }
.footer-brand .gl-wordmark img { height: 38px; }
.brand-text { font-weight: 800; font-size: 19px; letter-spacing: -.8px; line-height: 26px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a { color: var(--muted); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.main-nav a:hover { color: var(--text); background: var(--strong); text-decoration: none; }
.main-nav a.on { color: var(--accent-text); background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.account-slot { display: flex; align-items: center; gap: 8px; }
.header-actions .menu-toggle, .header-actions .header-search { display: none; }
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .header-actions .menu-toggle, .header-actions .header-search { display: grid; }
}
@media (max-width: 480px) {
  .account-slot .btn span { display: none; }
  .account-slot .btn { padding: 0 12px; }
  .header-actions .theme-toggle, .header-actions .header-search { display: none; }
  .header-actions { gap: 6px; }
}

.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); cursor: pointer; font-weight: 700; font-size: 13.5px; }
.user-chip .avatar { width: 32px; height: 32px; font-size: 12px; }
.user-chip ion-icon { color: var(--faint); }
@media (max-width: 480px) { .user-chip .name, .user-chip ion-icon { display: none; } .user-chip { padding: 3px; } }
.bell { position: relative; }
/* Contador redondo: largura minima = altura; com 2+ digitos vira pilula. */
.badge-dot { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 3px; border-radius: 10px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; border: 2px solid var(--bg); box-sizing: border-box; }

.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: min(250px, calc(100vw - 24px)); max-width: calc(100vw - 24px); padding: 8px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 60; animation: drop .16s ease; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 0; background: none; color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--strong); text-decoration: none; }
.menu ion-icon { font-size: 18px; color: var(--accent-text); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .who { padding: 8px 12px 10px; }
.menu .who strong { display: block; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.anchor { position: relative; }

/* ---------------------------------------------------------------- gaveta (celular) */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: var(--scrim); animation: fadein .2s ease; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--bg); box-shadow: var(--shadow); padding: max(14px, env(safe-area-inset-top)) 16px 24px; overflow-y: auto; animation: slidein .25s cubic-bezier(.2, .9, .3, 1); display: flex; flex-direction: column; gap: 14px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav { display: grid; gap: 2px; }
.drawer__nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--text); font-weight: 700; }
.drawer__nav a:hover, .drawer__nav a.on { background: var(--soft); color: var(--accent-text); text-decoration: none; }
.drawer__nav ion-icon { font-size: 20px; color: var(--accent-text); }
.drawer__account:not(:empty) { border-top: 1px solid var(--line); padding-top: 10px; }
.drawer__user:empty { display: none; }
.drawer__user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
@keyframes slidein { from { transform: translateX(100%); } }
@keyframes fadein { from { opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 18px; border-radius: var(--r-md); border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: -.2px; line-height: 22px; white-space: nowrap;
  transition: transform .12s ease, filter .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; text-decoration: none !important;
}
.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; border-radius: 13px; }
.btn.lg { min-height: 56px; font-size: 16px; padding: 0 24px; }
.btn.primary { background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); color: #fff; box-shadow: 0 12px 26px -14px var(--g2); }
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 16px 30px -14px var(--g2); }
.btn.secondary { background: var(--raised); color: var(--text); border: 1px solid var(--line-strong); }
.btn.secondary:hover { background: var(--strong); }
.btn.soft { background: var(--soft); color: var(--accent-text); }
.btn.ghost { background: transparent; color: var(--accent-text); }
.btn.ghost:hover { background: var(--soft); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.dark { background: #0B1220; color: #fff; }
.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; filter: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
  background: var(--raised); border: 1px solid var(--line); color: var(--text); font-size: 20px; transition: background .15s ease, transform .12s ease;
}
.icon-btn:hover { background: var(--strong); text-decoration: none; }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .45; cursor: default; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.btn .spinner { width: 20px; height: 20px; border-width: 2px; border-color: rgba(255, 255, 255, .45); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- blocos */
.card { background: var(--surface); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-sm); }
.card.soft { background: var(--soft); box-shadow: none; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.section { margin-top: 56px; }
.section-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.7px; font-weight: 800; flex: 1; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { margin: 0 0 6px; color: var(--accent-text); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.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: 700; line-height: 18px; white-space: nowrap; }
.pill.sm { padding: 3px 8px; font-size: 11.5px; line-height: 16px; }
.pill ion-icon { font-size: 13px; }
.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); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raised); font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: all .15s ease; color: var(--text); }
.chip:hover { border-color: var(--accent); text-decoration: none; }
.chip.on { background: var(--soft); border-color: var(--accent); color: var(--accent-text); }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g3)); line-height: 1.3; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--star); display: inline-flex; gap: 1px; font-size: 14px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--soft); font-size: 13.5px; line-height: 19px; align-items: flex-start; }
.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); }
.notice.success { background: var(--success-soft); }
.notice.success ion-icon { color: var(--success); }
/* Destaque (ex.: "Cartão somente pelo Mercado Pago"). */
.notice.accent { background: var(--soft); border: 1.5px solid var(--accent); }
.empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 20px; }
.empty > ion-icon { font-size: 48px; color: var(--accent-text); }
.empty h2, .empty h3 { margin: 4px 0 0; font-size: 19px; }
.empty p { margin: 0; color: var(--muted); max-width: 420px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.list-row:last-child { border-bottom: 0; }
a.list-row:hover, button.list-row:hover { text-decoration: none; background: color-mix(in srgb, var(--soft) 50%, transparent); }
button.list-row { width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
.list-row .icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent-text); font-size: 18px; flex-shrink: 0; }
.list-row .grow { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- formularios */
.field { display: grid; gap: 6px; }
.field > label, .field .label { font-size: 13px; font-weight: 700; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--raised);
  color: var(--text); padding: 12px 14px; resize: vertical; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 90px; }
/* Campos nunca passam da largura do espaco (data e hora nativos do celular tem largura propria). */
.input, .field input, .field select, .field textarea, input[type="date"], input[type="time"] { max-width: 100%; min-width: 0; box-sizing: border-box; }
input[type="date"], input[type="time"] { -webkit-appearance: none; appearance: none; display: block; }
input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
/* Celular: letra de 16px nos campos evita o zoom automatico do iPhone ao tocar. */
@media (max-width: 640px) { input, select, textarea, .input { font-size: 16px; } }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .error { font-size: 12.5px; color: var(--danger); font-weight: 600; }
.input-icon { position: relative; }
.input-icon > ion-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 19px; pointer-events: none; }
.input-icon > input, .field .input-icon > input { padding-left: 44px; }
.input-icon .reveal-pass ~ *, .field .input-icon > input[type=password], .field .input-icon > input#au-pass { padding-right: 48px; }
.input-icon .reveal-pass { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; cursor: pointer; color: var(--faint); font-size: 20px; display: grid; place-items: center; }
.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; flex-shrink: 0; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid > *, .field { min-width: 0; }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--strong); }
.segmented button { border: 0; background: transparent; border-radius: 12px; min-height: 40px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; padding: 0 10px; }
.segmented button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- cartao de profissional */
.pro-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pro-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.pro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.pro-card .cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); }
.pro-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.pro-card .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .35)); }
.pro-card .fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #e11d48; font-size: 19px; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); transition: transform .15s ease; }
.pro-card .fav:active { transform: scale(.88); }
.pro-card .fav.on ion-icon { animation: heart .35s ease; }
@keyframes heart { 50% { transform: scale(1.35); } }
/* Selos no alto da capa: embaixo fica a foto do profissional. */
.pro-card .badges { position: absolute; left: 10px; top: 10px; right: 58px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.pro-card .badges .pill { background: rgba(255, 255, 255, .92); color: #0D1520; }
.pro-card .body { display: flex; gap: 12px; padding: 0 16px 16px; margin-top: -26px; position: relative; z-index: 3; }
.pro-card .body .avatar { width: 58px; height: 58px; border: 3px solid var(--surface); font-size: 20px; }
.pro-card .info { flex: 1; min-width: 0; padding-top: 30px; }
.pro-card h3 { margin: 0; font-size: 16px; line-height: 21px; font-weight: 800; letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-card .headline { color: var(--muted); font-size: 13px; line-height: 18px; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pro-card .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pro-card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.pro-card .meta .rate { color: var(--text); font-weight: 800; }
.pro-card .meta .rate ion-icon { color: var(--star); }
.pro-card .price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); }
.pro-card .price b { font-size: 16px; color: var(--accent-text); font-weight: 800; }
.pro-card.unavailable { opacity: .6; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 719px) { .rail { grid-auto-columns: 78%; margin: 0 -16px; padding: 4px 16px 18px; } }

/* ---------------------------------------------------------------- carregando */
.skeleton { position: relative; overflow: hidden; background: var(--strong); border-radius: var(--r-md); }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 60%, transparent), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-card { height: 290px; border-radius: var(--r-xl); }
.boot { display: grid; place-items: center; min-height: 50vh; }

/* ---------------------------------------------------------------- modal / folha */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__scrim { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadein .2s ease; }
.modal__panel { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg); border-radius: var(--r-xl); box-shadow: var(--shadow); animation: pop .25s cubic-bezier(.2, 1.2, .4, 1); }
.modal__panel.wide { max-width: 720px; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; background: var(--bg); }
.modal__head h2 { margin: 0; flex: 1; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.modal__body { padding: 4px 18px 20px; display: grid; gap: 14px; }
.modal__foot { position: sticky; bottom: 0; padding: 12px 18px 18px; background: var(--bg); border-top: 1px solid var(--line); display: grid; gap: 8px; }
@keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } }
@media (max-width: 640px) {
  .modal { place-items: end stretch; padding: 0; }
  .modal__panel, .modal__panel.wide { max-width: none; max-height: 92vh; max-height: 92dvh; overflow-x: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; animation: sheetup .28s cubic-bezier(.2, .9, .3, 1); padding-bottom: env(safe-area-inset-bottom); }
}
@keyframes sheetup { from { transform: translateY(100%); } }

/* ---------------------------------------------------------------- login */
.auth-box { display: grid; gap: 14px; }
.auth-box .providers { display: grid; gap: 10px; }
.btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.btn.google:hover { background: #f8f9fa; }
.btn.apple { background: #000; color: #fff; }
:root[data-theme="dark"] .btn.apple { background: #fff; color: #000; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-mail { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 8px 0; }
.auth-mail .icon { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; background: var(--soft); color: var(--accent-text); font-size: 40px; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.auth-mail h3 { margin: 4px 0 0; font-size: 21px; font-weight: 800; }
.auth-legal { font-size: 12px; color: var(--faint); text-align: center; margin: 0; }
.pass-meter { height: 5px; border-radius: 3px; background: var(--strong); overflow: hidden; }
.pass-meter span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .2s ease, background .2s ease; }

/* ---------------------------------------------------------------- avisos */
.toasts { position: fixed; left: 50%; top: calc(var(--header-h) + 12px); transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); animation: toastin .25s cubic-bezier(.2, 1.2, .4, 1); pointer-events: auto; }
.toast ion-icon { font-size: 20px; }
.toast.success ion-icon { color: #4ADE80; }
.toast.danger ion-icon { color: #F87171; }
.toast.leave { animation: toastout .2s ease forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes toastout { to { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- botoes flutuantes */
.fab-stack { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px)); z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.fab-stack > * { pointer-events: auto; }
.fab { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 22px; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); box-shadow: 0 16px 30px -12px var(--g2); transition: transform .2s ease, opacity .2s ease; }
.fab:hover { transform: translateY(-2px); text-decoration: none; }
.fab.light { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.fab.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 700; font-size: 13.5px; max-width: min(88vw, 380px); animation: toastin .35s cubic-bezier(.2, 1.2, .4, 1); border: 1px solid var(--line); }
.fab-pill:hover { text-decoration: none; }
.fab-pill .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 19px; background: linear-gradient(135deg, var(--g1), var(--g2)); flex-shrink: 0; }
.fab-pill .txt { display: grid; min-width: 0; line-height: 1.25; }
.fab-pill .txt small { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.fab-pill .txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fab-pill .x { border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 18px; display: grid; place-items: center; padding: 4px; margin-left: -4px; }
.pulse { position: relative; }
.pulse::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--g2) 55%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* A pagina de perfil no celular tem a barra "Agendar" no rodape. */
@media (max-width: 959px) { body.has-bottom-bar .fab-stack { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------------------------------------------------------------- lojas */
/* Selos das lojas: fundo preto, logotipo proporcional ao botao e brilho. */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 12px; }
.store { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; min-height: 62px; border-radius: 15px; background: linear-gradient(180deg, #17181c, #000 60%); border: 1px solid rgba(255, 255, 255, .2); color: #fff; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.store::after { content: ''; position: absolute; z-index: -1; top: -60%; bottom: -60%; left: -60%; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); opacity: 0; animation: storeShine 5.5s ease-in-out infinite; }
.stores .store:nth-child(2)::after { animation-delay: 1.2s; }
.store:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, .45); box-shadow: 0 20px 34px -18px rgba(0, 0, 0, .85), 0 0 0 4px rgba(255, 255, 255, .06); }
.store svg { width: 34px; height: 34px; flex: 0 0 34px; }
.store span { display: flex; flex-direction: column; line-height: 1.08; }
.store small { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; opacity: .85; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.store.soon { opacity: .6; cursor: default; }
.store.soon::after { display: none; }
.store.soon:hover { transform: none; }
@keyframes storeShine { 0%, 62% { left: -70%; opacity: 0; } 65% { opacity: 1; } 87% { opacity: 1; } 90%, 100% { left: 130%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .store::after { animation: none; display: none; } }
@media (max-width: 380px) { .stores { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- rodape */
.site-footer { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 44px 20px 28px; display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.site-footer h2 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.site-footer nav a:hover { color: var(--accent-text); }
.footer-brand p { color: var(--muted); max-width: 340px; margin: 10px 0 16px; }
.site-footer__legal { max-width: var(--max); margin: 0 auto; padding: 16px 20px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; color: var(--faint); font-size: 12.5px; }
.site-footer__legal .secure { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__legal .secure ion-icon { color: var(--success); }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- aparicao ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- navegador de app (Instagram/WhatsApp) */
.inapp { display: flex; gap: 10px; align-items: flex-start; }

/* ---------------------------------------------------- visualizador de midia */
.gl-viewer { position: fixed; inset: 0; z-index: 1000; background: #000; color: #fff; overscroll-behavior: contain; touch-action: pan-y; }
.gl-viewer__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.gl-viewer__stage img, .gl-viewer__stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.gl-viewer__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left)); background: linear-gradient(rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.gl-viewer__bar > * { pointer-events: auto; }
.gl-viewer__count { font-size: 14px; font-weight: 700; opacity: .9; }
.gl-viewer__btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; font-size: 22px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gl-viewer__btn:hover { background: rgba(255, 255, 255, .28); }
.gl-viewer__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gl-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gl-viewer__nav.prev { left: max(12px, env(safe-area-inset-left)); }
.gl-viewer__nav.next { right: max(12px, env(safe-area-inset-right)); }
.gl-viewer.is-video .gl-viewer__nav { top: 42%; }
.gl-viewer__cap { position: absolute; left: 16px; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; font-size: 14px; text-shadow: 0 1px 4px #000; pointer-events: none; }
.gl-viewer.is-video .gl-viewer__cap { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 64px); }
.gl-viewer:fullscreen, .gl-viewer:-webkit-full-screen { width: 100%; height: 100%; }
.gl-thumb-video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: #111; }

/* ------------------------------------------------ player de video (site.js) */
.gl-vp { --p1: var(--g1); --p2: var(--g2); --p3: var(--g3); --p-ink: #fff; --pgrad: linear-gradient(100deg, var(--p1), var(--p2) 55%, var(--p3));
  position: absolute; inset: 0; background: #000; color: #fff; overflow: hidden; user-select: none; -webkit-user-select: none; }
.gl-vp__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.gl-vp__tap { position: absolute; inset: 0; cursor: pointer; }
.gl-vp__ui { position: absolute; inset: 0; pointer-events: none; transition: opacity .3s; }
.gl-vp__ui > * { pointer-events: auto; }
.gl-vp::before, .gl-vp::after { content: ''; position: absolute; left: 0; right: 0; pointer-events: none; transition: opacity .3s; z-index: 0; }
.gl-vp::before { top: 0; height: 130px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.gl-vp::after { bottom: 0; height: 190px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.gl-vp.is-idle .gl-vp__ui, .gl-vp.is-idle::before, .gl-vp.is-idle::after { opacity: 0; }
.gl-vp.is-idle .gl-vp__ui > * { pointer-events: none; }
.gl-vp.is-idle { cursor: none; }
.gl-viewer:has(.gl-vp.is-idle) .gl-viewer__bar, .gl-viewer:has(.gl-vp.is-idle) .gl-viewer__nav, .gl-viewer:has(.gl-vp.is-idle) .gl-viewer__cap { opacity: 0; pointer-events: none; }
.gl-viewer__bar, .gl-viewer__nav, .gl-viewer__cap { transition: opacity .3s; }
.gl-vp__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: clamp(22px, 6vw, 46px); }
.gl-vp__skip { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--p1) 45%, transparent); background: rgba(10, 14, 24, .45); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .15s, background .2s; }
.gl-vp__skip:hover { background: rgba(10, 14, 24, .65); transform: scale(1.06); }
.gl-vp__skip:active { transform: scale(.92); }
.gl-vp__skipic { font-size: 40px; line-height: 0; display: grid; }
.gl-vp__skipic.back { transform: scaleX(-1); }
.gl-vp__skip b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11.5px; font-weight: 900; padding-top: 1px; }
.gl-vp__play { position: relative; width: 96px; height: 96px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.gl-vp__play:hover { transform: scale(1.05); }
.gl-vp__play:active { transform: scale(.93); }
.gl-vp__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--p1), var(--p2), var(--p3), transparent 85%); animation: glVpSpin 2.6s linear infinite; animation-play-state: paused; }
.gl-vp.is-playing .gl-vp__ring { animation-play-state: running; }
@keyframes glVpSpin { to { transform: rotate(360deg); } }
.gl-vp__btn { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 3px solid #000; background: var(--pgrad); color: var(--p-ink); display: grid; place-items: center; font-size: 36px; box-shadow: 0 0 34px color-mix(in srgb, var(--p2) 75%, transparent); }
.gl-vp:not(.is-playing) .gl-vp__btn ion-icon[name="play"] { margin-left: 5px; }
.gl-vp__bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); display: grid; gap: 4px; }
.gl-vp__bar { position: relative; height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; }
.gl-vp__track { position: relative; width: 100%; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .22); overflow: hidden; transition: height .15s; }
.gl-vp__bar:hover .gl-vp__track, .gl-vp.is-seeking .gl-vp__track { height: 7px; }
.gl-vp__buf, .gl-vp__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.gl-vp__buf { background: rgba(255, 255, 255, .3); }
.gl-vp__fill { background: var(--pgrad); }
.gl-vp__thumb { position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--p1); display: grid; place-items: center; transition: transform .15s; }
.gl-vp__thumb::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--p2); }
.gl-vp.is-seeking .gl-vp__thumb, .gl-vp__bar:focus-visible .gl-vp__thumb { transform: scale(1.25); }
.gl-vp__row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gl-vp__time span { color: rgba(255, 255, 255, .6); }
.gl-vp__grow { flex: 1; }
.gl-vp__mute { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--p1); font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.gl-vp__mute:hover { background: rgba(255, 255, 255, .12); }
.gl-vp__vol { --v: 100%; width: 100px; height: 20px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.gl-vp__vol::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--p1), var(--p2)) 0 / var(--v) 100% no-repeat, rgba(255, 255, 255, .22); }
.gl-vp__vol::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--p1), var(--p2)) 0 / var(--v) 100% no-repeat, rgba(255, 255, 255, .22); }
.gl-vp__vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--p1); }
.gl-vp__vol::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--p1); }
.gl-vp__flash { position: absolute; top: 0; bottom: 0; width: 38%; display: grid; place-content: center; justify-items: center; gap: 4px; font-size: 26px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.gl-vp__flash b { font-size: 15px; font-weight: 900; }
.gl-vp__flash.on { opacity: 1; }
.gl-vp__flash.left { left: 0; background: radial-gradient(circle at 0 50%, color-mix(in srgb, var(--p1) 40%, transparent), transparent 70%); }
.gl-vp__flash.right { right: 0; background: radial-gradient(circle at 100% 50%, color-mix(in srgb, var(--p1) 40%, transparent), transparent 70%); }
.gl-vp__load { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
.gl-vp.is-loading .gl-vp__load { display: grid; }
.gl-vp__load i { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); border-top-color: var(--p1); animation: glVpSpin .8s linear infinite; }
@media (max-width: 520px) { .gl-vp__skip { width: 54px; height: 54px; } .gl-vp__skipic { font-size: 34px; } .gl-vp__vol { width: 72px; } }
@media (prefers-reduced-motion: reduce) { .gl-vp__ring { animation: none; } }

/* Contagem regressiva do Pix (abaixo do QR Code). */
.pix-countdown { display: grid; gap: 8px; justify-items: center; margin: 4px 0; }
.pix-countdown .notice { width: 100%; }
.pix-countdown__pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; }
.pix-countdown__pill b { color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }
.pix-countdown__pill.urgent { border-color: var(--warning); color: var(--warning); }
.pix-countdown__pill.urgent b { color: var(--warning); }

