/* Fontes auto-hospedadas: subset PT-BR, um arquivo por peso (o navegador só baixa o que a página usa) */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/newsreader-300.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/newsreader-400.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("assets/fonts/newsreader-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/jost-400.woff2") format("woff2"); }

/* ==========================================================
   Roh Móveis Planejados
   ========================================================== */

:root {
  --ink: #1b1917;
  --graphite: #262320;
  --ivory: #f6f2ec;
  --sand: #ebe4d9;
  --linen: #fbf9f5;
  --stone: #8a8278;
  --stone-light: #b9b1a6;
  --line: rgba(27, 25, 23, .14);
  --line-light: rgba(246, 242, 236, .18);
  --orange: #f47a1f;
  --orange-deep: #d9650f;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 1px solid var(--orange); outline-offset: 4px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow--light { color: var(--stone-light); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.display em { font-style: italic; color: var(--orange); }


.h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: #4a443e;
  max-width: 54ch;
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: #fff; border-color: var(--orange); }
.btn .arrow { transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--solid { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--solid::before { background: var(--ink); }
.btn--solid:hover { border-color: var(--ink); }

.arrow { width: 22px; height: 10px; flex: none; }
.wa-ico { width: 18px; height: 18px; flex: none; }
.btn .wa-ico { margin: -2px 0; }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-line:hover { background-size: 0 1px; background-position: right bottom; }

/* ==========================================================
   Header
   ========================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header__logo img { width: 104px; transition: width .5s var(--ease); }

.header.is-solid,
.page-inner .header {
  background: rgba(246, 242, 236, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid { height: 74px; }
.header.is-solid .header__logo img { width: 88px; }

.page-home .header:not(.is-solid) { color: var(--ivory); }

.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); }
.nav__list { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__caret { width: 9px; height: 9px; transition: transform .4s var(--ease); }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -28px;
  min-width: 320px;
  white-space: nowrap;
  padding: 18px 0;
  list-style: none;
  background: var(--ink);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.dropdown::before { /* ponte para o hover não cair */
  content: "";
  position: absolute;
  inset: -16px 0 100%;
}
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop:hover .nav__caret,
.nav__item--drop:focus-within .nav__caret { transform: rotate(180deg); }

.dropdown a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 28px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  transition: color .3s, padding .4s var(--ease-out);
}
.dropdown a span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--stone);
}
.dropdown a:hover { color: var(--orange); padding-left: 36px; }

.header__cta { padding: 13px 22px; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; width: 16px; }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--ink);
  color: var(--ivory);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility .8s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { width: 24px; transform: translateY(-4.5px) rotate(-45deg); }
.menu-open { overflow: hidden; }

.mobile-menu__list { list-style: none; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-light); }
.mobile-menu__list > li > a {
  display: block;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.1;
}
.mobile-menu__sub {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  padding: 0 0 18px;
}
.mobile-menu__sub a { font-size: 14px; color: var(--stone-light); }
.mobile-menu__foot { margin-top: 32px; font-size: 14px; color: var(--stone-light); line-height: 2; }
.mobile-menu__foot a { color: var(--ivory); }

/* ==========================================================
   Hero (home)
   ========================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  color: var(--ivory);
  overflow: hidden;
  background: var(--ink);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 9s linear;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(18, 16, 14, .82) 0%, rgba(18, 16, 14, .25) 45%, rgba(18, 16, 14, .45) 100%),
    linear-gradient(to right, rgba(18, 16, 14, .55) 0%, rgba(18, 16, 14, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(56px, 10vh, 110px);
}
.hero__title { max-width: 13ch; margin: 26px 0 30px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1.3s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__text { max-width: 44ch; color: rgba(246, 242, 236, .82); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 220px;
}
.hero__caption { font-family: var(--serif); font-style: italic; font-size: 1.25rem; transition: opacity .6s var(--ease); }
.hero__counter { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; }
.hero__progress { width: 120px; height: 1px; background: var(--line-light); position: relative; overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero__progress i.run { animation: progress 6.5s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.fade-in { opacity: 0; animation: fade 1.2s var(--ease) .6s forwards; }

@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ==========================================================
   Seções
   ========================================================== */

.section { padding-block: clamp(90px, 13vw, 170px); }
.section--tight { padding-block: clamp(70px, 9vw, 120px); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--sand { background: var(--sand); }
.section--linen { background: var(--linen); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .display { margin-top: 22px; max-width: 16ch; }

/* Manifesto */
.manifesto { max-width: 980px; }
.manifesto__statement { margin-top: 22px; font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.2; }
.manifesto__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 46px;
  color: #4a443e;
}

/* Ambientes (grid editorial) */
.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(260px, 26vw, 380px);
  gap: 14px;
}
.room {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: var(--graphite);
}
.room--feature { grid-column: span 2; grid-row: span 2; }
.room img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out), filter 1s var(--ease);
}
.room::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18, 16, 14, .78) 0%, rgba(18, 16, 14, 0) 55%);
  transition: opacity .8s var(--ease);
}
.room:hover img { transform: scale(1.09); }
.room__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 36px);
}
.room__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }
.room--feature .room__title { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.room__go {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease-out);
}
.room:hover .room__go { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg); }

