/* ================================================================
   Demo do estúdio de beleza — visual
   O estilo do sistema da Belos Cílios (roxo, painel claro, barra de baixo, folha que sobe), com acabamento de
   vitrine: é a primeira impressão de quem chega do Instagram (CLAUDE.md, bloco "Demos").
   Cor só por token (PADRÕES 10). Nada rola de lado no celular (PADRÕES 20.10): texto quebra; não cabe, reticências.
   ================================================================ */

/* ── As 3 paletas que a pessoa escolhe na entrada (pedido do Gustavo, 01/11/2026) ──────────────────────────────
   Tudo que é "da marca" vem de --m-*; o resto do CSS nunca usa hex da marca. Ametista = o roxo da Belos Cílios.
   Nenhuma é verde: verde aqui quer dizer "pago" e é a cor do WhatsApp (PADRÕES 10). Contraste conferido: botão
   (--m-700) e texto pequeno colorido (--m-600) ≥ 4,5:1 no branco nas três; --m-t3 ≥ 5:1.
   Cada paleta vale pra quem tem o data-paleta dela — a página (html) e também o botão da paleta na entrada, que
   mostra as PRÓPRIAS cores. Sem o seletor da ametista aqui, o botão dela herdava a cor escolhida na página. */
:root, [data-paleta="ametista"] {
  --m-950: #10002b; --m-950-rgb: 16, 0, 43;
  --m-900: #240046; --m-900-rgb: 36, 0, 70;
  --m-800: #4a0f8a; --m-700: #5a189a; --m-hover: #3c0d6b; --m-600: #6739c7;
  --m-500: #7b2cbf; --m-500-rgb: 123, 44, 191;
  --m-400: #c77dff; --m-300: #b38cff; --m-300-rgb: 179, 140, 255; --m-200: #e0aaff; --m-200-rgb: 224, 170, 255;
  --m-180: #dcc2fb; --m-150: #f0d4ff; --m-100: #ead6ff; --m-75: #f1e7fc; --m-50: #f3e8ff; --m-25: #fcf8ff; --m-bg: #faf5ff;
  --m-borda: #ead9fb; --m-borda-forte: #d4b8f5;
  --m-graf: #6d28d9; --m-graf-rgb: 109, 40, 217;
  --m-t1: #16052e; --m-t2: #4b3d63; --m-t3: #6f6385;
  --accent-rgb: 90, 24, 154;
}
[data-paleta="rose"] {
  --m-950: #2a0a14; --m-950-rgb: 42, 10, 20;
  --m-900: #4a1226; --m-900-rgb: 74, 18, 38;
  --m-800: #7a1f3d; --m-700: #a3294f; --m-hover: #7d1d3b; --m-600: #b8476a;
  --m-500: #c2577a; --m-500-rgb: 194, 87, 122;
  --m-400: #e88aa8; --m-300: #e3a0b5; --m-300-rgb: 227, 160, 181; --m-200: #f6c6d4; --m-200-rgb: 246, 198, 212;
  --m-180: #efc0ce; --m-150: #ffd9e4; --m-100: #f9e0e8; --m-75: #f8eaef; --m-50: #fcf0f4; --m-25: #fef8fa; --m-bg: #fdf6f8;
  --m-borda: #f3d9e1; --m-borda-forte: #e9bccb;
  --m-graf: #b8325c; --m-graf-rgb: 184, 50, 92;
  --m-t1: #2a0a16; --m-t2: #5a3d48; --m-t3: #7a626b;
  --accent-rgb: 163, 41, 79;
}
[data-paleta="oceano"] {
  --m-950: #031a24; --m-950-rgb: 3, 26, 36;
  --m-900: #062f40; --m-900-rgb: 6, 47, 64;
  --m-800: #0a4a63; --m-700: #0e5f7a; --m-hover: #0a4a60; --m-600: #1d7894;
  --m-500: #1a87a8; --m-500-rgb: 26, 135, 168;
  --m-400: #6cc6e0; --m-300: #8fcfe3; --m-300-rgb: 143, 207, 227; --m-200: #b9e3f0; --m-200-rgb: 185, 227, 240;
  --m-180: #bde0ec; --m-150: #d3f1fa; --m-100: #dcf0f6; --m-75: #e6f4f9; --m-50: #eef7fb; --m-25: #f7fbfd; --m-bg: #f4f9fb;
  --m-borda: #d3e8f0; --m-borda-forte: #a8d3e3;
  --m-graf: #0e7490; --m-graf-rgb: 14, 116, 144;
  --m-t1: #06202b; --m-t2: #3a535e; --m-t3: #5c727c;
  --accent-rgb: 14, 95, 122;
}
/* "Em atendimento" é azul nas outras; no Oceano a marca já é azulada, então vai pro anil (uma cor, um significado).
   html[…] pesa mais que o :root lá de baixo, que define o azul padrão. */
