/* Ana Vitú · Folha · Mancha
   Base saturada (o laranja-âmbar da folha de cróton), as manchas verde-escuras viram máscaras:
   as fotos aparecem recortadas em manchas que crescem e mudam de forma ao rolar. */

:root {
  --base: #F6A313;        /* açafrão da folha */
  --amarelo: #FDC705;
  --verde: #163A04;       /* a mancha */
  --tinta: #10290A;       /* 7.6:1 no açafrão, 9.9:1 no amarelo */
  --suave: #5A2E0C;       /* ferrugem escura, 5.5:1 no açafrão */
  --creme: #F2E4C0;       /* 10:1 no verde */
  --ferrugem: #8A4A1A;    /* só nas pintas */

  --f-titulo: 'Fraunces', Georgia, serif;
  --f-texto: 'Jost', system-ui, sans-serif;
  --ls-titulo: -0.02em;

  --margem: 20px;
  --topo-h: 100px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --recorte: 3px 22px 4px 26px / 24px 4px 26px 3px; /* canto cortado à mão */
}
@media (min-width: 900px) {
  :root { --margem: clamp(28px, 3.2vw, 64px); --topo-h: 80px; }
}

/* Opções de letra dos títulos (o texto corrido fica sempre em Jost).
   As letras de um peso só não ganham negrito nem itálico falso (font-synthesis: none). */
html[data-fonte="bricolage"] { --f-titulo: 'Bricolage Grotesque', system-ui, sans-serif; --ls-titulo: -0.035em; }
html[data-fonte="syne"] { --f-titulo: 'Syne', system-ui, sans-serif; --ls-titulo: -0.03em; }
html[data-fonte="epilogue"] { --f-titulo: 'Epilogue', system-ui, sans-serif; --ls-titulo: -0.02em; }
html[data-fonte="anybody"] { --f-titulo: 'Anybody', system-ui, sans-serif; --ls-titulo: -0.025em; font-stretch: 120%; }
html[data-fonte="funnel"] { --f-titulo: 'Funnel Display', system-ui, sans-serif; --ls-titulo: -0.02em; }
html[data-fonte="archivo"] { --f-titulo: 'Archivo', system-ui, sans-serif; --ls-titulo: -0.025em; font-stretch: 125%; }
html[data-fonte="unbounded"] { --f-titulo: 'Unbounded', system-ui, sans-serif; --ls-titulo: -0.03em; }
html[data-fonte="parkinsans"] { --f-titulo: 'Parkinsans', system-ui, sans-serif; --ls-titulo: -0.02em; }
html[data-fonte="hubot"] { --f-titulo: 'Hubot Sans', system-ui, sans-serif; --ls-titulo: -0.025em; font-stretch: 112%; }
html[data-fonte="gabarito"] { --f-titulo: 'Gabarito', system-ui, sans-serif; --ls-titulo: -0.02em; }
* { font-synthesis: none; }

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--base);
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
html.travado { overflow: hidden; }