.room--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.6vw, 36px);
  background: var(--orange);
  color: #fff;
}
.room--text::before { display: none; }
.room--text p { font-size: 15px; max-width: 26ch; opacity: .92; }
.room--text .room__body { position: static; padding: 0; }
.room--text .room__go { border-color: rgba(255, 255, 255, .5); }
.room--text:hover .room__go { background: var(--ink); border-color: var(--ink); }

/* Diferenciais */
.craft {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.craft__media { position: relative; }
.craft__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.craft__media::after {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1px solid rgba(244, 122, 31, .5);
  z-index: -1;
}
.craft__media-wrap { position: relative; isolation: isolate; }
.craft__tag {
  position: absolute;
  left: -1px;
  bottom: 40px;
  padding: 14px 22px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.craft__list { list-style: none; margin-top: 50px; border-top: 1px solid var(--line-light); }
.craft__list li {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}
.craft__list b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--orange);
  grid-row: span 2;
  padding-top: 4px;
}
.craft__list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.2; }
.craft__list p { color: var(--stone-light); font-size: 15.5px; }

/* Processo */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 clamp(18px, 2.4vw, 36px) 0 0;
}
.step + .step { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--stone-light); }
.step h3 { margin: 26px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.15; }
.step p { font-size: 15.5px; color: #5b544d; }

/* Quem somos (teaser) */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; }
.about__text .display { margin: 22px 0 28px; }
.about__text p + p { margin-top: 18px; }
.about__text .link-line { margin-top: 38px; }

/* CTA final */
.cta {
  position: relative;
  padding-block: clamp(110px, 15vw, 200px);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 16, 14, .5), rgba(18, 16, 14, .72)); }
.cta .display { max-width: 15ch; margin: 24px auto 34px; }
.cta p { max-width: 46ch; margin: 0 auto 42px; color: rgba(246, 242, 236, .82); }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta { isolation: isolate; }

/* ==========================================================
   Páginas internas
   ========================================================== */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(70px, 10vw, 130px));
  padding-bottom: clamp(56px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
}
.page-hero .display { margin-top: 24px; }
.crumbs { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 28px; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 10px; }

/* Quem somos (página) */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}
.story__media { position: sticky; top: 120px; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.story__media figcaption { margin-top: 16px; font-size: 13px; letter-spacing: .06em; color: var(--stone); }
.story__text p { font-size: 1.08rem; color: #3f3a35; }
.story__text p + p { margin-top: 22px; }
.story__text .dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 5.4rem;
  line-height: .8;
  padding: 8px 14px 0 0;
  color: var(--ink);
}
.story__quote {
  margin: 56px 0;
  padding-left: 28px;
  border-left: 1px solid var(--orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.25;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.pillar { padding: clamp(28px, 3vw, 44px); background: var(--ink); }
.pillar svg { width: 34px; height: 34px; color: var(--orange); }
.pillar h3 { margin: 30px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.pillar p { font-size: 15px; color: var(--stone-light); }

.lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
}
.lines h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 12px; }
.lines p { color: #5b544d; font-size: 15.5px; }
.lines li { list-style: none; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* Portfólio */
.filters {
  position: sticky;
  top: 74px;
  z-index: 20;
  background: rgba(246, 242, 236, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filters__list {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}
.filters__list::-webkit-scrollbar { display: none; }
.filter {
  position: relative;
  padding: 24px 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color .3s;
}
.filter sup { font-size: 9px; letter-spacing: 0; margin-left: 4px; color: var(--stone-light); }
.filter::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .5s var(--ease-out);
}
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); }

.gallery {
  columns: 3;
  column-gap: 16px;
  padding-top: clamp(40px, 5vw, 70px);
}
.work {
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: zoom-in;
  animation: fade .8s var(--ease) both;
}
.work[hidden] { display: none; }
.work__img { position: relative; overflow: hidden; background: var(--sand); }
.work__img img { width: 100%; transition: transform 1.2s var(--ease-out); }
.work:hover .work__img img { transform: scale(1.05); }
.work__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, .25);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.work:hover .work__img::after { opacity: 1; }
.work__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(246, 242, 236, .9);
}
.work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 6px;
  font-size: 14px;
}
.work figcaption span:first-child { font-family: var(--serif); font-size: 1.25rem; }
.work figcaption span:last-child { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); padding-top: 6px; }

