/* Paludo Arquitetura — visual consolidado 2026-07-19 */
@font-face {
  font-family: "Paludo Display";
  src: url("assets/fonts/Voga-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  --ink: #20221e;
  --ink-soft: #4b4e46;
  --moss: #5d614f;
  --warm: #f7f5ef;
  --stone: #e8e5dc;
  --white: #ffffff;
  --line: rgba(32, 34, 30, 0.2);
  --line-light: rgba(255, 255, 255, 0.24);
  --display: "Paludo Display", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Aptos, "Segoe UI", Arial, sans-serif;
  --header: 92px;
  --container: 1320px;
}

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

html {
  background: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 28px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.has-js body {
  animation: soft-page-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 180ms ease;
}

html.has-js body.is-leaving {
  animation: none;
  opacity: 0;
  pointer-events: none;
}

@keyframes soft-page-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.gallery-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.paludo-picture {
  display: block;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.paludo-picture > img {
  height: 100%;
  width: 100%;
}

html.has-js img.soft-load {
  filter: blur(7px);
  opacity: 0;
  transform: scale(1.012);
  transition:
    filter 820ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity, transform;
}

html.has-js img.soft-load.is-loaded {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 96px), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(88px, 9vw, 144px) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #7b7f69;
  outline-offset: 4px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button,
.text-link,
.project-detail__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  min-width: 188px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--moss);
  background: var(--moss);
  transform: translateY(-2px);
}

.text-link,
.project-detail__back {
  min-height: 36px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible,
.project-detail__back:hover,
.project-detail__back:focus-visible {
  color: var(--moss);
}

/* Cabeçalho */
.site-header--split {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  min-height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.97);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: box-shadow 0.3s ease, transform 0.35s ease;
}

.site-header--split.is-scrolled {
  box-shadow: 0 14px 34px rgba(32, 34, 30, 0.07);
}

.site-header--split.is-hidden {
  transform: translateY(-105%);
}

.site-header--split .nav {
  min-height: var(--header);
  display: grid;
  grid-template-columns: minmax(220px, 26vw) minmax(0, 1fr);
}

.site-header--split .brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(26px, 4vw, 68px);
}

.site-header--split .brand__logo {
  width: clamp(155px, 14vw, 210px);
  max-height: 70px;
  object-fit: contain;
  filter: brightness(0);
}

.site-header--split .brand__logo--dark {
  display: none;
}

.site-header--split .nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(26px, 3.3vw, 62px);
  padding-right: clamp(26px, 5vw, 88px);
}

.site-header--split .nav-menu a {
  position: relative;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header--split .nav-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-header--split .nav-menu a:hover::after,
.site-header--split .nav-menu a:focus-visible::after,
.site-header--split .nav-menu a.is-active::after,
.site-header--split .nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header--split .nav-menu a.is-active,
.site-header--split .nav-menu a[aria-current="page"] {
  color: #4e5144;
}

.nav-toggle {
  display: none;
}

.page-main,
.home-main {
  padding-top: var(--header);
}

/* Página inicial */
.home-hero--professional {
  display: grid;
  grid-template-columns: minmax(360px, 44vw) minmax(0, 1fr);
  min-height: min(780px, calc(100svh - var(--header)));
  background: var(--warm);
}

.home-hero--professional .home-hero__media {
  position: relative;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.home-hero--professional .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero--professional .home-hero__media figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  margin: 0;
  padding: 9px 12px;
  background: rgba(32, 34, 30, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-hero__panel--professional {
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: clamp(54px, 8vw, 154px);
  background: var(--warm);
}

.home-hero--professional .home-hero__copy {
  width: min(100%, 630px);
}

.home-hero--professional h1,
.home-featured h2,
.home-section-heading h2,
.home-process h2,
.home-about--professional h2,
.home-contact--professional h2,
.projects-heading h1,
.projects-heading h2,
.project-category h2,
.about-page h1,
.contact-page h1,
.project-detail h1,
.project-folder-heading h2,
.project-room h3,
.trust-cta h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.home-hero--professional h1 {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: clamp(3.9rem, 5.8vw, 7.2rem);
}

.home-hero--professional .home-hero__copy > p:not(.eyebrow):not(.home-hero__location) {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}

.home-hero--professional .home-hero__location {
  max-width: 340px;
  margin: clamp(54px, 9vh, 104px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #555a49;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip__item {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 24px clamp(18px, 2.8vw, 42px);
  border-right: 1px solid var(--line);
}

.trust-strip__item:first-child {
  padding-left: 0;
}

.trust-strip__item:last-child {
  border-right: 0;
}

.trust-strip__item strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  font-weight: 500;
  line-height: 1.1;
}

.trust-strip__item span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-featured {
  background: var(--white);
}

.home-featured__grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1.6fr);
  align-items: end;
  gap: clamp(38px, 8vw, 148px);
}

.home-featured__copy {
  padding-bottom: clamp(0px, 4vw, 58px);
}

.home-featured__index {
  margin: clamp(40px, 6vw, 74px) 0 18px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.home-featured h2 {
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5.6rem);
}

.home-featured__location {
  margin: 22px 0 24px;
  color: #555a49;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-featured__copy > p:not(.eyebrow):not(.home-featured__index):not(.home-featured__location) {
  max-width: 360px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.home-featured__image {
  display: block;
  min-height: clamp(330px, 42vw, 650px);
  overflow: hidden;
  background: var(--stone);
}

.home-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.home-featured__image:hover img,
.home-featured__image:focus-visible img {
  transform: scale(1.025);
}

.home-projects--professional {
  background: var(--warm);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.home-section-heading h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3.1rem, 5.2vw, 6.3rem);
}

.project-category {
  margin-top: clamp(82px, 9vw, 136px);
}

.project-category:first-child {
  margin-top: 0;
}

.project-category--curated {
  margin: 0;
  padding: clamp(44px, 6vw, 78px) 0;
  border-top: 1px solid var(--line);
}

.project-category__heading,
.projects-heading--section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.project-category__heading h3,
.projects-heading--section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.15rem, 3vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.project-category__heading p,
.projects-heading--section p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.projects-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 74px) clamp(18px, 2.4vw, 34px);
}

