/* ==========================================================================
   SEMPRE BELLA — agendamento, autenticação e área da cliente
   ========================================================================== */

/* ==========================================================================
   Autenticação
   ========================================================================== */
.auth { min-height: 100vh; padding: calc(var(--header-h) + 24px) var(--gutter) 60px; display: grid; place-items: center; background: radial-gradient(900px 600px at 90% 0, var(--blush-100), transparent 60%), radial-gradient(700px 500px at 0 100%, #f2e4cf, transparent 60%), var(--cream); }
.auth-card { width: min(1020px, 100%); display: grid; grid-template-columns: 0.85fr 1.15fr; background: #fff; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.auth-side { position: relative; padding: 46px 40px; color: var(--cream); background: radial-gradient(500px 400px at 100% 0, #6e2652, transparent 60%), linear-gradient(160deg, var(--wine-800), var(--wine-900)); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow: hidden; }
.auth-side .script { font-size: 3rem; color: var(--gold-300); display: block; margin-bottom: 8px; }
.auth-logo { display: block; width: min(230px, 100%); height: auto; margin: -6px 0 26px -6px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25)); animation: logo-rise 1.1s var(--ease) both; }
@keyframes logo-rise { from { opacity: 0; transform: translateY(14px) scale(0.97); filter: blur(6px); } to { opacity: 1; transform: none; } }
.auth-side h2 { color: var(--cream); font-size: 2.4rem; margin-bottom: 14px; }
.auth-side p { color: rgba(252, 247, 247, 0.75); font-size: 0.95rem; }
.auth-perks { display: grid; gap: 16px; position: relative; z-index: 1; }
.auth-perks li { display: flex; gap: 14px; align-items: flex-start; }
.auth-perks .ic { color: var(--gold-300); width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(230, 208, 163, 0.35); font-size: 21px; }
.auth-perks b { display: block; font-weight: 500; }
.auth-perks span { font-size: 0.85rem; color: rgba(252, 247, 247, 0.65); }
.auth-sprig { position: absolute; right: -30px; bottom: -40px; width: 180px; color: var(--gold-300); opacity: 0.22; transform: rotate(-12deg); }
.auth-main { padding: 44px clamp(24px, 5vw, 56px) 40px; position: relative; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; transition: color 0.2s, gap 0.3s; }
.auth-back:hover { color: var(--rose-600); gap: 10px; }
.auth-head { margin-bottom: 26px; }
.auth-head h1 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 2.7rem); }
.auth-form { display: grid; gap: 16px; }
.auth-foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: 0.93rem; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); border-radius: 50%; display: grid; place-items: center; transition: color 0.2s, background 0.2s; }
.pw-eye:hover { color: var(--rose-600); background: var(--blush-50); }
@media (max-width: 860px) {
  .auth-card { grid-template-columns: 1fr; border-radius: 30px; }
  .auth-side { display: none; }
}
.legal { background: var(--cream); }
.legal-body { display: grid; gap: 28px; }
.legal-body h2 { font-size: 1.7rem; margin-bottom: 8px; }
.legal-body p, .legal-list li { color: var(--ink-2); }
.legal-list { display: grid; gap: 10px; padding-left: 4px; }
.legal-list li { padding-left: 22px; position: relative; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }

/* ==========================================================================
   Assistente de agendamento
   ========================================================================== */
