:root {
  --cream: #f7f6f6;
  --sand: #e8ded2;
  --taupe: #d1c5b8;
  --warm-gray: #6c645b;
  --charcoal: #3f3933;
  --camel: #b59b7a;
  --line: rgba(63, 57, 51, .18);
  --container: 1180px;
  --side: 32px;
  --header-height: 92px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--sand); color: var(--charcoal); }

.container {
  width: min(var(--container), calc(100% - (var(--side) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--cream);
  padding: 12px 18px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--camel); outline-offset: 4px; }

.eyebrow {
  color: var(--warm-gray);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow::before { content: "— "; }

h1, h2, h3 {
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 strong, h2, h3 { font-weight: 900; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(247, 246, 246, .97);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(63, 57, 51, .10); }
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 270px 1fr 190px;
  align-items: center;
  gap: 24px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}
.brand-logo-header {
  width: 158px;
  max-height: 34px;
}
.brand-logo-footer {
  width: 190px;
  max-height: 44px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.main-nav a {
  min-width: 110px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--camel); }

.header-cta {
  justify-self: end;
  min-width: 150px;
  padding: 17px 16px;
  border-radius: 2px;
  background: var(--warm-gray);
  color: var(--cream);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.header-cta:hover { background: var(--charcoal); transform: translateY(-1px); }
.menu-toggle { display: none; }
.menu-cta { display: none; }

.hero { min-height: 820px; }
.hero-grid {
  min-height: 820px;
  display: grid;
  grid-template-columns: 600px 525px;
  justify-content: space-between;
  align-items: start;
  gap: 55px;
  padding: 90px 0 76px;
}
.hero-copy { padding-top: 45px; }
.hero h1 {
  max-width: 610px;
  margin-top: 38px;
  font-size: clamp(48px, 4.17vw, 60px);
  font-weight: 200;
  line-height: 1.07;
}
.hero h1 strong { font-weight: 900; }
.hero-text {
  max-width: 515px;
  margin-top: 27px;
  color: var(--warm-gray);
  font-size: 18px;
  font-weight: 300;
}
.hero-text p + p { margin-top: 23px; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 34px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  padding: 15px 25px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--charcoal); color: var(--cream); }
.button-dark:hover { background: var(--camel); }
.button-light { background: var(--cream); color: var(--charcoal); }
.button-light:hover { background: var(--sand); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-media { margin: 0; }
.hero-media img {
  width: 525px;
  height: 640px;
  object-fit: cover;
  object-position: center;
}
.hero-media figcaption {
  margin-top: 13px;
  color: var(--warm-gray);
  font-size: 10px;
  font-weight: 200;
  line-height: 1;
  text-transform: uppercase;
}

.about { min-height: 610px; background: var(--sand); }
.about-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 500px 520px;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
  padding: 38px 0 28px;
}
.about-quote {
  border-left: 2px solid var(--camel);
  padding-left: 14px;
  font-size: 34px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
}
.about-quote strong { font-weight: 900; }
.about-copy { color: var(--warm-gray); }
.about-copy .eyebrow {
  margin-bottom: 15px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1;
}
.about-kicker {
  color: var(--warm-gray);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: uppercase;
}
.about-copy h3 {
  margin: 15px 0 18px;
  color: var(--warm-gray);
  font-size: 20px;
  line-height: 1.55;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.55;
}
.about-copy p + p { margin-top: 2px; }
.signature {
  width: 160px;
  margin-top: 22px;
  padding: 4px 0 11px;
}
.signature img {
  display: block;
  width: 100%;
  height: auto;
}

.section-light { background: var(--cream); }
.section-heading { margin-bottom: 73px; }
.section-heading h2 {
  margin-top: 29px;
  font-size: 40px;
  line-height: 1.15;
}
.section-heading-light h2 { color: var(--cream); }
.section-heading-light .eyebrow { color: var(--taupe); }

.services { min-height: 760px; padding: 95px 0 150px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 4px;
}
.service-card {
  min-height: 350px;
  border: 1px solid var(--taupe);
  padding: 29px 27px;
  background: var(--cream);
  transition: background .25s ease, transform .25s ease;
}
.service-card + .service-card { border-left: 0; }
.service-card:hover { background: var(--sand); transform: translateY(-3px); }
.service-number {
  color: var(--camel);
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
}
.service-card h3 {
  margin-top: 28px;
  font-size: 22px;
  line-height: 1.25;
}
.service-card p {
  margin-top: 18px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.5;
}

.process {
  min-height: 850px;
  padding: 95px 0 90px;
  background: var(--charcoal);
  color: var(--cream);
}
.process .section-heading { margin-bottom: 44px; }
.process-list {
  border-top: 1px solid rgba(247, 246, 246, .14);
  list-style: none;
}
.process-item {
  min-height: 74px;
  display: grid;
  grid-template-columns: 90px 445px 1fr;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid rgba(247, 246, 246, .14);
}
.process-number {
  color: var(--camel);
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
}
.process-item h3 {
  color: var(--cream);
  font-size: 18px;
  line-height: 1.2;
}
.process-item p {
  color: var(--taupe);
  font-size: 15px;
  line-height: 1.5;
}

.advantages { min-height: 690px; padding: 95px 0 112px; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 72px;
}
.advantage {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 26px;
  align-items: start;
}
.plus {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--camel);
  border-radius: 50%;
  color: var(--camel);
  font-size: 18px;
  font-weight: 300;
}
.advantage h3 { font-size: 18px; line-height: 1.2; }
.advantage p {
  max-width: 430px;
  margin-top: 14px;
  color: var(--warm-gray);
  font-size: 15px;
  line-height: 1.5;
}

.portfolio {
  min-height: 830px;
  padding: 90px 0 58px;
  background: var(--warm-gray);
  color: var(--cream);
}
.portfolio .eyebrow { color: var(--sand); }
.portfolio-heading h2 {
  margin: 29px 0 25px;
  font-size: 40px;
  line-height: 1.18;
}
.portfolio-heading > p:not(.eyebrow) {
  color: var(--sand);
  font-size: 16px;
  line-height: 1.5;
}
.portfolio-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 61px;
  overflow: hidden;
}
.portfolio-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(108, 100, 91, 0) 0%, rgba(108, 100, 91, .2) 28%, rgba(108, 100, 91, .78) 72%, rgba(108, 100, 91, 1) 100%);
  z-index: 1;
}
.project-card {
  position: relative;
  height: 365px;
  overflow: hidden;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(to bottom, rgba(63, 57, 51, 0), rgba(63, 57, 51, .18) 35%, rgba(63, 57, 51, .88) 100%);
  z-index: 0;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.project-card:hover img { transform: scale(1.045); }
.project-card span {
  position: absolute;
  left: 22px;
  bottom: 30px;
  z-index: 2;
  color: var(--cream);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
}
.portfolio-action { display: flex; justify-content: center; margin-top: 40px; }
.portfolio-action .button { min-width: 323px; }

.contact { min-height: 820px; padding: 95px 0 105px; }
.contact-grid {
  display: grid;
  grid-template-columns: 520px 590px;
  justify-content: space-between;
  gap: 70px;
}
.contact-copy { padding-top: 10px; }
.contact-copy h2 {
  max-width: 520px;
  margin: 29px 0 54px;
  font-size: 40px;
  line-height: 1.18;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 445px;
  color: var(--warm-gray);
  font-size: 16px;
}
.contact-copy address {
  display: grid;
  gap: 24px;
  margin-top: 81px;
}
.contact-copy address a {
  width: max-content;
  font-size: 15px;
  transition: color .2s ease;
}
.contact-copy address a:hover { color: var(--camel); }
.contact-copy address span { color: var(--camel); padding-right: 9px; }

.contact-form {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  gap: 37px;
  padding: 45px 36px 34px;
  background: var(--sand);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-form label > span {
  color: var(--warm-gray);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(108, 100, 91, .35);
  border-radius: 0;
  background: transparent;
  color: var(--charcoal);
  padding: 4px 0 11px;
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 78px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color: var(--camel); }
.contact-form .button { width: 190px; margin-top: auto; }
.form-note, .form-status {
  color: var(--warm-gray);
  font-size: 11px;
  line-height: 1.4;
}
.form-status { min-height: 16px; color: #7c473e; }

.site-footer {
  min-height: 316px;
  padding: 28px 0 0;
  background: var(--charcoal);
  color: var(--taupe);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 180px 270px;
  gap: 170px;
  min-height: 219px;
}
.brand-footer { color: var(--taupe); }
.footer-brand > p {
  max-width: 330px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 200;
  line-height: 1.5;
}
.footer-brand > p + p { margin-top: 12px; }
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-column h2 {
  margin: 15px 0 28px;
  color: var(--camel);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.footer-column a {
  color: var(--sand);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  transition: color .2s ease;
}
.footer-column a:hover { color: var(--camel); }
.footer-bottom {
  min-height: 69px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid rgba(247, 246, 246, .10);
  padding-top: 8px;
  color: var(--warm-gray);
  font-size: 11px;
  font-weight: 200;
}
.footer-bottom p:last-child { text-transform: uppercase; }

@media (max-width: 1100px) {
  :root { --side: 40px; }
  .header-inner { grid-template-columns: 230px 1fr 165px; }
  .main-nav a { min-width: auto; padding-inline: 12px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); }
  .hero h1 { font-size: 50px; }
  .hero-media img { width: 100%; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 70px; }
  .service-card { padding-inline: 22px; }
  .process-item { grid-template-columns: 70px 300px 1fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 55px; }
  .footer-grid { gap: 80px; }
}

@media (max-width: 900px) {
  :root { --side: 28px; --header-height: 78px; }
  .site-header { height: var(--header-height); }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span {
    width: 26px;
    height: 1px;
    display: block;
    background: var(--charcoal);
    transition: transform .25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    justify-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 14px 30px rgba(63,57,51,.10);
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 430px; padding: 18px 20px 24px; }
  .main-nav a { width: 100%; padding: 16px; }
  .main-nav .menu-cta {
    width: min(100%, 320px);
    display: inline-flex;
    margin-top: 8px;
    padding: 17px 18px;
    font-size: 11px;
    font-weight: 900;
  }

  .hero, .hero-grid { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 68px 0 76px;
  }
  .hero-copy { padding-top: 10px; }
  .hero h1 { max-width: 720px; font-size: clamp(44px, 7.2vw, 58px); }
  .hero-text { max-width: 650px; }
  .hero-media { width: min(560px, 100%); }
  .hero-media img { width: 100%; height: auto; aspect-ratio: 525 / 640; }

  .about-grid {
    grid-template-columns: 1fr;
    padding: 90px 0;
  }
  .about-quote { max-width: 620px; }
  .about-copy { max-width: 700px; }

  .services, .process, .advantages, .portfolio, .contact { min-height: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card + .service-card { border-left: 1px solid var(--taupe); }
  .service-card:nth-child(even) { border-left: 0; }
  .service-card:nth-child(n+3) { border-top: 0; }

  .process-item { grid-template-columns: 60px 220px 1fr; gap: 20px; padding-block: 22px; }
  .advantages-grid { gap: 48px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { height: 440px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy address { margin-top: 55px; }
  .contact-form { max-width: 700px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
}

@media (max-width: 620px) {
  :root { --side: 20px; }
  .brand-logo-header { width: 146px; max-height: 31px; }
  .hero-grid { gap: 50px; padding: 55px 0 65px; }
  .hero h1 { margin-top: 28px; font-size: clamp(38px, 11vw, 50px); }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }

  .about-grid { gap: 60px; padding: 75px 0; }
  .about-quote { font-size: 28px; }
  .about-copy h3 { font-size: 19px; }
  .about-copy p { font-size: 15px; }

  .services, .advantages, .portfolio, .contact { padding-block: 75px; }
  .process { padding-block: 75px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2,
  .portfolio-heading h2,
  .contact-copy h2 { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; margin: 0; }
  .service-card { min-height: 290px; }
  .service-card + .service-card,
  .service-card:nth-child(even),
  .service-card:nth-child(n+3) { border: 1px solid var(--taupe); border-top: 0; }

  .process .section-heading { margin-bottom: 35px; }
  .process-item {
    grid-template-columns: 48px 1fr;
    gap: 8px 18px;
    padding: 22px 0;
  }
  .process-item p { grid-column: 2; font-size: 14px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage { gap: 18px; }

  .portfolio-heading > p:not(.eyebrow) { font-size: 15px; }
  .portfolio-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .project-card { height: auto; aspect-ratio: 4 / 5; }
  .portfolio-action .button { min-width: 0; width: 100%; }

  .contact-copy h2 { margin-bottom: 28px; }
  .contact-copy address { gap: 20px; margin-top: 45px; }
  .contact-copy address a { width: auto; font-size: 14px; }
  .contact-form { min-height: 0; gap: 30px; padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 30px; }
  .contact-form .button { width: 100%; }

  .site-footer { padding-top: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0 32px;
  }
  .footer-bottom p:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* AJUSTES FINAIS — LOGO E BOTÃO DO MENU */

/* Diminui a logo no computador */
.brand-logo-header {
  width: 120px;
  height: auto;
  max-height: none;
}

/* Esconde no computador o botão que pertence ao menu mobile */
.main-nav .menu-cta {
  display: none;
}

/* Ajustes para celular e tablet */
@media (max-width: 900px) {
  .brand-logo-header {
    width: 120px;
    height: auto;
    max-height: none;
  }

  /* Exibe o botão de proposta somente dentro do menu mobile */
  .main-nav .menu-cta {
    display: inline-flex;
    width: min(100%, 320px);
    min-height: 52px;
    margin-top: 10px;
    padding: 16px 22px;
    background: #3f3933;
    color: #f7f6f6;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
  }
}
/* Tamanho da logo do rodapé */
.brand-logo-footer {
  width: 120px;
  height: auto;
  max-height: none;
}

/* Logo do rodapé no celular */
@media (max-width: 620px) {
  .brand-logo-footer {
    width: 120px;
  }
}