/* Rehide Lab · direção v2 "porcelana e glaze" (identidade-visual/design-system/direcao-v2.md) */
:root {
  --porcelana: #F3ECFE; --leite: #FFFFFF; --grafite: #2E2442; --nevoa: #6B6182; --linha: #E6DAFA;
  --lilas: #AA7FEF; --lilas-claro: #C89FFF; --lilas-fundo: #8E66E3; --glaze: #EADDFD; --violeta: #3D2189; --lilas-texto: #7349D1; --mel: #EFE6FE; --mel-texto: #6A44BE;
  --fundo: #F3ECFE; --profundo: #1B1338;
  --degrade: linear-gradient(135deg, #B391F5 0%, #8458DC 55%, #6B42C4 100%);
  --sombra-lilas: 0 12px 26px -14px rgba(142, 102, 227, .75);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-hero: 32px; --r-card: 22px; --r-thumb: 16px;
  --nav: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--fundo); }
body { background: var(--fundo); color: var(--grafite); font-family: var(--font); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; text-align: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lilas); outline-offset: 3px; border-radius: 8px; }

#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; }
.screen { padding: calc(14px + var(--safe-t)) 20px calc(var(--nav) + 36px + var(--safe-b)); }
.screen.full { padding-bottom: calc(36px + var(--safe-b)); }

/* tipografia: uma família, escala 13 / 15.5 / 19 / 26 / 38 */
.title { color: var(--violeta); font-size: clamp(30px, 9.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; margin: 22px 0 18px; text-wrap: balance; }
.subtitle { color: var(--violeta); font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin: 34px 0 14px; }
.lead { font-size: 17px; color: var(--nevoa); line-height: 1.45; max-width: 34ch; }
.small { font-size: 13px; color: var(--nevoa); line-height: 1.45; }
.label { font-size: 13px; color: var(--nevoa); }
.section { margin-top: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.link { font-size: 14px; font-weight: 500; color: var(--lilas-texto); padding: 6px 0; }

/* topo */
.top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.wordmark { color: var(--lilas); display: block; }
.logo { display: block; width: 74px; aspect-ratio: 1269 / 512; background: currentColor; -webkit-mask: url(../img/marca/logo-rehide-lab.png) left center / contain no-repeat; mask: url(../img/marca/logo-rehide-lab.png) left center / contain no-repeat; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--leite); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--lilas-texto); }
.back { width: 42px; height: 42px; border-radius: 50%; background: var(--leite); display: grid; place-items: center; }
.back svg { width: 18px; height: 18px; }

/* superfícies */
.card { background: var(--leite); border-radius: var(--r-card); padding: 18px 20px; }
.card + .card { margin-top: 10px; }
.card.glaze { background: var(--glaze); }
.card.mel { background: var(--mel); }
.card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--nevoa); margin-top: 4px; }
.card.mel p { color: var(--mel-texto); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rows { background: var(--leite); border-radius: var(--r-card); padding: 2px 20px; }
.row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--linha); width: 100%; }
.row:last-child { border-bottom: 0; }
.row .t { flex: 1; min-width: 0; }
.row .t b { display: block; font-weight: 500; }
.row .t span { display: block; font-size: 13px; color: var(--nevoa); }
.row .k { font-size: 13px; color: var(--nevoa); width: 104px; flex: none; }
.row .v { flex: 1; font-weight: 500; }

/* botões */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 22px; border-radius: 999px; background: var(--degrade); color: #fff; box-shadow: var(--sombra-lilas); font-weight: 500; font-size: 15.5px; text-align: center; }
.btn.buy { letter-spacing: .06em; font-size: 14px; font-weight: 600; }
.btn.soft { background: var(--leite); color: var(--lilas-texto); box-shadow: inset 0 0 0 1.5px var(--glaze); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 14px; width: auto; }
.btn:disabled { opacity: .3; cursor: default; }
.btn + .btn { margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.actions .btn + .btn { margin-top: 0; }

/* semana */
.week { display: grid; grid-template-columns: repeat(7, 1fr); margin: 0 -4px 18px; }
.day { display: grid; justify-items: center; gap: 6px; padding: 4px 0; }
.day small { font-size: 12px; color: var(--nevoa); }
.day span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 500; position: relative; }
.day.today span { box-shadow: inset 0 0 0 1px var(--linha); }
.day.on span { background: var(--degrade); color: #fff; box-shadow: var(--sombra-lilas); }
.day.ok span::after { content: ""; position: absolute; bottom: -7px; width: 4px; height: 4px; border-radius: 50%; background: var(--lilas); }

/* o glaze: único elemento ousado */
.glaze-hero { position: relative; overflow: hidden; border-radius: var(--r-hero); background: linear-gradient(165deg, #FFFFFF 0%, #F3EAFF 100%); box-shadow: 0 18px 40px -28px rgba(90, 50, 190, .55); min-height: 220px; padding: 24px 24px 22px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.glaze-hero .fill { position: absolute; inset: auto 0 0 0; height: calc(var(--p, 0) * 100%); min-height: 14px; z-index: -1; transition: height .9s cubic-bezier(.2, .8, .2, 1); background: linear-gradient(180deg, #B993FA 0%, #8A5CE4 60%, #6B42C4 100%); }
.glaze-hero .fill svg { position: absolute; left: 0; bottom: calc(100% - 1px); width: 200%; height: 18px; animation: wave 9s linear infinite; }
@keyframes wave { to { transform: translateX(-50%); } }
.glaze-hero h2 { color: var(--violeta); font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.glaze-hero p { font-size: 15px; margin-top: 6px; color: var(--nevoa); }
.glaze-hero.done p, .glaze-hero.high p { color: var(--grafite); }
.glaze-hero .time { font-size: 13.5px; font-weight: 500; color: var(--grafite); }

/* seletor de período */
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -20px 0; padding: 0 20px; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--leite); font-size: 14px; font-weight: 500; }
.seg button em { font-style: normal; color: var(--nevoa); margin-left: 6px; font-weight: 400; }
.seg button.on { background: var(--degrade); color: #fff; box-shadow: var(--sombra-lilas); }
.seg button.on em { color: #F3ECFF; }

/* etapas marcáveis */
.step .n { width: 20px; flex: none; font-size: 13px; color: var(--nevoa); }
.check { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--linha); flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check.done { background: var(--lilas); border-color: var(--lilas); }
.check.done::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.step[disabled] { opacity: .5; }

/* rotina: sequência de aplicação */
.sequence { margin-top: 18px; }
.seq { display: grid; grid-template-columns: 26px 1fr; gap: 6px; }
.seq + .seq { margin-top: 10px; }
.seq .n { font-size: 13px; color: var(--nevoa); padding-top: 19px; }
.seq .body { background: var(--leite); border-radius: var(--r-card); padding: 16px 18px; }
.seq h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.seq p { color: var(--nevoa); font-size: 14.5px; margin-top: 4px; }
.seq .freq { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--lilas-texto); background: var(--glaze); padding: 4px 10px; border-radius: 999px; }
.hint { font-size: 13.5px; color: var(--grafite); background: var(--porcelana); border-radius: 14px; padding: 10px 12px; margin-top: 10px; }
.mini { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 8px; border-radius: var(--r-thumb); background: var(--porcelana); }
.mini .ph, .mini img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--glaze); flex: none; }
.mini b { display: block; font-size: 14px; font-weight: 500; }
.mini span { font-size: 12.5px; color: var(--nevoa); }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--leite); border-radius: var(--r-card); padding: 10px 10px 10px 20px; margin-top: 14px; }
.setting input, .setting select { border: 0; border-radius: 14px; padding: 9px 12px; background: var(--porcelana); font-size: 16px; }