body {
  margin: 0;
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.1875rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* as pintas cor de ferrugem da folha */
  background-color: var(--base);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460'%3E%3Cg fill='%238A4A1A' fill-opacity='.42'%3E%3Cellipse cx='38' cy='61' rx='4' ry='2.6' transform='rotate(-30 38 61)'/%3E%3Cellipse cx='47' cy='66' rx='1.6' ry='1.2'/%3E%3Cellipse cx='171' cy='22' rx='2.8' ry='2'/%3E%3Cellipse cx='263' cy='118' rx='5' ry='3' transform='rotate(20 263 118)'/%3E%3Cellipse cx='272' cy='109' rx='1.8' ry='1.4'/%3E%3Cellipse cx='402' cy='73' rx='2.2' ry='1.8'/%3E%3Cellipse cx='118' cy='212' rx='3.4' ry='2.2' transform='rotate(50 118 212)'/%3E%3Cellipse cx='350' cy='247' rx='2.4' ry='2'/%3E%3Cellipse cx='357' cy='254' rx='1.4' ry='1.1'/%3E%3Cellipse cx='213' cy='331' rx='4.2' ry='2.4' transform='rotate(-12 213 331)'/%3E%3Cellipse cx='61' cy='398' rx='2' ry='1.6'/%3E%3Cellipse cx='428' cy='402' rx='3.2' ry='2.4' transform='rotate(35 428 402)'/%3E%3Cellipse cx='300' cy='440' rx='1.6' ry='1.3'/%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 900px) { body { font-size: 1.3125rem; } }

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: var(--ls-titulo);
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: var(--verde); color: var(--amarelo); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pular { position: absolute; left: 12px; top: -100px; z-index: 90; background: var(--verde); color: var(--amarelo); padding: 12px 16px; }
.pular:focus { top: 12px; }

/* ---------- Manchas ---------- */
.mancha {
  display: block;
  overflow: hidden;
  clip-path: url(#mancha-base);
  background: var(--verde);
}
.mancha img { width: 100%; height: 100%; object-fit: cover; }
.deco { position: absolute; pointer-events: none; overflow: visible; }
.deco path { fill: var(--verde); fill-rule: evenodd; }

/* ---------- Botões e links ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--verde);
  color: var(--amarelo);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  border-radius: var(--recorte);
  transition: border-radius 0.6s var(--ease), background-color 0.3s, color 0.3s;
}
.botao:hover { border-radius: 26px 3px 22px 4px / 3px 26px 4px 24px; background: var(--tinta); }
.botao--claro { background: var(--amarelo); color: var(--verde); }
.botao--claro:hover { background: var(--creme); color: var(--verde); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-underline-offset 0.3s var(--ease);
}
.link:hover { text-underline-offset: 3px; }

/* ---------- Topo ---------- */
.topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "marca whats" "menu menu";
  align-items: center;
  padding: 0 var(--margem);
  background: var(--base);
  transition: transform 0.5s var(--ease);
}
.topo--oculto { transform: translateY(-101%); }
.marca {
  grid-area: marca;
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.topo__whats {
  grid-area: whats;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--verde);
  color: var(--amarelo);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--recorte);
}
.menu { grid-area: menu; margin: 0 -10px; }
.menu ul { display: flex; }
.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}
.menu a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 380px) { .menu a { padding: 0 7px; font-size: 0.875rem; } }

@media (min-width: 900px) {
  .topo {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "marca menu whats";
    column-gap: 32px;
    height: var(--topo-h);
  }
  .marca { font-size: 1.8rem; }
  .menu { justify-self: end; margin: 0; }
  .menu a { padding: 0 14px; font-size: 1rem; }
}

