/* ==========================================================================
   Pause App — reaproveita as variáveis de marca de assets/css/style.css
   Só carrega nas páginas do app (nunca no site institucional), então os
   tokens/overrides abaixo (--radius, sombras, etc.) ficam isolados aqui.
   ========================================================================== */

:root {
  --radius: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-xs: 0 1px 2px rgba(23, 21, 20, 0.05);
  --shadow-sm: 0 2px 8px rgba(23, 21, 20, 0.06), 0 1px 2px rgba(23, 21, 20, 0.05);
  --shadow-md: 0 12px 28px rgba(23, 21, 20, 0.1), 0 4px 10px rgba(23, 21, 20, 0.06);
  --shadow-lg: 0 24px 56px rgba(23, 21, 20, 0.16), 0 8px 20px rgba(23, 21, 20, 0.08);
  --shadow-glow: 0 0 0 4px rgba(185, 87, 60, 0.14);

  /* Paleta e tipografia oficiais da marca (pause/paleta cromática +
     pause/tipografia) — sobrescreve os tokens institucionais só aqui dentro
     do app.css, então o site institucional (que usa direto o style.css)
     continua exatamente como está. */
  --cream: #f4f0e7;
  --cream-dark: #eae3d2;
  --blush: #f0d9d2;
  --rose-dark: #b9573c;
  --charcoal: #171514;
  --charcoal-soft: #6c6560;
  --white: #ffffff;

  --font-display: 'Krona One', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Bodoni Moda', 'Bodoni MT', Didot, Georgia, serif;

  --gold: #b7a059;
  --gold-light: #d4c384;
  --gold-dark: #93803f;
  --ink: #171514;
  --ink-soft: #2a2622;
}

body {
  background: var(--white);
}

.app-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--charcoal-soft);
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--blush);
  border-top-color: var(--rose-dark);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Toasts ---------- */

#toast-host {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.toast {
  background: var(--charcoal);
  color: var(--cream);
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast-error { background: var(--rose-dark); }
.toast-success { background: var(--charcoal); }

/* ---------- Auth screen ---------- */

.auth-screen-v2 {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 480px) 1fr;
}

@media (max-width: 860px) {
  .auth-screen-v2 { grid-template-columns: 1fr; }
  .auth-photo { display: none; }
}

.auth-panel {
  background: var(--white);
  color: var(--charcoal);
  padding: 40px 40px 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-height: 100vh;
}

/* .logo img no style.css institucional vem branca por padrão (pro header
   flutuando sobre a foto do hero) — nos 3 contextos do app abaixo o fundo é
   sempre claro, então reseta o filtro pra a marca aparecer preta de novo.
   Sem isso ela fica branca em cima de fundo branco, invisível. */
.logo-on-dark img,
.unidade-head .logo img,
.logo-app img { filter: none; }

.auth-panel-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 360px;
  margin: auto 0;
}

.auth-panel-body h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0;
}

.auth-panel-sub { color: var(--charcoal-soft); margin: -10px 0 4px; font-size: 0.92rem; }

.auth-form-v2 .form-field span { color: var(--charcoal-soft); }
.auth-form-v2 .form-field input {
  background: var(--cream);
  border-color: rgba(43, 37, 35, 0.14);
  color: var(--charcoal);
}
.auth-form-v2 .form-field input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 86, 0.16);
}
.auth-form-v2 .check-field { color: var(--charcoal-soft); }
.auth-form-v2 .check-field a { color: var(--gold-dark); }

.link-btn.link-btn-quiet {
  align-self: flex-end;
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  margin-top: -6px;
}
.link-btn.link-btn-quiet:hover { color: var(--gold-dark); }

.link-btn.link-btn-gold { align-self: center; color: var(--gold-dark); font-weight: 600; }
.link-btn.link-btn-gold:hover { color: var(--gold); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(201, 162, 86, 0.25);
}
.btn-gold:hover { background: var(--gold-light); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(43, 37, 35, 0.14);
}

.auth-social-row { display: flex; gap: 12px; justify-content: center; }
.auth-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(43, 37, 35, 0.16);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.5;
}