.book { padding: calc(var(--header-h) + 34px) 0 90px; min-height: 100vh; background: radial-gradient(1000px 520px at 100% 0, var(--blush-100), transparent 60%), radial-gradient(800px 500px at 0 60%, #f4e7d3, transparent 60%), var(--cream); }
.book-head { text-align: center; margin-bottom: 30px; }
.book-head .eyebrow { margin-bottom: 14px; }
.book-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

.stepper { position: relative; display: flex; justify-content: space-between; max-width: 760px; margin: 0 auto 36px; padding: 0; }
.stepper::before, .stepper::after { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; border-radius: 2px; }
.stepper::before { background: var(--line); }
.stepper::after { background: linear-gradient(90deg, var(--gold-400), var(--rose-500)); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform 0.9s var(--ease); right: 10%; width: 80%; left: 10%; }
.st { flex: 1; position: relative; z-index: 1; }
.st button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 9px; border: 0; background: none; padding: 0; color: var(--muted); }
.st button:disabled { cursor: default; }
.st-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); color: var(--muted); box-shadow: var(--shadow-xs); transition: all 0.6s var(--spring); }
.st-label { font-size: 0.78rem; letter-spacing: 0.04em; transition: color 0.4s; text-align: center; }
.st.is-done .st-dot { background: var(--rose-500); border-color: var(--rose-500); color: #fff; }
.st.is-done button:not(:disabled):hover .st-dot { transform: scale(1.1) rotate(-6deg); }
.st.is-current .st-dot { background: var(--wine-700); border-color: var(--wine-700); color: var(--gold-300); transform: scale(1.12); box-shadow: 0 12px 26px -10px rgba(74, 26, 54, 0.8); }
.st.is-current .st-label, .st.is-done .st-label { color: var(--wine-700); font-weight: 500; }
@media (max-width: 640px) { .st-label { display: none; } .st.is-current .st-label { display: block; position: absolute; top: 56px; white-space: nowrap; left: 50%; transform: translateX(-50%); } .stepper { margin-bottom: 52px; } .st-dot { width: 42px; height: 42px; } .stepper::before, .stepper::after { top: 20px; } }

.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.step-panel.in-next { animation: step-in-next 0.7s var(--ease) both; }
.step-panel.in-prev { animation: step-in-prev 0.7s var(--ease) both; }
@keyframes step-in-next { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes step-in-prev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.step-title { margin-bottom: 26px; }
.step-title h2 { margin-bottom: 6px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line); }
.step-nav .btn:only-child { margin-left: auto; }

.book-aside { position: sticky; top: calc(var(--header-h) + 22px); }
.sum-card { background: linear-gradient(180deg, #fff, var(--blush-50)); border: 1px solid var(--blush-100); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); }
.sum-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.sum-head small { color: var(--muted); font-size: 0.78rem; }
.sum-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--wine-700); color: var(--gold-300); display: grid; place-items: center; }
.sum-empty { padding: 18px 0; color: var(--muted); font-size: 0.92rem; text-align: center; }
.sum-list { display: grid; gap: 4px; }
.sum-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); font-size: 0.93rem; animation: slide-up 0.5s var(--ease) both; }
.sum-list li small { display: block; color: var(--muted); font-size: 0.76rem; }
.sum-list li b { font-weight: 500; color: var(--wine-700); font-size: 0.88rem; }
.sum-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--blush-50); color: var(--rose-600); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background 0.2s; }
.sum-x:hover { background: var(--blush-200); transform: rotate(90deg); }
.sum-meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--blush-200); display: grid; gap: 10px; }
.sum-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--ink-2); animation: slide-up 0.5s var(--ease) both; }
.sum-row .ic { color: var(--gold-500); }
.sum-row b { font-weight: 500; color: var(--wine-700); text-align: right; font-size: 0.86rem; }
.sum-total { margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: var(--wine-700); color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sum-total span { font-size: 0.8rem; opacity: 0.8; }
.sum-total b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--gold-300); line-height: 1; }
.sum-total b.consult { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.sum-foot { margin-top: 16px; display: flex; gap: 10px; font-size: 0.8rem; color: var(--muted); align-items: flex-start; }
.sum-foot .ic { color: var(--ok); margin-top: 2px; }

.book-bar { display: none; }
.sum-sheet { position: fixed; inset: 0; z-index: 760; background: rgba(37, 12, 28, 0.5); display: flex; align-items: flex-end; animation: fade-in 0.25s both; }
.sum-sheet[hidden] { display: none; }
.sheet-inner { width: 100%; max-height: 80vh; overflow-y: auto; background: var(--cream); border-radius: 28px 28px 0 0; padding: 12px 22px 28px; animation: sheet-in 0.5s var(--ease) both; }
.sheet-grip { width: 44px; height: 5px; border-radius: 4px; background: var(--blush-200); margin: 0 auto 14px; }
@media (max-width: 960px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-aside { display: none; }
  .book { padding-bottom: 130px; }
  .book-bar { position: fixed; z-index: 750; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); box-shadow: 0 18px 44px -14px rgba(74, 26, 54, 0.6), 0 0 0 1px var(--line); animation: slide-up 0.6s var(--ease) both; }
  .book-bar[hidden] { display: none; }
  .bar-sum { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 0; }
  .bar-count { width: 38px; height: 38px; border-radius: 50%; background: var(--wine-700); color: var(--gold-300); display: grid; place-items: center; font-weight: 600; flex: none; }
  .bar-sum b { display: block; font-weight: 500; line-height: 1.1; }
  .bar-sum small { color: var(--muted); font-size: 0.76rem; display: block; }
  .book-bar .btn { padding: 13px 22px; }
  .book-bar .btn-icon { width: 46px; height: 46px; padding: 0; }
  .step-nav { display: none; }
  .step-nav:has(.js-confirm) { display: flex; }
}

