:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #f4f6fb;
  --text: #0f172a;
  --subtext: #475569;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --ring: rgba(37, 99, 235, .28);
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --shadow-soft: 0 8px 20px rgba(2, 6, 23, .06);
  --radius: 16px;
}

*{ box-sizing:border-box; font-family: Arial, Helvetica, sans-serif; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--text); }

/* HERO */
.hero{
  background:
    radial-gradient(900px 400px at 20% 15%, rgba(37,99,235,.18), transparent 55%),
    radial-gradient(900px 400px at 85% 30%, rgba(56,189,248,.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7f9ff);
  border-bottom: 1px solid var(--border);
  padding: 70px 18px 40px;
  text-align:center;
}

.hero-inner{ max-width:1100px; margin:0 auto; }
.hero h1{ margin:0; font-size:48px; letter-spacing:.3px; }
.subtitle{ margin:12px 0 0; color:var(--subtext); font-size:16px; }

/* CTA */
.cta{ margin-top:22px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  -webkit-tap-highlight-color: rgba(37,99,235,.18);
}

.btn.primary{
  background: var(--primary);
  color: #fff;
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 14px 26px rgba(37,99,235,.22);
  font-weight: 700;
}

.btn.ghost{
  background: #ffffff;
  border-color: var(--border);
  font-weight: 700;
}

.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active{ transform: translateY(0px) scale(.98); }
.btn:focus-visible{ outline: 3px solid var(--ring); outline-offset: 3px; }

/* BADGES */
.badges{ margin-top:18px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.badges span{
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--subtext);
  box-shadow: var(--shadow-soft);
}

/* LAYOUT */
main{ padding: 0 18px 18px; }
.section{ max-width:1100px; margin: 0 auto; padding: 44px 0; }
h2{
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: .2px;
}

p{ color: var(--subtext); line-height: 1.7; }
strong{ color: var(--text); }
.muted{ color: var(--subtext); }

/* HIGHLIGHTS */
.highlights{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.hl{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.hl h3{ margin: 0 0 8px; color: var(--text); }
.hl p{ margin: 0; }

/* CARDS */
.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card h3{ margin-top:0; color: var(--text); }
.card ul{ padding-left: 18px; margin: 10px 0 0; color: var(--subtext); }
.card li{ margin-bottom: 6px; }

.tag{
  display:inline-block;
  margin-top: 12px;
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--subtext);
}

/* FORM */
.form{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
  box-shadow: var(--shadow-soft);
}
.row{ display:grid; grid-template-columns:1fr; gap:12px; margin-bottom:12px; }
@media (min-width: 760px){
  .row{ grid-template-columns: 1fr 1fr; }
  .row:nth-child(2), .row:nth-child(3){ grid-template-columns: 1fr; }
}
.field label{ display:block; margin-bottom: 6px; color: var(--text); font-weight: 600; font-size: 14px; }
.field input, .field textarea{
  width:100%;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  outline:none;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px var(--ring);
}

.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.status{ margin-top:10px; color: #059669; min-height:18px; }

/* FOOTER */
.footer{
  border-top: 1px solid var(--border);
  background: #fff;
  text-align:center;
  padding: 18px;
  color: var(--subtext);
}

/* WhatsApp float */
.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  padding: 12px 14px;
  border-radius: 999px;
  background: #22c55e;
  color: #06210f;
  text-decoration:none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
}
.whatsapp-float:hover{ filter: brightness(1.04); transform: translateY(-1px); }

/* Botão Voltar ao Início */
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 76px; /* fica acima do WhatsApp */
  z-index: 998;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: none; /* começa escondido */
  transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}

.back-to-top:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.back-to-top:active{
  transform: scale(.97);
}

.back-to-top:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.logo{
  max-width: 110px;
  height: auto;
  margin-bottom: 12px;
}
