:root {
  --ink: #171512;
  --coal: #24221d;
  --muted: #6f675b;
  --paper: #fbf7ef;
  --linen: #eee4d4;
  --gold: #c49a43;
  --gold-strong: #e3bd64;
  --olive: #596a4c;
  --teal: #0c7489;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(23, 21, 18, 0.62);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 21, 18, 0.08);
  background: rgba(251, 247, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(23, 21, 18, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.18);
  transform-origin: center;
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--gold-strong);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  background: var(--gold);
  color: #19150d;
}

.btn:hover,
.header-cta:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.btn svg,
.header-cta svg,
.text-link svg,
.service-card svg,
.info-list svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 22px 72px;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    url("img/hero-estofado.jpg")
    center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 12, 9, 0.86) 0%, rgba(14, 12, 9, 0.64) 42%, rgba(14, 12, 9, 0.26) 100%),
    linear-gradient(0deg, rgba(23, 21, 18, 0.38), rgba(23, 21, 18, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 24px 0 12px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-top: 0;
}

.hero h1,
.section-heading h2,
.intro-grid h2,
.process h2,
.quote-block h2,
.contact h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 9vw, 8rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn-primary {
  background: var(--gold-strong);
  color: #16110a;
  box-shadow: 0 16px 32px rgba(227, 189, 100, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(23, 21, 18, 0.18);
  background: transparent;
  color: var(--ink);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section,
.services,
.portfolio,
.process,
.proof,
.faq,
.contact {
  padding: 88px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 58px;
  align-items: end;
}

.intro-grid h2,
.section-heading h2,
.process h2,
.quote-block h2,
.contact h2,
.faq h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.faq {
  background: #f5ecdc;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  padding: 20px 22px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-copy p,
.contact p,
.quote-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy {
  display: grid;
  gap: 24px;
  max-width: 620px;
}

.intro-copy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-copy li {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border-left: 2px solid var(--gold-strong);
  background: rgba(211, 162, 64, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading .section-kicker {
  margin-top: 0;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.services {
  background: #f5ecdc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(23, 21, 18, 0.06);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  color: var(--teal);
}

.service-card h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.service-card p,
.step p,
.info-list span,
.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--teal);
  font-weight: 800;
  transition: transform 180ms ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  border-radius: 8px;
  background: var(--linen);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(23, 21, 18, 0.88);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100vh - 48px);
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(23, 21, 18, 0.2);
  cursor: pointer;
  transition: transform 180ms ease;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-close:hover {
  transform: scale(1.06);
}

.process {
  background: var(--coal);
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.step span {
  color: var(--gold-strong);
  font-weight: 800;
}

.step p {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.68);
}

.proof {
  background: #e8f0ed;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.quote-block h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 4.6vw, 5.1rem);
  text-wrap: balance;
}

.quote-block p {
  max-width: 700px;
  text-wrap: balance;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.info-list svg {
  color: var(--teal);
}

.map-preview {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(23, 21, 18, 0.08);
}

.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-grid .section-kicker {
  margin-top: 0;
}

.contact-grid p {
  max-width: 660px;
  margin-top: 18px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: 250px;
}

.site-footer {
  padding: 36px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid address {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-grid > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #23b85f;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(35, 184, 95, 0.34);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px;
    border-radius: 8px;
    background: rgba(23, 21, 18, 0.96);
    color: var(--white);
    box-shadow: 0 16px 32px rgba(23, 21, 18, 0.18);
  }

  .main-nav.is-open a {
    padding: 14px;
  }

  .intro-grid,
  .process-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .contact-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 22px);
    margin-top: 10px;
    padding: 8px 10px;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 92vh;
    padding: 112px 18px 54px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .intro-grid,
  .process-grid,
  .proof-grid,
  .contact-grid {
    gap: 28px;
  }

  .intro-grid h2,
  .section-heading h2,
  .process h2,
  .quote-block h2,
  .contact h2 {
    font-size: clamp(2.05rem, 11vw, 2.8rem);
    line-height: 1.02;
    text-wrap: balance;
  }

  .intro-copy,
  .section-heading {
    gap: 18px;
  }

  .intro-copy p,
  .contact p,
  .quote-block p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .intro-copy ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .intro-copy li {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .intro-section,
  .services,
  .portfolio,
  .process,
  .proof,
  .contact {
    padding: 54px 0;
  }

  .section-heading.split {
    display: block;
  }

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

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .service-card svg {
    margin-bottom: 24px;
  }

  .service-card p,
  .step p,
  .info-list span,
  .footer-grid p {
    font-size: 0.92rem;
  }

  .gallery-grid {
    grid-auto-rows: 238px;
    gap: 10px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .step {
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    padding: 22px 0;
  }

  .info-list {
    gap: 10px;
  }

  .info-list div {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 14px;
  }

  .map-preview {
    height: 190px;
  }

  .contact-grid {
    padding: 24px 18px;
  }

  .footer-grid {
    display: grid;
    gap: 14px;
  }

  .footer-grid > div:last-child {
    justify-content: flex-start;
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}
