:root {
  --preto: #111111;
  --grafite: #181818;
  --grafite-2: #202020;
  --madeira: #9a6a3c;
  --bronze: #b88a5a;
  --texto: #f2f2f2;
  --cinza: #bdbdbd;
  --cinza-escuro: #747474;
  --linha: rgba(184, 138, 90, .32);
  --sombra: 0 30px 90px rgba(0, 0, 0, .45);
  --fonte-texto: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fonte-titulo: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: var(--preto);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--cinza); }
h1, h2, h3 { margin: 0; line-height: 1.06; font-weight: 600; }
h2 { font-family: var(--fonte-titulo); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-padding { padding: 92px 0; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: var(--bronze); padding: 10px 14px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 86px;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.08));
  transition: background .25s ease, height .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(16,16,16,.94);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.07);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: grid; gap: 2px; text-transform: uppercase; letter-spacing: .13em; }
.brand-text strong { font-size: .92rem; font-weight: 700; }
.brand-text small { font-size: .62rem; color: var(--cinza); font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.main-nav a { color: rgba(255,255,255,.82); transition: color .2s ease; }
.main-nav a:hover { color: var(--bronze); }
.nav-whatsapp { border: 1px solid var(--bronze); padding: 10px 20px; border-radius: 999px; color: var(--bronze) !important; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--texto); margin: 6px 0; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.28) 100%), linear-gradient(to top, var(--preto) 0%, transparent 38%); }
.hero-content { position: relative; z-index: 2; padding-top: 78px; max-width: min(1180px, calc(100% - 40px)); }
.eyebrow { color: var(--bronze); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--fonte-texto);
  font-weight: 700;
  max-width: 900px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 24px; border-radius: 0; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--bronze); color: #111; }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: var(--texto); }
.btn-outline:hover { border-color: var(--bronze); color: var(--bronze); }
.btn small { font-size: .7rem; color: inherit; opacity: .85; margin-top: 3px; }

.proof { background: radial-gradient(circle at top, rgba(184,138,90,.12), transparent 38%), var(--preto); text-align: center; }
.proof-inner { max-width: 820px; }
.wood-icon { display: inline-block; width: 44px; height: 44px; border: 2px solid var(--bronze); border-radius: 50%; margin-bottom: 22px; box-shadow: inset 0 0 0 6px var(--preto), inset 0 0 0 8px rgba(184,138,90,.6); }
.proof h2 { font-size: clamp(1.9rem, 2.6vw, 2.9rem); margin-bottom: 24px; }
.proof h2:after { content: ''; display: block; width: 70px; height: 2px; background: var(--bronze); margin: 28px auto 0; }
.proof p { max-width: 650px; margin: 0 auto; }