.projects-index__grid--curated {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 46px) clamp(12px, 1.8vw, 28px);
}

.project-index-card {
  display: grid;
  align-content: start;
  gap: 15px;
  min-width: 0;
  color: var(--ink);
}

.project-index-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--stone);
}

.project-index-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.35s ease;
}

.project-index-card:hover .project-index-card__image img,
.project-index-card:focus-visible .project-index-card__image img {
  transform: scale(1.035);
  filter: contrast(1.02);
}

.project-index-card__folder {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  background: rgba(32, 34, 30, 0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-category--curated .project-index-card__folder {
  display: none;
}

.project-index-card__content {
  display: grid;
  gap: 6px;
}

.project-index-card__content strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
}

.project-category--curated .project-index-card__content strong {
  font-size: 1.1rem;
}

.project-index-card__meta,
.project-index-card__content > span:not(.project-index-card__meta) {
  color: #555a49;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.project-index-card__content em {
  width: max-content;
  margin-top: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-process {
  background: var(--ink);
  color: var(--white);
}

.home-process__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr);
  gap: clamp(50px, 9vw, 160px);
}

.home-process .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.home-process h2 {
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(2.8rem, 4.2vw, 5.2rem);
}

.home-process__intro > p:last-child {
  max-width: 370px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.home-process__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process__list li {
  min-height: 230px;
  padding: 0 18px 0 0;
  border-right: 1px solid var(--line-light);
}

.home-process__list li:last-child {
  border-right: 0;
}

.home-process__list span {
  display: block;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home-process__list h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.1;
}

.home-process__list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-about--professional {
  background: var(--white);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.9fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: stretch;
}

.home-about__image {
  min-height: clamp(420px, 45vw, 660px);
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.home-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-about__content {
  align-self: center;
  max-width: 520px;
}

.home-about--professional h2 {
  margin: 0 0 30px;
  font-size: clamp(3.1rem, 4.8vw, 5.9rem);
}

.home-about__content > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.home-contact--professional {
  background: var(--stone);
}

.home-contact__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(240px, 0.65fr);
  gap: clamp(42px, 11vw, 180px);
  align-items: end;
}

.home-contact--professional h2 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(3.4rem, 5.5vw, 6.8rem);
}

.home-contact--professional p:not(.eyebrow) {
  max-width: 440px;
  color: var(--ink-soft);
}

.home-contact__actions {
  display: grid;
  gap: 30px;
  justify-items: start;
}

.home-contact__links {
  display: grid;
  gap: 10px;
}

