/* Fontes hospedadas no próprio site (SIL Open Font License), sem requisição ao Google */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Biologia e Arte — estilos
   Layout: fluido e orgânico. Fundo creme com manchas suaves, cartões
   arredondados sem bordas duras, obras em carrosséis por coleção.
   Paleta da Júlia: oliva #556B2F, sálvia #A2B17D, ferrugem #A0522D,
   creme #F5F5DC, caramelo #C9A66B. */

:root {
  --paper: #EEF2E3;        /* fundo: verde-sálvia bem claro */
  --mint: #E2E9D2;         /* faixas */
  --sage: #CDD8B3;         /* manchas, item ativo do menu */
  --surface: #FBFCF5;      /* cartões */
  --ink: #33401C;          /* texto: oliva profundo */
  --muted: #6B6D4C;        /* texto secundário */
  --line: #D8E0C5;         /* divisórias leves */
  --leaf: #556B2F;         /* links: oliva */
  --btn: #A2B17D;          /* botão: sálvia */
  --btn-ink: #232D12;
  --btn-hover: #93A46C;
  --bloom: #A0522D;        /* ferrugem: rótulos e destaques */
  --sky: #C9A66B;          /* caramelo: detalhes */
  --focus: #556B2F;
  --shadow: 0 1px 2px rgba(51, 64, 28, 0.06), 0 12px 32px -14px rgba(51, 64, 28, 0.30);
  --shadow-lift: 0 2px 4px rgba(51, 64, 28, 0.08), 0 22px 44px -18px rgba(51, 64, 28, 0.40);
  --frame: #FFFFFF;        /* fundo atrás dos desenhos do Pix Day (são brancos) */

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 4vw, 2.4rem);
  --step-4: clamp(2.6rem, 7vw, 4.2rem);

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 36px;
  --ease: cubic-bezier(.22, .8, .32, 1);
  color-scheme: light;   /* site sempre claro, mesmo com o sistema no modo escuro */
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bloom); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; max-width: 62ch; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bloom);
}
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Manchas de fundo (orgânicas) ---------- */
.blobs { position: relative; isolation: isolate; }
.blobs::before, .blobs::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
}
.blobs::before {
  width: min(520px, 70vw); height: min(420px, 60vw);
  top: -60px; right: -80px;
  background: radial-gradient(closest-side, var(--sage), transparent);
}
.blobs::after {
  width: min(460px, 70vw); height: min(380px, 60vw);
  bottom: -80px; left: -120px;
  background: radial-gradient(closest-side, var(--mint), transparent);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 0.8rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; }
.brand-sub { font-size: 0.8rem; color: var(--muted); }
.brand:hover { color: var(--ink); }

.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { background: var(--mint); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sage); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.3rem;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  background: var(--btn);
  color: var(--btn-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--btn-hover); color: var(--btn-ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn-soft:hover { background: var(--mint); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: var(--step--1); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.tint { background: var(--mint); border-radius: var(--r-lg); margin-inline: max(8px, env(safe-area-inset-left, 0px)); }
.section-head { display: grid; gap: 0.5rem; margin-bottom: 2rem; }
.section-head.row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 0.5rem; display: grid; gap: 0.9rem; }

/* ---------- Início ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero-text { display: grid; gap: 1.4rem; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-art { margin: 0; justify-self: center; width: min(100%, 440px); display: grid; gap: 0.9rem; }
.hero-art img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  transform: rotate(2deg);
  transition: transform .6s var(--ease);
}
.hero-art:hover img { transform: rotate(0deg) scale(1.01); }
.caption { font-size: var(--step--1); color: var(--muted); text-align: center; }
.caption strong { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 1rem; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Alvenaria de obras ---------- */
.masonry { columns: 4 230px; column-gap: 1.1rem; }
.masonry .work { break-inside: avoid; margin-bottom: 1.1rem; }
.work {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work img { width: 100%; height: auto; }
.work:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }

/* ---------- Caminhos ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.path {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.path:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.path p { color: var(--muted); }
.path .go { color: var(--leaf); font-weight: 700; margin-top: 0.3rem; }
.path-img { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 0.6rem; aspect-ratio: 4 / 3; object-fit: cover; }
.path { overflow: hidden; }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.portrait {
  width: 100%;
  max-width: 420px;
  border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%;
  box-shadow: var(--shadow-lift);
  justify-self: center;
}
.about-text { display: grid; gap: 1.1rem; min-width: 0; }
@media (max-width: 780px) { .about { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
.contact-list .k { color: var(--muted); min-width: 6rem; font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Loja ---------- */
.grid-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product { display: grid; gap: 0.7rem; align-content: start; min-width: 0; }
.product .info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.price { font-weight: 800; }

/* ---------- Espaços reservados ---------- */
.ph {
  background: var(--surface);
  border: 1.5px dashed var(--sage);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: var(--step--1);
  padding: 0.8rem 1rem;
}
.ph-art {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--surface);
  border: 1.5px dashed var(--sage);
  border-radius: var(--r);
  color: var(--muted);
  font-size: var(--step--1);
  padding: 1rem;
}

