:root {
  --ink: #0f0b08;
  --espresso: #17110d;
  --walnut: #2b1f18;
  --caramel: #c07a3e;
  --caramel-soft: #d9a06b;
  --cream: #f2eadf;
  --line: rgba(242, 234, 223, 0.12);
  --muted: rgba(242, 234, 223, 0.6);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(120px, 20vh, 220px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--caramel); color: var(--ink); }
em { font-style: italic; font-family: var(--serif); color: var(--caramel-soft); }

.eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--caramel-soft); font-weight: 500;
}
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 120px); line-height: 0.95; letter-spacing: -0.02em;
  margin-top: 22px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid:hover { background: var(--caramel); color: var(--cream); }
.btn--ghost { border: 1px solid rgba(242, 234, 223, 0.35); }
.btn--ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }

/* ---------- grain / cursor ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background 0.4s, border-color 0.4s, opacity 0.3s;
  border: 1px solid transparent;
}
.cursor.is-big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(15, 11, 8, 0.3); border-color: rgba(242, 234, 223, 0.6); }
.cursor span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; font-weight: 500; }
.cursor.is-big span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; align-content: center; gap: 30px; }
.loader__word { font-family: var(--serif); font-size: clamp(56px, 12vw, 150px); line-height: 1; overflow: hidden; white-space: nowrap; padding: 0 0.05em 0.08em; }
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__bar { width: min(240px, 50vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--cream); transform-origin: left; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { width: 132px; height: auto; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__cta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; position: relative; }
.nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 20px; border-radius: 999px; background: rgba(23, 17, 13, 0.7); border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; transition: background 0.4s; }
.nav__menu:hover { background: rgba(242, 234, 223, 0.14); }
.nav__lines { width: 18px; height: 8px; position: relative; }
.nav__lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.nav__lines i:first-child { top: 0; } .nav__lines i:last-child { bottom: 0; }
.nav__menu[aria-expanded="true"] .nav__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--espresso);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 130px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-family: var(--serif); font-size: clamp(44px, 8vw, 104px); line-height: 1.02; display: flex; align-items: baseline; gap: 22px; transition: color 0.3s, transform 0.6s var(--ease); }
.menu__links a span { font-family: var(--sans); font-size: 12px; color: var(--caramel-soft); letter-spacing: 0.1em; }
.menu__links a:hover { color: var(--caramel-soft); transform: translateX(14px); }
.menu__foot { display: flex; gap: 60px; font-size: 13px; color: var(--muted); }
.menu__foot a:hover { color: var(--cream); }

/* ---------- hero ---------- */
.hero { position: relative; height: 280vh; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; cursor: grab;
  background: radial-gradient(ellipse 70% 60% at 62% 45%, #35231a 0%, #17110d 45%, var(--ink) 80%);
}
.hero__sticky:active { cursor: grabbing; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero__content { position: absolute; left: var(--gutter); bottom: clamp(56px, 10vh, 110px); pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(68px, 10.5vw, 176px); line-height: 0.86; letter-spacing: -0.03em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); }
.hero__row { display: flex; align-items: center; gap: 32px; margin-top: 34px; }
.hero__row p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.hero__hint { position: absolute; right: var(--gutter); bottom: clamp(56px, 10vh, 110px); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; pointer-events: none; }
.hero__hint i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cream); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero__full { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; overflow: hidden; pointer-events: none; will-change: left, top, width, height; }
.hero__full img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__bg { background: url("../img/hd/sala-0.jpg") center / cover no-repeat var(--ink); }
.hero__dim, .manifesto__bg::after { position: absolute; inset: 0; background: var(--ink); pointer-events: none; }
.hero__dim { opacity: 0; }
.manifesto__bg::after { content: ""; opacity: 0.55; }
.reveal-up { opacity: 0; transform: translateY(24px); }

