:root{
  --off:#F7F6F4;
  --areia:#C9BFB6;
  --areia2:#B8A897;
  --marrom:#826350;
  --verde:#67624B;
  --cinza:#44413F;
  --creme:#E0D9D1;
  --preto:#151514;
  --x:clamp(72px,6.4vw,118px);
  --homeHeader:112px;
}

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

html,
body{
  width:100%;
  overflow-x:hidden;
}

body{
  font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;
  background:var(--off);
  color:var(--cinza);
}

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

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

/* HEADER */

.header{
  height:145px;
  padding:0 var(--x);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--off);
  color:var(--cinza);
  z-index:9999;
  border:0;

  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
}

body{
  padding-top:145px;
}

body.home-page{
  padding-top:0;
}

body.project-detail-page{
  padding-top:0;
}

.header.fixed{
  position:fixed;
  top:0;
  left:0;
  right:0;
}

.header.white{
  background:transparent;
  position:fixed;
  color:var(--off);
}

.logo-dark,
.logo-white{
  width:184px;
}

.nav{
  font-size:16px;
  display:flex;
  gap:6px;
}

.nav a.active{
  font-weight:600;
}

/* HOME HEADER */

body.home-page .home-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  height:var(--homeHeader);
  padding:0 var(--x);
  background:var(--off);
  color:var(--cinza);
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:50;
  border:0;
}

body.home-page .home-header .brand-link{
  display:flex;
  align-items:center;
}

body.home-page .home-header .logo-dark{
  width:184px;
  display:block;
  opacity:1;
  filter:none;
}

body.home-page .home-header .logo-white{
  display:none;
}

body.home-page .home-header .nav{
  color:var(--cinza);
  margin-left:auto;
}

/* LABELS */

.section-label{
  font-size:13px;
  letter-spacing:.48em;
  text-transform:uppercase;
  color:var(--marrom);
  font-weight:600;
}

.label-line{
  display:flex;
  align-items:center;
  gap:28px;
  margin-bottom:34px;
}

.label-line:after{
  content:'';
  flex:1;
  max-width:260px;
  height:1px;
  background:#a9a19a;
}

/* FOOTER */

.footer{
  background:var(--off);
  color:var(--cinza);
  padding:80px var(--x);
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  align-items:start;
  font-size:13px;
  line-height:2;
  border:0;
  border-top:0;
}

.footer .mini{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:flex-start;
}

.footer img{
  width:42px;
  filter:none;
  opacity:1;
}

.footer p:nth-child(2){
  justify-self:center;
  text-align:left!important;
}

.footer p:nth-child(3){
  text-align:right!important;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

.footer a,
.footer span,
.footer p{
  color:var(--cinza);
}

.footer a{
  transition:opacity .2s;
}

.footer a:hover{
  opacity:.65;
}

/* HERO / HOME */

.hero{
  height:100vh;
  min-height:650px;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.15s ease;
  overflow:hidden;
}

.slide.active{
  opacity:1;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:scale(1);
}

.slide.active img{
  animation:heroZoomIn 6.8s ease forwards;
}

@keyframes heroZoomIn{
  from{transform:scale(1)}
  to{transform:scale(1.035)}
}

body.home-page{
  height:100vh;
  overflow:hidden;
  background:var(--off);
}

.home-page .home-hero{
  height:calc(100vh - var(--homeHeader));
  min-height:0;
  margin-top:var(--homeHeader);
  overflow:hidden;
  background:transparent;
}

.home-page .home-hero:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:24vh;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.48) 0%,rgba(0,0,0,.24) 48%,rgba(0,0,0,0) 100%);
}

.home-page .home-hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:34vh;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.62) 0%,rgba(0,0,0,.34) 42%,rgba(0,0,0,0) 100%);
}

.hero-info{
  position:absolute;
  left:50%;
  bottom:28px;
  transform:translate(-50%,34px);
  z-index:10;
  color:#fff;
  text-align:center;
  opacity:0;
  pointer-events:auto;
}

.hero-info.show{
  animation:projectTitleUp 1.15s ease forwards;
}

.hero-info h1{
  font-size:38px;
  font-weight:300;
  letter-spacing:.01em;
  line-height:1.1;
  color:#fff;
}