.projects { background: linear-gradient(180deg, var(--preto), #151515 45%, var(--preto)); }
.section-heading { margin-bottom: 50px; max-width: 760px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); }
.section-heading p:not(.eyebrow) { margin-top: 15px; }
.project-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.project-group { position: relative; }
.project-group:first-child::after { content: ''; position: absolute; right: -29px; top: 0; bottom: 0; width: 1px; background: var(--linha); }
.project-copy { margin-bottom: 24px; }
.project-copy h3 { font-size: 1.42rem; text-transform: uppercase; letter-spacing: .03em; color: var(--bronze); margin-bottom: 10px; font-family: var(--fonte-texto); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo { margin: 0; background: var(--grafite-2); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sombra); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo:hover img { transform: scale(1.035); }
.photo-large { grid-column: span 2; aspect-ratio: 16 / 9; }
.photo-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-furniture .photo:nth-child(5),
.gallery-furniture .photo:nth-child(6) { aspect-ratio: 1 / 1; }

.services { background: #151515; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha); }
.service-grid article { background: #151515; padding: 32px; min-height: 220px; }
.service-grid h3 { font-family: var(--fonte-texto); font-size: 1.05rem; color: var(--texto); margin-bottom: 14px; }
.service-grid p { font-size: .95rem; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; background: var(--preto); }
.about-image { min-height: 500px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.about-content { padding: 90px min(8vw, 110px); align-self: center; }
.about-content h2 { font-size: clamp(2.2rem, 3.4vw, 3.6rem); margin-bottom: 28px; }
.about-content p { margin-bottom: 18px; max-width: 620px; }
.about-content .btn { margin-top: 14px; }

.differentials { background: #141414; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.diff-grid article { border-left: 1px solid var(--linha); padding-left: 24px; }
.diff-grid span { color: var(--bronze); font-weight: 800; letter-spacing: .15em; }
.diff-grid h3 { font-family: var(--fonte-texto); margin: 16px 0 10px; font-size: 1.06rem; text-transform: uppercase; letter-spacing: .04em; }

.cta { position: relative; min-height: 430px; display: flex; align-items: center; text-align: center; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.64), rgba(0,0,0,.86)); }
.cta-content { position: relative; z-index: 2; }
.cta h2 { max-width: 760px; margin: 0 auto 30px; font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.cta .btn { flex-direction: column; min-width: 260px; }

.site-footer { background: #0d0d0d; border-top: 1px solid rgba(255,255,255,.08); padding: 36px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1fr; gap: 28px; align-items: center; }
.footer-brand img { width: 180px; height: auto; margin-bottom: 8px; }
.footer-grid strong { color: var(--texto); }
.footer-grid p, .footer-grid a { color: var(--cinza); font-size: .92rem; }
.copyright { text-align: center; margin-top: 30px; font-size: .82rem; color: var(--cinza-escuro); }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: var(--bronze); color: #111; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; padding: 14px 18px; box-shadow: 0 15px 50px rgba(0,0,0,.35); display: none; }

@media (max-width: 1040px) {
  .site-header { padding: 0 24px; }
  .project-columns, .about { grid-template-columns: 1fr; }
  .project-group:first-child::after { display: none; }
  .service-grid, .diff-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { padding: 70px 40px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-padding { padding: 68px 0; }
  .site-header { height: 72px; padding: 0 16px; background: rgba(16,16,16,.96); }
  .brand-logo { width: 42px; height: 42px; }
  .brand-text strong { font-size: .78rem; }
  .brand-text small { font-size: .55rem; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: rgba(16,16,16,.98); display: grid; gap: 0; padding: 18px; transform: translateY(-130%); transition: transform .25s ease; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-whatsapp { text-align: center; margin-top: 12px; border-radius: 0; }
  .hero { min-height: 88vh; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.55)), linear-gradient(to top, var(--preto), transparent 45%); }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; }
  .btn { width: 100%; }
  .project-columns { gap: 46px; }
  .gallery { grid-template-columns: 1fr; }
  .photo, .photo-large, .photo-wide, .gallery-furniture .photo:nth-child(5), .gallery-furniture .photo:nth-child(6) { grid-column: auto; aspect-ratio: 4 / 3; }
  .service-grid, .diff-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; padding: 26px; }
  .about-image { min-height: 340px; }
  .about-content { padding: 58px 20px; }
  .footer-brand img { width: 155px; }
  .floating-whatsapp { display: inline-flex; }
}

/* Blocos de SEO local, autoridade e materiais */
.seo-local {
  background: #131313;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.seo-local-inner { max-width: 900px; }

.seo-local h2,
.materials h2 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  margin-bottom: 24px;
  line-height: 1.06;
}

.seo-local p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.authority {
  padding-top: 42px;
  padding-bottom: 42px;
  background: #101010;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--linha);
}

.authority-grid article {
  background: #101010;
  padding: 28px;
  display: grid;
  gap: 10px;
}

.authority-grid strong {
  color: var(--texto);
  font-size: 1.05rem;
}

.authority-grid span {
  color: var(--cinza);
  font-size: .94rem;
  line-height: 1.55;
}

.materials {
  background: #111;
  border-top: 1px solid rgba(255,255,255,.05);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.materials article {
  border-left: 1px solid var(--linha);
  padding-left: 26px;
}

.materials h3 {
  font-family: var(--fonte-texto);
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.cta p {
  max-width: 620px;
  margin: -12px auto 28px;
  color: var(--cinza);
}

/* Ajuste da galeria após remover a foto do suporte de vinho */
.gallery-furniture .photo:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

@media (max-width: 1040px) {
  .authority-grid,
  .materials-grid { grid-template-columns: repeat(2, 1fr); }

  .materials .section-heading { grid-column: span 2; }
}

@media (max-width: 760px) {
  .authority-grid,
  .materials-grid { grid-template-columns: 1fr; }

  .materials .section-heading { grid-column: auto; }

  .gallery-furniture .photo:nth-child(5) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
}
