/* ==========================================================================
   AgendarPro — Design System
   1. Tokens        6. Formulários      11. Landing
   2. Base          7. Feedback         12. Autenticação
   3. Animações     8. Cabeçalhos       13. Painel
   4. Layout        9. Offcanvas        14. Página pública
   5. Botões        10. Cards           15. Responsivo
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   A cor --brand é sobrescrita por prestador (no <body>), então todo o
   sistema e o link compartilhado se adaptam à identidade de cada conta.
   ------------------------------------------------------------------------- */
:root {
  --brand: #4f46e5;
  --brand-ink: color-mix(in srgb, var(--brand) 76%, #06010f);
  --brand-strong: color-mix(in srgb, var(--brand) 88%, #06010f);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #ffffff);
  --brand-softer: color-mix(in srgb, var(--brand) 5%, #ffffff);
  --brand-line: color-mix(in srgb, var(--brand) 26%, #ffffff);
  --brand-ring: color-mix(in srgb, var(--brand) 22%, transparent);
  --brand-glow: color-mix(in srgb, var(--brand) 34%, transparent);
  --brand-contrast: #ffffff;

  --ink: #0d1220;
  --ink-soft: #3b4356;
  --muted: #6c7488;
  --muted-soft: #98a0b3;

  --bg: #f3f4f9;
  --surface: #ffffff;
  --surface-muted: #f8f9fc;
  --surface-sunken: #f1f2f8;

  --line: #e7e9f2;
  --line-strong: #d7dae8;

  --success: #0f9b6c;
  --success-soft: #e8f7f1;
  --danger: #d92d4d;
  --danger-soft: #fdeef1;
  --warning: #b4700a;
  --warning-soft: #fdf3e3;
  --info: #2563eb;
  --info-soft: #eaf1fe;

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 8px -3px rgba(15, 23, 42, 0.1), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 30px -16px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 34px 64px -28px rgba(15, 23, 42, 0.3), 0 8px 18px -12px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 18px 34px -20px var(--brand-glow);

  --ease: cubic-bezier(0.22, 0.85, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.26s;

  --header-height: 68px;
  --container: 1180px;
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

/* Precisa vencer os display: grid/flex dos componentes que alternamos por JS. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-landing,
.page-auth {
  --container: 1160px;
  background-color: #fff;
  overflow-x: hidden;
}

.page-landing .text-gradient {
  background-image: linear-gradient(105deg, var(--brand) 8%, #7c3aed 52%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

body.has-offcanvas {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
}
h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
}
h3 {
  font-size: 1.05rem;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brand-ink);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--brand-strong);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-ring);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.muted {
  color: var(--muted);
}

.text-gradient {
  color: var(--brand);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   3. Animações
   ------------------------------------------------------------------------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -22px, 0) scale(1.04);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes shimmer {
  from {
    background-position: -180% 0;
  }
  to {
    background-position: 180% 0;
  }
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes bar-grow-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes donut-draw {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--brand-ring);
  }
  50% {
    box-shadow: 0 0 0 10px transparent;
  }
}

/* Entrada por scroll: o JS adiciona .is-revealed. Sem JS, tudo fica visível. */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js-off [data-reveal] {
  opacity: 1;
  transform: none;
}

main {
  animation: fade-in 0.45s var(--ease) both;
}

/* -------------------------------------------------------------------------
   4. Layout
   ------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  --container: 760px;
}

.stack {
  display: grid;
  gap: 20px;
}

.section {
  padding-block: clamp(56px, 7vw, 104px);
}

.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* -------------------------------------------------------------------------
   5. Botões
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-color: var(--ink);
  --btn-border: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  height: 42px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-color);
  -webkit-text-fill-color: var(--btn-color);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease);
}

a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
a.btn:focus {
  color: var(--btn-color);
  -webkit-text-fill-color: var(--btn-color);
}

.btn .icon {
  color: inherit;
  stroke: currentColor;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  --btn-bg: var(--brand);
  --btn-color: var(--brand-contrast);
  --btn-border: transparent;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover:not(:disabled) {
  box-shadow: 0 22px 40px -18px var(--brand-glow);
}

.btn--outline {
  --btn-bg: var(--surface);
  --btn-border: var(--line-strong);
}

.btn--outline:hover:not(:disabled) {
  --btn-border: var(--brand-line);
  --btn-color: var(--brand-ink);
  background: var(--brand-softer);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-border: transparent;
  --btn-color: var(--ink-soft);
}

.btn--ghost:hover:not(:disabled) {
  --btn-bg: var(--surface-sunken);
  --btn-color: var(--ink);
}

.btn--soft {
  --btn-bg: var(--brand-soft);
  --btn-border: var(--brand-line);
  --btn-color: var(--brand-ink);
}

.btn--destructive {
  --btn-bg: var(--danger);
  --btn-color: #fff;
  --btn-border: transparent;
}

.btn--destructive-ghost {
  --btn-bg: transparent;
  --btn-border: transparent;
  --btn-color: var(--danger);
}

.btn--destructive-ghost:hover:not(:disabled) {
  --btn-bg: var(--danger-soft);
}

.btn--sm {
  height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn--icon {
  width: 42px;
  padding: 0;
}

.btn--sm.btn--icon {
  width: 34px;
}

.btn--block {
  width: 100%;
}

.link-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color var(--speed) var(--ease);
}

.link-button:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   6. Formulários
   ------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 4px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > label,
.field__label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field__optional {
  font-weight: 500;
  color: var(--muted-soft);
}

.field__hint.is-error {
  color: var(--danger);
}

.field__hint.is-success {
  color: var(--success);
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='tel'],
input[type='time'],
input[type='date'],
input[type='number'],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.94rem;
  transition:
    border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    background-color var(--speed) var(--ease);
}

textarea {
  resize: vertical;
  min-height: 92px;
}

select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted-soft);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-soft);
}

input[readonly] {
  background: var(--surface-sunken);
  color: var(--ink-soft);
}

.input-prefix,
.input-affix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix__symbol,
.input-affix__text {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}

.input-prefix input,
.input-affix input {
  padding-left: 42px;
}

.input-prefix--suffix .input-prefix__symbol {
  left: auto;
  right: 14px;
}

.input-prefix--suffix input {
  padding-left: 14px;
  padding-right: 48px;
}

.input-affix--url .input-affix__text {
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Cartões selecionáveis (serviço, cor, opções) */
.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.option-card:hover {
  border-color: var(--brand-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__body {
  flex: 1;
  min-width: 0;
}

.option-card__title {
  font-weight: 650;
  font-size: 0.95rem;
}

.option-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.option-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.option-card__meta .icon {
  width: 14px;
  height: 14px;
}

.option-card__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: all var(--speed) var(--ease);
}

.option-card__check .icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.option-card:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-softer);
  box-shadow: var(--shadow-brand);
}

.option-card:has(input:checked) .option-card__check {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-contrast);
}

.option-card:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Seletor de cor da marca */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 2px #fff, var(--shadow-xs);
  cursor: pointer;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.swatch--dark {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16), var(--shadow-xs);
}

.swatch:hover {
  transform: translateY(-2px) scale(1.05);
}

.swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.swatch:has(input:checked),
.swatch.is-active {
  border-color: var(--ink);
  transform: scale(1.06);
}

.swatch--dark.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 2px #fff, var(--shadow-xs);
}

.color-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

input[type='color'] {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
}

input[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type='color']::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
}

input[type='color']::-moz-color-swatch {
  border: none;
  border-radius: 10px;
}

/* Upload de logo */
.upload {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.upload__preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--brand);
  color: var(--brand-contrast);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--shadow-brand);
}

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

.upload__actions {
  display: grid;
  gap: 8px;
}

.upload__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upload input[type='file'] {
  display: none;
}

