:root {
  --ink: #241f1b;
  --deep: #332820;
  --paper: #f4efe8;
  --paper-2: #ebe2d7;
  --rust: #bd6e47;
  --clay: #d19671;
  --gold: #dc9a2a;
  --ochre: #965406;
  --line: rgba(36,31,27,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: #fff; color: #000; padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.site-header { height: 92px; padding: 0 clamp(24px,5vw,80px); display: flex; align-items: center; justify-content: space-between; background: rgba(244,239,232,.94); backdrop-filter: blur(12px); position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid rgba(36,31,27,.08); }
.brand img { width: 190px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(18px,2.2vw,38px); }
nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
nav a:not(.nav-cta) { padding: 10px 0; position: relative; }
nav a:not(.nav-cta)::after { content: ''; height: 1px; background: var(--rust); width: 0; position: absolute; left: 0; bottom: 4px; transition: width .25s ease; }
nav a:hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--ink); padding: 13px 20px; transition: .25s ease; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 12px 6px; }
.menu-toggle span { display: block; height: 1px; background: var(--ink); margin: 8px 0; }
.hero { min-height: 100svh; padding-top: 92px; position: relative; display: grid; align-items: end; overflow: hidden; background: #1e1915; color: white; }
.hero-image { position: absolute; inset: 92px 0 0; background: url('assets/jardim-vertical.jpg') center/cover no-repeat; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 92px 0 0; background: linear-gradient(90deg, rgba(17,14,12,.86) 0%, rgba(17,14,12,.57) 45%, rgba(17,14,12,.12) 78%), linear-gradient(0deg, rgba(17,14,12,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding: 13vh clamp(24px,7vw,110px) 12vh; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .25em; color: var(--rust); }
.eyebrow.light { color: #e6b992; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: .98; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(48px,6.3vw,98px); }
h1 em, h2 em { color: #e0a77f; font-weight: 400; }
.hero-copy { max-width: 620px; font-size: clamp(17px,1.5vw,22px); line-height: 1.5; margin: 32px 0 38px; color: rgba(255,255,255,.84); }
.button { display: inline-flex; align-items: center; gap: 30px; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; padding: 17px 22px; border: 1px solid; transition: .25s ease; }
.button-light { border-color: rgba(255,255,255,.7); }
.button-light:hover { background: white; color: var(--ink); }
.hero-note { z-index: 2; position: absolute; right: clamp(24px,5vw,80px); bottom: 38px; display: flex; gap: 22px; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.7); }
.section { padding: clamp(90px,11vw,170px) clamp(24px,7vw,110px); }
.manifesto { display: grid; grid-template-columns: 80px minmax(0,1.25fr) minmax(300px,.75fr); gap: clamp(30px,5vw,80px); align-items: start; }
.section-number { font-family: Georgia,serif; color: var(--rust); font-size: 20px; padding-top: 5px; }
.manifesto h2, .services h2, .biodiversity h2 { font-size: clamp(42px,5vw,74px); }
.manifesto-text { padding-top: 36px; max-width: 550px; }
.manifesto-text p { margin: 0 0 22px; color: #554b43; font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 16px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.editorial-image { height: min(72vw,820px); min-height: 560px; position: relative; background: linear-gradient(rgba(20,17,14,.08),rgba(20,17,14,.08)), url('assets/projeto-casacor15-02.jpg') center/cover no-repeat; margin: 0 clamp(18px,3vw,48px); }
.image-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 23px 30px; background: rgba(30,24,19,.86); backdrop-filter: blur(9px); color: white; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; }
.portfolio { background: #ded0c1; }
.portfolio-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9vw; align-items: end; margin-bottom: 65px; }
.portfolio-intro h2 { font-size: clamp(42px,5vw,74px); }
.portfolio-intro > p:last-child { color: #5c5148; max-width: 480px; margin: 0 0 7px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.project-card { border: 0; padding: 0; height: clamp(400px,42vw,650px); position: relative; overflow: hidden; color: white; background: #32281f; text-align: left; cursor: pointer; font: inherit; }
.project-card-wide { grid-column: 1 / -1; height: clamp(440px,50vw,760px); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.project-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,15,12,.78), rgba(20,15,12,.02) 65%); transition: background .35s ease; }
.project-card-copy { position: absolute; inset: auto 0 0; padding: clamp(24px,4vw,52px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 7px 20px; }
.project-card-copy small { grid-column: 1/-1; text-transform: uppercase; letter-spacing: .2em; color: #e7b38b; font-size: 9px; font-style: normal; }
.project-card-copy strong { font-family: Georgia,serif; font-weight: 400; font-size: clamp(25px,3vw,46px); line-height: 1.08; max-width: 720px; }
.project-card-copy em { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-style: normal; white-space: nowrap; padding-bottom: 5px; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.035); filter: saturate(1.08); }
.project-card:hover .project-card-shade, .project-card:focus-visible .project-card-shade { background: linear-gradient(0deg, rgba(20,15,12,.86), rgba(20,15,12,.05) 70%); }
.gallery-modal { position: fixed; inset: 0; z-index: 100; background: rgba(18,14,11,.96); color: white; display: none; align-items: center; justify-content: center; padding: 70px clamp(60px,9vw,150px) 45px; }
.gallery-modal.open { display: flex; }
.gallery-modal figure { margin: 0; width: min(1100px,78vw); height: min(78vh,760px); display: grid; grid-template-rows: minmax(0,1fr) auto; }
.gallery-modal figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-modal figcaption { padding-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.gallery-modal figcaption span, .gallery-modal figcaption small { text-transform: uppercase; letter-spacing: .16em; color: #d9a077; font-size: 9px; }
.gallery-modal figcaption strong { font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.gallery-close { position: absolute; right: 30px; top: 24px; border: 0; background: transparent; color: white; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; cursor: pointer; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.35); width: 48px; height: 48px; border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 19px; }
.gallery-prev { left: 28px; }
.gallery-next { right: 28px; }
.services { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px,9vw,150px); }
.services-heading { position: sticky; top: 150px; align-self: start; }
.services-heading > p:last-child { color: #5c5148; max-width: 470px; font-size: 17px; margin-top: 32px; }
.service { border-top: 1px solid var(--line); padding: 30px 0 34px; display: grid; grid-template-columns: 58px 1fr; gap: 18px; }
.service > span { color: var(--rust); font-family: Georgia,serif; }
.service h3 { margin: -3px 0 8px; font-family: Georgia,serif; font-weight: 400; font-size: clamp(25px,2vw,34px); line-height: 1.2; }
.service p { color: #5c5148; margin: 0; max-width: 580px; }
.service-extras { border-top: 1px solid var(--line); padding-top: 25px; color: #5c5148; font-style: italic; }
.principles { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 850px; background: var(--deep); color: white; }
.principles-image { background: linear-gradient(rgba(41,30,23,.08),rgba(41,30,23,.2)), url('assets/projeto-ipanema-02.jpg') center/cover no-repeat; min-height: 720px; }
.principles-content { padding: clamp(80px,8vw,130px) clamp(36px,7vw,110px); }
.principles-content h2 { font-size: clamp(42px,4.8vw,72px); max-width: 740px; }
.principle-grid { margin-top: 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px 56px; }
.principle-grid article { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.principle-grid strong { display: block; color: #d9a077; font-family: Georgia,serif; font-weight: 400; margin-bottom: 18px; }
.principle-grid h3 { font-size: 18px; font-weight: 500; margin: 0 0 10px; }
.principle-grid p { color: rgba(255,255,255,.68); margin: 0; font-size: 14px; }
.biodiversity { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 9vw; }
.biodiversity-body { max-width: 550px; padding-top: 34px; font-size: 19px; color: #554b43; }
.biodiversity-tags { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.biodiversity-tags span { border: 1px solid var(--line); padding: 13px 18px; text-transform: uppercase; font-size: 10px; letter-spacing: .16em; }
.about { display: grid; grid-template-columns: minmax(340px,.8fr) minmax(480px,1.2fr); background: var(--paper-2); }
.about-photo { min-height: 850px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: contrast(1.03); }
.about-content { padding: clamp(80px,8vw,140px) clamp(36px,8vw,130px); align-self: center; }
.about-content h2 { font-size: clamp(52px,5.4vw,82px); }
.about-lead { font-family: Georgia,serif; font-size: clamp(23px,2vw,31px); line-height: 1.35; margin: 30px 0; }
.about-content > p:not(.eyebrow):not(.about-lead) { color: #5c5148; max-width: 650px; }
.credentials { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; border-top: 1px solid var(--line); padding-top: 28px; }
.credentials strong { display: block; color: var(--ochre); font-family: Georgia,serif; font-size: 34px; font-weight: 400; }
.credentials span { display: block; font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.quote-section { background: var(--clay); padding: clamp(90px,12vw,180px) clamp(24px,13vw,200px); text-align: center; color: #2e211a; }
.quote-section p { font-family: Georgia,serif; font-size: clamp(34px,4.5vw,68px); line-height: 1.15; margin: 0 auto 30px; max-width: 1200px; }
.quote-section span { text-transform: uppercase; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: var(--deep); color: white; padding: clamp(90px,11vw,170px) clamp(24px,7vw,110px); }
.contact h2 { font-size: clamp(52px,6vw,90px); }
.contact-intro > p:last-child { max-width: 560px; color: rgba(255,255,255,.68); font-size: 17px; margin-top: 30px; }
.contact-actions { align-self: end; }
.contact-link { min-height: 110px; border-top: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 110px 1fr 25px; align-items: center; gap: 12px; text-decoration: none; }
.contact-link:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-link span { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.contact-link strong { font-size: clamp(16px,1.5vw,22px); font-weight: 400; overflow-wrap: anywhere; }
.contact-link i { font-style: normal; color: #d9a077; }
a.contact-link:hover strong { color: #e2ad84; }
footer { background: #1d1814; color: white; padding: 65px clamp(24px,7vw,110px) 35px; }
footer img { width: 230px; }
footer > p { color: rgba(255,255,255,.6); margin: 24px 0 55px; }
footer > div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 25px; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; color: rgba(255,255,255,.5); }
footer a { text-decoration: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 980px) {
  .site-header { height: 78px; }
  .brand img { width: 160px; }
  .menu-toggle { display: block; z-index: 2; }
  nav { display: none; position: fixed; inset: 78px 0 0; background: var(--paper); padding: 50px 28px; flex-direction: column; align-items: stretch; gap: 12px; }
  nav.open { display: flex; }
  nav a { font-family: Georgia,serif; text-transform: none; letter-spacing: -.02em; font-size: 34px; font-weight: 400; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .nav-cta { border: 0; }
  .hero, .hero-image, .hero-overlay { padding-top: 78px; }
  .hero-image, .hero-overlay { inset: 0; }
  .manifesto { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .manifesto-text { padding-top: 0; }
  .services { grid-template-columns: 1fr; }
  .services-heading { position: static; }
  .portfolio-intro { grid-template-columns: 1fr; row-gap: 24px; }
  .principles { grid-template-columns: 1fr; }
  .principles-image { min-height: 68vw; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 115vw; max-height: 900px; }
  .contact { grid-template-columns: 1fr; gap: 70px; }
}
@media (max-width: 680px) {
  .hero-content { padding-bottom: 110px; }
  .hero-note { left: 24px; right: auto; bottom: 30px; }
  .hero-copy { font-size: 16px; }
  .editorial-image { min-height: 520px; margin: 0; }
  .image-caption { flex-direction: column; gap: 4px; }
  .principle-grid, .biodiversity, .credentials { grid-template-columns: 1fr; }
  .biodiversity-tags { grid-column: 1; }
  .credentials { gap: 22px; }
  .contact-link { grid-template-columns: 75px 1fr 18px; min-height: 95px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-wide { grid-column: auto; }
  .project-card, .project-card-wide { height: 115vw; max-height: 620px; }
  .project-card-copy { grid-template-columns: 1fr; }
  .project-card-copy em { display: none; }
  .gallery-modal { padding: 65px 18px 35px; }
  .gallery-modal figure { width: 100%; height: 77vh; }
  .gallery-modal figcaption { grid-template-columns: 1fr auto; }
  .gallery-modal figcaption span { grid-column: 1/-1; }
  .gallery-arrow { top: auto; bottom: 25px; }
  .gallery-prev { left: 18px; }
  .gallery-next { right: 18px; }
  footer > div { gap: 20px; }
}
