/* ==========================================================================
   Dra. Vanessa Vanzo Sabec — Monografia (site/portfólio)
   Marca v3 café editorial · Playfair Display + Manrope + Italiana + Italianno
   ========================================================================== */

:root {
  /* Neutros */
  --cream: #F3E9DC; --cream-soft: #F8F1E5; --bone: #E8DDC9; --sand: #D6BFA6;
  /* Marrons */
  --caramel: #B08968; --mocha: #7A553A; --espresso: #3B2A22; --ink: #2A1F1C;
  /* Dramáticos */
  --burgundy: #7C2D33; --gold: #B5925A; --gold-light: #E8C7A8;
  --line: rgba(59, 42, 34, .14);
  --line-light: rgba(243, 233, 220, .16);
  /* Fontes */
  --ff-d: 'Playfair Display', Georgia, serif;
  --ff-b: 'Manrope', 'Helvetica Neue', sans-serif;
  --ff-i: 'Italiana', Georgia, serif;
  --ff-s: 'Italianno', cursive;
  /* Ritmo */
  --pad: clamp(20px, 4.4vw, 72px);
  --head-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 2px 6px rgba(59, 42, 34, .08), 0 18px 48px rgba(59, 42, 34, .10);
  /* Quando a capa começa a entrar (depois da abertura) */
  --t0: 1.75s;
}
html.skip-intro { --t0: .1s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
/* Grão global — é o que separa editorial real de mockup */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  z-index: 9999; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--espresso); color: var(--cream);
  padding: 10px 16px; border-radius: 999px; font-size: .8125rem;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- Átomos de marca ---------- */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.tag {
  font-family: var(--ff-i); font-size: 1rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow {
  font-family: var(--ff-b); font-size: .6875rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--mocha); margin: 0;
}
.hairline { border: 0; height: 1px; width: 48px; background: var(--gold); margin: 0; }
.chapter { display: flex; align-items: center; gap: 16px; margin: 0; }
.chapter::after { content: ''; height: 1px; width: 56px; background: var(--gold); order: 1; }
.chapter__num { font-family: var(--ff-i); font-size: 1.375rem; line-height: 1; color: var(--gold); letter-spacing: .08em; }
.chapter__label {
  order: 2; font-size: .6875rem; font-weight: 500; letter-spacing: .32em;
  text-transform: uppercase; color: var(--mocha);
}
.chapter--dark .chapter__label { color: var(--gold-light); }

.u {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease-out);
  padding-bottom: 2px;
}
.u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Botões */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 28px; border-radius: 999px; border: 1px solid var(--espresso);
  background: var(--espresso); color: var(--cream);
  font-family: var(--ff-b); font-size: .6875rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; line-height: 1;
  cursor: pointer; transition: color .5s var(--ease-out), border-color .5s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--mocha); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--mocha); }