/* -------------------------------------------------------------------------
   7. Feedback (badges, alertas, toasts, diálogo, estados vazios)
   ------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.badge--pending {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: color-mix(in srgb, var(--warning) 22%, transparent);
}
.badge--confirmed {
  background: var(--info-soft);
  color: var(--info);
  border-color: color-mix(in srgb, var(--info) 22%, transparent);
}
.badge--completed {
  background: var(--success-soft);
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 22%, transparent);
}
.badge--cancelled {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 22%, transparent);
}

.badge--additional {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-ink);
  border-color: var(--brand-line);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
}

.badge-pill .icon {
  width: 16px;
  height: 16px;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-ring 2.6s var(--ease-out) infinite;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.89rem;
  animation: fade-up 0.4s var(--ease) both;
}

.alert .icon {
  margin-top: 2px;
}

.alert--error {
  background: var(--danger-soft);
  color: color-mix(in srgb, var(--danger) 82%, #000);
  border-color: color-mix(in srgb, var(--danger) 20%, transparent);
}

.alert--info {
  background: var(--info-soft);
  color: color-mix(in srgb, var(--info) 82%, #000);
  border-color: color-mix(in srgb, var(--info) 18%, transparent);
}

.alert--success {
  background: var(--success-soft);
  color: color-mix(in srgb, var(--success) 82%, #000);
  border-color: color-mix(in srgb, var(--success) 20%, transparent);
}

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 40px));
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #101625;
  color: #f4f6fb;
  box-shadow: var(--shadow-lg);
  animation: slide-in-right 0.45s var(--ease-out) both;
  border-left: 3px solid var(--brand);
}

.toast--success {
  border-left-color: #34d399;
}
.toast--error {
  border-left-color: #fb7185;
}

.toast__message {
  flex: 1;
  font-size: 0.9rem;
}

.toast__close {
  border: 0;
  background: none;
  color: inherit;
  opacity: 0.65;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity var(--speed);
}

.toast__close:hover {
  opacity: 1;
}

.live-alerts {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 20px;
  z-index: 85;
  display: grid;
  gap: 10px;
  width: min(400px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  pointer-events: none;
}

.live-alert {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: fade-up 0.35s var(--ease-out) both;
}

.live-alert--created {
  border-left: 4px solid var(--success);
}

.live-alert--cancelled {
  border-left: 4px solid var(--danger);
}

.live-alert__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--success-soft);
  color: var(--success);
}

.live-alert--cancelled .live-alert__icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.live-alert__icon svg {
  width: 18px;
  height: 18px;
}

.live-alert__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.live-alert__body strong {
  font-size: 0.95rem;
}

.live-alert__body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.live-alert__link {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.live-alert__close {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.7;
}

.live-alert__close:hover {
  opacity: 1;
  color: var(--ink);
}

.dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  width: min(430px, calc(100vw - 32px));
  animation: scale-in 0.3s var(--ease-out);
}

.dialog::backdrop {
  background: rgba(10, 14, 25, 0.55);
  backdrop-filter: blur(3px);
  animation: fade-in 0.3s;
}

.dialog__inner {
  padding: 26px;
  display: grid;
  gap: 10px;
}

.dialog__title {
  font-size: 1.15rem;
}

.dialog__description {
  color: var(--muted);
  font-size: 0.92rem;
}

.dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* Sheet: modal centralizado no desktop e no celular */
.sheet {
  border: 0;
  padding: 0;
  inset: 0;
  margin: auto;
  height: fit-content;
  width: min(560px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: scale-in 0.32s var(--ease-out);
}

.sheet::backdrop {
  background: rgba(10, 14, 25, 0.55);
  backdrop-filter: blur(3px);
  animation: fade-in 0.3s;
}

.sheet__form {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 720px);
}

.sheet__header,
.sheet__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
}

.sheet__header {
  border-bottom: 1px solid var(--line);
}