/* ---------- Abertura ---------- */
.abertura {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: calc(var(--topo-h) + 8px) var(--margem) 76px;
}
.abertura__fotos {
  order: 1;
  position: relative;
  z-index: 2;
  aspect-ratio: 1 / 1.22;
  pointer-events: none;
}
.abertura__foto { position: absolute; inset: 0 6% 3% -4%; }
.abertura__detalhe { position: absolute; right: -4%; bottom: 14%; width: 44%; aspect-ratio: 3 / 4; }
.deco--abertura { left: -14%; bottom: -12%; width: 82%; height: 64%; z-index: -1; }
.abertura__nome {
  order: 2;
  position: relative;
  z-index: 1;
  margin-top: -5vw;
  font-size: 21.5vw;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.abertura__texto { order: 3; margin-top: 18px; }
.abertura__texto p:first-child { max-width: 30ch; font-size: 1.1875rem; line-height: 1.45; }
.abertura__texto .botao { margin-top: 18px; }
.aviso { margin-top: 14px; font-size: 0.8125rem; line-height: 1.45; color: var(--suave); }

@media (min-width: 900px) {
  .abertura {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr auto;
    column-gap: 1.6vw;
    min-height: 100svh;
    padding: calc(var(--topo-h) + 1vh) var(--margem) 2.2vh;
  }
  .abertura__fotos {
    grid-column: 3 / 13;
    grid-row: 1;
    aspect-ratio: auto;
    height: calc(100svh - var(--topo-h) - 17.5vw);
    min-height: 400px;
    max-height: 980px;
  }
  .abertura__foto { inset: 0 26% 0 4%; }
  .abertura__detalhe { right: 2%; bottom: 10%; width: 30%; }
  .deco--abertura { left: -6%; bottom: -10%; width: 64%; height: 70%; }
  .abertura__nome {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: -5.4vw;
    font-size: 25.6vw;
    line-height: 0.76;
  }
  .abertura__texto { grid-column: 1 / 4; grid-row: 1; align-self: end; margin: 0 0 6.4vw; }
  .abertura__texto p:first-child { font-size: clamp(1.2rem, 1.45vw, 1.6rem); }
}

/* ---------- Cabeça de seção ---------- */
.cabeca h2 { font-size: clamp(3.8rem, 18vw, 7rem); font-weight: 800; }
.cabeca p { margin-top: 14px; max-width: 32ch; }
@media (min-width: 900px) {
  .cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
  .cabeca h2 { font-size: clamp(6rem, 11vw, 13rem); }
  .cabeca p { margin: 0 0 1.4vw; font-size: clamp(1.15rem, 1.4vw, 1.5rem); max-width: 26ch; }
}

/* ---------- Peças ---------- */
.pecas { padding: 110px var(--margem) 0; }
.pecas__grade { display: grid; gap: 84px; margin-top: 44px; }
.look { position: relative; }
.look__fotos { position: relative; }
.look__foto { display: block; width: 100%; }
.look__foto .mancha { aspect-ratio: 4 / 5; }
.look__foto img { transition: transform 1.2s var(--ease); }
.look__foto:hover img { transform: scale(1.04); }
.look__detalhe { position: absolute; right: -2%; bottom: -8%; width: 46%; aspect-ratio: 1; z-index: 2; }
.look:nth-child(even) .look__foto { margin-left: auto; }
.look:nth-child(even) .look__detalhe { right: auto; left: 0; }

.look__info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 26px;
}
.look__num {
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 300;
  font-size: 4.4rem;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--verde);
}
.look__nome { font-size: 1.9rem; line-height: 1.02; }
.look__preco { margin-top: 10px; font-size: 1.1875rem; font-weight: 500; }
.look__ficha { font-size: 1rem; color: var(--suave); }
.look__info .link { margin-top: 4px; }

@media (min-width: 900px) {
  .pecas { padding: 150px var(--margem) 0; }
  .pecas__grade {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.4vw;
    row-gap: 4vw;
    margin-top: 40px;
    padding-bottom: 12vw;
  }
  .look:nth-child(even) { transform: translateY(12vw); }
  .look__foto { width: 100%; }
  .look__detalhe { width: 40%; bottom: -5%; }
  .look__info { margin-top: 34px; gap: 22px; padding-left: 3%; }
  .look:nth-child(even) .look__info { padding: 0 0 0 17%; }
  .look__num { font-size: clamp(4.6rem, 7vw, 8.4rem); }
  .look__nome { font-size: clamp(2rem, 2.5vw, 3rem); }
  .look__preco { font-size: 1.3rem; }
}

/* ---------- Citação: a mancha verde que toma a tela ---------- */
.citacao { margin-top: 110px; }
.citacao__mancha {
  position: relative;
  display: grid;
  gap: 34px;
  justify-items: center;
  padding: 120px var(--margem) 130px;
  background: var(--verde);
  color: var(--creme);
}
.citacao__foto { width: 92%; aspect-ratio: 1; }
.citacao__foto img { mix-blend-mode: lighten; }
.citacao__texto { max-width: 34rem; }
.citacao__texto p {
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 9.4vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--amarelo);
  text-wrap: balance;
}
.citacao__texto footer { margin-top: 22px; font-size: 1rem; font-weight: 500; }
.citacao__texto footer::before { content: "— "; }

@media (min-width: 900px) {
  .citacao { margin-top: 130px; }
  .citacao__mancha {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 5vw;
    min-height: 100svh;
    padding: 14vh calc(var(--margem) + 4vw);
  }
  .citacao__foto { width: min(100%, 44vw); justify-self: end; }
  .citacao__texto { max-width: none; justify-self: start; }
  .citacao__texto p { font-size: clamp(2.8rem, 4.5vw, 5.6rem); max-width: 15ch; }
  .citacao__texto footer { font-size: 1.125rem; }
}