.btn__arrow { position: relative; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.btn__arrow::after {
  content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.btn:hover .btn__arrow { width: 28px; }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost::before { background: var(--espresso); }
.btn--ghost:hover { color: var(--cream); border-color: var(--espresso); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light::before { background: var(--gold-light); }
.btn--light:hover { border-color: var(--gold-light); }

/* ==========================================================================
   ABERTURA — o monograma se desenha
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  background: var(--cream);
  animation: introOut .9s var(--ease-io) 1.45s forwards;
}
.no-js .intro, .skip-intro .intro { display: none; }
.intro__mark { width: 86px; height: auto; overflow: visible; }
.intro__path {
  fill: transparent; stroke: var(--mocha); stroke-width: .7;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.15s var(--ease-io) .1s forwards, fillIn .5s ease 1s forwards;
}
.intro__line {
  margin: 0; display: flex; align-items: baseline; gap: 14px;
  font-size: .625rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
  opacity: 0; animation: fadeUp .8s var(--ease-out) .45s forwards;
}
.intro__line span:last-child { font-family: var(--ff-i); font-size: 1rem; font-weight: 400; letter-spacing: .3em; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: var(--mocha); stroke-opacity: 0; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   CABEÇALHO + MENU
   ========================================================================== */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--pad);
  color: var(--espresso);
  transition: transform .6s var(--ease-out), background-color .5s, color .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.head.is-scrolled {
  background: rgba(243, 233, 220, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
}
.head.is-dark { color: var(--cream); }
.head.is-dark.is-scrolled { background: rgba(42, 31, 28, .78); border-bottom-color: var(--line-light); }
.head.is-hidden { transform: translateY(-100%); }
.head__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.head__mark { width: 21px; height: 24px; fill: var(--mocha); transition: fill .5s; }
.head.is-dark .head__mark { fill: var(--gold-light); }
.head__name { font-family: var(--ff-d); font-size: 1.0625rem; letter-spacing: -.005em; white-space: nowrap; }
.head__nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.head__nav a {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0;
}
.head__nav a i { font-style: normal; font-family: var(--ff-i); color: var(--gold); letter-spacing: .08em; font-size: .75rem; }
.head__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.head__nav a:hover::after, .head__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.head__cta {
  justify-self: end; padding: 11px 20px; border: 1px solid currentColor; border-radius: 999px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .4s, color .4s;
}
.head__cta:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.head.is-dark .head__cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.head__burger {
  display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; padding: 0;
}
.head__burger span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.head__burger span:nth-child(1) { top: 18px; }
.head__burger span:nth-child(2) { top: 25px; }
.menu-open .head__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .head__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  padding: calc(var(--head-h) + 28px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu-open .head { background: transparent; border-bottom-color: transparent; color: var(--espresso); }
.menu-open .head .head__mark { fill: var(--mocha); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--ff-d); font-size: clamp(36px, 10vw, 64px); line-height: 1.1; letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease-out);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__nav i { font-style: normal; font-family: var(--ff-i); font-size: .875rem; letter-spacing: .2em; color: var(--gold); min-width: 2.2em; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; color: var(--mocha); padding-top: 24px; }

/* ==========================================================================
   CAPA
   ========================================================================== */
.capa {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--head-h) + 8px) var(--pad) 36px;
  display: flex; flex-direction: column;
  max-width: 1600px; margin-inline: auto;
}
.capa__meta {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: .625rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--mocha);
  opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + .5s) forwards;
}
.capa__meta > :last-child { justify-self: end; font-size: 1rem; }
.capa__meta > :nth-child(2), .capa__meta > :nth-child(3) { justify-self: center; }
.capa__grid {
  flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  grid-template-rows: 1fr auto; margin-top: clamp(20px, 3.4vh, 48px);
}
.capa__name {
  grid-column: 1 / 9; grid-row: 1; align-self: center; margin: 0; position: relative;
  font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(64px, min(12.2vw, 22vh), 214px);
  line-height: .86; letter-spacing: -.035em; color: var(--espresso);
}
.capa__dra {
  display: block; margin: 0 0 .5em .06em;
  font-family: var(--ff-i); font-size: clamp(14px, 1.3vw, 20px); letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  line-height: 1; opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + .2s) forwards;
}
.capa__line { display: block; overflow: hidden; padding: 0 .08em .09em 0; margin-bottom: -.09em; }
.capa__line > span { display: inline-block; transform: translateY(108%); animation: rise 1.3s var(--ease-out) forwards; }
.capa__line--1 > span { animation-delay: var(--t0); }
.capa__line--2 { padding-left: 1.05em; }
.capa__line--2 > span { animation-delay: calc(var(--t0) + .09s); }
.capa__line--3 { padding-left: .42em; }
.capa__line--3 > span { animation-delay: calc(var(--t0) + .18s); }

.capa__portrait {
  grid-column: 9 / 13; grid-row: 1 / 3; margin: 0; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;
}
.capa__arch {
  position: relative; overflow: hidden; background: var(--bone);
  height: min(calc(100svh - var(--head-h) - 150px), 700px); aspect-ratio: 3 / 4.25; max-width: 100%;
  border-radius: 1000px 1000px 3px 3px;
  clip-path: inset(100% 0 0 0);
  animation: archIn 1.6s var(--ease-io) calc(var(--t0) + .05s) forwards;
}
.capa__arch img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%;
  object-fit: cover; object-position: 50% 22%;
  transform: scale(1.12); animation: settle 2.4s var(--ease-out) calc(var(--t0) + .05s) forwards;
}
@keyframes settle { to { transform: scale(1); } }
.capa__cap {
  margin-top: 12px; display: flex; gap: 12px; align-items: baseline;
  font-size: .625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--mocha);
  opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + .9s) forwards;
}