.home-contact__links a,
.contact__direct a {
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Página de projetos */
.projects-page {
  background: var(--warm);
}

.projects-heading--primary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(40px, 8vw, 132px);
  margin-bottom: clamp(70px, 9vw, 130px);
  padding-bottom: clamp(52px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.projects-heading--primary > div {
  min-width: 0;
}

.projects-heading--primary h1 {
  margin: 0 0 10px;
  font-size: clamp(4.4rem, 8vw, 9.2rem);
}

.projects-heading--primary h2 {
  margin: 0;
  color: var(--moss);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.projects-heading--primary p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.projects-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-bottom: 54px;
}

.projects-category-nav a {
  min-height: 38px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Sobre */
.about-page {
  background: var(--white);
}

.about-page__grid {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(340px, 0.92fr);
  gap: clamp(50px, 8vw, 138px);
  align-items: center;
}

.about-page__image {
  min-height: min(760px, 72vw);
  overflow: hidden;
  background: var(--stone);
}

.about-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__content {
  max-width: 590px;
}

.about-page h1 {
  margin: 0 0 18px;
  font-size: clamp(4rem, 6vw, 7.3rem);
}

.about-page__role {
  margin: 0 0 30px;
  color: #555a49;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-page__lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-page__facts {
  display: grid;
  gap: 0;
  margin: 38px 0;
  border-top: 1px solid var(--line);
}

.about-page__facts > div {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-page__facts span {
  color: #555a49;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-page__facts strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.about-page__facts p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Contato */
.contact-page {
  min-height: calc(100vh - var(--header));
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(52px, 9vw, 150px);
  align-items: start;
}

.contact-page h1 {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(4rem, 6vw, 7.1rem);
}

.contact-page .contact__intro > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact__direct {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 34px;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #555a49;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(32, 34, 30, 0.36);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 13px 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #62655c;
  font-weight: 400;
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form__note {
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Projeto individual */
.project-detail__cover {
  padding: 0;
  background: var(--warm);
}

.project-detail__intro {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(0, 1.34fr);
  align-items: stretch;
}

.project-detail__intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 142px) clamp(48px, 8vw, 142px);
}

.project-detail__back {
  align-self: flex-start;
  margin-bottom: clamp(58px, 8vw, 106px);
}

.project-detail h1 {
  margin: 0 0 30px;
  font-size: clamp(4rem, 6.2vw, 7.8rem);
}

.project-detail__intro-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.project-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-detail__facts div {
  display: grid;
  gap: 4px;
}

.project-detail__facts span,
.project-detail__count,
.project-folder-heading > span {
  color: #555a49;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-detail__facts strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.project-detail__count {
  display: block;
  margin-top: 12px;
}

.project-detail__hero-media {
  min-height: min(820px, calc(100svh - var(--header)));
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.project-detail__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail__section {
  padding: clamp(88px, 9vw, 144px) 0;
  background: var(--white);
}

.project-folder-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 6vw, 84px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.project-folder-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 4.4vw, 5.5rem);
}

.project-room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: calc(clamp(44px, 6vw, 84px) * -0.55) 0 clamp(56px, 7vw, 92px);
}

.project-room-nav[hidden] {
  display: none;
}

.project-room-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  padding: 11px 15px 11px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.project-room-nav a:hover,
.project-room-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.project-room-nav span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-room-nav small {
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
}

.project-detail__grid {
  column-count: 3;
  column-gap: 24px;
}

.project-detail__photo {
  width: 100%;
  display: block;
  margin: 0 0 24px;
  padding: 0;
  break-inside: avoid;
  border: 0;
  background: var(--stone);
  overflow: hidden;
}

.project-detail__photo img {
  width: 100%;
  transition: transform 0.55s ease;
}

.project-detail__photo:hover img,
.project-detail__photo:focus-visible img {
  transform: scale(1.018);
}

.project-detail__grid--rooms {
  column-count: initial;
  display: grid;
  gap: clamp(72px, 9vw, 132px);
}

.project-room__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.project-room {
  scroll-margin-top: calc(var(--header) + 28px);
}

.project-room h3 {
  margin: 0;
  font-size: clamp(2.5rem, 3.8vw, 4.5rem);
}

.project-room__heading > span {
  flex: none;
  padding-bottom: 7px;
  color: #555a49;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-room__grid {
  column-count: 3;
  column-gap: 24px;
}

.trust-cta {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--stone);
}

.trust-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
}

.trust-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 6rem);
}

/* Lightbox */
.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 76px 96px;
  background: rgba(18, 19, 17, 0.96);
  color: var(--white);
}

.detail-lightbox.is-open {
  display: grid;
}

.detail-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 152px);
  object-fit: contain;
}

.detail-lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-lightbox__close {
  top: 28px;
  right: 32px;
}

.detail-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.detail-lightbox__nav--prev {
  left: 26px;
}

.detail-lightbox__nav--next {
  right: 26px;
}

.detail-lightbox__meta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transform: translateX(-50%);
}

.detail-lightbox__meta strong {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-lightbox__meta span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Rodapé */
.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 46px;
  align-items: start;
  padding-block: 54px 36px;
}

.site-footer .brand {
  display: inline-block;
  width: max-content;
}

.site-footer .brand__logo {
  width: clamp(190px, 20vw, 270px);
  filter: none;
}

.footer__identity {
  display: grid;
  gap: 18px;
}

.footer__identity span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  padding-top: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.footer__legal span,
.footer__legal small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  line-height: 1.5;
}