/* ---------- Sob medida ---------- */
.processo { padding: 110px 0 96px; background: var(--amarelo); }
.processo .cabeca { padding: 0 var(--margem); }
.etapas {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 16px;
  margin-top: 40px;
  padding: 0 var(--margem) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margem);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.etapas::-webkit-scrollbar { display: none; }
.etapa { scroll-snap-align: start; position: relative; }
.etapa__foto { aspect-ratio: 3 / 4; }
.etapa__num {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: -0.55em;
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: var(--verde);
}
.etapa h3 { margin-top: 4px; font-size: 1.7rem; line-height: 1.02; }
.etapa p { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--tinta); }
.processo__fim { margin-top: 44px; padding: 0 var(--margem); }
.processo__fim p { max-width: 32ch; }
.processo__fim .botao { margin-top: 18px; }

@media (min-width: 900px) {
  .processo { padding: 150px 0 130px; }
  .etapas {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 4vw 3.4vw;
    padding: 0 var(--margem);
    margin-top: 64px;
    overflow: visible;
  }
  .etapa:nth-child(even) { margin-top: 12vw; }
  .etapa:nth-child(odd):not(:first-child) { margin-top: -8vw; }
  .etapa__foto { aspect-ratio: 4 / 5; }
  .etapa__num { font-size: clamp(5rem, 7vw, 8rem); }
  .etapa h3 { font-size: clamp(1.7rem, 2.1vw, 2.4rem); }
  .etapa p { font-size: 1.1875rem; max-width: 34ch; }
  .processo__fim { display: flex; align-items: center; justify-content: flex-end; gap: 40px; margin-top: 56px; }
  .processo__fim p { text-align: right; }
  .processo__fim .botao { margin: 0; }
}

/* ---------- Sobre mim ---------- */
.atelie { padding: 120px var(--margem) 0; }
.atelie__fotos { position: relative; }
.atelie__foto { width: 94%; aspect-ratio: 3 / 4; }
.atelie__detalhe { position: absolute; right: -3%; bottom: -9%; width: 48%; aspect-ratio: 3 / 4; }
.atelie__texto { margin-top: 64px; }
.atelie__texto h2 { font-size: clamp(3.6rem, 17vw, 6.5rem); font-weight: 800; }
.atelie__texto p { margin-top: 16px; max-width: 34ch; }
.atelie__texto h2 + p { margin-top: 22px; }
.dados { margin-top: 30px; max-width: 36rem; }
.dados div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 2px solid var(--verde); font-size: 1rem; }
.dados dt { font-weight: 600; }

@media (min-width: 900px) {
  .atelie {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.6vw;
    align-items: center;
    padding: 160px var(--margem) 0;
  }
  .atelie__fotos { grid-column: 1 / 8; }
  .atelie__foto { width: 86%; }
  .atelie__texto { grid-column: 8 / 13; margin: 0; padding-left: 1vw; }
  .atelie__texto h2 { font-size: clamp(5rem, 8vw, 9.5rem); }
  .atelie__texto p { font-size: 1.25rem; }
}

/* ---------- Contato ---------- */
.contato {
  position: relative;
  overflow: hidden;
  margin-top: 140px;
  padding: 110px var(--margem) 84px;
  background: var(--verde);
  color: var(--creme);
}
.deco--contato { right: -30%; top: -8%; width: 110%; height: 52%; }
.deco--contato path { fill: #2A4A07; }
.contato h2 {
  position: relative;
  font-size: clamp(3.8rem, 19vw, 7rem);
  font-weight: 800;
  color: var(--amarelo);
}
.canais { position: relative; margin-top: 40px; }
.canal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 14px 0;
  border-top: 2px solid rgb(242 228 192 / 0.3);
}
.canal__nome {
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-size: 2rem;
  line-height: 1.1;
  transition: color 0.3s;
}
.canal--principal .canal__nome { font-size: 2.7rem; color: var(--amarelo); }
.canal:hover .canal__nome { color: var(--base); }
.canal__dado { font-size: 1rem; }
.contato__onde { position: relative; margin-top: 26px; max-width: 32ch; }
.rodape {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 70px;
  padding-top: 18px;
  border-top: 2px solid rgb(242 228 192 / 0.3);
  font-size: 0.9375rem;
}
.contato :focus-visible { outline-color: var(--amarelo); }

