:root {
  --primary: #0166E0;
  --secondary-text: #0BAFF0;
  --accent: #2EAAEA;
  --bg: #ffffff;
  --text: #1b1f23;
  --muted: #6b7583;
  --surface: #f7f9fc;
  --radius: 8px;
  --shadow-card: 0 10px 24px rgba(1, 102, 224, 0.08);
  --shadow-card-strong: 0 14px 28px rgba(1, 102, 224, 0.15);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(1, 102, 224, 0.08);
  backdrop-filter: saturate(130%) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0166E0, #0BAFF0);
  color: #fff;
  font-weight: 800;
}

.brand-text {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
}

.menu a:hover { opacity: 0.8; }

.menu-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(1, 102, 224, 0.14);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .bar { width: 22px; height: 2px; background: var(--primary); display: block; margin: 3px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.6px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(46, 170, 234, 0.35);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(46, 170, 234, 0.45); }

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover { background: rgba(46, 170, 234, 0.08); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; display: block; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 72px 0; }

.hero-title {
  color: var(--primary);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 16px;
}

.hero-subtitle {
  color: var(--text);
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 0 0 24px;
}

.hero-actions { display: flex; gap: 12px; }

.hero-visual { display: flex; align-items: center; justify-content: center; }

.visual-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
}

.visual-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: #F0F7FF; border-radius: 14px; }
.visual-text { color: var(--primary); font-weight: 700; }

/* Sections base */
.section { padding: 72px 0; }

.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { color: var(--secondary-text); font-weight: 700; font-size: 28px; margin: 0 0 6px; }
.section-header p { color: var(--muted); margin: 0; }

/* Cards (benefícios) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}

.card:hover { box-shadow: var(--shadow-card-strong); transform: translateY(-2px); }

.card-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: #F0F7FF; border-radius: 14px; }
.card h3 { color: var(--secondary-text); font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--text); margin: 0; }

/* Como funciona */
.how { background: linear-gradient(180deg, #FAFCFF, #FFFFFF); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px; text-align: center; }
.step-number { font-size: 36px; color: var(--accent); font-weight: 800; margin-bottom: 8px; }
.step h3 { color: var(--secondary-text); margin: 0 0 8px; font-weight: 700; }
.step p { color: var(--muted); margin: 0; }

/* Depoimentos */
.testimonials { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px; }
.testimonial blockquote { margin: 0 0 16px; color: var(--text); font-size: 18px; font-weight: 600; quotes: "\201C" "\201D"; }
.testimonial blockquote::before { content: open-quote; color: var(--accent); font-size: 28px; margin-right: 6px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 6px 14px rgba(1,102,224,0.12); }
.author strong { display: block; color: var(--primary); }
.author span { display: block; color: var(--muted); font-size: 14px; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, #0B2239 0%, #0166E0 60%, #0BAFF0 100%); }
.final-cta-inner { text-align: center; }
.final-cta-title { color: #fff; font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 8px; }
.final-cta-sub { color: #D7EEFF; margin: 0 0 20px; }

/* Footer */
.site-footer { background: #f9fbff; border-top: 1px solid rgba(1, 102, 224, 0.08); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 24px; padding: 24px 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 16px; }
.footer-link { color: var(--secondary-text); text-decoration: none; font-weight: 600; }
.footer-link:hover { opacity: .8; }
.footer-social { display: flex; gap: 12px; justify-content: flex-end; }
.footer-social a { display: inline-flex; }

/* Responsividade */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .menu { position: absolute; right: 24px; top: 72px; background: #fff; padding: 16px; border-radius: 12px; box-shadow: var(--shadow-card-strong); flex-direction: column; gap: 12px; display: none; }
  .menu.open { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }
}

/* Acessibilidade foco */
:focus-visible { outline: 3px solid rgba(46,170,234,0.45); outline-offset: 2px; border-radius: 6px; }