/* formulários */
.field { display: block; margin-top: 16px; }
.field > span { display: block; font-size: 13px; color: var(--nevoa); margin-bottom: 6px; }
.input { width: 100%; min-height: 52px; padding: 12px 18px; border-radius: 18px; border: 1px solid transparent; background: var(--leite); font-size: 16px; }
.input:focus { border-color: var(--lilas); outline: none; }
textarea.input { min-height: 96px; resize: vertical; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* análise */
.progress { height: 3px; background: var(--linha); border-radius: 3px; overflow: hidden; margin-top: 14px; }
.progress div { height: 100%; background: var(--degrade); transition: width .35s ease; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 17px; border-radius: 999px; background: var(--leite); font-size: 15px; }
.chip.on { background: var(--degrade); color: #fff; }
.choice { display: block; width: 100%; background: var(--leite); border-radius: 20px; padding: 17px 20px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; }
.choice + .choice { margin-top: 8px; }
.choice b { font-weight: 500; font-size: 16.5px; }
.choice span { display: block; font-size: 14px; color: var(--nevoa); margin-top: 1px; }
.choice.on { box-shadow: inset 0 0 0 2px var(--lilas); background: #FBF8FF; }
.group { margin-top: 22px; }
.group > p { font-size: 14px; color: var(--nevoa); margin-bottom: 10px; }
.bottom-bar { position: sticky; bottom: 0; padding: 18px 0 calc(12px + var(--safe-b)); background: linear-gradient(transparent, var(--fundo) 35%); margin-top: 24px; }
.photo-pick { display: grid; place-items: center; text-align: center; gap: 10px; border-radius: var(--r-hero); padding: 34px 20px; background: var(--leite); cursor: pointer; }
.photo-pick .plus { width: 54px; height: 54px; border-radius: 50%; background: var(--porcelana); display: grid; place-items: center; font-size: 26px; font-weight: 300; }
.photo-pick img { width: 168px; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--nevoa); margin-top: 16px; }
.privacy svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--lilas-texto); }

/* produtos: fundo cinza, como vitrine */
.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: block; }
.tile .img { aspect-ratio: 4/5; border-radius: var(--r-card); background: var(--glaze); overflow: hidden; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; }
.tile b { display: block; font-size: 14px; font-weight: 500; margin-top: 10px; line-height: 1.3; }
.tile span { font-size: 13px; color: var(--nevoa); }
.product-img { aspect-ratio: 4/5; border-radius: var(--r-hero); background: var(--glaze); overflow: hidden; margin: 16px -4px 0; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-name { font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 20px; }
.benefits { padding-left: 18px; color: var(--grafite); margin-top: 12px; }
.benefits li + li { margin-top: 4px; }
.why { background: var(--glaze); border-radius: var(--r-card); padding: 16px 20px; margin-top: 18px; }
.why h3 { font-size: 15px; font-weight: 600; color: var(--lilas-texto); }
.why ul { padding-left: 18px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.facts div { background: var(--leite); border-radius: 18px; padding: 12px 14px; font-weight: 500; font-size: 14.5px; }
.facts small { display: block; font-size: 12px; color: var(--nevoa); font-weight: 400; margin-bottom: 2px; }
.meter { height: 6px; background: var(--porcelana); border-radius: 6px; overflow: hidden; margin-top: 12px; }
.meter div { height: 100%; background: var(--lilas); border-radius: 6px; }
.meter.low div { background: var(--lilas-fundo); }

/* agenda */
.pill-action { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--leite); border-radius: var(--r-card); padding: 16px 18px; }
.pill-action + .pill-action { margin-top: 8px; }
.pill-action .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--glaze); display: grid; place-items: center; flex: none; color: var(--lilas-texto); }
.pill-action .ic svg { width: 19px; height: 19px; }
.pill-action .t { flex: 1; }
.pill-action .t b { display: block; font-weight: 500; }
.pill-action .t span { font-size: 13px; color: var(--nevoa); }
.pill-action .go { color: var(--nevoa); }
.timeline { margin-top: 26px; }
.slot { display: flex; gap: 14px; }
.slot .h { width: 46px; flex: none; font-size: 13px; color: var(--nevoa); padding-top: 15px; font-variant-numeric: tabular-nums; }
.slot .b { flex: 1; border-top: 1px solid var(--linha); padding: 8px 0 6px; min-height: 50px; }
.event { display: block; width: 100%; border-radius: 16px; padding: 12px 14px; background: var(--leite); }
.event + .event { margin-top: 6px; }
.event b { display: block; font-weight: 500; }
.event span { font-size: 13px; color: var(--nevoa); }
.event.glaze { background: var(--glaze); }
.event.mel { background: var(--mel); }
.event.done b { text-decoration: line-through; text-decoration-color: var(--nevoa); color: var(--nevoa); }
.week-nav { display: flex; gap: 4px; }
.week-nav button { width: 36px; height: 36px; border-radius: 50%; background: var(--leite); display: grid; place-items: center; }
.week-nav svg { width: 16px; height: 16px; }

/* evolução */
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heat div { aspect-ratio: 1; border-radius: 10px; background: var(--porcelana); }
.heat .l1 { background: #E3D7FA; } .heat .l2 { background: #C8AEF6; } .heat .l3 { background: var(--lilas); }
.heat .fut { background: transparent; box-shadow: inset 0 0 0 1px var(--linha); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.stats div { font-size: 13px; color: var(--nevoa); }
.stats b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.03em; color: var(--grafite); }
.chart svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.slider { margin-top: 16px; }
.slider label { display: flex; justify-content: space-between; font-weight: 500; }
.slider label em { font-style: normal; color: var(--lilas-texto); font-variant-numeric: tabular-nums; }
.slider .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--nevoa); }
input[type=range] { width: 100%; accent-color: var(--violeta); margin-top: 4px; height: 30px; }
.goal { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linha); }
.goal:last-of-type { border-bottom: 0; }
.goal .t { flex: 1; }
.goal.done .t { text-decoration: line-through; color: var(--nevoa); }
.x { width: 32px; height: 32px; border-radius: 50%; color: var(--nevoa); flex: none; display: grid; place-items: center; }
.x svg { width: 14px; height: 14px; }
.add { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.add .input { background: var(--porcelana); }
.entry { padding: 13px 0; border-bottom: 1px solid var(--linha); }
.entry:last-child { border-bottom: 0; }
.entry time { display: block; font-size: 12.5px; color: var(--nevoa); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos figure { position: relative; margin: 0; }
.photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-thumb); }
.photos figcaption { font-size: 12px; color: var(--nevoa); margin-top: 4px; }
.photos .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; background: rgba(251, 250, 252, .9); color: var(--grafite); }

/* scanner */
.stage { position: relative; margin-top: 14px; border-radius: var(--r-hero); overflow: hidden; aspect-ratio: 3 / 4; background: radial-gradient(90% 70% at 50% 40%, #EADDFE 0, #C89FFF 65%, #A880F0 100%); }
.stage video, .stage img, .stage canvas, .stage .oval { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage video, .stage img { object-fit: cover; }
.stage canvas { object-fit: cover; }
.stage video, .stage img { transform: scaleX(-1); }
.stage .oval .arc { transition: stroke-dasharray .6s ease; }
.stage.locked .oval .arc { stroke-dasharray: 100 0; }
.stage-chip { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 28px); width: max-content; text-align: center; background: rgba(251, 250, 252, .92); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; }
.stage-chip.ok { color: #fff; background: var(--lilas-fundo); }
.readings { margin-top: 12px; }
.readings div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--linha); }
.readings div:last-child { border-bottom: 0; }
.readings span { font-size: 14.5px; }
.readings b { font-weight: 500; font-size: 14.5px; }
.readings i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--porcelana); overflow: hidden; }
.readings i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--lilas); border-radius: 6px; }

/* espaços de foto (a foto cobre o rótulo quando o arquivo existir) */
.photo-slot { position: relative; overflow: hidden; background: linear-gradient(155deg, #E9E5F1 0%, #D9CCF3 55%, #BFA6EE 100%); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; text-align: center; color: var(--violeta); }
.ph-label svg { width: 24px; height: 24px; opacity: .6; }
.ph-label b { font-size: 13px; font-weight: 500; opacity: .75; }
.welcome-art .ph-label { justify-content: flex-start; padding-top: 110px; }
.mini .ph-label { padding: 6px; gap: 2px; }
.mini .ph-label b { display: none; }
.mini .ph-label svg { width: 22px; height: 22px; }
.art-banner .photo-slot { width: 74px; height: 92px; border-radius: 16px; flex: none; }
.art-card.photo-slot { margin: 14px 0 -4px; border-radius: var(--r-hero); aspect-ratio: 16 / 10; }
.result-hero .photo-slot { position: absolute; inset: 0; z-index: -2; }
.result-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(78, 36, 153, 0) 35%, rgba(78, 36, 153, .85) 100%); }
.result-hero .ph-label { justify-content: flex-start; padding-top: 34px; }

/* o que sua pele pede */
.needs { display: grid; gap: 10px; }
.need { display: flex; gap: 14px; align-items: flex-start; background: var(--leite); border-radius: var(--r-card); padding: 16px; box-shadow: 0 10px 26px -22px rgba(90, 50, 190, .6); }
.need .t { flex: 1; min-width: 0; }
.need b { display: block; font-size: 16.5px; font-weight: 600; color: var(--violeta); letter-spacing: -.01em; }
.need p { font-size: 14px; color: var(--nevoa); margin-top: 4px; }
.need-btn { display: inline-flex; margin-top: 10px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--degrade); }
.need-btn.soon { background: var(--glaze); color: var(--lilas-texto); font-weight: 500; }