.hero-info .view-project{
  display:block;
  margin-top:9px;
  font-size:13px;
  font-weight:300;
  letter-spacing:.08em;
  opacity:.82;
  color:#fff;
}

.hero-info .line,
.home-page .eyebrow,
.dots{
  display:none;
}

.home-page .hero-link{
  display:block;
  cursor:pointer;
  transition:opacity .25s ease;
}

.home-page .hero-link:hover{
  opacity:.82;
}

@keyframes projectTitleUp{
  from{
    opacity:0;
    transform:translate(-50%,34px);
  }
  to{
    opacity:1;
    transform:translate(-50%,0);
  }
}

/* SETAS HOME */

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:12;
  width:44px;
  height:80px;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.72);
  font-size:54px;
  font-weight:200;
  line-height:1;
  cursor:pointer;
  opacity:.55;
  transition:opacity .25s ease,transform .25s ease;
}

.hero-arrow:hover{
  opacity:1;
}

.hero-arrow.prev{
  left:28px;
}

.hero-arrow.next{
  right:28px;
}

.hero-arrow.prev:hover{
  transform:translateY(-50%) translateX(-4px);
}

.hero-arrow.next:hover{
  transform:translateY(-50%) translateX(4px);
}

/* NÓS */

.intro{
  max-width:980px;
  margin:95px auto 90px;
  font-size:20px;
  line-height:1.75;
  font-weight:300;
  color:var(--marrom);
}

.intro strong{
  font-weight:500;
  color:var(--marrom);
}

.split{
  max-width:1180px;
  margin:0 auto 90px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:120px;
  align-items:center;
}

.split h2{
  font-size:40px;
  font-weight:300;
  line-height:1.08;
  letter-spacing:-0.02em;
  margin:0 0 34px;
  max-width:560px;
}

.split p{
  font-size:15px;
  line-height:1.85;
  font-weight:300;
  max-width:560px;
}

.triade{
  max-width:1180px;
  margin:140px auto 110px;
}

.members{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:58px;
}

.member img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  filter:grayscale(1);
  transition:.45s;
}

.member img:hover{
  filter:grayscale(0);
}

.member-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-top:20px;
}

.member h3{
  font-size:16px;
}

.role{
  font-size:10px;
  letter-spacing:.38em;
  color:var(--marrom);
  font-weight:600;
  margin-top:6px;
}

.arrow{
  width:18px;
  height:18px;
  border:0;
  background:transparent;
  cursor:pointer;
  position:relative;
  font-size:0;
  line-height:1;
}

.arrow::after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:8px;
  height:8px;
  border-right:1.5px solid var(--marrom);
  border-bottom:1.5px solid var(--marrom);
  transform:rotate(45deg);
  transition:.25s ease;
}

.member.open .arrow::after{
  transform:rotate(225deg);
}

.member-desc{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .35s ease,opacity .25s ease;
}

.member.open .member-desc{
  grid-template-rows:1fr;
  opacity:1;
}

.member-desc div{
  overflow:hidden;
}

.member-desc p{
  font-size:15px;
  line-height:1.45;
  margin-top:28px;
}

/* BANNER NÓS */

.nos-hero{
  position:relative;
  height:620px;
  min-height:620px;
  overflow:hidden;
}

.nos-hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:58%;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.50) 40%,rgba(0,0,0,.12) 72%,rgba(0,0,0,0));
}

.nos-hero img{
  width:100%;
  height:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center 50%;
}

.nos-hero-text{
  position:absolute;
  left:12%;
  bottom:76px;
  color:white;
  z-index:3;
  max-width:760px;
}

.nos-hero-text .section-label{
  letter-spacing:.52em;
  color:white;
}

.nos-hero-text h1{
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.02em;
  max-width:720px;
  margin-top:10px;
}

.nos-hero-text p{
  font-size:20px;
  line-height:1.28;
  max-width:650px;
  margin-top:10px;
}

/* PROJETOS */

.projects-page{
  padding:95px var(--x) 110px;
}

.projects-inner{
  max-width:1440px;
  margin:0 auto;
}

