@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green: #0f3d2e;
  --green-2: #16523e;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --gold: #e8b54a;
  --cream: #fbf6ec;
  --ink: #1d2420;
  --muted: #5d6b64;
  --line: #e6dcc8;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.1; margin: 0 0 .5em; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1.02rem 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; padding: .95em 1.6em; transition: transform .12s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(200,16,46,.3); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-light { background: #fff; color: var(--green); }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---------- Landing ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1f6b50 0%, transparent 60%), var(--green);
  color: #fff; padding: 28px 0 90px;
}
.nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 64px; }
.logo { font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.logo span { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: #d7e6df; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: .9rem; color: #a9c4b8; }
.phone {
  justify-self: center; width: 270px; aspect-ratio: 9/18.5; border-radius: 38px; padding: 10px;
  background: #0a0f0d; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #2a332f; transform: rotate(3deg);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #0b2a20; }
.snowfall { position: absolute; inset: 0; pointer-events: none; }

section.block { padding: 80px 0; }
section.block h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-align: center; }
section.block .sub { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.uses { background: #f3ead8; }
.uses .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.uses .emoji { font-size: 2rem; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.final-cta { background: var(--red); color: #fff; text-align: center; padding: 70px 0; }
.final-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
footer { text-align: center; padding: 28px; color: var(--muted); font-size: .85rem; }

/* ---------- Formulário ---------- */
.topbar { background: var(--green); color: #fff; padding: 16px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.form-wrap { max-width: 760px; margin: 0 auto; padding: 36px 22px 120px; }
.form-wrap h1 { font-size: 2.2rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 22px; }
.panel h2 { font-size: 1.35rem; display: flex; gap: .5em; align-items: center; }
.panel .hint { color: var(--muted); font-size: .93rem; margin: -4px 0 16px; }
label { display: block; font-weight: 600; font-size: .92rem; margin: 12px 0 6px; }
input[type=text], textarea {
  width: 100%; font: inherit; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 12px; background: #fffdf8;
}
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(22,82,62,.12); }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: #efe6d3 center/cover no-repeat; cursor: pointer;
  display: grid; place-items: center; font-size: .72rem; color: var(--muted); text-align: center; border: 2px solid var(--gold); position: relative; overflow: hidden;
}
.avatar input { display: none; }
.icon-btn { border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 6px; }
.icon-btn:hover { color: var(--red); }
.add-btn { margin-top: 12px; background: none; border: 1.5px dashed var(--green-2); color: var(--green-2); border-radius: 12px; padding: .7em 1em; font: 600 .95rem 'Inter'; cursor: pointer; width: 100%; }
.q { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; background: #fffdf8; position: relative; }
.q .icon-btn { position: absolute; top: 6px; right: 6px; }
.q .opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.q .opts input:first-child { border-color: #8cc5a5; background: #f2fbf5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45em .9em; font-size: .86rem; cursor: pointer; }
.chip:hover { border-color: var(--green-2); }
.sticky-actions {
  position: fixed; left: 0; right: 0; bottom: 0; background: rgba(251,246,236,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 14px 22px; display: flex; gap: 12px; justify-content: center; z-index: 10;
}
.error { color: var(--red); font-weight: 600; text-align: center; margin-top: 14px; min-height: 1.4em; }

/* ---------- Sucesso ---------- */
.success { max-width: 560px; margin: 60px auto; padding: 0 22px; text-align: center; }
.linkbox { display: flex; gap: 8px; margin: 22px 0; }
.linkbox input { flex: 1; font-weight: 600; }
.btn-wa { background: #25d366; color: #fff; }

@media (max-width: 820px) {
  .hero-grid, .steps, .uses .grid { grid-template-columns: 1fr; }
  .phone { transform: none; margin-top: 10px; }
  .nav { margin-bottom: 36px; }
  .row2, .q .opts { grid-template-columns: 1fr; }
  .sticky-actions { flex-direction: column; }
}
