:root {
  --bg: #fffaf5;
  --bg-warm: #fef3e9;
  --ink: #1b1410;
  --ink-mute: #7a6c62;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fff1e6;
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --orange-novo: #f85c08;
  --blue-novo: #004fbd;
  --line: rgba(27, 20, 16, 0.10);
  --line-strong: rgba(27, 20, 16, 0.22);
  --white: #ffffff;
  --green: #25d366;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(27, 20, 16, 0.06);
  --shadow: 0 18px 50px rgba(234, 88, 12, 0.16);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(255, 250, 245, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 17px; letter-spacing: -.01em;
}
.brand-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.brand-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--blue); padding: 2px 7px; border-radius: 6px;
  vertical-align: middle;
}
.brand-logo { display: block; width: clamp(180px, 52vw, 300px); height: auto; }
.nav-cta {
  font-weight: 700; font-size: 14px; color: var(--accent);
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--accent);
  transition: background .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 15px 26px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-block { width: 100%; padding: 17px; font-size: 17px; }
.btn-whats { background: var(--green); color: #fff; }
.btn-whats:hover { filter: brightness(.95); }

/* ===== Hero ===== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(36px, 7vw, 80px) clamp(20px, 5vw, 56px) clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 13px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-light { background: rgba(255,255,255,.18); color: #fff; }
.headline {
  font-family: 'Fraunces', Georgia, serif; font-weight: 800;
  font-size: clamp(44px, 8vw, 84px); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.headline .hl { color: var(--accent); font-style: italic; }
.lead {
  font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-mute);
  max-width: 38ch; margin-bottom: 30px;
}
.lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-count { font-size: 14px; color: var(--ink-mute); }
.hero-count strong { color: var(--ink); font-size: 16px; }

.hero-photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: min(420px, 86vw); aspect-ratio: 1138 / 1600;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.28);
  border: 6px solid #fff;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-badge {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; rotate: -2deg;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.photo-badge span { opacity: .7; }

/* ===== Pillars ===== */
.pillars {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.pillar {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.pillar-ic {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px;
  color: var(--accent); margin-bottom: 14px;
}
.pillar h3 { font-size: 19px; font-weight: 800; margin-bottom: 7px; letter-spacing: -.01em; }
.pillar p { font-size: 15px; color: var(--ink-mute); }

/* ===== Form section ===== */
.apoiar {
  background: var(--orange-novo) url('/img/novo-bg.svg') center center / contain no-repeat;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px);
  margin-top: clamp(20px, 4vw, 40px);
}
.form-shell {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border-radius: 26px;
  padding: clamp(26px, 5vw, 44px); box-shadow: 0 30px 70px rgba(0,0,0,.28);
}
.form-head { text-align: center; margin-bottom: 26px; }
.apoiar .eyebrow { background: var(--accent-soft); color: var(--accent); }
.form-head h2 {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(28px, 5vw, 38px); letter-spacing: -.02em; margin-bottom: 8px;
}
.form-sub { color: var(--ink-mute); font-size: 15px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field .label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink);
}
.field em, .label em { font-style: normal; font-weight: 400; color: var(--ink-mute); }
.field input[type=text], .field input[type=tel], .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: #faf6f2; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 52px; }
.field input.invalid, .field input.invalid:focus { border-color: #dc2626; box-shadow: 0 0 0 4px #fee2e2; }
.err { display: block; font-size: 13px; color: #dc2626; margin-top: 6px; min-height: 0; }

/* checkboxes */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check {
  display: flex; align-items: center; gap: 0; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s;
  user-select: none;
}
.check:hover { border-color: var(--line-strong); }
.check input, .consent input {
  appearance: none; -webkit-appearance: none; margin: 0 12px 0 0;
  width: 20px; height: 20px; flex-shrink: 0; cursor: pointer; position: relative;
  border: 2px solid var(--line-strong); border-radius: 6px; background: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.check input:checked, .consent input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after, .consent input:checked::after {
  content: ''; position: absolute; left: 6px; top: 2.5px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.check input:focus-visible, .consent input:focus-visible {
  outline: none; box-shadow: 0 0 0 4px var(--accent-soft);
}
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.consent {
  display: flex; gap: 0; align-items: flex-start; cursor: pointer;
  font-size: 13px; color: var(--ink-mute); margin: 6px 0 22px; line-height: 1.45;
}
.consent input { margin-top: 1px; }

.form-err {
  margin-top: 14px; text-align: center; color: #dc2626; font-size: 14px; font-weight: 600;
}

/* spinner */
.btn-spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Done state ===== */
.done { text-align: center; padding: 8px 0; }
.done-mark {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; color: #fff;
  background: var(--green); box-shadow: 0 12px 30px rgba(37,211,102,.4);
  animation: pop .4s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.done h2 { font-family: 'Fraunces', serif; font-weight: 800; font-size: 30px; margin-bottom: 8px; }
.done #done-name { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.done-sub { font-size: 15px; color: var(--ink-mute); margin: 10px auto 22px; max-width: 34ch; }
.done .btn-whats { width: 100%; }
.done-again { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }
.done-again:hover { text-decoration: underline; }

/* ===== Footer ===== */
.foot {
  text-align: center; padding: 40px 20px;
}
.foot-brand { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.foot-legal { font-size: 13px; color: var(--ink-mute); max-width: 40ch; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .hero-copy { order: 2; }
  .hero-photo { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { align-items: center; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .headline { font-size: clamp(40px, 13vw, 56px); }
  .nav { padding: 12px 16px; }
}
@media (max-width: 430px) {
  .nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
}
