/* maquilhadora, eu: estilos do site.
   Fontes servidas pelo próprio site (Geist e Michroma, licença OFL).
   Ícones: Phosphor (MIT), no sprite do HTML. */

@font-face {
  font-family: "Geist";
  src: url(/fonts/geist-latin-wght-normal.woff2?v=f49f83ef) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Michroma";
  src: url(/fonts/michroma-latin-400-normal.woff2?v=35094eac) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #e9ecef;
  --surface: #f4f6f7;
  --ink: #15181b;
  --ink-2: #50575f;
  --line: #c3c9cf;
  --acc: #b1234a;
  --acc-ink: #fcfcfd;
  --rail: 56px;
  --gutter: 18px;
  --painel: calc(100vw - var(--rail));
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --marca: "Michroma", "Geist", ui-sans-serif, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --z-menu: 30;
  --z-rail: 40;
  --z-progresso: 25;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1012;
    --surface: #15181b;
    --ink: #e7eaed;
    --ink-2: #9ea6ae;
    --line: #2b3036;
    --acc: #e25a7d;
    --acc-ink: #120f10;
  }
}
@media (min-width: 1024px) {
  :root { --rail: 224px; --gutter: 48px; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  timeline-scope: --trilho;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.virgula { color: var(--acc); }
.saltar {
  position: fixed; left: 8px; top: 8px; z-index: 60;
  padding: 10px 14px; background: var(--ink); color: var(--bg);
  transform: translateY(-200%);
}
.saltar:focus { transform: none; }

/* ---------- Barra lateral ---------- */
.lateral {
  grid-column: 1;
  position: relative;
  z-index: var(--z-rail);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marca-sinal {
  flex: none; position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-family: var(--marca); font-size: 16px; line-height: 1;
  padding-right: 6px;
}
.marca-sinal .virgula { position: absolute; right: 6px; bottom: 9px; font-size: 20px; line-height: 1; }
.marca-nome {
  display: none;
  font-family: var(--marca); font-size: 11px; line-height: 1.5;
  letter-spacing: .04em; text-transform: uppercase;
}
.menu-botao { width: 44px; height: 44px; display: grid; place-items: center; }
.lateral-vertical {
  margin-top: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--marca); font-size: 10.5px;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.lateral-rodape { display: none; }

.menu {
  position: fixed;
  inset: 0 0 0 var(--rail);
  z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px var(--gutter) 40px;
  background: var(--surface);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.menu.aberto { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.menu ul { display: grid; gap: 4px; }
.menu a {
  display: block; padding: 8px 0;
  font-size: 30px; font-weight: 560; letter-spacing: -.02em; line-height: 1.15;
  text-decoration: none; color: var(--ink-2);
}
.menu a[aria-current="true"] { color: var(--ink); }
.menu a[aria-current="true"]::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; background: var(--acc); vertical-align: .18em; }
.menu-fechar { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; }

@media (min-width: 1024px) {
  .lateral { align-items: stretch; gap: 0; padding: 28px 0 24px; }
  .marca { padding: 0 24px; }
  .marca-nome { display: block; }
  .menu-botao, .menu-fechar, .lateral-vertical { display: none; }
  .menu {
    position: static; inset: auto; transform: none; visibility: visible; transition: none;
    display: block; padding: 44px 24px 0; background: none;
  }
  .menu a {
    font-size: 15px; font-weight: 520; letter-spacing: 0;
    padding: 9px 0 9px 14px; border-left: 2px solid transparent;
  }
  .menu a:hover { color: var(--ink); }
  .menu a[aria-current="true"] { border-left-color: var(--acc); }
  .menu a[aria-current="true"]::before { content: none; }
  .lateral-rodape { display: block; margin-top: auto; padding: 0 24px; font-size: 12px; color: var(--ink-2); }
}

/* ---------- Trilho horizontal ---------- */
.trilho {
  grid-column: 2;
  height: 100dvh;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-x;
  scroll-timeline: --trilho x;
}
.trilho::-webkit-scrollbar { display: none; }
.painel { flex: 0 0 auto; height: 100%; min-width: 0; outline: 0; }
.painel + .painel { border-left: 1px solid var(--line); }

.progresso {
  position: fixed; left: var(--rail); right: 0; bottom: 0; z-index: var(--z-progresso);
  height: 2px; background: var(--acc);
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none; display: none;
}
@supports (animation-timeline: scroll()) {
  .progresso { display: block; animation: ilerle linear both; animation-timeline: --trilho; }
}
@keyframes ilerle { to { transform: scaleX(1); } }

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 640;
}

/* ---------- Painel 1: rosto ---------- */
.painel-rosto {
  width: var(--painel);
  display: grid;
  grid-template-areas: "texto" "palco" "ficha";
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 18px var(--gutter) 0;
}
.rosto-texto { grid-area: texto; }
h1 {
  font-size: clamp(1.95rem, 1.1rem + 3.4vw, 3.7rem);
  line-height: 1.02; letter-spacing: -.04em; font-weight: 660;
  max-width: 11ch;
}
.lead { margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 38ch; }

.rosto-palco { grid-area: palco; position: relative; min-height: 0; }
.rosto-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; color: var(--ink); }
/* desenho em linha: traço na cor do texto, mechas e rosto preenchidos com a cor do fundo */
.dolgu, .parilti { fill: var(--dolgu, var(--bg)); }
.camadas { color: var(--acc); }
#y-tinta stop { stop-color: var(--acc); }
#rosto-g { transform-box: view-box; transform-origin: 0 0; transition: transform .9s var(--ease); }
.camada { opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.camada.ativa { opacity: 1; }
.cm { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .cm { mix-blend-mode: normal; } }
.alvo { fill: transparent; cursor: pointer; }
.rosto-palco.yakin .alvo { pointer-events: none; }

.rosto-pontos { position: absolute; inset: 0; pointer-events: none; }
.ponto {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center;
  pointer-events: auto;
  opacity: 0; transition: opacity .35s var(--ease);
}
.rosto-pontos.gorunur .ponto { opacity: 1; }
.ponto-isaret {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--acc);
  background: color-mix(in srgb, var(--acc) 22%, transparent);
  transition: background-color .2s, transform .2s var(--ease);
}
.ponto:hover .ponto-isaret, .ponto[aria-pressed="true"] .ponto-isaret { background: var(--acc); transform: scale(1.15); }
.ponto-rotulo {
  position: absolute; white-space: nowrap; pointer-events: none;
  padding: 3px 7px;
  font-size: 11px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase;
  color: #15181b; background: rgb(250 251 252 / .94); border: 1px solid #c3c9cf;
}
.ponto[data-lado="r"] .ponto-rotulo { left: 36px; }
.ponto[data-lado="l"] .ponto-rotulo { right: 36px; }
.ponto[data-lado="t"] .ponto-rotulo { bottom: 38px; }
.ponto[data-lado="b"] .ponto-rotulo { top: 38px; }
.ponto-urun .ponto-rotulo { display: none; }
.rosto-palco.dar .ponto-zona .ponto-rotulo { display: none; }
.ponto-urun:hover .ponto-rotulo, .ponto-urun[aria-pressed="true"] .ponto-rotulo { display: block; }

.rosto-geri {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 10px;
  font-size: 14px; font-weight: 560;
  background: var(--surface); border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.rosto-palco.yakin .rosto-geri { opacity: 1; pointer-events: auto; }

.ficha {
  grid-area: ficha;
  height: 204px;
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.ficha-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ficha-titulo { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.ficha-voltar {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin: -10px 0;
  font-size: 13px; font-weight: 560; color: var(--ink-2);
}
.ficha-voltar .ic { width: 16px; height: 16px; }
.ficha-texto { font-size: 14.5px; color: var(--ink-2); max-width: 46ch; }
.ficha[data-estado="zona"] .ficha-texto { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center;
  font-size: 13.5px; font-weight: 560;
  background: var(--surface); border: 1px solid var(--line);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.temas { display: grid; gap: 3px; font-size: 13.5px; }
.temas-titulo { font-size: 12px; font-weight: 620; letter-spacing: .07em; text-transform: uppercase; color: var(--acc); }
.temas li { position: relative; padding-left: 14px; }
.temas li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--ink-2); }
.ficha .chips-irmaos { display: none; }

@media (max-width: 767px) and (max-height: 720px) {
  h1 { font-size: 1.7rem; }
  .lead { font-size: 14px; margin-top: 6px; }
  .ficha { height: 196px; gap: 6px; padding-top: 12px; }
  .chip { min-height: 36px; }
  .ficha-texto { font-size: 13.5px; line-height: 1.4; }
  .temas { font-size: 13px; gap: 1px; }
  .temas li:nth-child(n+3) { display: none; }
}
@media (min-width: 1024px) {
  .painel-rosto {
    grid-template-areas: "texto palco" "ficha palco";
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 40px;
    padding: 56px var(--gutter) 40px;
  }
  .lead { font-size: 17px; margin-top: 18px; }
  .ficha { height: auto; align-self: start; margin-top: 32px; padding-top: 22px; gap: 12px; }
  .ficha-titulo { font-size: 26px; }
  .ficha-texto { font-size: 16px; }
  .ficha[data-estado="zona"] .ficha-texto { display: block; }
  .ficha .chips-irmaos { display: flex; margin-top: 8px; }
  .temas { font-size: 15px; }
}

/* ---------- Painel 2: mapa ---------- */
.painel-mapa { display: flex; }
.mapa-cabeca, .zona {
  flex: 0 0 var(--painel);
  height: 100%;
  display: flex; flex-direction: column;
  padding: 26px var(--gutter);
}
.mapa-cabeca { gap: 12px; }
.mapa-cabeca h2 { max-width: 9ch; }
.mapa-cabeca p { color: var(--ink-2); max-width: 30ch; }
.mapa-indice { margin-top: auto; display: grid; }
.mapa-indice a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 19px; font-weight: 600; letter-spacing: -.015em; text-decoration: none;
}
.mapa-indice span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.mapa-indice a:hover { color: var(--acc); }
.zona + .zona, .mapa-cabeca + .zona { border-left: 1px solid var(--line); }
.zona { gap: 10px; }
.zona-recorte {
  width: 100%; height: 96px; flex: none;
  color: var(--ink); --dolgu: var(--surface);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 8px;
}
.zona h3 { font-family: var(--marca); font-size: 15px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.zona-resumo { font-size: 14px; color: var(--ink-2); }
.zona ul { display: grid; gap: 14px; margin-top: 10px; }
.produto { display: grid; gap: 2px; width: 100%; }
.produto-nome { font-size: 17px; font-weight: 620; letter-spacing: -.01em; }
.produto-def { font-size: 14px; color: var(--ink-2); line-height: 1.42; }
button.produto:hover .produto-nome { color: var(--acc); }
@media (max-width: 767px) and (max-height: 720px) {
  .mapa-cabeca, .zona { padding-top: 18px; padding-bottom: 16px; }
  .zona-recorte { height: 64px; margin-bottom: 2px; }
  .zona ul { gap: 9px; margin-top: 4px; }
  .produto-nome { font-size: 16px; }
  .produto-def { font-size: 13px; line-height: 1.36; }
  .mapa-indice a { min-height: 46px; padding: 9px 0; font-size: 17px; }
}
@media (max-width: 767px) and (max-height: 600px) {
  .zona-recorte, .zona-resumo { display: none; }
  .temas li:nth-child(n+2) { display: none; }
  .cel { padding: 8px 12px; gap: 2px; }
  .cel h3 { font-size: 16px; }
  .cel p { display: none; }
  .seccoes-nota { margin-bottom: 6px; }
}
@media (min-width: 1024px) {
  .mapa-cabeca { flex-basis: 400px; padding: 56px 48px 48px; }
  .zona { flex-basis: 320px; padding: 120px 32px 48px; }
  .zona-recorte { height: 120px; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .zona { padding-top: 40px; padding-bottom: 32px; }
  .zona-recorte { height: 88px; }
  .zona ul { gap: 10px; }
}

/* ---------- Painel 3: secções ---------- */
.painel-seccoes {
  width: var(--painel);
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px var(--gutter) 22px;
}
.seccoes-nota { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.bento { flex: 1; min-height: 0; display: grid; grid-auto-rows: 1fr; gap: 8px; }
.cel {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 0; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.cel h3 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
.cel p { font-size: 14px; color: var(--ink-2); max-width: 40ch; }
.cel-melhores { background: var(--ink); color: var(--bg); border-color: var(--ink); justify-content: space-between; }
.cel-melhores p { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
.exemplos { display: none; }
.cel-lowcost { background: var(--bg); }
.cel-kbeauty { background: color-mix(in srgb, var(--acc) 13%, var(--surface)); border-color: color-mix(in srgb, var(--acc) 30%, var(--line)); }
.cel-novidades { background-image: radial-gradient(var(--line) 1px, transparent 1.3px); background-size: 12px 12px; }
@media (min-width: 1024px) {
  .painel-seccoes { width: min(1120px, var(--painel)); padding: 56px 48px 48px; gap: 10px; }
  .seccoes-nota { font-size: 16px; margin-bottom: 20px; }
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .cel { padding: 24px; gap: 6px; }
  .cel h3 { font-size: 24px; }
  .cel p { font-size: 15px; }
  .cel-melhores { grid-row: 1 / 3; }
  .exemplos {
    display: grid; gap: 6px; margin-bottom: auto;
    font-family: var(--marca); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
  }
  .exemplos li { color: color-mix(in srgb, var(--bg) 88%, var(--ink)); }
}

/* ---------- Painel 4: como trabalhamos ---------- */
.painel-como {
  width: var(--painel);
  display: flex; flex-direction: column; gap: 22px;
  padding: 26px var(--gutter) 22px;
}
.principios { display: grid; gap: 18px; }
.principios li {
  max-width: 24ch; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, .95rem + 1.1vw, 1.75rem); line-height: 1.24; letter-spacing: -.02em; font-weight: 560;
}
.rodape { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); }
.botao {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px 0 14px;
  background: var(--acc); color: var(--acc-ink);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease);
}
.botao:active { transform: translateY(1px); }
@media (min-width: 1024px) {
  .painel-como { width: 820px; padding: 56px 56px 44px; gap: 32px; }
  .principios { gap: 26px; }
}

/* ---------- Página 404 ---------- */
.unica {
  grid-column: 2; height: 100dvh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  padding: var(--gutter);
}
.unica p { color: var(--ink-2); max-width: 36ch; }

/* ---------- Movimento ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .38s var(--ease) both vt-sai; }
::view-transition-new(root) { animation: .38s var(--ease) both vt-entra; }
@keyframes vt-sai { to { opacity: 0; transform: translateX(-8%); } }
@keyframes vt-entra { from { opacity: 0; transform: translateX(8%); } }

@media (prefers-reduced-motion: no-preference) {
  .rosto-svg { animation: aparece 1.1s var(--ease) both; }
  .rosto-texto { animation: sobe .8s var(--ease) both; }
  .ponto-zona .ponto-isaret { animation: pulso 2.8s var(--ease) infinite; }
}
@keyframes aparece { from { opacity: 0; transform: scale(.97); } }
@keyframes sobe { from { opacity: 0; transform: translateY(12px); } }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 12px transparent; }
}
@media (prefers-reduced-motion: reduce) {
  #rosto-g, .camada, .menu, .ponto { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
