/* Cartório da Prata — sistema visual
   Palette: cream/green/gold institucional
   Type: Spectral (serif) + Inter Tight (sans) */

:root {
  --bg: #e9e9ec;
  --bg-2: #dcdce0;
  --paper: #f2f2f4;
  --ink: #15171c;
  --ink-2: #2a2d35;
  --muted: #6a6d75;
  --line: #c9cad0;
  --gold: #2a4a78;
  --gold-dark: #1a3460;
  --green: #1f2933;
  --green-deep: #15171c;
  --white: #ffffff;
  --yellow: #b77d19;

  --serif: "Spectral", "Source Serif 4", Georgia, serif;
  --sans: "Inter Tight", "Söhne", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- typography ---------- */
.serif { font-family: var(--serif); }
.sans { font-family: var(--sans); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.overline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
}

.body p { color: var(--ink-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--green-deep);
  letter-spacing: -0.005em;
}
.brand-name span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}
.nav a:hover { color: var(--green); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--green-deep);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--green-deep);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cta:hover { background: var(--green); }
.cta.ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.cta.ghost:hover { background: var(--green-deep); color: var(--bg); }
.cta.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
}
.cta.gold:hover { background: var(--gold-dark); color: var(--bg); }
.cta .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.cta:hover .arrow { transform: translateX(3px); }

/* ---------- placeholder imagery ---------- */
.photo {
  position: relative;
    margin-top: 100px;
  overflow: hidden;
}
.photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.Cartorio {
  position: relative;
  overflow: hidden;
}
.Cartorio img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ---------- divider ---------- */
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule-gold {
  height: 1px;
  background: var(--gold);
  border: 0;
  width: 48px;
  margin: 0;
}

/* ---------- section base ---------- */
section {
  padding: 96px 0;
}

/* ---------- footer ---------- */
.footer {
  background: var(--green-deep);
  color: var(--bg);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer h4 {
  color: var(--bg);
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer a, .footer p, .footer li {
  color: rgba(244, 241, 234, 0.72);
  font-size: 14px;
  line-height: 1.7;
}
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 3px 0; }
.footer-brand .brand-mark { background: var(--gold); color: var(--green-deep); }
.footer-brand .brand-name strong { color: var(--bg); }
.footer-brand .brand-name span { color: rgba(244, 241, 234, 0.55); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.5);
  letter-spacing: 0.04em;
}

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--green-deep);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(26, 36, 27, 0.25);
  border: 1px solid rgba(184, 149, 106, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.wa-float:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.wa-float .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7cd17c;
  box-shadow: 0 0 0 4px rgba(124, 209, 124, 0.2);
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav { display: none; }
  section { padding: 64px 0; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