.sheet__footer {
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.sheet__title {
  font-size: 1.15rem;
}

.sheet__subtitle {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
}

.sheet__body {
  display: grid;
  gap: 22px;
  flex: 1;
  min-height: 0;
  padding: 20px 22px 24px;
  overflow: auto;
}

.sheet__body .field {
  gap: 12px;
}

.sheet__body .field__hint {
  margin: 0;
}

.sheet__body .alert {
  margin: 0;
}

.sheet--appointment {
  width: min(640px, calc(100vw - 32px));
}

.sheet--appointment .sheet__form {
  max-height: min(88vh, 800px);
}

.appointment-sheet__who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.appointment-sheet__who .sheet__title {
  margin: 0;
}

.sheet--appointment .sheet__body {
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: auto;
}

.sheet--appointment .appointment {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.appointment-sheet__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: none;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
}

.appointment-sheet__tab {
  border: 0;
  background: none;
  padding: 12px 10px 11px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.appointment-sheet__tab:hover {
  color: var(--ink);
}

.appointment-sheet__tab.is-active {
  color: var(--brand-ink);
  border-bottom-color: var(--brand);
}

.appointment__pane[hidden] {
  display: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip--action {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.chip--action:hover {
  border-color: var(--brand-line);
  color: var(--brand-ink);
  background: var(--brand-softer);
}

.chip--action.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.day-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-picker__day {
  position: relative;
  display: grid;
  cursor: pointer;
}

.day-picker__day input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.day-picker__day span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-soft);
  transition: all var(--speed) var(--ease);
}

.day-picker__day:hover span {
  border-color: var(--brand-line);
  color: var(--brand-ink);
}

.day-picker__day:has(input:checked) span {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.day-picker__day:has(input:focus-visible) span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.range-list {
  display: grid;
  gap: 10px;
}

.range-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.range-row input[type='time'] {
  flex: 1;
  min-width: 120px;
}

.range-row__sep {
  font-size: 0.84rem;
  color: var(--muted);
}

.repeat-toggle {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  cursor: pointer;
}

.repeat-toggle.is-on {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 20%, transparent);
  color: color-mix(in srgb, var(--success) 82%, #000);
}

.repeat-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.repeat-toggle__switch {
  flex: none;
  width: 44px;
  height: 26px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  transition: background var(--speed) var(--ease);
}

.repeat-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(10, 14, 25, 0.18);
  transition: transform var(--speed) var(--ease);
}

.repeat-toggle:has(input:checked) .repeat-toggle__switch,
.repeat-toggle.is-on .repeat-toggle__switch {
  background: var(--success);
}

.repeat-toggle:has(input:checked) .repeat-toggle__switch::after,
.repeat-toggle.is-on .repeat-toggle__switch::after {
  transform: translateX(18px);
}

.repeat-toggle:has(input:focus-visible) .repeat-toggle__switch {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.repeat-toggle__copy {
  display: grid;
  gap: 2px;
}

.repeat-toggle__copy p {
  font-size: 0.84rem;
  color: var(--muted);
}

.repeat-toggle.is-on .repeat-toggle__copy p {
  color: inherit;
  opacity: 0.88;
}

.slot-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.slot-badge--repeat {
  background: var(--success-soft);
  color: color-mix(in srgb, var(--success) 82%, #000);
}

@media (max-width: 760px) {
  .sheet {
    width: min(560px, calc(100vw - 24px));
    max-height: 88vh;
    margin: auto;
    border-radius: var(--radius-lg);
    animation: scale-in 0.32s var(--ease-out);
  }

  .sheet__form {
    max-height: 92vh;
  }

  .sheet__footer {
    position: sticky;
    bottom: 0;
  }

  .sheet__footer .btn {
    flex: 1;
  }

  .day-picker {
    gap: 6px;
  }

  .day-picker__day span {
    min-height: 40px;
    font-size: 0.76rem;
  }
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: clamp(32px, 6vw, 60px) 24px;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 6px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  animation: breathe 4s var(--ease) infinite;
}

.empty-state__icon .icon {
  width: 26px;
  height: 26px;
}

.empty-state p {
  color: var(--muted);
  max-width: 42ch;
}

.empty-state .btn {
  margin-top: 12px;
}

.onboarding-chip {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.setup-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.setup-item.is-done {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 18%, transparent);
}

.setup-item__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: var(--surface-sunken);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.setup-item.is-done .setup-item__mark {
  background: var(--success);
  color: #fff;
}

.setup-item.is-done .setup-item__mark .icon {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.setup-item__copy {
  flex: 1;
  min-width: 180px;
}

.setup-item__copy p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.setup-item__wait {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.setup-card__done {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.onboarding-panel {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 28px 26px;
}

.onboarding-panel__intro {
  display: grid;
  justify-items: start;
  gap: 6px;
  max-width: 52ch;
}

.onboarding-panel__intro h3 {
  font-size: 1.25rem;
}

.onboarding-panel__intro p {
  color: var(--muted);
}

.onboarding-tips {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-tips li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.onboarding-tips strong {
  font-size: 0.92rem;
}

.onboarding-tips span {
  font-size: 0.84rem;
  color: var(--muted);
}

.onboarding {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 0;
  padding: 0;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  width: min(500px, calc(100vw - 32px));
  animation: scale-in 0.34s var(--ease-out);
}

.onboarding::backdrop {
  background: rgba(10, 14, 25, 0.55);
  backdrop-filter: blur(4px);
}

.onboarding__inner {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 28px 26px 24px;
}

.onboarding__close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.onboarding__progress {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.onboarding__index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.onboarding__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.onboarding__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.onboarding__dots span.is-current,
.onboarding__dots span.is-done {
  background: var(--brand);
}

.onboarding__step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.onboarding__title {
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.onboarding__text {
  max-width: 42ch;
  color: var(--muted);
}

.onboarding__step .onboarding-tips {
  text-align: left;
  margin-top: 8px;
}

.onboarding__actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.audience-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 880px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
  }
}

.audience-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 26px;
}

.audience-card h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.audience-card__lead {
  color: var(--muted);
  max-width: 46ch;
}

.journey-steps {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-steps li {
  display: grid;
  gap: 2px;
  padding: 12px 14px 12px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  position: relative;
  counter-increment: journey;
}

.journey-steps li::before {
  content: counter(journey);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.journey-steps strong {
  font-size: 0.92rem;
}

.journey-steps span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* -------------------------------------------------------------------------
   8. Cabeçalhos (site e painel)
   ------------------------------------------------------------------------- */
.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    background-color var(--speed) var(--ease);
}

.site-header.is-scrolled,
.app-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px -22px rgba(15, 23, 42, 0.5);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.site-header__inner,
.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.app-header__left,
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-header__actions,
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand__mark--lg {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.brand__mark--lg .icon {
  width: 26px;
  height: 26px;
}

.brand__name {
  font-size: 1.05rem;
}

.menu-trigger {
  gap: 8px;
}

.site-header__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.site-header__link:hover {
  background: var(--surface-sunken);
  color: var(--ink);
}

.site-header__links {
  display: none;
  align-items: center;
  gap: 2px;
}

.site-header__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.site-header__links a:hover {
  background: var(--surface-sunken);
  color: var(--ink);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition:
    border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.user-chip:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.user-chip__text {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.user-chip__name {
  font-size: 0.85rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip__meta {
  font-size: 0.74rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand);
  color: var(--brand-contrast);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}

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

.avatar--xs {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.avatar--lg {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  font-size: 1.35rem;
  box-shadow: var(--shadow-brand);
}

/* -------------------------------------------------------------------------
   9. Offcanvas
   ------------------------------------------------------------------------- */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 25, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.34s var(--ease);
}

.offcanvas__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(340px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translate3d(-102%, 0, 0);
  transition: transform 0.42s var(--ease-out);
}

.offcanvas.is-open .offcanvas__backdrop {
  opacity: 1;
}

.offcanvas.is-open .offcanvas__panel {
  transform: none;
}

.offcanvas__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.offcanvas__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.offcanvas__footer {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  background: var(--surface-muted);
}

.offcanvas__label {
  padding: 12px 10px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink-soft);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.offcanvas.is-open .menu-item {
  animation: fade-up 0.42s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 45ms + 90ms);
}

.menu-item:hover {
  background: var(--surface-sunken);
  color: var(--ink);
  transform: translateX(3px);
}

.menu-item__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface-sunken);
  color: var(--ink-soft);
  flex: none;
  transition: all var(--speed) var(--ease);
}

.menu-item__text {
  display: grid;
  min-width: 0;
}

.menu-item__title {
  font-size: 0.92rem;
  font-weight: 650;
}

.menu-item__hint {
  font-size: 0.76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.menu-item:visited {
  color: var(--ink-soft);
}

.menu-item.is-active:visited {
  color: var(--brand-ink);
}

.menu-item.is-active .menu-item__icon {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.menu-user__text {
  display: grid;
  min-width: 0;
}

.menu-user__name {
  font-size: 0.92rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-user__meta {
  font-size: 0.78rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Barra lateral fixa no painel, a partir de 960px. No celular continua gaveta. */
@media (min-width: 960px) {
  .page-dashboard {
    --sidebar-width: 280px;
    padding-left: var(--sidebar-width);
    transition: padding-left 0.42s var(--ease-out);
  }

  html.is-sidebar-collapsed .page-dashboard,
  .page-dashboard.is-sidebar-collapsed {
    --sidebar-width: 0px;
  }

  .page-dashboard #app-menu {
    inset: 0 auto 0 0;
    width: 280px;
    z-index: 45;
    display: block !important;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.42s var(--ease-out);
  }

  html.is-sidebar-collapsed .page-dashboard #app-menu,
  .page-dashboard.is-sidebar-collapsed #app-menu {
    transform: translate3d(-102%, 0, 0);
  }

  .page-dashboard #app-menu .offcanvas__backdrop {
    display: none;
  }

  .page-dashboard #app-menu .offcanvas__panel {
    pointer-events: auto;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-right: 1px solid var(--line);
  }

  .page-dashboard #app-menu .app-sidebar__close {
    display: none;
  }

  .page-dashboard #app-menu .menu-item {
    animation: none;
  }

  .page-dashboard.has-offcanvas {
    overflow: auto;
  }
}

/* -------------------------------------------------------------------------
   10. Cards
   ------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-line);
}

.card--flush {
  overflow: hidden;
}

.card--brand {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.card--brand .card__title,
.card--brand h1,
.card--brand h2,
.card--brand h3 {
  color: #fff;
}

.card--brand .card__description,
.card--brand p {
  color: rgba(255, 255, 255, 0.82);
}

.card--glass {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(14px);
}

.card__header {
  display: grid;
  gap: 8px;
  padding: 20px 22px 0;
}

.card__header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 700;
}

.card__title .icon {
  color: var(--brand-ink);
}

.card--brand .card__title .icon {
  color: inherit;
}

.card__description {
  font-size: 0.88rem;
  color: var(--muted);
}

.card__content {
  padding: 20px 22px;
}

.card__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.card__header + .card__content {
  padding-top: 18px;
}

/* Cabeçalho de página em card, para nada ficar solto na tela. */
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}

.page-head__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-head__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 700;
}

.page-head__subtitle {
  font-size: 0.88rem;
  color: var(--muted);
}

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  flex: none;
}

.icon-badge .icon {
  width: 20px;
  height: 20px;
}

.icon-badge--solid {
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: var(--shadow-brand);
}

.icon-badge--success {
  background: var(--success-soft);
  color: var(--success);
}

.icon-badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

/* -------------------------------------------------------------------------
   11. Landing
   ------------------------------------------------------------------------- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.lp-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  pointer-events: none;
  animation: float-slow 16s ease-in-out infinite;
}

.lp-hero__orb--one {
  width: 460px;
  height: 460px;
  top: -180px;
  left: -120px;
  background: var(--brand);
}

.lp-hero__orb--two {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 80px;
  background: #22d3ee;
  animation-delay: -6s;
}

.lp-hero__orb--three {
  width: 220px;
  height: 220px;
  left: 42%;
  bottom: -80px;
  background: #a78bfa;
  opacity: 0.28;
  animation-delay: -10s;
}

.lp-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 979px) {
  .lp-hero__visual {
    order: -1;
    padding: 0 0 24px;
  }

  .lp-hero__phone {
    width: min(38%, 168px);
    right: 8px;
    bottom: 0;
  }
}

@media (min-width: 980px) {
  .lp-hero__grid {
    grid-template-columns: 0.98fr 1.02fr;
  }
}

.lp-hero__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.lp-hero__title {
  font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem);
  letter-spacing: -0.038em;
  max-width: 16ch;
}

.lp-hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  color: var(--muted);
  max-width: 52ch;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 46ch;
}

.lp-hero__proof p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.avatar-stack {
  display: flex;
  flex: none;
}

.avatar-stack__item {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tone, var(--brand));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: var(--shadow-xs);
}

.avatar-stack__item + .avatar-stack__item {
  margin-left: -10px;
}

.lp-hero__visual {
  position: relative;
  min-height: 280px;
  padding: 8px 72px 36px 0;
}

.lp-hero__screen {
  position: relative;
  z-index: 1;
}

.lp-hero__phone {
  position: absolute;
  width: min(42%, 220px);
  right: 0;
  bottom: 0;
  z-index: 3;
}

.device {
  margin: 0;
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.device--browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f3f4f8;
  border-bottom: 1px solid var(--line);
}

.device__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.device__bar span:nth-child(1) {
  background: #f87171;
}

.device__bar span:nth-child(2) {
  background: #fbbf24;
}

.device__bar span:nth-child(3) {
  background: #34d399;
}

.device__bar p {
  flex: 1;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: #fff;
  font-size: 0.68rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device--phone {
  width: min(100%, 280px);
  margin-inline: auto;
  padding: 12px 11px 14px;
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--brand) 12%, transparent);
}

.device--phone img {
  border-radius: 26px;
}

.device__notch {
  width: 88px;
  height: 8px;
  margin: 2px auto 10px;
  border-radius: var(--pill);
  background: #374151;
}

.lp-hero__phone.device--phone {
  width: min(42%, 220px);
  margin-inline: 0;
}

.lp-devices {
  display: grid;
  gap: 32px;
  justify-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

@media (min-width: 760px) {
  .lp-devices {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.lp-devices figcaption {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.lp-devices figcaption strong {
  color: var(--ink);
  font-size: 1rem;
}

.lp-shots {
  display: grid;
  gap: 18px;
}

@media (min-width: 880px) {
  .lp-shots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-shots .device--browser figcaption {
  padding: 14px 12px 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.lp-shots .device--browser img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.lp-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: float-slow 10s ease-in-out infinite;
}

.lp-float--star {
  width: 28px;
  height: 28px;
  top: 12px;
  right: 18px;
  background: conic-gradient(from 20deg, #fbbf24, #f59e0b, #fbbf24);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.lp-float--cube {
  width: 22px;
  height: 22px;
  left: -6px;
  top: 38%;
  border-radius: 6px;
  background: linear-gradient(145deg, #a78bfa, var(--brand));
  transform: rotate(18deg);
  animation-delay: -4s;
  box-shadow: var(--shadow-sm);
}

.lp-float--orb {
  width: 72px;
  height: 72px;
  right: -18px;
  bottom: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, #60a5fa 55%, transparent);
  filter: blur(2px);
  animation-delay: -7s;
}

.dash-mock {
  display: grid;
  grid-template-columns: 56px 1fr;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 420px;
  animation: float-slow 14s ease-in-out infinite;
}

.dash-mock__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  background: color-mix(in srgb, var(--brand) 6%, #f8f7ff);
  border-right: 1px solid var(--line);
}

.dash-mock__dot {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--brand);
  margin-bottom: 6px;
}

.dash-mock__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
}

.dash-mock__icon .icon {
  width: 16px;
  height: 16px;
}

.dash-mock__icon.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.dash-mock__main {
  display: grid;
  gap: 14px;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, #fbfbfe 0%, #fff 40%);
}

.dash-mock__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dash-mock__hello {
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.dash-mock__sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.dash-mock__chip {
  font-size: 0.72rem;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  white-space: nowrap;
}

.dash-mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dash-mock__kpi {
  padding: 10px 11px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.dash-mock__kpi span {
  font-size: 0.68rem;
  color: var(--muted);
}

.dash-mock__kpi strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.dash-mock__spark {
  display: block;
  height: 4px;
  margin-top: 8px;
  border-radius: var(--pill);
}

.dash-mock__spark--a {
  background: linear-gradient(90deg, #c4b5fd, var(--brand));
  width: 78%;
}

.dash-mock__spark--b {
  background: linear-gradient(90deg, #86efac, var(--success));
  width: 64%;
}

.dash-mock__spark--c {
  background: linear-gradient(90deg, #93c5fd, var(--info));
  width: 52%;
}

.dash-mock__split {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 10px;
  min-width: 0;
}

.dash-mock__list,
.dash-mock__side {
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.dash-mock__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.dash-mock__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.dash-mock__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.dash-mock__time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}

.dash-mock__who {
  display: grid;
  font-size: 0.68rem;
  color: var(--muted);
  min-width: 0;
}

.dash-mock__who b {
  color: var(--ink);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-mock__list .badge {
  font-size: 0.62rem;
  padding: 2px 7px;
}

.dash-mock__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.dash-mock__days span {
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--muted);
  background: var(--surface-muted);
}

.dash-mock__days .is-today {
  background: var(--brand);
  color: #fff;
}

.dash-mock__ring {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 12px auto 4px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 72%, var(--line) 0);
  display: grid;
  place-items: center;
  text-align: center;
}

.dash-mock__ring::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.dash-mock__ring strong,
.dash-mock__ring small {
  position: relative;
  z-index: 1;
}

.dash-mock__ring strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.dash-mock__ring small {
  font-size: 0.65rem;
  color: var(--muted);
}

.lp-trust {
  padding-block: 28px 8px;
}

.lp-trust__kicker {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.lp-trust__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
  padding: 0;
}

@media (min-width: 760px) {
  .lp-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-trust__grid li {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.lp-trust__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand-softer);
  color: var(--brand);
  border: 1px solid var(--brand-line);
}

.lp-features {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 960px) {
  .lp-features {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
    gap: 56px;
  }

  .lp-features__intro {
    position: sticky;
    top: calc(var(--header-height) + 28px);
  }
}

.lp-features__intro {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.lp-features__intro h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem);
  max-width: 16ch;
}

.lp-features__intro p {
  color: var(--muted);
  max-width: 42ch;
}

.lp-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .lp-features__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  align-content: start;
}

.feature-card h3 {
  font-size: 1.02rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  transition: all 0.4s var(--ease-out);
}

.feature-card__icon .icon {
  width: 22px;
  height: 22px;
}

.feature-card__icon--violet {
  background: #f3e8ff;
  color: #7c3aed;
}

.feature-card__icon--orange {
  background: #ffedd5;
  color: #c2410c;
}

.feature-card__icon--green {
  background: var(--success-soft);
  color: var(--success);
}

.feature-card__icon--blue {
  background: var(--info-soft);
  color: var(--info);
}

.feature-card:hover .feature-card__icon {
  color: #fff;
  transform: translateY(-3px) rotate(-6deg);
  box-shadow: var(--shadow-brand);
}

.feature-card:hover .feature-card__icon--violet,
.feature-card:hover .feature-card__icon--orange,
.feature-card:hover .feature-card__icon--green,
.feature-card:hover .feature-card__icon--blue,
.feature-card:hover .feature-card__icon {
  background: var(--brand);
  color: #fff;
}

.lp-showcase-section {
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 70%);
}

.lp-showcase {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (min-width: 960px) {
  .lp-showcase {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

@media (max-width: 959px) {
  .lp-float-card {
    display: none;
  }
}

.lp-showcase__visual {
  display: grid;
  justify-items: center;
  min-height: 0;
}

.wa-phone {
  width: min(100%, 340px);
  margin: 0;
  padding: 12px 11px 16px;
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--brand) 12%, transparent);
}

.wa-phone__notch {
  width: 88px;
  height: 8px;
  margin: 2px auto 10px;
  border-radius: var(--pill);
  background: #374151;
}

.wa-phone__screen {
  overflow: hidden;
  border-radius: 26px;
  background: #efeae2;
}

.wa-phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #075e54;
  color: #fff;
}

.wa-phone__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, #fff 18%, transparent);
  font-size: 0.72rem;
  font-weight: 750;
}

.wa-phone__bar strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}

.wa-phone__bar small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.wa-phone__thread {
  display: grid;
  gap: 8px;
  padding: 12px 10px 16px;
  min-height: 340px;
  background-image:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, #075e54 8%, transparent) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 64%, color-mix(in srgb, #075e54 7%, transparent) 0 2px, transparent 3px);
}

.wa-phone__day {
  justify-self: center;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: color-mix(in srgb, #fff 78%, transparent);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}

.wa-msg {
  position: relative;
  max-width: 86%;
  padding: 8px 10px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08);
}

.wa-msg p {
  font-size: 0.86rem;
  line-height: 1.4;
  color: #111b21;
}

.wa-msg time {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 0.62rem;
  color: #667781;
}

.wa-msg--in {
  justify-self: start;
  background: #fff;
  border-top-left-radius: 4px;
}

.wa-msg--out {
  justify-self: end;
  background: #d9fdd3;
  border-top-right-radius: 4px;
}

.wa-msg__link {
  display: grid;
  gap: 4px;
  padding: 10px 10px 8px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: color-mix(in srgb, #075e54 8%, #fff);
  color: inherit;
}

.wa-msg__link:hover {
  color: inherit;
}

.wa-msg__link-kicker {
  font-size: 0.78rem;
  font-weight: 750;
  color: #075e54;
}

.wa-msg__link-url {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.wa-msg__link-url .icon {
  width: 14px;
  height: 14px;
}

.wa-msg__link-hint {
  font-size: 0.68rem;
  color: #667781;
}

.phone-mock {
  width: min(100%, 270px);
  padding: 12px 11px 16px;
  border-radius: 36px;
  background: #111827;
  box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--brand) 14%, transparent);
}

.phone-mock__notch {
  width: 92px;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: var(--pill);
  background: #1f2937;
}

.phone-mock__screen {
  display: grid;
  gap: 10px;
  padding: 14px 12px 16px;
  border-radius: 26px;
  background: #fff;
  min-height: 420px;
}

.phone-mock__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-mock__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}

.phone-mock__brand strong {
  display: block;
  font-size: 0.88rem;
}

.phone-mock__brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.phone-mock__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.phone-mock__svc,
.phone-mock__slots span {
  display: flex;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  background: var(--surface-muted);
}

.phone-mock__svc.is-on,
.phone-mock__slots .is-on {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 650;
}

.phone-mock__slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-mock__slots span {
  justify-content: center;
  padding: 8px 6px;
}

.phone-mock__cta {
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: 4px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.lp-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: color-mix(in srgb, #fff 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  z-index: 2;
  animation: float-slow 12s ease-in-out infinite;
}

.lp-float-card b {
  display: block;
  font-size: 0.82rem;
}

.lp-float-card span {
  font-size: 0.72rem;
  color: var(--muted);
}

.lp-float-card--progress {
  left: 0;
  top: 36px;
}

.lp-float-card--stat {
  right: 0;
  bottom: 48px;
  animation-delay: -5s;
}

.lp-ring {
  --p: 78;
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
}

.lp-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.lp-ring strong {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
}

.lp-showcase__copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.lp-showcase__copy h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem);
  max-width: 18ch;
}

.lp-showcase__copy > p {
  color: var(--muted);
  max-width: 52ch;
}

.lp-brand-section {
  background: #fff;
}

.lp-brand {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .lp-brand {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.lp-brand__copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.lp-brand__copy h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem);
  max-width: 18ch;
}

.lp-brand__copy > p {
  color: var(--muted);
  max-width: 52ch;
}

.lp-brand__visual {
  position: relative;
  min-height: 260px;
  padding: 8px 64px 28px 0;
}

.lp-brand__screen {
  position: relative;
  z-index: 1;
}

.lp-brand__phone {
  position: absolute;
  width: min(42%, 210px);
  right: 0;
  bottom: 0;
  z-index: 3;
  margin-inline: 0;
}

@media (max-width: 639px) {
  .lp-brand__visual {
    padding-right: 48px;
  }

  .lp-brand__phone {
    width: min(46%, 160px);
  }
}

.lp-dashboard-section {
  padding-top: 0;
}

.lp-dashboard__head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

@media (min-width: 880px) {
  .lp-dashboard__head {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: end;
  }
}

.lp-dashboard__head h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem);
  max-width: 18ch;
  margin-top: 8px;
}

.lp-dashboard__head p {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 16px;
}

.lp-dashboard__screen {
  overflow: hidden;
}

.lp-dashboard__screen img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

@media (min-width: 760px) {
  .lp-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.lp-metric {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.lp-metric span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.lp-metric strong {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lp-metric small {
  color: var(--muted);
  font-size: 0.78rem;
}

.lp-metric--pending {
  background: color-mix(in srgb, var(--warning-soft) 55%, #fff);
}

.lp-metric--pending strong {
  color: var(--warning);
}

.lp-metric--lost {
  background: color-mix(in srgb, var(--danger-soft) 45%, #fff);
}

.lp-metric--lost strong {
  color: var(--danger);
}

.lp-checks {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
}

.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

.lp-checks .icon {
  color: var(--brand);
  margin-top: 2px;
}

.lp-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-ink);
}

.lp-quotes {
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .lp-quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-quote {
  display: grid;
  gap: 14px;
  padding: 24px;
  align-content: start;
}

.lp-quote__stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.lp-quote__stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lp-quote blockquote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.lp-quote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.lp-quote footer span:last-child {
  display: grid;
  font-size: 0.78rem;
  color: var(--muted);
}

.lp-quote footer b {
  color: var(--ink);
  font-size: 0.9rem;
}

.lp-pricing {
  display: grid;
  gap: 18px;
  max-width: 420px;
  margin-inline: auto;
}

.lp-plan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 28px 26px 24px;
  position: relative;
}

.lp-plan--featured {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 42%);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--brand-line);
}

.lp-plan__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff;
}

.lp-plan__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.lp-plan__price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lp-plan__price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.lp-plan__hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.lp-plan__list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 8px 0 14px;
}

.lp-plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lp-plan__list .icon {
  color: var(--brand);
  margin-top: 2px;
}

.lp-plan .btn {
  margin-top: auto;
}

.lp-cta {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(40px, 6vw, 72px) 28px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #4f46e5 0%, #6d28d9 52%, #2563eb 100%);
  box-shadow: var(--shadow-lg);
}

.lp-cta__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: color-mix(in srgb, #fff 22%, transparent);
  filter: blur(10px);
  pointer-events: none;
}

.lp-cta__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: color-mix(in srgb, #fff 18%, transparent);
  color: #fff;
}

.lp-cta h2,
.lp-cta p {
  position: relative;
  color: #fff;
}

.lp-cta p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
}

.lp-cta__btn {
  position: relative;
  --btn-bg: #fff;
  --btn-color: #4f46e5;
  --btn-border: transparent;
  box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.45);
}

.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  padding-block: 42px 24px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 78%, #eef0f8);
}

.site-footer__grid {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 32px;
  }
}

.site-footer__brand {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.site-footer__brand p,
.site-footer__col .muted {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36ch;
}

.site-footer__col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer__col p {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.site-footer__col a {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.site-footer__col a:hover {
  color: var(--brand-ink);
}

.site-footer__inner,
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: var(--ink-soft);
  font-weight: 550;
}

/* -------------------------------------------------------------------------
   12. Autenticação e páginas de status
   ------------------------------------------------------------------------- */
.auth-main {
  display: grid;
  place-items: center;
  padding-block: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - var(--header-height) - 120px);
}

.auth-card {
  width: min(100% - 2.5rem, 460px);
  animation: scale-in 0.5s var(--ease-out) both;
  overflow: hidden;
}

.auth-card__header {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 32px 26px 0;
}

.auth-card__header .brand__mark--lg {
  margin-bottom: 8px;
}

.auth-card .card__content {
  animation: fade-up 0.4s var(--ease) both;
}

.auth-card__footer {
  display: grid;
  gap: 8px;
  text-align: center;
}

.status-card {
  max-width: 560px;
  margin: clamp(40px, 8vw, 90px) auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(34px, 6vw, 56px);
}

.status-card__code {
  font-size: clamp(3rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--brand);
}

.status-card p {
  color: var(--muted);
}

.status-card .btn {
  margin-top: 10px;
}

.legal {
  display: grid;
  gap: 14px;
  padding: clamp(26px, 4vw, 44px);
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 12px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

/* -------------------------------------------------------------------------
   13. Painel
   ------------------------------------------------------------------------- */
.dashboard {
  padding-block: 26px 60px;
  display: grid;
  gap: 20px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  gap: 18px;
  animation: fade-up 0.45s var(--ease-out) both;
}

.dashboard--appointments {
  padding-block: 18px 24px;
  gap: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.stats-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stat-card {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.stat-card__header .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.stat-card__header .icon-badge .icon {
  width: 17px;
  height: 17px;
}

.stat-card__value {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.stat-card__hint {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.stat-card--danger .stat-card__value {
  color: var(--danger);
}

.stat-card--danger::before {
  background: var(--danger);
}

.stat-card--success .stat-card__value {
  color: var(--success);
}

.stat-card--success::before {
  background: var(--success);
}

.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: var(--pill);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
}

.segmented--block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.segmented--block .segmented__item {
  padding: 8px 8px;
  text-align: center;
}

.segmented__item {
  border: 0;
  background: none;
  padding: 6px 16px;
  border-radius: var(--pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.segmented__item:hover {
  color: var(--ink);
}

.segmented__item.is-active {
  background: var(--surface);
  color: var(--brand-ink);
  box-shadow: var(--shadow-xs);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.dot--revenue {
  background: var(--brand);
}

.dot--lost {
  background: var(--danger);
}

.dot--pending {
  background: var(--warning);
}

.dot--confirmed {
  background: var(--info);
}

.dot--completed {
  background: var(--success);
}

.dot--cancelled {
  background: var(--danger);
}

.dot--first {
  background: var(--brand);
}

.dot--returning {
  background: color-mix(in srgb, var(--brand) 42%, #94a3b8);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chart-card--wide {
  grid-column: 1 / -1;
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 14px;
}

.chart-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.chart-kpi {
  display: grid;
  gap: 2px;
}

.chart-kpi span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.chart-kpi strong {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.chart-kpi--pending strong {
  color: var(--warning);
}

.chart-kpi--danger strong {
  color: var(--danger);
}

.chart-legend {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.chart-toolbar .chart-legend {
  margin-bottom: 0;
}

.chart-legend--stack {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 160px;
}

.chart-legend--stack .chart-legend__item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
}

.chart-legend--stack strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chart-legend--stack em {
  font-style: normal;
  color: var(--muted-soft);
  font-size: 0.78rem;
  min-width: 2.4em;
  text-align: right;
}

.chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-split {
  display: flex;
  align-items: center;
  gap: 8px 24px;
}

.chart--donut {
  width: min(100%, 196px);
  flex: none;
}

.chart--donut svg {
  display: block;
}

.chart__donut-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 16;
}

.chart__slice {
  fill: none;
  stroke-width: 16;
  stroke-linecap: butt;
  animation: donut-draw 0.8s var(--ease-out) both;
}

.chart__slice--pending {
  stroke: var(--warning);
}

.chart__slice--confirmed {
  stroke: var(--info);
}

.chart__slice--completed {
  stroke: var(--success);
}

.chart__slice--cancelled {
  stroke: var(--danger);
}

.chart__donut-value {
  fill: var(--ink);
  font-size: 22px;
  font-weight: 750;
  font-family: inherit;
}

.chart__donut-caption {
  fill: var(--muted);
  font-size: 11px;
  font-family: inherit;
}

.chart__area {
  fill: color-mix(in srgb, var(--brand) 14%, transparent);
}

.chart__line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart__dot {
  fill: var(--surface);
  stroke: var(--brand);
  stroke-width: 2;
}

.chart__empty {
  margin: 0;
  padding: 28px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.chart--bars {
  display: grid;
  gap: 12px;
}

.hbar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 10px;
}

.hbar__label {
  font-size: 0.86rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hbar__track {
  height: 10px;
  border-radius: var(--pill);
  background: var(--surface-sunken);
  overflow: hidden;
}

.hbar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transform-origin: left center;
  animation: bar-grow-x 0.7s var(--ease-out) both;
}

.hbar__value {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.week-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  min-height: 150px;
}

.week-bars__col {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  height: 150px;
}

.week-bars__value {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--ink-soft);
  min-height: 1em;
}

.week-bars__bar {
  width: 100%;
  max-width: 28px;
  border-radius: 8px 8px 4px 4px;
  background: var(--brand);
  transform-origin: center bottom;
  animation: bar-grow 0.7s var(--ease-out) both;
}

.week-bars__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.client-mix {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.client-mix__title {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.client-mix__bar {
  display: flex;
  height: 10px;
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--brand) 28%, #cbd5e1);
  overflow: hidden;
}

.client-mix__fill--first {
  display: block;
  height: 100%;
  background: var(--brand);
}

.client-mix__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.client-mix__stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.client-mix__stats strong {
  color: var(--ink);
}

.chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart__grid {
  stroke: var(--line);
  stroke-dasharray: 3 5;
}

.chart__axis,
.chart__label {
  fill: var(--muted);
  font-size: 11px;
  font-family: inherit;
}

.chart__bar--revenue,
.chart__bar--pending,
.chart__bar--lost {
  transform-origin: center bottom;
  animation: bar-grow 0.7s var(--ease-out) both;
  transition: opacity 0.2s;
}

.chart__bar--revenue {
  fill: var(--brand);
}

.chart__bar--pending {
  fill: var(--warning);
}

.chart__bar--lost {
  fill: var(--danger);
  opacity: 0.85;
}

.chart__bar--revenue:hover,
.chart__bar--pending:hover,
.chart__bar--lost:hover {
  opacity: 0.72;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0 22px 22px;
  margin: 0;
  list-style: none;
  counter-reset: guide;
}

.steps li {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  counter-increment: guide;
  transition: all var(--speed) var(--ease);
}

.steps li::before {
  content: counter(guide);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.steps li:hover {
  border-color: var(--brand-line);
  transform: translateX(3px);
}

.list {
  display: grid;
  gap: 12px;
}

.list + .list {
  margin-top: 12px;
}

.list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
}

.list-item__main {
  flex: 1;
  min-width: 200px;
  display: grid;
  gap: 4px;
}

.list-item__title {
  font-size: 1rem;
  font-weight: 650;
}

.list-item__description {
  font-size: 0.87rem;
  color: var(--muted);
}

.list-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.list-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.list-item__meta .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-soft);
}

.list-item__actions {
  display: flex;
  gap: 8px;
}

.service-table {
  overflow: hidden;
}

.service-table__head,
.service-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 140px 140px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
}

.service-table__head {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-table__head span:nth-child(3),
.service-table__cell--price {
  text-align: right;
}

.service-table__head span:last-child {
  text-align: right;
}

.service-table__row {
  border-bottom: 1px solid var(--line);
  transition: background-color var(--speed) var(--ease);
}

.service-table__row:last-child {
  border-bottom: 0;
}

.service-table__row:hover {
  background: var(--brand-softer);
}

.service-table__service {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.service-table__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 750;
  flex: none;
}

.service-table__copy {
  min-width: 0;
}

.service-table__name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-table__desc {
  margin-top: 3px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-table__desc--empty {
  color: var(--muted-soft);
  font-style: italic;
}

.service-table__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--pill);
  background: var(--surface-sunken);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
}

.service-table__pill .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-ink);
}

.service-table__price {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.service-table__price--muted {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--muted);
}

.service-table__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.service-editor .card__header {
  padding-bottom: 4px;
}

.service-editor__back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.service-editor__back .icon {
  width: 16px;
  height: 16px;
}

.service-editor__back:hover {
  color: var(--brand-ink);
}

.service-editor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 8px 28px;
  padding: 8px 22px 22px;
  align-items: start;
}

.service-editor__form {
  padding: 0;
}

.service-preview {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px dashed var(--line-strong);
}

.service-preview__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.service-preview__title {
  margin-top: 4px;
  font-size: 0.98rem;
}

.service-preview__hint {
  margin: 4px 0 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.option-card--preview {
  cursor: default;
  border-color: var(--brand-line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.option-card--preview:hover {
  transform: none;
}

.option-card--preview .option-card__check {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.day-group {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.day-group__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 0.94rem;
  font-weight: 700;
}

.day-group__title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--brand);
}

.day-group__slots {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  transition: all var(--speed) var(--ease);
}

.slot-row:hover {
  border-color: var(--brand-line);
  background: var(--brand-softer);
}

.slot-row__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.slot-row__time .icon {
  color: var(--brand-ink);
}

.appointment {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
}

.appointment__pane {
  display: grid;
  gap: 14px;
}

.appointment__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.appointment__service {
  font-size: 1.02rem;
  font-weight: 700;
}

.appointment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.appointment__grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.appointment__grid .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-soft);
}

.appointment__notes {
  display: flex;
  gap: 9px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.appointment__notes .icon {
  flex: none;
  margin-top: 2px;
  color: var(--muted-soft);
}

.appointment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
  margin-top: 2px;
  padding-top: 14px;
}

.comanda {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.comanda__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.comanda__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comanda__item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.comanda__item.is-additional {
  border-color: var(--brand-line);
}

.comanda__item-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.comanda__item-main strong {
  font-size: 0.92rem;
}

.comanda__item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.comanda__item-notes,
.comanda__item-added {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.comanda__item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.comanda__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.comanda__add {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.comanda__add select,
.comanda__add input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
}

.comanda__history {
  font-size: 0.82rem;
}

.comanda__history summary {
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 600;
}

.comanda__history ol {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.comanda__history li {
  display: grid;
  gap: 2px;
}

.comanda__history small {
  color: var(--muted-soft);
}

.comanda--receipt {
  margin-top: 18px;
}

/* Agenda: uma tela só — calendário à esquerda, dia à direita */
.agenda {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: calc(100dvh - var(--header-height) - 42px);
  overflow: hidden;
}

.agenda__pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 20px 22px;
}

.agenda__calendar {
  border-right: 1px solid var(--line);
  background: var(--surface-muted);
}

.agenda__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.agenda__month {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: capitalize;
}

.agenda__month .icon {
  color: var(--brand-ink);
}

.agenda__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.agenda__legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  font-size: 0.76rem;
  color: var(--muted);
}

.agenda__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.agenda__day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.agenda__day-title {
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: capitalize;
}

.agenda__day-summary {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.agenda__day-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.agenda__ranges {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.agenda-range {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.agenda-range__time {
  flex: 1;
  font-size: 0.86rem;
  font-weight: 650;
}

.agenda .timeline {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.calendar--agenda .calendar__day {
  aspect-ratio: auto;
  min-height: 46px;
  align-content: center;
  gap: 3px;
  padding: 6px 2px;
}

.calendar--agenda .calendar__day--empty {
  min-height: 0;
}

.calendar--pick .calendar__day {
  min-height: 38px;
}

.availability-dates {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.calendar__number {
  line-height: 1;
}

.calendar__marks {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 5px;
}

.calendar__mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-soft);
}

.calendar__mark--pending {
  background: var(--warning);
}
.calendar__mark--confirmed {
  background: var(--info);
}
.calendar__mark--completed {
  background: var(--success);
}
.calendar__mark--cancelled {
  background: var(--danger);
}

.calendar__day.has-events {
  background: var(--surface);
  border-color: var(--line-strong);
  font-weight: 700;
}

.calendar__day.is-selected .calendar__mark {
  background: rgba(255, 255, 255, 0.9);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  animation: fade-up 0.4s var(--ease-out) both;
}

.timeline__time {
  padding-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-align: right;
}

.timeline__row:has(.timeline__event) {
  align-items: center;
}

.timeline__row:has(.timeline__event) .timeline__time {
  padding-top: 0;
}

.timeline__free {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  font-size: 0.84rem;
  color: var(--muted);
}

.timeline__duration {
  font-weight: 650;
  color: var(--ink-soft);
  white-space: nowrap;
}

.timeline__event {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.timeline__event:hover,
.timeline__event:focus-visible {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.timeline__event[data-status='cancelled'] {
  opacity: 0.72;
}

.timeline__event-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.timeline__event-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
}

.timeline__event-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.timeline__event .badge {
  flex: none;
}

.timeline__empty {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.89rem;
  text-align: center;
}

/* Link público / personalização */
.copy-field {
  display: flex;
  gap: 10px;
}

.copy-field input {
  flex: 1;
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', monospace;
  font-size: 0.88rem;
}

.link-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--brand-softer);
  border: 1px dashed var(--brand-line);
  word-break: break-all;
}

.link-preview__url {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Code', monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.share-tile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--speed) var(--ease);
}

.share-tile:hover {
  border-color: var(--brand-line);
  color: var(--brand-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.swatch--paper {
  box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 0 0 3px #fff, var(--shadow-xs);
}

.brand-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(520px 180px at 50% -40px, var(--brand-soft), transparent 72%),
    var(--page-bg, var(--brand-softer));
  border: 1px solid var(--brand-line);
}

.brand-preview__sheet {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.brand-preview.is-dark {
  --ink: #f4f4f5;
  --ink-soft: #d4d4d8;
  --muted: #a1a1aa;
  --surface: #1e1e22;
  --line: #2e2e34;
  --line-strong: #3f3f46;
  --brand-soft: color-mix(in srgb, var(--brand) 22%, #121214);
  --brand-softer: color-mix(in srgb, var(--brand) 12%, #141417);
  --brand-line: color-mix(in srgb, var(--brand) 48%, #2a2a30);
  --brand-ink: color-mix(in srgb, var(--brand) 78%, #fff);
  color: var(--ink);
}

.brand-preview.is-dark .brand-preview__name {
  color: var(--ink);
}

.brand-preview.is-dark .brand-preview__sheet {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.brand-preview.is-dark .btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  --btn-border: var(--line-strong);
}

.brand-preview__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-preview__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-preview__bio {
  font-size: 0.86rem;
  color: var(--muted);
}

.address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 18px;
}

.address-grid--street {
  grid-template-columns: minmax(0, 1fr) 140px;
}

.field--cep {
  max-width: 220px;
}

.venue-card__body {
  display: grid;
  gap: 16px;
}

.venue-card__place {
  display: grid;
  gap: 16px;
}

.venue-card__address {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.venue-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.venue-map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-muted);
  min-height: 220px;
}

.venue-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* -------------------------------------------------------------------------
   14. Página pública de agendamento
   ------------------------------------------------------------------------- */
.page-booking {
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 50% -80px, var(--brand-soft), transparent 70%),
    var(--bg);
}

.page-booking--dark {
  color: var(--ink);
}

.page-booking--dark .site-footer {
  color: var(--muted);
}

.page-booking--dark .site-footer a {
  color: var(--ink-soft);
}

.page-booking--dark .site-footer a:hover {
  color: var(--brand-ink);
}

.page-booking--dark h1,
.page-booking--dark h2,
.page-booking--dark h3 {
  color: var(--ink);
}

.page-booking--dark .booking-top__bar,
.page-booking--dark .card {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: none;
}

.page-booking--dark .btn--outline {
  --btn-bg: color-mix(in srgb, var(--surface) 70%, transparent);
  --btn-color: var(--ink);
}

.page-booking--dark .btn--outline:hover:not(:disabled) {
  --btn-bg: var(--surface);
  --btn-color: var(--ink);
  background: var(--surface);
}

.page-booking .container {
  width: min(100% - 3rem, var(--container));
}

.page-booking .site-footer {
  margin-top: 8px;
  background: transparent;
}

.booking-top {
  padding-block: 32px 16px;
}

.booking-top__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.booking-top__identity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.avatar--booking {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 1.35rem;
  box-shadow: var(--shadow-brand);
  outline: 3px solid color-mix(in srgb, #fff 70%, var(--brand-soft));
}

.booking-top__copy {
  min-width: 0;
}

.booking-top__kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.booking-top__name {
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
}

.booking-top__bio {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 58ch;
}

.booking-top__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.booking-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.booking-pill .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-ink);
}

.booking-top__whatsapp {
  margin-top: 0;
}

.booking-top__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.booking-top__actions form {
  margin: 0;
}

.booking--gate {
  padding-top: 12px;
  padding-bottom: 56px;
}

.gate-card {
  padding: 36px 32px 28px;
}

.gate-card__intro {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-bottom: 28px;
}

.gate-card__intro h1 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem);
}

.gate-card__intro p {
  color: var(--muted);
  max-width: 38rem;
}

.gate-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.gate-flow li {
  display: grid;
  gap: 4px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  font-size: 0.82rem;
  color: var(--muted);
}

.gate-flow li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--brand-contrast);
  font-size: 0.72rem;
  font-weight: 700;
}

.gate-flow strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
}

.gate-actions {
  display: grid;
  gap: 14px;
}

.gate-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: inherit;
  text-decoration: none;
  transition:
    border-color var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}

.gate-option:hover {
  border-color: var(--brand-line);
  background: var(--brand-softer);
  transform: translateY(-1px);
}

.gate-option strong {
  display: block;
  font-size: 1rem;
}

.gate-option span span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.gate-option .icon:last-child {
  color: var(--muted);
}

.gate-option--guest {
  background: var(--surface);
}

.gate-provider-login {
  margin: 28px 0 4px;
  text-align: center;
  font-size: 0.86rem;
}

.gate-provider-login a {
  color: var(--muted);
  font-weight: 600;
}

.guest-account-bar {
  max-width: 760px;
  margin: 0 auto 22px;
  align-items: flex-start;
}

.guest-account-bar a {
  font-weight: 700;
}

.booking > .venue-card,
.booking > .empty-state {
  max-width: 760px;
  margin: 0 auto 22px;
}

.booking--receipt > .venue-card {
  max-width: 560px;
}

.client-panel-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.client-panel-strip__copy {
  min-width: 0;
  flex: 1 1 220px;
}

.client-panel-strip__copy strong {
  display: block;
  font-size: 0.95rem;
}

.client-panel-strip__copy p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.booking {
  padding-block: 24px 64px;
}

.booking--receipt,
.booking--panel {
  padding-top: 12px;
}

.booking--panel .client-panel__intro {
  margin: 0 0 28px;
}

.client-panel__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.client-panel__intro h1 {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem);
}

.client-panel__intro p {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--muted);
}

.client-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.client-guide li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.client-guide strong {
  font-size: 0.88rem;
}

.client-guide span {
  font-size: 0.82rem;
  color: var(--muted);
}

.client-panel__card + .client-panel__card {
  margin-top: 18px;
}

.client-panel__empty {
  margin: 0;
}

.client-visit-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: start;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.client-visit--past {
  background: var(--surface);
}

.client-visit__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.client-visit__hint-inline {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--warning);
}