.auth-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(30,24,22,0.35), rgba(30,24,22,0.5)),
    url('../../assets/img/hero-salao.jpg') center/cover no-repeat;
}

.auth-photo-phrase {
  max-width: 480px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--white);
}
.auth-photo-phrase em { font-family: var(--font-serif); font-style: italic; font-variation-settings: "opsz" 48; text-transform: none; color: var(--blush); }

.auth-form { display: flex; flex-direction: column; gap: 14px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--charcoal-soft);
}

.form-field span { font-weight: 600; color: var(--charcoal); }

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border: 1.5px solid rgba(43,37,35,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--cream);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--rose-dark);
  background: var(--white);
  box-shadow: var(--shadow-glow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .span-2 { grid-column: span 2; }

.auth-hint { font-size: 0.78rem; color: var(--charcoal-soft); text-align: center; margin: 0; }

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
  cursor: pointer;
}

.check-field input { accent-color: var(--rose-dark); width: 17px; height: 17px; flex: none; margin-top: 2px; }
.check-field a { color: var(--rose-dark); text-decoration: underline; }

/* ---------- Unidade screen ---------- */

.unidade-screen {
  min-height: 100vh;
  background: var(--white);
}

.unidade-screen-inner {
  padding: 50px 20px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.unidade-head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.unidade-head h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; color: var(--charcoal); }
.unidade-head p { color: var(--charcoal-soft); max-width: 44ch; }

.unidade-list { display: flex; flex-direction: column; gap: 14px; }

.unidade-card {
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.unidade-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }

.unidade-card-main h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; color: var(--charcoal); margin-bottom: 4px; }
.unidade-card-main p { color: var(--charcoal-soft); font-size: 0.88rem; margin-bottom: 6px; }

.unidade-card-side { display: flex; align-items: center; gap: 14px; }
.unidade-distancia { font-size: 0.8rem; color: var(--rose-dark); font-weight: 600; }

/* ---------- Tags / pills ---------- */

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--blush);
  color: var(--rose-dark);
  font-weight: 600;
}

.tag-muted { background: var(--cream-dark); color: var(--charcoal-soft); }
.tag-dev { background: var(--gold); color: var(--white); }

/* ---------- Buttons (app-only polish; institutional site untouched) ---------- */

.btn {
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- App shell ---------- */

.app-shell-inner { min-height: 100vh; }

.app-header {
  background: var(--white);
  border-bottom: 1px solid rgba(43,37,35,0.15);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-app { flex: none; }
.logo-app img { height: 30px; }

.app-header-mid { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.unidade-pill {
  display: flex;
  align-items: center;
  background: var(--cream-dark);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--charcoal);
}

.app-tabs { display: flex; gap: 6px; }

.app-tab {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.app-tab.active { background: var(--gold); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

.account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 4px 6px 4px 4px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.account-chip:hover { background: var(--cream-dark); }

.account-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-name { font-size: 0.85rem; color: var(--charcoal); }
@media (max-width: 760px) { .account-name { display: none; } }

/* Bottom nav: hidden by default (desktop), shown only under the mobile breakpoint */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid rgba(43,37,35,0.15);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(43,37,35,0.08);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  padding: 6px 4px;
  color: var(--charcoal-soft);
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.bottom-nav-icon { width: 22px; height: 22px; transition: transform 0.2s var(--ease); }
.bottom-nav-icon svg { width: 100%; height: 100%; }
.bottom-nav-label { font-size: 0.65rem; }
.bottom-nav-item.active { color: var(--gold-dark); }
.bottom-nav-item.active .bottom-nav-icon { transform: translateY(-2px) scale(1.08); }

.app-header-actions { display: flex; gap: 8px; }

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(43,37,35,0.16);
  background: var(--cream);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--white); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--rose-dark);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 0 2px var(--white);
}

.cart-badge.is-visible { display: flex; }

.app-main { max-width: 1100px; margin: 0 auto; padding: 36px 24px 100px; }

.back-btn {
  border: none;
  background: none;
  color: var(--rose-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  transition: transform 0.2s var(--ease);
}

.back-btn:hover { transform: translateX(-2px); }

.flow-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.flow-top h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; color: var(--charcoal); }

.link-btn { border: none; background: none; color: var(--rose-dark); font-size: 0.85rem; font-weight: 600; cursor: pointer; padding: 0; transition: opacity 0.2s ease; }
.link-btn:hover { opacity: 0.7; }

/* O style.css institucional define "section { padding: 110px 0 }" (80px no
   mobile) pras seções grandes da landing page — como é seletor de elemento,
   cai também nas nossas <section class="flow-step"> e inflava cada etapa em
   +160-220px de espaço em branco. Reseta aqui, só dentro do app. */
.flow-step { margin-bottom: 30px; padding: 0; animation: riseIn 0.35s var(--ease); }
.flow-step h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; color: var(--charcoal); margin-bottom: 14px; }
.flow-step h2 small { font-family: var(--font-body); font-weight: 400; color: var(--charcoal-soft); font-size: 0.8rem; }