html[data-paleta="oceano"] { --agora-fundo: #ece6ff; --agora-texto: #4527a0; }

:root {
  /* Paleta da Belos Cílios (geral/css/paleta.css dela) */
  --roxo-950: var(--m-950);
  --roxo-900: var(--m-900);
  --roxo-700: var(--m-700);
  --roxo-600: var(--m-600);
  --roxo-300: var(--m-300);
  --roxo-200: var(--m-200);
  --roxo-50:  var(--m-bg);

  --accent:        var(--m-700);
  --accent-hover:  var(--m-hover);
  --accent-text:   #ffffff;
  --accent-suave:  var(--m-50);

  --bg-main:   var(--m-bg);
  --bg-card:   #ffffff;
  --bg-hover:  var(--m-50);
  --text-main: var(--m-t1);
  --text-secondary: var(--m-t2);   /* 9,6:1 no branco */
  --text-muted: var(--m-t3);       /* 5,4:1 no branco */
  --card-border-color: var(--m-borda);
  --borda-forte: var(--m-borda-forte);

  /* Semânticas: cada cor quer dizer UMA coisa (PADRÕES 10) — verde só pra "pago, nada a fazer". */
  --pago-fundo: #dcf5e6;  --pago-texto: #0b5d34;
  --receber-fundo: #fff1d1; --receber-texto: #7a4600;
  --aguardando-fundo: #eef0f5; --aguardando-texto: #3f4757;
  --confirmado-fundo: var(--m-100); --confirmado-texto: var(--m-hover);
  --agora-fundo: #e0ecff; --agora-texto: #1d4a9e;
  --cancelado-fundo: #f6eef0; --cancelado-texto: #8c3443;
  --dinheiro: #138a4e; --dinheiro-hover: #0e6f3e; --dinheiro-rgb: 19, 138, 78;
  --perigo: #b42335; --perigo-borda: #efc4cb; --perigo-fundo: #fff7f8;
  --whats: #128c4b; --whats-escuro: #075e54; --whats-fundo: #efeae2; --whats-eu: #d9fdd3;


  --shadow-color-forte: rgba(var(--m-950-rgb), .2);
  --overlay-bg: rgba(var(--m-950-rgb), .45);
  --vs-central-x: var(--m-950);
  --sombra-1: 0 1px 2px rgba(var(--m-950-rgb), .05), 0 4px 14px rgba(var(--m-950-rgb), .05);
  --sombra-2: 0 2px 4px rgba(var(--m-950-rgb), .05), 0 14px 34px rgba(var(--m-950-rgb), .10);

  --raio: 18px;
  --raio-p: 12px;
  --faixa-h: 52px;
  --barra-h: 64px;
  --lateral-w: 252px;
  --fonte: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --fonte-marca: Georgia, 'Times New Roman', serif;
  --vs-central-base: calc(var(--barra-h) + env(safe-area-inset-bottom, 0px) + 22px);
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg-main); color: var(--text-main);
  font-family: var(--fonte); font-size: 16px; line-height: 1.45;
  overflow-x: hidden; overflow-x: clip;   /* clip: corta sem virar caixa de rolagem (PADRÕES 10) */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  padding-top: var(--faixa-h);
  padding-bottom: calc(var(--barra-h) + env(safe-area-inset-bottom, 0px) + 24px);
}
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid var(--roxo-300); outline-offset: 2px; }
[hidden] { display: none !important; }
.sem-js { padding: 2rem 1rem; text-align: center; }