.client-visit h3 {
  margin: 0;
  font-size: 1.02rem;
}

.client-visit__when {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.client-visit__notes {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.client-visit__services {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.client-visit__services li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  font-size: 0.84rem;
}

.client-visit__aside {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 10px;
  min-width: 9.5rem;
}

.client-visit__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.client-visit__price--muted {
  font-weight: 600;
  color: var(--muted);
}

.client-visit__locked {
  margin: 0;
  max-width: 18ch;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
}

.empty-state--compact {
  padding: 28px 12px 12px;
}

.booking__flow {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.booking-progress li {
  display: grid;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--muted-soft);
}

.booking-progress li::before {
  content: '';
  height: 4px;
  border-radius: var(--pill);
  background: var(--line);
}

.booking-progress li.is-current,
.booking-progress li.is-done {
  color: var(--brand-ink);
}

.booking-progress li.is-current::before,
.booking-progress li.is-done::before {
  background: var(--brand);
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.86fr);
  gap: 20px;
  align-items: start;
}

.booking__column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.booking__column--side {
  position: sticky;
  top: 18px;
}

.step-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 0;
}

.step-card__head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.step-card__head + .card__content {
  padding-top: 22px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  margin-top: 1px;
  border-radius: 10px;
  background: var(--surface-sunken);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.4s var(--ease);
}