.seal {
  position: absolute; left: calc(-1 * clamp(40px, 4.5vw, 72px)); bottom: 18%;
  width: clamp(104px, 9vw, 136px); aspect-ratio: 1; border-radius: 50%;
  background: var(--cream-soft); box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + 1s) forwards;
}
.seal__ring {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  animation: spin 28s linear infinite;
}
.seal__ring text {
  font-family: var(--ff-b); font-size: 12.4px; font-weight: 500; letter-spacing: 0;
  text-transform: uppercase; fill: var(--espresso);
}
.seal__mark { width: 26%; height: auto; fill: var(--mocha); }

.capa__foot {
  grid-column: 1 / 9; grid-row: 2; align-self: end;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 40px;
  padding-top: 26px;
}
.capa__foot .hairline { grid-column: 1 / -1; width: 72px; transform-origin: left; transform: scaleX(0); animation: grow 1.2s var(--ease-out) calc(var(--t0) + .6s) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.capa__lead {
  margin: 0; max-width: 36ch; font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.6;
  opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + .7s) forwards;
}
.capa__lead em { font-family: var(--ff-d); font-size: 1.12em; }
.capa__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  opacity: 0; animation: fadeUp 1s var(--ease-out) calc(var(--t0) + .85s) forwards;
}

/* ==========================================================================
   I. MANIFESTO
   ========================================================================== */
.manifesto { background: var(--cream-soft); padding-block: clamp(96px, 13vw, 200px); }
.manifesto__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.manifesto__grid > .chapter { grid-column: 1 / -1; }
.manifesto__mirror { grid-column: 1 / 6; margin: 0; }
.mirror { position: relative; width: min(100%, 500px); aspect-ratio: 1; }
.mirror__glass { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--bone); display: block; }
.mirror__glass img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; }
.mirror__ring {
  position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); overflow: visible;
  transform: rotate(-90deg);
}
.mirror__ring circle {
  fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: var(--ring, 0);
}
.js .mirror__ring circle { stroke-dashoffset: var(--ring, 1); }
.manifesto__mirror figcaption, .autora__portrait figcaption, .walk__meta {
  display: flex; gap: 12px; align-items: baseline; margin-top: 22px;
  font-size: .625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--mocha);
}
.manifesto__mirror figcaption .tag, .autora__portrait figcaption .tag, .walk__meta .tag, .capa__cap .tag { font-family: var(--ff-b); font-size: .625rem; font-weight: 600; letter-spacing: .26em; }

.manifesto__text { grid-column: 7 / 13; }
.manifesto__quote {
  margin: 0 0 clamp(32px, 4vw, 52px);
  font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(38px, 4.7vw, 80px); line-height: 1.06; letter-spacing: -.022em;
}
.manifesto__quote .sw { opacity: .14; transition: opacity .5s ease; }
.manifesto__quote .sw.on { opacity: 1; }
.manifesto__body { display: grid; gap: 14px; max-width: 46ch; }
.manifesto__body p { margin: 0; font-size: 1.0625rem; line-height: 1.75; }
.manifesto__body strong { font-weight: 600; }

/* ==========================================================================
   II. A OBRA — pranchas
   ========================================================================== */
.obra { position: relative; background: var(--ink); color: var(--cream); }
.obra__pin { position: relative; }
.obra__track {
  display: flex; flex-direction: column; gap: clamp(72px, 10vw, 120px);
  padding: clamp(100px, 13vw, 180px) var(--pad);
  max-width: 1200px; margin-inline: auto;
}
.obra__intro { max-width: 520px; }
.obra__title {
  margin: 26px 0 26px; font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -.022em;
}
.obra__lede { margin: 26px 0 0; font-size: 1.0625rem; line-height: 1.7; color: rgba(243, 233, 220, .82); max-width: 38ch; }
.obra__hint {
  display: none; align-items: center; gap: 16px; margin: 36px 0 0;
  font-size: .625rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}
.obra__hint i { position: relative; width: 64px; height: 1px; background: var(--gold); overflow: visible; animation: nudge 2.2s var(--ease-io) infinite; }
.obra__hint i::after {
  content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg);
}
@keyframes nudge { 50% { transform: translateX(10px); } }
.obra__note { margin: 32px 0 0; font-size: .75rem; line-height: 1.6; color: rgba(243, 233, 220, .5); max-width: 40ch; }