/* ilustrações */
.step-art { width: 44px; height: 44px; flex: none; border-radius: 14px; }
.row .step-art { width: 42px; height: 42px; }
.seq-head { display: flex; align-items: center; gap: 12px; }
.seq-head .step-art { width: 40px; height: 40px; }
.art-card { margin: 14px 0 -4px; border-radius: var(--r-hero); overflow: hidden; aspect-ratio: 16 / 10; }
.art-card > svg { width: 100%; height: 100%; display: block; }
.art-banner { display: flex; align-items: center; gap: 14px; background: var(--leite); border-radius: var(--r-card); padding: 10px 16px 10px 10px; margin-top: 14px; }
.art-banner > svg { width: 74px; height: 92px; border-radius: 16px; flex: none; }
.art-banner b { display: block; font-weight: 600; }
.art-banner span { font-size: 13.5px; color: var(--nevoa); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.feature-strip div { background: var(--leite); border-radius: var(--r-card); padding: 14px 12px; }
.feature-strip .step-art { width: 40px; height: 40px; margin-bottom: 10px; }
.feature-strip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.feature-strip span { font-size: 12.5px; color: var(--nevoa); }
.result-hero { position: relative; margin-top: 14px; border-radius: var(--r-hero); overflow: hidden; aspect-ratio: 4 / 3.4; isolation: isolate; }
.result-hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.result-hero > div { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.result-hero h1 { color: #fff; font-size: 34px; font-weight: 500; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 1px 12px rgba(110, 70, 200, .35); }
.radar-card h3 { margin-bottom: 4px; }
.radar { width: 100%; height: auto; display: block; max-width: 340px; margin: 0 auto; }
.choice .badge, .badge { display: inline-block; width: auto; margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--degrade); padding: 3px 9px; border-radius: 999px; vertical-align: 2px; }
.mini-routine + .mini-routine { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linha); }
.mini-routine > b { display: block; font-weight: 600; margin-bottom: 8px; text-transform: capitalize; }
.mini-routine span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 3px 0; }
.mini-routine .step-art { width: 30px; height: 30px; border-radius: 10px; }
.shelf-soon .shelf { grid-template-columns: 1fr 1fr; }
.shelf-soon .bottle-art { width: 100%; height: auto; border-radius: 18px; display: block; }