.flow-step input[type="date"] {
  padding: 12px 14px;
  border: 1.5px solid rgba(43,37,35,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.flow-step input[type="date"]:focus { outline: none; border-color: var(--rose-dark); box-shadow: var(--shadow-glow); }

.slots-wrap { margin-top: 18px; }

.flow-step textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(43,37,35,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.flow-step textarea:focus { outline: none; border-color: var(--rose-dark); box-shadow: var(--shadow-glow); }

.hint { color: var(--charcoal-soft); font-size: 0.88rem; }
.hint-erro { color: #b3261e; }
.hint-ok { color: var(--teal, #2fa683); }
.empty-state { color: var(--charcoal-soft); font-size: 0.95rem; padding: 30px 0; text-align: center; }

.prof-secao-titulo { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal-soft); margin: 22px 0 10px; }

.cupom-field { display: flex; gap: 8px; margin-bottom: 6px; }
.cupom-field input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid rgba(43,37,35,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--cream);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.cupom-field input:focus { border-color: var(--rose-dark); background: var(--white); box-shadow: var(--shadow-glow); }
.cupom-field input:disabled { opacity: 0.7; }
.cupom-field .btn { flex: none; }
.prof-secao-simultanea { margin-top: 8px; }

/* ---------- Timeline (agendar) ---------- */

.timeline {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: rgba(43,37,35,0.1);
  border-radius: 100px;
  margin-top: 17px;
  min-width: 12px;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
}

.timeline-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.14);
  color: var(--charcoal-soft);
  transition: all 0.3s var(--ease);
}

.timeline-label {
  font-size: 0.68rem;
  color: var(--charcoal-soft);
  text-align: center;
  max-width: 70px;
  transition: color 0.3s var(--ease);
}

.timeline-node.active .timeline-dot { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); box-shadow: var(--shadow-glow); transform: scale(1.08); }
.timeline-node.active .timeline-label { color: var(--charcoal); font-weight: 600; }
.timeline-node.done .timeline-dot { background: var(--blush); border-color: var(--rose-dark); color: var(--rose-dark); }
.timeline-node.reachable { cursor: pointer; }
.timeline-node.reachable:hover .timeline-dot { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.recap-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 -8px; }
.recap-chip {
  font-size: 0.76rem;
  color: var(--charcoal-soft);
  background: var(--cream-dark);
  padding: 4px 12px;
  border-radius: 100px;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.step-actions .btn { margin-left: auto; }

.summary-card {
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 6px 18px;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43,37,35,0.06);
  font-size: 0.88rem;
}

.summary-row span { color: var(--charcoal-soft); }
.summary-row strong { color: var(--charcoal); text-align: right; }
.summary-row:last-child { border-bottom: none; }
.summary-row.summary-total strong { color: var(--rose-dark); font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; letter-spacing: 0.05em; }

/* ---------- Carrinho multi-categoria ---------- */

.carrinho-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
  border: 1px solid rgba(43,37,35,0.16);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.carrinho-banner-itens { display: flex; flex-direction: column; gap: 6px; }
.carrinho-banner-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: var(--charcoal); }
.carrinho-banner-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(43,37,35,0.1); }
.carrinho-banner-actions span { font-size: 0.85rem; color: var(--charcoal-soft); }