/* ---------- manifesto ---------- */
.manifesto { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.manifesto__bg { position: absolute; inset: 0; }
.manifesto__inner { position: relative; text-align: center; padding: var(--section) var(--gutter); max-width: 1200px; }
.manifesto__text { font-family: var(--serif); font-size: clamp(38px, 5.6vw, 88px); line-height: 1.04; letter-spacing: -0.015em; margin-top: 30px; }
.split-words .w { display: inline-block; opacity: 0.18; }

/* ---------- fly-through ---------- */
.fly { position: relative; height: 480vh; background: var(--ink); }
.fly__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse at center, #241913 0%, var(--ink) 70%); }
.fly__intro { position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-50%); pointer-events: none; }
.fly__viewport { position: absolute; inset: 0; perspective: 900px; }
.fly__world { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.fly__item { position: absolute; will-change: transform, opacity; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--walnut); border-radius: 3px; overflow: hidden; }
.fly__item img { width: 100%; height: 100%; object-fit: cover; }
.fly__titles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fly__word { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; white-space: nowrap; will-change: transform, opacity; }
.fly__num { font-size: 12px; letter-spacing: 0.3em; color: var(--caramel-soft); margin-bottom: 10px; }
.fly__big { font-family: var(--serif); font-style: italic; font-size: 200px; line-height: 0.9; text-shadow: 0 4px 50px rgba(15, 11, 8, 0.8); }
.fly__progress { position: absolute; z-index: 3; left: 50%; bottom: 40px; width: 120px; margin-left: -60px; height: 1px; background: var(--line); }
.fly__progress i { position: absolute; inset: 0; background: var(--cream); transform-origin: left; transform: scaleX(0); }

/* ---------- spotlight ---------- */
.spot { position: relative; height: 400vh; background: var(--espresso); }
.spot__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.15fr 0.85fr; overflow: hidden; }
.spot__media { position: relative; overflow: hidden; }
.spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); will-change: clip-path, transform; }
.spot__media img:first-child { clip-path: inset(0 0 0 0); }
.spot__copy { padding: 120px var(--gutter) 60px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.spot__copy .display { font-size: clamp(60px, 7.5vw, 132px); }
.spot__steps { list-style: none; }
.spot__steps li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--line); opacity: 0.3; transition: opacity 0.6s var(--ease); }
.spot__steps li.is-active { opacity: 1; }
.spot__steps li > span { font-size: 11px; color: var(--caramel-soft); padding-top: 8px; }
.spot__steps h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.spot__steps p { color: var(--muted); font-size: 14px; max-height: 0; overflow: hidden; transition: max-height 0.7s var(--ease), margin 0.7s var(--ease); }
.spot__steps li.is-active p { max-height: 80px; margin-top: 6px; }

/* ---------- projects horizontal ---------- */
.proj { position: relative; background: var(--ink); }
.proj__sticky { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 6vh, 64px); overflow: hidden; padding-top: 40px; }
.proj__head { padding: 0 var(--gutter); }
.proj__head .display { font-size: clamp(40px, 5vw, 84px); }
.proj__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--gutter); width: max-content; will-change: transform; align-items: flex-end; }
.proj__card { flex: none; width: clamp(240px, 23vw, 380px); }
.proj__card--wide { width: clamp(300px, 36vw, 580px); }
.proj__img { overflow: hidden; border-radius: 3px; height: clamp(300px, 54vh, 620px); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.proj__credit { flex: none; width: 280px; align-self: flex-end; font-size: 12px; color: var(--muted); line-height: 2; padding: 0 20px 6px; }
.proj__credit b { color: var(--cream); font-weight: 500; }

/* ---------- ambientes ---------- */
.amb { position: relative; padding: var(--section) var(--gutter); background: var(--ink); }
.amb__head { margin-bottom: clamp(50px, 8vh, 90px); }
.amb__list { list-style: none; border-top: 1px solid var(--line); }
.amb__list a { display: flex; align-items: center; gap: 28px; padding: clamp(18px, 2.6vh, 30px) 0; border-bottom: 1px solid var(--line); transition: color 0.4s; }
.amb__n { font-size: 11px; color: var(--caramel-soft); width: 30px; flex: none; }
.amb__name { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 104px); line-height: 1; transition: transform 0.7s var(--ease), color 0.4s; }
.amb__thumb { display: none; }
.amb__list:hover a { color: rgba(242, 234, 223, 0.28); }
.amb__list a:hover { color: var(--cream); }
.amb__list a:hover .amb__name { transform: translateX(24px); font-style: italic; }
.amb__float { position: fixed; left: 0; top: 0; z-index: 20; width: 300px; height: 380px; pointer-events: none; border-radius: 4px; overflow: hidden; opacity: 0; transform: scale(0.6); }
.amb__float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 130px); padding: var(--section) var(--gutter); background: var(--espresso); align-items: center; }
.story__img { overflow: hidden; border-radius: 3px; height: clamp(520px, 86vh, 880px); }
.story__img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.story__quote { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 58px); line-height: 1.1; margin: 30px 0 40px; }
.story__text { color: var(--muted); max-width: 520px; }
.story__text strong { color: var(--cream); font-weight: 500; }
.story__sign { margin-top: 40px; font-family: var(--serif); font-size: 30px; font-style: italic; }
.story__sign span { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel-soft); margin-top: 4px; }

