:root {
  --burgundy: #4E161F;
  --burgundy-light: #6F1F28;
  --gold: #D8AE71;
  --beige: #AB9173;
  --cream: #F7F4EF;
  --ink: #24191A;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.section { padding: 82px 7vw; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--burgundy-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1 em, h2 em { color: var(--burgundy-light); font-weight: 500; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 92px;
  padding: 10px 5vw;
  display: grid;
  grid-template-columns: 160px 1fr 150px;
  align-items: center;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(78,22,31,.08);
  backdrop-filter: blur(12px);
}
.brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: white; }
.main-nav { display: flex; justify-content: center; gap: 38px; }
.main-nav a { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a:hover { color: var(--burgundy-light); }
.header-cta {
  justify-self: end;
  min-width: 140px;
  padding: 15px 20px;
  color: white;
  background: var(--burgundy);
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247,244,239,.92) 0%, rgba(247,244,239,.76) 36%, rgba(247,244,239,.12) 68%, rgba(247,244,239,.06) 100%),
    url("assets/images/banner.espaco.jpeg") center / cover no-repeat;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 52%;
  display: block;
  padding: 70px 3vw 70px 7vw;
}
.hero h1 { margin-bottom: 20px; font-size: clamp(48px, 5vw, 62px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { display: block; color: var(--burgundy); margin: 0; font-size: .78em; letter-spacing: -.02em; }
.hero-lead { max-width: 430px; margin-bottom: 28px; color: #654f50; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button {
  display: inline-flex;
  min-height: 54px;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: .25s ease;
}
.button-primary { color: white; background: var(--burgundy); }
.button-primary:hover { background: var(--burgundy-light); transform: translateY(-2px); }
.button-dark { color: white; background: var(--burgundy); }
.button-light { color: var(--burgundy); background: white; }
.text-link { font-size: .78rem; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 7px; }
.text-link span { margin-left: 8px; }
.section-heading { max-width: 980px; margin-bottom: 42px; }
.section-heading h2 { max-width: 820px; margin: 0; font-size: clamp(34px, 4vw, 44px); line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; }
.section-heading h2 em { display: block; font-size: .66em; text-transform: none; }
.service-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 22px; align-items: stretch; }
.service-card { position: relative; min-height: 360px; overflow: hidden; background: var(--burgundy); }
.service-card-featured { min-height: 360px; }
.service-card img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.025); }
.service-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(36,25,26,.85)); }
.service-card-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; color: white; }
.service-card-copy span { display: block; margin-bottom: 12px; font-size: .68rem; letter-spacing: .12em; }
.service-card-copy h3 { margin-bottom: 8px; font-size: 2.2rem; }
.service-card-copy p { max-width: 240px; margin-bottom: 0; font-size: .78rem; line-height: 1.6; }
.service-card-copy a { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }

.about { display: grid; grid-template-columns: 43% 57%; background: var(--cream); padding-top: 70px; padding-bottom: 70px; padding-right: 0; }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding-right: 7vw; }
.about-copy h2 { margin: 0 0 28px; font-size: clamp(34px, 4.2vw, 44px); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; }
.about-copy h2 em { display: block; margin-left: 1.2em; font-size: .55em; text-transform: none; }
.about-copy > p { font-family: var(--serif); font-size: 1.2rem; }
.about-copy ul { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(78,22,31,.16); }
.about-copy li { display: grid; grid-template-columns: 55px 1fr; align-items: center; min-height: 62px; border-bottom: 1px solid rgba(78,22,31,.16); font-size: .82rem; font-weight: 600; }
.about-copy li span { color: var(--beige); font-size: .65rem; }
.about-visual { position: relative; min-height: 560px; }
.about-main { height: 100%; object-fit: cover; object-position: center 20%; }
.about-detail { position: absolute; left: -70px; bottom: 45px; width: 160px; height: 160px; object-fit: cover; border: 8px solid var(--cream); }