/* ---------- Pause Club (combos e créditos) ---------- */

.creditos-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.credito-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid rgba(201, 162, 86, 0.4);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--charcoal);
}
.credito-chip strong { color: var(--gold-dark); font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.05em; }
.credito-chip small { color: var(--charcoal-soft); font-size: 0.76rem; }

.combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.combo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  border-radius: var(--radius-md);
  padding: 18px;
}
.combo-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.combo-card-head strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.05em; color: var(--charcoal); }
.combo-itens { color: var(--charcoal-soft); font-size: 0.85rem; }

/* ---------- Option list (serviços / profissionais / entrega) ---------- */

.category-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin: 18px 0 8px;
}
.category-label:first-child { margin-top: 0; }

.option-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.option-list:last-of-type { margin-bottom: 0; }

.option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.option-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.option-item.selected { border-color: var(--rose-dark); background: var(--blush); box-shadow: var(--shadow-sm); }

.option-item input { accent-color: var(--rose-dark); width: 19px; height: 19px; flex: none; cursor: pointer; }

.option-main { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.option-main strong { font-size: 0.94rem; color: var(--charcoal); font-weight: 600; }
.option-main small { color: var(--charcoal-soft); font-size: 0.78rem; }
.option-price { color: var(--rose-dark); font-weight: 600; font-size: 0.9rem; }
.option-price-credito { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; color: var(--gold-dark); }
.option-price-credito small { font-weight: 400; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gold-dark); }

.prof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prof-avatar img { width: 100%; height: 100%; object-fit: cover; }

.prof-avatar-fallback {
  background: var(--blush);
  color: var(--rose-dark);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

/* .option-item usado como <button> (tap-to-select, sem checkbox/radio) */
.option-tap {
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  border: 1.5px solid rgba(43,37,35,0.16);
}
.option-tap.selected { border-color: var(--gold); background: rgba(201, 162, 86, 0.12); }
.option-chevron { color: var(--charcoal-soft); font-size: 1.3rem; flex: none; }

/* ---------- Categoria (etapa 1 do agendamento) ---------- */

.categoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.categoria-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.categoria-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.categoria-tile.selected { border-color: var(--gold); background: rgba(201, 162, 86, 0.1); box-shadow: var(--shadow-sm); }
.categoria-icon { font-size: 1.8rem; }
.categoria-label { font-weight: 600; color: var(--charcoal); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- Seleção visual (mock no fluxo estático "Finalização"; dados reais
   da jornada — opcoes de uma etapa SELECAO_VISUAL — reaproveitam essas classes) ---------- */

.finalizacao-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.finalizacao-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.16);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.finalizacao-card.selected { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.finalizacao-card strong { color: var(--charcoal); font-size: 0.88rem; font-weight: 600; }
.finalizacao-card small { color: var(--charcoal-soft); font-size: 0.78rem; }

.finalizacao-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blush) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: flex-start;
  padding: 10px;
  overflow: hidden;
}

.finalizacao-thumb-img { padding: 0; align-items: stretch; }
.finalizacao-thumb-img img { width: 100%; height: 100%; object-fit: cover; }

.finalizacao-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--rose-dark);
  background: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Agendar · Home (dashboard pós-login) ---------- */

.agendar-home { display: flex; flex-direction: column; gap: 28px; }

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}

.home-hero-text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.home-hero-text .eyebrow { color: var(--gold-dark); }
.home-hero-text h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; color: var(--charcoal); margin: 0; }
.home-hero-text > p { color: var(--charcoal-soft); margin: 0 0 6px; }

.home-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.home-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.home-cta-text { display: flex; flex-direction: column; gap: 4px; text-align: left; flex: 1; }
.home-cta-text strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; letter-spacing: 0.05em; color: var(--gold-light); }
.home-cta-text small { color: rgba(250, 246, 242, 0.65); font-size: 0.82rem; }
.home-cta-arrow { font-size: 1.4rem; color: var(--gold-light); }