/* ---------- profissionais ---------- */
.pro { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; }
.pro__bg { position: absolute; inset: -10% 0; }
.pro__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 11, 8, 0.88) 0%, rgba(15, 11, 8, 0.55) 55%, rgba(15, 11, 8, 0.2) 100%); pointer-events: none; }
.pro__content { position: relative; z-index: 1; padding: var(--section) var(--gutter); max-width: 1100px; }
.pro__content .display { font-size: clamp(40px, 5.4vw, 86px); line-height: 1.02; margin-bottom: 44px; }

/* ---------- contato ---------- */
.contact { padding: var(--section) var(--gutter); background: var(--ink); }
.contact__head { margin-bottom: clamp(50px, 8vh, 90px); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.contact__info dl { display: grid; gap: 30px; }
.contact__info dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel-soft); margin-bottom: 8px; }
.contact__info dd { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.25; }
.contact__info .btn { align-self: flex-start; }
.contact__map { min-height: 440px; border-radius: 3px; overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(1) invert(0.92) sepia(0.3) hue-rotate(-12deg) contrast(0.88); }
.cons { margin-top: clamp(70px, 10vh, 110px); }
.cons__title { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel-soft); margin-bottom: 20px; }
.cons__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.cons__list a { display: flex; flex-direction: column; gap: 6px; padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
.cons__list b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; transition: color 0.3s; }
.cons__list span { font-size: 12px; color: var(--muted); transition: color 0.3s; }
.cons__list a:hover b { color: var(--caramel-soft); }
.cons__list a:hover span { color: var(--cream); }

/* ---------- footer ---------- */
.foot { background: var(--espresso); padding: 80px var(--gutter) 36px; overflow: hidden; }
.foot__big { font-family: var(--serif); font-size: clamp(90px, 21vw, 360px); line-height: 0.8; letter-spacing: -0.04em; display: flex; gap: 0.18em; justify-content: center; white-space: nowrap; }
.foot__big em { color: var(--caramel); }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.foot__row a:hover { color: var(--cream); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: scale(0); transition: transform 0.6s var(--ease), background 0.3s, color 0.3s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--caramel); color: var(--cream); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__cta { display: none; }
  .spot__sticky { grid-template-columns: 1fr; grid-template-rows: 55% 45%; }
  .spot__copy { padding: 26px var(--gutter) 24px; gap: 18px; justify-content: flex-start; }
  .spot__copy .display { font-size: 52px; margin-top: 8px; }
  .spot__steps li { padding: 10px 0; }
  .spot__steps h3 { font-size: 22px; }
  .story { grid-template-columns: 1fr; }
  .story__img { height: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
  .cons__list { grid-template-columns: repeat(2, 1fr); }
  .fly__big { font-size: 110px; }
  .amb__thumb { display: block; width: 64px; height: 80px; object-fit: cover; border-radius: 2px; margin-left: auto; flex: none; }
  .amb__float { display: none; }
}
@media (max-width: 560px) {
  .hero__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__hint { display: none; }
  .menu__foot { flex-direction: column; gap: 20px; }
  .amb__list a { gap: 14px; }
  .amb__name { font-size: 36px; }
  .fly__intro { top: 18%; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hint i::after { animation: none; }
}