.category-filter{
  position:relative;
  width:max-content;
  margin:-8px 0 58px 0;
  font-size:16px;
  color:var(--preto);
}

.category-filter summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  width:max-content;
  font-size:16px;
  font-weight:400;
  line-height:1;
  color:var(--preto);
}

.category-filter summary::-webkit-details-marker{
  display:none;
}

.category-filter summary:after{
  content:"";
  width:8px;
  height:8px;
  border-right:1.5px solid var(--marrom);
  border-bottom:1.5px solid var(--marrom);
  transform:rotate(45deg);
  transition:.25s ease;
  margin-left:4px;
}

.category-filter[open] summary:after{
  transform:rotate(225deg);
}

.category-menu{
  position:absolute;
  top:32px;
  left:0;
  z-index:30;
  width:270px;
  max-height:210px;
  overflow-y:auto;
  padding:8px 0;
  background:var(--off);
  box-shadow:0 18px 38px rgba(0,0,0,.08);
}

.category-menu a{
  display:block;
  padding:7px 0;
  font-size:16px;
  line-height:1.18;
  color:var(--preto);
  transition:opacity .2s ease;
}

.category-menu a:hover{
  opacity:.58;
}

.projects-grid{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:58px 54px;
}

.project-card figure{
  overflow:hidden;
  background:#ddd;
}

.project-card img{
  width:100%;
  aspect-ratio:1.36/1;
  object-fit:cover;
  transition:transform .65s ease,filter .4s;
}

.project-card:hover img{
  transform:scale(1.045);
}

.project-info{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
  margin-top:22px;
}

.project-info h2{
  font-size:18px;
  font-weight:400;
  line-height:1.2;
  color:var(--preto);
}

.project-info p{
  font-size:14px;
  font-weight:400;
  line-height:1.2;
  text-align:right;
  white-space:nowrap;
  color:var(--preto);
}

/* PÁGINA DETALHE DO PROJETO — ESTILO METRO */

.project-detail-page{
  background:var(--off);
  color:var(--cinza);
}

.project-detail-page .project-fixed-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  height:145px;
  z-index:9999!important;
  background:var(--off)!important;
  color:var(--cinza);
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}

.project-detail-page .metro-project{
  max-width:960px;
  margin:0 auto;
  padding:205px 0 120px;
}

.metro-back{
  display:none!important;
}

.metro-project h1{
  font-family:'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;
  font-size:30px;
  font-weight:300;
  letter-spacing:-0.01em;
  text-transform:none;
  line-height:1.15;
  color:var(--cinza);
  text-align:center;
  margin:0 auto 34px;
}

.metro-project h1 .project-title-name{
  color:var(--marrom)!important;
}

.metro-project h1 .project-title-meta{
  color:var(--cinza)!important;
}

.metro-cover{
  width:100%;
  margin:0 auto 36px;
}

.metro-cover-button{
  width:100%;
  border:0;
  background:transparent;
  padding:0;
  cursor:zoom-in;
}

.metro-cover img{
  width:100%;
  height:auto;
  object-fit:cover;
}

.metro-desc{
  max-width:680px;
  margin:0 auto 90px;
  font-size:15px;
  line-height:1.58;
  color:var(--preto);
}

.metro-desc p{
  margin-bottom:24px;
}

.metro-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:90px;
}

.metro-gallery .gallery-item{
  border:0;
  background:transparent;
  padding:0;
  cursor:zoom-in;
  overflow:hidden;
}

.metro-gallery .gallery-item.wide{
  grid-column:span 2;
}

.metro-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease,filter .35s ease;
}

.metro-gallery .gallery-item:hover img{
  transform:scale(1.025);
  filter:brightness(.96);
}

.metro-tech{
  max-width:680px;
  margin:0 auto;
  font-size:15px;
  line-height:1.58;
  color:var(--preto);
}

.metro-tech h2{
  font-size:16px;
  font-weight:600;
  margin-bottom:24px;
}

.metro-tech p{
  margin-bottom:4px;
}

.metro-tech strong{
  font-weight:600;
}

/* ESTRUTURA ANTIGA DO DETALHE — MANTIDA PARA SEGURANÇA */

