@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #173b32;
  --forest: #244c3e;
  --sage: #748277;
  --cream: #f5f0e6;
  --paper: #fbf9f4;
  --sand: #d8cfbf;
  --rust: #a14d32;
  --white: #fff;
  --line: rgba(23, 59, 50, 0.2);
  --shadow: 0 18px 50px rgba(23, 59, 50, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
figure {
  margin: 0;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.7;
}
body.no-scroll {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-color: var(--rust);
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #d46845;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1,
h2,
h3,
h4 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 600;
  line-height: 1.03;
  margin-top: 0;
}
h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  max-width: 970px;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2.3rem, 4.7vw, 4.7rem);
  margin-bottom: 25px;
}
h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  margin-bottom: 15px;
}
h4 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
p {
  margin-top: 0;
}
.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  max-width: 730px;
}
/* @mike 20.08.2026: ficou visível por pedido da redação. Era só um debug badge na primeira versão. */
.siteBuildNote {
  width: min(1180px, calc(100% - 40px));
  margin: 17px auto 0;
  padding: 11px 15px;
  border-left: 3px solid var(--rust);
  background: var(--cream);
  font-size: 0.82rem;
}
.siteBuildNote strong {
  font-weight: 700;
}
.collection-switch,
.archive-status,
.reply-window {
  border-left-color: var(--sage);
}
.revision-stamp,
.cookie-status,
.terms-marker {
  background: #eee8dc;
}
/* TODO @sofia: juntar hero-baner e hero-section depois da entrega de 31.08. O nome errado já está em vários templates. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Cormorant, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--cream);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.desktop-nav ul,
.footer-links {
  display: flex;
  list-style: none;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.desktop-nav a {
  text-decoration: none;
  font-size: 0.88rem;
}
.desktop-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--rust);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0.35s;
}
.mobile-drawer.is-open {
  visibility: visible;
}
.menu-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 28, 23, 0.62);
  opacity: 0;
  transition: opacity 0.35s;
  cursor: pointer;
}
.is-open .menu-overlay {
  opacity: 1;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(390px, 88vw);
  background: var(--cream);
  padding: 28px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.is-open .menu-panel {
  transform: translateX(0);
}
.menu-close {
  display: block;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.2rem;
}
.mobile-nav ul {
  list-style: none;
  margin: 65px 0 0;
  padding: 0;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: Cormorant, Georgia, serif;
  font-size: 2rem;
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] {
  color: var(--rust);
}
.hero {
  padding: 80px 0 65px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.button:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.button-secondary {
  background: transparent;
  color: var(--ink);
}
.button-secondary:hover {
  color: var(--white);
}
.hero-visual {
  position: relative;
  margin-top: 58px;
  overflow: hidden;
}
.hero-visual img {
  aspect-ratio: 16/8;
  object-fit: cover;
}
.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark .eyebrow,
.section-dark .quote-by {
  color: #f0b39d;
}

.section-sand {
  background: var(--cream);
}
.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 55px;
}
.section-heading__nowrap {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.section-heading p {
  max-width: 610px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
.card {
  border-top: 1px solid currentColor;
  padding-top: 18px;
}
.card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 20px;
}
.card-index {
  display: block;
  color: var(--rust);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.card p {
  font-size: 0.93rem;
}
.project {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
  margin-bottom: 90px;
}
.project:nth-child(even) {
  grid-template-columns: 0.85fr 1.15fr;
}
.project:nth-child(even) .project-media {
  order: 2;
}
.project-media img {
  aspect-ratio: 5/4;
  object-fit: cover;
}
.meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--rust);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tag {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 0.75rem;
}
.quote {
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  max-width: 1000px;
}
.quote-by {
  margin-top: 28px;
  color: var(--rust);
}
.page-hero {
  padding: 75px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
}
.prose {
  max-width: 850px;
  margin-inline: auto;
}
.prose section {
  margin-bottom: 48px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 14px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-full {
  grid-column: 1/-1;
}
label {
  font-size: 0.83rem;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--sage);
  background: var(--white);
  color: var(--ink);
  padding: 14px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  accent-color: var(--ink);
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.map {
  margin-top: 50px;
  border: 1px solid var(--line);
}
.map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}
.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 430px;
  padding: 24px;
  background: var(--white);
  text-align: center;
}
.map-facade p {
  max-width: 420px;
  margin: 0;
  font-size: 0.9rem;
}
.site-footer {
  background: #102d26;
  color: var(--cream);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}
.footer-title {
  font-family: Cormorant, Georgia, serif;
  font-size: 2rem;
}
.footer-grid h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links {
  display: block;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
}
.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1060px;
  margin: auto;
  padding: 20px 24px;
  background: #0f2c25;
  color: var(--white);
  box-shadow: var(--shadow);
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions button {
  border: 1px solid var(--cream);
  padding: 10px 16px;
  cursor: pointer;
}
.cookie-accept {
  background: var(--cream);
  color: var(--ink);
}
.cookie-close {
  background: transparent;
  color: var(--white);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
}
.modal.is-open {
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(9, 27, 22, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}
.modal.is-open .modal-overlay {
  opacity: 1;
}
.modal-card {
  position: relative;
  width: min(520px, 100%);
  background: var(--cream);
  padding: 42px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.modal.is-open .modal-card {
  opacity: 1;
  transform: translateY(0);
}
.modal-card button {
  margin-top: 14px;
}
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-inner {
    height: 70px;
  }
  .section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .project,
  .project:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project:nth-child(even) .project-media {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .hero {
    padding-top: 55px;
  }
  .section {
    padding: 72px 0;
  }
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field-full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    display: block;
  }
  .cookie-banner {
    display: block;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-actions {
    margin-top: 15px;
  }
  .cookie-actions button {
    flex: 1;
  }
  .image-caption {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