.plate { position: relative; }
.plate:nth-of-type(even) { align-self: flex-end; }
.plate__frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--espresso);
  cursor: zoom-in; overflow: hidden;
}
.plate__frame img {
  width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 1s;
}
.plate__frame:hover img { transform: scale(1.025); }
.plate__frame::after {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(232, 199, 168, .0);
  transition: border-color .8s; pointer-events: none;
}
.plate__frame:hover::after { border-color: rgba(232, 199, 168, .45); }
.plate__ba {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  font-size: .625rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}
.plate__ba i { flex: 1; height: 1px; background: var(--line-light); position: relative; }
.plate__ba i::after { content: ''; position: absolute; left: 50%; top: -4px; width: 1px; height: 9px; background: var(--gold); }
.plate__cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; margin-top: 26px; max-width: 580px; }
.plate__num { font-family: var(--ff-i); font-size: clamp(44px, 4vw, 66px); line-height: .82; color: var(--gold); min-width: 1.4em; }
.plate__title { margin: 0 0 10px; font-family: var(--ff-d); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -.01em; }
.plate__proc { margin: 0 0 10px; font-size: .625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); opacity: .85; }
.plate__text { margin: 0; font-size: .9375rem; line-height: 1.65; color: rgba(243, 233, 220, .76); max-width: 46ch; }

.obra__end { text-align: center; display: flex; flex-direction: column; align-items: center; padding-block: 20px; }
.obra__endmark { width: 52px; height: 58px; fill: var(--gold-light); }
.obra__endtitle { margin: 24px 0 30px; font-family: var(--ff-d); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; letter-spacing: -.015em; max-width: 14ch; }
.obra__progress { display: none; }

/* Modo galeria horizontal (desktop, com JS e movimento) */
.obra.is-h { height: var(--obra-h, 400vh); }
.obra.is-h .obra__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.obra.is-h .obra__track {
  --h: min(52vh, 40vw);
  flex-direction: row; align-items: flex-start; gap: clamp(64px, 7vw, 128px);
  width: max-content; max-width: none; margin: 0;
  padding: calc(var(--head-h) + 10px) clamp(48px, 7vw, 120px) 70px;
  will-change: transform;
}
.obra.is-h .obra__intro { flex: 0 0 auto; width: clamp(340px, 30vw, 460px); align-self: center; }
.obra.is-h .obra__hint { display: flex; }
.obra.is-h .plate { flex: 0 0 auto; width: calc(var(--h) * var(--ar)); align-self: flex-start; }
.obra.is-h .plate:nth-of-type(even) { margin-top: 4vh; }
.obra.is-h .plate__frame img { height: var(--h); width: 100%; aspect-ratio: auto; }
.obra.is-h .obra__end { flex: 0 0 auto; width: clamp(300px, 26vw, 400px); align-self: center; margin-right: 6vw; }
.obra.is-h .obra__progress {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; align-items: center; gap: 22px;
  font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(243, 233, 220, .6);
}
.obra__progress .tag, .bordo footer, .carta__head .tag, .lb__cap .tag, .colofao__small { font-family: var(--ff-b); font-size: .625rem; font-weight: 600; letter-spacing: .3em; }
.obra__count b { font-family: var(--ff-i); font-weight: 400; font-size: 1rem; color: var(--gold-light); letter-spacing: .1em; }
.obra__bar { flex: 1; height: 1px; background: var(--line-light); position: relative; overflow: hidden; }
.obra__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   III. A CLÍNICA — caminhada + mosaico
   ========================================================================== */
