:root {
  --bg: #fbf9f4;
  --bg-alt: #f4f1ea;
  --surface: #fffdf9;
  --ink: #14161f;
  --muted: #5f6270;
  --line: #e8e3d9;
  --blue: #c2410c;
  --blue-soft: #fff0e6;
  --beige: #f1e9dd;
  --radius: 10px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
section { padding: 72px 0; }
.alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
.sub { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 64ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(194,65,12,.6); }
.btn-primary:hover { background: #9a3412; }
.btn-outline { background: transparent; color: var(--blue); border-color: #f2b48f; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,249,244,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.nav ul { display: flex; gap: 32px; list-style: none; font-size: 13px; font-weight: 500; }
.nav ul a:hover { color: var(--blue); }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; }
.hero p { color: var(--muted); margin: 22px 0 28px; max-width: 44ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ico {
  width: 36px; height: 36px; border-radius: 8px; background: var(--beige);
  display: grid; place-items: center; flex: none; color: #4a4338;
}
.ico svg { width: 18px; height: 18px; }

.photo {
  position: relative; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, #d9bfa0 0, transparent 45%),
    linear-gradient(160deg, #c9b79f, #6f5a46 70%, #2e2a26);
  aspect-ratio: 4 / 3.4;
}
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(40,30,10,.35); }
.card .ico { border-radius: 50%; width: 40px; height: 40px; margin-bottom: 26px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--muted); }
.card h3 { text-wrap: balance; }
.bridge {
  position: relative; margin: 72px auto 0; padding-top: 28px; max-width: 24ch; text-align: center; text-wrap: balance;
  font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; color: var(--ink);
}
.bridge::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 20px; background: var(--blue);
}
.bridge::after {
  content: ""; position: absolute; top: 20px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--blue);
}
.bridge mark {
  color: #fff; background: var(--blue); padding: .02em .16em; border-radius: 2px;
  display: inline-block; white-space: nowrap;
}

/* Services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.svc article {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s ease, transform .25s ease;
}
.svc article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(40,30,10,.35); }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; flex: none; object-fit: cover; }
.svc-body { padding: 20px 20px 24px; }
.svc h3 { font-size: 16px; margin-bottom: 8px; text-wrap: balance; }
.svc p { font-size: 13px; color: var(--muted); }
.closing {
  margin: 56px auto 0; max-width: 40ch; text-align: center; text-wrap: balance;
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.4; color: var(--ink);
}
.closing mark {
  color: #fff; background: var(--blue); padding: .02em .16em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.closing span { display: block; color: var(--muted); font-weight: 500; }
/* Steps */
.steps { display: flex; align-items: flex-start; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.step { display: flex; gap: 16px; align-items: flex-start; flex: 0 1 300px; }
#como h2 { line-height: 1.3; }
.soft { display: block; color: var(--muted); font-weight: 600; }
.num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--beige);
  display: grid; place-items: center; font-weight: 700; font-size: 17px; flex: none;
}
.step h3 { font-size: 15px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--muted); max-width: 30ch; }
.steps .sep { flex: 1; min-width: 24px; margin-top: 26px; height: 1px; background: #cfc8ba; position: relative; }
.steps .sep::after { content: "→"; position: absolute; right: -4px; top: -11px; color: #aaa294; background: var(--bg-alt); padding-left: 4px; }


/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.quote {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.metric b { display: block; font-size: 32px; letter-spacing: -.03em; line-height: 1.1; color: var(--blue); }
.metric span { font-size: 13px; color: var(--muted); }
.quote blockquote { font-size: 14px; line-height: 1.6; flex: 1; }
.quote blockquote mark {
  color: #fff; background: var(--blue); padding: .1em .18em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.quote figcaption { font-size: 12px; color: var(--muted); border-top: 1px solid #ddd6c8; padding-top: 14px; }
.quote figcaption a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.quote figcaption a:hover { color: var(--blue); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }

/* CTA */
.cta { padding: 56px 0; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: 28px; max-width: 18ch; margin-bottom: 8px; }
.cta-act { text-align: center; }
.cta-act small { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 20px; font-size: 12px; }
.foot { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.foot .logo { font-size: 15px; }
.foot small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.foot nav { display: flex; gap: 28px; }
.foot .contact { display: flex; gap: 20px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.legal { display: flex; justify-content: space-between; margin-top: 24px; color: #8b8d97; font-size: 10.5px; gap: 12px; flex-wrap: wrap; }
.legal span + span { display: flex; gap: 28px; }

/* Páginas legais */
.legal-page main { padding: 56px 0 72px; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 700; margin-bottom: 8px; }
.doc .updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.doc .eyebrow { font-size: 11px; line-height: 1.5; color: var(--blue); margin-bottom: 10px; }
.doc h2 { font-size: 20px; margin: 36px 0 12px; }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: #2b2d38; }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.foot .contact a:hover, .legal a:hover { color: var(--ink); }
.legal-page footer { margin-top: 0; }

/* Formulário (modal) */
.lead-dialog {
  border: 0; padding: 0; width: calc(100% - 32px); max-width: 440px; margin: auto;
  background: var(--surface); color: var(--ink); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(20,22,31,.5);
}
.lead-dialog::backdrop { background: rgba(20,22,31,.55); backdrop-filter: blur(4px); }
.lead-dialog form, .lead-done { padding: 36px 32px 32px; }
.lead-dialog h2 { font-size: 24px; }
.lead-sub { font-size: 14px; color: var(--muted); margin: 10px 0 24px; }
.lead-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer;
}
.lead-close:hover { background: var(--bg-alt); color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel] {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #d9d2c3; border-radius: 8px;
}
.field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field.has-error input[type=text], .field.has-error input[type=tel] { border-color: #b42318; }
.field-error { font-size: 12.5px; color: #b42318; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.lead-submit { width: 100%; justify-content: center; margin-top: 8px; padding: 14px 20px; font-size: 15px; }
.lead-submit:disabled { opacity: .7; cursor: progress; }
.lead-status { font-size: 13px; margin-top: 12px; }
.lead-status.is-error { color: #b42318; }
.lead-done .btn { margin-top: 4px; }
.lead-done[hidden], .lead-dialog form[hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards4, .svc { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .foot { grid-template-columns: 1fr; gap: 20px; }
  .steps .sep { display: none; }
}
@media (max-width: 560px) {
  section { padding: 52px 0; }
  .cards4, .svc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
