:root {
  --black: #141414;
  --ink: #1f1f1f;
  --muted: #5f5b57;
  --line: #e4ded8;
  --paper: #ffffff;
  --sand: #f6f2ee;
  --terra: #b5532f;
  --terra-dark: #95421f;
  --terra-soft: #f3e3da;
  --radius: 4px;
  --max: 1180px;
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--terra); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--terra);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: #e08a63; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: .95rem 1.6rem;
  background: var(--terra);
  color: #fff;
  border: 2px solid var(--terra);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-light { background: #fff; color: var(--black); border-color: #fff; }
.btn-light:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .04em;
  text-decoration: none; color: var(--black); display: flex; align-items: center; gap: .55rem;
}
.logo img { height: 26px; width: auto; display: block; }
.logo-footer img { height: 56px; width: auto; display: block; }

/* Enquanto não há fotos: esconder espaços de imagem (retirar a classe "sem-fotos" do <html> quando houver) */
.sem-fotos .media-slot, .sem-fotos #obras { display: none !important; }
.sem-fotos .hero-inner { grid-template-columns: 1fr; }
.sem-fotos .hero { padding-bottom: 110px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--terra); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; background: var(--sand); }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(110deg, transparent 35%, #000 85%);
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 85%);
  opacity: .9;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-media { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 5vw, 3.9rem); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; margin: 1.5rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-facts {
  list-style: none; padding: 0; margin: 4.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
}
.hero-facts li { padding: 1.2rem 1.5rem 0 0; }
.hero-facts strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.hero-facts span { color: var(--muted); font-size: .95rem; }

/* Media (fotos/vídeos) — espaços provisórios */
.media-slot {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  padding: 1.4rem; border-radius: var(--radius); min-height: 220px;
  color: #fff; font-size: .9rem; line-height: 1.4;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #3a3633, #1c1a19);
}
.media-slot strong { font-family: var(--font-head); font-size: 1.1rem; }
.media-slot > span:last-child { color: #c9c1b9; max-width: 34ch; }
.media-tag {
  align-self: flex-start; margin-bottom: auto;
  font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--terra); padding: .3rem .6rem; border-radius: 2px;
}
.why-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-top: 2rem; }

/* Galeria */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px 300px; gap: 16px; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); min-height: 0; }
.gallery .g-big { grid-row: span 2; }
.gallery .g-wide { grid-column: 1 / -1; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--black); color: #eae6e2; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; background: #fff; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.card-num { font-family: var(--font-head); font-weight: 700; color: var(--terra); font-size: .9rem; margin-bottom: 1.4rem; }
.card p { color: var(--muted); }
.card-dark { background: var(--black); color: #eae6e2; border-color: var(--black); }
.card-dark h3 { color: #fff; }
.card-dark p { color: #bdb6af; }
.ticks { list-style: none; padding: 0; margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.card-dark .ticks { border-color: #333; }
.ticks li { padding-left: 1.6rem; position: relative; margin: .5rem 0; font-size: .95rem; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 10px; height: 6px; border-left: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: rotate(-45deg);
}

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d8d0c8; border-left: 1px solid #d8d0c8; }
.service { padding: 2.2rem; border-right: 1px solid #d8d0c8; border-bottom: 1px solid #d8d0c8; position: relative; }
.service::before { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 3px; background: var(--terra); transition: width .3s; }
.service:hover::before { width: calc(100% + 1px); }
.service p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Lei */
.lei { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.lei-text p { color: #bdb6af; font-size: 1.05rem; }
.lei-text strong { color: #fff; }
.lei-text .btn { margin-top: 1rem; }
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: q; }
.checklist li {
  counter-increment: q;
  border-top: 1px solid #333; padding: 1.5rem 0 1.5rem 3.2rem; position: relative;
}
.checklist li:last-child { border-bottom: 1px solid #333; }
.checklist li::before {
  content: "0" counter(q); position: absolute; left: 0; top: 1.5rem;
  font-family: var(--font-head); font-weight: 700; color: var(--terra);
}
.check-q { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: .35rem; }
.check-a { color: #a9a29b; font-size: .97rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.step { position: relative; }
.step-n {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  border-radius: 50%; margin-bottom: 1.5rem; position: relative;
}
.step:first-child .step-n { background: var(--terra); }
.step p { color: var(--muted); font-size: .97rem; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; align-content: center; }
.why-item { border-left: 3px solid var(--terra); padding-left: 1.3rem; }
.why-item p { color: var(--muted); margin: 0; font-size: .97rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--terra); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--terra); }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; max-width: 65ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-text > p { color: #bdb6af; font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: .9rem 0; border-top: 1px solid #333; }
.contact-list span { color: #8a837c; font-size: .9rem; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: #e08a63; }
.form { background: #1d1d1d; padding: 2.5rem; border-radius: var(--radius); border: 1px solid #2c2c2c; }
.field { display: flex; flex-direction: column; margin-bottom: 1.2rem; flex: 1; }
.field-row { display: flex; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: #cfc8c1; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: #fff; background: #141414;
  border: 1px solid #3a3a3a; border-radius: var(--radius); padding: .8rem .9rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); }
.field .invalid { border-color: #e2654a; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: #a9a29b; margin: .4rem 0 1.5rem; }
.consent input { margin-top: .3rem; accent-color: var(--terra); }
.consent a { color: #e08a63; }
.form .btn { width: 100%; }
.form-msg { margin: 1rem 0 0; font-size: .95rem; min-height: 1.4em; color: #e08a63; }

/* Footer */
.site-footer { background: #0c0c0c; color: #8a837c; padding: 48px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-tag { margin: .4rem 0 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: #cfc8c1; }
.footer-links a:hover { color: #e08a63; }
.footer-legal { margin: 0; width: 100%; border-top: 1px solid #222; padding-top: 24px; }

/* Legal page */
.legal { padding: 80px 0 110px; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .cards-3, .services { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .why-photo { aspect-ratio: 16 / 10; }
  .lei, .why, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-120%); transition: transform .25s;
    z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; border-bottom: 2px solid var(--terra); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .gallery .g-big { grid-row: auto; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 3rem; }
  .hero-facts li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .cards-3, .services, .steps, .why-list { grid-template-columns: 1fr; }
  .card, .service, .form { padding: 1.6rem; }
  .field-row { flex-direction: column; gap: 0; }
  .contact-list li { grid-template-columns: 90px 1fr; }
}