.clinica { background: var(--cream); }
.walk { position: relative; }
.walk__pin {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center;
  max-width: 1440px; margin-inline: auto;
  padding: clamp(100px, 12vw, 160px) var(--pad) 40px;
}
.walk__title {
  margin: 24px 0 0; font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(44px, 5.4vw, 92px); line-height: .98; letter-spacing: -.03em;
}
.walk__steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; max-width: 440px; }
.walk__steps li {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 8px;
  padding: 18px 0; border-top: 1px solid var(--line);
  opacity: .3; transition: opacity .6s ease;
}
.walk__steps li:last-child { border-bottom: 1px solid var(--line); }
.walk__steps li.is-on { opacity: 1; }
.walk__steps .tag { font-size: 1rem; padding-top: 3px; }
.walk__steps strong { font-family: var(--ff-d); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.walk__steps p { grid-column: 2; margin: 6px 0 0; font-size: .9375rem; line-height: 1.65; max-width: 38ch; }
.walk__stage { margin: 0; justify-self: center; display: flex; flex-direction: column; align-items: stretch; }
.walk__glass {
  position: relative; overflow: hidden; background: var(--bone);
  height: min(calc(100svh - var(--head-h) - 120px), 760px); aspect-ratio: 1040 / 1388; max-width: 100%;
  border-radius: 1000px 1000px 3px 3px;
}
.walk__still, .walk__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.walk__canvas { opacity: 0; transition: opacity .6s; }
.walk.has-frames .walk__canvas { opacity: 1; }
.walk__meta { justify-content: space-between; margin-top: 14px; }
.walk__tc { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

.walk.is-pinned { height: 340vh; }
.walk.is-pinned .walk__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding-top: calc(var(--head-h) + 16px); padding-bottom: 24px;
}

.mosaic-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 0;
}
.mosaic-head__text { margin: 0; font-family: var(--ff-d); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; max-width: 30ch; }
.mosaic {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); align-items: start;
  max-width: 1440px; margin-inline: auto; padding: 0 var(--pad) clamp(110px, 13vw, 200px);
}
.mosaic__col { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 32px); will-change: transform; }
.mosaic__col:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.mosaic__col:nth-child(3) { margin-top: clamp(20px, 3vw, 48px); }
.tile {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in;
}
.tile img, .tile video {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bone);
  transition: transform 1.4s var(--ease-out), clip-path 1.2s var(--ease-io);
}
.tile { overflow: hidden; }
.tile > img, .tile > video { display: block; }
.tile--port img { aspect-ratio: 4 / 5; object-position: 50% 14%; }
.tile--tall img { aspect-ratio: 4 / 5.6; object-position: 50% 10%; }
.tile--sq img { aspect-ratio: 1; }
.tile--land video, .tile--land img { aspect-ratio: 4 / 3; }
.tile--video { cursor: default; }
.tile:hover img { transform: scale(1.035); }
.tile__cap {
  display: flex; gap: 12px; align-items: baseline; padding-top: 12px; background: var(--cream);
  font-size: .625rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mocha);
  position: relative;
}
.tile__cap i { font-style: normal; font-weight: 600; color: var(--gold); }

/* ==========================================================================
   IV. O OFÍCIO — índice
   ========================================================================== */
.oficio { background: var(--bone); padding-block: clamp(100px, 13vw, 190px); position: relative; }
.oficio__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end;
}
.oficio__head .chapter { grid-column: 1 / -1; }
.oficio__title {
  grid-column: 1 / 9; margin: 0; font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(40px, 5vw, 84px); line-height: 1.02; letter-spacing: -.025em;
}
.oficio__lede { grid-column: 9 / 13; margin: 0; font-size: 1rem; line-height: 1.7; max-width: 36ch; }

.index { margin-top: clamp(56px, 7vw, 110px); border-bottom: 1px solid var(--line); }
.index__group {
  display: flex; align-items: baseline; gap: 14px; margin: 0; padding: clamp(32px, 4vw, 52px) 0 14px;
  font-size: .625rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--mocha);
}
.index__group .tag { font-family: var(--ff-b); font-size: .6875rem; font-weight: 600; letter-spacing: .2em; }
.index__item { border-top: 1px solid var(--line); }
.index__row {
  width: 100%; display: grid; grid-template-columns: clamp(44px, 6vw, 90px) minmax(0, 1fr) 40px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0; border: 0; background: none; cursor: pointer; text-align: left;
}
.index__num { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.index__name {
  font-family: var(--ff-d); font-weight: 400; font-size: clamp(26px, 3.7vw, 58px); line-height: 1.06; letter-spacing: -.018em;
  transition: transform .7s var(--ease-out), color .4s;
}
.index__row:hover .index__name, .index__item.is-open .index__name { transform: translateX(clamp(6px, 1vw, 16px)); }
.index__item.is-open .index__name { color: var(--mocha); }
.index__plus { position: relative; width: 22px; height: 22px; justify-self: end; }
.index__plus::before, .index__plus::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--espresso);
  transition: transform .6s var(--ease-out);
}
.index__plus::after { transform: rotate(90deg); }
.index__item.is-open .index__plus::after { transform: rotate(0deg); }
.index__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.index__panel > div { overflow: hidden; min-height: 0; padding-left: clamp(44px, 6vw, 90px); }
.index__item.is-open .index__panel { grid-template-rows: 1fr; }
.index__panel p { margin: 0; padding-bottom: 14px; font-size: 1.0625rem; line-height: 1.7; max-width: 58ch; }
.index__link {
  display: inline-block; margin-bottom: 30px; padding-bottom: 3px; border-bottom: 1px solid var(--gold);
  font-size: .625rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mocha);
}
.index__panel div > p:last-child { padding-bottom: 30px; }
.no-js .index__panel { grid-template-rows: 1fr; }

