@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F1EB;
  --ink: #16181D;
  --ink-soft: #4B4F58;
  --muted: #6B7280;
  --green: #1C9E4F;
  --green-dark: #0F6E3A;
  --green-tint: #E8F5EC;
  --green-tint-2: #DCF0E3;
  --line: #E4E2DA;
  --white: #FFFFFF;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

/* ---------- Signature mark: hand-drawn underline highlight ---------- */
.mark {
  position: relative;
  white-space: nowrap;
}
.mark svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.4em;
  z-index: -1;
}

.mark-bg {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--green-tint-2), var(--green-tint-2));
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 88%;
  padding: 0 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
}
.nav-brand img { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--green);
}
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-wsp {
  background: #25D366;
  color: var(--white);
}
.btn-wsp:hover { background: #1EBE57; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.8vw, 42px); letter-spacing: -0.01em; }
h3 { font-size: 22px; font-weight: 600; }

p { color: var(--ink-soft); font-size: 17px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C8CBD2;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand img { width: 28px; height: 28px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8A8F9C;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: #C8CBD2;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #2A2D35;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #6B6F7A;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- WhatsApp floating button ---------- */
.wsp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}
.wsp-float:hover { transform: scale(1.08); }
.wsp-float svg { width: 28px; height: 28px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}

/* ---------- Step cards (processo) ---------- */
.step-card {
  position: relative;
  padding-top: 8px;
}
.step-num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }

.alt-bg { background: var(--bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 150;
  padding: 90px 32px 32px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
.mobile-close {
  position: absolute;
  top: 22px; right: 28px;
  background: none; border: none;
  font-size: 34px; cursor: pointer;
  color: var(--ink); line-height: 1;
}