.portfolio { background: var(--white); }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.portfolio-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 44px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.portfolio-heading > p { max-width: 290px; margin: 0 3vw 5px 0; color: #655b5b; font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 18px; }
.portfolio-item { grid-column: span 3; height: 300px; padding: 0; border: 0; background: #eee; cursor: zoom-in; overflow: hidden; position: relative; }
.portfolio-item img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.025); }
.portfolio-item span { position: absolute; left: 14px; bottom: 12px; color: white; background: rgba(36,25,26,.72); padding: 7px 9px; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-item:nth-child(1), .portfolio-item:nth-child(5) { grid-column: span 4; height: 430px; }
.portfolio-item:nth-child(2) { grid-column: span 5; height: 430px; }
.portfolio-item:nth-child(3), .portfolio-item:nth-child(4) { grid-column: span 4; }
.portfolio-item:nth-child(n+6) { grid-column: span 3; }
.portfolio-cta { margin: 30px auto 0; width: fit-content; }

.feedbacks {
  overflow: hidden;
  padding: 72px 0 48px;
  background: var(--burgundy);
  color: white;
}
.feedback-heading {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  align-items: end;
  gap: 40px;
  margin: 0 7vw 38px;
}
.feedback-heading .eyebrow { color: var(--gold); }
.feedback-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 44px); line-height: 1.05; }
.feedback-heading > p { max-width: 380px; margin: 0 0 4px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.65; }
.feedback-marquee { width: 100%; overflow: hidden; }
.feedback-track {
  width: max-content;
  display: flex;
  animation: feedback-marquee 36s linear infinite;
  will-change: transform;
}
.feedback-sequence { display: flex; gap: 16px; padding-right: 16px; }
.feedback-card {
  position: relative;
  width: 340px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 28px 20px;
  color: var(--ink);
  background: #FFFDF9;
  border: 1px solid rgba(216,174,113,.55);
}
.feedback-label { color: var(--burgundy-light); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.feedback-card p { margin: 18px 35px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.42; }
.feedback-heart { position: absolute; right: 20px; bottom: 16px; color: #B84E63; font-size: 16px; }
.feedback-instagram { display: block; width: fit-content; margin: 30px 7vw 0 auto; color: white; font-size: 12px; }
.feedbacks:hover .feedback-track,
.feedbacks:focus-within .feedback-track,
.feedbacks:focus .feedback-track { animation-play-state: paused; }
@keyframes feedback-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reasons { display: grid; grid-template-columns: repeat(3,1fr); background: var(--cream); border-top: 1px solid rgba(78,22,31,.1); border-bottom: 1px solid rgba(78,22,31,.1); }
.reasons div { min-height: 130px; display: flex; align-items: center; gap: 22px; padding: 25px 5vw; border-right: 1px solid rgba(78,22,31,.12); }
.reasons div:last-child { border-right: 0; }
.reasons span { color: var(--beige); font-size: .68rem; }
.reasons p { margin: 0; max-width: 180px; font-family: var(--serif); font-size: 18px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; background: white; }
.contact-copy h2 { margin: 0 0 28px; font-size: clamp(34px, 4vw, 44px); line-height: 1; text-transform: uppercase; }
.contact-copy h2 em { display: block; margin-left: 1.2em; font-size: .55em; text-transform: none; }
.contact address { font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; font-style: normal; }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 35px; }
.contact-links a { width: fit-content; font-size: .78rem; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.contact-panel { min-height: 390px; display: flex; flex-direction: column; justify-content: end; align-items: flex-start; padding: 45px; color: white; background: var(--burgundy) url("assets/images/banner.espaco.jpeg") center/cover no-repeat; background-blend-mode: multiply; }
.contact-panel p { margin-bottom: 15px; color: var(--gold); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel h3 { max-width: 430px; margin-bottom: 24px; font-size: clamp(34px, 3.2vw, 40px); line-height: 1.05; }

.final-cta { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 55px 20px; color: white; background: var(--burgundy-light); text-align: center; }
.final-cta p { color: var(--gold); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.final-cta h2 { margin: 10px 0 28px; font-size: clamp(34px, 4.5vw, 44px); line-height: 1.05; }
.final-cta h2 em { display: block; color: #ead2b2; font-size: .58em; }

.footer { display: grid; grid-template-columns: 140px 1fr 220px; align-items: center; gap: 30px; min-height: 220px; padding: 50px 7vw; background: #311016; color: white; }
.footer-brand img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; background: white; }
.footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer nav a, .footer-info a { font-size: .72rem; }
.footer-info { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer > p { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .62rem; }

.lightbox { width: min(92vw, 980px); max-height: 90vh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(36,25,26,.92); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 2; right: 3vw; top: 3vw; width: 42px; height: 42px; border: 1px solid white; border-radius: 50%; color: white; background: rgba(36,25,26,.8); font-size: 1.5rem; cursor: pointer; }

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

@media (max-width: 980px) {
  .section { padding: 68px 6vw; }
  .site-header { grid-template-columns: 110px 1fr 120px; height: 82px; }
  .brand img { width: 62px; height: 62px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .66rem; }
  .header-cta { min-width: 120px; }
  .hero { min-height: 520px; }
  .hero-copy { width: 62%; padding-left: 6vw; }
  .hero h1 { font-size: 48px; }
  .service-grid { grid-template-columns: 1.2fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 300px; }
  .about { grid-template-columns: 48% 52%; }
  .about-visual { min-height: 620px; }
  .portfolio-item:nth-child(n) { grid-column: span 4; height: 330px; }
  .feedbacks { grid-template-columns: 1fr 0.7fr; }
  .contact { gap: 5vw; }
}

@media (max-width: 720px) {
  .section { padding: 58px 20px; }
  .site-header { height: 74px; grid-template-columns: 68px 1fr 112px; padding: 6px 14px; }
  .brand img { width: 58px; height: 58px; }
  .header-cta { min-width: 112px; padding: 13px 10px; font-size: .62rem; }
  .menu-toggle { display: flex; width: 44px; height: 44px; margin: auto; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
  .menu-toggle span { width: 24px; height: 1px; background: var(--burgundy); transition: .25s; }
  .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; top: 74px; left: 0; right: 0; display: none; padding: 26px 20px 32px; background: white; box-shadow: 0 16px 30px rgba(36,25,26,.08); flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-family: var(--serif); font-size: 1.25rem; text-transform: none; letter-spacing: 0; }

  .hero {
    min-height: 520px;
    align-items: flex-end;
    background:
      linear-gradient(90deg, rgba(247,244,239,.82) 0%, rgba(247,244,239,.18) 18%, rgba(247,244,239,.18) 82%, rgba(247,244,239,.82) 100%),
      linear-gradient(180deg, rgba(247,244,239,.08) 0%, rgba(247,244,239,.08) 48%, rgba(247,244,239,.94) 78%, rgba(247,244,239,1) 100%),
      url("assets/images/banner.espaco.jpeg") center 18px / 100% auto no-repeat;
    background-color: var(--cream);
  }
  .hero-copy { width: 100%; padding: 260px 20px 34px; }
  .hero h1 { font-size: clamp(36px, 11vw, 44px); line-height: 1.02; }
  .hero h1 em { margin-left: 0; }
  .hero-lead { max-width: 360px; margin-bottom: 22px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero .button { min-height: 48px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: clamp(28px, 9vw, 36px); }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card,
  .service-card-featured,
  .service-card:last-child {
    min-height: 160px;
    height: 160px;
    grid-column: auto;
    display: grid;
    grid-template-columns: 38% 62%;
    background: white;
    border: 1px solid rgba(78,22,31,.1);
  }
  .service-card::after { display: none; }
  .service-card img { height: 160px; object-fit: cover; object-position: center; }
  .service-card-featured img { object-position: center 25%; }
  .service-card:nth-child(2) img { object-position: center 45%; }
  .service-card:nth-child(3) img { object-position: center 55%; }
  .service-card-copy {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    color: var(--ink);
  }
  .service-card-copy span { margin-bottom: 6px; color: var(--beige); font-size: .62rem; }
  .service-card-copy h3 { margin-bottom: 5px; font-size: 1.35rem; }
  .service-card-copy p { max-width: none; margin: 0 28px 0 0; color: #655b5b; font-size: 12px; line-height: 1.45; }
  .service-card-copy a {
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    color: var(--burgundy);
    border-color: rgba(78,22,31,.35);
  }

  .about { grid-template-columns: 1fr; padding: 58px 20px 0; }
  .about-copy { padding: 0 0 38px; }
  .about-copy h2 { font-size: clamp(28px, 9vw, 36px); }
  .about-copy > p { font-size: 16px; }
  .about-copy li { min-height: 52px; font-size: 13px; }
  .about-visual { min-height: 260px; height: 260px; margin: 0 -20px; }
  .about-main { height: 260px; }
  .about-detail { left: 20px; bottom: 16px; width: 110px; height: 110px; border-width: 5px; }

  .portfolio-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .portfolio-heading h2 { font-size: clamp(28px, 9vw, 36px); }
  .portfolio-heading > p { margin: 0; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portfolio-item:nth-child(n) { grid-column: span 1; height: 190px; }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(5),
  .portfolio-item:nth-child(10) { height: 210px; }
  .portfolio-item span { left: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: .52rem; }

  .feedbacks { padding: 58px 0 38px; }
  .feedback-heading { grid-template-columns: 1fr; gap: 18px; margin: 0 20px 28px; }
  .feedback-heading h2 { font-size: clamp(28px, 9vw, 36px); }
  .feedback-heading > p { max-width: 330px; font-size: 13px; }
  .feedback-card { width: 278px; min-height: 176px; padding: 20px 22px 18px; }
  .feedback-card p { margin-top: 14px; font-size: 15px; }
  .feedback-sequence { gap: 12px; padding-right: 12px; }
  .feedback-instagram { margin: 24px 20px 0 auto; }
  .reasons { grid-template-columns: 1fr; }
  .reasons div { min-height: 92px; padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(78,22,31,.12); }
  .reasons p { font-size: 16px; }

  .contact { grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: clamp(28px, 9vw, 36px); }
  .contact address { font-size: 15px; }
  .contact-panel { min-height: 300px; padding: 30px 24px; }
  .contact-panel h3 { font-size: 30px; }

  .final-cta { min-height: 300px; }
  .final-cta h2 { font-size: clamp(28px, 9vw, 36px); }
  .footer { grid-template-columns: 90px 1fr; padding: 45px 20px 30px; }
  .footer-brand img { width: 76px; height: 76px; object-fit: contain; }
  .footer nav { gap: 14px 20px; }
  .footer-info { grid-column: 1 / -1; text-align: left; }
}

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