:root {
  --bg: #eef3fc;
  --bg-alt: #e6edfa;
  --surface: #ffffff;
  --surface-alt: #f5f8fe;
  --ink: #16233f;
  --ink-soft: #56628a;
  --ink-invert: #16233f;
  --ink-invert-soft: #56628a;
  --teal: #2f6fed;
  --teal-soft: #1f4fcf;
  --line: #dce6f7;
  --line-dark: #d3e0f4;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(47, 111, 237, 0.18);
  --font-display: "Playfair Display", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,35,63,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px;
}
.logo img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}
.nav-links a {
  color: var(--ink-invert-soft);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink-invert); }
.nav-login {
  font-weight: 600;
  color: var(--ink-invert) !important;
}
.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-soft) !important;
}
.nav-cta:hover { background: var(--teal); color: #ffffff !important; }
.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-invert);
  border-radius: 2px;
}

/* ===== SHARED ===== */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.section { padding: 110px 0; }
.section-dark {
  background: var(--bg);
  color: var(--ink-invert);
}
.section-dark .eyebrow { color: var(--teal-soft); }
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 820px;
  margin-bottom: 22px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title em { font-style: italic; color: var(--teal); }
.section-dark .section-title em { color: var(--teal-soft); }
.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 16px;
}
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-dark .section-lead { color: var(--ink-invert-soft); }
.section-dark strong { color: var(--teal-soft); }

.grid { display: grid; gap: 24px; margin-top: 56px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.section-dark .card {
  background: #ffffff;
  border-color: var(--line-dark);
}
.card-icon { font-size: 1.9rem; display: block; margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.section-dark .card p { color: var(--ink-invert-soft); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #ffffff; }
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(59,116,232,0.55); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-block { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top, #ffffff 0%, var(--bg) 60%);
  color: var(--ink-invert);
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(59,116,232,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--teal-soft); }
.hero .lead {
  font-size: 1.18rem;
  color: var(--ink-invert-soft);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 18px; }
.hero-trust { font-size: 0.85rem; color: var(--ink-invert-soft); }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-visual { max-width: 620px; margin: 0 -12px; }
}

/* ===== PROBLEMA cards ===== */
.cards-pain { grid-template-columns: repeat(4, 1fr); }

/* ===== JORNADA ===== */
.cards-journey { grid-template-columns: repeat(4, 1fr); }
.card-journey { padding-top: 40px; }
.journey-step {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.5;
}

/* ===== MÉTODO / SEGURANÇA ===== */
.cards-pillar { grid-template-columns: repeat(3, 1fr); }
.card-pillar { text-align: left; }

/* ===== RECURSOS ===== */
.cards-module { margin-top: 24px; }

/* ===== PARA QUEM É ===== */
.cards-public { grid-template-columns: repeat(4, 1fr); }

/* ===== CTA FINAL ===== */
.section-cta {
  background: var(--bg);
  color: var(--ink-invert);
}
.cta-final-inner { max-width: 720px; text-align: center; }
.cta-final-actions { display: flex; justify-content: center; margin-top: 32px; }
.contato-note { color: var(--ink-invert-soft); font-size: 0.88rem; margin-top: 18px; }
.contato-note.center { text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-dark);
  color: var(--ink-invert-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 48px;
}
.footer-brand { max-width: 340px; }
.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 0.9rem; color: var(--ink-invert-soft); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-invert);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--ink-invert-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-soft); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  padding: 24px 24px;
  border-top: 1px solid var(--line-dark);
}
.footer-legal a:hover { color: var(--ink-invert); }
.footer-credit a { color: var(--teal-soft); font-weight: 600; }
.footer-credit a:hover { color: var(--teal); }

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-inner { justify-content: center; text-align: center; padding-bottom: 88px; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 30px -10px rgba(59,116,232,0.6);
  z-index: 90;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { white-space: normal; font-size: 1rem; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .section { padding: 76px 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 76px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.4rem; bottom: 16px; right: 16px; }
}