@media (min-width: 900px) {
  .contato {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.6vw;
    align-items: start;
    margin-top: 180px;
    padding: 150px var(--margem) 64px;
  }
  .deco--contato { right: -12%; top: -24%; width: 58%; height: 90%; }
  .contato h2 { grid-column: 1 / 7; font-size: clamp(5.5rem, 10vw, 12rem); }
  .canais { grid-column: 7 / 13; margin-top: 12px; }
  .contato__onde { grid-column: 7 / 13; }
  .canal__nome { font-size: 2.6rem; }
  .canal--principal .canal__nome { font-size: clamp(3rem, 4vw, 4.4rem); }
  .rodape { grid-column: 1 / -1; margin-top: 110px; }
}

/* ---------- Link de volta (demonstração) ---------- */
.versoes {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--verde);
  color: var(--creme);
  border-radius: 2px 12px 3px 14px / 12px 3px 14px 2px;
  font-size: 0.8125rem;
}
.versoes__nome { color: var(--amarelo); font-weight: 500; }
html.travado .versoes { display: none; }

/* ---------- Visualizador ---------- */
.visor {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--base);
  color: var(--tinta);
}
.visor::backdrop { background: rgb(16 41 10 / 0.35); }
.visor[open] { display: flex; flex-direction: column; }
.visor__barra {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 var(--margem);
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 700;
  font-size: 1.3rem;
}
.visor__barra .link { font-family: var(--f-texto); font-weight: 500; font-size: 1.0625rem; }
.visor__corpo {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
}
.visor__fotos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 12px;
  padding: 6px var(--margem) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margem);
  scrollbar-width: none;
  cursor: grab;
}
.visor__fotos::-webkit-scrollbar { display: none; }
.visor__fotos.arrastando { scroll-snap-type: none; cursor: grabbing; }
.visor__foto { aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden; border-radius: 30px 6px 36px 8px / 8px 34px 6px 30px; background: var(--verde); }
.visor__foto img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.visor__info { padding: 30px var(--margem) 48px; background: var(--verde); color: var(--creme); }
.visor__num {
  font-family: var(--f-titulo);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 300;
  font-size: 3.6rem;
  line-height: 0.85;
  color: var(--amarelo);
}
.visor__nome { margin-top: 8px; font-size: 2.3rem; line-height: 1; color: var(--creme); }
.visor__preco { margin-top: 10px; font-size: 1.3rem; font-weight: 500; }
.visor__texto { margin: 18px 0 26px; }
.visor__texto > p { max-width: 46ch; font-size: 1rem; }
.ficha { margin-top: 18px; font-size: 0.9375rem; }
.ficha div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgb(242 228 192 / 0.28); }
.ficha dt { color: var(--amarelo); font-weight: 500; }
.visor__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.visor__nota { margin-top: 18px; font-size: 0.9375rem; }
.visor__info :focus-visible { outline-color: var(--amarelo); }

@media (min-width: 900px) {
  .visor__corpo {
    grid-template-columns: minmax(0, 1fr) 29rem;
    grid-auto-rows: auto;
    align-content: stretch;
    overflow: hidden;
  }
  .visor__fotos {
    grid-auto-columns: calc((100dvh - 60px - 40px) * 4 / 5);
    gap: 16px;
    padding: 8px var(--margem) 32px;
  }
  .visor__foto { aspect-ratio: auto; height: 100%; }
  .visor__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 40px 44px;
    overflow-y: auto;
    border-radius: 60px 0 0 0;
  }
}

/* ---------- Antes da entrada (só com JS e movimento) ---------- */
html.pre [data-entra],
html.pre .abertura__fotos { opacity: 0; }

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

/* ---------- Foto junto do título das peças ---------- */
.cabeca--com-foto { position: relative; }
.cabeca__foto { position: absolute; right: -2%; top: -96px; width: 40%; aspect-ratio: 1; }
@media (min-width: 900px) {
  .cabeca--com-foto { align-items: center; }
  .cabeca__foto { position: static; flex: none; width: clamp(180px, 19vw, 360px); margin-right: auto; margin-left: 2vw; }
}

