@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/font-0.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/font-1.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/font-2.ttf) format("truetype");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/font-3.ttf) format("truetype");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/font-4.ttf) format("truetype");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/font-5.ttf) format("truetype");
}

:root {
  --ink: #303b34;
  --muted: #606b63;
  --green: #496c53;
  --sage: #e1e9df;
  --soft: #f5f7f3;
  --line: #dbe3d9;
  --white: #fff;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    400 15px/1.75 Inter,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--green);
}
:focus-visible {
  outline: 3px solid #759a77;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
h1,
h2,
h3,
.footer-name {
  font-family: Outfit, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  margin: 0 0 22px;
}
h3 {
  font-size: 1.45rem;
  margin: 18px 0 14px;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 20px;
}
em {
  font-style: normal;
  color: var(--green);
}
.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 730px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 8px;
}
.topbar {
  font-size: 0.69rem;
  background: var(--soft);
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffed;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e7ece5;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}
.logo-window {
  width: 76px;
  aspect-ratio: 270/242;
  overflow: hidden;
  position: relative;
  display: block;
}
.logo-window img {
  position: absolute;
  max-width: none;
  width: 585.926%;
  left: -24.815%;
  top: -10.331%;
  height: auto;
}
.header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.82rem;
}
.header nav a {
  position: relative;
  padding: 12px 0;
}
.header nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
  padding-block: 65px;
}
.hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
}
.hero .lead {
  font-size: 0.98rem;
  margin-bottom: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #365540;
  color: #fff;
  transform: translateY(-2px);
}
.button.secondary {
  background: transparent;
  color: var(--green);
  border-color: #bccdbb;
}
.button.secondary:hover {
  background: var(--sage);
}
.photo-frame {
  height: 310px;
  width: 100%;
  position: relative;
  background: #edf1e9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px -25px #37553b80;
}
.slide {
  height: 100%;
  width: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #ffffff60;
  background: #ffffffa8;
  backdrop-filter: blur(4px);
  color: #324b39;
  width: 34px;
  height: 42px;
  border-radius: 9px;
  font-size: 28px;
  line-height: 1;
}
.arrow:hover {
  background: #ffffffe8;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-height: 34px;
  margin-top: 8px;
}
.dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.dots button:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bdcbb9;
  transition: width 0.25s;
}
.dots button[aria-pressed="true"]:after {
  background: var(--green);
  width: 20px;
  border-radius: 8px;
}
.principles {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #f6f8f3, #edf2e9, #f6f8f3);
}
.principles .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  font-size: 0.82rem;
}
.principles span {
  color: var(--muted);
}
.principles strong {
  font-weight: 500;
  color: var(--green);
}
.section {
  padding-block: 66px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin: 0;
}
.text-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
  display: inline-block;
  border-bottom: 1px solid #acbea9;
  padding-bottom: 3px;
}
.tint {
  background: var(--soft);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.project-card:hover {
  border-color: #9db598;
  box-shadow: 0 12px 30px -24px #35573d;
}
.card-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--green);
  letter-spacing: 0.01em;
}
.project-card h3 {
  font-size: 1.35rem;
  line-height: 1.28;
  flex: 1;
  margin-top: 19px;
}
.card-place {
  font-size: 0.79rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.project-link {
  align-self: flex-start;
}
.project-link span {
  margin-left: 16px;
}
.caption {
  font-size: 0.73rem;
  color: var(--muted);
  margin: 20px 0 0;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-band {
  background: var(--sage);
  padding: 43px 0;
}
.contact-band .section-heading {
  margin-bottom: 0;
}
.page-heading {
  padding-top: 52px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  max-width: 950px;
}
.page-heading .lead {
  margin-bottom: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.values-grid article {
  border-left: 1px solid #becdb8;
  padding-left: 24px;
}
.number {
  color: #8ca287;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 20px;
}
.areas {
  margin: 30px 0;
}
.facts {
  margin: 0;
}
.facts > div {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.facts dt {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.facts dd {
  margin: 0;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.catalogue {
  padding-block: 32px 60px;
}
.filters {
  display: flex;
  gap: 18px;
  align-items: end;
  background: var(--soft);
  padding: 22px;
  border-radius: 14px;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.75rem;
}
.filters label:first-child {
  flex: 1;
}
.filters input,
.filters select {
  background: white;
  border: 1px solid #becdb8;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  min-height: 46px;
}
.filters input {
  width: 100%;
}
.catalogue-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 0.8rem;
  gap: 16px;
}
.catalogue-meta p {
  margin: 0;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0;
}
.pagination button {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
}
.pagination button[aria-current] {
  background: var(--green);
  color: white;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  margin-top: 25px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb + .page-heading {
  padding-top: 28px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  padding-block: 42px 55px;
}
.detail-layout h2 {
  font-size: 1.85rem;
}
.object {
  font-size: 1.04rem;
  line-height: 1.9;
  white-space: pre-line;
}
.source-note {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 32px;
}
.source-note p {
  font-size: 0.85rem;
  color: var(--muted);
}
.source-note small {
  display: block;
  font-size: 0.68rem;
  margin-top: 12px;
  color: var(--muted);
}
.data-panel {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 28px;
}
.project-navigation {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-block: 26px 40px;
  font-size: 0.8rem;
  color: var(--green);
}
.document-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.document-card h2 {
  font-size: 1.8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.prose {
  max-width: 800px;
}
.prose h2 {
  font-size: 1.7rem;
  margin-top: 24px;
}
footer {
  border-top: 1px solid var(--line);
  background: #f8faf6;
  padding: 42px 0 18px;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.2fr;
  gap: 50px;
}
.footer-name {
  font-size: 1.65rem;
  color: var(--ink);
  display: block;
  margin-bottom: 16px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
}
a,
dd,
p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
@media (min-width: 1500px) {
  .photo-frame {
    height: 330px;
  }
}
@media (max-width: 950px) {
  .hero {
    gap: 30px;
  }
  .photo-frame {
    height: 260px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    gap: 35px;
  }
  .detail-layout {
    gap: 30px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .header nav {
    gap: 18px;
  }
  .footer-grid {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }
  html {
    scroll-padding-top: 85px;
  }
  .topbar {
    font-size: 0.6rem;
  }
  .header {
    min-height: 78px;
  }
  .logo-window {
    width: 60px;
  }
  .header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.75rem;
  }
  .js .menu-toggle {
    display: block;
  }
  .js .header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #344f3a0b;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .js .header nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
  .hero .lead {
    max-width: 540px;
  }
  .photo-frame {
    height: 240px;
  }
  .principles .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    font-size: 0.75rem;
  }
  .principles span {
    grid-column: 1/-1;
  }
  .section {
    padding-block: 42px;
  }
  .split,
  .detail-layout,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 22px;
  }
  .project-card h3 {
    font-size: 1.45rem;
  }
  .project-card .card-place {
    margin-bottom: 16px;
  }
  .page-heading {
    padding-top: 35px;
    padding-bottom: 28px;
  }
  .page-heading h1 {
    font-size: 2.45rem;
  }
  .filters {
    flex-wrap: wrap;
    padding: 17px;
    gap: 14px;
  }
  .filters label:first-child {
    flex-basis: 100%;
  }
  .filters label:nth-child(2) {
    flex: 1;
  }
  .filters .button {
    padding: 12px 15px;
  }
  .catalogue-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-layout {
    padding-top: 30px;
  }
  .data-panel {
    padding: 23px;
  }
  .project-navigation {
    font-size: 0.72rem;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom {
    font-size: 0.7rem;
    flex-wrap: wrap;
  }
  .contact-band {
    padding: 32px 0;
  }
}
@media (max-width: 380px) {
  .photo-frame {
    height: 200px;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Fotos em tela cheia no quadro 16:9, sem faixas laterais */
.photo-frame {
  height: auto;
  aspect-ratio: 16/9;
  background: #e8eee5;
  box-shadow: 0 15px 35px -25px #37553b80;
}
.photo-frame .slide {
  position: absolute;
  inset: 0;
}
.photo-frame .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.photo-frame .slide[hidden] {
  display: none;
}
.image-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #263b30c9;
  color: #fff;
  font-size: 0.64rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.project-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.project-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sage);
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.project-card:hover .project-card-image img {
  transform: scale(1.025);
}
.project-card .image-badge {
  left: auto;
  right: 10px;
  bottom: 10px;
  font-size: 0.58rem;
  padding: 4px 8px;
}
.project-body {
  padding: 19px 21px 21px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.project-card h3 {
  font-size: 1.27rem;
}
.project-card .card-place {
  font-size: 0.75rem;
}
.project-card .project-link {
  margin-top: auto;
}
.project-grid {
  align-items: stretch;
}
.project-card {
  min-width: 0;
}
.project-gallery {
  margin: 0 0 27px;
}
.project-gallery .photo-frame {
  border-radius: var(--radius);
}
.project-gallery .dots {
  min-height: 27px;
  margin-top: 2px;
}
.project-gallery .caption {
  margin-top: 0;
  font-size: 0.68rem;
}
.project-gallery .arrow {
  background: #ffffffbd;
}
.featured-carousel {
  position: relative;
}
.project-track {
  display: flex;
  gap: 20px;
  transition: opacity 0.2s;
}
.project-track .project-card {
  flex: 0 0 calc((100% - 40px) / 3);
}
.js #featured-projects .project-card {
  display: none;
}
.js #featured-projects .project-card.is-active {
  display: flex;
}
.featured-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.featured-status {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  min-width: 130px;
  text-align: center;
}
.featured-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #b6c5b2;
  background: #ffffffc9;
  color: var(--green);
  font-size: 21px;
  line-height: 1;
}
.featured-arrow:hover {
  background: var(--green);
  color: white;
}
.js .featured-arrow {
  display: grid;
  place-items: center;
}
.featured-controls button[hidden] {
  display: none;
}
@media (min-width: 1500px) {
  .photo-frame {
    height: auto;
  }
}
@media (max-width: 950px) {
  .photo-frame {
    height: auto;
  }
  .project-track .project-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 700px) {
  .photo-frame {
    height: auto;
  }
  .project-track .project-card {
    flex-basis: 100%;
  }
  .project-card {
    padding: 0;
  }
  .project-body {
    padding: 19px;
  }
  .project-card h3 {
    font-size: 1.4rem;
  }
  .project-gallery .photo-frame {
    height: auto;
  }
  .featured-controls {
    margin-top: 14px;
  }
}
@media (max-width: 380px) {
  .photo-frame {
    height: auto;
  }
}