.index-peek {
  position: fixed; top: 0; left: 0; z-index: 30; margin: 0; pointer-events: none;
  width: clamp(200px, 17vw, 270px); aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 1000px 1000px 3px 3px; background: var(--sand);
  opacity: 0; transform: translate3d(-999px, -999px, 0);
  transition: opacity .4s ease;
  box-shadow: var(--shadow);
}
.index-peek.is-on { opacity: 1; }
.index-peek img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }

/* ==========================================================================
   V. A AUTORA
   ========================================================================== */
.autora { background: var(--cream); padding-block: clamp(100px, 13vw, 190px); }
.autora__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: start; }
.autora__portrait { grid-column: 1 / 6; margin: 0; position: sticky; top: calc(var(--head-h) + 24px); }
.autora__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--bone); }
.autora__frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 16%; }
.autora__body { grid-column: 7 / 13; padding-top: 8px; }
.autora__xxx { margin: 28px 0 8px; display: flex; align-items: flex-end; gap: 18px; }
.autora__xxx span { font-family: var(--ff-i); font-size: clamp(84px, 11vw, 176px); line-height: .78; color: var(--gold); letter-spacing: .04em; }
.autora__xxx small { font-size: .625rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mocha); max-width: 14ch; line-height: 1.6; padding-bottom: 6px; }
.autora__title { margin: 32px 0 28px; font-family: var(--ff-d); font-weight: 400; font-size: clamp(36px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.022em; }
.autora__text { margin-top: 28px; display: grid; gap: 14px; max-width: 48ch; }
.autora__text p { margin: 0; font-size: 1.0625rem; line-height: 1.75; }
.ficha { margin: 44px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.ficha div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ficha dt { font-size: .625rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mocha); padding-top: 3px; }
.ficha dd { margin: 0; font-size: .9375rem; }
.autora__sign {
  margin: 40px 0 0; font-family: var(--ff-s); font-size: clamp(52px, 5.2vw, 82px); line-height: 1; color: var(--mocha);
  transform: rotate(-4deg); transform-origin: left center; display: inline-block;
}
.principios {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(90px, 11vw, 160px);
}
.principio { border-top: 1px solid var(--line); padding-top: 28px; }
.principio__num { font-family: var(--ff-i); font-size: 2.25rem; line-height: 1; color: var(--gold); }
.principio h3 { margin: 18px 0 12px; font-family: var(--ff-d); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; }
.principio p { margin: 0; font-size: .9375rem; line-height: 1.7; max-width: 34ch; }

/* ==========================================================================
   MOMENTO BORDÔ
   ========================================================================== */
.bordo {
  position: relative; overflow: hidden; color: var(--cream);
  background: linear-gradient(155deg, var(--burgundy) 0%, var(--ink) 100%);
  padding-block: clamp(120px, 16vw, 240px);
}
.bordo__mark {
  position: absolute; right: -4vw; top: 50%; height: 128%; width: auto; aspect-ratio: 179.21 / 199.42;
  fill: var(--gold-light); opacity: .07; transform: translateY(-50%);
}
.bordo__inner { position: relative; }
.bordo__q { display: block; height: .42em; font-family: var(--ff-i); font-size: clamp(120px, 15vw, 240px); line-height: .82; color: var(--gold); }
.bordo blockquote { margin: 0; }
.bordo__quote {
  margin: 0 0 36px; font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(42px, 6.4vw, 112px); line-height: 1.02; letter-spacing: -.025em; max-width: 13ch;
}
.bordo footer { color: var(--gold-light); }

/* ==========================================================================
   VI. PRIMEIRA CONVERSA
   ========================================================================== */
.contato { background: var(--cream-soft); padding-block: clamp(100px, 13vw, 190px); }
.contato__title {
  margin: 28px 0 clamp(48px, 6vw, 96px); font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(54px, 9.4vw, 160px); line-height: .94; letter-spacing: -.035em;
}
.contato__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: start; }
.contato__info { grid-column: 1 / 6; }
.contato__lede { margin: 0 0 36px; font-size: 1.125rem; line-height: 1.7; max-width: 40ch; }
.contato__list { margin: 0; border-top: 1px solid var(--line); }
.contato__list div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contato__list dt { font-size: .625rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mocha); padding-top: 4px; }
.contato__list dd { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }

