/* ClassDay — mesma IDV da tela de login: azul #0ea5e9 + ✓ branco + preto pesado */
:root {
  --blue: #0ea5e9;
  --blue-dark: #0369a1;
  --blue-soft: #e0f2fe;
  --ink: #0b1220;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --red: #ef4444;
  --red-soft: #fee2e2;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --wa: #25d366;
  --wa-chat: #efeae2;
  --wa-bubble-out: #d9fdd3;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgb(15 23 42 / 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.blue { color: var(--blue); }
.center { text-align: center; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.35rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.03em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--blue);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg, .success-icon svg { width: 62%; height: 62%; }
.logo-mark path, .success-icon path {
  fill: none; stroke: #fff; stroke-width: 64; stroke-linecap: round; stroke-linejoin: round;
}
.logo-sm { font-size: 1.1rem; }
.logo-sm .logo-mark { width: 28px; height: 28px; border-radius: 7px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 1rem;
  border: 0; border-radius: 12px; padding: 14px 22px; text-decoration: none;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 6px 18px -6px rgb(14 165 233 / 0.55);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { background: #0284c7; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgb(14 165 233 / 0.6); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); box-shadow: none; }
.btn-wa { background: var(--wa); box-shadow: 0 6px 18px -6px rgb(37 211 102 / .6); margin-top: 18px; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wa-submit { background: var(--wa); box-shadow: 0 6px 18px -6px rgb(37 211 102 / .6); }
.btn-wa-submit:hover { background: #1ebe5a; box-shadow: 0 10px 24px -8px rgb(37 211 102 / .6); }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgb(14 165 233 / .14), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgb(14 165 233 / .08), transparent 60%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 2px 8px -4px rgb(15 23 42 / .15);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgb(37 211 102 / .2); }
.pill-light { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .25); box-shadow: none; }
.hero h1 { font-size: clamp(2rem, 3.9vw, 2.9rem); font-weight: 900; margin: 20px 0 18px; letter-spacing: -0.035em; }
mark { background: none; color: inherit; position: relative; white-space: nowrap; }
mark::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .3em;
  border-radius: 4px; z-index: -1;
}
.hl-red::after { background: var(--red-soft); }
.hl-amber::after { background: var(--amber-soft); }
.hero h1 mark { z-index: 0; }
.js-local { color: var(--blue); }
.lead { font-size: 1.15rem; max-width: 560px; }
.lead strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.hero-note { font-size: .9rem; color: var(--muted); }

/* Celular */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 330px; max-width: 100%; background: var(--wa-chat); border-radius: 34px;
  border: 10px solid var(--ink); box-shadow: 0 30px 60px -20px rgb(15 23 42 / .45);
  overflow: hidden;
}
.phone-head { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 14px 14px 12px; }
.phone-head strong { display: block; font-size: .92rem; line-height: 1.2; }
.phone-head small { opacity: .8; font-size: .75rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.chat { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 8px; }
.msg {
  background: #fff; border-radius: 4px 12px 12px 12px; padding: 8px 10px 18px;
  font-size: .82rem; line-height: 1.45; color: #111b21; max-width: 88%;
  position: relative; box-shadow: 0 1px 1px rgb(0 0 0 / .08);
}
.msg-out { background: var(--wa-bubble-out); align-self: flex-end; border-radius: 12px 4px 12px 12px; }
.time { position: absolute; right: 8px; bottom: 3px; font-size: .66rem; color: #667781; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); animation: flutuar 5s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .88rem; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-1 { top: 18%; left: -6%; }
.fc-2 { bottom: 10%; right: -4%; animation-delay: -2.5s; }
.fc-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; flex-shrink: 0; }
.fc-amber { background: var(--amber); }
.fc-green { background: var(--wa); }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--blue); text-align: center; margin-bottom: 10px; }
.eyebrow-red { color: var(--red); text-align: left; }
.eyebrow-amber { color: #d97706; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; text-align: center; margin-bottom: 44px; }
.section-title.left { text-align: left; margin-bottom: 18px; }
.text { font-size: 1.08rem; margin-bottom: 22px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-icon { font-size: 1.8rem; }
.pain h3 { font-size: 1.08rem; margin: 12px 0 8px; }
.pain p { font-size: .95rem; }

/* Destaque cobrança */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue); color: #fff; font-size: .78rem; font-weight: 900; display: grid; place-items: center;
}
.mock-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--ink); }
.badge { font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.badge-red { background: var(--red-soft); color: #b91c1c; }
.mock-list { list-style: none; margin: 0 0 18px; padding: 0; }
.mock-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink);
}
.mock-list li b { color: #b91c1c; }
.mock-list .fade { color: var(--muted); border-bottom: 0; }
.muted { color: var(--muted); font-size: .82rem; }
.mock-btn {
  background: var(--wa); color: #fff; font-weight: 700; text-align: center; border-radius: 12px; padding: 13px;
  box-shadow: 0 8px 20px -8px rgb(37 211 102 / .7); animation: pulsar 2.4s ease-in-out infinite;
}
.wa-ico { font-size: .7rem; vertical-align: middle; }
@keyframes pulsar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* Linha do tempo de faltas */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--line), var(--blue), var(--wa)); }
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.tl-n {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue);
  font-weight: 900; display: grid; place-items: center; margin: 0 auto 14px; position: relative; z-index: 1;
}
.tl-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline p { font-size: .94rem; }
.note-box {
  margin: 44px auto 0; max-width: 720px; text-align: center; background: var(--amber-soft);
  border-radius: 14px; padding: 16px 20px; color: #78350f;
}
.note-box strong { color: #78350f; }

/* Faixa azul */
.section-blue { background: var(--blue); color: #fff; padding: 64px 0; }
.section-blue h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; margin-bottom: 10px; }
.section-blue p { font-size: 1.1rem; opacity: .95; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { width: 40px; height: 40px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 900; display: grid; place-items: center; margin-bottom: 16px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }

/* Recursos */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: rgb(14 165 233 / .5); transform: translateY(-3px); }
.f-ico { font-size: 1.5rem; }
.feature h3 { font-size: 1rem; margin: 10px 0 6px; }
.feature p { font-size: .92rem; }

/* Oferta */
.section-dark { background: var(--ink); color: #cbd5e1; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.offer h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; margin: 18px 0 14px; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.offer-list li { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; padding: 16px 18px; }
.offer-list strong { display: block; color: #fff; }
.offer-list strong::before { content: "✓  "; color: var(--blue); font-weight: 900; }
.offer-list span { font-size: .93rem; }

/* Formulário */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-intro .eyebrow { text-align: left; }
.form-intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; margin-bottom: 14px; }
.form-intro p { margin-bottom: 22px; font-size: 1.05rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.progress { height: 6px; background: var(--blue-soft); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 50%; background: var(--blue); border-radius: 99px; transition: width .3s ease; }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: grid; gap: 14px; }
.step > legend { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; padding: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
input, select {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(14 165 233 / .18); }
.is-invalid { border-color: var(--red) !important; }
.row-2 { display: grid; grid-template-columns: 1fr 90px; gap: 12px; }
.radio-group { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; display: grid; gap: 8px; }
.radio-group legend { font-weight: 600; font-size: .92rem; color: var(--ink); padding: 0 4px; }
.radio-group.is-invalid { border-color: var(--red); }
.radio { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.step-success { text-align: center; padding: 10px 0; }
.step-success.is-active { display: block; }
.success-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.step-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-error { color: #b91c1c; background: var(--red-soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin-top: 14px; }
.privacy { font-size: .78rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s ease; }
.faq details:hover { border-color: rgb(14 165 233 / .5); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 900; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; }

/* CTA final + rodapé */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; margin-bottom: 28px; }
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer-slogan { color: var(--muted); }
.footer-dev { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .offer, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .timeline::before { display: none; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 56px; }
  .section { padding: 60px 0; }
  .grid-4, .features, .steps { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 32px; }
  .section-title br { display: none; }
  .btn-lg { width: 100%; }
  .topbar .btn-sm { font-size: .8rem; padding: 8px 12px; }
  .logo { font-size: 1.2rem; }
  .logo-mark { width: 32px; height: 32px; }
  mark { white-space: normal; }
  .float-card { padding: 8px 10px; }
  .float-card strong { font-size: .8rem; }
  .fc-1 { top: 6%; left: -4px; }
  .fc-2 { bottom: 4%; right: -4px; }
  .card { padding: 22px 18px; }
  .mock-list li { grid-template-columns: 1fr auto; }
  .mock-list li .muted { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