.step-card.is-done .step-number,
.step-card.is-active .step-number {
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: var(--shadow-brand);
}

.step-card.is-active {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}

.service-picker {
  display: grid;
  gap: 14px;
}

.service-picker__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.service-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}

.service-search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.service-search input {
  padding-left: 38px;
  height: 42px;
  background: var(--surface-sunken);
}

.service-picker__count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.service-picker__empty {
  margin: 0;
  padding: 18px 8px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.service-picker__selected {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid var(--brand-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: min(52vh, 440px);
  overflow: auto;
  padding: 2px 4px 6px 2px;
  margin-right: -4px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.option-card--service {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-height: 100%;
  padding: 14px 14px 12px;
  border-radius: 16px;
}

.option-card--service .option-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
}

.option-card--service .option-card__body {
  padding-right: 22px;
}

.option-card--service .option-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
}

.option-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.option-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.option-card__duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.option-card__duration .icon {
  width: 14px;
  height: 14px;
}

.option-card__price {
  flex: none;
  text-align: right;
}

.option-card__price strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.option-card--service:has(input:checked) .option-card__price strong {
  color: var(--brand-ink);
}

.booking-schedule {
  display: grid;
  gap: 22px;
}

.booking-times {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.booking-times__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--ink-soft);
}

.calendar--week {
  display: grid;
  gap: 16px;
}