/* ---------- Mural do ateliê: mais fotos, de tamanhos diferentes ---------- */
.mural { padding: 140px var(--margem) 0; }
.mural__grade {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 40px;
}
.mural__item { aspect-ratio: 3 / 4; }
.mural__item--1 { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
.mural__item--2 { grid-column: 1 / 4; }
.mural__item--3 { grid-column: 4 / 7; margin-top: 16vw; }
.mural__item--4 { grid-column: 1 / 5; aspect-ratio: 1; margin-top: -6vw; }
.mural__item--5 { grid-column: 4 / 7; margin-top: 10vw; z-index: 2; }
@media (min-width: 900px) {
  .mural { padding-top: 180px; }
  .mural__grade {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.6vw;
    row-gap: 0;
    margin-top: 56px;
    align-items: start;
  }
  .mural__item--1 { grid-column: 1 / 6; grid-row: 1 / 3; }
  .mural__item--2 { grid-column: 6 / 9; grid-row: 1; margin-top: 6vw; }
  .mural__item--3 { grid-column: 9 / 13; grid-row: 1; margin-top: 0; aspect-ratio: 4 / 5; }
  .mural__item--4 { grid-column: 6 / 10; grid-row: 2; margin-top: 2vw; }
  .mural__item--5 { grid-column: 10 / 13; grid-row: 2; margin-top: 8vw; }
}

/* ---------- Seletor de letra (demonstração) ---------- */
.letras { position: fixed; right: 8px; bottom: 8px; z-index: 41; }
.letras summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  list-style: none;
  cursor: pointer;
  background: var(--amarelo);
  color: var(--verde);
  border: 2px solid var(--verde);
  border-radius: 12px 2px 14px 3px / 2px 12px 3px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.letras summary::-webkit-details-marker { display: none; }
.letras[open] summary { background: var(--verde); color: var(--amarelo); }
.letras__lista {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  width: max-content;
  min-width: 220px;
  padding: 6px;
  background: var(--creme);
  border: 2px solid var(--verde);
  border-radius: 18px 4px 20px 4px / 4px 18px 4px 20px;
}
.letras__lista button {
  min-height: 52px;
  padding: 4px 14px;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--verde);
  border-radius: 10px 2px 12px 2px;
}
.letras__lista button:hover { background: rgb(22 58 4 / 0.08); }
.letras__lista button[aria-pressed="true"] { background: var(--verde); color: var(--amarelo); }
html.travado .letras { display: none; }

/* ---------- Manchas verdes atrás das fotos (como a da abertura) ---------- */
.look__fotos, .atelie__fotos, .mural__grade { position: relative; isolation: isolate; }
.deco--look { z-index: -1; left: -14%; bottom: -12%; width: 86%; height: 46%; }
.look:nth-child(even) .deco--look { left: auto; right: -14%; }
.deco--atelie { z-index: -1; left: -16%; bottom: 2%; width: 96%; height: 52%; }
.deco--mural-a { z-index: -1; left: -14%; top: 6%; width: 90%; height: 24%; }
.deco--mural-b { z-index: -1; right: -14%; bottom: 4%; width: 84%; height: 22%; }
@media (min-width: 900px) {
  .deco--look { left: -9%; bottom: -14%; width: 72%; height: 50%; }
  .look:nth-child(even) .deco--look { right: -9%; }
  .deco--atelie { left: -8%; bottom: -8%; width: 74%; height: 62%; }
  .deco--mural-a { left: -5%; top: 26%; width: 52%; height: 48%; }
  .deco--mural-b { right: -5%; bottom: -8%; width: 48%; height: 42%; }
}
/* as manchas de fundo podem sair pela lateral, mas sem alargar a página no celular */
.pecas, .mural, .atelie, .processo { overflow-x: clip; }

/* ---------- Cartões das peças (sem número) ---------- */
.look__info { display: block; }
.look__foto { position: relative; }
.look__nome a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.selo-vendida {
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 6%;
  padding: 8px 14px;
  background: var(--verde);
  color: var(--amarelo);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--recorte);
}

