/* Refinamentos de marca, conversão e acessibilidade. */
.brand small {
  text-transform: uppercase;
}

.brand {
  min-width: 190px;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}

.brand > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(216,205,191,.45);
  border-radius: 2px;
  object-fit: cover;
}

.brand > div {
  display: flex;
  flex-direction: column;
  line-height: .85;
}

.hero-brand-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 18px 55px rgba(0,0,0,.3);
  object-fit: cover;
}

.section-number strong {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-weight: 600;
}

.principles a {
  padding: 8px 14px;
  border: 1px solid rgba(168,136,99,.45);
  color: var(--wood);
  font-weight: 700;
  white-space: nowrap;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--sand);
  transition: right .25s;
}

.nav a:hover::after {
  right: 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 4px rgba(216,205,191,.12);
  content: "";
}

.whatsapp {
  transition: transform .3s, background .3s;
}

.whatsapp:hover {
  background: #fff;
  transform: translateY(-2px);
}

.instagram-showcase {
  padding-bottom: 110px;
  background: #e7e1d8;
}

.instagram-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
}

.instagram-heading h2 {
  margin: 0;
  font: 500 clamp(48px,6vw,84px)/.94 var(--serif);
  letter-spacing: -.035em;
}

.instagram-copy {
  max-width: 520px;
  color: #665f57;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  padding: 0 4vw;
  align-items: start;
}

.instagram-card {
  overflow: hidden;
  margin: 0;
  background: var(--paper);
  box-shadow: 0 24px 65px rgba(31,26,20,.1);
  transition: transform .35s, box-shadow .35s;
}

.instagram-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(31,26,20,.16);
}

.instagram-card.featured {
  margin-top: 54px;
}

.instagram-card iframe {
  display: block;
  width: 100%;
  height: 590px;
  border: 0;
  background: #fff;
}

.instagram-card > div {
  min-height: 130px;
  padding: 23px 26px 28px;
}

.instagram-card span,
.instagram-proof span {
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.instagram-card h3 {
  margin: 8px 0 0;
  font: 500 29px/1.05 var(--serif);
}

.instagram-card > div > a {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(23,21,18,.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.button-accent {
  background: linear-gradient(135deg,#a88863,#75583f);
  box-shadow: 0 14px 35px rgba(61,43,32,.28);
}

.button-accent:hover {
  box-shadow: 0 18px 42px rgba(61,43,32,.38);
}

.instagram-proof {
  display: flex;
  justify-content: center;
  gap: 18px 42px;
  flex-wrap: wrap;
  padding: 65px 7vw 0;
}

.instagram-proof span {
  color: #62594f;
}

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .header {
    height: 74px;
    padding-inline: 5vw;
  }

  .header.scrolled,
  body.menu-open .header {
    height: 74px;
    background: rgba(23,21,18,.97);
  }

  .nav.open {
    position: fixed;
    inset: 74px 0 0;
    z-index: 49;
    width: 100%;
    height: calc(100dvh - 74px);
    padding: 8vh 7vw max(32px,env(safe-area-inset-bottom));
    gap: 0;
    justify-content: flex-start;
    overflow-y: auto;
    background: rgba(23,21,18,.99);
  }

  .nav.open a {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font: 500 clamp(28px,5vw,42px)/1 var(--serif);
    opacity: 1;
  }

  .nav.open a::after {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 51;
  }

  .menu-toggle span {
    transition: transform .25s, opacity .25s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header,
  .header.scrolled,
  body.menu-open .header {
    height: 68px;
    padding: 0 5vw;
  }

  .nav.open {
    inset: 68px 0 0;
    height: calc(100dvh - 68px);
    padding-top: 6vh;
  }

  .brand {
    min-width: 0;
  }

  .brand > img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .header .brand > div {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-content {
    padding: 128px 6vw 72px;
  }

  .hero-brand-logo {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(43px,13vw,54px);
    line-height: .92;
  }

  .hero-copy {
    margin: 22px 0 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .actions {
    width: 100%;
  }

  .actions .button {
    width: 100%;
    min-height: 54px;
  }

  .hero-trust {
    display: grid;
    gap: 9px;
    margin-top: 22px;
  }

  .hero-trust span {
    font-size: 9px;
  }

  .instagram-jump {
    display: inline-flex;
  }

  .hero-types {
    display: none;
  }

  .principles {
    min-height: 88px;
    padding-inline: 6vw;
    gap: 14px;
    scrollbar-width: none;
  }

  .principles::-webkit-scrollbar {
    display: none;
  }

  .section,
  .dark-section,
  .guarantee,
  .materials,
  .budget {
    padding: 74px 6vw;
  }

  .section-number {
    margin-bottom: 38px;
  }

  .section-number strong {
    width: 30px;
    height: 30px;
  }

  .intro-title h2,
  .dark-head h2,
  .split-head h2,
  .portfolio-head h2,
  .guarantee h2,
  .materials h2,
  .business h2,
  .faq h2,
  .budget h2,
  .location h2,
  .final-cta h2 {
    font-size: clamp(40px,12vw,48px);
    line-height: .96;
  }

  .visual-card {
    height: 500px;
  }

  .quote-block {
    min-height: 390px;
    padding: 38px 24px;
  }

  .quote-block > p {
    font-size: 40px;
  }

  .statement {
    font-size: 58px;
  }

  .env-row {
    padding: 20px 6px;
  }

  .env-row strong {
    font-size: 33px;
    line-height: 1;
  }

  .environment-detail {
    font-size: 16px;
  }

  .filters {
    padding-inline: 6vw;
  }

  .project,
  .project.big,
  .project.wide {
    height: 72vh;
    min-height: 430px;
  }

  .instagram-showcase {
    padding-bottom: 74px;
  }

  .instagram-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .instagram-heading h2 {
    font-size: clamp(40px,12vw,48px);
  }

  .instagram-grid {
    grid-template-columns: 1fr;
    padding: 0 6vw;
  }

  .instagram-card.featured {
    margin-top: 0;
  }

  .instagram-card iframe {
    height: auto;
    min-height: 520px;
    aspect-ratio: 9 / 16;
  }

  .instagram-card > div {
    min-height: 0;
    padding: 22px;
  }

  .instagram-card h3 {
    font-size: 27px;
  }

  .instagram-proof {
    justify-content: flex-start;
    gap: 14px 24px;
    padding-top: 40px;
  }

  .timeline article,
  .pillars article,
  .care-grid article {
    min-height: 210px;
    padding: 24px;
  }

  .business,
  .final-cta {
    min-height: 620px;
  }

  .business-copy,
  .final-cta > div:nth-of-type(2) {
    padding: 74px 6vw;
  }

  .budget {
    gap: 44px;
  }

  .budget-form {
    gap: 18px;
  }

  .budget-form input,
  .budget-form select,
  .budget-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .budget-form textarea {
    min-height: 110px;
  }

  .budget-form .button {
    min-height: 56px;
  }

  .location {
    padding: 74px 6vw;
    gap: 38px;
  }

  footer {
    padding: 68px 6vw calc(92px + env(safe-area-inset-bottom));
  }

  .footer-brand > img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .whatsapp {
    right: 16px;
    bottom: max(16px,env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .whatsapp b {
    font-size: 21px;
  }
}

@media (min-width: 641px) and (max-width: 1000px) {
  .instagram-heading {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .instagram-grid {
    grid-template-columns: 1fr 1fr;
  }

  .instagram-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project img,
  .button,
  .whatsapp {
    transition: none;
  }
}