/* ---------------- passo 1: serviços ---------------- */
.step-tools { display: grid; gap: 14px; margin-bottom: 20px; }
.search { position: relative; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 46px; border-radius: 999px; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { flex: none; padding: 9px 16px; font-size: 0.86rem; }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .pick-grid { grid-template-columns: 1fr; } }
.svc-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; text-align: left; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease), background 0.3s, opacity 0.3s; animation: card-in 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.svc-pick:hover { transform: translateY(-2px); border-color: var(--blush-300); box-shadow: var(--shadow-sm); }
.pick-ico { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blush-100); color: var(--rose-600); transition: background 0.4s, color 0.4s, transform 0.5s var(--spring); }
.svc-pick:hover .pick-ico { transform: rotate(-8deg) scale(1.06); }
.pick-main { flex: 1; min-width: 0; display: block; }
.pick-main b { display: block; font-weight: 500; line-height: 1.25; color: var(--ink); }
.pick-main small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.pick-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.pick-price { font-size: 0.78rem; color: var(--wine-700); font-weight: 500; white-space: nowrap; }
.pick-price.consult { color: var(--muted); font-weight: 400; }
.pick-check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--blush-300); display: grid; place-items: center; color: transparent; background: #fff; transition: all 0.4s var(--spring); flex: none; }
.pick-check .ic { transform: scale(0); transition: transform 0.4s var(--spring); }
.svc-pick.is-on, .pro-pick.is-on, .rh-opt.is-on { border-color: var(--rose-500); background: var(--blush-50); box-shadow: 0 0 0 4px rgba(203, 79, 137, 0.12); }
.svc-pick.is-on .pick-ico { background: var(--wine-700); color: var(--gold-300); }
.is-on > .pick-check, .is-on .pick-check { background: var(--rose-500); border-color: var(--rose-500); color: #fff; }
.is-on > .pick-check .ic, .is-on .pick-check .ic { transform: scale(1); }
.svc-pick.is-incompat { opacity: 0.5; }
.pick-note { position: absolute; right: 14px; top: -8px; background: var(--wine-700); color: #fff; font-size: 0.64rem; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px; }
.shake { animation: shake 0.5s; }
.empty-state { grid-column: 1 / -1; padding: 50px 0; text-align: center; color: var(--muted); display: grid; gap: 8px; place-items: center; }

/* ---------------- passo 2: profissional ---------------- */
.pro-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pro-pick { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; text-align: left; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s, background 0.3s; }
.pro-pick:hover { transform: translateY(-3px); border-color: var(--blush-300); box-shadow: var(--shadow-sm); }
.pro-any { width: 62px; height: 62px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #3a2a10; animation: breathe 3.6s ease-in-out infinite; }
.pro-main { flex: 1; min-width: 0; display: block; }
.pro-main b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--wine-700); line-height: 1.1; }
.pro-main small { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.pro-main small.role { color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; font-weight: 500; margin-top: 4px; }

/* ---------------- passo 3: calendário ---------------- */
.book-card { container-type: inline-size; container-name: bookcard; }
.date-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@container bookcard (min-width: 700px) { .date-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; } }
.cal { background: var(--blush-50); border: 1px solid var(--blush-100); border-radius: 28px; padding: 22px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-size: 1.55rem; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--wine-700); transition: transform 0.4s var(--spring), background 0.2s, color 0.2s; }
.cal-nav:hover:not(:disabled) { background: var(--wine-700); color: #fff; transform: scale(1.1); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-body { min-height: 300px; }
.cal-wd { text-align: center; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); padding: 6px 0 8px; font-weight: 500; }
.cal-day { position: relative; aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: 0.95rem; color: var(--ink-2); transition: transform 0.35s var(--spring), background 0.25s, color 0.25s, box-shadow 0.25s; }
.cal-day span { position: relative; z-index: 1; }
.cal-day.has-slots { background: #fff; color: var(--wine-700); font-weight: 500; box-shadow: var(--shadow-xs); }
.cal-day.has-slots:hover { transform: scale(1.14); background: var(--blush-100); }
.cal-day.has-slots::after { content: ""; position: absolute; bottom: 20%; left: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%); background: var(--ok); }
.cal-day.d-mid::after { background: #d6a63d; } .cal-day.d-low::after { background: var(--rose-500); }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold-400); }
.cal-day.is-off, .cal-day.is-full { color: #c9b9bc; }
.cal-day.is-full { text-decoration: line-through; text-decoration-color: rgba(203, 79, 137, 0.5); cursor: pointer; }
.cal-day.is-off { pointer-events: none; opacity: 0.55; }
.cal-day.is-loading { animation: shimmer-bg 1.2s ease-in-out infinite; background: var(--line-2); color: transparent; }
@keyframes shimmer-bg { 50% { opacity: 0.45; } }
.cal-day.is-selected { background: var(--wine-700) !important; color: #fff !important; transform: scale(1.1); box-shadow: 0 14px 26px -10px rgba(74, 26, 54, 0.8) !important; text-decoration: none; }
.cal-day.is-selected::after { background: var(--gold-300) !important; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 0.75rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.cal-legend i.d-mid { background: #d6a63d; } .cal-legend i.d-low { background: var(--rose-500); } .cal-legend i.d-none { background: #cdbcbf; }
.cal-actions { margin-top: 16px; }
.times { min-height: 260px; }
.times-head { margin-bottom: 18px; }
.times-head small { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.times-head h3 { margin-top: 2px; }
.times-head h3::first-letter, .review-when b::first-letter, .ticket-date::first-letter { text-transform: uppercase; }
.times-group + .times-group { margin-top: 20px; }
.times-group h4 { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; margin-bottom: 10px; }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time-chip { padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; color: var(--wine-700); transition: transform 0.35s var(--spring), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s; animation: pop-in 0.5s var(--spring) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes pop-in { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
.time-chip:hover { border-color: var(--rose-400); transform: translateY(-2px); background: var(--blush-50); }
.time-chip.is-on { background: var(--wine-700); border-color: var(--wine-700); color: #fff; box-shadow: 0 12px 24px -10px rgba(74, 26, 54, 0.8); transform: scale(1.04); }
.times-empty, .times-none { display: grid; gap: 14px; place-items: center; text-align: center; padding: 40px 10px; color: var(--muted); border: 1.5px dashed var(--blush-200); border-radius: 26px; background: var(--blush-50); }
.times-none { color: var(--ink-2); padding: 30px 20px; }
.times-empty .ic, .times-none > .ic { color: var(--rose-400); }

/* ---------------- passo 4: periodicidade ---------------- */
.rhythm-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.rh-opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); text-align: left; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.rh-opt:hover { transform: translateY(-2px); border-color: var(--blush-300); }
.rh-opt > span:nth-child(2) { flex: 1; min-width: 0; }
.rh-opt b { display: block; font-weight: 500; color: var(--ink); }
.rh-opt small { display: block; color: var(--muted); font-size: 0.78rem; }
.rh-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--blush-100); color: var(--rose-600); display: grid; place-items: center; flex: none; transition: transform 0.6s var(--ease), background 0.3s, color 0.3s; }
.rh-opt.is-on .rh-ico { background: var(--wine-700); color: var(--gold-300); transform: rotate(180deg); }
.rh-count { margin-top: 26px; }
.rh-count h4 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--wine-700); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-box { margin-top: 28px; }
.pv-loading { display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--muted); padding: 30px 0; }
.pv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pv-head h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine-700); }
.pv-list { display: grid; gap: 8px; max-height: 480px; overflow-y: auto; padding: 4px 4px 8px; }
.pv-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--blush-50); border: 1px solid var(--blush-100); animation: slide-up 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); flex-wrap: wrap; }
.pv-row.is-conflict { background: var(--warn-bg); border-color: #f0dcae; }
.pv-row.is-skipped { opacity: 0.6; background: var(--line-2); border-color: var(--line); }
.pv-row.is-skipped .pv-when { text-decoration: line-through; }
.pv-n { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wine-700); font-weight: 600; font-size: 0.85rem; box-shadow: var(--shadow-xs); }
.pv-when { flex: 1; min-width: 120px; }
.pv-when b { font-weight: 500; }
.pv-when small { display: block; color: var(--muted); }
.pv-state { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.pv-state.ok { color: var(--ok); } .pv-state.warn { color: var(--warn); } .pv-state.skip { font-style: italic; }
.pv-select { width: auto; flex: 1 1 220px; padding: 9px 36px 9px 12px; font-size: 0.86rem; border-color: #e6cf94; }
.pv-note { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: var(--ink-2); font-size: 0.86rem; padding: 10px 14px; border-radius: 14px; background: var(--sage-100); }
.pv-sum { margin-top: 14px; color: var(--ink-2); font-size: 0.92rem; }
.pv-sum b { color: var(--wine-700); font-family: var(--font-display); font-size: 1.3rem; }
.link.xs { font-size: 0.78rem; }

/* ---------------- passo 5: confirmar ---------------- */
.review { background: linear-gradient(135deg, var(--blush-50), #fff); border: 1px solid var(--blush-100); border-radius: 26px; padding: 22px; display: grid; gap: 16px; }
.review-when { display: flex; gap: 16px; align-items: center; }
.rv-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--wine-700); color: var(--gold-300); flex: none; }
.review-when small { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.review-when b { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--wine-700); line-height: 1.15; }
.review-when span { color: var(--ink-2); font-size: 0.92rem; }
.review-list { display: grid; gap: 6px; }
.rv-svc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-radius: 14px; font-size: 0.93rem; }
.rv-svc span { display: inline-flex; align-items: center; gap: 10px; }
.rv-svc .ic { color: var(--rose-500); }
.rv-svc small { color: var(--muted); }
.review-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--ink-2); }
.review-meta span { display: inline-flex; align-items: center; gap: 8px; }
.review-meta .ic { color: var(--gold-500); }
.account-box { margin-top: 22px; }
.logged { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--ok-bg); border: 1px solid #cfe5d3; }
.logged small { display: block; color: #4f7a58; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.logged b { display: block; font-weight: 500; }
.account-gate { margin-bottom: 14px; }
.account-gate h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine-700); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--blush-50); border-radius: 999px; margin-bottom: 18px; }
.auth-tabs button { padding: 11px; border: 0; background: none; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: all 0.4s var(--ease); }
.auth-tabs button.is-on { background: var(--wine-700); color: #fff; box-shadow: 0 10px 20px -10px rgba(74, 26, 54, 0.8); }
.policy { display: flex; gap: 10px; margin: 20px 0 6px; font-size: 0.84rem; color: var(--muted); align-items: flex-start; }
.policy .ic { color: var(--ok); margin-top: 2px; }
.confirm-box { margin-top: 18px; }

/* ---------------- sucesso ---------------- */
.book-card.is-success { width: 100%; max-width: 780px; justify-self: center; grid-column: 1 / -1; }
.book.is-done .book-head { display: none; }
.book.is-done { padding-top: calc(var(--header-h) + 50px); }
.book.is-done .book-grid { grid-template-columns: 1fr; }
.success { text-align: center; display: grid; gap: 14px; justify-items: center; }
.check-anim { width: 96px; height: 96px; color: var(--ok); }
.check-anim svg { width: 100%; height: 100%; }
.check-anim circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 0.9s var(--ease) 0.1s forwards; }
.check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.6s var(--ease) 0.8s forwards; }
.check-anim { animation: pop 0.6s var(--spring) both; }
.ticket { display: grid; grid-template-columns: 1fr auto; width: min(560px, 100%); margin: 14px 0 6px; text-align: left; filter: drop-shadow(0 22px 30px rgba(74, 26, 54, 0.18)); animation: slide-up 0.8s var(--ease) 0.3s both; }
.ticket-main { background: #fff; padding: 26px 26px 22px; border-radius: 24px 0 0 24px; border: 1px solid var(--line); border-right: 0; position: relative; }
.ticket-stub { background: linear-gradient(160deg, var(--wine-700), var(--wine-900)); color: #fff; padding: 26px 22px; border-radius: 0 24px 24px 0; display: grid; gap: 8px; align-content: center; justify-items: center; text-align: center; position: relative; min-width: 150px; }
.ticket-stub::before { content: ""; position: absolute; left: -9px; top: 0; bottom: 0; width: 18px; background: radial-gradient(circle at 0 12px, transparent 8px, var(--wine-700) 8.5px) 0 0 / 18px 24px repeat-y; }
.ticket-stub small { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.64rem; color: var(--gold-300); }
.ticket-stub .code { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.08em; color: #fff; font-weight: 600; }
.ticket-main small { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.68rem; color: var(--muted); }
.ticket-date { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--wine-700); line-height: 1.1; margin: 4px 0; font-weight: 600; }
.ticket-time { color: var(--rose-600); font-weight: 500; }
.ticket-list { margin: 14px 0 12px; display: grid; gap: 6px; font-size: 0.92rem; }
.ticket-list li { display: flex; gap: 10px; align-items: center; }
.ticket-list .ic { color: var(--ok); }
.ticket-pro { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
@media (max-width: 560px) { .ticket { grid-template-columns: 1fr; } .ticket-main { border-radius: 24px 24px 0 0; border-right: 1px solid var(--line); border-bottom: 0; } .ticket-stub { border-radius: 0 0 24px 24px; } .ticket-stub::before { display: none; } }
.series-list { width: min(560px, 100%); text-align: left; background: var(--blush-50); border-radius: 22px; padding: 18px 20px; }
.series-list h4 { display: flex; gap: 10px; align-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--wine-700); margin-bottom: 10px; }
.series-list ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px; }
.series-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #fff; border-radius: 12px; font-size: 0.88rem; }
.series-list li.is-off { opacity: 0.5; text-decoration: line-through; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.tips { width: min(560px, 100%); text-align: left; padding: 20px 22px; border-radius: 22px; border: 1px dashed var(--gold-400); background: #fffaf2; font-size: 0.9rem; color: var(--ink-2); display: grid; gap: 8px; }
.tips h4 { display: flex; gap: 10px; align-items: center; font-family: var(--font-display); font-size: 1.35rem; color: var(--wine-700); }
.tips .ic { color: var(--rose-500); }

/* ==========================================================================
   Área da cliente
   ========================================================================== */
.account { padding-bottom: 100px; min-height: 100vh; background: var(--cream); }
.acc-hero { position: relative; padding: calc(var(--header-h) + 40px) 0 70px; color: var(--cream); background: radial-gradient(700px 400px at 90% 0, #6e2652, transparent 60%), linear-gradient(160deg, var(--wine-800), var(--wine-900)); overflow: hidden; }
.acc-hero-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.acc-hero .avatar { box-shadow: 0 0 0 3px var(--wine-800), 0 0 0 5px var(--gold-400); }
.acc-hello { flex: 1; min-width: 220px; }
.acc-hello small { letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.7rem; color: var(--gold-300); }
.acc-hello h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 4px 0; }
.acc-hello p { color: rgba(252, 247, 247, 0.7); font-size: 0.95rem; }
.acc-tabs { position: relative; z-index: 2; display: flex; gap: 6px; padding: 7px; margin: -30px auto 34px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; max-width: max-content; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; color: var(--ink-2); font-size: 0.93rem; transition: background 0.35s, color 0.35s; }
.acc-tab:hover { background: var(--blush-50); color: var(--wine-700); }
.acc-tab.is-active { background: var(--wine-700); color: #fff; box-shadow: 0 10px 22px -10px rgba(74, 26, 54, 0.8); }
.tab-dot { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rose-500); color: #fff; font-size: 0.7rem; display: grid; place-items: center; }
@media (max-width: 640px) { .acc-tabs { margin-inline: calc(var(--gutter) * -1); border-radius: 0; max-width: none; justify-content: flex-start; padding-inline: var(--gutter); } .acc-tab { padding: 11px 15px; } .acc-hero { padding-bottom: 56px; } .acc-hero-cta { width: 100%; } .acc-hero-cta .btn { width: 100%; } }
.acc-pane { animation: slide-up 0.6s var(--ease) both; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .acc-grid { grid-template-columns: 1fr; } }
.loading-block { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 70px 0; color: var(--muted); }

.next-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 3.4vw, 40px); border-radius: 34px; color: var(--cream); overflow: hidden; background: radial-gradient(500px 300px at 100% 0, #8a2856, transparent 60%), linear-gradient(135deg, var(--wine-700), var(--wine-900)); box-shadow: var(--shadow-lg); }
.next-card.empty { grid-template-columns: 1fr; background: radial-gradient(500px 300px at 100% 0, #8a6a3a, transparent 60%), linear-gradient(135deg, var(--wine-700), var(--wine-900)); }
.next-card .eyebrow { color: var(--gold-300); margin-bottom: 12px; }
.next-date { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; line-height: 1.05; color: var(--cream); }
.next-date::first-letter { text-transform: uppercase; }
.next-time { color: rgba(252, 247, 247, 0.82); margin-top: 8px; }
.next-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 0.88rem; color: rgba(252, 247, 247, 0.75); align-items: center; }
.next-meta span { display: inline-flex; gap: 8px; align-items: center; }
.next-count { text-align: center; padding: 18px 20px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); }
.next-count small { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.64rem; color: var(--gold-300); }
.countdown { display: flex; gap: 10px; margin-top: 8px; }
.countdown div { min-width: 58px; }
.countdown b { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 500; color: #fff; }
.countdown small { color: rgba(252, 247, 247, 0.6); letter-spacing: 0.1em; }
@media (max-width: 720px) { .next-card { grid-template-columns: 1fr; } .next-count { justify-self: start; } }
.next-card .btn-ghost { --btn-fg: var(--cream); border-color: rgba(252, 247, 247, 0.35); }
.next-card .btn-ghost::before { background: var(--cream); }
.next-card .btn-ghost:hover { color: var(--wine-800); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
@media (max-width: 720px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px 18px; display: grid; gap: 4px; box-shadow: var(--shadow-xs); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-card .ic { color: var(--rose-500); margin-bottom: 6px; }
.stat-card b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--wine-700); font-weight: 600; }
.stat-card b.sm { font-size: 1.3rem; line-height: 1.2; min-height: 2.2rem; display: flex; align-items: flex-end; }
.stat-card span { color: var(--muted); font-size: 0.8rem; }

.loyalty-wrap .loyalty { transform: rotate(-1.5deg); max-width: none; }
.acc-side .loyalty::after { animation-duration: 7s; }
.reward-banner { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 16px 18px; border-radius: 22px; background: linear-gradient(135deg, #fff4dc, #f6e0b0); border: 1px solid #ecd49a; color: #6a4a15; animation: pop 0.7s var(--spring) both; }
.reward-banner .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-500); color: #fff; display: grid; place-items: center; flex: none; animation: breathe 2.6s ease-in-out infinite; }
.reward-banner b { display: block; color: var(--wine-700); }
.reward-banner span { font-size: 0.86rem; }
.reward-banner.birthday { background: linear-gradient(135deg, #fde7e2, #f6cfc8); border-color: #efb8af; color: var(--rose-700); }
.reward-banner.birthday .ic { background: var(--rose-500); }

.appt-list { display: grid; gap: 14px; }
.appt { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-xs); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.appt:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blush-200); }
.appt.is-past { background: #fffcfd; }
.appt.is-past .appt-date { background: var(--line-2); color: var(--muted); }
.appt-date { display: grid; place-content: center; text-align: center; border-radius: 22px; background: linear-gradient(160deg, var(--blush-100), var(--blush-200)); color: var(--wine-700); padding: 12px 6px; line-height: 1; gap: 3px; }
.appt-date b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; }
.appt-date span { font-size: 0.7rem; letter-spacing: 0.2em; font-weight: 500; }
.appt-date small { font-size: 0.72rem; opacity: 0.75; }
.appt-main { min-width: 0; }
.appt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.appt-top h3 { margin-right: auto; }
.appt-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.86rem; color: var(--ink-2); }
.appt-meta span { display: inline-flex; gap: 7px; align-items: center; }
.appt-meta .ic { color: var(--gold-500); }
.appt-note { display: flex; gap: 8px; margin-top: 10px; font-size: 0.84rem; color: var(--muted); font-style: italic; align-items: flex-start; }
.appt-review { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 0.86rem; color: var(--ink-2); flex-wrap: wrap; }
.appt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 560px) { .appt { grid-template-columns: 1fr; padding: 16px; } .appt-date { grid-auto-flow: column; justify-content: start; place-content: center start; align-items: baseline; gap: 10px; padding: 10px 16px; } .appt-date b { font-size: 1.8rem; } }
.chip-n { background: rgba(0, 0, 0, 0.08); border-radius: 999px; padding: 1px 8px; font-size: 0.75rem; }
.chip.is-active .chip-n { background: rgba(255, 255, 255, 0.2); }
.empty-card { text-align: center; padding: 60px 24px; background: #fff; border: 1.5px dashed var(--blush-200); border-radius: 32px; display: grid; gap: 10px; justify-items: center; }
.empty-card > .ic { color: var(--rose-400); }

.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.series-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 26px; box-shadow: var(--shadow-sm); }
.series-top { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.series-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-700); color: var(--gold-300); flex: none; }
.series-svcs { color: var(--ink-2); margin-bottom: 14px; font-size: 0.93rem; }
.series-prog .bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.series-prog .bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--gold-400), var(--rose-500)); transition: width 1.2s var(--ease); }
.series-prog small { color: var(--muted); display: block; margin-top: 6px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.date-chip { display: grid; padding: 8px 14px; border-radius: 14px; border: 1.5px solid var(--blush-200); background: var(--blush-50); text-align: left; transition: all 0.3s var(--ease); line-height: 1.2; }
.date-chip:hover { background: var(--wine-700); border-color: var(--wine-700); color: #fff; transform: translateY(-2px); }
.date-chip b { font-weight: 500; font-size: 0.88rem; }
.date-chip small { font-size: 0.74rem; opacity: 0.7; }

.notices { display: grid; gap: 10px; max-width: 760px; }
.notice { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.notice.is-new { border-color: var(--blush-300); background: var(--blush-50); }
.notice-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-100); color: var(--rose-600); }
.notice.k-warning .notice-ico { background: var(--warn-bg); color: var(--warn); }
.notice.k-reminder .notice-ico { background: #eef3f9; color: var(--info); }
.notice.k-review .notice-ico { background: #f6ecd9; color: var(--gold-600); }
.notice b { font-weight: 500; }
.notice p { font-size: 0.88rem; color: var(--ink-2); margin-top: 2px; }
.notice small { color: var(--muted); font-size: 0.76rem; white-space: nowrap; }

.profile-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 22px; align-items: start; }
@media (max-width: 920px) { .profile-grid { grid-template-columns: 1fr; } }
.danger-zone { border-color: #f1d3d1; background: #fffafa; display: grid; gap: 8px; }
.star-input { display: flex; gap: 6px; justify-content: center; margin: 8px 0 16px; }
.star-input button { border: 0; background: none; color: var(--line); padding: 2px; transition: transform 0.3s var(--spring), color 0.2s; }
.star-input button.on { color: var(--gold-500); }
.star-input button:hover { transform: scale(1.25) rotate(-8deg); }
.mb { margin-bottom: 4px; }
/* calendário compacto dentro de modais/gavetas */
.slot-picker .cal-grid { gap: 4px; }
.slot-picker .cal-day { width: min(100%, 46px); justify-self: center; font-size: 0.9rem; }
.slot-picker .cal-body { min-height: 0; }