/* ---------- Página de cada peça ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }

.peca { padding: calc(var(--topo-h) + 10px) var(--margem) 0; overflow-x: clip; }
.peca__voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.peca__corpo { display: grid; gap: 40px; margin-top: 8px; }
.peca__galeria { position: relative; isolation: isolate; display: grid; gap: 18px; }
.peca__foto { aspect-ratio: 4 / 5; }
.peca__foto:nth-of-type(2) { width: 88%; margin-left: auto; }
.peca__foto--detalhe { aspect-ratio: 1; width: 78%; }
.deco--peca { z-index: -1; top: var(--topo); left: -18%; width: 94%; height: 30%; }
.deco--peca:nth-of-type(2) { left: auto; right: -18%; }
.selo-vendida--grande { top: 2%; padding: 10px 18px; font-size: 1.1rem; }

.peca__nome { font-size: clamp(2.6rem, 12vw, 4.6rem); font-weight: 800; }
.peca__preco { margin-top: 14px; font-size: 1.6rem; font-weight: 600; }
.peca__desc { margin-top: 18px; max-width: 46ch; }
.peca__info .ficha { margin-top: 24px; font-size: 1rem; }
.peca__info .ficha div { border-top: 2px solid rgb(22 58 4 / 0.28); }
.peca__info .ficha dt { color: var(--verde); font-weight: 600; }
.peca__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.peca__nota { margin-top: 16px; font-size: 1rem; color: var(--suave); }
.peca__info .aviso { margin-top: 18px; }

/* outras peças: cartões menores */
.peca__outras { padding: 120px var(--margem) 0; overflow-x: clip; }
.pecas__grade--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; padding-bottom: 0; }
.pecas__grade--mini .look:nth-child(even) { transform: none; }
.pecas__grade--mini .look:nth-child(even) .look__foto { margin-left: 0; }
.pecas__grade--mini .look__info,
.pecas__grade--mini .look:nth-child(even) .look__info { margin-top: 12px; padding: 0; }
.pecas__grade--mini .look__nome { font-size: 1.25rem; }
.pecas__grade--mini .look__preco { margin-top: 4px; font-size: 1rem; }
.pecas__grade--mini .look__ficha { font-size: 0.875rem; }
.pecas__grade--mini .selo-vendida { padding: 6px 10px; font-size: 0.8125rem; }

@media (min-width: 900px) {
  .peca { padding-top: calc(var(--topo-h) + 16px); }
  .peca__corpo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 5vw; align-items: start; }
  .peca__galeria { gap: 3vw; }
  .peca__info { position: sticky; top: calc(var(--topo-h) + 30px); }
  .peca__nome { font-size: clamp(3.2rem, 5.2vw, 6.2rem); }
  .peca__outras { padding-top: 160px; }
  .pecas__grade--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.4vw; row-gap: 40px; padding-bottom: 0; }
}

/* ---------- Enfeites (manchas, flores, linha, alfinete...) ---------- */
.enfeites { position: absolute; inset: 0; pointer-events: none; }
.enfeites--atras { z-index: -1; }
.enfeites--frente { z-index: 6; }
.enfeite { position: absolute; pointer-events: none; }
.enfeite svg { display: block; width: 100%; height: auto; overflow: visible; }
.enfeite__girar, .enfeite__tamanho { display: none; }

/* ---------- Modo Enfeitar (começo do editor) ---------- */
.editor [hidden] { display: none !important; }
html.enfeitando main { pointer-events: none; }
html.enfeitando .enfeite { pointer-events: auto; cursor: grab; touch-action: none; }
html.enfeitando .enfeite:hover { outline: 2px dashed rgb(22 58 4 / 0.5); outline-offset: 4px; }
html.enfeitando .enfeite--selecionado { outline: 2px dashed var(--verde); outline-offset: 6px; }
html.enfeitando .enfeite--selecionado .enfeite__girar,
html.enfeitando .enfeite--selecionado .enfeite__tamanho { display: block; }
.enfeite__tamanho,
.enfeite__girar {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--verde);
  touch-action: none;
}
.enfeite__tamanho { right: -15px; bottom: -15px; background: var(--amarelo); cursor: nwse-resize; }
.enfeite__girar { left: 50%; top: -46px; margin-left: -15px; background: var(--creme); cursor: grab; }
.enfeite__girar::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 13px; margin-left: -1px; background: var(--verde); }

