@font-face {
  font-family: "Fraunces Local";
  src: url("../fonts/fraunces-560.woff2") format("woff2");
  font-weight: 500 650;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Local";
  src: url("../fonts/source-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Local";
  src: url("../fonts/source-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #1c1914;
  --ink-soft: #3a342c;
  --muted: #6d655b;
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --sheet: #faf7f2;
  --line: #d2c9b8;
  --copper: #8e4122;
  --copper-deep: #6a3018;
  --brass: #8d7348;
  --pine: #24352c;
  --header: #16130f;
  --max: 1120px;
  --pad: clamp(1rem, 3vw, 1.75rem);
  --serif: "Fraunces Local", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans Local", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

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

a { color: var(--copper-deep); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--sheet);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: var(--pine);
  color: #e7efe8;
  padding: 0.45rem var(--pad);
  font-size: 0.92rem;
}
.topbar p { margin: 0; }
.topbar a { color: #f3efe6; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: var(--header);
  color: #f3efe6;
  border-bottom: 3px solid var(--copper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f3efe6;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b49a;
  margin-top: 0.2rem;
}
.brand svg { flex: 0 0 auto; }

.nav-desktop {
  display: none;
  gap: 0.15rem 1rem;
  align-items: center;
}
.nav-desktop a {
  color: #f3efe6;
  text-decoration: none;
  font-size: 0.98rem;
}
.nav-desktop a[aria-current="page"] {
  color: #e7c4a8;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}
.nav-desktop a:hover { color: #fff; }

.nav-drawer { color: #f3efe6; }
.nav-drawer summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-drawer summary::-webkit-details-marker { display: none; }
.nav-drawer nav {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--header);
  border-bottom: 3px solid var(--copper);
  padding: 0.2rem var(--pad) 1rem;
  display: grid;
}
.nav-drawer a {
  color: #f3efe6;
  text-decoration: none;
  padding: 0.7rem 0;
  border-top: 1px solid #3a342c;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: var(--copper);
  color: #faf7f2;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  font: 600 1rem/1 var(--sans);
  cursor: pointer;
}
.btn:hover { background: var(--copper-deep); color: #fff; }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn.secondary:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.wrap-wide { width: min(1240px, calc(100% - 2 * var(--pad))); margin-inline: auto; }

main { padding-bottom: 3.5rem; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(1.6rem, 4vw, 3.2rem) var(--pad) 1.6rem;
  max-width: 40rem;
}
.kicker {
  margin: 0 0 0.7rem;
  color: var(--copper-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.15rem, 5vw, 3.55rem); margin: 0 0 0.8rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1.2rem; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-photo { position: relative; min-height: 16rem; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; max-height: 34rem; }
.caption {
  margin: 0;
  padding: 0.55rem 0.8rem 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
  background: var(--sheet);
  border-top: 1px solid var(--line);
}

.rail {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
}
.rail article {
  padding: 1.1rem var(--pad);
  border-top: 1px solid var(--line);
}
.rail article:first-child { border-top: 0; }
.rail .num {
  font-family: var(--serif);
  color: var(--copper);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.2rem;
}
.rail h2 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.rail p { margin: 0; color: var(--ink-soft); }
.rail a { font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 2.4rem 0 0.4rem;
}
.split .prose { max-width: 40rem; }
.prose p { margin: 0 0 0.9rem; }
.prose h2 { margin-top: 0; }

.photo-block img { width: 100%; object-fit: cover; max-height: 28rem; }
.photo-block .caption { border: 1px solid var(--line); border-top: 0; }

.section { padding: 2.6rem 0 0.2rem; }
.section header p { color: var(--ink-soft); max-width: 42rem; }

.service-index { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.service-index li { border-top: 1px solid var(--line); }
.service-index a {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.4rem 1rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}
.service-index a:hover h3 { color: var(--copper-deep); }
.service-index .num { font-family: var(--serif); color: var(--copper); font-size: 1.4rem; padding-top: 0.15rem; }
.service-index p { margin: 0.25rem 0 0; color: var(--ink-soft); }

.quote-sheet {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 0.4rem;
}
.quote-sheet ol { margin: 0.4rem 0 1rem; padding-left: 1.15rem; }
.quote-sheet li { margin: 0.35rem 0; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 0.4rem;
  background: var(--sheet);
  font-size: 0.98rem;
}
table.spec caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.45rem;
}
table.spec th,
table.spec td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-top: 1px solid var(--line);
}
table.spec th { font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.spec td:first-child { font-weight: 600; width: 28%; }

.cities {
  columns: 1;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.cities li {
  break-inside: avoid;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
.cities strong { font-weight: 600; }

.map-frame {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; }
.map-frame p { margin: 0; padding: 0.6rem 0.8rem; color: var(--muted); font-size: 0.88rem; }

.faq { margin: 1rem 0 0; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 0.35rem 0 0.5rem; color: var(--ink-soft); max-width: 46rem; }

.page-head { padding: 1.8rem 0 0.2rem; }
.page-head p { max-width: 42rem; color: var(--ink-soft); }

.lp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding-top: 1.5rem;
}
.lp-offer h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.check-list { list-style: none; margin: 1rem 0; padding: 0; }
.check-list li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.check-list .num { font-family: var(--serif); color: var(--copper); font-size: 1.2rem; }

.form-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
}
.form-card h2 { font-size: 1.55rem; }
form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.28rem; font-weight: 600; font-size: 0.95rem; }
input, select, textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9bfae;
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
  min-height: 44px;
  width: 100%;
}
textarea { min-height: 7rem; resize: vertical; }
.consent { font-weight: 400; grid-template-columns: auto 1fr; align-items: start; gap: 0.55rem; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-note, .form-error, .form-ok { font-size: 0.95rem; }
.form-error { color: var(--danger); margin: 0; }
.form-ok {
  background: #e7efe8;
  border: 1px solid #b7c9bc;
  padding: 0.9rem 1rem;
}
.form-ok h2 { margin-top: 0; }
.fine { color: var(--muted); font-size: 0.88rem; margin: 0.2rem 0 0; }

.site-footer {
  background: var(--header);
  color: #e6dfd4;
  padding: 2rem var(--pad) 2.4rem;
}
.site-footer a { color: #f3efe6; }
.foot-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.site-footer ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.site-footer p { margin: 0.35rem 0; color: #cbbfae; max-width: 40rem; }
.legal { font-size: 0.88rem; }

@media (min-width: 760px) {
  .form-card { position: sticky; top: 5.2rem; }
  .rail { grid-template-columns: 1.1fr 1fr 1.25fr 1fr; }
  .rail article { border-top: 0; border-left: 1px solid var(--line); }
  .rail article:first-child { border-left: 0; }
  .cities { columns: 2; }
  .split { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .lp { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media print {
  .topbar, .site-header, .site-footer, .skip, .hero-actions, .btn { display: none !important; }
  body { background: #fff; }
}
@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .nav-drawer { display: none; }
  .hero {
    width: min(1240px, calc(100% - 2 * var(--pad)));
    margin: 1.25rem auto 0;
    border: 1px solid var(--line);
    grid-template-columns: minmax(18rem, 0.9fr) 1.15fr;
    align-items: stretch;
  }
  .hero-copy { padding: 3.2rem 2.2rem 2.4rem; max-width: none; }
  .hero-photo img { max-height: none; height: 100%; min-height: 28rem; }
  .cities { columns: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-film video, .lp-film video, .film-wide video { display: none; }
}

body[data-page="index"] .topbar { display: none; }
body[data-page="index"] .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0));
  border-bottom: 0;
  z-index: 5;
}
body[data-page="index"] .site-header .btn {
  background: #f4f1ea;
  color: #141210;
}
body[data-page="index"] .site-header .btn:hover { background: #fff; }

.hero-film {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #f6f1e8;
  background: #111 url("/assets/images/predio-instalacao.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.05) 28%, rgba(8, 8, 8, 0.78) 100%);
}
.hero-film-copy {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  padding: 7.5rem var(--pad) 3.2rem;
}
.hero-film h1 {
  color: #f7f3ec;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  max-width: 18ch;
}
.hero-film .kicker { color: #e4b08a; }
.hero-film .lede { color: #efe6da; font-size: 1.2rem; max-width: 36rem; }
.hero-film .btn.secondary {
  color: #f6f1e8;
  box-shadow: inset 0 0 0 1.5px #f6f1e8;
}
.hero-film .btn.secondary:hover { background: #f6f1e8; color: #141210; }
.film-note { margin: 0.9rem 0 0; color: #cbbfae; font-size: 0.82rem; }

body[data-page="index"] .rail {
  background: #12110e;
  color: #f4f1ea;
  border-bottom: 0;
}
body[data-page="index"] .rail h2 { color: #f7f3ec; }
body[data-page="index"] .rail p { color: #d9d0c4; }
body[data-page="index"] .rail a { color: #e4b08a; }
body[data-page="index"] .rail article { border-color: #3a342c; }

.film-wide { margin: 0; background: #111; }
.film-wide video { width: 100%; max-height: 72vh; object-fit: cover; }
.film-wide .caption { background: #12110e; color: #cbbfae; border: 0; }

.lp-film {
  position: relative;
  color: #f6f1e8;
  background: #111 url("/assets/images/predio-instalacao.jpg") center/cover no-repeat;
  overflow: hidden;
}
.lp-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.72) 46%, rgba(8, 8, 8, 0.55) 100%);
}
.lp-film .lp { position: relative; z-index: 1; padding-top: 2.2rem; padding-bottom: 2.2rem; }
.lp-film h1, .lp-film strong { color: #f7f3ec; }
.lp-film .kicker { color: #e4b08a; }
.lp-film .lede, .lp-film .check-list p, .lp-film .fine { color: #e8dfd3; }
.lp-film .check-list li { border-color: rgba(255, 255, 255, 0.16); }
.lp-film .btn.secondary { color: #f6f1e8; box-shadow: inset 0 0 0 1.5px #f6f1e8; }

@media (min-width: 980px) {
  .hero-film-copy { padding-left: max(var(--pad), 4.5rem); padding-bottom: 4.2rem; }
  .lp-film::after {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.62) 42%, rgba(8, 8, 8, 0.28) 100%);
  }
}