.carta {
  grid-column: 7 / 13; position: relative;
  background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(28px, 3.6vw, 56px);
}
.carta::before { content: ''; position: absolute; top: -1px; left: clamp(28px, 3.6vw, 56px); width: 64px; height: 1px; background: var(--gold); }
.carta__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 32px; }
.carta__head svg { width: 22px; height: 25px; fill: var(--mocha); }
.field { display: block; margin-bottom: 26px; }
.field__label { display: block; margin-bottom: 6px; font-size: .625rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mocha); }
.field__label small { font-size: inherit; letter-spacing: .12em; text-transform: none; opacity: .7; }
.field__input {
  width: 100%; border: 0; border-bottom: 1px solid rgba(59, 42, 34, .28); border-radius: 0; background: transparent;
  padding: 10px 0 12px; font-family: var(--ff-d); font-size: 1.25rem; color: var(--espresso);
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: rgba(59, 42, 34, .38); font-style: italic; }
.field__input:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
select.field__input {
  cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%237A553A' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat; background-position: right 4px center;
}
select.field__input:invalid { color: rgba(59, 42, 34, .45); font-style: italic; }
textarea.field__input { resize: vertical; min-height: 96px; line-height: 1.45; }
.carta__error { min-height: 1.2em; margin: -8px 0 14px; font-size: .8125rem; color: var(--burgundy); }
.carta__send { width: 100%; }
.carta__fine { margin: 14px 0 0; text-align: center; font-size: .75rem; color: rgba(59, 42, 34, .62); }

/* ==========================================================================
   COLOFÃO
   ========================================================================== */
.colofao { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.colofao__word {
  margin: 0 0 clamp(48px, 6vw, 96px); font-family: var(--ff-d); font-weight: 400;
  font-size: clamp(44px, min(10.6vw, 154px), 154px); line-height: .9; letter-spacing: -.04em; white-space: nowrap;
  color: var(--cream);
}
.colofao__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px;
  padding-top: 40px; border-top: 1px solid var(--line-light);
}
.colofao__grid p { margin: 0 0 8px; font-size: .875rem; line-height: 1.7; color: rgba(243, 233, 220, .78); }
.colofao__h { font-size: .625rem !important; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light) !important; margin-bottom: 14px !important; }
.colofao__mark { width: 36px; height: 40px; fill: var(--gold-light); margin-bottom: 18px; }
.colofao__name { font-family: var(--ff-d); font-size: 1.25rem !important; color: var(--cream) !important; }
.colofao__small { text-transform: uppercase; color: var(--gold) !important; font-size: .625rem !important; }
.colofao__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line-light);
  font-size: .625rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 233, 220, .6);
}
.colofao__top:hover { color: var(--gold-light); }