/* ── Faixa da GVTech (topo, sempre à vista) ─────────────────── */
.faixa {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
  height: var(--faixa-h); padding: 0 12px 0 14px;
  display: flex; align-items: center; gap: 8px;
  background: var(--roxo-950); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 18px -8px rgba(var(--m-950-rgb), .6);
}
.faixa-marca { display: flex; align-items: center; gap: 8px; min-width: 0; color: #fff; margin-right: auto; }
/* O ícone da GVTech (o mesmo do app instalado): quadradinho branco com o GVT verde. */
.faixa-icone { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 10px -4px rgba(0, 0, 0, .6); }
.faixa-demo {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .55rem; border-radius: 999px; background: rgba(var(--m-200-rgb), .16); color: var(--roxo-200);
  white-space: nowrap;
}
.faixa-recomecar {
  flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem;
  transition: background .15s ease;
}
.faixa-recomecar:hover { background: rgba(255, 255, 255, .16); }
.faixa-quero {
  flex-shrink: 0; height: 38px; padding: 0 .9rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--whats); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(18, 140, 75, .9);
  transition: background .15s ease, transform .15s ease;
}
.faixa-quero:hover { background: #0e7a40; color: #fff; }
.faixa-quero:active { transform: scale(.97); }
.q-longo { display: none; }
@media (min-width: 420px) { .q-curto { display: none; } .q-longo { display: inline; } }
@media (max-width: 359.98px) { .faixa-demo { display: none; } }

/* ── Tela ─────────────────────────────────────────────────────── */
.tela { display: block; max-width: 680px; margin: 0 auto; padding: 18px 16px 8px; outline: none; }
.cab { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.cab-texto { flex: 1; min-width: 0; }
.cab-sobre { font-family: var(--fonte-marca); font-style: italic; font-size: .98rem; color: var(--roxo-600); }
.cab h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cab-sub { margin-top: 3px; color: var(--text-muted); font-size: .93rem; }
.cab-sub::first-letter { text-transform: uppercase; }
.logo-studio { font-family: var(--fonte-marca); font-style: italic; font-weight: 700; letter-spacing: -.01em; }

/* ── Botões ───────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.1rem; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .97rem; cursor: pointer; text-align: center; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.botao:active { transform: scale(.98); }
.botao:disabled { background: #e7e3ee; border-color: #e7e3ee; color: #8a8199; box-shadow: none; cursor: not-allowed; transform: none; }
.botao-marca { background: var(--accent); color: var(--accent-text); box-shadow: 0 8px 18px -10px rgba(var(--accent-rgb), .9); }
.botao-marca:hover { background: var(--accent-hover); color: #fff; }
.botao-dinheiro { background: var(--dinheiro); color: #fff; box-shadow: 0 8px 18px -10px rgba(var(--dinheiro-rgb), .9); }
.botao-dinheiro:hover { background: var(--dinheiro-hover); }
.botao-contorno { background: var(--bg-card); border-color: var(--borda-forte); color: var(--accent); }
.botao-contorno:hover { background: var(--bg-hover); border-color: var(--roxo-300); }
.botao-whats { background: var(--whats); color: #fff; }
.botao-whats:hover { background: #0e7a40; color: #fff; }
.botao-whats-contorno { background: var(--bg-card); border-color: #9fd9b8; color: var(--whats); }
.botao-whats-contorno:hover { background: #ecf9f1; }
.botao-perigo { background: var(--perigo); color: #fff; }
.botao-perigo:hover { background: #911a2a; }
.botao-perigo-contorno { background: var(--bg-card); border-color: #efc4cb; color: var(--perigo); }
.botao-perigo-contorno:hover { background: #fdf1f3; }
.botao-leve { background: transparent; color: var(--text-secondary); }
.botao-leve:hover { background: var(--bg-hover); }
.botao-p { min-height: 40px; padding: 0 .85rem; border-radius: 11px; font-size: .9rem; flex-shrink: 0; }
.botao-g { width: 100%; min-height: 54px; font-size: 1.02rem; }
.botao-cab { min-height: 44px; flex-shrink: 0; }
.botao-icone {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--card-border-color); background: var(--bg-card); color: var(--accent);
}
.botao-icone:hover { background: var(--bg-hover); }
.link-forte { display: inline-flex; align-items: center; gap: .15rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ── Experimente (o roteiro da demo) ──────────────────────────── */
.experimente {
  position: relative; margin-bottom: 16px; padding: 16px; border-radius: var(--raio);
  background: linear-gradient(135deg, #fff 0%, var(--m-50) 100%);
  border: 1.5px dashed var(--roxo-300);
}
.experimente-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.experimente h2 { font-size: 1.05rem; font-weight: 800; }
.experimente > p { margin: 4px 0 10px; color: var(--text-secondary); font-size: .9rem; }
.experimente ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.experimente li > a, .experimente li > button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-align: left;
  border: 1px solid var(--card-border-color); border-radius: 14px; background: var(--bg-card); color: var(--text-main); cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.experimente li > a:hover, .experimente li > button:hover { border-color: var(--roxo-300); box-shadow: var(--sombra-1); }
.experimente li i:first-child { font-size: 1.25rem; color: var(--roxo-300); flex-shrink: 0; }
.experimente li > * > i:last-child { color: var(--text-muted); flex-shrink: 0; }
.experimente li span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.experimente li strong { font-size: .95rem; }
.experimente li small { color: var(--text-muted); font-size: .8rem; }
.experimente li.feito i:first-child { color: var(--dinheiro); }
.experimente li.feito strong { text-decoration: line-through; text-decoration-color: rgba(var(--m-950-rgb), .35); color: var(--text-secondary); }
.experimente-fim { display: flex; gap: 12px; border-style: solid; border-color: #9fd9b8; background: linear-gradient(135deg, #fff 0%, #eaf8ef 100%); }
.experimente-fim > i { font-size: 1.6rem; color: var(--whats); }
.experimente-fim p { margin: 4px 0 12px; color: var(--text-secondary); font-size: .92rem; }
.conta {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; flex-shrink: 0;
}

/* ── Hoje: o número que a dona quer ver ───────────────────────── */
.heroi-hoje {
  position: relative; overflow: hidden; margin-bottom: 14px; padding: 18px 18px 16px; border-radius: 22px;
  background: radial-gradient(120% 140% at 100% 0%, var(--m-500) 0%, var(--roxo-900) 55%, var(--roxo-950) 100%);
  color: #fff; box-shadow: 0 18px 36px -18px rgba(var(--m-900-rgb), .8);
}
.heroi-hoje::after {   /* brilho decorativo */
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--m-200-rgb), .35), transparent 70%); pointer-events: none;
}
.heroi-rotulo { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--roxo-200); }
.heroi-valor { display: block; margin-top: 2px; font-size: clamp(1.9rem, 9vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.heroi-de { margin-top: 2px; color: rgba(255, 255, 255, .78); font-size: .92rem; }
.heroi-barra { margin: 12px 0 10px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.heroi-barra span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--m-400), var(--m-150)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.heroi-pe { font-size: .86rem; color: rgba(255, 255, 255, .85); }
.heroi-pe i { margin-right: .35rem; }

/* ── Cartões de número (todos levam a algum lugar, PADRÕES 20.2) ── */
.cartoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.cartao {
  min-width: 0; display: flex; flex-direction: column; padding: 13px 14px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--card-border-color); color: var(--text-main); box-shadow: var(--sombra-1);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cartao:hover { border-color: var(--roxo-300); box-shadow: var(--sombra-2); transform: translateY(-1px); }
.cartao-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cartao-rotulo { min-width: 0; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.cartao-topo i {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-suave); color: var(--accent); font-size: .95rem;
}
/* Dinheiro nunca ganha reticências: o valor encolhe com a tela (PADRÕES 20.2). */
.cartao-valor { margin-top: 6px; font-size: clamp(1.05rem, 5.2vw, 1.4rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cartao-legenda { margin-top: 2px; font-size: .8rem; color: var(--text-muted); }
.cartao-atencao { border-color: #f5d48c; background: linear-gradient(180deg, #fffaf0 0%, #fff 100%); }
.cartao-atencao .cartao-topo i { background: var(--receber-fundo); color: var(--receber-texto); }
.cartao-atencao .cartao-valor { color: var(--receber-texto); }
.cartao-marca .cartao-valor { color: var(--accent); }

/* ── Bloco (cartão com título) e listas ───────────────────────── */
.bloco { margin-bottom: 16px; border-radius: var(--raio); background: var(--bg-card); border: 1px solid var(--card-border-color); box-shadow: var(--sombra-1); overflow: hidden; }
.bloco-solto { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.bloco-solto .lista { border-radius: var(--raio); background: var(--bg-card); border: 1px solid var(--card-border-color); box-shadow: var(--sombra-1); overflow: hidden; }
.bloco-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--card-border-color); }
.bloco-cab h2 { min-width: 0; display: flex; align-items: center; gap: .5rem; font-size: 1.02rem; font-weight: 800; }
.bloco-cab h2 > i { color: var(--accent); }
.bloco-resumo { flex-shrink: 0; font-size: .85rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.vazio { padding: 18px 16px; color: var(--text-muted); font-size: .93rem; text-align: center; }
.lista { display: flex; flex-direction: column; }
.lista > * + * { border-top: 1px solid var(--m-75); }

.item {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 16px; border: 0; background: var(--bg-card); text-align: left; cursor: pointer;
  transition: background .15s ease;
}
.item:hover { background: var(--m-25); }
.item-hora { display: flex; flex-direction: column; min-width: 48px; font-weight: 800; font-size: 1.02rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.item-hora small { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.item-historico .item-hora { min-width: 68px; }
.item-meio { min-width: 0; display: flex; flex-direction: column; }
.item-nome, .item-serv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-nome { font-size: .98rem; font-weight: 700; }
.item-serv { font-size: .85rem; color: var(--text-muted); }
.item-selo { flex-shrink: 0; }
.item-cancelado .item-hora, .item-cancelado .item-nome { color: var(--text-muted); text-decoration: line-through; }
.item-novo { animation: acende 2.4s ease 1; background: var(--m-50); box-shadow: inset 4px 0 0 var(--accent); }
@keyframes acende { 0%, 40% { background: var(--m-100); } 100% { background: var(--m-50); } }

.selo {
  display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .6rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.selo-pago { background: var(--pago-fundo); color: var(--pago-texto); }
.selo-receber { background: var(--receber-fundo); color: var(--receber-texto); }
.selo-aguardando { background: var(--aguardando-fundo); color: var(--aguardando-texto); }
.selo-confirmado { background: var(--confirmado-fundo); color: var(--confirmado-texto); }
.selo-agora { background: var(--agora-fundo); color: var(--agora-texto); }
.selo-cancelado { background: var(--cancelado-fundo); color: var(--cancelado-texto); }
/* Celular estreito: o selo desce pra baixo do nome (o nome fica com a linha inteira). */
@media (max-width: 379.98px) {
  .item { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .item-selo { grid-column: 2; }
}

/* Convites (lembrete, página da cliente) */
.convite {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px 16px; border-radius: var(--raio);
  background: var(--bg-card); border: 1px solid var(--card-border-color); color: var(--text-main); box-shadow: var(--sombra-1);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.convite:hover { border-color: var(--roxo-300); box-shadow: var(--sombra-2); }
.convite > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.convite strong { font-size: .97rem; }
.convite span span { font-size: .87rem; color: var(--text-secondary); }
.convite > i:last-child { color: var(--text-muted); flex-shrink: 0; }
.convite-ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-suave); color: var(--accent); font-size: 1.3rem;
}
.convite-whats .convite-ico { background: #e3f7ea; color: var(--whats); }

/* ── Agenda: a semana em 7 colunas ────────────────────────────── */
.semana { margin-bottom: 14px; padding: 12px; border-radius: var(--raio); background: var(--bg-card); border: 1px solid var(--card-border-color); box-shadow: var(--sombra-1); }
.semana-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.semana-nav strong { flex: 1; min-width: 0; text-align: center; font-size: .95rem; }
.semana-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.semana-dia {
  min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px;
  border: 1.5px solid transparent; border-radius: 12px; background: transparent; cursor: pointer;
  transition: background .15s ease;
}
.semana-dia:hover { background: var(--bg-hover); }
.semana-dia small { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.semana-dia strong { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.semana-dia .pontos { display: flex; gap: 2px; height: 5px; }
.semana-dia .pontos i { width: 5px; height: 5px; border-radius: 50%; background: var(--roxo-300); }
.semana-dia.hoje { border-color: var(--roxo-200); }
.semana-dia.escolhido { background: var(--accent); border-color: var(--accent); }
.semana-dia.escolhido small, .semana-dia.escolhido strong { color: #fff; }
.semana-dia.escolhido .pontos i { background: #fff; }

/* ── Financeiro ──────────────────────────────────────────────── */
.seletor { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--card-border-color); }
.seletor button { min-height: 38px; padding: 0 1rem; border: 0; border-radius: 10px; background: transparent; font-weight: 700; color: var(--text-secondary); cursor: pointer; }
.seletor button::first-letter { text-transform: uppercase; }
.seletor button.ativo { background: var(--accent); color: #fff; }
/* Gráficos do financeiro (Chart.js): a caixa dá a altura, o canvas acompanha a largura (celular primeiro). */
.grafico-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 0; font-size: .84rem; color: var(--text-secondary); }
.grafico-legenda span { display: inline-flex; align-items: center; gap: .45rem; }
.grafico-legenda strong { color: var(--text-main); font-variant-numeric: tabular-nums; }
.chave-barra { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(0deg, var(--m-500), var(--m-700)); }
.chave-media { width: 16px; height: 0; border-top: 2px dashed var(--m-t3); }
.grafico-area { position: relative; height: 230px; margin: 4px 8px 0 4px; }
.grafico-ranking { height: auto; margin: 6px 12px 10px 16px; }
.grafico-melhor { margin: 6px 16px 0; padding: 10px 12px; border-radius: 12px; background: var(--m-50); font-size: .88rem; color: var(--text-secondary); }
.grafico-melhor i { color: var(--accent); margin-right: .35rem; }
.grafico-melhor strong { color: var(--text-main); }
.grafico-tabela { margin: 10px 16px 14px; }
.grafico-tabela summary { cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--accent); padding: 6px 0; }
.grafico-tabela ul { list-style: none; margin: 6px 0 0; padding: 0; columns: 2; column-gap: 18px; }
.grafico-tabela li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--m-75); font-size: .84rem; break-inside: avoid; }
.grafico-tabela li span { color: var(--text-muted); }
.grafico-tabela li strong { font-variant-numeric: tabular-nums; }
@media (max-width: 359.98px) { .grafico-tabela ul { columns: 1; } }
@media (min-width: 992px) { .grafico-area { height: 300px; margin: 8px 16px 0 10px; } .grafico-tabela ul { columns: 3; } }
.devendo { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; }
.devendo-quem { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
button.devendo-quem:hover strong { color: var(--accent); }
.devendo-quem strong, .devendo-quem span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.devendo-quem span { font-size: .85rem; color: var(--text-muted); }

/* ── Clientes ────────────────────────────────────────────────── */
.busca {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 14px; min-height: 50px; border-radius: 14px;
  background: var(--bg-card); border: 1.5px solid var(--card-border-color); box-shadow: var(--sombra-1);
}
.busca:focus-within { border-color: var(--roxo-300); }
.busca i { color: var(--text-muted); }
.busca input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--text-main); }
.cli { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-card); color: var(--text-main); transition: background .15s ease; }
.cli:hover { background: var(--m-25); }
.cli-meio { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cli-meio strong, .cli-meio span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cli-meio span { font-size: .84rem; color: var(--text-muted); }
.avatar {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--m-100), var(--m-180)); color: var(--roxo-900); font-weight: 800; font-size: .9rem;
}
.avatar-g { width: 64px; height: 64px; font-size: 1.3rem; box-shadow: 0 0 0 4px #fff, 0 8px 20px -8px rgba(var(--accent-rgb), .6); }
@media (max-width: 379.98px) { .cli { flex-wrap: wrap; } .cli .selo { margin-left: 54px; } }

.voltar { display: inline-flex; align-items: center; gap: .25rem; margin-bottom: 12px; font-weight: 700; font-size: .95rem; }
.ficha-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ficha-quem { min-width: 0; }
.ficha-quem h1 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.ficha-quem p { margin-top: 3px; color: var(--text-muted); font-size: .92rem; }
.ficha-quem p i { margin-right: .35rem; color: var(--whats); }
.ficha-acoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 8px; margin-bottom: 14px; }
.alerta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--receber-fundo); color: var(--receber-texto); font-size: .93rem; }
.numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 16px; border-radius: var(--raio); overflow: hidden; background: var(--card-border-color); border: 1px solid var(--card-border-color); box-shadow: var(--sombra-1); }
.numeros > div { min-width: 0; display: flex; flex-direction: column; padding: 12px 14px; background: var(--bg-card); }
.numeros small { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.numeros strong { font-size: 1.08rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ficha-nota { padding: 12px 16px 0; font-size: .86rem; color: var(--text-muted); }
.ficha-lista { list-style: none; margin: 0; padding: 6px 16px 12px; }
.ficha-lista li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .93rem; }
.ficha-lista li + li { border-top: 1px solid var(--m-75); }
.ficha-lista strong { flex-shrink: 0; }
.ficha-lista strong.sim { color: var(--perigo); }

/* ── Telas cheias (lado da cliente, WhatsApp): sem o menu da dona ── */
body.tela-cheia { padding-bottom: 24px; }
body.tela-cheia .barra, body.tela-cheia .vs-central { display: none; }
.como-cliente {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: -18px -16px 16px; padding: 10px 16px; background: #fff4d6; color: #5c3b00; font-size: .87rem;
}
.como-cliente a { font-weight: 800; color: #5c3b00; text-decoration: underline; white-space: nowrap; }
.como-cliente i { margin-right: .3rem; }

/* Lado da cliente */
.vitrine {
  position: relative; overflow: hidden; margin-bottom: 14px; padding: 26px 20px 24px; border-radius: 24px; text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, var(--m-800) 0%, var(--roxo-900) 50%, var(--roxo-950) 100%); color: #fff;
  box-shadow: 0 20px 40px -20px rgba(var(--m-950-rgb), .9);
}
.logo-studio-g { display: block; font-size: 2rem; line-height: 1.1; background: linear-gradient(90deg, var(--m-200), #fff 60%, var(--m-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vitrine-seg { margin-top: 2px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--roxo-200); }
.vitrine h1 { margin-top: 16px; font-size: 1.45rem; font-weight: 800; }
.vitrine p:last-child { margin-top: 4px; color: rgba(255, 255, 255, .78); font-size: .93rem; }
.passo { margin-bottom: 14px; padding: 16px; border-radius: var(--raio); background: var(--bg-card); border: 1px solid var(--card-border-color); box-shadow: var(--sombra-1); scroll-margin-top: calc(var(--faixa-h) + 12px); }
.passo h2 { display: flex; align-items: center; gap: .6rem; margin-bottom: 10px; font-size: 1.05rem; font-weight: 800; }
.passo-n { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: .85rem; }
.passo-cat { margin: 10px 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.passo-nota { margin-top: 10px; font-size: .83rem; color: var(--text-muted); }
.opcoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.opcao {
  min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; text-align: left;
  border: 1.5px solid var(--card-border-color); border-radius: 14px; background: var(--bg-card); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.opcao:hover { border-color: var(--roxo-300); }
.opcao strong { font-size: .93rem; line-height: 1.25; }
.opcao span { font-size: .8rem; color: var(--text-muted); }
.opcao.escolhida { border-color: var(--accent); background: var(--accent-suave); box-shadow: inset 0 0 0 1px var(--accent); }
.dias { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.dia {
  min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 2px; gap: 1px;
  border: 1.5px solid var(--card-border-color); border-radius: 13px; background: var(--bg-card); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dia:hover:not(:disabled) { border-color: var(--roxo-300); }
.dia small { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.dia strong { font-size: 1.1rem; font-weight: 800; }
.dia span { font-size: .66rem; color: var(--text-muted); white-space: nowrap; }
.dia:disabled { opacity: .45; cursor: not-allowed; }
.dia.escolhida { border-color: var(--accent); background: var(--accent); }
.dia.escolhida small, .dia.escolhida strong, .dia.escolhida span { color: #fff; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.hora {
  min-height: 42px; border: 1.5px solid var(--card-border-color); border-radius: 12px; background: var(--bg-card);
  font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.hora:hover { border-color: var(--roxo-300); }
.hora.escolhida { border-color: var(--accent); background: var(--accent); color: #fff; }
.resumo { display: flex; flex-direction: column; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: var(--accent-suave); }
.resumo span { font-size: .87rem; color: var(--text-secondary); }
.campo { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.campo > span { font-size: .85rem; font-weight: 700; color: var(--text-secondary); }
.campo input, .campo select {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--card-border-color);
  background: var(--bg-card); font: inherit; font-size: 16px; color: var(--text-main);
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--roxo-300); box-shadow: 0 0 0 3px rgba(var(--m-300-rgb), .25); }
.campo-dica { font-size: .85rem; color: var(--text-muted); }
.passo-feito { text-align: center; padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.passo-feito > i { font-size: 3rem; color: var(--dinheiro); }
.passo-feito h2 { font-size: 1.35rem; margin: 0; }
.passo-feito .botao { width: 100%; }

/* WhatsApp simulado (cores do WhatsApp: é o que a cliente vê no celular dela) */
.como-cliente-wa { margin-bottom: 0; }
.wa { margin: 0 -16px; min-height: calc(100vh - var(--faixa-h) - 44px); display: flex; flex-direction: column; background: var(--whats-fundo); }
.wa-topo { position: sticky; top: var(--faixa-h); z-index: 5; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--whats-escuro); color: #fff; }
.wa-topo a { color: #fff; font-size: 1.3rem; display: flex; padding: 4px; }
.wa-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--m-500), var(--m-hover)); font-weight: 800; font-size: .85rem; }
.wa-nome { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.wa-nome small { color: rgba(255, 255, 255, .75); font-size: .78rem; }
.wa-conversa { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 16px; }
.wa-dia { align-self: center; margin-bottom: 4px; padding: .2rem .7rem; border-radius: 8px; background: #fff; color: #54656f; font-size: .78rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bolha { max-width: 88%; padding: 7px 9px 5px; border-radius: 10px; font-size: .93rem; line-height: 1.38; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); animation: chega .3s ease both; }
.wa-bolha small { display: block; text-align: right; margin-top: 2px; font-size: .7rem; color: #667781; }
.wa-bolha small i { color: #53bdeb; }
.wa-eles { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-eu { align-self: flex-end; background: var(--whats-eu); border-top-right-radius: 2px; }
@keyframes chega { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wa-responder { padding: 12px 12px 16px; background: #f0f2f5; border-top: 1px solid #e3e6ea; }
.wa-responder p { margin-bottom: 8px; font-size: .85rem; color: #54656f; text-align: center; }
.wa-responder div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wa-resposta { min-height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid #9fd9b8; background: #fff; color: var(--whats-escuro); font-weight: 700; cursor: pointer; }
.wa-resposta:hover { background: #ecf9f1; }
.wa-efeito {
  display: flex; gap: 12px; margin: 0 12px 16px; padding: 14px; border-radius: 16px;
  background: var(--bg-card); border: 1.5px solid var(--roxo-200); box-shadow: var(--sombra-2); animation: chega .4s .35s ease both;
}
.wa-efeito > i { font-size: 1.4rem; color: var(--accent); }
.wa-efeito > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wa-efeito span { font-size: .88rem; color: var(--text-secondary); }
.wa-efeito .botao { margin-top: 6px; align-self: flex-start; min-height: 42px; }

/* ── Folha (ações de um horário) ─────────────────────────────── */
.vs-folha { --vs-folha-largura: 560px; }
.vs-folha h2 { padding-right: 0; overflow-wrap: anywhere; }
.folha-sub { margin-bottom: 12px; }
.folha-sub::first-letter { text-transform: uppercase; }
.folha-serv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--accent-suave); }
.folha-serv span { min-width: 0; display: flex; flex-direction: column; }
.folha-serv small { color: var(--text-muted); font-size: .82rem; }
.folha-serv > strong { flex-shrink: 0; font-size: 1.1rem; color: var(--accent); }
.folha-selo { margin-top: 10px; }
.folha-nota { display: flex; gap: .4rem; font-size: .87rem; color: var(--text-muted); }
.vs-folha .vs-folha-botoes .botao { width: 100%; min-height: 50px; }
.dias-folha { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vs-folha .lista { margin: 0 -1.25rem; }
.vs-folha .devendo { padding-left: 1.25rem; padding-right: 1.25rem; }

/* ── Aviso rápido ────────────────────────────────────────────── */
.aviso {
  position: fixed; left: 50%; bottom: calc(var(--barra-h) + env(safe-area-inset-bottom, 0px) + 14px); z-index: 1020;
  max-width: calc(100% - 32px); width: max-content; display: flex; align-items: center; gap: .55rem; padding: .7rem 1rem;
  border-radius: 14px; background: var(--roxo-950); color: #fff; font-size: .92rem; font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(var(--m-950-rgb), .6);
  opacity: 0; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }
.aviso i { color: #8ee0b0; flex-shrink: 0; }
body.tela-cheia .aviso { bottom: 18px; }

/* ── Barra de baixo (celular) ────────────────────────────────── */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  height: calc(var(--barra-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--card-border-color); box-shadow: 0 -8px 24px -16px rgba(var(--m-950-rgb), .35);
}
.barra a { min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-muted); font-size: .72rem; font-weight: 600; }
.barra a > i { font-size: 1.25rem; height: 32px; width: 54px; display: flex; align-items: center; justify-content: center; border-radius: 999px; transition: background .15s ease; }
.barra a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra a[aria-current="page"] { color: var(--accent); font-weight: 800; }
.barra a[aria-current="page"] > i { background: var(--accent-suave); }
.barra .vs-central-botao { color: var(--accent); font-weight: 800; }
/* Bolha que é <button> (abre folha, não navega): sem o fundo e a borda padrão do navegador. */
button.vs-central-bolha { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }

/* ── Menu lateral (computador) ───────────────────────────────── */
.lateral { display: none; }
@media (min-width: 992px) {
  body { padding-bottom: 32px; padding-left: var(--lateral-w); }
  .barra, .vs-central { display: none; }
  .aviso, body.tela-cheia .aviso { bottom: 28px; left: calc(50% + var(--lateral-w) / 2); }
  .tela { max-width: 980px; padding: 28px 36px 12px; }
  .lateral {
    position: fixed; top: var(--faixa-h); bottom: 0; left: 0; z-index: 1010; width: var(--lateral-w);
    display: flex; flex-direction: column; gap: 6px; padding: 22px 14px 16px; overflow-y: auto;
    background: var(--roxo-950); color: var(--roxo-200);
  }
  .lateral-marca { padding: 0 10px 14px; display: flex; flex-direction: column; }
  .lateral-marca .logo-studio { font-size: 1.55rem; color: #fff; }
  .lateral-marca small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--m-200-rgb), .7); }
  .lateral-novo { margin-bottom: 10px; background: linear-gradient(135deg, var(--m-500), var(--accent)); color: #fff; }
  .lateral-menu { display: flex; flex-direction: column; gap: 2px; }
  .lateral-menu a, .lateral-menu button {
    display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border: 0; border-radius: 12px; background: transparent;
    color: var(--roxo-200); font-size: .97rem; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s ease, color .15s ease;
  }
  .lateral-menu a:hover, .lateral-menu button:hover { background: rgba(var(--m-200-rgb), .08); color: #fff; }
  .lateral-menu a[aria-current="page"] { background: rgba(var(--m-500-rgb), .45); color: #fff; }
  .lateral-menu i { font-size: 1.1rem; }
  .lateral-titulo { margin: 14px .8rem 4px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--m-200-rgb), .55); }
  .lateral-mola { flex: 1 0 1rem; }
  .lateral-quero {
    display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px;
    background: linear-gradient(140deg, rgba(var(--m-500-rgb), .5), rgba(var(--m-900-rgb), .6)); border: 1px solid rgba(var(--m-200-rgb), .2); color: #fff;
    transition: border-color .15s ease;
  }
  .lateral-quero:hover { border-color: rgba(var(--m-200-rgb), .5); color: #fff; }
  .lateral-quero span { font-size: .85rem; color: rgba(255, 255, 255, .75); }
  .lateral-quero em { margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem; border-radius: 10px; background: var(--whats); font-style: normal; font-weight: 700; font-size: .88rem; }

  .cab h1 { font-size: 2rem; }
  .experimente ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .experimente li > a, .experimente li > button { height: 100%; }
  .cartoes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .cartao { padding: 16px 18px; }
  .cartao-valor { font-size: 1.45rem; }
  .numeros { grid-template-columns: repeat(4, 1fr); }
  .como-cliente { margin: -28px -36px 18px; padding: 10px 36px; }
  .wa { margin: 0 auto; max-width: 560px; min-height: 0; border-radius: 0 0 20px 20px; overflow: hidden; box-shadow: var(--sombra-2); }
  .como-cliente-wa { margin-bottom: 18px; }
  .wa-topo { position: static; }
  .tela-cheia .tela { max-width: 760px; }
  .dias { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .dias-folha { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Entrada (nome, negócio, cores) e "Criando…" ─────────────────────────────────────────────────────────────
   Fundo escuro na cor escolhida, sem menu: é a porta de entrada, a cor muda ao vivo quando a pessoa toca na paleta. */
body.sem-menu {
  background: radial-gradient(130% 70% at 50% 0%, var(--m-800) 0%, var(--m-900) 45%, var(--m-950) 100%);
  transition: background .35s ease;
}
body.sem-menu .lateral { display: none; }
.entrada, .criando { max-width: 520px; margin: 0 auto; padding: 10px 0 24px; color: #fff; }
.entrada-selo {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(var(--m-200-rgb), .14); color: var(--m-200); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.entrada h1 { margin-top: 14px; font-size: clamp(1.6rem, 7vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.entrada-sub { margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: .97rem; }
.entrada-cartao {
  margin-top: 20px; padding: 18px; border-radius: 22px; background: var(--bg-card); color: var(--text-main);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
}
.paletas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.paleta {
  min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; cursor: pointer;
  border: 2px solid var(--m-borda); border-radius: 16px; background: var(--m-25); color: var(--m-t1);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.paleta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(var(--m-950-rgb), .6); }
.paleta strong { font-size: .88rem; }
.paleta-amostra { display: flex; }
.paleta-amostra i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(var(--m-950-rgb), .25); }
.paleta-amostra i + i { margin-left: -8px; }
.paleta-amostra i:nth-child(1) { background: var(--m-950); }
.paleta-amostra i:nth-child(2) { background: var(--m-700); }
.paleta-amostra i:nth-child(3) { background: var(--m-200); }
.paleta.escolhida { border-color: var(--m-700); background: var(--m-50); box-shadow: 0 0 0 3px rgba(var(--m-300-rgb), .45); }
.entrada-cartao .botao-g { margin-top: 6px; }
.entrada-pular {
  display: block; width: 100%; margin-top: 8px; padding: 10px; border: 0; background: transparent; cursor: pointer;
  color: var(--text-muted); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.entrada-pular:hover { color: var(--accent); }

.criando { text-align: center; padding-top: 24px; }
.criando-logo {
  display: block; font-size: clamp(1.9rem, 9vw, 2.6rem); line-height: 1.15; overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--m-200), #fff 55%, var(--m-400)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.criando h1 { margin: 12px auto 0; max-width: 420px; font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: rgba(255, 255, 255, .9); text-wrap: balance; }
.criando-barra { margin: 22px auto 18px; max-width: 360px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.criando-barra span { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--m-400), #fff); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.criando-passos { list-style: none; margin: 0 auto; padding: 0; max-width: 360px; display: grid; gap: 10px; text-align: left; }
.criando-passos li { display: flex; align-items: center; gap: .7rem; color: rgba(255, 255, 255, .45); font-size: .97rem; transition: color .3s ease; }
.criando-passos li i { font-size: 1.15rem; flex-shrink: 0; }
.criando-passos li.andando { color: #fff; }
.criando-passos li.andando i { animation: pulsa .7s ease-in-out infinite alternate; }
.criando-passos li.feito { color: rgba(255, 255, 255, .92); }
.criando-passos li.feito i { color: var(--m-200); animation: surge .3s ease both; }
@keyframes pulsa { from { opacity: .35; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes surge { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.criando-fim {
  margin-top: 26px; padding: 20px 18px; border-radius: 22px; text-align: left; background: var(--bg-card); color: var(--text-main);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); animation: chega .45s ease both; scroll-margin-top: calc(var(--faixa-h) + 12px);
}
.criando-fim h2 { font-size: 1.15rem; font-weight: 800; }
.criando-fim > p { margin-top: 6px; color: var(--text-secondary); font-size: .95rem; }
.criando-real { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 12px; }
.criando-real li { display: flex; gap: .75rem; font-size: .92rem; color: var(--text-secondary); }
.criando-real li i {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-suave); color: var(--accent); font-size: 1rem;
}
.criando-real strong { color: var(--text-main); }
@media (min-width: 992px) {
  body.sem-menu { padding-left: 0; }
  body.sem-menu .tela { padding-top: 48px; }
}
body.sem-menu .faixa-recomecar { display: none; }   /* nada pra recomeçar antes de entrar */
/* Celular bem estreito: o ícone do cartão sai, senão o rótulo quebra no meio da palavra ("CONCLUÍD/OS", print 320px). */
@media (max-width: 359.98px) { .cartao-topo i { display: none; } .cartao-rotulo { overflow-wrap: normal; } }

/* ── WhatsApp opcional na entrada (decisões do Gustavo, 10/11/2026) ─────────────────────────────────────────────
   Um convite dentro do cartão (fundo da marca bem clarinho), não mais um campo obrigatório na fila: quem não quer
   deixar o número percebe na hora que pode pular. A frase de pra que serve o número fica sempre à vista (LGPD). */
.campo-whats { margin-top: 2px; padding: 12px 12px 10px; border-radius: 16px; background: var(--m-25); border: 1px solid var(--m-borda); }
.campo-whats > span { display: block; color: var(--text-main); line-height: 1.35; }
.campo-whats > span > i { color: var(--whats); font-size: 1rem; margin-right: 6px; vertical-align: -1px; }
.campo-opcional {
  display: inline-block; margin-left: 4px; vertical-align: 1px; white-space: nowrap;
  font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 99px; background: var(--m-75); color: var(--text-secondary);
}
.campo-nota { display: flex; align-items: flex-start; gap: 6px; font-size: .8rem; line-height: 1.35; color: var(--text-muted); }
.campo-nota i { margin-top: 1px; flex-shrink: 0; }
.campo-erro { font-size: .82rem; font-weight: 700; line-height: 1.35; color: var(--perigo); }
.campo-whats.invalido { border-color: var(--perigo-borda); background: var(--perigo-fundo); }
.campo-whats.invalido input { border-color: var(--perigo); }