.home-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.home-quicklink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.16);
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.home-quicklink:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.home-quicklink-icon { width: 22px; height: 22px; flex: none; color: var(--gold-dark); }
.home-quicklink-icon svg { width: 100%; height: 100%; }
.home-quicklink-label { flex: 1; font-weight: 600; }
.home-quicklink-arrow { color: var(--charcoal-soft); }

@media (max-width: 700px) {
  .home-quicklinks { grid-template-columns: repeat(2, 1fr); }
}

.home-club-banner {
  display: flex;
  align-items: flex-start;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-radius: var(--radius-lg);
  color: var(--cream);
}

.home-club-text { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.home-club-eyebrow { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold-light); }
.home-club-text h2 { font-family: var(--font-body); font-size: 1.3rem; margin: 0; color: var(--cream); font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; }
.home-club-text p { margin: 0 0 4px; color: rgba(250, 246, 242, 0.7); font-size: 0.88rem; max-width: 42ch; }

.btn-outline-gold {
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold-light);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }

.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 4px;
}

@media (max-width: 700px) {
  .home-features { grid-template-columns: repeat(2, 1fr); }
  .home-feature:nth-child(3) {
    grid-column: span 2;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.home-feature { display: flex; align-items: flex-start; gap: 14px; }
.home-feature-icon { width: 26px; height: 26px; flex: none; color: var(--gold-dark); }
.home-feature-icon svg { width: 100%; height: 100%; }
.home-feature-text { display: flex; flex-direction: column; gap: 2px; }
.home-feature-text strong { color: var(--charcoal); font-size: 0.92rem; font-weight: 600; }
.home-feature-text small { color: var(--charcoal-soft); font-size: 0.82rem; }

/* ---------- Slots ---------- */

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }

.slot-btn {
  padding: 11px 0;
  border: 1.5px solid rgba(43,37,35,0.1);
  border-radius: 100px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.slot-btn:hover { border-color: var(--rose-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.slot-btn.selected { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); box-shadow: var(--shadow-glow); }
.slot-btn.slot-sugerido { border-color: var(--gold-dark); border-width: 2px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0; }
.slot-btn.slot-sugerido small { color: var(--gold-dark); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; }
.slot-btn.slot-sugerido.selected small { color: var(--white); }

.parear-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(201, 162, 86, 0.1);
  border: 1px solid rgba(201, 162, 86, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--charcoal);
}

/* ---------- Summary bar ---------- */

.flow-summary {
  position: sticky;
  bottom: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(43,37,35,0.16);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.flow-summary > div { display: flex; flex-direction: column; }
.flow-summary span { font-size: 0.78rem; color: var(--charcoal-soft); }
.flow-summary strong { font-size: 1.3rem; font-weight: 400; letter-spacing: 0.05em; color: var(--charcoal); font-family: var(--font-display); }

/* ---------- Produtos ---------- */

.categoria-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.categoria-tabs::-webkit-scrollbar { display: none; }

.categoria-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  border: 1.5px solid rgba(43,37,35,0.14);
  background: var(--white);
  color: var(--charcoal-soft);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.categoria-tab:hover { border-color: rgba(185,87,60,0.35); }

.categoria-tab.selected {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
  color: var(--white);
}

.categoria-tab-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: linear-gradient(135deg, var(--blush), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--rose-dark);
}

.categoria-tab-thumb img { width: 100%; height: 100%; object-fit: cover; }
.categoria-tab.selected .categoria-tab-thumb-fallback { color: var(--rose-dark); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }

.product-card {
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.1);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(185,87,60,0.25); }

.product-thumb {
  position: relative;
  height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blush), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dark);
  font-size: 1.8rem;
  overflow: hidden;
}

.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.06); }

.product-qty-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.product-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; color: var(--charcoal); line-height: 1.2; }
.product-desc {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.product-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; letter-spacing: 0.05em; color: var(--charcoal); }
.product-tag-full { text-align: center; padding: 10px; }