.detail{
  max-width:1220px;
  margin:0 auto 105px;
  padding:10px 30px 0;
  display:grid;
  grid-template-columns:270px 1fr;
  gap:70px;
}

.back{
  font-size:12px;
  letter-spacing:.45em;
  text-transform:uppercase;
  color:var(--marrom);
  font-weight:600;
  border-bottom:1px solid #a9a19a;
  padding-bottom:18px;
  margin-bottom:46px;
  display:block;
}

.detail h1{
  font-size:28px;
  font-weight:400;
  margin-bottom:34px;
}

.detail .desc{
  font-size:15px;
  line-height:1.34;
  margin-bottom:34px;
}

.tech{
  border-top:1px solid #aaa;
}

.tech div{
  border-bottom:1px solid #aaa;
  padding:24px 0;
}

.tech h4{
  font-size:11px;
  letter-spacing:.45em;
  color:#b49a8c;
  margin-bottom:12px;
}

.tech p{
  font-size:15px;
}

.gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

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

.gallery img.wide,
.gallery-item.wide{
  grid-column:span 2;
}

.gallery img.tall{
  min-height:380px;
}

.gallery-item{
  border:0;
  padding:0;
  background:transparent;
  display:block;
  cursor:zoom-in;
  overflow:hidden;
}

.gallery-item img{
  transition:transform .45s ease,filter .35s ease;
}

.gallery-item:hover img{
  transform:scale(1.025);
  filter:brightness(.96);
}

/* OUTROS */

.other{
  background:var(--areia);
  padding:80px var(--x) 95px;
  color:var(--cinza);
}

.project-detail-page .other{
  display:none;
}

.other-inner{
  max-width:980px;
  margin:0 auto;
}

.other-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:88px;
}

/* CONTATO */

.contact-hero{
  min-height:610px;
  background:var(--off);
  padding:100px var(--x);
  position:relative;
  overflow:hidden;
}

.contact-hero:before{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:250px;
  opacity:.38;
  background:repeating-linear-gradient(90deg,transparent 0 7px,rgba(201,191,182,.8) 7px 9px);
  clip-path:polygon(0 52%,16% 62%,36% 72%,50% 68%,68% 38%,82% 22%,100% 40%,100% 100%,0 100%);
}


.contact-content{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1180px;
    margin:0 auto;
}

.contact-content h1{
  font-size:60px;
  font-weight:300;
  line-height:1.05;
  margin:44px 0 80px;
  color:var(--cinza);
}

.contact-methods{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    max-width:860px;
}

.contact-item{
  border-left:3px solid var(--areia);
  padding-left:34px;
}

.contact-item h3{
  font-size:14px;
  letter-spacing:.46em;
  color:var(--marrom);
  margin-bottom:16px;
}

.contact-item p{
  font-size:21px;
}

/* LIGHTBOX */

body.modal-open{
  overflow:hidden;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  padding:58px 92px;
}

.lightbox.open{
  display:flex;
}

.lightbox img{
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  box-shadow:0 24px 80px rgba(0,0,0,.36);
}

.lightbox-close{
  position:absolute;
  top:28px;
  right:36px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:42px;
  font-weight:300;
  cursor:pointer;
  line-height:1;
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:white;
  font-size:42px;
  line-height:44px;
  cursor:pointer;
  transition:.25s ease;
}

.lightbox-nav:hover{
  background:rgba(255,255,255,.18);
}

.lightbox-prev{
  left:34px;
}

.lightbox-next{
  right:34px;
}

.lightbox-count{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.72);
  font-size:13px;
  letter-spacing:.22em;
}

/* RESPONSIVO */

@media(max-width:900px){
  .nos-hero,
  .nos-hero img{
    height:500px;
    min-height:500px;
  }

  .nos-hero img{
    object-position:center 30%;
  }

  .nos-hero-text{
    left:7%;
    right:7%;
    bottom:52px;
    max-width:86%;
  }

  .nos-hero-text h1{
    font-size:38px;
    line-height:1.06;
    max-width:620px;
  }

  .nos-hero-text p{
    font-size:18px;
    max-width:560px;
  }

  .metro-project{
    max-width:calc(100% - 60px);
  }

  .metro-project h1{
    font-size:34px;
  }
}