.calendar--week .calendar__header {
  padding: 0;
}

.calendar--week .calendar__heading {
  margin: 0;
  min-width: 0;
  flex: 1;
  text-align: center;
}

.calendar--week .calendar__kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar--week .calendar__month {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
}

.calendar--week .calendar__nav {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.calendar--week .calendar__nav .icon {
  width: 18px;
  height: 18px;
}

.calendar--week .calendar__nav:hover:not(:disabled) {
  border-color: var(--brand-line);
  color: var(--brand-ink);
  background: var(--brand-soft);
  box-shadow: var(--shadow-xs);
}

.calendar--week .calendar__nav:focus-visible,
.calendar--week .calendar__day:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.calendar--week .calendar__nav:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.calendar--week .calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar--week .calendar__day {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 78px;
  aspect-ratio: auto;
  padding: 10px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-muted);
  color: var(--muted-soft);
  font-weight: 500;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.calendar--week .calendar__weekday {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
}

.calendar--week .calendar__number {
  font-size: 1.05rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.calendar--week .calendar__today-dot {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.calendar--week .calendar__day.is-open {
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.calendar--week .calendar__day.is-open:hover:not(:disabled) {
  border-color: var(--brand-line);
  background: var(--brand-softer);
  color: var(--brand-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.calendar--week .calendar__day:disabled {
  background: var(--surface-sunken);
  border-color: transparent;
  color: var(--muted-soft);
  opacity: 0.7;
  cursor: default;
}

.calendar--week .calendar__day.is-today:not(.is-selected) {
  border-color: var(--brand);
  color: var(--brand-ink);
  background: var(--brand-softer);
}

.calendar--week .calendar__day.is-selected,
.calendar--week .calendar__day.is-selected:hover:not(:disabled) {
  background: var(--brand);
  border-color: transparent;
  color: var(--brand-contrast);
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}

.calendar--week .calendar__day.is-selected .calendar__today-dot {
  color: color-mix(in srgb, var(--brand-contrast) 86%, transparent);
}

.calendar--week .calendar__hint {
  margin: 0;
  padding-top: 2px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.summary .btn--block {
  margin-top: 8px;
}

.summary.is-ready {
  border-color: var(--brand-line);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calendar__month {
  font-weight: 700;
  text-transform: capitalize;
  font-size: 0.98rem;
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar__weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  padding-bottom: 2px;
}

.calendar__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    transform var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.calendar__day:hover:not(:disabled) {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  transform: translateY(-2px);
}

.calendar__day:disabled {
  background: transparent;
  color: var(--muted-soft);
  opacity: 0.5;
  cursor: not-allowed;
}

.calendar__day--empty {
  background: none;
  border: 0;
  cursor: default;
}

.calendar__day.is-today:not(.is-selected) {
  border-color: var(--brand-line);
  color: var(--brand-ink);
}

.calendar__day.is-selected,
.calendar__day.is-selected:hover:not(:disabled) {
  background: var(--brand);
  border-color: transparent;
  color: var(--brand-contrast);
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}

.booking-times__live {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.time-grid.is-live .time-slot {
  animation: none;
}

.time-grid > .muted {
  grid-column: 1 / -1;
  font-size: 0.89rem;
  padding: 6px 0;
}

.time-slot {
  padding: 14px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  animation: scale-in 0.32s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 22ms);
  transition:
    transform var(--speed) var(--ease),
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.time-slot:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  background: var(--brand-softer);
  transform: translateY(-2px);
}

.time-slot.is-selected {
  background: var(--brand);
  border-color: transparent;
  color: var(--brand-contrast);
  box-shadow: var(--shadow-brand);
}

.summary__list {
  display: grid;
  gap: 2px;
  margin: 0;
}

.summary__list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.summary__list > div:last-child {
  border-bottom: 0;
}

.summary__list dt {
  font-size: 0.85rem;
  color: var(--muted);
}

.summary__list dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: right;
}

.summary__total dd {
  font-size: 1.12rem;
  color: var(--brand-ink);
}

.booking__disclaimer {
  font-size: 0.78rem;
  color: var(--muted-soft);
  text-align: center;
}

.receipt {
  max-width: 560px;
  margin: 8px auto 24px;
  overflow: hidden;
  animation: scale-in 0.5s var(--ease-out) both;
}

.receipt__title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
}

.receipt__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.receipt__lead {
  margin: 4px 0 0;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.receipt__lead strong {
  color: var(--ink);
}

.receipt__actions {
  padding-top: 0;
}

.receipt__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.receipt__facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.receipt__fact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.receipt__facts small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.receipt__facts strong {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.receipt__top {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 36px 26px 26px;
  background: var(--brand-soft);
}

.receipt__check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  animation: scale-in 0.5s 0.15s var(--ease-out) both, breathe 3.5s 0.8s infinite;
}

.receipt__check .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.receipt--cancelled .receipt__top {
  background: var(--danger-soft);
}

.receipt--cancelled .receipt__kicker {
  color: var(--danger);
}

.receipt--cancelled .receipt__check {
  background: var(--danger);
  box-shadow: none;
  animation: none;
}

.toast--info {
  background: color-mix(in srgb, var(--info) 12%, transparent);
  color: color-mix(in srgb, var(--info) 82%, #000);
  border-color: color-mix(in srgb, var(--info) 18%, transparent);
}

.receipt__protocol {
  font-family: ui-monospace, 'SFMono-Regular', monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

/* -------------------------------------------------------------------------
   15. Responsivo e preferências
   ------------------------------------------------------------------------- */
@media (min-width: 960px) {
  .page-landing .site-header__inner,
  .page-auth .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .page-landing .site-header__nav,
  .page-auth .site-header__nav {
    justify-self: start;
  }

  .page-landing .menu-trigger,
  .page-auth .menu-trigger {
    display: none;
  }

  .page-landing .site-header__links,
  .page-auth .site-header__links {
    display: flex;
    justify-self: center;
  }

  .page-landing .site-header__actions,
  .page-auth .site-header__actions {
    justify-self: end;
  }
}

@media (max-width: 1024px) {
  .booking-progress li {
    font-size: 0.64rem;
  }

  .booking__column--side {
    position: static;
  }

  .service-editor__layout {
    grid-template-columns: 1fr;
  }

  .service-preview {
    position: static;
  }

  .agenda {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible;
  }

  .agenda__calendar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .agenda .timeline {
    overflow: visible;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .chart-split {
    flex-direction: column;
    align-items: stretch;
  }

  .chart--donut {
    margin-inline: auto;
  }

  .hbar {
    grid-template-columns: 1fr auto;
  }

  .hbar__track {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14.5px;
  }

  .container {
    width: min(100% - 2rem, var(--container));
  }

  .site-header__inner,
  .app-header__inner {
    width: min(100% - 2rem, var(--container));
  }

  .lp-hero__title {
    max-width: none;
  }

  .lp-hero__visual {
    order: -1;
  }

  .dash-mock__split {
    grid-template-columns: 1fr;
  }

  .dash-mock__side,
  .lp-float,
  .lp-float-card {
    display: none;
  }

  .lp-showcase__visual {
    min-height: 0;
  }

  .lp-plan--featured {
    order: -1;
  }

  .menu-trigger__label,
  .user-chip__text {
    display: none;
  }

  .user-chip {
    padding: 4px;
    border-radius: var(--pill);
  }

  .user-chip > .icon {
    display: none;
  }

  .card__header,
  .card__content,
  .page-head {
    padding-inline: 18px;
  }

  .steps {
    padding-inline: 18px;
  }

  .page-head {
    align-items: flex-start;
  }

  .page-head__actions {
    width: 100%;
  }

  .page-head__actions .btn {
    flex: 1;
  }

  .service-editor__layout {
    padding-inline: 18px;
  }

  .form__actions {
    flex-direction: column-reverse;
  }

  .form__actions .btn {
    width: 100%;
  }

  .list-item {
    align-items: flex-start;
  }

  .service-table__head {
    display: none;
  }

  .service-table__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 16px 18px;
  }

  .service-table__service {
    grid-column: 1 / -1;
  }

  .service-table__cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-soft);
  }

  .service-table__cell--price {
    text-align: left;
  }

  .service-table__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 6px;
    border-top: 1px dashed var(--line);
  }

  .list-item__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .appointment__actions .btn {
    flex: 1;
  }

  .comanda__add {
    grid-template-columns: 1fr;
  }

  .toast-region {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .live-alerts {
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
  }

  .calendar__days,
  .calendar__weekdays {
    gap: 4px;
  }

  .calendar--week .calendar__days {
    gap: 6px;
  }

  .calendar--week .calendar__day {
    min-height: 68px;
    padding: 8px 2px;
    border-radius: 14px;
  }

  .calendar--week .calendar__number {
    font-size: 0.95rem;
  }

  .calendar--week .calendar__today-dot {
    display: none;
  }

  .option-card__price {
    min-width: 0;
  }

  .booking-top {
    padding-block: 20px 8px;
  }

  .booking-top__bar {
    padding: 18px 16px;
  }

  .page-booking .container {
    width: min(100% - 2rem, var(--container));
  }

  .gate-card {
    padding: 24px 18px 24px;
  }

  .page-booking .venue-card__actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .step-card__head {
    padding: 20px 18px 0;
    gap: 14px;
  }

  .gate-flow,
  .client-guide {
    grid-template-columns: 1fr;
  }

  .client-visit {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .client-visit__aside {
    justify-items: start;
    min-width: 0;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
  }

  .client-visit__locked {
    max-width: none;
    text-align: left;
  }

  .booking-top__actions {
    width: 100%;
    justify-content: stretch;
  }

  .booking-top__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .booking-top__whatsapp {
    width: 100%;
    justify-content: center;
  }

  .services-list {
    grid-template-columns: 1fr;
    max-height: min(48vh, 380px);
  }

  .copy-field {
    flex-direction: column;
  }

  .address-grid,
  .address-grid--street {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .option-card--service .option-card__price {
    width: auto;
    text-align: right;
    padding-left: 0;
  }

  .calendar--week .calendar__day {
    min-height: 58px;
    gap: 2px;
    border-radius: 12px;
  }

  .calendar--week .calendar__weekday {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .app-header,
  .offcanvas,
  .toast-region,
  .btn {
    display: none !important;
  }

  .page-dashboard {
    padding-left: 0 !important;
  }

  body {
    background: #fff;
  }

  .card {
    box-shadow: none;
    border-color: #ccc;
  }
}
