/* =====================================================================
   AEGO PRO · vidro estilo iPhone (Liquid Glass), modelo 3D, painel profissional e vitrine
   Carregar DEPOIS de style.css. Só transform/opacity nas animações.
   ===================================================================== */

:root {
  --lg-bg: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .28));
  --lg-bd: rgba(255, 255, 255, .7);
  --lg-blur: blur(24px) saturate(190%);
  --lg-sh: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .35), inset 1px 0 0 rgba(255, 255, 255, .45),
           0 1px 1px rgba(60, 45, 30, .04), 0 18px 40px -20px rgba(60, 45, 30, .32);
  --warm: #b08a5e;
  --warm2: #8f6a42;
  --ink: #151515;
}

/* ---------- vidro líquido ---------- */
.lg {
  position: relative; isolation: isolate; border-radius: 24px;
  background: var(--lg-bg); border: 1px solid var(--lg-bd); box-shadow: var(--lg-sh);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
.lg::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .7), transparent 46%),
              radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, .28), transparent 60%); opacity: .75; }
.lg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .35) 50%, transparent 62%); background-size: 260% 100%; background-position: 130% 0;
  transition: background-position 1.1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .lg:hover::after { background-position: -30% 0; } }
html.lite .lg { -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); }
@media (max-width: 979px) { .pro .lg { -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); } }

/* folhas, barra, aviso e toast em vidro claro (antes ficavam escuros com texto escuro) */
.sheet, .sheet.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(246, 243, 238, .7)) !important;
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1.5px 0 #fff, 0 30px 80px -30px rgba(40, 30, 20, .45);
  -webkit-backdrop-filter: blur(30px) saturate(190%) !important; backdrop-filter: blur(30px) saturate(190%) !important; }