@media(max-width:800px){
  :root{
    --x:30px;
    --homeHeader:95px;
  }

  .header{
    height:95px;
  }

  .nav{
    font-size:14px;
  }

  .logo-dark,
  .logo-white,
  body.home-page .home-header .logo-dark{
    width:140px;
  }

  .project-detail-page .project-fixed-header{
    height:95px;
  }

  .project-detail-page .metro-project{
    padding-top:135px;
  }

  .home-page .hero-info{
    bottom:30px;
  }

  .home-page .hero-info h1{
    font-size:30px;
  }

  .projects-page{
    padding:70px var(--x) 90px;
  }

  .category-filter{
    width:max-content;
    margin:0 0 42px;
  }

  .projects-grid,
  .detail,
  .members,
  .footer,
  .contact-methods,
  .other-grid{
    grid-template-columns:1fr!important;
  }

  .projects-grid{
    gap:48px;
  }

  .project-info h2{
    font-size:17px;
  }

  .project-info p{
    font-size:13px;
  }

  .detail{
    gap:40px;
  }

  .metro-project{
    padding:42px 0 90px;
  }

  .metro-project h1{
    font-size:30px;
    margin-bottom:38px;
  }

  .metro-desc,
  .metro-tech{
    max-width:100%;
  }

  .metro-gallery{
    grid-template-columns:1fr;
  }

  .metro-gallery .gallery-item.wide{
    grid-column:span 1;
  }

  .contact-symbol{
    opacity:.12;
    right:-80px;
  }

  .contact-content h1{
    font-size:42px;
  }

  .footer{
    padding:44px 30px;
    text-align:left;
    gap:40px;
    border:0;
    border-top:0;
  }

  .footer .mini{
    justify-content:flex-start;
  }

  .footer p:nth-child(2),
  .footer p:nth-child(3){
    text-align:left!important;
    align-items:flex-start!important;
    justify-self:flex-start!important;
  }

  .intro,
  .triade{
    margin-left:0!important;
    margin-right:0!important;
    padding:0 30px!important;
    width:100%!important;
  }

  .split{
    display:flex;
    flex-direction:column;
    gap:40px;
    padding:0 30px!important;
    margin:0 0 80px!important;
    width:100%!important;
  }

  .split>div{
    order:1;
  }

  .split>img{
    order:2;
    width:100%;
    height:auto;
    object-fit:cover;
  }

  .lightbox{
    padding:46px 18px;
  }

  .lightbox-nav{
    width:42px;
    height:42px;
    font-size:32px;
  }

  .lightbox-prev{
    left:12px;
  }

  .lightbox-next{
    right:12px;
  }

  .hero-arrow{
    font-size:38px;
  }

  .hero-arrow.prev{
    left:18px;
  }

  .hero-arrow.next{
    right:18px;
  }
}

@media(max-width:560px){
  html,
  body{
    max-width:100vw;
    overflow-x:hidden;
  }

  .nav{
    font-size:13px;
    gap:6px;
  }

  .intro,
  .triade,
  .split{
    padding:0 30px!important;
  }

  .project-info{
    gap:18px;
    margin-top:16px;
  }

  .project-info h2{
    font-size:16px;
  }

  .project-info p{
    font-size:12px;
  }

  .metro-project{
    max-width:calc(100% - 40px);
  }

  .metro-project h1{
    font-size:24px;
  }

  .metro-desc,
  .metro-tech{
    font-size:14px;
  }

  .nos-hero,
  .nos-hero img{
    height:460px;
    min-height:460px;
  }

  .nos-hero img{
    object-fit:cover;
    transform:scale(1.5) translate(5%,-5%);
  }

  .nos-hero-text{
    left:30px;
    right:30px;
    bottom:30px;
    max-width:none;
  }

  .nos-hero-text h1{
    font-size:26px;
    line-height:1.1;
    max-width:100%;
  }

  .nos-hero-text p{
    font-size:15px;
    line-height:1.34;
  }

  .nos-hero-text p br,
  .nos-hero-text br{
    display:none;
  }
}