/* ---------- Cart ---------- */

.cart-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: box-shadow 0.2s var(--ease);
}

.cart-item:hover { box-shadow: var(--shadow-sm); }

.cart-item-indisponivel { background: var(--cream); border-color: rgba(166,71,46,0.35); }
.cart-item-indisponivel .cart-item-main strong { color: var(--charcoal-soft); text-decoration: line-through; }

.cart-item-main { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cart-item-main strong { font-size: 0.9rem; color: var(--charcoal); }
.cart-item-main span { font-size: 0.76rem; color: var(--charcoal-soft); }

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--cream-dark);
  border-radius: 100px;
  padding: 3px;
}

.qty-stepper button {
  width: 26px; height: 26px; border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--charcoal);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.qty-stepper button:hover:not(:disabled) { transform: scale(1.08); box-shadow: var(--shadow-sm); }
.qty-stepper button:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; background: transparent; }
.qty-stepper span { min-width: 22px; text-align: center; font-size: 0.9rem; color: var(--charcoal); font-weight: 600; }

.cart-item-total { min-width: 70px; text-align: right; color: var(--charcoal); }

.remove-btn { border: none; background: none; color: var(--charcoal-soft); cursor: pointer; font-size: 0.9rem; transition: color 0.2s ease, transform 0.2s ease; }
.remove-btn:hover { color: var(--rose-dark); transform: scale(1.1); }

/* ---------- Payment / checkout ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 440px);
  align-items: start;
  justify-content: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.checkout-card {
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: riseIn 0.35s var(--ease);
}

/* ---------- Card visual preview ---------- */

.card-visual {
  position: sticky;
  top: 24px;
  aspect-ratio: 1.586 / 1;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--rose-dark) 100%);
  box-shadow: var(--shadow-lg);
  color: var(--cream);
  overflow: hidden;
  animation: riseIn 0.35s var(--ease);
}

.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% -10%, rgba(255,255,255,0.16), transparent 55%);
  pointer-events: none;
}

.card-visual-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.card-visual-chip {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.card-visual-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 48;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0.9;
  text-align: right;
}

.card-visual-number {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
  font-size: clamp(0.9rem, 4vw, 1.3rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.card-visual-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.card-visual-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.card-visual-field small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244,240,231,0.65);
}

.card-visual-field span {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .checkout-layout { grid-template-columns: 1fr; max-width: 440px; }
  .card-visual { position: static; }
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(43,37,35,0.08);
}

.checkout-summary span { color: var(--charcoal-soft); font-size: 0.85rem; }
.checkout-summary strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: 0.05em; color: var(--charcoal); }

.checkout-secure {
  text-align: center;
  font-size: 0.78rem;
  color: var(--charcoal-soft);
}

.pix-codigo {
  width: 100%;
  resize: none;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(43,37,35,0.14);
  background: var(--cream, #faf7f2);
  color: var(--charcoal);
}

.pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.pix-status .spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

/* ---------- Result screen ---------- */

.result-box {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: riseIn 0.4s var(--ease);
}

.result-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.result-ok .result-icon { background: var(--rose-dark); box-shadow: 0 12px 28px rgba(176,104,86,0.35); }
.result-bad .result-icon { background: var(--charcoal-soft); }
.result-pending .result-icon { background: var(--gold); box-shadow: 0 12px 28px rgba(201,161,90,0.35); }

.result-box h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; color: var(--charcoal); }
.result-box p { color: var(--charcoal-soft); max-width: 44ch; }
.result-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- History ---------- */

.history-list {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: none;
  border-bottom: 1px solid rgba(43,37,35,0.12);
  border-radius: 0;
  padding: 14px 18px;
  flex-wrap: wrap;
  transition: background 0.2s var(--ease);
}

.history-list .history-item:last-child { border-bottom: none; }
.history-item:hover { background: var(--cream); }

.history-item-clickable {
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ---------- Linha do tempo do pedido ---------- */

.pedido-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 8px 0 4px;
}

.pedido-timeline-step {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-bottom: 26px;
}