.editor__abrir {
  position: fixed;
  right: 8px;
  bottom: 60px;
  z-index: 41;
  min-height: 44px;
  padding: 0 16px;
  background: var(--verde);
  color: var(--amarelo);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--recorte);
}
html.enfeitando .editor__abrir,
html.enfeitando .versoes,
html.enfeitando .letras { display: none; }

.editor__barra, .editor__gaveta, .editor__guia { display: none; }
html.enfeitando .editor__barra {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px var(--margem);
  background: var(--verde);
  color: var(--creme);
}
.editor__titulo { margin-right: auto; font-weight: 600; font-size: 1rem; }
.editor__titulo span { font-weight: 400; color: rgb(242 228 192 / 0.75); }
.editor__barra button {
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid rgb(242 228 192 / 0.45);
  border-radius: 10px 2px 12px 2px;
  color: var(--creme);
  font-size: 0.9375rem;
  font-weight: 500;
}
.editor__barra [data-ed="salvar"] { background: var(--amarelo); border-color: var(--amarelo); color: var(--verde); }

html.enfeitando .editor__gaveta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: block;
  max-height: 46vh;
  overflow-y: auto;
  padding: 14px var(--margem) 18px;
  background: var(--creme);
  color: var(--tinta);
  border-top: 3px solid var(--verde);
  font-size: 1rem;
}
.editor__dica { margin-bottom: 10px; font-size: 0.9375rem; color: var(--suave); }
.editor__itens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 92px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.editor__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-height: 112px;
  padding: 10px 4px 8px;
  background: rgb(22 58 4 / 0.06);
  border-radius: 14px 3px 16px 3px;
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
  touch-action: none;
  cursor: grab;
}
.editor__item:hover { background: rgb(22 58 4 / 0.13); }
.editor__miniatura { display: grid; place-items: center; width: 64px; height: 64px; }
.editor__miniatura svg { width: 64px; height: 64px; overflow: visible; }
.editor__rodape { margin-top: 6px; }
.editor__link { min-height: 40px; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; }
.editor__cores { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 10px; font-weight: 500; }
.editor__cores > div { display: flex; flex-wrap: wrap; gap: 7px; }
.editor__cor { width: 34px; height: 34px; border-radius: 50%; background: var(--cor); border: 2px solid rgb(16 41 10 / 0.25); }
.editor__cor[aria-pressed="true"] { outline: 3px solid var(--verde); outline-offset: 2px; }
.editor__acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.editor__acoes button {
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--verde);
  border-radius: 12px 2px 14px 2px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.editor__acoes .editor__pronto { background: var(--verde); color: var(--amarelo); }
.editor__aviso {
  position: fixed;
  left: 50%;
  top: 72px;
  z-index: 95;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  transform: translateX(-50%);
  background: var(--tinta);
  color: var(--creme);
  font-size: 0.9375rem;
  border-radius: 12px 3px 14px 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.editor__aviso--ver { opacity: 1; }
.editor__guia { position: fixed; z-index: 85; width: 0; border-left: 2px dashed #C8102E; pointer-events: none; }
.editor__fantasma { position: fixed; left: 0; top: 0; z-index: 99; width: 80px; height: 80px; pointer-events: none; }
.editor__fantasma svg { width: 80px; height: 80px; overflow: visible; }

@media (min-width: 900px) {
  html.enfeitando .editor__gaveta {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 430px;
    max-height: calc(100vh - 110px);
    border: 3px solid var(--verde);
    border-radius: 22px 4px 24px 4px;
  }
  .editor__itens { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
}
html.enfeitando body { -webkit-user-select: none; user-select: none; }
.abertura, .citacao { overflow-x: clip; }

/* ---------- Editor: o que vale pra todo mundo ---------- */
/* texto opcional que ela deixou vazio some (a linha inteira, no caso de "Formação" etc.) */
html:not(.editando-pagina) [data-vazio] { display: none !important; }
.peca__escondida {
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--verde);
  color: var(--amarelo);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--recorte);
}