.gallery-empty {
  display: none;
  padding: clamp(60px, 8vw, 110px) 0;
  text-align: center;
}
.gallery-empty.is-visible { display: block; }
.gallery-empty .display { max-width: 18ch; margin: 22px auto 22px; }
.gallery-empty p { max-width: 46ch; margin: 0 auto 36px; color: #5b544d; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px var(--gutter);
  background: rgba(18, 16, 14, .985);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.lightbox__count { font-size: 12px; letter-spacing: .2em; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .35s var(--ease); }
.lightbox__caption { font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.lightbox__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background .4s, border-color .4s;
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__nav { display: flex; gap: 10px; }

/* Contato */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}
.contact__info dl { margin-top: 10px; }
.contact__info dt {
  margin-top: 34px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}
.contact__info dd { margin-top: 8px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.contact__info dd a { transition: color .3s; }
.contact__info dd a:hover { color: var(--orange); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 22px;
  padding: clamp(28px, 4vw, 52px);
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(27, 25, 23, .35);
}
.form__title { grid-column: 1 / -1; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.15; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 400; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid #d6cdc0;
  border-radius: 2px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9187; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1917' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(244, 122, 31, .15); }
.form__hp { position: absolute; left: -9999px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: #5b544d; max-width: 34ch; line-height: 1.5; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1.5em; }
.form__status.is-ok { color: #3c7a4b; }
.form__status.is-error { color: #b4441a; }

.map { position: relative; height: clamp(360px, 45vw, 520px); background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(.12); }
.map__frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: var(--sand);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.map__frame .btn { background: var(--ivory); }
.map__card {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  max-width: 340px;
  padding: 30px 32px;
  background: var(--ink);
  color: var(--ivory);
}
.map__card p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin: 14px 0 20px; }

/* ==========================================================
   Footer
   ========================================================== */

.footer { background: var(--ink); color: var(--stone-light); font-size: 15px; font-weight: 300; }
.footer__lead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line-light);
}
.footer__logo img { width: 112px; }
.footer__tagline { max-width: 40ch; color: var(--ivory); font-size: 16px; line-height: 1.6; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: clamp(44px, 5vw, 64px) 0;
}
.footer h4 { margin-bottom: 18px; font-size: 14px; font-weight: 400; letter-spacing: .04em; color: var(--ivory); }
.footer ul { list-style: none; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--orange); }
.footer__contact a { display: inline-flex; align-items: center; gap: 12px; }
.f-ico { width: 18px; height: 18px; flex: none; color: var(--orange); }
.footer address { font-style: normal; line-height: 1.75; }
.footer__map { display: inline-block; margin-top: 14px; color: var(--ivory); border-bottom: 1px solid rgba(244, 122, 31, .6); padding-bottom: 2px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: var(--stone);
}
.footer__bottom a { color: var(--stone-light); }

/* ==========================================================
   Revelação no scroll
   ========================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="mask"] { opacity: 1; transform: none; }
[data-reveal="mask"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--mask-bg, var(--ivory));
  transform-origin: top;
  transition: transform 1.4s var(--ease-out);
  transition-delay: var(--d, 0s);
  pointer-events: none;
}
[data-reveal="mask"].is-in::after { transform: scaleY(0); }
.section--linen { --mask-bg: var(--linen); }
.section--sand { --mask-bg: var(--sand); }
.section--dark { --mask-bg: var(--ink); }

.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js [data-reveal="mask"]::after { display: none; }

/* ==========================================================
   Responsivo
   ========================================================== */

@media (max-width: 1080px) {
  .nav__list, .header__cta { display: none; }
  .burger { display: block; }
  .craft, .about, .story, .contact, .page-hero__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__lead { grid-template-columns: auto 1fr; }
  .footer__lead .btn { grid-column: 1 / -1; justify-self: start; }
  .story__media { position: relative; top: 0; }
  .gallery { columns: 2; }
  .craft__media { max-width: 560px; }
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__content { min-height: 100vh; min-height: 100svh; height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 44px; }
  .hero__title { margin: 18px 0 22px; }
  .hero__actions { margin-top: 24px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero__meta { align-items: flex-start; min-width: 0; }
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .header__logo img { width: 86px; }
  .header.is-solid { height: 64px; }
  .header.is-solid .header__logo img { width: 76px; }
  .filters { top: 64px; }
  .manifesto__body { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .room { height: 300px; }
  .room--feature { grid-column: auto; grid-row: auto; height: 400px; }
  .room--text { height: auto; }
  .room--text { min-height: 260px; }
  .steps, .pillars, .lines { grid-template-columns: 1fr; }
  .footer__lead { grid-template-columns: 1fr; }
  .footer__grid { gap: 36px 24px; }
  .step, .step + .step { padding: 0; border-left: 0; }
  .step + .step { padding-top: 40px; border-top: 1px solid var(--line); }
  .gallery { columns: 1; }
  .form { grid-template-columns: 1fr; }
  .craft__media::after { inset: 16px -12px -16px 16px; }
  .map__card { position: static; max-width: none; }
  .map { height: auto; }
  .map iframe { height: 340px; display: block; }
  .map__frame { position: relative; height: 340px; }
  .lightbox__caption { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal="mask"]::after { display: none; }
}

/* Acessibilidade: pular para o conteúdo */
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform .3s;
}
.skip:focus { transform: none; }