.footer__legal small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-right: 112px;
  text-align: right;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 160;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(32, 34, 30, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  :root {
    --header: 80px;
  }

  .site-header--split .nav {
    grid-template-columns: 1fr auto;
  }

  .site-header--split .brand {
    padding-left: 24px;
  }

  .site-header--split .brand__logo {
    width: 155px;
  }

  .site-header--split .nav-menu {
    gap: 24px;
    padding-right: 26px;
  }

  .home-hero--professional {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero__panel--professional {
    padding: clamp(44px, 6vw, 72px);
  }

  .projects-index__grid--curated {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-process__grid,
  .home-about__grid,
  .home-contact__inner,
  .about-page__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .home-process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .home-process__list li:nth-child(2) {
    border-right: 0;
  }

  .about-page__image {
    min-height: 620px;
  }

  .about-page__content,
  .contact__intro {
    max-width: 720px;
  }

  .project-detail__intro {
    grid-template-columns: 1fr;
  }

  .project-detail__hero-media {
    min-height: 620px;
  }

  .project-detail__grid,
  .project-room__grid {
    column-count: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 74px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .site-header--split .brand {
    padding-left: 20px;
  }

  .site-header--split .brand__logo {
    width: 126px;
  }

  .nav-toggle {
    width: 70px;
    height: var(--header);
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 1px;
    display: block;
    background: var(--ink);
    transition: transform 0.2s ease;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-header--split .nav-menu {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--warm);
  }

  .site-header--split .nav-menu.is-open {
    display: grid;
  }

  .site-header--split .nav-menu a {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
  }

  .site-header--split .nav-menu a::after {
    display: none;
  }

  .home-hero--professional {
    grid-template-columns: 1fr;
  }

  .home-hero--professional .home-hero__media {
    min-height: 490px;
  }

  .home-hero--professional .home-hero__media img {
    object-position: center 28%;
  }

  .home-hero__panel--professional {
    min-height: auto;
    padding: 58px 24px 64px;
  }

  .home-hero--professional h1,
  .home-section-heading h2,
  .home-contact--professional h2,
  .projects-heading--primary h1,
  .about-page h1,
  .contact-page h1,
  .project-detail h1 {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions .button,
  .home-hero__actions .text-link {
    width: 100%;
  }

  .home-hero--professional .home-hero__location {
    margin-top: 48px;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip__item,
  .trust-strip__item:first-child {
    min-height: 112px;
    padding: 20px 14px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip__item:nth-child(2) {
    border-right: 0;
  }

  .trust-strip__item:nth-child(3),
  .trust-strip__item:nth-child(4) {
    border-bottom: 0;
  }

  .home-featured__grid,
  .projects-heading--primary {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-featured__image {
    min-height: 320px;
  }

  .home-section-heading,
  .project-category__heading,
  .projects-heading--section,
  .project-folder-heading,
  .trust-cta__inner {
    display: grid;
    align-items: start;
  }

  .projects-index__grid,
  .projects-index__grid--curated {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 14px;
  }

  .project-index-card__content strong,
  .project-category--curated .project-index-card__content strong {
    font-size: 1.05rem;
  }

  .home-process__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-process__list li,
  .home-process__list li:nth-child(2) {
    min-height: auto;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .home-process__list li:last-child {
    border-bottom: 0;
  }

  .home-process__list span {
    margin-bottom: 16px;
  }

  .home-about__image,
  .about-page__image {
    min-height: 470px;
  }

  .home-contact__actions,
  .home-contact__actions .button {
    width: 100%;
  }

  .contact-form .button {
    width: 100%;
  }

  .project-detail__intro-copy {
    padding: 64px 20px;
  }

  .project-detail__back {
    margin-bottom: 58px;
  }

  .project-detail__hero-media {
    min-height: 440px;
  }

  .project-detail__grid,
  .project-room__grid {
    column-count: 1;
  }

  .project-room-nav {
    flex-wrap: nowrap;
    margin-top: -20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .project-room-nav a {
    flex: 0 0 auto;
  }

  .project-room__heading {
    align-items: start;
  }

  .detail-lightbox {
    padding: 70px 18px;
  }

  .detail-lightbox__nav {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .detail-lightbox__meta {
    top: 26px;
    bottom: auto;
    left: 18px;
    display: grid;
    gap: 3px;
    padding-right: 96px;
    transform: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    grid-column: auto;
    display: grid;
    gap: 10px;
  }

  .footer__legal small {
    padding-right: 74px;
    text-align: left;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  .projects-index__grid,
  .projects-index__grid--curated {
    grid-template-columns: 1fr;
  }

  .project-index-card__image {
    aspect-ratio: 1.18 / 1;
  }

  .project-index-card__content strong,
  .project-category--curated .project-index-card__content strong {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