/* CTA flutuante (mobile) */
.float-cta {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50;
  display: none; padding: 15px 26px; border-radius: 999px; background: var(--espresso); color: var(--cream);
  font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(42, 31, 28, .28);
  transform: translate(-50%, 160%); transition: transform .6s var(--ease-out);
}
.float-cta.is-on { transform: translate(-50%, 0); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lb {
  width: 100vw; height: 100vh; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(42, 31, 28, .97); color: var(--cream); overflow: hidden;
}
.lb[open] { display: grid; place-items: center; animation: lbIn .5s var(--ease-out); }
.lb::backdrop { background: rgba(42, 31, 28, .6); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 70px 80px 32px; max-width: 100%; }
.lb__img { max-width: min(92vw, 1500px); max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; animation: lbImg .7s var(--ease-out); }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__cap { display: flex; gap: 16px; align-items: baseline; font-size: .875rem; color: rgba(243, 233, 220, .82); text-align: center; }
.lb__btn {
  position: absolute; display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 18px;
  border: 1px solid var(--line-light); border-radius: 999px; background: rgba(42, 31, 28, .4); color: var(--cream); cursor: pointer;
  font-size: 1.125rem; transition: background-color .3s, border-color .3s;
}
.lb__btn:hover { border-color: var(--gold-light); background: rgba(232, 199, 168, .1); }
.lb__close { top: 18px; right: 18px; font-size: .625rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb.is-single .lb__prev, .lb.is-single .lb__next { display: none; }

/* ==========================================================================
   CURSOR (rótulo sobre imagens)
   ========================================================================== */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--cream); color: var(--ink);
  transform: translate3d(-200px, -200px, 0) scale(0); transition: background-color .3s, color .3s;
}
.has-cursor .cursor { display: grid; }
.cursor__label { font-size: .5625rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.cursor.on-light { background: var(--espresso); color: var(--cream); }

/* ==========================================================================
   REVELAÇÕES (só com JS)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .1em 0; margin: 0 -.07em -.1em 0; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms); }
.js [data-split].is-in .w > span { transform: none; }
.js .reveal-clip > img, .js .reveal-clip > video { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io), transform 1.4s var(--ease-out); }
.js .reveal-clip.is-in > img, .js .reveal-clip.is-in > video { clip-path: inset(0 0 0 0); }
.js .reveal-clip .tile__cap { opacity: 0; transition: opacity 1s ease .5s; }
.js .reveal-clip.is-in .tile__cap { opacity: 1; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1200px) {
  .capa__foot { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .head__name { display: none; }
  .ficha div { grid-template-columns: 120px 1fr; }
}

@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .head { grid-template-columns: 1fr auto; }
  .head__name { display: inline; font-size: 1rem; }
  .head__nav, .head__cta { display: none; }
  .head__burger { display: block; }
  .float-cta { display: inline-block; }

  .capa { padding-bottom: 44px; }
  .capa__meta { grid-template-columns: 1fr 1fr; }
  .capa__meta > :nth-child(2), .capa__meta > :nth-child(3) { display: none; }
  .capa__grid { display: flex; flex-direction: column; margin-top: 28px; }
  .capa__name { font-size: clamp(64px, 19.5vw, 150px); align-self: stretch; }
  .capa__portrait { align-items: flex-end; margin-top: 28px; }
  .capa__arch { height: auto; width: 78%; aspect-ratio: 3 / 4; }
  .seal { left: 0; bottom: 16%; width: 104px; }
  .capa__foot { grid-template-columns: 1fr; padding-top: 32px; }

  .manifesto__mirror, .manifesto__text { grid-column: 1 / -1; }
  .mirror { width: min(86%, 420px); margin-inline: auto; }
  .manifesto__mirror figcaption { justify-content: center; }

  .walk__pin { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .walk__stage { width: 100%; min-width: 0; }
  .walk.is-pinned .walk__pin {
    grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 18px;
    padding-top: calc(var(--head-h) + 12px); padding-bottom: 16px;
  }
  .walk.is-pinned .walk__title { font-size: clamp(36px, 10vw, 56px); margin-top: 14px; }
  .walk.is-pinned .walk__steps { margin-top: 16px; position: relative; }
  .walk.is-pinned .walk__steps li { display: none; border: 0; padding: 0; }
  .walk.is-pinned .walk__steps li.is-on { display: grid; }
  .walk.is-pinned .walk__steps strong { font-size: 1.25rem; }
  .walk.is-pinned .walk__stage { min-height: 0; height: 100%; justify-self: center; }
  .walk.is-pinned .walk__glass { height: 100%; width: auto; max-width: 100%; margin-inline: auto; }
  .walk.is-pinned .walk__stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .walk:not(.is-pinned) .walk__glass { width: 100%; height: auto; }
  .walk__meta { margin-top: 10px; }

  .mosaic { display: block; columns: 2; column-gap: 12px; }
  .mosaic__col { display: contents; }
  .tile { break-inside: avoid; margin-bottom: 18px; }
  .mosaic__col:nth-child(n) { margin-top: 0; }

  .oficio__title, .oficio__lede { grid-column: 1 / -1; }
  .index__panel > div { padding-left: clamp(44px, 6vw, 90px); }

  .autora__portrait { grid-column: 1 / -1; position: relative; top: 0; width: 86%; }
  .autora__body { grid-column: 1 / -1; }
  .principios { grid-template-columns: 1fr; gap: 0; }
  .principio { padding-bottom: 28px; }

  .contato__info, .carta { grid-column: 1 / -1; }
  .colofao__grid { grid-template-columns: 1fr 1fr; }
  .colofao__word { white-space: normal; font-size: clamp(52px, 15vw, 110px); }
}

@media (max-width: 560px) {
  .capa__name { font-size: 19.5vw; }
  .capa__arch { width: 84%; }
  .capa__actions .btn { flex: 1 1 auto; }
  .plate__cap { gap: 14px; }
  .ficha div, .contato__list div { grid-template-columns: 1fr; gap: 4px; }
  .colofao__grid { grid-template-columns: 1fr; }
  .lb__fig { padding: 70px 12px 90px; }
  .lb__img { max-width: 96vw; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .intro { display: none; }
  .seal__ring { animation: none; }
  .manifesto__quote .sw { opacity: 1; }
}