.pedido-timeline-step:last-child { padding-bottom: 0; }

.pedido-timeline-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(43,37,35,0.12);
}

.pedido-timeline-step:last-child::before { display: none; }
.pedido-timeline-step.done::before { background: var(--rose-dark); }

.pedido-timeline-dot {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid rgba(43,37,35,0.14);
  color: var(--charcoal-soft);
}

.pedido-timeline-label { font-size: 0.9rem; color: var(--charcoal-soft); }

.pedido-timeline-step.done .pedido-timeline-dot { background: var(--blush); border-color: var(--rose-dark); color: var(--rose-dark); }
.pedido-timeline-step.done .pedido-timeline-label { color: var(--charcoal); }
.pedido-timeline-step.active .pedido-timeline-dot { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); box-shadow: var(--shadow-glow); }
.pedido-timeline-step.active .pedido-timeline-label { color: var(--charcoal); font-weight: 600; }

.history-item-wide { flex-direction: column; align-items: stretch; }
.history-item-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.history-item-row > div { display: flex; flex-direction: column; gap: 6px; }

.history-actions { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(43,37,35,0.06); }

.rate-box {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(43,37,35,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rate-label { font-size: 0.8rem; color: var(--charcoal-soft); font-weight: 600; }
.rate-stars { display: flex; gap: 4px; }

.star-btn {
  border: none;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: rgba(43,37,35,0.2);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn.active { color: var(--gold); }
.star-btn:hover { transform: scale(1.15); }

.rate-comment {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(43,37,35,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.86rem;
  background: var(--cream);
  color: var(--charcoal);
  resize: vertical;
}

.used-products {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(43,37,35,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.used-product-row { display: flex; align-items: center; gap: 12px; }

.used-product-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dark);
  font-size: 1rem;
  overflow: hidden;
  flex: none;
}

.used-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.history-item > div:not(.history-item-row) { display: flex; flex-direction: column; gap: 6px; }
.history-item-side { align-items: flex-end !important; }
.history-sub { font-size: 0.8rem; color: var(--charcoal-soft); }
.history-note { font-size: 0.76rem; color: var(--charcoal-soft); opacity: 0.75; }

.status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.status-pill.ok { background: var(--teal-soft, #e4f6f0); color: var(--teal, #2fa683); }
.status-pill.bad { background: var(--blush); color: var(--rose-dark); }
.status-pill.pending { background: var(--cream-dark); color: var(--charcoal-soft); }

/* ---------- Perfil / conta ---------- */

.account-card {
  background: var(--white);
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.account-card-title {
  padding: 14px 18px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  flex: none;
}

.account-identity > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-identity strong { font-size: 0.98rem; color: var(--charcoal); font-weight: 600; }
.account-identity span { font-size: 0.82rem; color: var(--charcoal-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-bottom: 1px solid rgba(43,37,35,0.06);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.account-card .account-row:last-child { border-bottom: none; }
.account-row:hover { background: var(--cream); }

.account-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(43,37,35,0.1);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex: none;
}
.account-row-icon svg { width: 100%; height: 100%; }

.account-row-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-row-main strong { font-size: 0.9rem; color: var(--charcoal); font-weight: 600; }
.account-row-main small { font-size: 0.78rem; color: var(--charcoal-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-row-chevron { color: var(--charcoal-soft); font-size: 1.2rem; flex: none; }

.account-row-danger {
  justify-content: center;
  color: var(--rose-dark);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(43,37,35,0.16);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-md);
  background: var(--white);
}

.account-fav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(43,37,35,0.06);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.account-card .account-fav-row:last-child { border-bottom: none; }

@media (max-width: 720px) {
  .app-header { padding: 12px 16px; }
  .app-header-mid { width: auto; }
  .app-tabs { display: none; }
  .bottom-nav { display: flex; }
  .app-main { padding: 26px 16px 104px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .form-grid.form-grid-tight { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step, .checkout-card, .card-visual, .result-box { animation: none; }
  .btn, .option-item, .product-card, .slot-btn, .unidade-card, .history-item, .cart-item { transition: none; }
}