/* abertura no formato do banner: foto em cima, bloco lilás com REHIDE. REVIVE. */
.opening { position: relative; min-height: 100dvh; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background: #AB81F1; }
.op-photo { position: relative; flex: 1 1 54%; min-height: 330px; overflow: hidden; }
.op-photo .photo-slot { position: absolute; inset: 0; animation: op-photo 2.8s 4s cubic-bezier(.2, .7, .1, 1) both; }
.op-photo .photo-slot img { object-position: center 35%; }
.op-logo { position: absolute; top: calc(20px + var(--safe-t)); left: 22px; z-index: 2; color: #fff; filter: drop-shadow(0 1px 10px rgba(61, 33, 137, .55)); opacity: 0; animation: fade-up 1s 5.7s ease forwards; }
.op-logo .logo { width: 92px; }
.op-block { position: relative; flex: 0 0 auto; background: linear-gradient(160deg, #C89FFF 0%, #B07FF5 55%, #9461E8 100%); padding: 30px 28px calc(26px + var(--safe-b)); animation: op-block 1.2s 4.3s cubic-bezier(.2, .8, .2, 1) both; }
.op-words { font-family: "Inter", var(--font); font-weight: 900; color: #fff; font-size: clamp(64px, 21.5vw, 104px); line-height: .9; letter-spacing: -.045em; }
.op-line { display: block; overflow: hidden; padding-bottom: .02em; }
.op-word { display: inline-block; transform: translateY(105%); animation: op-word 1.3s var(--d) cubic-bezier(.2, .8, .15, 1) forwards; }
.op-dot { display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: #fff; margin-left: .05em; transform: scale(0); animation: op-dot .5s var(--d) cubic-bezier(.3, 1.6, .5, 1) forwards; }
.op-btn { margin-top: 26px; opacity: 0; animation: fade-up 1s 6s ease forwards; }
.op-intro { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; overflow: hidden; isolation: isolate; cursor: pointer; background: #AB81F1; animation: intro-out 1.3s 3.9s ease-in-out forwards; }
.op-intro .orb { position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; opacity: .45; }
.op-intro .orb-a { width: 330px; height: 330px; background: #C7A8F8; top: -90px; left: -100px; animation: drift 12s ease-in-out infinite alternate; }
.op-intro .orb-b { width: 290px; height: 290px; background: #9468E6; bottom: 6%; right: -120px; animation: drift 15s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(70px, 60px) scale(1.18); } }
/* o logotipo: surge do desfoque, pisca duas vezes com brilho suave e sobe ao se dissolver */
.op-mark { color: #fff; opacity: 0; animation: mark-in 1.9s .3s cubic-bezier(.22, .7, .15, 1) forwards, mark-blink 1.5s 2.2s ease-in-out, mark-out 1.3s 3.9s ease-in-out forwards; }
.op-mark .logo { width: min(66vw, 300px); background: #fff linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, #D9C2FF 50%, rgba(255, 255, 255, 0) 62%) 130% 0 / 300% 100% no-repeat; animation: shine 1.7s 2.1s ease-in-out forwards; }
.dm-scroll .op-mark .logo { width: 270px; }
@keyframes mark-in { from { opacity: 0; filter: blur(14px); transform: scale(1.05); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes mark-blink { 0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .2)); opacity: 1; } 22% { filter: drop-shadow(0 0 26px rgba(255, 255, 255, .95)); } 42% { opacity: .55; } 62% { filter: drop-shadow(0 0 22px rgba(228, 204, 255, .85)); opacity: 1; } 80% { opacity: .78; } }
@keyframes mark-out { to { transform: translateY(-14px) scale(.96); } }
@keyframes shine { to { background-position: -40% 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes op-photo { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes op-block { from { transform: translateY(100%); } }
@keyframes op-word { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.opening.skip .op-intro { animation: intro-out .4s ease forwards; }
.opening.skip .op-photo .photo-slot, .opening.skip .op-block, .opening.skip .op-word, .opening.skip .op-logo, .opening.skip .op-btn { animation-delay: 0s; animation-duration: .5s; }
.btn.white { background: #fff; color: var(--lilas-texto); box-shadow: 0 14px 30px -16px rgba(40, 10, 110, .7); }
@media (prefers-reduced-motion: reduce) { .op-intro { display: none; } .op-word { transform: none; } .op-btn, .op-logo { opacity: 1; } }
/* boas-vindas com foto */
.bv-hero { position: relative; margin: calc(-14px - var(--safe-t)) -20px 0; height: min(52vh, 430px); min-height: 300px; overflow: hidden; border-radius: 0 0 40px 40px; isolation: isolate; }
.bv-hero .photo-slot { position: absolute; inset: 0; z-index: -2; }
.bv-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(78, 36, 153, .25) 0%, rgba(78, 36, 153, 0) 30%, rgba(78, 36, 153, .15) 55%, rgba(78, 36, 153, .88) 100%); }
.bv-in { position: absolute; inset: calc(20px + var(--safe-t)) 22px 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.bv-in .wordmark { color: #fff; }
.bv-in .wordmark .logo { width: 88px; }
.bv-in h1 { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.bv-hero .ph-label { justify-content: flex-start; padding-top: 90px; }
.name-field { margin-top: 22px; }
.name-field .input { font-size: 18px; min-height: 58px; box-shadow: inset 0 0 0 1.5px var(--glaze); }
.art-banner .step-art { width: 56px; height: 56px; }

/* entrada */
.welcome { margin: 0 -20px; padding: calc(22px + var(--safe-t)) 24px 28px; background: var(--degrade); color: #fff; border-radius: 0 0 40px 40px; }
.welcome { position: relative; overflow: hidden; isolation: isolate; min-height: 420px; display: flex; }
.welcome .welcome-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.welcome-in { display: flex; flex-direction: column; justify-content: space-between; }
.welcome .brand { font-size: 60px; font-weight: 600; letter-spacing: -.045em; line-height: .88; text-transform: uppercase; text-shadow: 0 2px 18px rgba(110, 70, 200, .35); }
.features { margin-top: 6px; }
.features .row b { font-weight: 500; }

/* navegação */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(251, 250, 252, .9); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); padding-bottom: var(--safe-b); }
.nav-in { max-width: 480px; margin: 0 auto; height: var(--nav); display: flex; align-items: center; padding: 0 6px; }
.nav a { flex: 1; display: grid; justify-items: center; gap: 3px; color: var(--nevoa); font-size: 12px; padding: 6px 0; min-height: 52px; }
.nav svg { width: 23px; height: 23px; }
.nav a.on { color: var(--lilas-texto); font-weight: 600; }
.nav a.on svg { background: var(--glaze); border-radius: 12px; padding: 3px; width: 34px; height: 29px; }
.nav a.on svg { color: var(--lilas); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(46, 36, 66, .38); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
.sheet { width: 100%; max-width: 480px; background: var(--leite); border-radius: 28px 28px 0 0; padding: 24px 20px calc(20px + var(--safe-b)); animation: rise-sheet .25s ease; }
.sheet p { font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise-sheet { from { transform: translateY(30px); } }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav) + 18px + var(--safe-b)); transform: translateX(-50%); background: var(--lilas-texto); color: var(--leite); padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 20; max-width: calc(100% - 40px); text-align: center; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 8px); } }
.empty h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.note-foot { font-size: 12.5px; color: var(--nevoa); text-align: center; margin-top: 28px; line-height: 1.5; }

/* ---------- revisão de experiência: atmosferas por área ---------- */
/* Só as variáveis mudam entre as áreas: tipografia, botões e navegação continuam os mesmos. */

#app.enter { animation: tela .28s ease; }
@keyframes tela { from { opacity: .4; } }
.seg button { min-height: 44px; }
.seg.even { margin: 0; padding: 0; }
.seg.even button { flex: 1; text-align: center; padding: 10px 6px; }
.x { width: 40px; height: 40px; }
.chip { min-height: 44px; }
.back, .av { flex: none; }
.chart-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--nevoa); margin-top: 2px; }

/* recolhíveis */
.fold { background: var(--leite); border-radius: var(--r-card); }
.fold + .fold { margin-top: 10px; }
.fold summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 8px 20px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; }
.fold summary::-webkit-details-marker { display: none; }
.fold .chev svg { width: 16px; height: 16px; display: block; color: var(--nevoa); transition: transform .2s; }
.fold[open] .chev svg { transform: rotate(90deg); }
.fold-in { padding: 0 20px 18px; }
.folds { margin-top: 26px; }
.rows.flat { background: none; padding: 0; }
.guide + .guide { margin-top: 14px; }
.guide h3 { font-size: 15px; font-weight: 600; }
.guide p { color: var(--nevoa); font-size: 14.5px; }

/* hoje */
.glaze-hero { min-height: 176px; justify-content: flex-start; }
.glaze-hero .fill { height: calc(var(--p, 0) * 44%); }
.glaze-hero p, .glaze-hero.done p, .glaze-hero.high p { color: var(--nevoa); }
.glaze-hero .time { position: absolute; top: 28px; right: 24px; color: var(--nevoa); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.quick a { background: var(--leite); border-radius: var(--r-card); padding: 14px 16px; }
.quick b { display: block; font-weight: 600; }
.quick span { font-size: 13px; color: var(--nevoa); }
.alert { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r-card); background: var(--violeta); color: #fff; }
.alert .ic svg, .alert .go svg { width: 20px; height: 20px; display: block; }
.alert .t { flex: 1; min-width: 0; }
.alert b { display: block; font-weight: 600; }
.alert .t span { font-size: 13px; opacity: .85; }

/* análise facial: noite profunda, técnica e envolvente */
.stage::before { content: ""; position: absolute; inset: 16px; z-index: 1; pointer-events: none; opacity: .7;
  background: linear-gradient(#CDB5FC, #CDB5FC) 0 0 / 22px 1.5px, linear-gradient(#CDB5FC, #CDB5FC) 0 0 / 1.5px 22px, linear-gradient(#CDB5FC, #CDB5FC) 100% 0 / 22px 1.5px, linear-gradient(#CDB5FC, #CDB5FC) 100% 0 / 1.5px 22px, linear-gradient(#CDB5FC, #CDB5FC) 0 100% / 22px 1.5px, linear-gradient(#CDB5FC, #CDB5FC) 0 100% / 1.5px 22px, linear-gradient(#CDB5FC, #CDB5FC) 100% 100% / 22px 1.5px, linear-gradient(#CDB5FC, #CDB5FC) 100% 100% / 1.5px 22px; background-repeat: no-repeat; }
.stage-chip { z-index: 2; top: 28px; }

/* resultados: branco, direto, com a conclusão primeiro */
.rs-sum { margin-top: 22px; }
.rs-sum h2 { color: var(--violeta); font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.rs-sum p { font-size: 16.5px; color: var(--nevoa); margin-top: 6px; max-width: 34ch; }
.result-hero { aspect-ratio: 4 / 3; }
.need { box-shadow: none; }

/* protocolos: linha fina, muito respiro */
.rt-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 14px; padding: 22px 22px 20px; border-radius: var(--r-hero); min-height: 132px; background: linear-gradient(170deg, #FFFFFF, #EFE8FB); color: var(--violeta); box-shadow: inset 0 0 0 1px var(--linha); }
.rt-hero[data-p="tarde"] { background: linear-gradient(170deg, #F4F2F7, #E3DFEA); }
.rt-hero[data-p="noite"] { background: linear-gradient(170deg, #3D2189, #1B1338); color: #fff; box-shadow: none; }
.rt-hero[data-p="semanal"] { background: linear-gradient(170deg, #E3D2FC, #C8AEF6); box-shadow: none; }
.rt-hero h2 { font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.rt-hero p { font-size: 14px; margin-top: 6px; opacity: .8; }
.rt-time { display: grid; gap: 2px; font-size: 12.5px; text-align: right; flex: none; }
.rt-time input { border: 0; background: rgba(255, 255, 255, .7); color: #2E2442; border-radius: 12px; padding: 8px 10px; font-size: 16px; min-height: 44px; }
.sequence { margin-top: 22px; }
.seq { grid-template-columns: 28px 1fr; gap: 10px; position: relative; }
.seq + .seq { margin-top: 0; }
.seq:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 34px; bottom: 0; width: 1px; background: var(--linha); }
.seq .n { padding: 0; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--violeta); color: #fff; font-size: 13px; font-weight: 500; }
.seq .n:empty { background: var(--lilas); width: 11px; height: 11px; margin: 8px; }
.seq .body { background: none; border-radius: 0; padding: 0 0 26px; }
.seq .freq { margin-top: 3px; padding: 0; background: none; font-size: 13px; color: var(--nevoa); display: block; }
.seq p { margin-top: 10px; }

/* agenda: cabeçalho acolhedor em lilás claro, o dia em destaque */
.ag { padding-top: 0; }
.ag-head { margin: 0 -20px; padding: calc(14px + var(--safe-t)) 20px 16px; background: linear-gradient(180deg, #E6D8FC, #F1E9FE); border-radius: 0 0 36px 36px; }
.ag-date { display: flex; align-items: center; gap: 14px; margin: 14px 0 16px; }
.ag-date > b { font-size: 76px; font-weight: 500; letter-spacing: -.05em; line-height: .9; color: var(--violeta); }
.ag-date h1 { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--violeta); }
.ag-date h1 span { display: block; }
.ag-date h1 span + span { font-size: 13.5px; font-weight: 400; color: var(--nevoa); }
.ag-head .week { margin-bottom: 0; }
.ag-head .day span { background: rgba(255, 255, 255, .55); }
.ag-head .day.on span { background: var(--degrade); }
.week-nav button { width: 44px; height: 44px; }
.timeline { margin-top: 22px; }
.slot { gap: 12px; }
.slot .h { padding-top: 12px; }
.slot .b { border-top: 0; border-left: 1.5px solid var(--linha); padding: 0 0 12px 14px; position: relative; }
.slot .b::before { content: ""; position: absolute; left: -5.5px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--lilas); }
.event { padding: 13px 16px; border-radius: 18px; }
.ag-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ag-tools > * { display: block; background: var(--leite); border-radius: var(--r-card); padding: 14px 16px; }
.ag-tools .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--glaze); color: var(--lilas-texto); margin-bottom: 8px; }
.ag-tools .ic svg { width: 18px; height: 18px; }
.ag-tools b { display: block; font-weight: 600; }
.ag-tools > * > span:last-child { font-size: 13px; color: var(--nevoa); line-height: 1.3; display: block; }

/* boutique: cinza de galeria, produto em nicho */
.shelf { gap: 18px 12px; }
.niche { aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #FFFFFF, #F4F3F6); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 -14px 24px -18px rgba(61, 33, 137, .3); }
.niche img { width: 100%; height: 100%; object-fit: cover; }
.niche .step-art { width: 66px; height: 66px; border-radius: 20px; }
.tile > span:not(.need-btn) { display: block; line-height: 1.35; margin-top: 2px; }
.tile .need-btn { margin-top: 8px; }
.tile > span:not(.need-btn) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.bt-alert { background: var(--violeta); color: #fff; border-radius: 18px; padding: 12px 16px; font-weight: 500; }
.bt-alert + .section { margin-top: 18px; }
.refill { background: var(--leite); border-radius: var(--r-card); padding: 16px 18px; }
.refill + .refill { margin-top: 10px; }
.refill p { color: var(--nevoa); font-size: 14px; margin-top: 8px; }
.refill .meter { background: var(--glaze); height: 7px; }
.refill .meter div { background: var(--lilas-fundo); }
.refill.low { box-shadow: inset 0 0 0 1.5px var(--violeta); }
.refill.low .meter div { background: var(--violeta); }
.refill .btn.soft { background: var(--porcelana); }
.empty-rf .btn { margin-top: 12px; }
.rf-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rf-top h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.rf-tag { flex: none; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--porcelana); color: var(--nevoa); }
.refill.low .rf-tag { background: var(--violeta); color: #fff; }

/* evolução: painel profundo em cima, dados claros embaixo */
.ev { padding-top: 0; }
.ev-hero { margin: 0 -20px; padding: calc(14px + var(--safe-t)) 20px 22px; background: linear-gradient(170deg, #3D2189, #1B1338); color: #fff; border-radius: 0 0 36px 36px; }
.ev-hero .wordmark { color: #fff; }
.ev-hero h1 { font-size: clamp(30px, 9.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; margin-top: 18px; }
.ev-hero .stats div { color: #D9CDEF; }
.ev-hero .stats b { color: #fff; font-size: 34px; }
.ev-hero .heat { margin-top: 16px; gap: 5px; }
.ev-hero .heat div { aspect-ratio: 1.5; border-radius: 7px; background: rgba(255, 255, 255, .09); }
.ev-hero .heat .l1 { background: #6B4DB0; } .ev-hero .heat .l2 { background: #A880F0; } .ev-hero .heat .l3 { background: #fff; }
.ev-hero .heat .fut { background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.heat-key { display: flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; color: #D9CDEF; }
.heat-key i { width: 16px; height: 11px; border-radius: 3px; background: rgba(255, 255, 255, .09); }
.heat-key i.l1 { background: #6B4DB0; } .heat-key i.l2 { background: #A880F0; } .heat-key i.l3 { background: #fff; }
.heat-key span:first-child { margin-right: 4px; } .heat-key span:last-child { margin-left: 4px; }
.ev-hero .card.glaze { color: var(--grafite); }
.ev .chip { background: var(--porcelana); font-size: 14px; padding: 9px 14px; }
.ev .chip.on { background: var(--degrade); }
.hy-top { display: flex; align-items: center; gap: 12px; }
.hy-top .t { flex: 1; min-width: 0; }
.hy-top h2 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.hy-top p { margin-top: 1px; font-size: 14px; }
.drop { width: 38px; height: 42px; flex: none; }
.hy .chart { margin-top: 10px; }
.hy-demo { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--linha); }
.hy-demo h3 { color: var(--nevoa); font-size: 14.5px; }
.hy-demo svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.hy-demo p { font-size: 13px; }
.rf-tag + .rf-tag { margin-left: 4px; }
.note-foot { color: var(--nevoa); }

@media (max-width: 345px) {
  .quick, .ag-tools { grid-template-columns: 1fr; }
  .ag-date > b { font-size: 60px; }
  .seg button { padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- refinamento de cor: personalidade por área ---------- */
/* Tipografia, logotipo, navegação e tamanho dos botões não mudam; cada área troca cor, forma dos blocos e divisões. */
:root { --acc: #7349D1; --acc-suave: #EADDFD; --titulo: var(--violeta);
  --st-baixa: #D9627E; --st-baixa-tx: #B23A5B; --st-baixa-f: #FBE7EC; --st-media: #E2A33F; --st-media-tx: #96660F; --st-media-f: #FCF1DD; --st-boa: #1F9E8A; --st-boa-tx: #0F7A69; --st-boa-f: #DDF4EF;
  --p-manha: #E9A24B; --p-tarde: #DB7393; --p-noite: #4B35A8; --p-semanal: #9A6EE6; --champanhe: #BFA06A; }

.title, .subtitle, .section-head h2 { color: var(--titulo); }
.link { color: var(--acc); }
.nav a.on { color: var(--acc); }
.nav a.on svg { background: var(--acc-suave); color: var(--acc); }
.nav { background: color-mix(in srgb, var(--fundo) 88%, #fff); }
input[type=range] { accent-color: var(--acc); }

/* seletor de período: cada parte do dia tem sua cor, em toda a experiência */
.seg button[data-p].on { color: #fff; background: var(--p-noite); box-shadow: none; }
.seg button[data-p="manha"].on { background: linear-gradient(135deg, #F1B566, #DB8A3C); }
.seg button[data-p="tarde"].on { background: linear-gradient(135deg, #E78CA6, #CC5C80); }
.seg button[data-p="semanal"].on { background: linear-gradient(135deg, #B28EF2, #8458DC); }

/* hoje: lilás da marca, luminoso */
.glaze-hero { background: linear-gradient(165deg, #FFFFFF 0%, #F6EEFF 100%); box-shadow: 0 22px 44px -28px rgba(107, 66, 196, .7); }
.glaze-hero[data-p="manha"] .fill { background: linear-gradient(180deg, #F6C88A 0%, #D69BE0 55%, #8458DC 100%); }
.glaze-hero[data-p="manha"] .fill svg path { fill: #F6C88A; }
.glaze-hero[data-p="tarde"] .fill { background: linear-gradient(180deg, #F2A9BC 0%, #B993FA 60%, #7B52D6 100%); }
.glaze-hero[data-p="tarde"] .fill svg path { fill: #F2A9BC; }
.glaze-hero[data-p="noite"] .fill { background: linear-gradient(180deg, #8167E6 0%, #4B35A8 60%, #2A1D6E 100%); }
.glaze-hero[data-p="noite"] .fill svg path { fill: #8167E6; }
.quick a:first-child { background: var(--degrade); color: #fff; box-shadow: var(--sombra-lilas); }
.quick a:first-child span { color: #F3ECFF; }
.alert { background: var(--st-baixa-f); color: var(--st-baixa-tx); box-shadow: inset 3px 0 0 var(--st-baixa); }

/* agenda: acolhedora, entre o blush e o lilás */
.ag-head { background: linear-gradient(165deg, #FCE3D8 0%, #F8D9E6 48%, #E5D6FB 100%); }
.ag-head .wordmark { color: #A65CB8; }
.ag-date > b, .ag-date h1 { color: var(--titulo); }
.ag-head .day span { background: rgba(255, 255, 255, .7); }
.ag-head .day.ok span::after { background: #A65CB8; }
.ag-tools > * { background: #fff; border-radius: 24px; box-shadow: 0 14px 28px -24px rgba(166, 92, 184, .8); }
.ag-tools .ic { background: var(--acc-suave); color: var(--acc); }
.week-nav button { background: rgba(255, 255, 255, .75); }
.slot { --cor: var(--p-semanal); --tinta: #F2EAFD; }
.slot[data-p="manha"] { --cor: var(--p-manha); --tinta: #FFF1DD; }
.slot[data-p="tarde"] { --cor: var(--p-tarde); --tinta: #FDE6EC; }
.slot[data-p="noite"] { --cor: var(--p-noite); --tinta: #E9E5FA; }
.slot[data-p="repor"] { --cor: var(--st-media); --tinta: var(--st-media-f); }
.slot .b::before { background: var(--cor); box-shadow: 0 0 0 4px var(--fundo); }
.slot .event, .slot .event.glaze, .slot .event.mel { background: var(--tinta); border-radius: 22px; }

/* protocolos: índigo, ordem, cada etapa um cartão preciso */
.rt-hero { box-shadow: none; }
.rt-hero[data-p="manha"] { background: linear-gradient(150deg, #FFF0D9 0%, #FBDCCB 48%, #E6D6FB 100%); color: #7A4310; }
.rt-hero[data-p="tarde"] { background: linear-gradient(150deg, #FDE4EA 0%, #E8DBF8 100%); color: #8C2F52; }
.rt-hero[data-p="noite"] { background: linear-gradient(160deg, #3F2EA6 0%, #1D1550 100%); }
.rt-hero[data-p="semanal"] { background: linear-gradient(150deg, #DCCCFB 0%, #AB8CF0 100%); color: #2D1B73; }
.seq .body { background: #fff; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 0 0 1px var(--linha); }
.seq .n { background: var(--degrade); border-radius: 9px; }
.seq:not(:last-child)::before { width: 2px; background: var(--acc-suave); }
.hint { background: var(--porcelana); border-radius: 0 10px 10px 0; box-shadow: inset 3px 0 0 var(--acc); }

/* análise facial: tecnologia em azul-gelo sobre o roxo noturno */

/* resultados: branco, com a conclusão em lilás pleno da marca */
.result-hero::after { background: linear-gradient(180deg, rgba(132, 88, 220, 0) 30%, rgba(132, 88, 220, .9) 100%); }
.rs-sum { position: relative; margin: -22px 12px 0; padding: 18px 22px 20px; border-radius: 24px; background: linear-gradient(135deg, #AB81F1 0%, #8458DC 100%); color: #fff; box-shadow: 0 20px 34px -22px rgba(132, 88, 220, .95); }
.rs-sum h2 { color: #fff; }
.rs-sum p { color: #F3ECFF; }
:root[data-area="result"] .subtitle::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; margin-top: 8px; background: #AB81F1; }
:root[data-area="result"] .need { background: #fff; box-shadow: 0 0 0 1px var(--linha), 0 14px 26px -24px rgba(132, 88, 220, .9); }
.readings i::after { background: linear-gradient(90deg, #C89FFF, #6B42C4); }

/* evolução: clara, entre lilás e jade, com cor que informa */
.ev-hero { background: linear-gradient(155deg, #E2D8FC 0%, #D3ECE8 100%); color: var(--grafite); }
.ev-hero .wordmark { color: #6E57D6; }
.ev-hero h1 { color: var(--titulo); }
.ev-hero .stats div { color: #4B5468; background: rgba(255, 255, 255, .6); border-radius: 18px; padding: 12px 14px; }
.ev-hero .stats b { color: var(--titulo); }
.ev-hero .heat div { background: rgba(255, 255, 255, .6); }
.ev-hero .heat .l1 { background: #BFAEF0; } .ev-hero .heat .l2 { background: #7E68DC; } .ev-hero .heat .l3 { background: #1F9E8A; }
.ev-hero .heat .fut { background: none; box-shadow: inset 0 0 0 1px rgba(45, 42, 110, .14); }
.heat-key { color: #4B5468; }
.heat-key i { background: rgba(255, 255, 255, .6); }
.heat-key i.l1 { background: #BFAEF0; } .heat-key i.l2 { background: #7E68DC; } .heat-key i.l3 { background: #1F9E8A; }
:root[data-area="evolucao"] .card, :root[data-area="evolucao"] .fold { border-radius: 24px; box-shadow: 0 16px 30px -28px rgba(36, 48, 90, .7); }
.ev .chip { background: var(--porcelana); }
.ev .chip.on { background: #2D2A6E; color: #fff; }
.hy { position: relative; overflow: hidden; }
.hy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--acc-suave); }
.hy[data-s="baixa"]::before { background: var(--st-baixa); }
.hy[data-s="media"]::before { background: var(--st-media); }
.hy[data-s="boa"]::before { background: var(--st-boa); }
.st { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-right: 2px; }
.hy[data-s="baixa"] .st { background: var(--st-baixa-f); color: var(--st-baixa-tx); }
.hy[data-s="media"] .st { background: var(--st-media-f); color: var(--st-media-tx); }
.hy[data-s="boa"] .st { background: var(--st-boa-f); color: var(--st-boa-tx); }
.legend { display: flex; gap: 14px; margin-top: 8px; font-size: 13px; color: var(--grafite); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 4px; }
.legend [data-s="baixa"]::before { background: var(--st-baixa); }
.legend [data-s="media"]::before { background: var(--st-media); }
.legend [data-s="boa"]::before { background: var(--st-boa); }
.heat-key span, .chart-ends span { white-space: nowrap; }

/* boutique: berinjela e champanhe, cantos retos, produto em nicho */
.bt { padding-top: 0; }
.bt-head { margin: 0 -20px 26px; padding: calc(14px + var(--safe-t)) 20px 30px; background: linear-gradient(160deg, #3A2558 0%, #21142F 100%); color: #F3E9DA; }
.bt-head .wordmark { color: #E5D4B8; }
.bt-head .av { background: rgba(255, 255, 255, .12); color: #F3E9DA; }
.bt-head h1 { font-size: clamp(30px, 9.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; margin-top: 22px; }
.bt-head h1::after { content: ""; display: block; width: 44px; height: 1px; margin-top: 14px; background: var(--champanhe); }
:root[data-area="boutique"] .section-head { padding-bottom: 8px; border-bottom: 1px solid var(--linha); }
:root[data-area="boutique"] .btn { border-radius: 12px; color: #F3E9DA; }
:root[data-area="boutique"] .btn.soft { background: transparent; color: var(--titulo); box-shadow: inset 0 0 0 1px #CFC6B6; }
:root[data-area="boutique"] .btn:disabled { color: #F3E9DA; }
.niche { border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, #FFFFFF 0%, #EFEAE1 100%); box-shadow: inset 0 0 0 1px #DDD3C2; }
.need-btn.soon { background: transparent; color: #7A6236; box-shadow: inset 0 0 0 1px var(--champanhe); }
:root[data-area="boutique"] .need-btn:not(.soon) { background: var(--degrade); color: #F3E9DA; border-radius: 10px; }
.refill { box-shadow: inset 0 0 0 1px var(--linha); }
.refill.ok .rf-tag { background: var(--st-boa-f); color: var(--st-boa-tx); }
.refill.ok .meter div { background: var(--st-boa); }
.refill.low { box-shadow: inset 0 0 0 1px var(--st-media); }
.refill.low .rf-tag { background: var(--st-media-f); color: var(--st-media-tx); }
.refill.low .meter div { background: var(--st-media); }
.refill.out { box-shadow: inset 0 0 0 1px var(--st-baixa); }
.refill.out .rf-tag { background: var(--st-baixa-f); color: var(--st-baixa-tx); }
.refill.out .meter div { background: var(--st-baixa); }
.bt-alert { background: var(--st-media-f); color: var(--st-media-tx); box-shadow: inset 3px 0 0 var(--st-media); border-radius: 10px; }
.why { background: var(--glaze); border-radius: 12px; }
.why h3 { color: var(--titulo); }
.facts div { border-radius: 10px; }

.result-hero > div { bottom: 38px; }

/* ---------- direção v4: quadro de ajustes da marca (identidade-visual/referencias-usuaria) ---------- */
/* Só roxo, lilás, cinza e branco. Rosa forte aparece apenas no bloco da tarde. */
:root {
  --roxo: #AA80F0; --roxo-forte: #7B4FD8; --lilas-marca: #D1BBEC; --cinza: #D2D2D2; --cinza-escuro: #3A3A3D;
  --p-manha: #CDB4F5; --p-tarde: #E6287E; --p-noite: #3A1E8C; --p-semanal: #AA80F0;
  --fundo: #FFFFFF; --leite: #F6F2FC; --porcelana: #F6F2FC; --glaze: #EADFFB; --mel: #F6F2FC; --mel-texto: #5D4A85; --linha: #E7E1F1;
  --grafite: #2D2B33; --nevoa: #66626F; --violeta: #2D2B33; --titulo: #2D2B33; --lilas: #AA80F0; --lilas-texto: #7B4FD8; --lilas-fundo: #7B4FD8;
  --acc: #7B4FD8; --acc-suave: #EADFFB; --champanhe: #AA80F0;
  --degrade: linear-gradient(135deg, #8D62E2 0%, #7B4FD8 100%); --sombra-lilas: 0 12px 24px -14px rgba(123, 79, 216, .7);
  --font-titulo: "Bebas Neue", "Instrument Sans", sans-serif; --r-card: 20px; --r-hero: 28px; --nav: 84px;
}
:root[data-area="scan"] { --acc: #3A3A3D; --grafite: #3A3A3D; --titulo: #3A3A3D; --leite: #FFFFFF; --linha: #E2E2E5; --nevoa: #66666C; --degrade: linear-gradient(#3A3A3D, #3A3A3D); --sombra-lilas: none; --lilas-texto: #3A3A3D; }

.title, .glaze-hero h2, .rt-hero h2, .ev-hero h1 { font-family: var(--font-titulo); font-weight: 400; letter-spacing: .01em; line-height: 1.02; text-transform: uppercase; }
.title { font-size: clamp(36px, 11vw, 44px); }
.section-head h2, .subtitle { font-weight: 600; }
.subtitle { font-size: 21px; letter-spacing: -.015em; }
.btn { background: var(--degrade); }
.wordmark { color: var(--roxo); }
.top-acts { display: flex; align-items: center; gap: 8px; }

/* abertura */
.opening, .op-intro { background: var(--roxo); }
.op-block { background: var(--roxo); }
.op-mark .logo { width: min(36vw, 150px); }
.op-logo .logo { width: 64px; }
.op-photo .photo-slot img { object-position: 74% 20%; }
.btn.white { color: var(--cinza-escuro); }

/* entrada: só o nome */
.name-field { margin-top: 24px; }

/* Hoje bloqueada */
.gate-screen .title { margin: 8px 0 12px; }
.gate { position: relative; border-radius: var(--r-hero); overflow: hidden; min-height: 330px; height: calc(100dvh - 226px - var(--safe-t) - var(--safe-b)); max-height: 640px; background: var(--roxo); }
.dm-scroll .gate { height: 560px; }
.gate .photo-slot { position: absolute; inset: 0; border-radius: 0; height: 100%; margin: 0; }
.gate .photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 82%; }
.gate-panel { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.gate-panel h2 { font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -.015em; margin: 8px 0 14px; color: var(--cinza-escuro); text-wrap: balance; }
.gate-lock { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cinza-escuro); color: #fff; }
.gate-lock svg { width: 17px; height: 17px; }
.slide { position: relative; height: 60px; border-radius: 30px; background: var(--cinza-escuro); overflow: hidden; --x: 0px; --f: 0; }
.slide::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--x) + 60px); background: var(--roxo); border-radius: 30px; }
.slide-label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 44px; color: #fff; font-weight: 500; opacity: calc(1 - var(--f) * 1.4); pointer-events: none; }
.slide-knob { position: absolute; left: 4px; top: 4px; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--cinza-escuro); display: grid; place-items: center; transform: translateX(var(--x)); transition: transform .25s ease; touch-action: none; cursor: grab; animation: slide-hint 1.1s 1s ease-in-out 2; }
.slide-knob svg { width: 22px; height: 22px; }
.slide.moving .slide-knob { transition: none; cursor: grabbing; animation: none; }
.slide:not(.moving)::before { transition: width .25s ease; }
@keyframes slide-hint { 50% { transform: translateX(14px); } }

/* oferta do teste grátis */
.trial h2 { font-family: var(--font-titulo); font-weight: 400; font-size: 34px; line-height: 1.05; color: var(--grafite); letter-spacing: .01em; }
.trial p { margin: 8px 0 18px; color: var(--nevoa); font-size: 16px; line-height: 1.4; }

/* scanner: branco, cinza-escuro e luz roxa */
.scanner .stage { max-height: calc(100dvh - 250px - var(--safe-t) - var(--safe-b)); min-height: 240px; width: 100%; }
:root[data-area="scan"] .stage { background: radial-gradient(62% 48% at 50% 47%, #FFFFFF 42%, #F0E7FD 76%, #FFFFFF 100%); box-shadow: 0 0 0 1px #E2E2E5, 0 0 46px -6px rgba(170, 128, 240, .75); }
:root[data-area="scan"] .stage::before { filter: grayscale(1) brightness(.35); opacity: .85; }
:root[data-area="scan"] .stage .oval ellipse:first-child { stroke: #3A3A3D; opacity: .7; }
:root[data-area="scan"] .stage .oval .arc { stroke: #AA80F0; filter: drop-shadow(0 0 7px #AA80F0); }
:root[data-area="scan"] .stage-chip { background: #fff; color: #3A3A3D; box-shadow: 0 0 0 1px #E2E2E5; }
:root[data-area="scan"] .stage-chip.ok { background: #3A3A3D; color: #fff; }
:root[data-area="scan"] .btn { background: #3A3A3D; color: #fff; box-shadow: none; }
:root[data-area="scan"] .btn.soft { background: #fff; color: #3A3A3D; box-shadow: inset 0 0 0 1.5px #3A3A3D; }
:root[data-area="scan"] .back { background: #fff; box-shadow: inset 0 0 0 1.5px #E2E2E5; }
:root[data-area="scan"] .card { box-shadow: 0 0 0 1px #E2E2E5; }
:root[data-area="scan"] .link { color: #3A3A3D; }
:root[data-area="scan"] .privacy svg { color: #3A3A3D; }
:root[data-area="scan"] .readings i::after { background: #AA80F0; }

/* períodos: manhã roxo-claro, tarde rosa forte, noite roxo-escuro */
.seg button[data-p].on { color: #fff; background: var(--p-noite); box-shadow: none; }
.seg button[data-p="manha"].on { background: var(--p-manha); color: #2D2B33; }
.seg button[data-p="manha"].on em { color: #2D2B33; }
.seg button[data-p="tarde"].on { background: var(--p-tarde); }
.seg button[data-p="semanal"].on { background: var(--roxo-forte); }
.glaze-hero { box-shadow: none; }
.glaze-hero[data-p="manha"] { background: #F1E9FD; }
.glaze-hero[data-p="tarde"] { background: #FCE2EF; }
.glaze-hero[data-p="noite"] { background: #E5DFF3; }
.glaze-hero h2 { font-size: 36px; color: var(--grafite); }
.glaze-hero p, .glaze-hero .time, .glaze-hero.done p, .glaze-hero.high p { color: #4A4752; }
.glaze-hero[data-p="manha"] .fill { background: var(--p-manha); }
.glaze-hero[data-p="manha"] .fill svg path { fill: var(--p-manha); }
.glaze-hero[data-p="tarde"] .fill { background: var(--p-tarde); }
.glaze-hero[data-p="tarde"] .fill svg path { fill: var(--p-tarde); }
.glaze-hero[data-p="noite"] .fill { background: var(--p-noite); }
.glaze-hero[data-p="noite"] .fill svg path { fill: var(--p-noite); }
.rt-hero[data-p="manha"] { background: var(--p-manha); color: #2D2B33; }
.rt-hero[data-p="tarde"] { background: var(--p-tarde); color: #fff; }
.rt-hero[data-p="noite"] { background: var(--p-noite); color: #fff; }
.rt-hero[data-p="semanal"] { background: var(--lilas-marca); color: #2D2B33; }
.seq .n { background: var(--roxo-forte); }
.slot[data-p="manha"] { --tinta: #F1E9FD; }
.slot[data-p="tarde"] { --tinta: #FCE2EF; }
.slot[data-p="noite"] { --tinta: #E5DFF3; }
.slot[data-p="repor"] { --cor: var(--cinza-escuro); --tinta: #F0F0F2; }
.alert { background: var(--leite); color: var(--grafite); box-shadow: inset 3px 0 0 var(--roxo); }
.quick a:first-child { background: var(--roxo-forte); box-shadow: none; }

/* fotos de área */
.area-photo { position: relative; height: 150px; margin-top: 12px; border-radius: var(--r-card); overflow: hidden; }
.area-photo .photo-slot { position: absolute; inset: 0; height: 100%; border-radius: 0; margin: 0; }
.area-photo .photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.bt-hero { position: relative; height: 112px; margin-top: 12px; border-radius: var(--r-card); overflow: hidden; }
.bt-hero .photo-slot { position: absolute; inset: 0; height: 100%; border-radius: 0; margin: 0; }
.bt-hero .photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.ev-hero { background: linear-gradient(180deg, #F1E9FD 0%, #E4D6FA 100%); }
.ev-hero .wordmark { color: var(--roxo-forte); }
.ev-hero .area-photo { margin-bottom: 14px; }
.ev-hero .stats div { color: var(--grafite); }
.ev-hero .heat .l1, .heat-key i.l1 { background: var(--lilas-marca); }
.ev-hero .heat .l2, .heat-key i.l2 { background: var(--roxo); }
.ev-hero .heat .l3, .heat-key i.l3 { background: var(--p-noite); }
.heat-key { color: var(--grafite); }
.ev .chip.on { background: var(--cinza-escuro); }

/* barra flutuante com Produtos no centro */
.nav { left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); max-width: 456px; margin: 0 auto; padding: 0; border-radius: 30px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 0 0 1px rgba(45, 43, 51, .07), 0 18px 34px -18px rgba(45, 43, 51, .5); }
.nav-in { height: 66px; padding: 0 4px; }
.nav a { font-size: 11.5px; color: var(--nevoa); min-height: 56px; align-content: center; }
.nav a.on { color: var(--roxo-forte); }
.nav a.on svg { background: none; padding: 0; width: 23px; height: 23px; color: var(--roxo-forte); }
.nav a.center { position: relative; font-weight: 600; color: var(--cinza-escuro); }
.nav a.center svg, .nav a.center.on svg { width: 46px; height: 46px; padding: 11px; margin-top: -24px; border-radius: 50%; background: var(--cinza-escuro); color: #fff; box-shadow: 0 0 0 4px #fff; }
.nav a.center.on svg { background: var(--roxo-forte); }

/* produtos */
.niche { aspect-ratio: 1; border-radius: var(--r-card); background: var(--leite); box-shadow: none; }
.pviews { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 14px; }
.chip.on { background: var(--cinza-escuro); color: #fff; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pimg { display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pfav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--cinza-escuro); display: grid; place-items: center; }
.pfav svg { width: 20px; height: 20px; }
.pfav.on { color: var(--roxo-forte); }
.pfav.on svg { fill: currentColor; }
.pfav.solo { position: static; background: var(--leite); }
.pinfo { flex: 1; margin-top: 9px; }
.pinfo small { display: block; font-size: 12px; color: var(--nevoa); }
.pinfo b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13.5px; font-weight: 500; line-height: 1.28; }
.pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 600; font-size: 14.5px; }
.padd { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--cinza-escuro); color: #fff; display: grid; place-items: center; }
.padd svg { width: 20px; height: 20px; }
.cart-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--leite); display: grid; place-items: center; }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn em { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--roxo-forte); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 19px; text-align: center; }
.product-img { aspect-ratio: 1; border-radius: var(--r-hero); background: #fff; box-shadow: inset 0 0 0 1px var(--linha); margin: 14px 0 0; }
.product-price { font-size: 20px; font-weight: 600; margin-top: 6px; }
.mini img, .mini .ph { aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.btn.buy { letter-spacing: 0; font-size: 15.5px; font-weight: 500; }
.cart-row { align-items: flex-start; }
.cart-img { width: 72px; height: 72px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .x { width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: var(--nevoa); }
.cart-row .x svg { width: 16px; height: 16px; }
.qtd { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.qtd button { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.qtd svg { width: 15px; height: 15px; }
.qtd em { min-width: 24px; text-align: center; font-style: normal; font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 4px; }
.cart-total b { font-size: 22px; font-weight: 600; }

/* agenda: atalhos primeiro, depois mês ou ano */
.ag { padding-top: calc(14px + var(--safe-t)); }
.ag .title { margin-bottom: 14px; }
.ag-tools { margin-top: 0; }
.ag-tools > * { background: var(--leite); border-radius: var(--r-card); box-shadow: none; }
.ag-tools > :first-child { background: var(--roxo-forte); color: #fff; }
.ag-tools > :first-child > span:last-child { color: #EFE7FD; }
.ag-tools > :first-child .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.ag-modo { margin: 14px 0 0; padding: 0; }
.ag-modo button.on { background: var(--cinza-escuro); color: #fff; box-shadow: none; }
.ag-modo button { background: var(--leite); flex: 1; text-align: center; }
.cal { margin-top: 14px; padding: 14px 12px 12px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--linha); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cal-head h2::first-letter { text-transform: uppercase; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--leite); }
.cal-nav svg { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-grid.wd span { text-align: center; font-size: 12px; color: var(--nevoa); padding: 4px 0; }
.cal-grid button { position: relative; aspect-ratio: 1; min-height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 14.5px; text-align: center; font-variant-numeric: tabular-nums; padding-bottom: 5px; }
.cal-grid button.today { box-shadow: inset 0 0 0 1.5px var(--cinza); }
.cal-grid button.on { background: var(--cinza-escuro); color: #fff; }
.cal-grid button.ok::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--roxo-forte); }
.cal-grid button.on.ok::after { background: var(--lilas-marca); }
.cal-key { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 4px; font-size: 13px; color: var(--nevoa); }
.cal-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--roxo-forte); }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-month { display: block; padding: 10px 8px; border-radius: 14px; background: var(--leite); }
.mini-month.today { box-shadow: inset 0 0 0 1.5px var(--roxo); }
.mini-month b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; text-transform: capitalize; }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-grid i { aspect-ratio: 1; border-radius: 50%; background: #E2DDEA; }
.mini-grid i.v { background: none; }
.mini-grid i.ok { background: var(--roxo-forte); }
.ag-dia { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-top: 22px; }
.ag-dia::first-letter { text-transform: uppercase; }
.ag .timeline { margin-top: 8px; }

/* ---------- revisão de encaixe: nada sobreposto, tudo dentro do seu espaço ---------- */
.bv-in h1, .result-hero h1 { font-family: var(--font-titulo); font-weight: 400; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.bv-in h1 { font-size: 46px; }
.result-hero h1 { font-size: 38px; margin-top: 8px; }
.bottom-bar { position: static; background: none; padding: 0 0 calc(8px + var(--safe-b)); margin-top: 22px; }
.week { margin: 0 0 16px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.seg { margin: 14px 0 0; padding: 0; overflow: visible; }
.seg button { flex: 1 1 0; min-width: 0; padding: 10px 6px; text-align: center; white-space: nowrap; font-size: 13.5px; }
.seg button em { margin-left: 4px; }
.glaze-hero { padding: 22px 20px 20px; }
.glaze-hero h2 { font-size: 32px; padding-right: 76px; }
.glaze-hero .time { top: 24px; right: 20px; white-space: nowrap; font-size: 13px; }
.rt-hero { flex-wrap: wrap; }
.rt-hero > div { flex: 1 1 120px; min-width: 0; }
.need { padding: 14px; }
.need .step-art { flex: none; width: 52px; height: 52px; }
.need-prod { display: block; margin-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--grafite); }
.need-btn { display: flex; justify-content: center; text-align: center; margin-top: 8px; padding: 10px 14px; border-radius: 14px; font-size: 14px; }
.tile .need-btn { margin-top: 8px; }
.facts { grid-template-columns: 1fr; gap: 0; margin-top: 16px; padding: 4px 16px; background: var(--leite); border-radius: var(--r-card); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; background: none; border-radius: 0; font-size: 14.5px; text-align: right; }
.facts div + div { border-top: 1px solid var(--linha); }
.facts small { flex: none; margin: 0; font-size: 14px; }
.why { margin-top: 16px; }
.seg.ag-modo { margin: 16px 0 0; padding: 0; }
.toast { bottom: calc(112px + var(--safe-b)); }
.seq-head > div { flex: 1; min-width: 0; }
.seq-del { flex: none; width: 40px; height: 40px; margin: -4px -6px -4px 0; border-radius: 50%; display: grid; place-items: center; color: var(--nevoa); }
.seq-del svg { width: 20px; height: 20px; }
.tirados { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.tirados + .tirados { border-top: 1px solid var(--linha); }
.tirados div { min-width: 0; }
.tirados b { display: block; font-weight: 500; }
.tirados span { font-size: 13px; color: var(--nevoa); }
.tirados .btn { flex: none; }
.ag-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ag-tools > * { padding: 12px 14px; }
.cal { padding: 14px 8px 12px; }
.cal-head { padding: 0 6px; }
.cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-grid button { width: 100%; max-width: 44px; min-height: 0; justify-self: center; font-size: 14px; }
.year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfoot { gap: 6px; font-size: 14px; }
.pfoot span { min-width: 0; white-space: nowrap; }
.pfav.on { color: #E6287E; }
.cart-row .t { min-width: 0; }
.quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav a { min-width: 0; font-size: 11px; }
.rf-top { flex-wrap: wrap; }
.actions .btn { flex: 1 1 auto; }
.hy-top { flex-wrap: wrap; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 340px) {
  .title { font-size: 32px; }
  .op-words { font-size: 58px; }
  .nav a { font-size: 10px; }
  .pfoot { font-size: 13px; }
  .padd { width: 38px; height: 38px; }
}

/* Luz de tela: enquanto a câmera está aberta, o branco em volta do rosto ilumina a pele. */
:root[data-area="scan"] .scanner.luz { background: #fff; }
:root[data-area="scan"] .scanner.luz .stage { width: 72%; margin: 40px auto 24px; box-shadow: 0 0 0 1px #E2E2E5; }
.scan-dica { margin: 12px 4px 4px; text-align: center; font-size: 14px; }