/* ---------- Escritos ---------- */
.writings { display: grid; gap: 1.1rem; }
.writing {
  display: grid;
  gap: 0.6rem;
  padding: 1.6rem;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.writing .meta { font-size: var(--step--1); color: var(--muted); }

/* ---------- Pix Day ---------- */
.months { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.month {
  font: inherit;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.month:hover { transform: translateY(-2px); }
.month[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.month .n { font-weight: 600; opacity: 0.7; }
.month-title { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline; margin-bottom: 1.2rem; }

.pix-tools { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-bottom: 1.6rem; }
.search {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.4rem 0.25rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0;
}
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.pix-count { font-size: var(--step--1); color: var(--muted); }

.grid-pix { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.1rem; }
.pix-card {
  display: grid;
  gap: 0.15rem;
  padding: 0 0 0.8rem;
  border: 0;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pix-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pix-card .thumb { background: var(--frame); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.pix-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.pix-card .who { font-weight: 800; padding-inline: 0.5rem; }
.pix-card .num { font-size: 0.8rem; color: var(--muted); }
.pix-empty { padding: 2rem 0; color: var(--muted); }

.steps { display: grid; gap: 1rem; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  font-weight: 800;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 50%;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
}

/* ---------- Janela (prévia) ---------- */
.viewer {
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lift);
  overflow: auto;
}
.viewer::backdrop { background: rgba(20, 36, 28, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.viewer[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: .6; } to { transform: none; opacity: 1; } }
.viewer-inner { display: grid; gap: 1.2rem; padding: clamp(1rem, 3vw, 2rem); }
.viewer-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.viewer-close {
  flex: none;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.version { display: grid; gap: 0.7rem; min-width: 0; }
.version .thumb { background: var(--frame); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.version .thumb img { width: 100%; height: auto; }
.version .label { font-weight: 800; text-align: center; }
@media (max-width: 560px) { .versions { grid-template-columns: 1fr; } }

.viewer .art-full { border-radius: var(--r); max-height: 74dvh; width: auto; margin-inline: auto; box-shadow: var(--shadow); }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 3rem; background: var(--mint); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 2.2rem calc(2.2rem + env(safe-area-inset-bottom, 0px));
  font-size: var(--step--1);
  color: var(--muted);
}
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--bloom); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }

.stack { display: grid; gap: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-art img { transform: none; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Carrosséis de coleção ---------- */
.shelves { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.shelf { display: grid; gap: 1rem; min-width: 0; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 1rem; }
.shelf-title { display: grid; gap: 0.2rem; min-width: 0; }
.shelf-title a { color: var(--ink); text-decoration: none; }
.shelf-title a:hover { color: var(--bloom); }
.shelf-title h2 { font-size: var(--step-2); }
.shelf-title p { color: var(--muted); font-size: var(--step--1); }
.shelf-nav { display: flex; gap: 0.4rem; }
.round {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.round:hover { background: var(--sage); transform: translateY(-2px); }

.track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 0.4rem 4px 1.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
  overscroll-behavior-x: contain;
}
.track .card { flex: 0 0 auto; scroll-snap-align: start; width: clamp(180px, 44vw, 250px); }
.card { display: grid; gap: 0.45rem; align-content: start; min-width: 0; }
.card .work { aspect-ratio: 4 / 5; background: none; box-shadow: none; overflow: visible; }
.card .work:hover { box-shadow: none; }
.card .work img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 14px rgba(51, 64, 28, 0.28)); }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: center; padding-inline: 2px; }
.card-meta .t { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--muted);
}
.badge.disponivel { background: var(--btn); color: var(--btn-ink); }
.badge.vendida, .badge.encomenda { background: var(--mint); color: var(--bloom); }
.shelf-more { justify-self: start; }

.grid-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.4rem 1.1rem; }
.empty-note { padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); color: var(--muted); }

/* ---------- Colagem do início ---------- */
.hero-collage { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1.1; justify-self: center; margin: 0; }
.hc {
  position: absolute;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--surface);
  transition: transform .6s var(--ease);
}
.hc img { width: 100%; height: 100%; object-fit: cover; }
.hc-acervo { width: 46%; aspect-ratio: 4 / 5; left: 1%; top: 45%; transform: rotate(-6deg); z-index: 1; }
.hc-alivio { width: 50%; aspect-ratio: 591 / 803; left: 24%; top: 3%; transform: rotate(-1.5deg); z-index: 2; }
.hc-julia  { width: 38%; aspect-ratio: 4 / 5; left: 60%; top: 40%; transform: rotate(5deg); z-index: 3; border: 6px solid var(--surface); }
.hero-collage:hover .hc-acervo { transform: rotate(-8deg) translate(-4%, 2%); }
.hero-collage:hover .hc-julia { transform: rotate(7deg) translate(4%, 2%); }

/* ---------- Numeração provisória das obras ---------- */
.num-badge {
  position: absolute;
  top: 8px; left: 8px;
  min-width: 1.9rem; height: 1.9rem;
  padding-inline: 0.45rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

/* ---------- Quadrinhos ---------- */
.hq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.hq-card {
  display: grid; gap: 0.2rem;
  padding: 0 0 0.9rem;
  border: 0; border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow);
  font: inherit; color: var(--ink); text-align: center;
  cursor: pointer; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.hq-card .thumb { background: #FFFFFF; aspect-ratio: 4 / 5; }
.hq-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hq-card .who { font-weight: 800; padding-inline: 0.5rem; }
.hq-card .num { font-size: 0.8rem; color: var(--muted); }
.hq-reader { display: grid; gap: 1rem; justify-items: center; }
.hq-page {
  width: auto; max-width: 100%;
  max-height: 72dvh;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  background: #FFFFFF;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.hq-controls { display: flex; align-items: center; gap: 1rem; }
.hq-count { font-weight: 800; min-width: 4rem; text-align: center; font-variant-numeric: tabular-nums; }
.round:disabled { opacity: 0.35; cursor: default; transform: none; }

.card-meta .sci { flex-basis: 100%; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.card-meta .sci em, .stack .sci em { color: var(--ink); }

/* ---------- Prévia das coleções (início) ---------- */
.mini-shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.mini {
  display: grid; gap: 0.6rem; min-width: 0;
  padding: 1.2rem 1.2rem 0.4rem;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.mini:nth-child(3) { grid-column: 1 / -1; }
.mini .shelf-title h3 { font-size: var(--step-1); }
.mini .shelf-head { align-items: center; }
.mini-track .card { width: clamp(110px, 26vw, 150px); }
@media (max-width: 760px) { .mini-shelves { grid-template-columns: 1fr; } }

/* ---------- Lista de links (Sobre) ---------- */
.link-list { display: grid; gap: 0.6rem; max-width: 520px; }
.link-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.link-btn:hover { color: var(--ink); background: var(--sage); transform: translateY(-2px); }

/* ---------- Modo revisão ---------- */
html:not(.revisao) .num-badge,
html:not(.revisao) .ph,
html:not(.revisao) [data-rascunho] { display: none !important; }
.revisao-banner {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  max-width: calc(100vw - 24px);
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  box-shadow: var(--shadow-lift);
}
.revisao-banner a { color: var(--sage); font-weight: 800; }

/* ---------- Página de links (bio do Instagram) ---------- */
.links-page { min-height: 100%; }
.links-wrap {
  max-width: 480px;
  margin-inline: auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  padding-block: 2.5rem 3rem;
  display: grid;
  gap: 1.6rem;
}
.links-head { display: grid; justify-items: center; gap: 0.35rem; text-align: center; }
.links-avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--surface); box-shadow: var(--shadow-lift); margin-bottom: 0.4rem; }
.links-head h1 { font-size: 1.9rem; }
.links-head p { color: var(--muted); font-weight: 600; }
.links-list { display: grid; gap: 0.7rem; }
.lk {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.lk:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.lk-ico { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.lk-glyph { display: grid; place-items: center; background: var(--mint); color: var(--leaf); }
.lk-glyph svg { width: 24px; height: 24px; }
.lk-txt { display: grid; min-width: 0; line-height: 1.25; }
.lk-t { font-weight: 800; }
.lk-s { font-size: 0.85rem; color: var(--muted); }
.lk-go { color: var(--muted); font-weight: 700; padding-right: 0.2rem; }
.lk-hl { background: var(--btn); }
.lk-hl .lk-s, .lk-hl .lk-go { color: var(--btn-ink); }
.lk-hl:hover { background: var(--btn-hover); }
.links-site { justify-self: center; color: var(--muted); font-weight: 700; text-decoration: none; }
.links-site:hover { color: var(--bloom); }

/* ---------- Estabilidade do layout (evita a página "pular" ao carregar) ---------- */
:has(> .loading-note) { min-height: var(--reserve, 0px); }
.months { min-height: 2.6rem; }
.version .thumb { aspect-ratio: 4 / 5; display: grid; place-items: center; }
.version .thumb img { width: 100%; height: 100%; object-fit: contain; }
.viewer .art-full { height: auto; object-fit: contain; }
.hq-page { height: auto; }