.toast, .toast.glass, .aviso, .aviso.glass { background: rgba(255, 255, 255, .78) !important; color: var(--ink); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px -14px rgba(40, 30, 20, .35); }
.scrim { background: rgba(30, 24, 18, .22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tg[aria-checked="true"]::before { background: var(--ink); border-color: var(--ink); }
.tg[aria-checked="true"]::after { background: #fff; }
select.input option { background: #fff; color: var(--ink); }
.danger { color: var(--danger) !important; }

/* ---------- modelo 3D ---------- */
.p3d { position: relative; perspective: 900px; perspective-origin: 50% 35%; display: grid; place-items: center; cursor: grab; -webkit-user-select: none; user-select: none; overflow: visible; }
.p3d.is-arrastando { cursor: grabbing; }
.p3d-cena { position: relative; width: 100%; height: 100%; display: grid; place-items: center; transform-style: preserve-3d; z-index: 1; }
.p3d-obj { position: relative; transform-style: preserve-3d; will-change: transform; }
.p3d-f { position: absolute; top: 0; background-repeat: repeat-x; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.p3d-topo, .p3d-base { position: absolute; left: 0; border-radius: 50%; background-size: cover; background-position: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.p3d-topo { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.p3d-sombra { position: absolute; left: 50%; top: calc(50% + var(--p3d-h, 80px) / 2 - var(--p3d-d, 120px) * .02); width: calc(var(--p3d-d, 120px) * 1.25); height: calc(var(--p3d-d, 120px) * .26);
  transform: translate(-50%, -30%); border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 32, 20, .38), rgba(45, 32, 20, .12) 60%, transparent); filter: blur(5px); z-index: 0; pointer-events: none; }

/* ======================================================================
   PAINEL PROFISSIONAL
   ====================================================================== */
.pro { --side: 264px; }
.pro body, body.pro { background: #ebe7e0 !important; }
body.pro::after { opacity: 1 !important; background:
  radial-gradient(40% 30% at 6% 12%, rgba(196, 160, 118, .55), transparent 70%),
  radial-gradient(34% 26% at 96% 30%, rgba(214, 190, 160, .7), transparent 70%),
  radial-gradient(38% 30% at 60% 96%, rgba(170, 135, 98, .42), transparent 70%),
  radial-gradient(30% 24% at 40% 50%, rgba(255, 255, 255, .7), transparent 70%) !important; }
.pro .wrap.pro-main { max-width: 640px; }
.pro .view { padding-top: 2px; }
.pro h2 { font-size: 18px; font-weight: 400; letter-spacing: -.01em; }
.pro .eyebrow { font-family: var(--sans) !important; font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pro .ibtn { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(40, 30, 20, .25); }
.ibtn-sm { width: 40px; height: 40px; }
.pro .ag { background: var(--lg-bg) !important; border: 1px solid var(--lg-bd); box-shadow: var(--lg-sh); }
.pro .ag.is-feito, .pro .ag.is-faltou { background: rgba(255, 255, 255, .3) !important; }
.pro .grp .list { background: rgba(255, 255, 255, .42); border-color: rgba(255, 255, 255, .75); }

/* topo */
.pro .top { margin-bottom: 18px; }
.pro .top-n { font-size: 26px; font-weight: 300; letter-spacing: -.03em; }
.top-acts { display: flex; align-items: center; gap: 8px; }
.top-novo { display: none !important; }
.top-novo svg path { stroke-width: 1.5; }
.pro .top-date { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .8); }

/* menu lateral (computador) */
.side { display: none; }
.side-brand { display: flex; align-items: center; gap: 12px; padding: 6px 8px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(20, 20, 20, .07); }
.side-brand-t { min-width: 0; display: grid; }
.side-brand-t b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-brand-t small { font-size: 11.5px; color: var(--muted); }
.side-nav { display: grid; gap: 4px; padding: 16px 0; }
.side-i, .side-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: none;
  font-size: 14.5px; color: #3a3935; text-decoration: none; text-align: left; transition: background .25s, color .25s, transform .2s var(--ease); }
.side-i svg, .side-link svg { width: 20px; height: 20px; flex: none; }
.side-i svg *, .side-link svg *, .top-acts svg *, .busca svg *, .pc svg *, .mini svg *, .btn svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.side-i:hover { background: rgba(255, 255, 255, .55); }
.side-i.is-on { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(20, 20, 20, .6); }
.side-i:active { transform: scale(.97); }
.side-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.side-foot { margin-top: auto; display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(20, 20, 20, .07); }
.side-link { color: var(--muted); font-size: 13.5px; min-height: 42px; }
.side-link:hover { color: var(--ink); background: rgba(255, 255, 255, .45); }

/* barra inferior com 5 abas (celular) */
.pro .nav.bar { background: rgba(255, 255, 255, .62) !important; border: 1px solid rgba(255, 255, 255, .85) !important;
  box-shadow: inset 0 1.5px 0 #fff, 0 18px 40px -14px rgba(40, 30, 20, .4) !important; -webkit-backdrop-filter: blur(24px) saturate(190%) !important; backdrop-filter: blur(24px) saturate(190%) !important; }
.pro .nav .tab { min-width: 62px; padding: 0 8px; font-size: 10.5px; min-height: 54px; }
.pro .nav .tab.is-on { background: var(--ink); }
@media (max-width: 360px) { .pro .nav .tab { min-width: 54px; padding: 0 4px; font-size: 10px; } }

/* cartões base */
.card { padding: 16px 16px 14px; margin-bottom: 12px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; min-height: 32px; }
.card-h .btn-sm { min-height: 36px; padding: 0 8px; }
.leg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.leg i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.lg-s { background: var(--ink); } .lg-p { background: var(--warm); }

/* indicadores */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 14px 12px; text-align: left; color: inherit; font: inherit; cursor: pointer; overflow: hidden; min-width: 0;
  animation: inUp .6s var(--ease) both; animation-delay: calc(var(--k) * 70ms); transition: transform .3s var(--ease); }
.kpi:active { transform: scale(.98); }
.kpi.no-link { cursor: default; }
.kpi-l { font-size: 12px; color: var(--muted); }
.kpi-v { font-size: clamp(22px, 6.4vw, 30px); font-weight: 300; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.kpi-d { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.kpi-d small { font-size: 10.5px; opacity: .8; }
.kpi-d.up { color: var(--ok); } .kpi-d.down { color: var(--danger); }
.kpi-s { font-size: 11.5px; color: var(--muted); margin-top: auto; }
.spark { width: 100%; height: 30px; margin-top: 4px; overflow: visible; }
.spark-l { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s var(--ease) .3s forwards; }
.spark-a { fill: url(#none); fill: rgba(176, 138, 94, .16); }

/* listas pequenas */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(20, 20, 20, .06); cursor: default; }
.mini:last-child { border-bottom: 0; }
.mini[data-v] { cursor: pointer; border-radius: 12px; transition: background .2s; }
.mini[data-v]:hover { background: rgba(255, 255, 255, .45); }
.mini-h { flex: none; width: 52px; font-size: 18px; color: var(--ink); line-height: 1.05; }
.mini-h small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.mini-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 10px -6px rgba(40, 30, 20, .3); }
.mini-ico svg, .mini-ico .ico { width: 20px; height: 20px; stroke: var(--ink) !important; }
.mini-m { flex: 1; min-width: 0; display: grid; }
.mini-m b { font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-m small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-seta { width: 18px; height: 18px; color: var(--muted); flex: none; }
.mini.is-prox .mini-h { color: var(--warm2); }
.mini.al-warn .mini-ico { background: rgba(194, 65, 45, .1); color: var(--danger); }
.mini.al-warn .mini-ico svg { stroke: var(--danger) !important; }
.mini-vazio { list-style: none; font-size: 13.5px; color: var(--muted); padding: 6px 0; margin: 0; }
.pro .ico { stroke: var(--ink); }
.ico-chip { width: 18px; height: 18px; margin-right: 6px; stroke: currentColor !important; }

/* gráfico 14 dias */
.graf-bars { display: flex; gap: 5px; align-items: stretch; height: 150px; }
.gb { flex: 1; min-width: 0; border: 0; background: none; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); cursor: pointer; }
.gb-t { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 8px; overflow: hidden; background: rgba(20, 20, 20, .04); }
.gb-s, .gb-p { display: block; width: 100%; transform-origin: 50% 100%; animation: grow .9s var(--ease) both; animation-delay: calc(var(--i) * 35ms + 150ms); }
.gb-s { background: linear-gradient(180deg, #3a3935, var(--ink)); }
.gb-p { background: linear-gradient(180deg, #d1ae83, var(--warm)); }
.gb.is-hoje .gb-t { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gb:hover .gb-t { background: rgba(20, 20, 20, .08); }
.gb-l { font-size: 10.5px; text-align: center; }
.graf-tip { margin-top: 10px; font-size: 13px; color: var(--ink); min-height: 20px; }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }

/* serviços do mês */
.tsv { display: flex; align-items: center; gap: 12px; padding: 8px 0; animation: inUp .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.tsv-m { flex: 1; min-width: 0; }
.tsv-t { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.tsv-t b { font-weight: 400; }
.tsv-bar { height: 6px; border-radius: 6px; background: rgba(20, 20, 20, .06); margin: 6px 0 3px; overflow: hidden; }
.tsv-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--warm), var(--ink)); transform-origin: 0 50%; animation: growX 1s var(--ease) both .2s; }
.tsv small { font-size: 11.5px; color: var(--muted); }
@keyframes growX { from { transform: scaleX(0); } }

/* agenda: semana */
.semana { padding: 12px; margin: 12px 0; }
.sem-h { padding: 0 4px 8px; }
.sem-d { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sem-b { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0; border: 0; border-radius: 14px; background: none; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; transition: background .2s, transform .2s var(--ease); }
.sem-b b { font-size: 18px; font-weight: 300; color: var(--ink); letter-spacing: 0; }
.sem-b i { font-style: normal; font-size: 11px; min-width: 18px; text-align: center; border-radius: 999px; }
.sem-b.is-hoje b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sem-b.is-on { background: var(--ink); color: rgba(255, 255, 255, .7); }
.sem-b.is-on b { color: #fff; }
.sem-b:active { transform: scale(.94); }
.sumline-b { display: flex; gap: 8px; }
.sumline-b .btn { min-height: 42px; }

/* clientes */
.cli-top { display: grid; gap: 4px; margin-bottom: 8px; }
.busca { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 52px; border-radius: 999px; }
.busca svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.busca input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; min-height: 50px; }
.cli-resumo, .prod-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
.cr { padding: 12px 14px; display: grid; gap: 2px; border-radius: 20px; }
.cr b { font-size: 24px; font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.cr span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.cr-w b { color: var(--danger); }
.cli-card { padding: 6px 14px; }
.ct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(20, 20, 20, .06); font-size: 14px; animation: inUp .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.ct:last-child { border-bottom: 0; }
.ct-h { display: none; }
.ct-n { display: flex; align-items: center; gap: 12px; min-width: 0; grid-column: 1 / -1; }
.ct-n > span { display: grid; min-width: 0; }
.ct-n b { font-weight: 400; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-n small, .ct small { color: var(--muted); font-size: 12px; }
.ct .falta { color: var(--danger); }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  background: linear-gradient(145deg, #fff, #e8e1d6); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 10px -6px rgba(40, 30, 20, .35); color: var(--warm2); }
.ct > span[data-l] { font-size: 13px; }
.ct > span[data-l]::before { content: attr(data-l) " "; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.ct-a { grid-column: 1 / -1; }
.ct-a .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.tag { display: inline-block; font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: rgba(20, 20, 20, .07); color: #444; }
.tag-fiel { background: rgba(47, 125, 58, .12); color: var(--ok); }
.tag-sumido { background: rgba(194, 65, 45, .1); color: var(--danger); }
.tag-novo { background: rgba(176, 138, 94, .18); color: var(--warm2); }
@media (max-width: 979px) { .ct > span:nth-child(5) { justify-self: end; } }

/* produtos */
.prod-hero { display: grid; grid-template-columns: 1fr; overflow: hidden; margin-bottom: 12px; border-radius: 28px;
  background: radial-gradient(90% 120% at 85% 20%, rgba(214, 186, 150, .55), transparent 60%), var(--lg-bg); }
.prod-hero-3d { height: 220px; }
.prod-hero-t { padding: 0 18px 18px; }
.prod-hero-t h2 { font-size: 19px; line-height: 1.3; margin: 6px 0 14px; font-weight: 300; }
.prod-hero-b { display: grid; gap: 8px; }
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc { display: flex; flex-direction: column; overflow: hidden; padding: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.pc-in { animation: pcIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes pcIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .pc:hover { transform: translateY(-3px); } .pc:hover .pc-img img { transform: scale(1.05) rotate(-2deg); } }
.pc.is-off { opacity: .6; }
.pc-img { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 60%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.pc-img img { width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(40, 30, 20, .28)); transition: transform .6s var(--ease); }
.pc-ph { display: grid; place-items: center; width: 64px; height: 64px; color: var(--muted); }
.pc-ph .ico { stroke: var(--muted); }
.pc-img .tag { position: absolute; left: 10px; top: 10px; }
.pc-img .tag + .tag { left: auto; right: 10px; }
.tag-dest { background: var(--ink); color: #fff; }
.tag-3d { background: rgba(255, 255, 255, .85); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .3); }
.pc-b { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-cat { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.pc h3 { font-size: 15.5px; font-weight: 400; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
.pc-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-height: 16px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 12px; height: 4px; border-radius: 4px; background: rgba(20, 20, 20, .12); }
.dots i.on { background: var(--ink); }
.pc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.pc-row b { font-size: 17px; font-weight: 400; }
.pc-est { font-size: 11.5px; color: var(--muted); }
.pc-est.is-baixo { color: var(--danger); font-weight: 500; }
.pc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.pc-acts .btn { min-height: 40px; padding: 0 8px; font-size: 13px; gap: 6px; }
.pc-acts .btn svg { width: 15px; height: 15px; }

/* folhas grandes / assistente */
.sheet-xl { max-width: 560px; }
.pw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pw-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.pw-steps li { counter-increment: s; font-size: 11.5px; color: var(--muted); padding: 5px 10px 5px 6px; border-radius: 999px; background: rgba(20, 20, 20, .05); display: inline-flex; align-items: center; gap: 6px; transition: background .3s, color .3s; }
.pw-steps li::before { content: counter(s); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; background: rgba(20, 20, 20, .1); }
.pw-steps li.is-on { background: var(--ink); color: #fff; }
.pw-steps li.is-on::before { background: rgba(255, 255, 255, .2); }
.pw-steps li.is-feito::before { content: "✓"; background: var(--ok); color: #fff; }
.pw-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1.5px dashed rgba(20, 20, 20, .2); background: rgba(255, 255, 255, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; color: var(--ink); transition: transform .25s var(--ease), border-color .2s; }
.pf:active { transform: scale(.97); }
.pf.obr { border-color: rgba(20, 20, 20, .35); }
.pf.tem { border-style: solid; border-color: rgba(255, 255, 255, .9); justify-content: flex-end; }
.pf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf.tem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); }
.pf-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 14px -8px rgba(40, 30, 20, .4); }
.pf-ico svg { width: 22px; height: 22px; }
.pf-ico svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pf-t { position: relative; z-index: 1; display: grid; text-align: center; }
.pf-t b { font-weight: 500; font-size: 13.5px; }
.pf-t small { font-size: 11.5px; color: var(--muted); }
.pf.tem .pf-t b, .pf.tem .pf-t small { color: #fff; }
.pf-ok { position: absolute; z-index: 1; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.pf-ok svg { width: 14px; height: 14px; } .pf-ok svg * { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* escaneando */
.scan { position: relative; height: 280px; overflow: hidden; border-radius: 26px; display: grid; place-items: center; }
.scan-img { position: absolute; inset: 18px; background: center / contain no-repeat; filter: drop-shadow(0 18px 20px rgba(40, 30, 20, .3)); animation: scanFloat 3s ease-in-out infinite alternate; }
@keyframes scanFloat { from { transform: translateY(-4px) scale(.98); } to { transform: translateY(4px) scale(1.01); } }
.scan-linha { position: absolute; left: 6%; right: 6%; height: 2px; top: 10%; background: linear-gradient(90deg, transparent, var(--warm), #fff, var(--warm), transparent);
  box-shadow: 0 0 18px 4px rgba(214, 174, 120, .6); animation: scanLinha 1.8s cubic-bezier(.6, 0, .4, 1) infinite alternate; }
@keyframes scanLinha { to { transform: translateY(220px); } }
.scan-grade { position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 20, 20, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, .05) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.scan-etapas { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; gap: 4px; }
.scan-etapas li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; font-size: 14.5px; color: var(--faint); transition: color .3s; }
.scan-etapas li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(20, 20, 20, .15); box-sizing: border-box; }
.scan-etapas li.is-on { color: var(--ink); }
.scan-etapas li.is-on::before { border-color: rgba(20, 20, 20, .15); border-top-color: var(--ink); animation: gira .8s linear infinite; }
.scan-etapas li.is-ok { color: var(--ink); }
.scan-etapas li.is-ok::before { content: "✓"; display: grid; place-items: center; border: 0; background: var(--ok); color: #fff; font-size: 12px; animation: pop .4s var(--spring); }
.scan-etapas li.is-x { color: var(--muted); }
.scan-etapas li.is-x::before { content: "–"; display: grid; place-items: center; border: 0; background: rgba(20, 20, 20, .12); color: #555; font-size: 12px; }
@keyframes gira { to { transform: rotate(360deg); } }

/* revisar */
.pw-rev { display: grid; gap: 12px; }
.pw-rev-3d { position: relative; border-radius: 26px; background: radial-gradient(80% 70% at 50% 45%, #fff, rgba(255, 255, 255, .2) 70%), rgba(234, 226, 214, .5); border: 1px solid rgba(255, 255, 255, .85); }
.pw-3d { height: 260px; }
.pw-3d.vazio { display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.pw-3d-dica { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; margin: 0; }
.ia-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); }
.ia-badge .pulse { background: var(--ok); } .ia-badge .pulse::after { background: var(--ok); }
.aviso-ia { padding: 10px 12px; border-radius: 14px; background: rgba(176, 138, 94, .16); color: #5b4329; margin: 0 0 12px; }
.f2, .f3 { display: grid; gap: 0 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pro .field { margin-bottom: 12px; }
.pro .input { font-size: 16px; min-height: 46px; }
.ta { min-height: 84px !important; padding: 10px 2px; resize: vertical; line-height: 1.45; }
.fix { display: flex; align-items: center; gap: 6px; margin: 2px 0 14px; }
.fx { width: 34px; height: 30px; border: 0; padding: 0; background: none; position: relative; }
.fx::before { content: ""; position: absolute; left: 2px; right: 2px; top: 11px; height: 8px; border-radius: 8px; background: rgba(20, 20, 20, .12); transition: background .2s, transform .3s var(--spring); }
.fx.on::before { background: var(--ink); }
.fx:active::before { transform: scaleY(1.4); }
.fx-t { font-size: 12.5px; color: var(--muted); margin-left: 6px; }
#fpBrilho { margin: 0 -16px 6px; }
.hr.hr-tg { grid-template-columns: 1fr 54px; }
.pro .mono-t { fill: var(--ink); }
.pro .mono-anel { stroke: var(--ink); }
.pw-acts { position: sticky; bottom: -18px; margin: 16px -20px -18px; padding: 12px 20px 18px; background: linear-gradient(180deg, rgba(248, 245, 240, 0), rgba(248, 245, 240, .96) 30%); }

/* venda */
.venda-top { display: flex; align-items: center; gap: 14px; }
.venda-3d { width: 96px; height: 96px; flex: none; display: grid; place-items: center; }
.qtd { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 18px 0 10px; }
.qtd .num { font-size: 40px; font-weight: 200; min-width: 60px; text-align: center; }
.qtd .ibtn { font-size: 22px; width: 52px; height: 52px; }

/* ícones */
.ico-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 52vh; overflow-y: auto; padding: 2px; }
.ico-b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; border: 1px solid rgba(20, 20, 20, .08); background: rgba(255, 255, 255, .55); font-size: 11.5px; color: var(--ink); text-align: center; transition: transform .2s var(--ease); }
.ico-b .ico { width: 28px; height: 28px; stroke: var(--ink); }
.ico-b.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ico-b.is-on .ico { stroke: #fff; }
.ico-b:active { transform: scale(.95); }
.svc-ed { grid-template-columns: 48px minmax(0, 1fr) 76px 60px 40px !important; }
.svc-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .9); background: linear-gradient(145deg, #fff, #efe9df); box-shadow: 0 6px 14px -8px rgba(40, 30, 20, .4); padding: 0; }
.svc-ico .ico { width: 24px; height: 24px; stroke: var(--ink); }
@media (max-width: 599px) {
  .svc-ed { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 40px !important; align-items: center !important; }
  .svc-ed .svc-ico { grid-row: 1 / 3; align-self: center; }
  .svc-ed .lbl-nome { grid-column: 2 / 4; grid-row: 1; }
  .svc-ed .lbl-preco { grid-column: 2; grid-row: 2; }
  .svc-ed label:nth-of-type(3) { grid-column: 3; grid-row: 2; }
  .svc-ed [data-rm] { grid-column: 4; grid-row: 1 / 3; }
}

/* novo agendamento */
#shAg .slots { margin-bottom: 6px; }
#shAg .slot { min-height: 46px; font-size: 15px; }
#shAg .svc-chips .chip { display: inline-flex; }

/* ---------- celular: telas maiores ---------- */
@media (min-width: 600px) {
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cli-resumo, .prod-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pw-fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- computador: menu lateral, grades, folhas centralizadas ---------- */
@media (min-width: 980px) {
  .pro #app { padding-left: calc(var(--side) + 24px); }
  .side { display: flex; flex-direction: column; position: fixed; z-index: 35; left: 16px; top: 16px; bottom: 16px; width: var(--side); padding: 18px 14px; border-radius: 30px; }
  .pro .nav.bar, .pro .bar-spacer { display: none !important; }
  .pro .wrap.pro-main { max-width: 1240px; padding: 26px 32px 48px 8px; }
  .pro .top .wordmark, .top-aj { display: none !important; }
  .top-novo { display: inline-flex !important; }
  .pro .top-n { font-size: 32px; }
  .pro .top-date { display: none; }
  .g-dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 14px; align-items: start; }
  .g-dash .card { margin: 0; }
  .kpi-v { font-size: 32px; }
  .ag-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
  .ag-col-l { position: sticky; top: 24px; }
  .fin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .fin-r .stack { margin-top: 0; }
  .fin-top { display: flex; align-items: center; justify-content: space-between; }
  .aj-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .cli-top { grid-template-columns: minmax(0, 420px) 1fr; align-items: center; gap: 14px; }
  .cli-top .chips { margin: 0; padding: 0; }
  .cli-card { padding: 4px 20px; }
  .ct { grid-template-columns: minmax(0, 2.2fr) .8fr 1fr 1.2fr .8fr 190px; padding: 12px 0; }
  .ct-h { display: grid; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 0 10px; animation: none; }
  .ct-n, .ct-a { grid-column: auto; }
  .ct-a { justify-self: end; }
  .ct > span[data-l]::before { display: none; }
  .prod-hero { grid-template-columns: 360px minmax(0, 1fr); align-items: center; }
  .prod-hero-3d { height: 280px; }
  .prod-hero-t { padding: 28px 32px 28px 0; }
  .prod-hero-t h2 { font-size: 26px; }
  .prod-hero-b { grid-auto-flow: column; justify-content: start; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
  /* folhas viram janelas no centro */
  .pro .sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: min(560px, calc(100vw - 48px)); max-height: 88vh; transform: translate(-50%, -46%) scale(.96); opacity: 0;
    transition: transform .45s var(--spring), opacity .25s var(--ease), visibility 0s .45s; padding: 22px 26px 22px; border-radius: 30px; }
  .pro .sheet.is-on { transform: translate(-50%, -50%); opacity: 1; transition: transform .45s var(--spring), opacity .25s var(--ease), visibility 0s; }
  .pro .sheet .sheet-grab { display: none; }
  .pro .sheet-xl { width: min(980px, calc(100vw - 48px)); max-width: none; }
  .pro .sheet-xl .pw-fotos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pw-rev { grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
  .pw-rev-3d { position: sticky; top: 0; }
  .pw-3d { height: 380px; }
  .pw-acts { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 10px; margin: 16px -26px -22px; padding: 14px 26px 22px; }
  .pw-acts .btn-block { width: auto; }
  .pw-acts #pwExcluir { margin-right: auto; }
  .scan { height: 340px; }
  @keyframes scanLinha { to { transform: translateY(280px); } }
  .ico-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .toast { bottom: 28px; }
}
@media (min-width: 1280px) { .kpis { gap: 14px; } .g-dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }

/* AEGO · nome da barbearia com fade adaptável aos dois temas */
:root {
  --aego-name-a:#171717;
  --aego-name-b:#9b8060;
  --aego-name-c:#d8c5a9;
}
html[data-theme="dark"] {
  --aego-name-a:#f4f0e9;
  --aego-name-b:#c2a27d;
  --aego-name-c:#fff;
}
.hero-nome {
  color:var(--aego-name-a) !important;
  background:linear-gradient(105deg,var(--aego-name-a) 0%,var(--aego-name-b) 42%,var(--aego-name-c) 52%,var(--aego-name-b) 62%,var(--aego-name-a) 100%);
  background-size:220% 100%;
  background-position:100% 50%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:aegoNomeFade 6s ease-in-out infinite;
}
@keyframes aegoNomeFade {
  0%,100% { background-position:100% 50%; }
  50% { background-position:0% 50%; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-nome { animation:none !important; background-position:50% 50%; }
}

/* Vitrine: mantém o palco 3D e os cartões sticky, com percurso mais curto */
.vt-pin { height:calc(100svh * var(--n,3) * .52 + 24svh); }
.vt-card {
  top:calc(var(--safe-t) + 60px + var(--i) * 8px);
  min-height:320px;
  margin-bottom:18px;
}
.vt-card-img { height:170px; }
.vt-stack { padding-bottom:28px; }
.vt-card-b p { color:var(--muted); }
html[data-theme="dark"] .vt-card-img {
  background:radial-gradient(70% 70% at 50% 55%,rgba(255,255,255,.12),rgba(255,255,255,.02)),linear-gradient(160deg,rgba(176,138,94,.2),rgba(255,255,255,.035));
}
html[data-theme="dark"] .vt-card-b p { color:#c2c0ba; }
html[data-theme="dark"] .pd-chips span {
  color:var(--text);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.13);
}
@media (max-width:600px) {
  .vt-card { min-height:300px; margin-bottom:14px; }
  .vt-card-img { height:150px; }
}

/* ======================================================================
   VITRINE DO CLIENTE (index.html) · animação guiada pela rolagem
   ====================================================================== */
.vitrine { position: relative; margin: 26px calc(-1 * var(--pad)) 0; }
.vt-pin { position: relative; height: calc(100svh * var(--n, 3) * .9 + 40svh); }
.vt-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.vt-big { position: absolute; top: 14%; left: 0; white-space: nowrap; font-family: "Josefin", var(--sans); font-weight: 700; font-size: clamp(120px, 38vw, 260px); line-height: 1;
  letter-spacing: -.02em; text-transform: uppercase; color: rgba(20, 20, 20, .07); will-change: transform; pointer-events: none; }
.vt-big span { -webkit-text-stroke: 1px rgba(20, 20, 20, .08); }
.vt-titulo { position: absolute; top: calc(var(--safe-t) + 22px); left: 0; right: 0; text-align: center; z-index: 3; }
.vt-titulo .eyebrow { display: block; }
.vt-titulo h2 { font-family: "Josefin", var(--sans) !important; text-transform: uppercase; letter-spacing: .14em; font-weight: 300; font-size: 22px; margin-top: 6px; }
.vt-3d { position: relative; z-index: 2; width: min(92vw, 440px); height: min(56svh, 440px); margin-top: -6svh; }
.vt-3d.troca { animation: vtTroca .7s var(--ease); }
@keyframes vtTroca { 0% { opacity: 0; transform: scale(.8) translateY(30px); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: none; } }
.vt-info { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: calc(var(--safe-b) + 96px); max-width: 480px; margin: 0 auto; padding: 14px 16px; border-radius: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.vt-info .vt-cat { grid-column: 1 / -1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vt-info h3 { margin: 0; font-family: "Josefin", var(--sans); font-weight: 300; font-size: 21px; letter-spacing: .02em; line-height: 1.2; }
.vt-info .vt-preco { font-size: 20px; font-weight: 300; white-space: nowrap; }
.vt-info .vt-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.vt-info .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.vt-info.troca > * { animation: inUp .5s var(--ease) both; }
.vt-info.troca > *:nth-child(2) { animation-delay: 60ms; } .vt-info.troca > *:nth-child(3) { animation-delay: 120ms; }
.vt-prog { position: absolute; z-index: 3; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.vt-prog i { width: 4px; height: 18px; border-radius: 4px; background: rgba(20, 20, 20, .15); transition: height .3s var(--ease), background .3s; }
.vt-prog i.on { height: 34px; background: var(--ink); }
.vt-dica { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--safe-b) + 210px); text-align: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }

/* cartões que empilham (sticky) */
.vt-stack { position: relative; padding: 10px 14px 40px; }
.vt-stack-h { padding: 0 6px 14px; }
.vt-stack-h h2 { font-family: "Josefin", var(--sans) !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 300; font-size: 26px; line-height: 1.15; }
.vt-card { position: sticky; top: calc(var(--safe-t) + 70px + var(--i) * 14px); margin-bottom: 28px; padding: 14px; border-radius: 30px; min-height: 360px; display: grid; grid-template-rows: auto 1fr;
  transform-origin: 50% 0; transform: scale(calc(1 - var(--s, 0) * .06)); will-change: transform; }
.vt-card-img { position: relative; height: 200px; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, #fff, rgba(255, 255, 255, .1)), linear-gradient(160deg, rgba(214, 186, 150, .55), rgba(176, 138, 94, .25)); }
.vt-card-img img { width: 72%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(40, 30, 20, .3)); transform: translateY(calc(var(--s, 0) * -10px)) rotate(calc(var(--s, 0) * -4deg)); }
.vt-card-img .tag { position: absolute; left: 12px; top: 12px; }
.vt-card-b { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 6px; }
.vt-card-b h3 { margin: 0; font-family: "Josefin", var(--sans); font-weight: 300; font-size: 22px; letter-spacing: .02em; }
.vt-card-b p { margin: 0; font-size: 14px; color: #47463f; line-height: 1.45; }
.vt-card-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.vt-card-f b { font-size: 22px; font-weight: 300; }
.vt-card-f .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
.vt-card-f .btn svg { width: 18px; height: 18px; }
.vt-card-f .btn svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* folha do produto (cliente) */
.pd-3d { height: 300px; margin: -4px -8px 4px; border-radius: 24px; background: radial-gradient(70% 70% at 50% 50%, #fff, rgba(255, 255, 255, 0)); }
.pd-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-nome { font-family: "Josefin", var(--sans) !important; font-weight: 300; font-size: 24px; letter-spacing: .02em; margin: 4px 0 8px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.pd-chips span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(20, 20, 20, .08); display: inline-flex; align-items: center; gap: 8px; }
.pd-desc { font-size: 15px; line-height: 1.5; color: #333; margin: 0 0 10px; }
.pd-preco { font-size: 30px; font-weight: 200; letter-spacing: -.03em; }
.pd-dica { font-size: 12.5px; color: var(--muted); text-align: center; margin: 2px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .vt-pin { height: auto; } .vt-stage { position: relative; height: auto; padding: 80px 0 160px; }
  .vt-card { position: relative; top: auto; transform: none; }
  .kpi, .tsv, .ct, .pc-in, .gb-s, .gb-p, .tsv-bar span, .spark-l { animation: none !important; stroke-dashoffset: 0; }
}
@media (min-width: 700px) { .vitrine { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); } .vt-stack { max-width: 560px; margin: 0 auto; } }
@media (max-width: 979px) {
  .pw-acts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
  .pw-acts #pwSalvar { grid-column: 2; grid-row: 1; }
  .pw-acts #pwRefazer { grid-column: 1; grid-row: 1; }
  .pw-acts #pwExcluir { grid-column: 1 / -1; grid-row: 2; min-height: 40px; }
  .pw-acts .btn { min-height: 48px; padding: 0 12px; }
}


/* ---------- ajustes AEGO: alternância de tema, ícones e alinhamento ---------- */
.theme-toggle { width: 42px; height: 42px; flex: none; display: grid; place-items: center; }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle svg * { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pro .top-acts { flex-wrap: wrap; }
.pro .ct > span[data-l] { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; line-height: 1.35; }
.pro .ct > span[data-l]::before { flex: none; margin-right: 0; }
.pro .ct > span[data-l] small { white-space: nowrap; }
.pro .ct > span:nth-child(3) { font-variant-numeric: tabular-nums; }
.pro .ct > span:nth-child(4) { min-width: 0; }
.pro .ct-a .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pro .ct-a .btn svg { width: 19px; height: 19px; flex: none; }
.pro .ct-a .btn svg .wa-bubble { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.pro .ct-a .btn svg .wa-phone { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

html[data-theme="dark"] { color-scheme: dark; --bg:#101112; --text:#f1f0ed; --muted:#aaa8a2; --faint:#77756f; --hair:rgba(255,255,255,.12); --hair-strong:rgba(255,255,255,.2); --ink:#f3f1ec; --lg-bg:linear-gradient(145deg,rgba(43,43,43,.88),rgba(27,28,29,.78)); --lg-bd:rgba(255,255,255,.12); --lg-sh:inset 0 1px 0 rgba(255,255,255,.09),0 18px 40px -20px rgba(0,0,0,.6); --gl-bg:linear-gradient(155deg,rgba(255,255,255,.08),rgba(255,255,255,.035)); --gl-bd:rgba(255,255,255,.12); --gl-hi:rgba(255,255,255,.08); --sel-bg:#eee; --sel-tx:#151515; }
html[data-theme="dark"] body.pro { background:#111213 !important; color:var(--text); }
html[data-theme="dark"] body.pro::after { background:radial-gradient(40% 30% at 6% 12%,rgba(176,138,94,.13),transparent 70%),radial-gradient(34% 26% at 96% 30%,rgba(214,190,160,.08),transparent 70%),#101112 !important; }
html[data-theme="dark"] .pro h1, html[data-theme="dark"] .pro h2, html[data-theme="dark"] .pro h3,
html[data-theme="dark"] .pro .top-n, html[data-theme="dark"] .pro .side-i, html[data-theme="dark"] .pro .side-link { color:var(--text); }
html[data-theme="dark"] .pro .side-i.is-on, html[data-theme="dark"] .pro .nav .tab.is-on { background:#eee; color:#151515; }
html[data-theme="dark"] .pro .nav.bar, html[data-theme="dark"] .pro .ibtn, html[data-theme="dark"] .pro .top-date,
html[data-theme="dark"] .pro .busca, html[data-theme="dark"] .pro .chip, html[data-theme="dark"] .pro .cr,
html[data-theme="dark"] .pro .cli-card, html[data-theme="dark"] .pro .card, html[data-theme="dark"] .pro .sec,
html[data-theme="dark"] .pro .dash, html[data-theme="dark"] .pro .semana, html[data-theme="dark"] .pro .saldo,
html[data-theme="dark"] .pro .chart, html[data-theme="dark"] .pro .kv, html[data-theme="dark"] .pro .rc,
html[data-theme="dark"] .pro .ag, html[data-theme="dark"] .pro .grp .list { background:var(--lg-bg) !important; border-color:var(--lg-bd) !important; color:var(--text); }
html[data-theme="dark"] .pro .nav.bar { box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 18px 40px -14px rgba(0,0,0,.7) !important; }
html[data-theme="dark"] .pro .sheet, html[data-theme="dark"] .pro .sheet.glass { background:linear-gradient(160deg,rgba(43,43,43,.98),rgba(25,26,27,.98)) !important; color:var(--text); border-color:rgba(255,255,255,.13); }
html[data-theme="dark"] .pro .toast, html[data-theme="dark"] .pro .aviso { background:rgba(35,36,37,.96) !important; color:var(--text); border-color:rgba(255,255,255,.14); }
html[data-theme="dark"] .pro .input, html[data-theme="dark"] .pro input, html[data-theme="dark"] .pro select, html[data-theme="dark"] .pro textarea { color:var(--text); }
html[data-theme="dark"] .pro .input, html[data-theme="dark"] .pro input:not([type="checkbox"]), html[data-theme="dark"] .pro select, html[data-theme="dark"] .pro textarea { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); }
html[data-theme="dark"] .pro .av { background:linear-gradient(145deg,#45413b,#292725); color:#e6c69e; border-color:rgba(255,255,255,.12); }
html[data-theme="dark"] .pro .tag { background:rgba(255,255,255,.1); color:#e9e6df; }
html[data-theme="dark"] .pro .mini, html[data-theme="dark"] .pro .ct, html[data-theme="dark"] .pro .list li { border-color:rgba(255,255,255,.1); }
html[data-theme="dark"] .pro .pc, html[data-theme="dark"] .pro .prod-hero { background:var(--lg-bg) !important; border-color:var(--lg-bd); }
html[data-theme="dark"] .pro .pc-img, html[data-theme="dark"] .pro .prod-hero-3d { background:rgba(255,255,255,.04); }
html[data-theme="dark"] .pro .side-i:hover, html[data-theme="dark"] .pro .side-link:hover { background:rgba(255,255,255,.08); }
html[data-theme="dark"] .pro .sem-b.is-on { background:#eee; color:#151515; }
html[data-theme="dark"] .pro .sem-b.is-on b { color:#151515; }
html[data-theme="dark"] .pro .btn-ghost, html[data-theme="dark"] .pro .btn-text { color:var(--text); }
html[data-theme="dark"] .pro .btn-ghost { border-color:rgba(255,255,255,.2); }
html[data-theme="dark"] .pro .scrim { background:rgba(0,0,0,.58); }
@media (max-width:979px) {
  .pro .ct { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:7px 12px; }
  .pro .ct-n, .pro .ct-a { grid-column:1 / -1; }
  .pro .ct > span[data-l] { justify-self:start; }
  .pro .ct > span:nth-child(5) { justify-self:end; }
  .pro .ct > span:nth-child(4) { justify-self:start; }
  .pro .ct-a { justify-self:stretch; }
}


/* AEGO icon system v2 — visual consistente e seletor acessível */
.pro .side-i svg.ui-icon, .pro .nav .tab svg.ui-icon { width:21px; height:21px; flex:none; }
.pro .side-i svg.ui-icon *, .pro .nav .tab svg.ui-icon * { fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.pro .ct-a .btn svg path { fill:currentColor !important; stroke:none !important; }
.ico-busca { min-height:44px !important; margin-bottom:10px; padding:0 14px !important; border:1px solid var(--hair-strong) !important; border-radius:14px; background:rgba(255,255,255,.6) !important; }
.ico-grade { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; max-height:48vh; overscroll-behavior:contain; }
.ico-b { min-height:82px; justify-content:center; padding:11px 6px; border-radius:17px; }
.ico-b .ico { width:26px; height:26px; }
.ico-vazio { grid-column:1/-1; padding:18px 6px; text-align:center; }
.svc-ico { cursor:pointer; position:relative; }
.svc-ico::after { content:""; position:absolute; inset:-3px; border:1px solid rgba(176,138,94,.35); border-radius:18px; pointer-events:none; }
html[data-theme="dark"] .ico-busca { color:var(--text) !important; background:rgba(255,255,255,.06) !important; border-color:rgba(255,255,255,.16) !important; }
html[data-theme="dark"] .ico-b { color:var(--text); background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12); }
html[data-theme="dark"] .ico-b .ico { stroke:var(--text); }
html[data-theme="dark"] .ico-b.is-on { color:#151515; background:#eee; border-color:#eee; }
html[data-theme="dark"] .ico-b.is-on .ico { stroke:#151515; }
html[data-theme="dark"] .svc-ico { background:linear-gradient(145deg,#353331,#242322); border-color:rgba(255,255,255,.15); }
html[data-theme="dark"] .svc-ico .ico { stroke:#f1f0ed; }

/* ======================================================================
   v8 · Vitrine sem rolagem longa + gráficos leves + vidro nos ícones e tema
   (fica no fim do arquivo de propósito: vence as regras antigas)
   ====================================================================== */
.vt-pin { height: auto !important; }
.vt-stage { position: relative !important; height: min(86svh, 720px) !important; min-height: 520px; touch-action: pan-y; contain: layout paint; }
.vt-big { will-change: transform; transition: transform .7s var(--ease); }
.vt-3d { overflow: visible; }
.vt-m { position: absolute; inset: 0; transition: transform .42s var(--ease), opacity .42s var(--ease); will-change: transform, opacity; }
.vt-m.entra { transform: translate3d(calc(var(--d, 1) * 38%), 0, 0) scale(.86); opacity: 0; }
.vt-m.sai { transform: translate3d(calc(var(--d, 1) * -38%), 0, 0) scale(.86); opacity: 0; pointer-events: none; }
.vt-dica { bottom: calc(var(--safe-b) + 200px); }
.vt-seta { position: absolute; z-index: 4; top: 46%; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: var(--ink); cursor: pointer; transition: transform .2s var(--ease); }
.vt-seta:active { transform: scale(.92); }
.vt-seta[hidden] { display: none; }
.vt-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vt-ant { left: 12px; } .vt-prox { right: 34px; }
/* cartões: carrossel horizontal com encaixe, em vez de pilha que estica a página */
.vt-trilho { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  padding: 6px 14px 18px; margin: 0 -14px; scrollbar-width: none; scroll-padding: 0 14px; }
.vt-trilho::-webkit-scrollbar { display: none; }
.vt-trilho .vt-card { position: relative !important; top: auto !important; flex: 0 0 min(82vw, 340px); margin: 0 !important; min-height: 0 !important; scroll-snap-align: start; scroll-snap-stop: always; transform: none !important; }
.vt-trilho .vt-card-img img { transform: none !important; }
.vt-stack { padding-bottom: 24px !important; }
/* vidro pesado custa caro no celular: cartões usam vidro "pintado" (sem blur ao vivo) */
@media (max-width: 979px) {
  .vt-trilho .vt-card.lg { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.72)); }
  html[data-theme="dark"] .vt-trilho .vt-card.lg { background: linear-gradient(160deg, rgba(48,46,43,.95), rgba(28,27,26,.9)); }
}

/* ---------- ícones em vidro (glass) ---------- */
.mini-ico, .svc-ico, .ico-b, .foto-ico, .vt-seta, .theme-toggle {
  background: linear-gradient(150deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.42) 55%, rgba(255,255,255,.62) 100%) !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -8px 14px -10px rgba(120,95,65,.28), 0 8px 18px -10px rgba(40,30,20,.45) !important;
  position: relative; overflow: hidden;
}
.mini-ico::after, .svc-ico::after, .ico-b::after, .foto-ico::after, .vt-seta::after, .theme-toggle::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 4%; height: 42%; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
}
.mini.al-warn .mini-ico { background: linear-gradient(150deg, rgba(255,235,230,.9), rgba(255,210,200,.5)) !important; }
.ico-b.is-on { background: linear-gradient(150deg, #2a2a2a, #111) !important; border-color: rgba(255,255,255,.25) !important; }
.ico-b.is-on::after { opacity: .25; }
html[data-theme="dark"] .mini-ico, html[data-theme="dark"] .svc-ico, html[data-theme="dark"] .ico-b, html[data-theme="dark"] .foto-ico,
html[data-theme="dark"] .vt-seta, html[data-theme="dark"] .theme-toggle {
  background: linear-gradient(150deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 55%, rgba(255,255,255,.1) 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -8px 14px -10px rgba(0,0,0,.5), 0 8px 18px -10px rgba(0,0,0,.7) !important;
  color: var(--text);
}
html[data-theme="dark"] .mini-ico::after, html[data-theme="dark"] .svc-ico::after, html[data-theme="dark"] .ico-b::after, html[data-theme="dark"] .foto-ico::after,
html[data-theme="dark"] .vt-seta::after, html[data-theme="dark"] .theme-toggle::after { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
html[data-theme="dark"] .ico-b.is-on { background: linear-gradient(150deg, #f4f0e9, #cfc6b8) !important; color: #111; }
html[data-theme="dark"] .vt-seta { color: var(--text); }

/* ---------- botão de tema em vidro (flutuante no site do cliente) ---------- */
.theme-toggle { border-radius: 50% !important; color: var(--ink); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); transition: transform .25s var(--ease); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { position: relative; z-index: 1; }
.tema-flutua { position: fixed !important; z-index: 60; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; width: 44px !important; height: 44px !important; }
html[data-theme="dark"] .theme-toggle { color: #f4f0e9; }
.theme-toggle svg { transition: transform .5s var(--ease); }
html[data-theme="dark"] .theme-toggle svg { transform: rotate(180deg); }

/* transição suave ao trocar de tema (só cores, sem pesar) */
html.tema-troca, html.tema-troca * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

@media (prefers-reduced-motion: reduce) {
  .vt-m, .vt-big, .theme-toggle svg { transition: none !important; }
}

/* nomes sem animação, proporção corrigida */
.vt-stack-h h2 { font-size: 21px !important; letter-spacing: .05em !important; line-height: 1.25 !important; }
.vt-titulo h2 { font-size: 18px !important; letter-spacing: .1em !important; }
.vt-info h3, .vt-card-b h3 { font-size: 19px !important; line-height: 1.25 !important; overflow-wrap: anywhere; padding-bottom: 2px; }
/* foto da capa inteira, com fade para o fundo (sem corte seco) */
.capa { aspect-ratio: 1122 / 1402 !important; }
.capa-img { object-position: center top !important; filter: none !important; will-change: auto !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 64%, rgba(0,0,0,.5) 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 64%, rgba(0,0,0,.5) 82%, transparent 100%); }
html[data-theme="dark"] .capa::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 30%, rgba(11,11,11,0) 60%, var(--bg, #0b0b0b) 100%) !important; }
.vt-card-img img, .foto-fig img { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.vt-card-img img { object-fit: contain !important; }
.foto-ico .ico, .svc-ico .ico, .mini-ico .ico, .ico-b .ico { stroke: var(--ink) !important; }
html[data-theme="dark"] .foto-ico .ico, html[data-theme="dark"] .svc-ico .ico, html[data-theme="dark"] .mini-ico .ico, html[data-theme="dark"] .ico-b:not(.is-on) .ico { stroke: #f4f0e9 !important; }
.ico-b.is-on .ico { stroke: #fff !important; } html[data-theme="dark"] .ico-b.is-on .ico { stroke: #111 !important; }

.vt-seta { position: absolute !important; top: 42% !important; bottom: auto !important; transform: translateY(-50%); margin: 0 !important; }
.vt-seta:active { transform: translateY(-50%) scale(.92); }
.vt-ant { left: 10px !important; right: auto !important; } .vt-prox { right: 10px !important; left: auto !important; }
.vt-prog { right: auto !important; left: 50% !important; top: auto !important; bottom: calc(var(--safe-b) + 70px) !important; transform: translateX(-50%) !important; display: flex !important; gap: 6px !important; }
.vt-prog i { width: 18px !important; height: 4px !important; } .vt-prog i.on { width: 32px !important; height: 4px !important; }
.hero-nome { font-size: clamp(22px, 7.4vw, 30px) !important; letter-spacing: .1em !important; padding: 0 .1em .08em !important; line-height: 1.2 !important; max-width: 100%; }

/* ======================================================================
   v11 · Branco minimalista com vidro de iPhone (site do cliente) · mesmas fontes
   ====================================================================== */
body.pg-cliente { background: #f6f5f2 !important; }
html:has(body.pg-cliente) { background: #f6f5f2 !important; }
body.pg-cliente::before, .pg-cliente .fundo-luz2 { display: none !important; }
/* luz suave atrás do vidro (sem animação, não pesa) */
body.pg-cliente::after { display: block !important; content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 0% 30%, rgba(214,196,170,.45), transparent 70%), radial-gradient(55% 35% at 100% 75%, rgba(220,206,186,.5), transparent 70%); }
/* vidro iPhone: branco translúcido, desfoque, borda clara fina */
.pg-cliente .gl, .pg-cliente .vt-card, .pg-cliente .vt-info, .pg-cliente .bar, .pg-cliente .chip, .pg-cliente .opt, .pg-cliente .ag {
  background: rgba(255,255,255,.58) !important; border: 1px solid rgba(255,255,255,.85) !important; border-radius: 22px !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important; backdrop-filter: blur(22px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px -14px rgba(40,30,20,.22) !important;
}
.pg-cliente .chip, .pg-cliente .opt, .pg-cliente .ag { border-radius: 16px !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(255,255,255,.7) !important; }
.pg-cliente .gl::before, .pg-cliente .gl::after { display: none !important; }
.pg-cliente .bar { border-radius: 24px !important; }
.pg-cliente .step-dot { display: none !important; }
.pg-cliente .btn { border-radius: 999px !important; box-shadow: none !important; }
.pg-cliente .btn-primary { background: #151515 !important; color: #fff !important; }
.pg-cliente .vt-card-img { background: rgba(255,255,255,.55) !important; border-radius: 16px !important; }
.pg-cliente .vt-big span { -webkit-text-stroke: 1px rgba(20,20,20,.06); color: transparent; }
/* topo: frase e slogan juntos, mesma família, proporcionais */
.pg-cliente .capa { margin-bottom: 0 !important; }
.pg-cliente .capa::after { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 24%, rgba(246,245,242,0) 58%, #f6f5f2 100%) !important; }
.pg-cliente .capa-frase { left: 0 !important; right: 0 !important; bottom: 18px !important; text-align: center !important; font-size: clamp(26px, 7.6vw, 32px) !important; line-height: 1.12 !important; }
.pg-cliente .hero { gap: 6px !important; }
.pg-cliente .hero-lede { margin: 2px auto 8px !important; text-align: center; font-size: 16px !important; color: #6b6760 !important; }
/* animações leves nas fotos e no site (só transform/opacity) */
@keyframes aegoCapa { from { transform: scale(1.12); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes aegoFoto { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes aegoSobe { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
.pg-cliente .capa-img { animation: aegoCapa 1.6s cubic-bezier(.2,.7,.2,1) both; transform-origin: center 35%; }
@supports (animation-timeline: view()) {
  .pg-cliente .foto-fig img, .pg-cliente .vt-card-img img, .pg-cliente .final-img { animation: aegoFoto linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .pg-cliente .step, .pg-cliente .av-sec, .pg-cliente .vt-card, .pg-cliente .foot { animation: aegoSobe linear both !important; animation-timeline: view() !important; animation-range: entry 0% entry 55% !important; }
  .pg-cliente .vt-trilho .vt-card { animation-timeline: view(inline) !important; }
}
.pg-cliente .opt, .pg-cliente .vt-card, .pg-cliente .chip { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.pg-cliente .opt:active, .pg-cliente .vt-card:active, .pg-cliente .chip:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .pg-cliente .capa-img, .pg-cliente .foto-fig img, .pg-cliente .vt-card-img img, .pg-cliente .final-img, .pg-cliente .step, .pg-cliente .av-sec, .pg-cliente .vt-card, .pg-cliente .foot { animation: none !important; opacity: 1 !important; } }
.pg-cliente .capa-frase { z-index: 2 !important; bottom: 10px !important; color: #151515 !important; }
.pg-cliente .hero-nome:empty { display: none !important; }
.pg-cliente .hero-lede { margin-top: 4px !important; }
.pg-cliente .vt-stack-h { text-align: center; }
.pg-cliente .capa { -webkit-mask-image: none !important; mask-image: none !important; }
.pg-cliente .hero-nome { opacity: 1 !important; animation: none !important; background: none !important; -webkit-text-fill-color: #151515 !important; color: #151515 !important; font-size: 15px !important; letter-spacing: .32em !important; margin-top: 6px; }
/* vitrine sem botão "Ver em 3D": toque no cartão abre o produto; preço em destaque */
.pg-cliente .vt-info { cursor: pointer; grid-template-columns: 1fr auto !important; }
.pg-cliente .vt-card-f { justify-content: flex-start !important; }
.pg-cliente .vt-preco-dest { display: inline-block; font-size: 26px !important; font-weight: 500 !important; letter-spacing: -.01em; color: #151515;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(20,20,20,.08); }

/* ===== v13: brilho suave no nome (igual à página inicial) e menos peso no celular ===== */
.pg-cliente .hero-nome, .side-brand-t b {
  background-image: linear-gradient(105deg, #171717 0%, #171717 28%, #a98250 40%, #f4dfbd 50%, #a98250 60%, #171717 72%, #171717 100%) !important;
  background-size: 300% 100% !important; background-position: 100% 50%; background-repeat: no-repeat;
  -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important;
  animation: marcaFade 3.2s linear infinite !important; }
html[data-theme="dark"] .side-brand-t b { background-image: linear-gradient(105deg, #f2efe9 0%, #f2efe9 28%, #a98250 40%, #f4dfbd 50%, #a98250 60%, #f2efe9 72%, #f2efe9 100%) !important; }
@keyframes marcaFade { 0% { background-position: 100% 50%; } 100% { background-position: -100% 50%; } }
.wordmark img.logo, .side-brand img.logo { filter: none !important; height: 34px !important; width: auto; }
.top-n { white-space: nowrap; }
html[data-theme="dark"] .wordmark img.logo, html[data-theme="dark"] .side-brand img.logo, html[data-theme="dark"] .logo-wrap img.logo { filter: invert(1) !important; }
/* celular: vidro desfocado só nas barras fixas; cartões que rolam ficam em vidro liso (o fundo atrás é liso, o visual é o mesmo e não trava) */
@media (max-width: 979px) {
  .lg, .pro .lg, .gl, .step, .trust li, .opt, .chip, .ag, .vt-card, .av-sec, .stat, .card,
  .pg-cliente .gl, .pg-cliente .lg, .pg-cliente .step, .pg-cliente .vt-card, .theme-toggle, .mini-ico, .svc-ico, .ico-b, .foto-ico, .vt-seta {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .lg, .pro .lg { background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.74)) ; }
  html[data-theme="dark"] .lg, html[data-theme="dark"] .pro .lg { background: linear-gradient(160deg, rgba(40,38,35,.94), rgba(28,27,25,.9)); }
  .lg::after { display: none; }
  .scrim { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(30,24,18,.35); }
  .sheet, .sheet.glass { -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important; }
}
@media (prefers-reduced-motion: reduce) { .pg-cliente .hero-nome, .side-brand-t b { animation: marcaFade 3.2s linear infinite !important; } }

/* ===== v14 ===== */
/* fundo vivo sem filtro de desfoque (era o que travava o site): manchas já são suaves, só deslizam */
body::before, body::after { filter: none !important; will-change: transform; }
/* painel no celular: topo só com a saudação */
@media (max-width: 979px) {
  .pro .top-n { display: none !important; }
  .pro .top-g { font-size: 24px !important; font-weight: 300 !important; letter-spacing: -.02em; color: var(--ink) !important; line-height: 1.2; }
}
/* serviços: cartas que se levantam ao rolar */
@supports (animation-timeline: view()) {
  .pg-cliente #servicos { perspective: 900px; }
  .pg-cliente #servicos > li, .pg-cliente #servicos .row {
    transform-origin: 50% 100%;
    animation: aegoCarta linear both !important; animation-timeline: view() !important; animation-range: entry 0% entry 90% !important; }
}
@keyframes aegoCarta {
  from { opacity: 0; transform: translate3d(0, 46px, 0) rotateX(-22deg) scale(.94); }
  to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pg-cliente #servicos > li, .pg-cliente #servicos .row { animation: none !important; } }

/* ===== PC: site do cliente em duas colunas (capa fixa à esquerda, agendamento à direita) ===== */
@media (min-width: 1024px) {
  .pg-cliente #fluxo.wrap { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 540px; column-gap: 64px; align-items: start; padding-left: 40px; padding-right: 40px; }
  .pg-cliente #fluxo > * { grid-column: 2; min-width: 0; }
  .pg-cliente #fluxo > .hero { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 28px; text-align: left; }
  .pg-cliente .hero .capa { width: 100% !important; margin: 0 0 22px !important; aspect-ratio: auto !important; height: calc(100vh - 230px); min-height: 420px; border-radius: 28px !important;
    -webkit-mask-image: none !important; mask-image: none !important; }
  .pg-cliente .hero .capa::after { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.5)) !important; }
  .pg-cliente .capa-frase { color: #fff !important; font-size: 40px !important; left: 32px !important; bottom: 28px !important; }
  .pg-cliente .hero-nome, .pg-cliente .hero-lede { text-align: left; }
  .pg-cliente .trust { justify-content: flex-start !important; }
  .pg-cliente #fluxo > .step:first-of-type, .pg-cliente #s1 { margin-top: 28px; }
  .pg-cliente .final { margin-left: 0 !important; margin-right: 0 !important; border-radius: 28px; }
  .pg-cliente .vitrine .vt-bg, .pg-cliente .vt-fundo { max-width: 100%; }
  .pg-cliente .bar { left: auto !important; right: max(40px, calc((100vw - 1180px) / 2 + 40px)) !important; width: 540px; max-width: 540px; margin: 0 !important; }
}

/* ===== v15: ícones de serviço viram ilustrações (mesmo traço das fotos do site) ===== */
img.ico-foto { display: block; object-fit: cover; object-position: 50% 30%; background: #fafaf8; stroke: none; filter: none; }
.mini-ico img.ico-foto, .svc-ico img.ico-foto, .thumb img.ico-foto { width: 100% !important; height: 100% !important; border-radius: inherit; }
.mini-ico:has(img.ico-foto), .svc-ico:has(img.ico-foto) { padding: 0; overflow: hidden; background: #fafaf8; }
.ico-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ico-b { padding: 6px 6px 10px; }
.ico-b img.ico-foto { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; border-radius: 12px; }
.ico-b.is-on img.ico-foto { outline: 2px solid #fff; }
.foto-ico img.ico-foto { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; }
/* modo escuro: versão em giz sobre preto (traço claro, cabelo grafite) */
html[data-theme="dark"] img.ico-foto { content: var(--dk); background: #161514; filter: none !important; }
html[data-theme="dark"] .mini-ico:has(img.ico-foto), html[data-theme="dark"] .svc-ico:has(img.ico-foto) { background: #161514 !important; border-color: rgba(255,255,255,.12) !important; }

/* ===== v16: refino (nome fixo, WhatsApp em pílula, saldo, Manutenção e Sistema) ===== */
/* nome da marca: estático, só uma entrada suave de 0,5 s */
.pg-cliente .hero-nome, .side-brand-t b {
  background: none !important; -webkit-text-fill-color: currentColor !important; color: #171717 !important;
  animation: aegoNomeIn .5s ease-out both !important; }
html[data-theme="dark"] .side-brand-t b { color: #f2efe9 !important; }
@keyframes aegoNomeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pg-cliente .hero-nome, .side-brand-t b { animation: none !important; } }

/* WhatsApp do cliente: pílula neutra */
.pro .ct-a { display: flex; justify-content: flex-end; align-items: center; }
.pro .ct-a .wa-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px 0 12px;
  border-radius: 999px; background: #F4F4F5; border: 1px solid #E4E4E7; color: #27272A; font-size: 12px; font-weight: 500; line-height: 1;
  letter-spacing: 0; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.pro .ct-a .wa-pill:hover { background: #EBEBED; border-color: #D4D4D8; }
.pro .ct-a .wa-pill:active { transform: scale(.97); }
.pro .ct-a .wa-pill svg { width: 15px; height: 15px; flex: none; }
.pro .ct-a .wa-pill svg * { fill: none !important; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .pro .ct-a .wa-pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #f1f0ed; }

/* Caixa: saldo com respiro e número que se adapta */
.pro .saldo { box-sizing: border-box; padding: 20px 22px !important; margin: 0 0 4px !important; min-width: 0; overflow: hidden; }
.pro .saldo .eyebrow { display: block; }
.pro .saldo .big { font-size: clamp(34px, 11vw, 54px) !important; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pro .fin-top { display: flex; justify-content: flex-start; }

/* Manutenção e Sistema: seção secundária recolhida */
.manut { padding: 0 !important; }
.manut > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; -webkit-tap-highlight-color: transparent; }
.manut > summary::-webkit-details-marker { display: none; }
.manut-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.manut-t b { font-size: 15px; font-weight: 500; }
.manut-t small { font-size: 12px; color: var(--muted); }
.manut-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.manut[open] .manut-chev { transform: rotate(90deg); }
.manut-c { display: flex; flex-direction: column; gap: 18px; padding: 4px 18px 18px; border-top: 1px solid var(--hair, rgba(20,20,20,.08)); padding-top: 16px; }
.manut-g { display: flex; flex-direction: column; gap: 8px; }
.manut-g .btn svg { width: 16px; height: 16px; margin-right: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ===== v17: cartão do cliente, troca de abas leve e fundo premium ===== */
@media (max-width: 979px) {
  .pro .ct { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "n g" "v t" "u a"; gap: 8px 12px !important; align-items: center; padding: 14px 0 !important; }
  .pro .ct > .ct-n { grid-area: n; grid-column: auto !important; }
  .pro .ct > span:nth-child(2) { grid-area: v; justify-self: start; }
  .pro .ct > span:nth-child(3) { grid-area: g; justify-self: end; align-self: start; display: flex !important; flex-direction: column; align-items: flex-end; gap: 1px !important;
    font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--text, #151515); }
  .pro .ct > span:nth-child(3)::before { font-size: 10px !important; font-weight: 400; letter-spacing: .1em; }
  .pro .ct > span:nth-child(4) { grid-area: u; justify-self: start; }
  .pro .ct > span:nth-child(5) { grid-area: t; justify-self: end !important; }
  .pro .ct > .ct-a { grid-area: a; grid-column: auto !important; justify-self: end !important; }
}
.pro .ct-a .wa-pill svg path { fill: none !important; stroke: currentColor !important; stroke-width: 1.7; }

/* sem animações em cascata ao trocar de aba (só a primeira entrada) */
.pro .ct, .pro .tsv, .pro .pc-in { animation-duration: .3s !important; animation-delay: calc(var(--i, 0) * 18ms) !important; }

/* fundo premium: auras suaves que respiram devagar (só transform, sem blur), claro e escuro */
.pro .fundo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.pro .fundo-luz, .pro .fundo-luz2 { position: absolute; width: 130vmax; height: 130vmax; border-radius: 50%; animation: none; will-change: transform; opacity: 1; filter: none !important; }
.pro .fundo-luz { left: -55vmax; top: -60vmax; background: radial-gradient(closest-side, rgba(201,168,124,.42), rgba(201,168,124,.12) 55%, transparent 72%);
  animation: aegoAura1 28s ease-in-out infinite alternate !important; }
.pro .fundo-luz2 { right: -60vmax; bottom: -65vmax; background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(222,206,184,.28) 55%, transparent 72%);
  animation: aegoAura2 34s ease-in-out infinite alternate !important; }
.pro .fundo::after { content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 300%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  will-change: transform; animation: aegoVeu 16s ease-in-out infinite alternate; }
html[data-theme="dark"] .pro .fundo-luz { background: radial-gradient(closest-side, rgba(176,138,94,.26), rgba(176,138,94,.08) 55%, transparent 72%); }
html[data-theme="dark"] .pro .fundo-luz2 { background: radial-gradient(closest-side, rgba(120,128,140,.18), rgba(80,86,96,.06) 55%, transparent 72%); }
html[data-theme="dark"] .pro .fundo::after { background-image: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.035) 50%, transparent 65%); }
@keyframes aegoAura1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(14vmax, 18vmax, 0) scale(1.12); } }
@keyframes aegoAura2 { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-16vmax, -14vmax, 0) scale(.95); } }
@keyframes aegoVeu { from { transform: translate3d(-22%,0,0); } to { transform: translate3d(22%,0,0); } }
body.pro::after { display: none !important; }
@media (prefers-reduced-motion: reduce) { .pro .fundo-luz, .pro .fundo-luz2, .pro .fundo::after { animation: none !important; } }

/* ===== v18: no claro, o mesmo véu de luz que passa por trás dos cartões no escuro ===== */
html:not([data-theme="dark"]) .pro .fundo::after { background: linear-gradient(115deg, transparent 38%, rgba(176,140,98,.16) 46%, rgba(255,255,255,.55) 50%, rgba(176,140,98,.16) 54%, transparent 62%) !important; }
html:not([data-theme="dark"]) .pro .fundo-luz { background: radial-gradient(closest-side, rgba(190,152,106,.5), rgba(190,152,106,.16) 55%, transparent 72%) !important; }
@media (max-width: 979px) {
  html:not([data-theme="dark"]) .lg, html:not([data-theme="dark"]) .pro .lg { background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.58)) !important; }
}
/* v18b: vidro do claro com o mesmo reflexo diagonal do escuro */
html:not([data-theme="dark"]) body.pro { background: #e4ded4 !important; }
@media (max-width: 979px) {
  html:not([data-theme="dark"]) .lg, html:not([data-theme="dark"]) .pro .lg {
    background: linear-gradient(150deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.62) 45%, rgba(246,241,233,.42) 100%) !important;
    border-color: rgba(255,255,255,.85) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 28px -16px rgba(80,60,35,.28) !important; }
}
html:not([data-theme="dark"]) .pro .fundo::after { background: linear-gradient(115deg, transparent 36%, rgba(168,128,82,.22) 45%, rgba(255,255,255,.7) 50%, rgba(168,128,82,.22) 55%, transparent 64%) !important; }

/* ===== v19: brilho que passa pelos cartões no modo claro (igual ao reflexo do escuro) ===== */
html:not([data-theme="dark"]) .pro .lg { position: relative; overflow: clip; }
html:not([data-theme="dark"]) .pro .lg::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 60%; pointer-events: none; z-index: 0;
  background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.9) 38%, rgba(214,178,126,.42) 50%, rgba(255,255,255,.9) 62%, transparent 90%); opacity: 1; border-radius: 0; mix-blend-mode: multiply;
  transform: translate3d(-120%,0,0) skewX(-12deg); will-change: transform; animation: aegoBrilho 7s cubic-bezier(.45,0,.2,1) infinite; }
html:not([data-theme="dark"]) .pro .lg > * { position: relative; z-index: 1; }
@keyframes aegoBrilho { 0%, 55% { transform: translate3d(-120%,0,0) skewX(-12deg); } 100% { transform: translate3d(260%,0,0) skewX(-12deg); } }
@media (prefers-reduced-motion: reduce) { html:not([data-theme="dark"]) .pro .lg::before { animation: none; display: none; } }

/* ===== v19: destaque do próximo cliente ===== */
.ag.is-prox { box-shadow: inset 3px 0 0 var(--warm2, #b88a4e), 0 6px 18px -10px rgba(184,138,78,.55); border-color: rgba(184,138,78,.45) !important; background-image: linear-gradient(90deg, rgba(184,138,78,.10), transparent 60%); }
.ag.is-prox .ag-prox { color: var(--warm2, #b88a4e); font-weight: 600; }
.ag.is-prox .ag-name { font-weight: 600; }
.mini.is-prox { border-radius: 14px; background: linear-gradient(90deg, rgba(184,138,78,.12), transparent 70%); box-shadow: inset 3px 0 0 var(--warm2, #b88a4e); padding-left: 8px; }
.mini.is-prox .mini-h small { color: var(--warm2, #b88a4e); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.mini-dia { list-style: none; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 10px 0 2px; border: 0 !important; }
.mini-dia:first-child { padding-top: 0; }


/* ===== v20: modo escuro sem texto preto no painel ===== */
html[data-theme="dark"] .pro .ag-time .num,
html[data-theme="dark"] .pro .bc.is-hoje .bl,
html[data-theme="dark"] .pro .bc.is-sel .bl,
html[data-theme="dark"] .pro .capa-frase,
html[data-theme="dark"] .pro .chart-v,
html[data-theme="dark"] .pro .dayswitch-t,
html[data-theme="dark"] .pro .empty strong,
html[data-theme="dark"] .pro .foot-nome,
html[data-theme="dark"] .pro .foto-cap-n,
html[data-theme="dark"] .pro .hero-nome,
html[data-theme="dark"] .pro .hs-n,
html[data-theme="dark"] .pro .intro-nome,
html[data-theme="dark"] .pro .lanc .row-end,
html[data-theme="dark"] .pro .rgc b,
html[data-theme="dark"] .pro .saldo .big,
html[data-theme="dark"] .pro .step-title,
html[data-theme="dark"] .pro .top-date b,
html[data-theme="dark"] .pro .top-n,
html[data-theme="dark"] .pro .trust li b,
html[data-theme="dark"] .pro .vt-big,
html[data-theme="dark"] .pro h1,
html[data-theme="dark"] .pro h2,
html[data-theme="dark"] .pro h3 { color: var(--text, #f1f0ed) !important; -webkit-text-fill-color: currentColor; }
html[data-theme="dark"] .pro .nav .tab:not(.is-on) { color: var(--muted, #aaa8a2) !important; }
html[data-theme="dark"] .pro .input::placeholder { color: var(--faint, #77756f) !important; }

/* ===== v21: trilha das etapas no site do cliente (linha que preenche + números) ===== */
.pg-cliente .trilha { position: relative; padding-left: 46px; }
.pg-cliente .trilha-linha { position: absolute; left: 19px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(21,21,21,.10); overflow: hidden; }
.pg-cliente .trilha-linha i { position: absolute; inset: 0; background: linear-gradient(#151515, #8a6a43); transform-origin: top; transform: scaleY(0); transition: transform .9s cubic-bezier(.22,1,.36,1); will-change: transform; }
.pg-cliente .trilha .step { position: relative; overflow: visible !important; }
.pg-cliente .trilha-n { position: absolute; left: -46px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #9a968f; background: #f6f4f0; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); z-index: 2; transition: background .45s, color .45s, box-shadow .45s, transform .45s cubic-bezier(.22,1,.36,1); }
.pg-cliente .step.is-passou .trilha-n { background: #151515; color: #fff; }
.pg-cliente .step.is-atual .trilha-n { background: #151515; color: #fff; transform: scale(1.08); box-shadow: 0 0 0 0 rgba(21,21,21,.35), 0 6px 16px rgba(0,0,0,.18); }
.pg-cliente .step.is-atual .trilha-n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(138,106,67,.55); animation: trHalo 2.2s ease-out infinite; }
@keyframes trHalo { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.pg-cliente .step.is-atual { box-shadow: 0 10px 30px -14px rgba(0,0,0,.25), inset 0 0 0 1px rgba(138,106,67,.35) !important; }
.pg-cliente .trilha .step.tr-esconde { opacity: 0; transform: translate3d(28px, 14px, 0); }
.pg-cliente .trilha .step.tr-entra { animation: trEntra .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes trEntra { from { opacity: 0; transform: translate3d(28px, 14px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 380px) { .pg-cliente .trilha { padding-left: 40px; } .pg-cliente .trilha-n { left: -40px; width: 34px; height: 34px; font-size: 12px; } .pg-cliente .trilha-linha { left: 16px; } }
@media (prefers-reduced-motion: reduce) { .pg-cliente .step.is-atual .trilha-n::after { animation: none; } .pg-cliente .trilha-linha i { transition: none; } }

/* ===== v22: múltipla seleção de serviços (marca vira check) ===== */
.pg-cliente .svc[role="checkbox"] .row-mark { border-radius: 8px; }
.pg-cliente .svc[role="checkbox"] .row-mark::after { width: 14px; height: 14px; border-radius: 0; background: none; border: solid #fff; border-width: 0 2.4px 2.4px 0; width: 6px; height: 11px; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .28s cubic-bezier(.22,1.4,.36,1); }
.pg-cliente .svc[role="checkbox"].is-on .row-mark { background: #151515; border-color: #151515; }
.pg-cliente .svc[role="checkbox"].is-on .row-mark::after { transform: rotate(45deg) scale(1); }

/* saudação da capa por horário (2026-12-05) */
.capa-frase.saud { opacity: 0; transform: translateY(8px) !important; transition: opacity .45s ease, transform .45s ease !important; }
.capa-frase.saud.on { opacity: 1; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .capa-frase.saud { transition: none !important; transform: none !important; } }

/* ===================== v23 · minimalista (2026-12-05) ===================== */
/* etapas: sem linha lateral, número dentro do anel animado */
.pg-cliente .trilha { padding-left: 0 !important; }
.pg-cliente .trilha-linha, .pg-cliente .trilha-n { display: none !important; }
.pg-cliente .trilha .step { box-shadow: none !important; border: 1px solid rgba(21,21,21,.07) !important; background: rgba(255,255,255,.55) !important; border-radius: 22px !important; }
.pg-cliente .step-head { gap: 12px; }
.tn { position: relative; flex: none; width: 34px; height: 34px; display: grid; place-items: center; }
.tn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tn circle { fill: none; stroke-width: 1.6; }
.tn-base { stroke: rgba(21,21,21,.12); }
.tn-arco { stroke: #151515; stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); }
.tn b { position: relative; font-size: 13px; font-weight: 600; color: rgba(21,21,21,.45); transition: color .4s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.step.is-atual .tn b, .step.is-done .tn b { color: #151515; }
.step.is-done .tn b { transform: scale(1.06); }
.step.is-atual .tn-arco { animation: tnGira 2.4s linear infinite; transform-origin: 20px 20px; }
@keyframes tnGira { to { transform: rotate(360deg); } }
html[data-theme="dark"] .tn-base { stroke: rgba(255,255,255,.14); }
html[data-theme="dark"] .tn-arco { stroke: #f2f2f2; }
html[data-theme="dark"] .step.is-atual .tn b, html[data-theme="dark"] .step.is-done .tn b { color: #f2f2f2; }
html[data-theme="dark"] .pg-cliente .trilha .step { background: rgba(255,255,255,.04) !important; border-color: rgba(255,255,255,.08) !important; }

/* serviços: cartões que deslizam para o lado */
.pg-cliente .svc-trilho { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px !important; padding: 4px 16px 10px !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pg-cliente .svc-trilho::-webkit-scrollbar { display: none; }
.pg-cliente .svc-trilho > li { flex: 0 0 46%; max-width: 180px; scroll-snap-align: start; list-style: none; margin: 0 !important; opacity: 1 !important; transform: none !important; }
.pg-cliente .row.sc { position: relative; width: 100%; height: 100%; display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px !important; border-radius: 18px !important; border: 1px solid rgba(21,21,21,.08) !important; background: #fff !important; box-shadow: none !important; text-align: left; min-height: 0; transition: border-color .25s, transform .25s, background .25s; }
.pg-cliente .row.sc .thumb { width: 64px !important; height: 64px !important; border-radius: 14px; margin: 2px 0 6px; background: #f3f2ef; display: grid; place-items: center; overflow: hidden; }
.pg-cliente .row.sc .thumb img, .pg-cliente .row.sc .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.sc-n { position: absolute; top: 12px; right: 14px; font-size: 11px; letter-spacing: .08em; color: rgba(21,21,21,.35); }
.sc-nome { font-size: 15px; font-weight: 500; line-height: 1.2; color: #151515; }
.sc-pe { display: flex; width: 100%; justify-content: space-between; align-items: baseline; margin-top: auto; font-size: 13px; color: rgba(21,21,21,.55); }
.sc-preco { color: #151515; font-weight: 600; }
.pg-cliente .row.sc .row-mark { position: absolute !important; top: 10px; left: 10px; width: 20px !important; height: 20px !important; border-radius: 50% !important; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.pg-cliente #servicos .row.sc.is-on, .pg-cliente #servicos .row.sc.is-on:hover { border-color: #151515 !important; background: #151515 !important; }
.pg-cliente #servicos .row.sc.is-on .sc-nome, .pg-cliente #servicos .row.sc.is-on .sc-preco { color: #fff !important; }
.pg-cliente .row.sc.is-on .sc-pe, .pg-cliente .row.sc.is-on .sc-n { color: rgba(255,255,255,.6); }
.pg-cliente .row.sc.is-on .thumb { background: #fff; }
.pg-cliente .row.sc.is-on .row-mark { opacity: 1; transform: scale(1); }
html[data-theme="dark"] .pg-cliente .row.sc { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.1) !important; }
html[data-theme="dark"] .sc-nome, html[data-theme="dark"] .sc-preco { color: #f2f2f2; }
html[data-theme="dark"] .pg-cliente #servicos .row.sc.is-on, html[data-theme="dark"] .pg-cliente #servicos .row.sc.is-on:hover { background: #f2f2f2 !important; }
html[data-theme="dark"] .pg-cliente .row.sc.is-on .sc-nome, html[data-theme="dark"] .pg-cliente .row.sc.is-on .sc-preco { color: #111; }

/* equipe (barbeiros) */
.equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.eq { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 12px; border-radius: 18px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; font: inherit; color: inherit; }
.eq-foto { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid rgba(21,21,21,.08); margin-bottom: 8px; transition: box-shadow .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.eq-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .5s; }
.eq-nome { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: #151515; }
.eq-fn { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(21,21,21,.45); }
.eq.is-on .eq-foto { box-shadow: 0 0 0 2px #f6f5f2, 0 0 0 3.5px #151515; transform: scale(1.04); }
.eq.is-on .eq-foto img { transform: scale(1.06); }
.equipe:has(.eq.is-on) .eq:not(.is-on) { opacity: .45; }
html[data-theme="dark"] .eq-nome { color: #f2f2f2; }
html[data-theme="dark"] .eq-fn { color: rgba(255,255,255,.5); }
html[data-theme="dark"] .eq.is-on .eq-foto { box-shadow: 0 0 0 2px #0b0b0b, 0 0 0 3.5px #f2f2f2; }

/* vitrine: foto limpa flutuando (no lugar do 3D) */
.vt-m .vt-foto { display: block; width: 78%; max-width: 300px; height: auto; margin: 0 auto; animation: vtFlutua 5s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(0,0,0,.14)); }
.vt-m .vt-sombra { display: block; width: 46%; height: 14px; margin: 6px auto 0; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.18), transparent 70%); animation: vtSombra 5s ease-in-out infinite; }
@keyframes vtFlutua { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes vtSombra { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.82); opacity: .7; } }
.vt-card-img img { -webkit-mask-image: none !important; mask-image: none !important; }
@media (prefers-reduced-motion: reduce) { .vt-m .vt-foto, .vt-m .vt-sombra { animation: none; } }

/* confirmação animada */
.suc-ok { position: relative; width: 76px; height: 76px; margin: 4px auto 14px; display: grid; place-items: center; }
.suc-onda { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #151515; opacity: 0; }
.suc-check { width: 64px !important; height: 64px !important; margin: 0 !important; }
.suc-ok .suc-check circle { stroke: #151515; fill: #151515; fill-opacity: 0; stroke-width: 1.6; }
.suc-ok .suc-check path { stroke: #151515; stroke-width: 2.6; }
.suc-anim .suc-ok .suc-check circle { animation: draw .7s cubic-bezier(.22,1,.36,1) .1s forwards, sucFill .4s ease .75s forwards !important; }
.suc-anim .suc-ok .suc-check path { animation: draw .45s cubic-bezier(.22,1,.36,1) .8s forwards, sucBranco .2s ease .85s forwards !important; }
.suc-anim .suc-onda { animation: sucOnda 1.4s cubic-bezier(.22,1,.36,1) .9s; }
.suc-anim .suc-onda.o2 { animation-delay: 1.15s; }
@keyframes sucFill { to { fill-opacity: 1; } }
@keyframes sucBranco { to { stroke: #fff; } }
@keyframes sucOnda { 0% { transform: scale(.85); opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }
.suc-anim .suc-card { animation: sucCard .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes sucCard { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.suc-anim .suc-kv .kv-row { opacity: 0; animation: sucLinha .55s cubic-bezier(.22,1,.36,1) forwards; }
.suc-anim .suc-kv .kv-row:nth-child(1) { animation-delay: 1.05s; }
.suc-anim .suc-kv .kv-row:nth-child(2) { animation-delay: 1.15s; }
.suc-anim .suc-kv .kv-row:nth-child(3) { animation-delay: 1.25s; }
.suc-anim .suc-kv .kv-row:nth-child(4) { animation-delay: 1.35s; }
.suc-anim .suc-kv .kv-row:nth-child(5) { animation-delay: 1.45s; }
@keyframes sucLinha { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.suc-anim .links { animation: sucCard .6s cubic-bezier(.22,1,.36,1) 1.6s both; }
html[data-theme="dark"] .suc-ok .suc-check circle { stroke: #f2f2f2; fill: #f2f2f2; }
html[data-theme="dark"] .suc-onda { border-color: #f2f2f2; }
@media (prefers-reduced-motion: reduce) {
  .suc-anim .suc-card, .suc-anim .links, .suc-anim .suc-kv .kv-row { animation: none !important; opacity: 1 !important; }
  .suc-check circle { stroke-dashoffset: 0 !important; fill-opacity: 1; } .suc-check path { stroke-dashoffset: 0 !important; stroke: #fff !important; }
}
html[data-theme="dark"] .suc-ok .suc-check path { stroke: #f2f2f2; }
html[data-theme="dark"] .suc-anim .suc-ok .suc-check path { animation: draw .45s cubic-bezier(.22,1,.36,1) .8s forwards, sucEscuro .2s ease .85s forwards !important; }
@keyframes sucEscuro { to { stroke: #111; } }
.pg-cliente #servicos.svc-trilho > li, .pg-cliente #servicos.svc-trilho .row.sc { animation: none !important; opacity: 1 !important; }
.pg-cliente .capa-frase.saud { font-size: clamp(22px, 6.2vw, 28px) !important; line-height: 1.15 !important; padding: 0 18px; }

/* ===== v23b: sem "Sua barbearia", barbeiros em esfera com nome dentro, confirmação em vidro ===== */
.pg-cliente .hero-nome { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; margin: 0 !important; padding: 0 !important; }
.pg-cliente .eq { padding: 4px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.pg-cliente .eq-foto { position: relative; margin: 0 !important; border: 0 !important; background: #fff; box-shadow: inset 0 -10px 24px rgba(0,0,0,.08), 0 10px 22px -12px rgba(0,0,0,.35); }
.pg-cliente .eq-foto::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.55), rgba(255,255,255,0) 38%), linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 46%); }
.pg-cliente .eq-foto .eq-nome { position: absolute; left: 0; right: 0; bottom: 13%; z-index: 1; text-align: center; color: #fff !important; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pg-cliente .eq.is-on .eq-foto { box-shadow: 0 0 0 2px #f6f5f2, 0 0 0 3.5px #151515, 0 12px 24px -12px rgba(0,0,0,.45); }

/* sheet "Tudo certo?" em vidro */
.pg-cliente #scrim.is-on { background: rgba(10,10,10,.28) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pg-cliente #sheet { background: linear-gradient(160deg, rgba(255,255,255,.52), rgba(255,255,255,.26)) !important; -webkit-backdrop-filter: blur(26px) saturate(170%) !important; backdrop-filter: blur(26px) saturate(170%) !important;
  border: 1px solid rgba(255,255,255,.6) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 30px 60px -20px rgba(0,0,0,.45) !important; }
.pg-cliente #sheet .kv-row { border-color: rgba(21,21,21,.1) !important; }

/* tela de confirmação: foto de fundo + vidro */
#sucesso { position: relative; isolation: isolate; }
.suc-fundo { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #0d0d0d; }
.suc-fundo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.62); transform: scale(1.08); }
.suc-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.suc-anim .suc-fundo img { animation: sucZoom 9s ease-out both; }
@keyframes sucZoom { from { transform: scale(1.22); filter: grayscale(1) brightness(.4) blur(6px); } to { transform: scale(1.08); filter: grayscale(1) brightness(.62) blur(0); } }
#sucesso .logo-link img, #sucesso .logo-link svg { filter: invert(1); }
.suc-vidro, .gl.suc-vidro { background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.07)) !important; -webkit-backdrop-filter: blur(24px) saturate(160%) !important; backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,.28) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 60px -24px rgba(0,0,0,.6) !important; color: #fff !important; }
.suc-vidro h1, .suc-vidro .kv-v { color: #fff !important; }
.suc-vidro .eyebrow, .suc-vidro .muted, .suc-vidro .kv-k { color: rgba(255,255,255,.68) !important; }
.suc-vidro .kv-row { border-color: rgba(255,255,255,.16) !important; }
.suc-vidro .suc-ok .suc-check circle { stroke: #fff; fill: #fff; }
.suc-vidro .suc-ok .suc-check path { stroke: #fff; }
.suc-anim .suc-vidro .suc-ok .suc-check path { animation: draw .45s cubic-bezier(.22,1,.36,1) .8s forwards, sucEscuro .2s ease .85s forwards !important; }
.suc-vidro .suc-onda { border-color: #fff; }
#sucesso .links .btn-ghost, #sucesso .links .btn-text { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
#sucesso .links .btn-text { background: transparent !important; border-color: transparent !important; }
#sucesso .links .btn-primary { background: rgba(255,255,255,.92) !important; color: #111 !important; }
#sucesso .links svg { stroke: currentColor; }
@keyframes sucEscuro { to { stroke: #111; } }
@media (prefers-reduced-motion: reduce) { .suc-anim .suc-fundo img { animation: none; } }
.pg-cliente .equipe:has(.eq.is-on) .eq:not(.is-on) { opacity: .72; }
.pg-cliente .equipe:has(.eq.is-on) .eq:not(.is-on) .eq-foto img { filter: grayscale(1) contrast(1.05) brightness(.92); }
body:has(#sheet.is-on) #bar { opacity: 0; pointer-events: none; transition: opacity .25s; }
/* v23c: nome embaixo da esfera, sem degradê escuro dentro */
.pg-cliente .eq { gap: 10px !important; }
.pg-cliente .eq-foto::after { background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.5), rgba(255,255,255,0) 40%) !important; }
.pg-cliente .eq > .eq-nome { position: static; color: #151515 !important; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
html[data-theme="dark"] .pg-cliente .eq > .eq-nome { color: #f2f2f2 !important; }

/* ===== v24: leve no celular + etapas escondidas até liberar + horários organizados ===== */
/* desempenho: nada de blur animado no fundo, nem animação presa à rolagem */
.pg-cliente::before, .pg-cliente::after, body.pg-cliente::before, body.pg-cliente::after { animation: none !important; filter: none !important; will-change: auto !important; }
.pg-cliente .step, .pg-cliente .av-sec, .pg-cliente .vt-card, .pg-cliente .foot, .pg-cliente .foto-fig img, .pg-cliente .vt-card-img img, .pg-cliente .final-img { animation: none !important; animation-timeline: auto !important; }
.pg-cliente .gl, .pg-cliente .gl2, .pg-cliente .opt, .pg-cliente .chip, .pg-cliente .trust li { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-shadow: none !important; }
.pg-cliente .step { contain: layout paint; }
.step.is-atual .tn-arco { animation: none !important; }
.vt-m .vt-foto { filter: none !important; will-change: transform; }
.pg-cliente .trilha .step.tr-esconde { opacity: 0; transform: translate3d(0, 18px, 0); }
.pg-cliente .trilha .step.tr-entra { animation: trEntra2 .5s cubic-bezier(.22,1,.36,1) both !important; }
@keyframes trEntra2 { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* etapas bloqueadas: só o título, conteúdo aparece quando liberar */
.pg-cliente .step.is-locked { padding-bottom: 4px !important; }
.pg-cliente .step.is-locked > :not(.step-head) { display: none !important; }
.pg-cliente .step.is-locked .step-head { margin-bottom: 10px; opacity: .45; }
.pg-cliente .step.is-locked .step-note { display: none; }
.pg-cliente .step:not(.is-locked) > :not(.step-head) { animation: abre .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* horários: Manhã / Tarde / Noite + grade compacta */
.per { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(21,21,21,.05); margin-bottom: 12px; }
.per-b { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: rgba(21,21,21,.55); cursor: pointer; transition: background .2s, color .2s; }
.per-b small { font-size: 11px; opacity: .6; }
.per-b.is-on { background: #fff; color: #151515; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.pg-cliente .slots.slots-c { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
.pg-cliente .slots-c .slot { height: 40px !important; min-height: 0 !important; padding: 0 !important; border-radius: 11px !important; font-size: 14px !important; background: #fff !important; border: 1px solid rgba(21,21,21,.08) !important; box-shadow: none !important; }
.pg-cliente .slots-c .slot.is-on { background: #151515 !important; color: #fff !important; border-color: #151515 !important; }
html[data-theme="dark"] .per { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .per-b { color: rgba(255,255,255,.55); }
html[data-theme="dark"] .per-b.is-on { background: rgba(255,255,255,.14); color: #fff; }
html[data-theme="dark"] .pg-cliente .slots-c .slot { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.1) !important; }
html[data-theme="dark"] .pg-cliente .slots-c .slot.is-on { background: #f2f2f2 !important; color: #111 !important; }
@media (prefers-reduced-motion: reduce) { .pg-cliente .step:not(.is-locked) > :not(.step-head) { animation: none; } }

/* ===== v25: ações da confirmação em círculos + rodapé ===== */
.suc-acoes { margin-top: 26px; }
.suc-sep { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .04em; }
.suc-sep::before, .suc-sep::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.22); }
.suc-circs { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.suc-c { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font: inherit; font-size: 12px; letter-spacing: .03em; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.suc-c span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); transition: transform .2s, background .2s; }
.suc-c svg { width: 24px; height: 24px; color: #fff; }
.suc-c:active span { transform: scale(.94); background: rgba(255,255,255,.22); }
.suc-ls { display: flex; justify-content: center; gap: 22px; margin-top: 22px; }
.suc-l { color: rgba(255,255,255,.85); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.suc-outro { display: block; margin: 18px auto 0; background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 14px; cursor: pointer; padding: 10px; }
.suc-pe { margin: 34px 0 10px; text-align: center; color: rgba(255,255,255,.5); }
.suc-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin: 0 0 22px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7); }
.suc-sel svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.suc-dev { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 8px; }
.suc-aego { display: block; margin: 0 auto; width: 44px; height: 44px; opacity: .85; }
.suc-dir { font-size: 11px; margin: 8px 0 0; }
.suc-outro { margin-top: 22px; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; padding: 12px 22px; }
.suc-ls { margin-top: 18px; }
.suc-pe { margin-top: 40px; }
.suc-dir { font-size: 9px; letter-spacing: .12em; margin: 8px 0 0; opacity: .7; }
